@pisell/private-materials 6.3.97 → 6.3.99

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 (487) 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/Sales/Summary/utils.d.ts +58 -0
  12. package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
  13. package/es/components/appointmentBooking/components/Date/state.js +3 -1
  14. package/es/components/appointmentBooking/locales.d.ts +606 -0
  15. package/es/components/appointmentBooking/locales.js +276 -0
  16. package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  17. package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
  19. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
  28. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  31. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  32. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  34. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
  35. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  36. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  37. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  38. package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
  39. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  40. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  41. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  42. package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
  43. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  44. package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
  45. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  46. package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  47. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  48. package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  49. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  50. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  51. package/es/components/booking/addons/model.d.ts +10 -1
  52. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  53. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  54. package/es/components/booking/editBookingModal/locales.d.ts +33 -0
  55. package/es/components/booking/editBookingModal/locales.js +12 -0
  56. package/es/components/booking/editBookingModal/mock.d.ts +991 -0
  57. package/es/components/booking/editBookingModal/mock.js +22 -0
  58. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  59. package/es/components/booking/forms/model.d.ts +10 -1
  60. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  61. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  62. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  63. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  64. package/es/components/booking/info/model.d.ts +10 -1
  65. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  66. package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
  67. package/es/components/booking/info2/service/addService/mock.js +4 -0
  68. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  69. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  70. package/es/components/booking/locales.d.ts +628 -0
  71. package/es/components/booking/locales.js +722 -0
  72. package/es/components/booking/model.d.ts +9 -1
  73. package/es/components/booking/notes/addNote/index.d.ts +4 -0
  74. package/es/components/booking/notes/model.d.ts +10 -1
  75. package/es/components/booking/payments/model.d.ts +10 -1
  76. package/es/components/booking/utils.d.ts +2 -2
  77. package/es/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
  78. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
  79. package/es/components/ecocup/components/CustomerCard/index.d.ts +7 -0
  80. package/es/components/ecocup/cupList/const.d.ts +133 -0
  81. package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
  82. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  83. package/es/components/ecocup/hooks.d.ts +49 -0
  84. package/es/components/ecocup/locales.d.ts +563 -0
  85. package/es/components/ecocup/locales.js +228 -0
  86. package/es/components/eftpos/const.d.ts +64 -0
  87. package/es/components/eftpos/device.d.ts +9 -0
  88. package/es/components/eftpos/hooks.d.ts +33 -0
  89. package/es/components/eftpos/index.d.ts +47 -0
  90. package/es/components/eftpos/locales.d.ts +163 -0
  91. package/es/components/eftpos/locales.js +80 -0
  92. package/es/components/eftposPay/amount.d.ts +1 -1
  93. package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
  94. package/es/components/eftposPay/const.d.ts +184 -0
  95. package/es/components/eftposPay/device.d.ts +1 -1
  96. package/es/components/eftposPay/hooks.d.ts +35 -0
  97. package/es/components/eftposPay/linkly/const.d.ts +23 -0
  98. package/es/components/eftposPay/locales.d.ts +572 -0
  99. package/es/components/eftposPay/locales.js +326 -0
  100. package/es/components/eftposPay/payo/config.d.ts +13 -0
  101. package/es/components/eftposPay/payo/const.d.ts +26 -0
  102. package/es/components/eftposPay/store/index.d.ts +355 -0
  103. package/es/components/eftposPay/tyro/const.d.ts +17 -0
  104. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  105. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  106. package/es/components/eftposPay/windcave/const.d.ts +119 -0
  107. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  108. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  109. package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  111. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  113. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  114. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  115. package/es/components/eventBooking/locales.d.ts +408 -0
  116. package/es/components/eventBooking/locales.js +186 -0
  117. package/es/components/kioskSkuDetail/index.js +39 -10
  118. package/es/components/kioskSkuDetail/locales.d.ts +21 -0
  119. package/es/components/kioskSkuDetail/locales.js +24 -3
  120. package/es/components/login/locales.d.ts +38 -0
  121. package/es/components/login/locales.js +14 -0
  122. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  123. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  124. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  125. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  126. package/es/components/pay/toC/locales.d.ts +511 -0
  127. package/es/components/pay/toC/locales.js +244 -0
  128. package/es/components/pay/toC/model.d.ts +40 -0
  129. package/es/components/pay/toC/serve.d.ts +2 -0
  130. package/es/components/pinModal/locales.d.ts +43 -0
  131. package/es/components/pinModal/locales.js +16 -0
  132. package/es/components/pinVerifyModal/locales.d.ts +38 -0
  133. package/es/components/pinVerifyModal/locales.js +14 -0
  134. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  135. package/es/components/pisellSelectCustomerModal/locales.js +52 -0
  136. package/es/components/productExtension/locales.d.ts +78 -0
  137. package/es/components/productExtension/locales.js +30 -0
  138. package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
  139. package/es/components/productSelect/locales.d.ts +38 -0
  140. package/es/components/productSelect/locales.js +23 -3
  141. package/es/components/ruleSetting/locales.d.ts +30 -0
  142. package/es/components/ruleSetting/locales.js +30 -0
  143. package/es/components/schedules/locales.d.ts +143 -0
  144. package/es/components/schedules/locales.js +56 -0
  145. package/es/components/schedules/model.d.ts +9 -1
  146. package/es/components/shoppingCart/locales.d.ts +53 -0
  147. package/es/components/shoppingCart/locales.js +24 -0
  148. package/es/components/shoppingCart/type.d.ts +48 -0
  149. package/es/components/stepController/locales.d.ts +43 -0
  150. package/es/components/stepController/locales.js +20 -0
  151. package/es/components/subTotal/locales.d.ts +68 -0
  152. package/es/components/subTotal/locales.js +26 -0
  153. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  154. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
  155. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  156. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
  157. package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
  158. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  159. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
  160. package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  161. package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
  162. package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  163. package/es/components/systemSettings/registry/index.js +20 -16
  164. package/es/components/systemSettings/registry/index.less +6 -7
  165. package/es/components/systemSettings/registry/locales.d.ts +525 -0
  166. package/es/components/systemSettings/registry/locales.js +262 -3
  167. package/es/components/systemSettings/registry/services.d.ts +97 -0
  168. package/es/components/systemSettings/registry/types.d.ts +139 -0
  169. package/es/components/taxSelect/locales.d.ts +38 -0
  170. package/es/components/taxSelect/locales.js +14 -0
  171. package/es/components/ticketBooking/locales.d.ts +304 -0
  172. package/es/components/ticketBooking/locales.js +156 -0
  173. package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
  174. package/es/components/ticketBooking/utils/formatTime.js +8 -2
  175. package/es/components/wallet/utils.d.ts +48 -0
  176. package/es/components/walletList/index.js +10 -0
  177. package/es/components/walletList/locales.d.ts +43 -0
  178. package/es/components/walletList/locales.js +16 -0
  179. package/es/components/walletList/types/index.d.ts +196 -0
  180. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  181. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  182. package/es/hooks/useEngineContext.d.ts +11 -0
  183. package/es/hooks/useWindowSize.d.ts +5 -0
  184. package/es/plus/clientCard/locales.d.ts +28 -0
  185. package/es/plus/clientCard/locales.js +10 -0
  186. package/es/plus/clinetSearch/locales.d.ts +178 -0
  187. package/es/plus/clinetSearch/locales.js +70 -0
  188. package/es/plus/contactInfo/locales.d.ts +23 -0
  189. package/es/plus/contactInfo/locales.js +8 -0
  190. package/es/plus/contactInfoModal/locales.d.ts +108 -0
  191. package/es/plus/contactInfoModal/locales.js +42 -0
  192. package/es/plus/orderList/locales.d.ts +246 -0
  193. package/es/plus/orderList/locales.js +274 -0
  194. package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
  195. package/es/plus/productSelect/locales.d.ts +38 -0
  196. package/es/plus/productSelect/locales.js +23 -3
  197. package/es/plus/saasAttendance/locales.d.ts +591 -0
  198. package/es/plus/saasAttendance/locales.js +234 -0
  199. package/es/plus/saasAttendance/settings/components/MapField.js +4 -2
  200. package/es/plus/saasAttendance/settings/types.d.ts +136 -0
  201. package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
  202. package/es/plus/saasCreateOrganization/locales.js +8 -0
  203. package/es/plus/saasLogin/locales.d.ts +83 -0
  204. package/es/plus/saasLogin/locales.js +32 -0
  205. package/es/plus/saasRegister/locales.d.ts +193 -0
  206. package/es/plus/saasRegister/locales.js +76 -0
  207. package/es/plus/saasRole/locales.d.ts +319 -0
  208. package/es/plus/saasRole/locales.js +126 -0
  209. package/es/plus/saasRole/types.d.ts +177 -0
  210. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  211. package/es/plus/saasTeamMembers/locales.js +216 -0
  212. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  213. package/es/plus/selectHolder/locales.d.ts +35 -0
  214. package/es/plus/selectHolder/locales.js +17 -5
  215. package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
  216. package/es/plus/skuOptionsSelection/locales.js +20 -0
  217. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  218. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  219. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  220. package/es/plus/walletEditor/locales.d.ts +223 -0
  221. package/es/plus/walletEditor/locales.js +100 -0
  222. package/es/plus/walletEditor/types.d.ts +54 -0
  223. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  224. package/es/plus/walletPassGallery/components/passDetail/index.js +2 -26
  225. package/es/plus/walletPassGallery/components/passList/index.js +8 -1
  226. package/es/plus/walletPassGallery/index.js +0 -31
  227. package/es/plus/walletPassGallery/locales.d.ts +473 -0
  228. package/es/plus/walletPassGallery/locales.js +192 -0
  229. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  230. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  231. package/es/pro/Login2.0/locales.d.ts +903 -0
  232. package/es/pro/Login2.0/locales.js +360 -0
  233. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  234. package/es/pro/Selector/Selector.d.ts +1 -1
  235. package/es/pro/Selector/locales.d.ts +22 -0
  236. package/es/pro/Selector/locales.js +58 -0
  237. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  238. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
  239. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  240. package/es/pro/comprehensiveSearch/locales.js +8 -0
  241. package/es/pro/keyboards/locales.d.ts +14 -0
  242. package/es/pro/keyboards/locales.js +22 -0
  243. package/es/pro/numberKeyboard/locales.d.ts +18 -0
  244. package/es/pro/numberKeyboard/locales.js +6 -0
  245. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  246. package/es/pro/pisellPhoneKeyboard/locales.js +6 -0
  247. package/es/test/setup.d.ts +1 -0
  248. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  249. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  250. package/lib/components/appointmentBooking/components/Date/state.js +3 -1
  251. package/lib/components/appointmentBooking/locales.d.ts +606 -0
  252. package/lib/components/appointmentBooking/locales.js +240 -0
  253. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  254. package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
  255. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
  256. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  257. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  258. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  259. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  260. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  261. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  262. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  263. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  264. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
  265. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  266. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  267. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  268. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  269. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  270. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  271. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
  272. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  273. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  274. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  275. package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
  276. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  277. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  278. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  279. package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
  280. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  281. package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
  282. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  283. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  284. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  285. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  286. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  287. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  288. package/lib/components/booking/addons/model.d.ts +10 -1
  289. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  290. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  291. package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
  292. package/lib/components/booking/editBookingModal/locales.js +12 -0
  293. package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
  294. package/lib/components/booking/editBookingModal/mock.js +22 -0
  295. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  296. package/lib/components/booking/forms/model.d.ts +10 -1
  297. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  298. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  299. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  300. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  301. package/lib/components/booking/info/model.d.ts +10 -1
  302. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  303. package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
  304. package/lib/components/booking/info2/service/addService/mock.js +4 -0
  305. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  306. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  307. package/lib/components/booking/locales.d.ts +628 -0
  308. package/lib/components/booking/locales.js +680 -0
  309. package/lib/components/booking/model.d.ts +9 -1
  310. package/lib/components/booking/notes/addNote/index.d.ts +4 -0
  311. package/lib/components/booking/notes/model.d.ts +10 -1
  312. package/lib/components/booking/payments/model.d.ts +10 -1
  313. package/lib/components/booking/utils.d.ts +2 -2
  314. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
  315. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
  316. package/lib/components/ecocup/components/CustomerCard/index.d.ts +7 -0
  317. package/lib/components/ecocup/cupList/const.d.ts +133 -0
  318. package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
  319. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  320. package/lib/components/ecocup/hooks.d.ts +49 -0
  321. package/lib/components/ecocup/locales.d.ts +563 -0
  322. package/lib/components/ecocup/locales.js +224 -0
  323. package/lib/components/eftpos/const.d.ts +64 -0
  324. package/lib/components/eftpos/device.d.ts +9 -0
  325. package/lib/components/eftpos/hooks.d.ts +33 -0
  326. package/lib/components/eftpos/index.d.ts +47 -0
  327. package/lib/components/eftpos/locales.d.ts +163 -0
  328. package/lib/components/eftpos/locales.js +76 -0
  329. package/lib/components/eftposPay/amount.d.ts +1 -1
  330. package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
  331. package/lib/components/eftposPay/const.d.ts +184 -0
  332. package/lib/components/eftposPay/device.d.ts +1 -1
  333. package/lib/components/eftposPay/hooks.d.ts +35 -0
  334. package/lib/components/eftposPay/linkly/const.d.ts +23 -0
  335. package/lib/components/eftposPay/locales.d.ts +572 -0
  336. package/lib/components/eftposPay/locales.js +250 -0
  337. package/lib/components/eftposPay/payo/config.d.ts +13 -0
  338. package/lib/components/eftposPay/payo/const.d.ts +26 -0
  339. package/lib/components/eftposPay/store/index.d.ts +355 -0
  340. package/lib/components/eftposPay/tyro/const.d.ts +17 -0
  341. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  342. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  343. package/lib/components/eftposPay/windcave/const.d.ts +119 -0
  344. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  345. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  346. package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
  347. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  348. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  349. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  350. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  351. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  352. package/lib/components/eventBooking/locales.d.ts +408 -0
  353. package/lib/components/eventBooking/locales.js +162 -0
  354. package/lib/components/kioskSkuDetail/index.js +27 -3
  355. package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
  356. package/lib/components/kioskSkuDetail/locales.js +24 -3
  357. package/lib/components/login/locales.d.ts +38 -0
  358. package/lib/components/login/locales.js +14 -0
  359. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  360. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  361. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  362. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  363. package/lib/components/pay/toC/locales.d.ts +511 -0
  364. package/lib/components/pay/toC/locales.js +204 -0
  365. package/lib/components/pay/toC/model.d.ts +40 -0
  366. package/lib/components/pay/toC/serve.d.ts +2 -0
  367. package/lib/components/pinModal/locales.d.ts +43 -0
  368. package/lib/components/pinModal/locales.js +16 -0
  369. package/lib/components/pinVerifyModal/locales.d.ts +38 -0
  370. package/lib/components/pinVerifyModal/locales.js +14 -0
  371. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  372. package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
  373. package/lib/components/productExtension/locales.d.ts +78 -0
  374. package/lib/components/productExtension/locales.js +30 -0
  375. package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
  376. package/lib/components/productSelect/locales.d.ts +38 -0
  377. package/lib/components/productSelect/locales.js +23 -3
  378. package/lib/components/ruleSetting/locales.d.ts +30 -0
  379. package/lib/components/ruleSetting/locales.js +30 -0
  380. package/lib/components/schedules/locales.d.ts +143 -0
  381. package/lib/components/schedules/locales.js +56 -0
  382. package/lib/components/schedules/model.d.ts +9 -1
  383. package/lib/components/shoppingCart/locales.d.ts +53 -0
  384. package/lib/components/shoppingCart/locales.js +20 -0
  385. package/lib/components/shoppingCart/type.d.ts +48 -0
  386. package/lib/components/stepController/locales.d.ts +43 -0
  387. package/lib/components/stepController/locales.js +16 -0
  388. package/lib/components/subTotal/locales.d.ts +68 -0
  389. package/lib/components/subTotal/locales.js +26 -0
  390. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  391. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
  392. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  393. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
  394. package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
  395. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  396. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
  397. package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  398. package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
  399. package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  400. package/lib/components/systemSettings/registry/index.js +20 -16
  401. package/lib/components/systemSettings/registry/index.less +6 -7
  402. package/lib/components/systemSettings/registry/locales.d.ts +525 -0
  403. package/lib/components/systemSettings/registry/locales.js +262 -3
  404. package/lib/components/systemSettings/registry/services.d.ts +97 -0
  405. package/lib/components/systemSettings/registry/types.d.ts +139 -0
  406. package/lib/components/taxSelect/locales.d.ts +38 -0
  407. package/lib/components/taxSelect/locales.js +14 -0
  408. package/lib/components/ticketBooking/locales.d.ts +304 -0
  409. package/lib/components/ticketBooking/locales.js +136 -0
  410. package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
  411. package/lib/components/ticketBooking/utils/formatTime.js +8 -2
  412. package/lib/components/wallet/utils.d.ts +48 -0
  413. package/lib/components/walletList/index.js +10 -0
  414. package/lib/components/walletList/locales.d.ts +43 -0
  415. package/lib/components/walletList/locales.js +16 -0
  416. package/lib/components/walletList/types/index.d.ts +196 -0
  417. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  418. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  419. package/lib/hooks/useEngineContext.d.ts +11 -0
  420. package/lib/hooks/useWindowSize.d.ts +5 -0
  421. package/lib/plus/clientCard/locales.d.ts +28 -0
  422. package/lib/plus/clientCard/locales.js +10 -0
  423. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  424. package/lib/plus/clinetSearch/locales.js +70 -0
  425. package/lib/plus/contactInfo/locales.d.ts +23 -0
  426. package/lib/plus/contactInfo/locales.js +8 -0
  427. package/lib/plus/contactInfoModal/locales.d.ts +108 -0
  428. package/lib/plus/contactInfoModal/locales.js +42 -0
  429. package/lib/plus/orderList/locales.d.ts +246 -0
  430. package/lib/plus/orderList/locales.js +266 -0
  431. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
  432. package/lib/plus/productSelect/locales.d.ts +38 -0
  433. package/lib/plus/productSelect/locales.js +23 -3
  434. package/lib/plus/saasAttendance/locales.d.ts +591 -0
  435. package/lib/plus/saasAttendance/locales.js +210 -0
  436. package/lib/plus/saasAttendance/settings/components/MapField.js +2 -2
  437. package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
  438. package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
  439. package/lib/plus/saasCreateOrganization/locales.js +8 -0
  440. package/lib/plus/saasLogin/locales.d.ts +83 -0
  441. package/lib/plus/saasLogin/locales.js +32 -0
  442. package/lib/plus/saasRegister/locales.d.ts +193 -0
  443. package/lib/plus/saasRegister/locales.js +76 -0
  444. package/lib/plus/saasRole/locales.d.ts +319 -0
  445. package/lib/plus/saasRole/locales.js +126 -0
  446. package/lib/plus/saasRole/types.d.ts +177 -0
  447. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  448. package/lib/plus/saasTeamMembers/locales.js +216 -0
  449. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  450. package/lib/plus/selectHolder/locales.d.ts +35 -0
  451. package/lib/plus/selectHolder/locales.js +13 -5
  452. package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
  453. package/lib/plus/skuOptionsSelection/locales.js +20 -0
  454. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  455. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  456. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  457. package/lib/plus/walletEditor/locales.d.ts +223 -0
  458. package/lib/plus/walletEditor/locales.js +100 -0
  459. package/lib/plus/walletEditor/types.d.ts +54 -0
  460. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  461. package/lib/plus/walletPassGallery/components/passDetail/index.js +1 -16
  462. package/lib/plus/walletPassGallery/components/passList/index.js +9 -3
  463. package/lib/plus/walletPassGallery/index.js +0 -29
  464. package/lib/plus/walletPassGallery/locales.d.ts +473 -0
  465. package/lib/plus/walletPassGallery/locales.js +192 -0
  466. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  467. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  468. package/lib/pro/Login2.0/locales.d.ts +903 -0
  469. package/lib/pro/Login2.0/locales.js +360 -0
  470. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  471. package/lib/pro/Selector/Selector.d.ts +1 -1
  472. package/lib/pro/Selector/locales.d.ts +22 -0
  473. package/lib/pro/Selector/locales.js +50 -0
  474. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  475. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
  476. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  477. package/lib/pro/comprehensiveSearch/locales.js +8 -0
  478. package/lib/pro/keyboards/locales.d.ts +14 -0
  479. package/lib/pro/keyboards/locales.js +14 -0
  480. package/lib/pro/numberKeyboard/locales.d.ts +18 -0
  481. package/lib/pro/numberKeyboard/locales.js +6 -0
  482. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  483. package/lib/pro/pisellPhoneKeyboard/locales.js +6 -0
  484. package/lib/test/setup.d.ts +1 -0
  485. package/lowcode/eco-cup-list/meta.ts +1 -1
  486. package/lowcode/eco-customer-list/meta.ts +1 -1
  487. package/package.json +1 -1
