@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;
@@ -172,5 +172,105 @@ var locales_default = {
172
172
  "pisell2.wallet-editor.holder": "持有人",
173
173
  "pisell2.wallet-editor.holder.required": "請選擇持有人",
174
174
  "pisell2.wallet-editor.holder.invalid": "無效持有人,請重新選擇"
175
+ },
176
+ ja: {
177
+ // フォームラベル
178
+ walletName: "ウォレット名",
179
+ validityPeriod: "有効期間",
180
+ linkedPasses: "リンクされたパス",
181
+ linkedPassesDesc: "このウォレットで利用可能なパスを選択します。",
182
+ sort: "並び替え",
183
+ status: "ステータス",
184
+ distributionConditions: "発行条件",
185
+ selectPasses: "パスを選択",
186
+ backgroundImage: "背景画像",
187
+ advancedSettings: "詳細設定",
188
+ sendConfig: "送信設定",
189
+ displaySettings: "表示設定",
190
+ viewPreview: "プレビューを表示",
191
+ coverImage: "カバー画像",
192
+ icon: "アイコン",
193
+ upload: "アップロード",
194
+ // ステータスオプション
195
+ enable: "有効",
196
+ disable: "無効",
197
+ // バーコードタイプ
198
+ barCode: "バーコード",
199
+ qrCode: "QRコード",
200
+ // 有効期間オプション
201
+ day: "日",
202
+ days: "日",
203
+ month: "ヶ月",
204
+ months: "ヶ月",
205
+ year: "年",
206
+ years: "年",
207
+ forever: "永続",
208
+ custom: "カスタム",
209
+ // ウォレットパスタイプ
210
+ balance: "残高",
211
+ point: "ポイント",
212
+ voucher: "バウチャー",
213
+ discount: "割引",
214
+ rechargeable: "チャージ可能",
215
+ // メッセージ
216
+ pleaseInputWalletName: "ウォレット名を入力してください!",
217
+ enterCoverImageURL: "カバー画像URLを入力",
218
+ enterJSONConfig: 'JSON設定を入力、例: {"type": "register"}',
219
+ selectValidityPeriod: "有効期間を選択",
220
+ selectCustomDate: "カスタム日付を選択",
221
+ registerToIssue: "登録時に発行",
222
+ "pisell2.wallet-editor.holder": "所有者",
223
+ "pisell2.wallet-editor.holder.required": "所有者を選択してください",
224
+ "pisell2.wallet-editor.holder.invalid": "無効な所有者です。再度選択してください"
225
+ },
226
+ pt: {
227
+ // Form Labels
228
+ walletName: "Nome da carteira",
229
+ validityPeriod: "Período de Validade",
230
+ linkedPasses: "Passes vinculados",
231
+ linkedPassesDesc: "Selecione os passes que estarão disponíveis nesta Carteira.",
232
+ sort: "Ordenar",
233
+ status: "Status",
234
+ distributionConditions: "Condições de emissão",
235
+ selectPasses: "Selecionar passes",
236
+ backgroundImage: "Imagem de fundo",
237
+ advancedSettings: "Configurações Avançadas",
238
+ sendConfig: "Configuração de Envio",
239
+ displaySettings: "Configurações de exibição",
240
+ viewPreview: "Ver Prévia",
241
+ coverImage: "Imagem da Capa",
242
+ icon: "Ícone",
243
+ upload: "Fazer upload",
244
+ // Status Options
245
+ enable: "Habilitar",
246
+ disable: "Desabilitar",
247
+ // Barcode Types
248
+ barCode: "Código de barras",
249
+ qrCode: "Código QR",
250
+ // Validity Period Options
251
+ day: "dia",
252
+ days: "dias",
253
+ month: "mês",
254
+ months: "meses",
255
+ year: "ano",
256
+ years: "anos",
257
+ forever: "Para sempre",
258
+ custom: "Personalizado",
259
+ // Wallet Pass Types
260
+ balance: "Saldo",
261
+ point: "Pontos",
262
+ voucher: "Vale",
263
+ discount: "Desconto",
264
+ rechargeable: "Recarregável",
265
+ // Messages
266
+ pleaseInputWalletName: "Por favor, insira o nome da carteira!",
267
+ enterCoverImageURL: "Insira a URL da imagem da capa",
268
+ enterJSONConfig: 'Insira a configuração JSON, por exemplo {"type": "register"}',
269
+ selectValidityPeriod: "Selecione o período de validade",
270
+ selectCustomDate: "Selecione a data personalizada",
271
+ registerToIssue: "Registrar para emitir",
272
+ "pisell2.wallet-editor.holder": "Titular",
273
+ "pisell2.wallet-editor.holder.required": "Por favor, selecione um titular",
274
+ "pisell2.wallet-editor.holder.invalid": "Titular inválido. Por favor, selecione novamente"
175
275
  }
176
276
  };
@@ -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;
@@ -59,7 +59,6 @@ var PassDetail = (props) => {
59
59
  dataSource,
60
60
  platform = "pc",
61
61
  showTimeLine = true,
62
- onDetailRefresh,
63
62
  onListRefresh
64
63
  } = props;