@@ -0,0 +1,223 @@
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
+ ja: {
135
+ walletName: string;
136
+ validityPeriod: string;
137
+ linkedPasses: string;
138
+ linkedPassesDesc: string;
139
+ sort: string;
140
+ status: string;
141
+ distributionConditions: string;
142
+ selectPasses: string;
143
+ backgroundImage: string;
144
+ advancedSettings: string;
145
+ sendConfig: string;
146
+ displaySettings: string;
147
+ viewPreview: string;
148
+ coverImage: string;
149
+ icon: string;
150
+ upload: string;
151
+ enable: string;
152
+ disable: string;
153
+ barCode: string;
154
+ qrCode: string;
155
+ day: string;
156
+ days: string;
157
+ month: string;
158
+ months: string;
159
+ year: string;
160
+ years: string;
161
+ forever: string;
162
+ custom: string;
163
+ balance: string;
164
+ point: string;
165
+ voucher: string;
166
+ discount: string;
167
+ rechargeable: string;
168
+ pleaseInputWalletName: string;
169
+ enterCoverImageURL: string;
170
+ enterJSONConfig: string;
171
+ selectValidityPeriod: string;
172
+ selectCustomDate: string;
173
+ registerToIssue: string;
174
+ 'pisell2.wallet-editor.holder': string;
175
+ 'pisell2.wallet-editor.holder.required': string;
176
+ 'pisell2.wallet-editor.holder.invalid': string;
177
+ };
178
+ pt: {
179
+ walletName: string;
180
+ validityPeriod: string;
181
+ linkedPasses: string;
182
+ linkedPassesDesc: string;
183
+ sort: string;
184
+ status: string;
185
+ distributionConditions: string;
186
+ selectPasses: string;
187
+ backgroundImage: string;
188
+ advancedSettings: string;
189
+ sendConfig: string;
190
+ displaySettings: string;
191
+ viewPreview: string;
192
+ coverImage: string;
193
+ icon: string;
194
+ upload: string;
195
+ enable: string;
196
+ disable: string;
197
+ barCode: string;
198
+ qrCode: string;
199
+ day: string;
200
+ days: string;
201
+ month: string;
202
+ months: string;
203
+ year: string;
204
+ years: string;
205
+ forever: string;
206
+ custom: string;
207
+ balance: string;
208
+ point: string;
209
+ voucher: string;
210
+ discount: string;
211
+ rechargeable: string;
212
+ pleaseInputWalletName: string;
213
+ enterCoverImageURL: string;
214
+ enterJSONConfig: string;
215
+ selectValidityPeriod: string;
216
+ selectCustomDate: string;
217
+ registerToIssue: string;
218
+ 'pisell2.wallet-editor.holder': string;
219
+ 'pisell2.wallet-editor.holder.required': string;
220
+ 'pisell2.wallet-editor.holder.invalid': string;
221
+ };
222
+ };
223
+ export default _default;
@@ -148,5 +148,105 @@ export default {
148
148
  'pisell2.wallet-editor.holder': '持有人',
149
149
  'pisell2.wallet-editor.holder.required': '請選擇持有人',
150
150
  'pisell2.wallet-editor.holder.invalid': '無效持有人,請重新選擇'
151
+ },
152
+ ja: {
153
+ // フォームラベル
154
+ walletName: 'ウォレット名',
155
+ validityPeriod: '有効期間',
156
+ linkedPasses: 'リンクされたパス',
157
+ linkedPassesDesc: 'このウォレットで利用可能なパスを選択します。',
158
+ sort: '並び替え',
159
+ status: 'ステータス',
160
+ distributionConditions: '発行条件',
161
+ selectPasses: 'パスを選択',
162
+ backgroundImage: '背景画像',
163
+ advancedSettings: '詳細設定',
164
+ sendConfig: '送信設定',
165
+ displaySettings: '表示設定',
166
+ viewPreview: 'プレビューを表示',
167
+ coverImage: 'カバー画像',
168
+ icon: 'アイコン',
169
+ upload: 'アップロード',
170
+ // ステータスオプション
171
+ enable: '有効',
172
+ disable: '無効',
173
+ // バーコードタイプ
174
+ barCode: 'バーコード',
175
+ qrCode: 'QRコード',
176
+ // 有効期間オプション
177
+ day: '日',
178
+ days: '日',
179
+ month: 'ヶ月',
180
+ months: 'ヶ月',
181
+ year: '年',
182
+ years: '年',
183
+ forever: '永続',
184
+ custom: 'カスタム',
185
+ // ウォレットパスタイプ
186
+ balance: '残高',
187
+ point: 'ポイント',
188
+ voucher: 'バウチャー',
189
+ discount: '割引',
190
+ rechargeable: 'チャージ可能',
191
+ // メッセージ
192
+ pleaseInputWalletName: 'ウォレット名を入力してください!',
193
+ enterCoverImageURL: 'カバー画像URLを入力',
194
+ enterJSONConfig: 'JSON設定を入力、例: {"type": "register"}',
195
+ selectValidityPeriod: '有効期間を選択',
196
+ selectCustomDate: 'カスタム日付を選択',
197
+ registerToIssue: '登録時に発行',
198
+ 'pisell2.wallet-editor.holder': '所有者',
199
+ 'pisell2.wallet-editor.holder.required': '所有者を選択してください',
200
+ 'pisell2.wallet-editor.holder.invalid': '無効な所有者です。再度選択してください'
201
+ },
202
+ pt: {
203
+ // Form Labels
204
+ walletName: 'Nome da carteira',
205
+ validityPeriod: 'Período de Validade',
206
+ linkedPasses: 'Passes vinculados',
207
+ linkedPassesDesc: 'Selecione os passes que estarão disponíveis nesta Carteira.',
208
+ sort: 'Ordenar',
209
+ status: 'Status',
210
+ distributionConditions: 'Condições de emissão',
211
+ selectPasses: 'Selecionar passes',
212
+ backgroundImage: 'Imagem de fundo',
213
+ advancedSettings: 'Configurações Avançadas',
214
+ sendConfig: 'Configuração de Envio',
215
+ displaySettings: 'Configurações de exibição',
216
+ viewPreview: 'Ver Prévia',
217
+ coverImage: 'Imagem da Capa',
218
+ icon: 'Ícone',
219
+ upload: 'Fazer upload',
220
+ // Status Options
221
+ enable: 'Habilitar',
222
+ disable: 'Desabilitar',
223
+ // Barcode Types
224
+ barCode: 'Código de barras',
225
+ qrCode: 'Código QR',
226
+ // Validity Period Options
227
+ day: 'dia',
228
+ days: 'dias',
229
+ month: 'mês',
230
+ months: 'meses',
231
+ year: 'ano',
232
+ years: 'anos',
233
+ forever: 'Para sempre',
234
+ custom: 'Personalizado',
235
+ // Wallet Pass Types
236
+ balance: 'Saldo',
237
+ point: 'Pontos',
238
+ voucher: 'Vale',
239
+ discount: 'Desconto',
240
+ rechargeable: 'Recarregável',
241
+ // Messages
242
+ pleaseInputWalletName: 'Por favor, insira o nome da carteira!',
243
+ enterCoverImageURL: 'Insira a URL da imagem da capa',
244
+ enterJSONConfig: 'Insira a configuração JSON, por exemplo {"type": "register"}',
245
+ selectValidityPeriod: 'Selecione o período de validade',
246
+ selectCustomDate: 'Selecione a data personalizada',
247
+ registerToIssue: 'Registrar para emitir',
248
+ 'pisell2.wallet-editor.holder': 'Titular',
249
+ 'pisell2.wallet-editor.holder.required': 'Por favor, selecione um titular',
250
+ 'pisell2.wallet-editor.holder.invalid': 'Titular inválido. Por favor, selecione novamente'
151
251
  }
152
252
  };
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ import { FormInstance } from 'antd';
3
+ export interface MultiLanguageTitle {
4
+ original?: string;
5
+ 'zh-CN'?: string;
6
+ 'zh-HK'?: string;
7
+ 'ja'?: string;
8
+ 'pt'?: string;
9
+ en?: string;
10
+ }
11
+ export interface ValidForConfig {
12
+ unit: string;
13
+ unit_type: 'day' | 'month' | 'year';
14
+ type: 'normal' | 'custom' | 'forever';
15
+ custom_date?: string;
16
+ }
17
+ export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
18
+ export interface ShowcaseWalletPassItem {
19
+ type: WalletPassType;
20
+ display: 0 | 1;
21
+ name?: MultiLanguageTitle;
22
+ custom_title?: MultiLanguageTitle;
23
+ }
24
+ export interface SendConfig {
25
+ type: string;
26
+ [key: string]: any;
27
+ }
28
+ export interface WalletMetadata {
29
+ showcaseWalletPass?: string[];
30
+ showcaseWalletPassNew?: ShowcaseWalletPassItem[];
31
+ welcomeText?: string;
32
+ customerName?: string;
33
+ coverImage?: string;
34
+ send_config?: SendConfig;
35
+ }
36
+ export interface WalletEditorValue {
37
+ name?: MultiLanguageTitle;
38
+ status: 'enable' | 'disable';
39
+ valid_for: ValidForConfig;
40
+ metadata: WalletMetadata;
41
+ }
42
+ export interface WalletEditorRef {
43
+ form: FormInstance;
44
+ setInitialValues: (values: WalletEditorValue) => void;
45
+ getValues: () => WalletEditorValue;
46
+ }
47
+ export interface WalletEditorProps {
48
+ value?: WalletEditorValue;
49
+ onChange?: (value: WalletEditorValue) => void;
50
+ onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
51
+ disabled?: boolean;
52
+ className?: string;
53
+ style?: React.CSSProperties;
54
+ }
@@ -5,7 +5,6 @@ interface PassDetailProps {
5
5
  platform?: 'pc' | 'h5';
6
6
  buttonGroupList?: any[][];
7
7
  showTimeLine?: boolean;
8
- onDetailRefresh?: (passId: number | string, patch: any) => void;
9
8
  onListRefresh?: () => void;
10
9
  }