65
64
  const [activeKey, setActiveKey] = (0, import_react.useState)("detail");
@@ -110,21 +109,7 @@ var PassDetail = (props) => {
110
109
  "customer",
111
110
  "recharge",
112
111
  async (strVal) => {
113
- var _a3;
114
- if (!strVal) {
115
- return onListRefresh == null ? void 0 : onListRefresh();
116
- }
117
- try {
118
- const latest = await ((_a3 = _getDetail.refreshAsync) == null ? void 0 : _a3.call(_getDetail));
119
- const patch = {
120
- balance: (latest == null ? void 0 : latest.balance) !== void 0 ? latest.balance : balance ?? void 0,
121
- expire_date: (latest == null ? void 0 : latest.expire_date) !== void 0 ? latest.expire_date : expire_date ?? void 0,
122
- unified_available_status: latest == null ? void 0 : latest.unified_available_status
123
- };
124
- onDetailRefresh == null ? void 0 : onDetailRefresh(id, patch);
125
- } catch (err) {
126
- console.error(err);
127
- }
112
+ return onListRefresh == null ? void 0 : onListRefresh();
128
113
  }
129
114
  );
130
115
  }, [id]);
@@ -36,7 +36,9 @@ var import_react = __toESM(require("react"));
36
36
  var import_antd = require("antd");
37
37
  var import_materials = require("@pisell/materials");
38
38
  var import_utils = require("@pisell/utils");
39
+ var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
39
40
  var PassList = (props) => {
41
+ var _a;
40
42
  const {
41
43
  dataSource = [],
42
44
  value,
@@ -47,6 +49,10 @@ var PassList = (props) => {
47
49
  loading,
48
50
  onEditHolder
49
51
  } = props;
52
+ const context = (0, import_useEngineContext.default)();
53
+ const utils = ((_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) || {};
54
+ const { isTerminal, isApp } = utils;
55
+ const isTerminalEnv = (typeof isTerminal === "function" ? isTerminal() : !!isTerminal) || (isApp == null ? void 0 : isApp());
50
56
  const _loadMore = /* @__PURE__ */ import_react.default.createElement(
51
57
  "div",
52
58
  {
@@ -130,12 +136,12 @@ var PassList = (props) => {
130
136
  code: encoded,
131
137
  validDate: expire_date,
132
138
  holder,
133
- onSetHolder: () => {
134
- var _a;
139
+ onSetHolder: isTerminalEnv ? void 0 : () => {
140
+ var _a2;
135
141
  onEditHolder == null ? void 0 : onEditHolder({
136
142
  wallet_pass_detail_id: id,
137
143
  customer_id: holder == null ? void 0 : holder.customer_id,
138
- form_id: (_a = holder == null ? void 0 : holder.metadata) == null ? void 0 : _a.custom_id
144
+ form_id: (_a2 = holder == null ? void 0 : holder.metadata) == null ? void 0 : _a2.custom_id
139
145
  });
140
146
  }
141
147
  }
@@ -385,32 +385,6 @@ var WalletPassGallery = (props) => {
385
385
  console.log("pass not found", passId);
386
386
  }
387
387
  };
388
- const _handleDetailRefresh = (passId, patch) => {
389
- if (_avaliable.find((item) => item.id === passId)) {
390
- _getAvailableList.mutate((data) => {
391
- const newList = data.list.map(
392
- (item) => item.id === passId ? { ...item, ...patch } : item
393
- );
394
- return {
395
- ...data,
396
- list: newList
397
- };
398
- });
399
- return;
400
- }
401
- if (_unavailable.find((item) => item.id === passId)) {
402
- _getUnavailableList.mutate((data) => {
403
- const newList = data.list.map(
404
- (item) => item.id === passId ? { ...item, ...patch } : item
405
- );
406
- return {
407
- ...data,
408
- list: newList
409
- };
410
- });
411
- return;
412
- }
413
- };
414
388
  const _handleBindHolder = async (holderId) => {
415
389
  setUpdateHolderLoading(true);
416
390
  const { wallet_pass_detail_id: passId } = editHolderData;
@@ -476,7 +450,6 @@ var WalletPassGallery = (props) => {
476
450
  {
477
451
  dataSource: _currentItem,
478
452
  platform,
479
- onDetailRefresh: _handleDetailRefresh,
480
453
  onListRefresh: listReload
481
454
  }
482
455
  )));
@@ -512,7 +485,6 @@ var WalletPassGallery = (props) => {
512
485
  {
513
486
  dataSource: _currentItem,
514
487
  platform,
515
- onDetailRefresh: _handleDetailRefresh,
516
488
  onListRefresh: listReload
517
489
  }
518
490
  )));
@@ -660,7 +632,6 @@ var WalletPassGallery = (props) => {
660
632
  {
661
633
  dataSource: _currentItem,
662
634
  platform,
663
- onDetailRefresh: _handleDetailRefresh,
664
635
  onListRefresh: listReload
665
636
  }
666
637
  )