11
10
  declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
@@ -41,7 +41,6 @@ var PassDetail = function PassDetail(props) {
41
41
  platform = _props$platform === void 0 ? 'pc' : _props$platform,
42
42
  _props$showTimeLine = props.showTimeLine,
43
43
  showTimeLine = _props$showTimeLine === void 0 ? true : _props$showTimeLine,
44
- onDetailRefresh = props.onDetailRefresh,
45
44
  onListRefresh = props.onListRefresh;
46
45
  var _useState = useState('detail'),
47
46
  _useState2 = _slicedToArray(_useState, 2),
@@ -111,38 +110,15 @@ var PassDetail = function PassDetail(props) {
111
110
  var _interaction$utils, _interaction$utils$mo;
112
111
  interaction === null || interaction === void 0 || (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 || (_interaction$utils$mo = _interaction$utils.mountFunction) === null || _interaction$utils$mo === void 0 || _interaction$utils$mo.call(_interaction$utils, 'customer', 'recharge', /*#__PURE__*/function () {
113
112
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(strVal) {
114
- var _getDetail$refreshAsy, latest, patch;
115
113
  return _regeneratorRuntime().wrap(function _callee$(_context) {
116
114
  while (1) switch (_context.prev = _context.next) {
117
115
  case 0:
118
- if (strVal) {
119
- _context.next = 2;
120
- break;
121
- }
122
116
  return _context.abrupt("return", onListRefresh === null || onListRefresh === void 0 ? void 0 : onListRefresh());
123
- case 2:
124
- _context.prev = 2;
125
- _context.next = 5;
126
- return (_getDetail$refreshAsy = _getDetail.refreshAsync) === null || _getDetail$refreshAsy === void 0 ? void 0 : _getDetail$refreshAsy.call(_getDetail);
127
- case 5:
128
- latest = _context.sent;
129
- patch = {
130
- balance: (latest === null || latest === void 0 ? void 0 : latest.balance) !== undefined ? latest.balance : balance !== null && balance !== void 0 ? balance : undefined,
131
- expire_date: (latest === null || latest === void 0 ? void 0 : latest.expire_date) !== undefined ? latest.expire_date : expire_date !== null && expire_date !== void 0 ? expire_date : undefined,
132
- unified_available_status: latest === null || latest === void 0 ? void 0 : latest.unified_available_status
133
- };
134
- onDetailRefresh === null || onDetailRefresh === void 0 || onDetailRefresh(id, patch);
135
- _context.next = 13;
136
- break;
137
- case 10:
138
- _context.prev = 10;
139
- _context.t0 = _context["catch"](2);
140
- console.error(_context.t0);
141
- case 13:
117
+ case 1:
142
118
  case "end":
143
119
  return _context.stop();
144
120
  }
145
- }, _callee, null, [[2, 10]]);
121
+ }, _callee);
146
122
  }));
147
123
  return function (_x) {
148
124
  return _ref4.apply(this, arguments);
@@ -6,7 +6,9 @@ import React from 'react';
6
6
  import { Button, List } from 'antd';
7
7
  import { PisellWalletPassCard } from '@pisell/materials';
8
8
  import { locales } from '@pisell/utils';
9
+ import useEngineContext from "../../../../hooks/useEngineContext";
9
10
  var PassList = function PassList(props) {
11
+ var _context$appHelper;
10
12
  var _props$dataSource = props.dataSource,
11
13
  dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
12
14
  value = props.value,
@@ -17,6 +19,11 @@ var PassList = function PassList(props) {
17
19
  onLoadMore = props.onLoadMore,
18
20
  loading = props.loading,
19
21
  onEditHolder = props.onEditHolder;
22
+ var context = useEngineContext();
23
+ var utils = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {};
24
+ var isTerminal = utils.isTerminal,
25
+ isApp = utils.isApp;
26
+ var isTerminalEnv = (typeof isTerminal === 'function' ? isTerminal() : !!isTerminal) || (isApp === null || isApp === void 0 ? void 0 : isApp());
20
27
  var _loadMore = /*#__PURE__*/React.createElement("div", {
21
28
  style: {
22
29
  textAlign: 'center',
@@ -112,7 +119,7 @@ var PassList = function PassList(props) {
112
119
  code: encoded,
113
120
  validDate: expire_date,
114
121
  holder: holder,
115
- onSetHolder: function onSetHolder() {
122
+ onSetHolder: isTerminalEnv ? undefined : function () {
116
123
  var _holder$metadata;
117
124
  onEditHolder === null || onEditHolder === void 0 || onEditHolder({
118
125
  wallet_pass_detail_id: id,
@@ -498,34 +498,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
498
498
  console.log('pass not found', passId);
499
499
  }
500
500
  };
501
- var _handleDetailRefresh = function _handleDetailRefresh(passId, patch) {
502
- if (_avaliable.find(function (item) {
503
- return item.id === passId;
504
- })) {
505
- _getAvailableList.mutate(function (data) {
506
- var newList = data.list.map(function (item) {
507
- return item.id === passId ? _objectSpread(_objectSpread({}, item), patch) : item;
508
- });
509
- return _objectSpread(_objectSpread({}, data), {}, {
510
- list: newList
511
- });
512
- });
513
- return;
514
- }
515
- if (_unavailable.find(function (item) {
516
- return item.id === passId;
517
- })) {
518
- _getUnavailableList.mutate(function (data) {
519
- var newList = data.list.map(function (item) {
520
- return item.id === passId ? _objectSpread(_objectSpread({}, item), patch) : item;
521
- });
522
- return _objectSpread(_objectSpread({}, data), {}, {
523
- list: newList
524
- });
525
- });
526
- return;
527
- }
528
- };
529
501
  var _handleBindHolder = /*#__PURE__*/function () {
530
502
  var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(holderId) {
531
503
  var passId, res;
@@ -618,7 +590,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
618
590
  }, /*#__PURE__*/React.createElement(PassDetail, {
619
591
  dataSource: _currentItem,
620
592
  platform: platform,
621
- onDetailRefresh: _handleDetailRefresh,
622
593
  onListRefresh: listReload
623
594
  })));
624
595
  };
@@ -656,7 +627,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
656
627
  }, /*#__PURE__*/React.createElement(PassDetail, {
657
628
  dataSource: _currentItem,
658
629
  platform: platform,
659
- onDetailRefresh: _handleDetailRefresh,
660
630
  onListRefresh: listReload
661
631
  })));
662
632
  };
@@ -815,7 +785,6 @@ var WalletPassGallery = function WalletPassGallery(props) {
815
785
  }, /*#__PURE__*/React.createElement(PassDetail, {
816
786
  dataSource: _currentItem,
817
787
  platform: platform,
818
- onDetailRefresh: _handleDetailRefresh,
819
788
  onListRefresh: listReload
820
789
  })));
821
790
  };