esoftplay-event 0.0.0-o → 0.0.0-p

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 (973) hide show
  1. package/.vscode/settings.json +5 -0
  2. package/App.tsx +12 -0
  3. package/GoogleService-Info.dc.plist +38 -0
  4. package/GoogleService-Info.debug.dc.plist +38 -0
  5. package/GoogleService-Info.debug.plist +75 -0
  6. package/GoogleService-Info.live.dc.plist +38 -0
  7. package/GoogleService-Info.live.plist +38 -0
  8. package/GoogleService-Info.plist +75 -0
  9. package/_templates/component/curl_page.tsx +64 -0
  10. package/_templates/component/slider2.tsx +47 -0
  11. package/_templates/event/artist_detail.tsx +164 -0
  12. package/_templates/event/artist_list.tsx +212 -0
  13. package/_templates/event/detail.tsx +336 -0
  14. package/_templates/event/seat_map.tsx +24 -0
  15. package/_templates/event/ticket_list.tsx +759 -0
  16. package/_templates/payment/event.tsx +52 -0
  17. package/_templates/payment/event_invitation.tsx +201 -0
  18. package/_templates/payment/list.tsx +425 -0
  19. package/_templates/payment/summary.tsx +142 -0
  20. package/_templates/tms/dashboard.tsx +256 -0
  21. package/_templates/tms/menu.tsx +93 -0
  22. package/_templates/user/login2.tsx +257 -0
  23. package/_templates/user/profile.tsx +740 -0
  24. package/_templates/user/profile_tms_list.tsx +71 -0
  25. package/app.debug.json +137 -0
  26. package/app.json +147 -0
  27. package/app.live.json +128 -0
  28. package/babel.config.js +10 -0
  29. package/check.mjs +38 -0
  30. package/checkOutsideModule.js +41 -0
  31. package/code-signing/certificate.pem +18 -0
  32. package/config.debug.json +111 -0
  33. package/config.debug.v1.json +104 -0
  34. package/config.debug.v2.json +104 -0
  35. package/config.live.json +104 -0
  36. package/config.v1.json +104 -0
  37. package/config.v2.json +104 -0
  38. package/convertImport.js +53 -0
  39. package/cpToBboEvent.js +57 -0
  40. package/eas.json +40 -0
  41. package/fcm_icon.js +55 -0
  42. package/find_missing_lang.mjs +47 -0
  43. package/find_string.mjs +44 -0
  44. package/heapsize.js +20 -0
  45. package/index.js +8 -2
  46. package/metro.config.js +4 -0
  47. package/modules/artist/detail.tsx +522 -0
  48. package/modules/artist/detail_multi.tsx +549 -0
  49. package/modules/artist/list.tsx +166 -0
  50. package/modules/bbo/config.ts +25 -0
  51. package/modules/bbo/index.tsx +202 -0
  52. package/modules/bbo/main.tsx +410 -0
  53. package/modules/bigbang/bbopay.tsx +73 -0
  54. package/modules/bigbang/card.tsx +214 -0
  55. package/modules/bigbang/card_history.tsx +63 -0
  56. package/modules/bigbang/cat_item.tsx +26 -0
  57. package/modules/bigbang/check_code.tsx +161 -0
  58. package/modules/bigbang/check_ticket.tsx +73 -0
  59. package/modules/bigbang/check_ticket_result.tsx +384 -0
  60. package/modules/bigbang/com_item.tsx +47 -0
  61. package/modules/bigbang/config.tsx +16 -0
  62. package/modules/bigbang/contact.tsx +140 -0
  63. package/modules/bigbang/dependents.tsx +130 -0
  64. package/modules/bigbang/dummy_page.tsx +48 -0
  65. package/modules/bigbang/event.tsx +421 -0
  66. package/modules/bigbang/event_item.tsx +43 -0
  67. package/modules/bigbang/faq.tsx +115 -0
  68. package/modules/bigbang/faq_detail.tsx +69 -0
  69. package/modules/bigbang/faq_list.tsx +72 -0
  70. package/modules/bigbang/gate.tsx +96 -0
  71. package/modules/bigbang/gate_info.tsx +639 -0
  72. package/modules/bigbang/gate_result.tsx +80 -0
  73. package/modules/bigbang/index.tsx +202 -0
  74. package/modules/bigbang/input_code.tsx +136 -0
  75. package/modules/bigbang/loading_page.tsx +246 -0
  76. package/modules/bigbang/loading_page_list.tsx +121 -0
  77. package/modules/bigbang/loading_pagefooter.tsx +25 -0
  78. package/modules/bigbang/main.tsx +506 -0
  79. package/modules/bigbang/menu_item.tsx +26 -0
  80. package/modules/bigbang/notif_index.tsx +72 -0
  81. package/modules/bigbang/payment.tsx +465 -0
  82. package/modules/bigbang/payment_detail.tsx +291 -0
  83. package/modules/bigbang/payment_detail_multi.tsx +343 -0
  84. package/modules/bigbang/payment_item.tsx +62 -0
  85. package/modules/bigbang/payment_list.tsx +706 -0
  86. package/modules/bigbang/payment_pin.tsx +109 -0
  87. package/modules/bigbang/product_item.tsx +51 -0
  88. package/modules/bigbang/product_item2.tsx +65 -0
  89. package/modules/bigbang/question.tsx +64 -0
  90. package/modules/bigbang/schedule_item.tsx +75 -0
  91. package/modules/bigbang/schedule_item2.tsx +77 -0
  92. package/modules/bigbang/shopping_cart.tsx +104 -0
  93. package/modules/bigbang/shopping_cart2.tsx +79 -0
  94. package/modules/bigbang/terms.tsx +112 -0
  95. package/modules/bigbang/test.tsx +38 -0
  96. package/modules/bigbang/test2.tsx +22 -0
  97. package/modules/bigbang/transaction.ts +34 -0
  98. package/modules/bill/detail.tsx +147 -0
  99. package/modules/bill/index.tsx +171 -0
  100. package/modules/cache/hit.ts +32 -0
  101. package/modules/cache/location.tsx +22 -0
  102. package/modules/cashier/coupon_transaksi_detail.tsx +76 -0
  103. package/modules/cashier/data.tsx +34 -0
  104. package/modules/cashier/index.tsx +166 -0
  105. package/modules/cashier/invoice.tsx +228 -0
  106. package/modules/cashier/invoice_detail.tsx +105 -0
  107. package/modules/cashier/invoice_item.tsx +81 -0
  108. package/modules/cashier/invoice_list.tsx +154 -0
  109. package/modules/cashier/invoice_list_transaction.tsx +100 -0
  110. package/modules/cashier/list.tsx +259 -0
  111. package/modules/cashier/list_coupon.tsx +382 -0
  112. package/modules/cashier/list_coupon_transaksi.tsx +101 -0
  113. package/modules/cashier/list_queue.tsx +299 -0
  114. package/modules/cashier/list_queue_item.tsx +92 -0
  115. package/modules/cashier/list_queue_item_countdown.tsx +81 -0
  116. package/modules/cashier/product.tsx +52 -0
  117. package/modules/cashier/product_item.tsx +34 -0
  118. package/modules/cashier/qr.tsx +268 -0
  119. package/modules/cashier/report.tsx +199 -0
  120. package/modules/cashier/report_coupon.tsx +85 -0
  121. package/modules/cashier/report_detail.tsx +127 -0
  122. package/modules/cashier/report_item.tsx +88 -0
  123. package/modules/chat/chat.tsx +323 -0
  124. package/modules/chat/chat_item.tsx +430 -0
  125. package/modules/chat/detail_user.tsx +80 -0
  126. package/modules/chat/index.tsx +70 -0
  127. package/modules/chat/item.tsx +56 -0
  128. package/modules/chat/loading.tsx +82 -0
  129. package/modules/chat/menu.tsx +23 -0
  130. package/modules/community/achievement.tsx +195 -0
  131. package/modules/community/banned.tsx +64 -0
  132. package/modules/community/category.tsx +71 -0
  133. package/modules/community/category_other.tsx +99 -0
  134. package/modules/community/config.tsx +17 -0
  135. package/modules/community/delete.tsx +305 -0
  136. package/modules/community/discuss.tsx +559 -0
  137. package/modules/community/edit_event_organizer.tsx +288 -0
  138. package/modules/community/edit_influencer.tsx +338 -0
  139. package/modules/community/edit_job.tsx +1115 -0
  140. package/modules/community/edit_talent.tsx +374 -0
  141. package/modules/community/education.tsx +339 -0
  142. package/modules/community/education_list.tsx +100 -0
  143. package/modules/community/education_majors.tsx +49 -0
  144. package/modules/community/eo_category.tsx +201 -0
  145. package/modules/community/eo_category_edit.tsx +133 -0
  146. package/modules/community/event_organizer.tsx +472 -0
  147. package/modules/community/exclude_job.tsx +81 -0
  148. package/modules/community/experience.tsx +349 -0
  149. package/modules/community/form.tsx +36 -0
  150. package/modules/community/index.tsx +190 -0
  151. package/modules/community/index_job_available.tsx +52 -0
  152. package/modules/community/influencer.tsx +654 -0
  153. package/modules/community/influencer_image_edit.tsx +150 -0
  154. package/modules/community/item.tsx +84 -0
  155. package/modules/community/job_available.tsx +180 -0
  156. package/modules/community/job_available_aplicant.tsx +243 -0
  157. package/modules/community/job_available_aplicant_item.tsx +108 -0
  158. package/modules/community/job_available_applicant_profile.tsx +515 -0
  159. package/modules/community/job_available_edit_job.tsx +343 -0
  160. package/modules/community/job_available_edit_tender.tsx +486 -0
  161. package/modules/community/job_available_employer.tsx +139 -0
  162. package/modules/community/job_available_employer_edit.tsx +300 -0
  163. package/modules/community/job_available_item.tsx +169 -0
  164. package/modules/community/job_available_item_detail.tsx +278 -0
  165. package/modules/community/job_seeker.tsx +628 -0
  166. package/modules/community/language.tsx +47 -0
  167. package/modules/community/location.tsx +88 -0
  168. package/modules/community/notice.tsx +38 -0
  169. package/modules/community/order.tsx +145 -0
  170. package/modules/community/other.tsx +77 -0
  171. package/modules/community/package_item.tsx +118 -0
  172. package/modules/community/post_job.tsx +279 -0
  173. package/modules/community/post_job_basic.tsx +611 -0
  174. package/modules/community/post_job_basic_date.tsx +44 -0
  175. package/modules/community/post_job_employer.tsx +137 -0
  176. package/modules/community/post_tender.tsx +456 -0
  177. package/modules/community/post_tender_contract.tsx +377 -0
  178. package/modules/community/profession.tsx +66 -0
  179. package/modules/community/registrasi_eo.tsx +594 -0
  180. package/modules/community/registrasi_influencer.tsx +623 -0
  181. package/modules/community/registrasi_job_seeker.tsx +1043 -0
  182. package/modules/community/registrasi_talent.tsx +461 -0
  183. package/modules/community/review_form.tsx +90 -0
  184. package/modules/community/review_item.tsx +73 -0
  185. package/modules/community/reviewing.tsx +89 -0
  186. package/modules/community/seeking_job.tsx +312 -0
  187. package/modules/community/special_other.tsx +122 -0
  188. package/modules/community/special_role_industri_position.tsx +148 -0
  189. package/modules/community/talent.tsx +506 -0
  190. package/modules/community/talent_images.tsx +186 -0
  191. package/modules/community/talent_skill.tsx +285 -0
  192. package/modules/community/talent_skill_edit.tsx +369 -0
  193. package/modules/community/talent_skill_item.tsx +103 -0
  194. package/modules/complaint/detail.tsx +341 -0
  195. package/modules/complaint/index.tsx +309 -0
  196. package/modules/component/accept.tsx +43 -0
  197. package/modules/component/alert.tsx +33 -0
  198. package/modules/component/avatar.tsx +22 -0
  199. package/modules/component/badge.tsx +19 -0
  200. package/modules/component/badge2.tsx +20 -0
  201. package/modules/component/blocked.tsx +41 -0
  202. package/modules/component/button.tsx +37 -0
  203. package/modules/component/calendar.tsx +151 -0
  204. package/modules/component/camera.debug.tsx +187 -0
  205. package/modules/component/camera.live.tsx +214 -0
  206. package/modules/component/camera.tsx +187 -0
  207. package/modules/component/camera_error_view.tsx +35 -0
  208. package/modules/component/cancellation.tsx +71 -0
  209. package/modules/component/card.tsx +61 -0
  210. package/modules/component/cart_item.tsx +24 -0
  211. package/modules/component/circle.tsx +27 -0
  212. package/modules/component/circural_progress.tsx +52 -0
  213. package/modules/component/countdownbig.tsx +27 -0
  214. package/modules/component/coupon.tsx +70 -0
  215. package/modules/component/dialog_custom.tsx +40 -0
  216. package/modules/component/dialog_otp.tsx +79 -0
  217. package/modules/component/fab.tsx +25 -0
  218. package/modules/component/failed.tsx +42 -0
  219. package/modules/component/footer.tsx +20 -0
  220. package/modules/component/footer_nav.tsx +28 -0
  221. package/modules/component/force_sync.tsx +47 -0
  222. package/modules/component/gender.tsx +44 -0
  223. package/modules/component/header.tsx +131 -0
  224. package/modules/component/header2.tsx +68 -0
  225. package/modules/component/header_chat.tsx +68 -0
  226. package/modules/component/header_home.tsx +133 -0
  227. package/modules/component/identity_input.tsx +180 -0
  228. package/modules/component/input.tsx +36 -0
  229. package/modules/component/input_circle_icon.tsx +206 -0
  230. package/modules/component/input_rectangle_icon.tsx +203 -0
  231. package/modules/component/input_rectangle_icon_right.tsx +203 -0
  232. package/modules/component/input_rectangle_touchable.tsx +40 -0
  233. package/modules/component/job_available_switcher.tsx +37 -0
  234. package/modules/component/keyboard_numeric.tsx +42 -0
  235. package/modules/component/label_input.tsx +21 -0
  236. package/modules/component/label_input2.tsx +34 -0
  237. package/modules/component/map.tsx +132 -0
  238. package/modules/component/message.tsx +30 -0
  239. package/modules/component/modal.tsx +85 -0
  240. package/modules/component/multi_select.tsx +85 -0
  241. package/modules/component/nav_tab.tsx +28 -0
  242. package/modules/component/new_chat.tsx +65 -0
  243. package/modules/component/new_chat_chat.tsx +678 -0
  244. package/modules/component/new_chat_item.tsx +88 -0
  245. package/modules/component/numberPicker.tsx +39 -0
  246. package/modules/component/number_picker.tsx +55 -0
  247. package/modules/component/otp.tsx +89 -0
  248. package/modules/component/payment_cc.tsx +325 -0
  249. package/modules/component/pending_trx.tsx +50 -0
  250. package/modules/component/popup.tsx +30 -0
  251. package/modules/component/progress_bar.tsx +28 -0
  252. package/modules/component/qr_bg.tsx +24 -0
  253. package/modules/component/qr_user.tsx +47 -0
  254. package/modules/component/rating.tsx +51 -0
  255. package/modules/component/rating_mini.tsx +32 -0
  256. package/modules/component/rating_new.tsx +51 -0
  257. package/modules/component/refresh_button.tsx +40 -0
  258. package/modules/component/register_container.tsx +128 -0
  259. package/modules/component/scanner.tsx +271 -0
  260. package/modules/component/scannerv2.tsx +132 -0
  261. package/modules/component/section.tsx +33 -0
  262. package/modules/component/section_notif.tsx +21 -0
  263. package/modules/component/select.tsx +51 -0
  264. package/modules/component/slider.tsx +45 -0
  265. package/modules/component/slidingup.tsx +85 -0
  266. package/modules/component/step.tsx +29 -0
  267. package/modules/component/tabheader.tsx +48 -0
  268. package/modules/component/text.tsx +122 -0
  269. package/modules/component/touchable.tsx +20 -0
  270. package/modules/component/translate.tsx +50 -0
  271. package/modules/components/header.tsx +38 -0
  272. package/modules/components/header_home.tsx +77 -0
  273. package/modules/components/section.tsx +33 -0
  274. package/modules/content/detail.tsx +201 -0
  275. package/modules/content/item.tsx +52 -0
  276. package/modules/content/list.tsx +58 -0
  277. package/modules/deals/brand_detail.tsx +144 -0
  278. package/modules/deals/brand_item.tsx +28 -0
  279. package/modules/deals/category_item.tsx +37 -0
  280. package/modules/deals/checkout.tsx +177 -0
  281. package/modules/deals/checkout_payment_method.tsx +87 -0
  282. package/modules/deals/detail.tsx +339 -0
  283. package/modules/deals/expander.tsx +38 -0
  284. package/modules/deals/header.tsx +71 -0
  285. package/modules/deals/home.tsx +261 -0
  286. package/modules/deals/item.tsx +55 -0
  287. package/modules/deals/list.tsx +158 -0
  288. package/modules/deals/list_filter.tsx +125 -0
  289. package/modules/deals/location.tsx +69 -0
  290. package/modules/deals/location_current.tsx +16 -0
  291. package/modules/deals/option.tsx +81 -0
  292. package/modules/deals/order.tsx +166 -0
  293. package/modules/deals/order_detail.tsx +297 -0
  294. package/modules/deals/order_item.tsx +91 -0
  295. package/modules/deals/search.tsx +60 -0
  296. package/modules/deals/section.tsx +33 -0
  297. package/modules/event/additional.tsx +188 -0
  298. package/modules/event/additional_input.tsx +316 -0
  299. package/modules/event/alert.tsx +32 -0
  300. package/modules/event/artist.tsx +165 -0
  301. package/modules/event/artist_detail.tsx +521 -0
  302. package/modules/event/artist_detail_multi.tsx +548 -0
  303. package/modules/event/badge.tsx +22 -0
  304. package/modules/event/block.tsx +56 -0
  305. package/modules/event/block_invitation.tsx +48 -0
  306. package/modules/event/button.tsx +40 -0
  307. package/modules/event/capture.tsx +39 -0
  308. package/modules/event/config.ts +25 -0
  309. package/modules/event/countdown.tsx +72 -0
  310. package/modules/event/countdown_base.tsx +83 -0
  311. package/modules/event/counter_cashier.tsx +180 -0
  312. package/modules/event/counter_cashier_report.tsx +114 -0
  313. package/modules/event/counter_cashier_sell.tsx +135 -0
  314. package/modules/event/counter_eo.tsx +451 -0
  315. package/modules/event/counter_history.tsx +74 -0
  316. package/modules/event/counter_history_item.tsx +48 -0
  317. package/modules/event/counter_info.tsx +96 -0
  318. package/modules/event/counter_lm.tsx +273 -0
  319. package/modules/event/counter_menu.tsx +85 -0
  320. package/modules/event/counter_report.tsx +105 -0
  321. package/modules/event/counter_report_breakdown.tsx +93 -0
  322. package/modules/event/counter_report_detail.tsx +238 -0
  323. package/modules/event/counter_report_detail_list.tsx +56 -0
  324. package/modules/event/counter_request.tsx +136 -0
  325. package/modules/event/counter_request_detail.tsx +211 -0
  326. package/modules/event/counter_section.tsx +32 -0
  327. package/modules/event/counter_send.tsx +277 -0
  328. package/modules/event/counter_status.tsx +32 -0
  329. package/modules/event/counter_type.tsx +23 -0
  330. package/modules/event/counter_user_list.tsx +197 -0
  331. package/modules/event/counter_user_list_item.tsx +143 -0
  332. package/modules/event/coupon.tsx +124 -0
  333. package/modules/event/coupon_claim.tsx +198 -0
  334. package/modules/event/coupon_claim_detail.tsx +176 -0
  335. package/modules/event/coupon_claim_history.tsx +279 -0
  336. package/modules/event/coupon_claim_reimburse.tsx +110 -0
  337. package/modules/event/coupon_claim_reimburse_history.tsx +71 -0
  338. package/modules/event/coupon_claim_reimburse_history_detail.tsx +117 -0
  339. package/modules/event/coupon_claim_staff.tsx +256 -0
  340. package/modules/event/coupon_detail.tsx +98 -0
  341. package/modules/event/coupon_event_list.tsx +77 -0
  342. package/modules/event/coupon_generate.tsx +258 -0
  343. package/modules/event/coupon_generate_event.tsx +79 -0
  344. package/modules/event/coupon_generate_list.tsx +56 -0
  345. package/modules/event/date_picker.tsx +152 -0
  346. package/modules/event/detail.tsx +348 -0
  347. package/modules/event/distribution_lock.ts +18 -0
  348. package/modules/event/entrance.tsx +215 -0
  349. package/modules/event/entrance_again.tsx +199 -0
  350. package/modules/event/entrance_failed.tsx +190 -0
  351. package/modules/event/entrance_idcard.tsx +199 -0
  352. package/modules/event/entrance_list.tsx +264 -0
  353. package/modules/event/entrance_list_item.tsx +88 -0
  354. package/modules/event/entrance_log.tsx +130 -0
  355. package/modules/event/entrance_success.tsx +153 -0
  356. package/modules/event/entrance_warning.tsx +91 -0
  357. package/modules/event/exchange_reward.tsx +31 -0
  358. package/modules/event/exchange_reward_result.tsx +136 -0
  359. package/modules/event/exchange_ticket.tsx +233 -0
  360. package/modules/event/exchange_ticket_list.tsx +201 -0
  361. package/modules/event/exchange_ticket_result.tsx +210 -0
  362. package/modules/event/exit.tsx +91 -0
  363. package/modules/event/exit_failed.tsx +135 -0
  364. package/modules/event/exit_list.tsx +118 -0
  365. package/modules/event/exit_log.tsx +130 -0
  366. package/modules/event/exit_success.tsx +143 -0
  367. package/modules/event/exit_temporary.tsx +226 -0
  368. package/modules/event/expander.tsx +36 -0
  369. package/modules/event/fab.tsx +24 -0
  370. package/modules/event/firebase_socket.debug.ts +261 -0
  371. package/modules/event/firebase_socket.live.ts +337 -0
  372. package/modules/event/firebase_socket.ts +261 -0
  373. package/modules/event/hall_in.tsx +148 -0
  374. package/modules/event/hall_in_failed.tsx +270 -0
  375. package/modules/event/hall_in_list.tsx +222 -0
  376. package/modules/event/hall_in_log.tsx +134 -0
  377. package/modules/event/hall_in_success.tsx +132 -0
  378. package/modules/event/hall_out.tsx +143 -0
  379. package/modules/event/hall_out_failed.tsx +133 -0
  380. package/modules/event/hall_out_list.tsx +215 -0
  381. package/modules/event/hall_out_log.tsx +133 -0
  382. package/modules/event/hall_out_success.tsx +130 -0
  383. package/modules/event/header.tsx +131 -0
  384. package/modules/event/header_home.tsx +104 -0
  385. package/modules/event/htmltext.tsx +61 -0
  386. package/modules/event/index.tsx +302 -0
  387. package/modules/event/input_rectangle.tsx +208 -0
  388. package/modules/event/item.tsx +39 -0
  389. package/modules/event/label_input.tsx +23 -0
  390. package/modules/event/list.tsx +218 -0
  391. package/modules/event/list_filter.tsx +123 -0
  392. package/modules/event/list_item.tsx +76 -0
  393. package/modules/event/list_item2.tsx +78 -0
  394. package/modules/event/loading_page.tsx +248 -0
  395. package/modules/event/log.tsx +433 -0
  396. package/modules/event/message.tsx +32 -0
  397. package/modules/event/notice.tsx +41 -0
  398. package/modules/event/order.tsx +323 -0
  399. package/modules/event/order_detail.tsx +813 -0
  400. package/modules/event/order_detail_payment.tsx +153 -0
  401. package/modules/event/order_detail_upgrade.tsx +202 -0
  402. package/modules/event/order_detail_upgrade_button.tsx +59 -0
  403. package/modules/event/order_detail_upgrade_payment.tsx +223 -0
  404. package/modules/event/order_detail_visitor.tsx +196 -0
  405. package/modules/event/order_detail_waiting.tsx +538 -0
  406. package/modules/event/order_history.tsx +101 -0
  407. package/modules/event/order_item.tsx +118 -0
  408. package/modules/event/order_lottery.tsx +172 -0
  409. package/modules/event/order_reschedule.tsx +439 -0
  410. package/modules/event/order_reschedule_list.tsx +85 -0
  411. package/modules/event/order_share_to.tsx +219 -0
  412. package/modules/event/order_share_to_detail.tsx +181 -0
  413. package/modules/event/order_status.tsx +66 -0
  414. package/modules/event/order_waiting.tsx +142 -0
  415. package/modules/event/pending_trx.tsx +50 -0
  416. package/modules/event/popup.tsx +82 -0
  417. package/modules/event/qc_idcard.tsx +209 -0
  418. package/modules/event/qc_idcard_failed.tsx +78 -0
  419. package/modules/event/qc_idcard_success.tsx +68 -0
  420. package/modules/event/qr_bg.tsx +22 -0
  421. package/modules/event/queue_out.tsx +186 -0
  422. package/modules/event/queue_pricing.tsx +141 -0
  423. package/modules/event/randomseat.tsx +33 -0
  424. package/modules/event/rating.tsx +49 -0
  425. package/modules/event/rating_mini.tsx +35 -0
  426. package/modules/event/refresh_button.tsx +40 -0
  427. package/modules/event/review.tsx +117 -0
  428. package/modules/event/review_add.tsx +342 -0
  429. package/modules/event/review_detail.tsx +67 -0
  430. package/modules/event/review_item.tsx +76 -0
  431. package/modules/event/scan_item.tsx +66 -0
  432. package/modules/event/schedule.tsx +134 -0
  433. package/modules/event/seat.tsx +627 -0
  434. package/modules/event/seat_autopick.tsx +120 -0
  435. package/modules/event/seat_map.tsx +408 -0
  436. package/modules/event/seat_map_matrix.tsx +94 -0
  437. package/modules/event/seat_map_test.tsx +401 -0
  438. package/modules/event/section.tsx +35 -0
  439. package/modules/event/section_menu.tsx +40 -0
  440. package/modules/event/secure_page.tsx +33 -0
  441. package/modules/event/share.ts +20 -0
  442. package/modules/event/sheet.tsx +74 -0
  443. package/modules/event/slider.tsx +46 -0
  444. package/modules/event/slidingup.tsx +37 -0
  445. package/modules/event/step.tsx +29 -0
  446. package/modules/event/tap.tsx +30 -0
  447. package/modules/event/ticket_list.tsx +721 -0
  448. package/modules/event/ticket_list2.tsx +678 -0
  449. package/modules/event/timer.tsx +58 -0
  450. package/modules/event/tms.tsx +103 -0
  451. package/modules/event/tms_add.tsx +93 -0
  452. package/modules/event/tms_add_result.tsx +175 -0
  453. package/modules/event/tms_check_code.tsx +160 -0
  454. package/modules/event/tms_check_ticket.tsx +72 -0
  455. package/modules/event/tms_check_ticket_result.tsx +384 -0
  456. package/modules/event/tms_dashboard.tsx +89 -0
  457. package/modules/event/tms_event_list.tsx +69 -0
  458. package/modules/event/tms_gate.tsx +96 -0
  459. package/modules/event/tms_gate_result.tsx +80 -0
  460. package/modules/event/tms_home.tsx +639 -0
  461. package/modules/event/tms_idcard.tsx +200 -0
  462. package/modules/event/tms_in.tsx +215 -0
  463. package/modules/event/tms_in_again.tsx +199 -0
  464. package/modules/event/tms_in_failed.tsx +190 -0
  465. package/modules/event/tms_in_hall.tsx +148 -0
  466. package/modules/event/tms_in_hall_failed.tsx +270 -0
  467. package/modules/event/tms_in_hall_list.tsx +222 -0
  468. package/modules/event/tms_in_hall_log.tsx +134 -0
  469. package/modules/event/tms_in_hall_success.tsx +132 -0
  470. package/modules/event/tms_in_list.tsx +264 -0
  471. package/modules/event/tms_in_log.tsx +130 -0
  472. package/modules/event/tms_in_success.tsx +153 -0
  473. package/modules/event/tms_in_warning.tsx +91 -0
  474. package/modules/event/tms_list_item.tsx +88 -0
  475. package/modules/event/tms_log.tsx +434 -0
  476. package/modules/event/tms_out.tsx +91 -0
  477. package/modules/event/tms_out_failed.tsx +135 -0
  478. package/modules/event/tms_out_hall.tsx +143 -0
  479. package/modules/event/tms_out_hall_failed.tsx +133 -0
  480. package/modules/event/tms_out_hall_list.tsx +215 -0
  481. package/modules/event/tms_out_hall_log.tsx +133 -0
  482. package/modules/event/tms_out_hall_success.tsx +130 -0
  483. package/modules/event/tms_out_list.tsx +118 -0
  484. package/modules/event/tms_out_log.tsx +130 -0
  485. package/modules/event/tms_out_success.tsx +143 -0
  486. package/modules/event/tms_out_temporary.tsx +226 -0
  487. package/modules/event/toggle.tsx +30 -0
  488. package/modules/event/transaction.ts +34 -0
  489. package/modules/event/turnstile_event_gate.tsx +74 -0
  490. package/modules/event/turnstile_event_item.tsx +41 -0
  491. package/modules/event/turnstile_event_list.tsx +69 -0
  492. package/modules/event/turnstile_event_ticket.tsx +95 -0
  493. package/modules/event/turnstile_settings.tsx +327 -0
  494. package/modules/event/turnstile_settings_otp.tsx +58 -0
  495. package/modules/event/turnstile_settings_status.tsx +50 -0
  496. package/modules/event/visitor_edit.tsx +125 -0
  497. package/modules/event/visitor_history.tsx +61 -0
  498. package/modules/event/visitor_history_item.tsx +96 -0
  499. package/modules/event/visitor_index.tsx +175 -0
  500. package/modules/event/visitor_input.tsx +283 -0
  501. package/modules/event/voucher.tsx +148 -0
  502. package/modules/event/voucher_multi.tsx +180 -0
  503. package/modules/feed/booking.tsx +450 -0
  504. package/modules/feed/eo.tsx +281 -0
  505. package/modules/feed/eo_detail.tsx +557 -0
  506. package/modules/feed/filter_location.tsx +94 -0
  507. package/modules/feed/filter_location2.tsx +105 -0
  508. package/modules/feed/filter_location_item.tsx +130 -0
  509. package/modules/feed/filter_location_list.tsx +48 -0
  510. package/modules/feed/images.tsx +66 -0
  511. package/modules/feed/index.tsx +126 -0
  512. package/modules/feed/influencer.tsx +281 -0
  513. package/modules/feed/influencer_detail.tsx +596 -0
  514. package/modules/feed/item.tsx +46 -0
  515. package/modules/feed/item2.tsx +47 -0
  516. package/modules/feed/job.tsx +460 -0
  517. package/modules/feed/job_available.tsx +322 -0
  518. package/modules/feed/job_available_detail.tsx +377 -0
  519. package/modules/feed/job_available_item.tsx +114 -0
  520. package/modules/feed/job_available_list.tsx +311 -0
  521. package/modules/feed/job_detail.tsx +689 -0
  522. package/modules/feed/job_filter.tsx +69 -0
  523. package/modules/feed/job_item.tsx +62 -0
  524. package/modules/feed/job_list.tsx +204 -0
  525. package/modules/feed/job_list_cv.tsx +183 -0
  526. package/modules/feed/job_list_school.tsx +53 -0
  527. package/modules/feed/list.tsx +193 -0
  528. package/modules/feed/location.tsx +45 -0
  529. package/modules/feed/menu.tsx +26 -0
  530. package/modules/feed/talent.tsx +294 -0
  531. package/modules/feed/talent_date.tsx +127 -0
  532. package/modules/feed/talent_detail.tsx +688 -0
  533. package/modules/feed/talent_list_review.tsx +50 -0
  534. package/modules/invoice/detail.tsx +316 -0
  535. package/modules/invoice/input.tsx +513 -0
  536. package/modules/invoice/payment_list.tsx +93 -0
  537. package/modules/lib/autosync.ts +50 -0
  538. package/modules/lib/block.tsx +56 -0
  539. package/modules/lib/bone.tsx +51 -0
  540. package/modules/lib/calendar.tsx +218 -0
  541. package/modules/lib/capture.tsx +39 -0
  542. package/modules/lib/carrousel2.tsx +347 -0
  543. package/modules/lib/curl.ts +169 -0
  544. package/modules/lib/dialog.tsx +146 -0
  545. package/modules/lib/dialogview.tsx +59 -0
  546. package/modules/lib/distribution_lock.ts +18 -0
  547. package/modules/lib/document.ts +43 -0
  548. package/modules/lib/editbox.tsx +113 -0
  549. package/modules/lib/htmltext.tsx +61 -0
  550. package/modules/lib/image.tsx +388 -0
  551. package/modules/lib/input_circle.tsx +207 -0
  552. package/modules/lib/input_circle2.tsx +203 -0
  553. package/modules/lib/input_rectangle.tsx +198 -0
  554. package/modules/lib/input_rectangle2.tsx +233 -0
  555. package/modules/lib/item.tsx +23 -0
  556. package/modules/lib/list.tsx +107 -0
  557. package/modules/lib/location.tsx +39 -0
  558. package/modules/lib/location_cleanup.ts +15 -0
  559. package/modules/lib/login.debug.ts +84 -0
  560. package/modules/lib/login.live.ts +84 -0
  561. package/modules/lib/login.ts +84 -0
  562. package/modules/lib/notif_translate.ts +49 -0
  563. package/modules/lib/notification.ts +518 -0
  564. package/modules/lib/notify.ts +148 -0
  565. package/modules/lib/pagination.tsx +110 -0
  566. package/modules/lib/pan.tsx +132 -0
  567. package/modules/lib/password.ts +19 -0
  568. package/modules/lib/pressable.tsx +40 -0
  569. package/modules/lib/print.ts +20 -0
  570. package/modules/lib/reinfinite.tsx +100 -0
  571. package/modules/lib/retry.tsx +45 -0
  572. package/modules/lib/scroll_sticky.tsx +85 -0
  573. package/modules/lib/share.ts +20 -0
  574. package/modules/lib/style.debug.ts +109 -0
  575. package/modules/lib/style.live.ts +110 -0
  576. package/modules/lib/style.ts +109 -0
  577. package/modules/lib/swipe.tsx +74 -0
  578. package/modules/lib/tap.tsx +28 -0
  579. package/modules/lib/test.tsx +157 -0
  580. package/modules/lib/textstyle.tsx +265 -0
  581. package/modules/lib/time_picker.tsx +132 -0
  582. package/modules/lib/translate.tsx +41 -0
  583. package/modules/lib/utils.ts +365 -0
  584. package/modules/lib/version.tsx +87 -0
  585. package/modules/lib/version_view.tsx +26 -0
  586. package/modules/lib/video.tsx +44 -0
  587. package/modules/lib/webview.tsx +172 -0
  588. package/modules/log/reporter.ts +95 -0
  589. package/modules/log/test.tsx +150 -0
  590. package/modules/market/account_buyer.tsx +164 -0
  591. package/modules/market/account_merchant.tsx +390 -0
  592. package/modules/market/address.tsx +102 -0
  593. package/modules/market/address_item.tsx +145 -0
  594. package/modules/market/chat.tsx +23 -0
  595. package/modules/market/checkout.tsx +600 -0
  596. package/modules/market/checkout_payment_method.tsx +164 -0
  597. package/modules/market/complaint_form.tsx +102 -0
  598. package/modules/market/countdown.tsx +81 -0
  599. package/modules/market/empty.tsx +18 -0
  600. package/modules/market/header_home.tsx +89 -0
  601. package/modules/market/home.tsx +549 -0
  602. package/modules/market/load_category.tsx +25 -0
  603. package/modules/market/location.tsx +74 -0
  604. package/modules/market/merchant_detail.tsx +328 -0
  605. package/modules/market/merchant_register.tsx +94 -0
  606. package/modules/market/merchant_saldo_history.tsx +100 -0
  607. package/modules/market/order_detail.tsx +670 -0
  608. package/modules/market/payment_list.tsx +36 -0
  609. package/modules/market/payment_offline.tsx +76 -0
  610. package/modules/market/payment_offline_detail.tsx +121 -0
  611. package/modules/market/payment_pin.tsx +22 -0
  612. package/modules/market/point_history.tsx +78 -0
  613. package/modules/market/product_category.tsx +188 -0
  614. package/modules/market/product_detail_description.tsx +28 -0
  615. package/modules/market/product_detail_general.tsx +152 -0
  616. package/modules/market/product_item.tsx +234 -0
  617. package/modules/market/style.ts +15 -0
  618. package/modules/market/terms.tsx +22 -0
  619. package/modules/market/withdraw.tsx +213 -0
  620. package/modules/mart/accept.tsx +43 -0
  621. package/modules/mart/account.tsx +541 -0
  622. package/modules/mart/account_empty.tsx +43 -0
  623. package/modules/mart/bag.tsx +273 -0
  624. package/modules/mart/bag_add_slideup.tsx +184 -0
  625. package/modules/mart/bag_float.tsx +30 -0
  626. package/modules/mart/bag_item.tsx +156 -0
  627. package/modules/mart/button.tsx +49 -0
  628. package/modules/mart/checkout.tsx +207 -0
  629. package/modules/mart/checkout_payment_method.tsx +96 -0
  630. package/modules/mart/complaint_conditions.tsx +26 -0
  631. package/modules/mart/complaint_detail.tsx +290 -0
  632. package/modules/mart/complaint_discuss.tsx +364 -0
  633. package/modules/mart/complaint_solution.tsx +79 -0
  634. package/modules/mart/complaint_step1.tsx +51 -0
  635. package/modules/mart/complaint_step2.tsx +122 -0
  636. package/modules/mart/complaint_step3.tsx +168 -0
  637. package/modules/mart/dc_account.tsx +312 -0
  638. package/modules/mart/dc_admin_order.tsx +156 -0
  639. package/modules/mart/dc_bundle_add.tsx +72 -0
  640. package/modules/mart/dc_bundle_edit.tsx +81 -0
  641. package/modules/mart/dc_bundle_input.tsx +445 -0
  642. package/modules/mart/dc_cart.tsx +256 -0
  643. package/modules/mart/dc_cart_add_slideup.tsx +101 -0
  644. package/modules/mart/dc_cart_item.tsx +142 -0
  645. package/modules/mart/dc_checkout.tsx +175 -0
  646. package/modules/mart/dc_detail.tsx +277 -0
  647. package/modules/mart/dc_edit.tsx +274 -0
  648. package/modules/mart/dc_list.tsx +96 -0
  649. package/modules/mart/dc_location_range.tsx +140 -0
  650. package/modules/mart/dc_mitra_product_report.tsx +135 -0
  651. package/modules/mart/dc_mitra_report_buy.tsx +166 -0
  652. package/modules/mart/dc_mitra_report_profit_loss.tsx +163 -0
  653. package/modules/mart/dc_mitra_report_profit_loss_detail.tsx +79 -0
  654. package/modules/mart/dc_mitra_report_sale.tsx +165 -0
  655. package/modules/mart/dc_mitra_report_stock.tsx +98 -0
  656. package/modules/mart/dc_mitra_report_stock_adjustment.tsx +160 -0
  657. package/modules/mart/dc_order.tsx +126 -0
  658. package/modules/mart/dc_order_detail.tsx +297 -0
  659. package/modules/mart/dc_order_detail_button_floating.tsx +266 -0
  660. package/modules/mart/dc_order_detail_buttons.tsx +237 -0
  661. package/modules/mart/dc_order_detail_finish.tsx +218 -0
  662. package/modules/mart/dc_order_detail_finish_bundle_item.tsx +159 -0
  663. package/modules/mart/dc_order_detail_finish_item.tsx +248 -0
  664. package/modules/mart/dc_order_detail_print.tsx +125 -0
  665. package/modules/mart/dc_order_detail_sticky.tsx +266 -0
  666. package/modules/mart/dc_order_item.tsx +142 -0
  667. package/modules/mart/dc_order_status.tsx +60 -0
  668. package/modules/mart/dc_product_add.tsx +107 -0
  669. package/modules/mart/dc_product_check.tsx +56 -0
  670. package/modules/mart/dc_product_detail.tsx +282 -0
  671. package/modules/mart/dc_product_edit.tsx +88 -0
  672. package/modules/mart/dc_product_input.tsx +273 -0
  673. package/modules/mart/dc_product_item.tsx +141 -0
  674. package/modules/mart/dc_product_list.tsx +242 -0
  675. package/modules/mart/dc_product_list_confirm.tsx +188 -0
  676. package/modules/mart/dc_product_main.tsx +262 -0
  677. package/modules/mart/dc_saldo_history.tsx +78 -0
  678. package/modules/mart/dc_scanner.tsx +112 -0
  679. package/modules/mart/detail.tsx +297 -0
  680. package/modules/mart/detail_search.tsx +57 -0
  681. package/modules/mart/edit.tsx +111 -0
  682. package/modules/mart/empty.tsx +22 -0
  683. package/modules/mart/header.tsx +81 -0
  684. package/modules/mart/header_home.tsx +61 -0
  685. package/modules/mart/home.tsx +457 -0
  686. package/modules/mart/image_picker.tsx +60 -0
  687. package/modules/mart/input.tsx +276 -0
  688. package/modules/mart/input_container.tsx +24 -0
  689. package/modules/mart/input_label.tsx +22 -0
  690. package/modules/mart/input_select.tsx +35 -0
  691. package/modules/mart/input_square.tsx +67 -0
  692. package/modules/mart/input_toggle.tsx +34 -0
  693. package/modules/mart/location.tsx +102 -0
  694. package/modules/mart/location_empty.tsx +59 -0
  695. package/modules/mart/lucky_draw.tsx +134 -0
  696. package/modules/mart/lucky_draw_detail.tsx +137 -0
  697. package/modules/mart/lucky_draw_history.tsx +75 -0
  698. package/modules/mart/lucky_draw_terms.tsx +27 -0
  699. package/modules/mart/lucky_draw_win.tsx +26 -0
  700. package/modules/mart/mitra_order.tsx +162 -0
  701. package/modules/mart/order.tsx +138 -0
  702. package/modules/mart/order_detail.tsx +297 -0
  703. package/modules/mart/order_detail_buttons.tsx +365 -0
  704. package/modules/mart/order_detail_item.tsx +94 -0
  705. package/modules/mart/order_detail_skeleton.tsx +98 -0
  706. package/modules/mart/order_detail_status.tsx +91 -0
  707. package/modules/mart/order_item.tsx +152 -0
  708. package/modules/mart/order_refund.tsx +149 -0
  709. package/modules/mart/order_status.tsx +55 -0
  710. package/modules/mart/point.tsx +151 -0
  711. package/modules/mart/point_exchange.tsx +189 -0
  712. package/modules/mart/point_exchange_history.tsx +66 -0
  713. package/modules/mart/point_history.tsx +113 -0
  714. package/modules/mart/point_list.tsx +85 -0
  715. package/modules/mart/product_add.tsx +130 -0
  716. package/modules/mart/product_check.tsx +54 -0
  717. package/modules/mart/product_detail.tsx +275 -0
  718. package/modules/mart/product_detail_description.tsx +33 -0
  719. package/modules/mart/product_detail_general.tsx +113 -0
  720. package/modules/mart/product_edit.tsx +86 -0
  721. package/modules/mart/product_input.tsx +285 -0
  722. package/modules/mart/product_item.tsx +219 -0
  723. package/modules/mart/product_list.tsx +247 -0
  724. package/modules/mart/product_main.tsx +260 -0
  725. package/modules/mart/product_search.tsx +143 -0
  726. package/modules/mart/product_stocks_adjust.tsx +308 -0
  727. package/modules/mart/register.tsx +118 -0
  728. package/modules/mart/reminder.tsx +127 -0
  729. package/modules/mart/review.tsx +102 -0
  730. package/modules/mart/scanner.tsx +122 -0
  731. package/modules/mart/search.tsx +70 -0
  732. package/modules/mart/section_menu.tsx +46 -0
  733. package/modules/mart/section_title.tsx +32 -0
  734. package/modules/merchant/branch.tsx +70 -0
  735. package/modules/merchant/branch_add.tsx +275 -0
  736. package/modules/merchant/detail.tsx +64 -0
  737. package/modules/merchant/detail_coupon.tsx +115 -0
  738. package/modules/merchant/edit.tsx +271 -0
  739. package/modules/merchant/index.tsx +50 -0
  740. package/modules/merchant/info.tsx +107 -0
  741. package/modules/merchant/item.tsx +39 -0
  742. package/modules/merchant/list_coupon.tsx +74 -0
  743. package/modules/merchant/list_invoice.tsx +78 -0
  744. package/modules/merchant/list_transaksi.tsx +104 -0
  745. package/modules/merchant/menu.tsx +60 -0
  746. package/modules/merchant/registrasi.tsx +28 -0
  747. package/modules/merchant/registrasi1.tsx +118 -0
  748. package/modules/merchant/registrasi2.tsx +183 -0
  749. package/modules/merchant/registrasi3.tsx +113 -0
  750. package/modules/merchant/registrasi4.tsx +93 -0
  751. package/modules/merchant/registrasi5.tsx +136 -0
  752. package/modules/merchant/registrasi6.tsx +46 -0
  753. package/modules/merchant/registrasi6_item.tsx +36 -0
  754. package/modules/merchant/registrasi7.tsx +85 -0
  755. package/modules/merchant/registrasi_merch.tsx +257 -0
  756. package/modules/merchant/terms.tsx +53 -0
  757. package/modules/notification/community.tsx +112 -0
  758. package/modules/notification/dc.tsx +173 -0
  759. package/modules/notification/event.tsx +116 -0
  760. package/modules/notification/index.tsx +312 -0
  761. package/modules/notification/item.tsx +47 -0
  762. package/modules/notification/marketplace.tsx +175 -0
  763. package/modules/notification/mitra.tsx +177 -0
  764. package/modules/notification/translate.tsx +62 -0
  765. package/modules/partner/detail.tsx +50 -0
  766. package/modules/partner/list.tsx +59 -0
  767. package/modules/payment/cc.tsx +115 -0
  768. package/modules/payment/cc_detail.tsx +111 -0
  769. package/modules/payment/cc_edit.tsx +170 -0
  770. package/modules/payment/cc_item.tsx +45 -0
  771. package/modules/payment/cc_web.tsx +122 -0
  772. package/modules/payment/cv.tsx +126 -0
  773. package/modules/payment/event_invitation.tsx +261 -0
  774. package/modules/payment/failed.tsx +41 -0
  775. package/modules/payment/talent.tsx +263 -0
  776. package/modules/payment/ticket.tsx +625 -0
  777. package/modules/payment/ticket_multi.tsx +634 -0
  778. package/modules/pos/business.tsx +47 -0
  779. package/modules/pos/business_detail.tsx +205 -0
  780. package/modules/pos/business_edit.tsx +297 -0
  781. package/modules/pos/cashier.tsx +41 -0
  782. package/modules/pos/cashier_invoice_detail.tsx +175 -0
  783. package/modules/pos/cashier_invoice_item.tsx +63 -0
  784. package/modules/pos/cashier_invoice_list.tsx +102 -0
  785. package/modules/pos/cashier_list.tsx +84 -0
  786. package/modules/pos/cashier_report.tsx +158 -0
  787. package/modules/pos/cashier_report_detail.tsx +88 -0
  788. package/modules/pos/cashier_report_item.tsx +96 -0
  789. package/modules/pos/comingsoon.tsx +23 -0
  790. package/modules/pos/index.tsx +114 -0
  791. package/modules/pos/outlet_list.tsx +100 -0
  792. package/modules/pos/outlet_report.tsx +25 -0
  793. package/modules/pos/payment_detail.tsx +125 -0
  794. package/modules/pos/pricing.tsx +133 -0
  795. package/modules/pos/pricing_payment.tsx +195 -0
  796. package/modules/pos/register.tsx +412 -0
  797. package/modules/pos/register_business.tsx +333 -0
  798. package/modules/pos/transaction.tsx +338 -0
  799. package/modules/pos/transaction_detail.tsx +172 -0
  800. package/modules/pos/waiting_payment.tsx +61 -0
  801. package/modules/pos/web_login.tsx +108 -0
  802. package/modules/ppob/button.tsx +24 -0
  803. package/modules/ppob/empty.tsx +21 -0
  804. package/modules/ppob/header.tsx +35 -0
  805. package/modules/ppob/hit.ts +33 -0
  806. package/modules/ppob/main_item.tsx +61 -0
  807. package/modules/ppob/payment.tsx +238 -0
  808. package/modules/ppob/ppob_item.tsx +58 -0
  809. package/modules/ppob/topup.tsx +16 -0
  810. package/modules/ppob/transaction_detail.tsx +834 -0
  811. package/modules/product/detail.tsx +161 -0
  812. package/modules/product/list.tsx +74 -0
  813. package/modules/quotation/add.tsx +131 -0
  814. package/modules/quotation/add_disc.tsx +187 -0
  815. package/modules/quotation/cancellation.tsx +176 -0
  816. package/modules/quotation/detail.tsx +429 -0
  817. package/modules/quotation/extra_days.tsx +129 -0
  818. package/modules/quotation/extra_days_approval.tsx +124 -0
  819. package/modules/quotation/index.tsx +463 -0
  820. package/modules/quotation/invoice.tsx +188 -0
  821. package/modules/quotation/order.tsx +150 -0
  822. package/modules/quotation/order_detail.tsx +542 -0
  823. package/modules/quotation/order_need_review.tsx +85 -0
  824. package/modules/quotation/order_status.tsx +57 -0
  825. package/modules/quotation/reschedule.tsx +199 -0
  826. package/modules/quotation/reschedule_approval.tsx +143 -0
  827. package/modules/quotation/revision.tsx +224 -0
  828. package/modules/review/buyer.tsx +99 -0
  829. package/modules/review/detail.tsx +136 -0
  830. package/modules/review/index.tsx +207 -0
  831. package/modules/review/talent.tsx +77 -0
  832. package/modules/search/index.tsx +214 -0
  833. package/modules/search/item.tsx +55 -0
  834. package/modules/search/list.tsx +64 -0
  835. package/modules/search/list2.tsx +85 -0
  836. package/modules/staff/id_card.tsx +91 -0
  837. package/modules/staff/id_card2.tsx +84 -0
  838. package/modules/ticket/detail.tsx +814 -0
  839. package/modules/ticket/detail_payment.tsx +153 -0
  840. package/modules/ticket/detail_upgrade.tsx +164 -0
  841. package/modules/ticket/detail_upgrade_button.tsx +60 -0
  842. package/modules/ticket/detail_upgrade_payment.tsx +221 -0
  843. package/modules/ticket/detail_visitor.tsx +196 -0
  844. package/modules/ticket/detail_waiting.tsx +521 -0
  845. package/modules/ticket/item.tsx +118 -0
  846. package/modules/ticket/lottery.tsx +172 -0
  847. package/modules/ticket/order.tsx +324 -0
  848. package/modules/ticket/order_history.tsx +102 -0
  849. package/modules/ticket/order_status.tsx +66 -0
  850. package/modules/ticket/order_waiting.tsx +143 -0
  851. package/modules/ticket/reschedule.tsx +439 -0
  852. package/modules/ticket/reschedule2.tsx +176 -0
  853. package/modules/ticket/reschedule_list.tsx +85 -0
  854. package/modules/ticket/share_to.tsx +220 -0
  855. package/modules/ticket/share_to_detail.tsx +179 -0
  856. package/modules/tms/gate_in.tsx +147 -0
  857. package/modules/tms/gate_in_list.tsx +96 -0
  858. package/modules/topup/bank2.tsx +63 -0
  859. package/modules/topup/cc_payment.tsx +175 -0
  860. package/modules/topup/cc_payment_detail.tsx +100 -0
  861. package/modules/topup/detail.tsx +88 -0
  862. package/modules/topup/index.tsx +122 -0
  863. package/modules/topup/input.tsx +94 -0
  864. package/modules/topup/item.tsx +42 -0
  865. package/modules/topup/list.tsx +89 -0
  866. package/modules/topup/nominal.tsx +102 -0
  867. package/modules/topup/payment.tsx +150 -0
  868. package/modules/transfer/index.tsx +173 -0
  869. package/modules/transfer/input.tsx +181 -0
  870. package/modules/transfer/list.tsx +142 -0
  871. package/modules/use/dates.tsx +20 -0
  872. package/modules/use/keep.tsx +17 -0
  873. package/modules/use/location.ts +59 -0
  874. package/modules/use/notif.ts +32 -0
  875. package/modules/use/paginate.tsx +224 -0
  876. package/modules/use/secure_page.tsx +33 -0
  877. package/modules/use/smartnotif.ts +72 -0
  878. package/modules/use/test.ts +178 -0
  879. package/modules/user/bank.tsx +138 -0
  880. package/modules/user/bank_add.tsx +286 -0
  881. package/modules/user/bank_list.tsx +82 -0
  882. package/modules/user/bank_otp.tsx +141 -0
  883. package/modules/user/bbopay.ts +13 -0
  884. package/modules/user/block.tsx +128 -0
  885. package/modules/user/class.ts +142 -0
  886. package/modules/user/confirm.tsx +52 -0
  887. package/modules/user/confirm_with.tsx +45 -0
  888. package/modules/user/coupon.tsx +64 -0
  889. package/modules/user/coupon_detail.tsx +195 -0
  890. package/modules/user/delete.tsx +441 -0
  891. package/modules/user/detail_pin.tsx +78 -0
  892. package/modules/user/devices.tsx +260 -0
  893. package/modules/user/edit_phone.tsx +178 -0
  894. package/modules/user/edit_phone_forget.tsx +94 -0
  895. package/modules/user/edit_phone_identity.tsx +69 -0
  896. package/modules/user/edit_phone_otp.tsx +156 -0
  897. package/modules/user/force_login.tsx +198 -0
  898. package/modules/user/help.tsx +74 -0
  899. package/modules/user/hook.tsx +112 -0
  900. package/modules/user/index.tsx +113 -0
  901. package/modules/user/language.tsx +110 -0
  902. package/modules/user/language_list.tsx +106 -0
  903. package/modules/user/language_list_item.tsx +66 -0
  904. package/modules/user/language_setting.tsx +39 -0
  905. package/modules/user/loading.tsx +74 -0
  906. package/modules/user/location.tsx +57 -0
  907. package/modules/user/location_country.tsx +83 -0
  908. package/modules/user/location_country_server.tsx +84 -0
  909. package/modules/user/location_gps.tsx +175 -0
  910. package/modules/user/location_item.tsx +40 -0
  911. package/modules/user/login.tsx +346 -0
  912. package/modules/user/menu_bigbank.tsx +563 -0
  913. package/modules/user/notification_list.tsx +113 -0
  914. package/modules/user/order.tsx +22 -0
  915. package/modules/user/otp.tsx +224 -0
  916. package/modules/user/otp_method.tsx +90 -0
  917. package/modules/user/password.tsx +264 -0
  918. package/modules/user/phone_check.tsx +134 -0
  919. package/modules/user/pin.tsx +245 -0
  920. package/modules/user/pin_alert.tsx +27 -0
  921. package/modules/user/pin_forget.tsx +73 -0
  922. package/modules/user/popup.tsx +80 -0
  923. package/modules/user/profile.tsx +797 -0
  924. package/modules/user/profile_edit.tsx +472 -0
  925. package/modules/user/profile_item.tsx +38 -0
  926. package/modules/user/profile_tms_list.tsx +69 -0
  927. package/modules/user/register.tsx +36 -0
  928. package/modules/user/register_detail.tsx +288 -0
  929. package/modules/user/register_email.tsx +96 -0
  930. package/modules/user/register_name.tsx +400 -0
  931. package/modules/user/register_phone.tsx +131 -0
  932. package/modules/user/register_with.tsx +416 -0
  933. package/modules/user/register_with_v2.tsx +428 -0
  934. package/modules/user/reminder.tsx +72 -0
  935. package/modules/user/saldo_refund.tsx +80 -0
  936. package/modules/user/saldo_refund_history.tsx +97 -0
  937. package/modules/user/scan_turnstile.tsx +87 -0
  938. package/modules/user/top_up_wallet.tsx +211 -0
  939. package/modules/user/top_up_wallet_detail.tsx +115 -0
  940. package/modules/user/top_up_wallet_list.tsx +90 -0
  941. package/modules/user/transaction.tsx +111 -0
  942. package/modules/user/transaction_detail.tsx +150 -0
  943. package/modules/user/weblogin.tsx +118 -0
  944. package/modules/visitor/edit.tsx +127 -0
  945. package/modules/visitor/history.tsx +61 -0
  946. package/modules/visitor/history_item.tsx +96 -0
  947. package/modules/visitor/index.tsx +176 -0
  948. package/modules/visitor/input.tsx +285 -0
  949. package/modules/visitor/menu.tsx +24 -0
  950. package/modules/withdraw/index.tsx +123 -0
  951. package/modules/withdraw/input.tsx +225 -0
  952. package/modules/withdraw/list.tsx +37 -0
  953. package/modules/withdraw/nationality.tsx +49 -0
  954. package/modules/withdraw/refund.tsx +217 -0
  955. package/modules/withdraw/upgrade1.tsx +506 -0
  956. package/modules/withdraw/waiting.tsx +62 -0
  957. package/moveOrRenameModule.js +129 -0
  958. package/nodarkandroid.js +25 -0
  959. package/package.debug.json +122 -0
  960. package/package.json +1 -1
  961. package/package.live.json +118 -0
  962. package/tsconfig.json +25 -0
  963. package/version.js +32 -0
  964. package/fonts/Arial.ttf +0 -0
  965. package/fonts/ArialBold.ttf +0 -0
  966. package/fonts/DecoNumbers.ttf +0 -0
  967. package/fonts/MonoSpace.ttf +0 -0
  968. package/fonts/SFProText.ttf +0 -0
  969. package/fonts/digital.ttf +0 -0
  970. package/fonts/mono.ttf +0 -0
  971. package/id.json +0 -1858
  972. package/libs.json +0 -1
  973. package/publisher.js +0 -84
@@ -0,0 +1,600 @@
1
+ // withHooks
2
+ import { BigbangTransaction } from 'esoftplay/cache/bigbang/transaction/import';
3
+ import { LibCurl } from 'esoftplay/cache/lib/curl/import';
4
+ import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
5
+ import { LibIcon } from 'esoftplay/cache/lib/icon/import';
6
+ import { LibInput } from 'esoftplay/cache/lib/input/import';
7
+ import { LibKeyboard_avoid } from 'esoftplay/cache/lib/keyboard_avoid/import';
8
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
9
+ import { LibObject } from 'esoftplay/cache/lib/object/import';
10
+ import { LibProgress } from 'esoftplay/cache/lib/progress/import';
11
+ import { LibSlidingup } from 'esoftplay/cache/lib/slidingup/import';
12
+ import { LibStyle } from 'esoftplay/cache/lib/style/import';
13
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
14
+ import { LibUtils } from 'esoftplay/cache/lib/utils/import';
15
+ import { MarketButton } from 'esoftplay/cache/market/button/import';
16
+ import { MarketCheckout_item } from 'esoftplay/cache/market/checkout_item/import';
17
+ import { MarketHeader } from 'esoftplay/cache/market/header/import';
18
+ import { MarketInfo } from 'esoftplay/cache/market/info/import';
19
+ import { MarketInput_square } from 'esoftplay/cache/market/input_square/import';
20
+ import { MarketToggle } from 'esoftplay/cache/market/toggle/import';
21
+ import { UserClass } from 'esoftplay/cache/user/class/import';
22
+ import esp from 'esoftplay/esp';
23
+ import useGlobalState from 'esoftplay/global';
24
+ import useSafeState from 'esoftplay/state';
25
+
26
+ import React, { useEffect, useRef } from 'react';
27
+ import { ScrollView, Text, TouchableOpacity, View } from 'react-native';
28
+
29
+
30
+ export interface MarketCheckoutProps {
31
+
32
+ }
33
+ interface shippingCod {
34
+ cod: boolean,
35
+ cod_fee: number,
36
+ cod_fee_insurance: number
37
+ }
38
+ interface shippingInsurance {
39
+ insurance: boolean,
40
+ insurance_fee: number
41
+ }
42
+
43
+
44
+ const dropshipParam = useGlobalState({ name: '', phone: '' })
45
+
46
+
47
+ export default function m(props: MarketCheckoutProps): any {
48
+ const { data, url, cart_ids } = LibNavigation.getArgsAll(props)
49
+ const [checkoutData, setCheckoutData, getCheckoutData] = useSafeState(data)
50
+ const [address, setAddress, getAddress] = useSafeState(checkoutData.shipping_address)
51
+ const [dropship, setDropship, getDropship] = useSafeState(false)
52
+ const [disabledFromShipping, setdisabledFromShipping] = useSafeState(true)
53
+ let shippings = useRef<any>({}).current
54
+ const dropshipName = useRef<LibInput>(null)
55
+ const dropshipPhone = useRef<LibInput>(null)
56
+ const [shippingTotal, setShippingTotal, getShippingTotal] = useSafeState(0)
57
+ const [payMethod, setPayMethod, getPayMethod] = useSafeState<any>({ title: esp.lang("market/checkout", "select_pay_method"), method: '' })
58
+ const [shippingCod, setShippingCod, getShippingCod] = useSafeState<shippingCod>({ cod: false, cod_fee: 0, cod_fee_insurance: 0 })
59
+ const [shippingInsurance, setShippingInsurance, getShippingInsurance] = useSafeState<shippingInsurance>({ insurance: false, insurance_fee: 0 })
60
+ const [voucherUsed, setVoucherUsed, getVoucherUsed] = useSafeState<any>()
61
+
62
+ const [usePoint, setUsePoint, getUsePoint] = useSafeState(false)
63
+
64
+ const user = UserClass.state().useSelector((state: any) => state)
65
+ const donationInfo = useRef<LibSlidingup>(null)
66
+ const products = checkoutData.cart_data.map((item: any) => item.products)
67
+ const newData = Object.values(products).map((variant: any) => Object.values(variant))
68
+ const newDatas = newData.reduce((acc, val) => acc.concat(val), []).map((val: any) => Object.values(val))
69
+ const containPromo = newDatas.reduce((acc, val) => acc.concat(val), []).some((item: any) => item.promo_list_id > 0)
70
+ const [trxId] = useSafeState(BigbangTransaction().getTrxId())
71
+
72
+
73
+ useEffect(() => {
74
+ new LibCurl('shop/member_point_config', null,
75
+ (res, msg) => {
76
+
77
+ },
78
+ (msg) => {
79
+ LibProgress.hide()
80
+ // LibDialog.warning('Oops..!', msg)
81
+ }, 1)
82
+ }, [])
83
+
84
+ useEffect(() => {
85
+ LibProgress.show(esp.lang("market/checkout", "load_wait"))
86
+ new LibCurl(url, { cart_ids: cart_ids, address_id: address.id },
87
+ (res, msg) => {
88
+ setCheckoutData(res)
89
+ // setCartData(res.cart_data)
90
+ LibProgress.hide()
91
+ },
92
+ (msg) => {
93
+ LibProgress.hide()
94
+ LibDialog.warning(esp.lang("market/checkout", "load_failed"), msg?.message)
95
+ }, 1
96
+ )
97
+ }, [address])
98
+
99
+ useEffect(() => {
100
+ dropshipName.current?.setText('')
101
+ dropshipPhone.current?.setText('')
102
+ dropshipParam.set({ name: '', phone: '' })
103
+ }, [dropship])
104
+
105
+ useEffect(() => {
106
+ if (!shippingCod.cod && payMethod?.type == 6) {
107
+ setPayMethod({ title: esp.lang("market/checkout", "select_pay_method1"), method: '' })
108
+ }
109
+ }, [shippingCod])
110
+
111
+ function selectPayMethod() {
112
+ LibNavigation.navigateForResult("market/checkout_payment_method", { price: Number(data?.bill_total) + Number(getShippingTotal()) + Number(getShippingInsurance()?.insurance_fee), id: getPayMethod()?.id, fee: Number(getPayMethod()?.charge), codSupport: getShippingCod()?.cod, containPromo: containPromo }).then(setPayMethod)
113
+ }
114
+
115
+ function changeNotes(indexMerchant: number, indexProduct: number, notes: string) {
116
+ let data = LibObject.assign({}, getCheckoutData())()
117
+ let cartData = data?.cart_data?.[indexMerchant]
118
+
119
+ if (cartData.products[indexProduct][0]) {
120
+ cartData.products[indexProduct][0].notes = notes
121
+ data.cart_data[indexMerchant] = cartData
122
+ } else {
123
+ cartData.products[indexProduct][Object.keys(cartData.products[indexProduct])[0]].notes = notes
124
+ data.cart_data[indexMerchant] = cartData
125
+ }
126
+
127
+ let merchant = data.cart_data[indexMerchant]
128
+ let product: any = {}
129
+
130
+ if (merchant.products[indexProduct][0]) {
131
+ product = merchant.products[indexProduct][0]
132
+ } else {
133
+ product = merchant.products[indexProduct][Object.keys(cartData.products[indexProduct])[0]]
134
+ }
135
+ edit(product.cart_id, product.qty, product.notes, data)
136
+ }
137
+
138
+
139
+ function edit(cart_id: number, qty: number, notes: string, data?: any) {
140
+ new LibCurl('shop/product_cart_update', { id: cart_id, qty, notes },
141
+ (res, msg) => {
142
+ if (data) {
143
+ setCheckoutData(data)
144
+ }
145
+ },
146
+ (msg) => {
147
+ LibToastProperty.show(msg?.message)
148
+ }, 1
149
+ )
150
+ }
151
+
152
+ function doCheckout(pin?: string) {
153
+ let voucherIds = getVoucherUsed()?.voucher_selected?.map((it: any) => it.id)
154
+ if (getPayMethod().id == 2 && !pin) {
155
+ LibNavigation.navigateForResult("bigbang/payment_pin", undefined, 1132).then((p) => {
156
+ if (p) {
157
+ doCheckout(p)
158
+ }
159
+ })
160
+ return
161
+ }
162
+
163
+ const hasGosend = Object.values(shippings).some((x: any) => x.code == 'gosend')
164
+ if (hasGosend && getDropship()) {
165
+ LibDialog.info(esp.lang("market/checkout", "gosend_title"), esp.lang("market/checkout", "gosend_msg"))
166
+ return
167
+ }
168
+
169
+ if (getDropship()) {
170
+ if (dropshipName?.current?.getText().trim() == '') {
171
+ LibToastProperty.show(esp.lang("market/checkout", "empty_dropsip_name"))
172
+ return
173
+ }
174
+ if (dropshipPhone?.current?.getText().trim() == '') {
175
+ LibToastProperty.show(esp.lang("market/checkout", "empty_dropsip_phone"))
176
+ return
177
+ }
178
+ }
179
+
180
+ let _post: any = {
181
+ ...getPayMethod(),
182
+ cart_ids: cart_ids,
183
+ address_id: getAddress().id,
184
+ dropship_name: dropshipName?.current?.getText?.() || '',
185
+ dropship_phone: dropshipPhone?.current?.getText?.() || '',
186
+ shipping: JSON.stringify(Object.values(shippings)),
187
+ payment_id: getPayMethod().id,
188
+ pin: pin || '',
189
+ use_point: getUsePoint() == true ? 1 : 0,
190
+ trx_id: trxId,
191
+ // _DEBUG_: '1' // ini untuk testing biar tidak lolos saat checkout
192
+ }
193
+
194
+ if (getVoucherUsed()) {
195
+ _post['voucher_ids'] = JSON.stringify(voucherIds)
196
+ }
197
+
198
+ let total = getPayMethod()?.type == 6 ?
199
+ (usePoint ? (totalPayCod - displayPointCod) : totalPayCod)
200
+ :
201
+ (usePoint ? (totalPay - displayPoint) : totalPay)
202
+
203
+ LibNavigation.navigateForResult('bigbang/loading_page', {
204
+ isSecure: 1,
205
+ post: _post,
206
+ title: esp.lang("market/checkout", "paymenttokoBBO"),
207
+ url: 'shop/product_cart_order',
208
+ amount: total,
209
+ receive_name: "BBO",
210
+ receive_image: 'https://bbo.co.id/images/uploads/logo-bbo-tagline_1.png',
211
+ secureParam: 'shop/get_token',
212
+ send_name: user?.name,
213
+ send_image: user?.image,
214
+
215
+ }, 660).then((value) => {
216
+ LibNavigation.backToRoot()
217
+
218
+ if (payMethod?.id == 3) /* credit card */ {
219
+ LibNavigation.navigateForResult('payment/cc_web', {
220
+ ...value,
221
+ statusSuccess: [3]
222
+ }).then((res) => {
223
+ LibNavigation.push('market/order_detail_payment', {
224
+ ...res,
225
+ url: res?.url,
226
+ title: esp.lang("bigbang/loading_page", "success")
227
+ })
228
+ })
229
+ } else {
230
+ LibNavigation.push('market/order_detail_payment', {
231
+ ...value,
232
+ url: value?.url,
233
+ title: esp.lang("bigbang/loading_page", "success")
234
+ })
235
+ }
236
+ })
237
+
238
+ }
239
+
240
+ let discPrice = voucherUsed ? Number(voucherUsed?.voucher_amount?.voucher_cashback_total) + Number(voucherUsed?.voucher_amount?.voucher_discount_total) + Number(voucherUsed?.voucher_amount?.voucher_postage_total) : 0
241
+ let totalPayCod = Number(checkoutData?.bill_total) + Number(shippingTotal) + Number(payMethod?.charge || 0) + Number(shippingInsurance?.insurance ? shippingInsurance?.insurance_fee : 0) + Number(shippingInsurance?.insurance ? shippingCod?.cod_fee_insurance : shippingCod?.cod_fee) - discPrice
242
+ let totalPay = Number(checkoutData?.bill_total) + Number(shippingTotal) + Number(payMethod?.charge || 0) + Number(shippingInsurance.insurance ? shippingInsurance.insurance_fee : 0) - discPrice
243
+
244
+ let displayPointCod = Number(user?.point) > Number(totalPayCod) ? totalPayCod : user?.point
245
+ let displayPoint = Number(user?.point) > Number(totalPay) ? totalPay : user?.point
246
+
247
+ return (
248
+ <View style={styleId_ZcMJmd} >
249
+ <MarketHeader onlyBack title={esp.lang("market/checkout", "header_title")} />
250
+ <LibKeyboard_avoid style={styleId_ZcMJmd} >
251
+ <ScrollView showsVerticalScrollIndicator={false}>
252
+ {
253
+ (address?.address == "" || address?.is_valid == 0) &&
254
+ <MarketInfo mode="danger"
255
+ text={address?.address == "" ? esp.lang("market/checkout", "address_empty") : esp.lang("market/checkout", "address_invalid")}
256
+ disabled={false}
257
+ onPress={() => {
258
+ LibNavigation.navigateForResult("market/address", null, 3213).then((e) => { setAddress(e) })
259
+ }}
260
+ iconRight={"chevron-right"}
261
+ style={{ marginBottom: 3 }}
262
+ />
263
+ }
264
+ <View style={styleId_1BmnSr} />
265
+ <View style={styleId_Zj4EL6}>
266
+ <Text allowFontScaling={false} style={styleId_Z1BTNvU}>{esp.lang("market/checkout", "text_address")}</Text>
267
+ {
268
+ address && !Array.isArray(address) &&
269
+ <TouchableOpacity onPress={() => LibNavigation.navigateForResult("market/address", null, 3213).then((e) => { setAddress(e) })} >
270
+ <Text allowFontScaling={false} style={styleId_Z2jIMhh}>{esp.lang("market/checkout", "text_other_address")}</Text>
271
+ </TouchableOpacity>
272
+ }
273
+ </View>
274
+ {
275
+ address && !Array.isArray(address) &&
276
+ <>
277
+ <Text allowFontScaling={false} style={styleId_24Ez4n}>{address.name}</Text>
278
+ <Text allowFontScaling={false} style={styleId_Z1h7cw0}>{address?.recipient}</Text>
279
+ <Text allowFontScaling={false} style={styleId_Nc1n}>{address.address + '\n' + address.location_name + ", " + address?.zipcode + '\n' + address.phone}</Text>
280
+ </>
281
+ }
282
+
283
+ {
284
+ address && Array.isArray(address) &&
285
+ <TouchableOpacity activeOpacity={1} onPress={() => LibNavigation.navigateForResult("market/address", null, 3213).then((e) => { setAddress(e) })} style={styleId_Z2vNsd1}>
286
+ <Text allowFontScaling={false} style={styleId_1S6TkT}>{esp.lang("market/checkout", "text_add_address")}</Text>
287
+ <LibIcon name="chevron-right" style={styleId_1hgMHT} />
288
+ </TouchableOpacity>
289
+ }
290
+
291
+ {/* <View style={styleId_Z27zEN} /> */}
292
+
293
+ {/* item permerchant */}
294
+ {
295
+ checkoutData?.cart_data?.map?.((cart: any, idx: number) => (
296
+ <>
297
+ {/* {idx > 0 &&
298
+ <MarketSection_menu size="small" />
299
+ } */}
300
+ <MarketCheckout_item {...cart} key={idx}
301
+ onChageDisabled={(isValid) => {
302
+ setdisabledFromShipping(isValid)
303
+ }}
304
+ onChangeShipping={(id, data) => {
305
+ shippings[id] = data
306
+ let cod = Object.values(shippings).some((itm: any) => itm.cod == 0)
307
+ let cod_fee = Object.values(shippings).map((s: any) => s.cod_fee).reduce((acc, cur) => acc + Number(cur), 0)
308
+ let cod_fee_insurance = Object.values(shippings).map((s: any) => s.cod_fee_insurance).reduce((acc, cur) => acc + Number(cur), 0)
309
+ let insurance = Object.values(shippings).some((itm: any) => itm.insurance == 1)
310
+ let insurance_fee = Object.values(shippings).map((s: any) => s.insurance_fee).reduce((acc, cur) => acc + Number(cur), 0)
311
+
312
+ setShippingInsurance({ insurance: insurance, insurance_fee: insurance_fee })
313
+ setShippingCod({ cod: !cod, cod_fee: cod_fee, cod_fee_insurance: cod_fee_insurance })
314
+ setShippingTotal(Object.values(shippings).map((s: any) => s.price).reduce((acc, cur) => acc + Number(cur), 0))
315
+ }}
316
+ changeNotes={(i, c, q, n) => changeNotes(idx, i, n)}
317
+ />
318
+ </>
319
+ ))
320
+ }
321
+ {
322
+ payMethod?.id &&
323
+ <>
324
+ <View style={styleId_Z27zEN} />
325
+ <View style={styleId_1eAReB} >
326
+ <Text allowFontScaling={false} style={styleId_2TdeN}>{esp.lang("market/checkout", "payment_method")}</Text>
327
+ <TouchableOpacity onPress={() => selectPayMethod()} style={styleId_1hgMHT} >
328
+ <Text allowFontScaling={false} style={styleId_Z2jIMhh}>{esp.lang("market/checkout", "change_payment")}</Text>
329
+ </TouchableOpacity>
330
+ </View>
331
+ <Text allowFontScaling={false} style={styleId_ZtKfMs}>{(payMethod?.method || '') + payMethod?.title}</Text>
332
+ </>
333
+ ||
334
+ !disabledFromShipping &&
335
+ <MarketButton
336
+ buttonStyle={styleId_29iAqi}
337
+ colorBackground={(Array.isArray(address) || address?.address == "") ? "#fff" : LibStyle.colorPrimaryMarket}
338
+ textStyle={{ color: (Array.isArray(address) || address?.address == "") ? "#a5a5a5" : "#fff", fontSize: 14, fontFamily: 'ArialBold' }}
339
+ colorBorder={(Array.isArray(address) || address?.address == "") ? "#a5a5a5" : undefined}
340
+ onPress={() => {
341
+ if (!Array.isArray(address)) {
342
+ if (address?.address != "") {
343
+ selectPayMethod()
344
+ } else {
345
+ LibToastProperty.show(esp.lang("market/checkout", "address_empty1"), 2000)
346
+ }
347
+ } else {
348
+ LibToastProperty.show(esp.lang("market/checkout", "empty_pay_method1"))
349
+ }
350
+ }} text={Array.isArray(address) ? esp.lang("market/checkout", "empty_address") : address?.address == "" ? esp.lang("market/checkout", "full_address_empty") : esp.lang("market/checkout", "empty_pay_method")} />
351
+
352
+ }
353
+ <View style={{ marginTop: 10 }} />
354
+
355
+ <View style={styleId_Z27zEN} />
356
+
357
+ {/* Voucher */}
358
+ {
359
+ // esp.isDebug("") &&
360
+ <>
361
+ <TouchableOpacity onPress={() => {
362
+ if (payMethod?.id) {
363
+ let b: any = {};
364
+ for (let c in shippings) {
365
+ b[c] = shippings[c].courier_id
366
+ }
367
+ LibNavigation.navigateForResult('market/checkout_voucher', { shipping: shippings, address_id: address?.id, bill_total: checkoutData?.bill_total, url: checkoutData?.url_voucher, cart_ids: cart_ids, courier_ids: b, payment_id: payMethod.id, selectedVoucher: voucherUsed }).then((item) => {
368
+ setVoucherUsed(item)
369
+ })
370
+ } else {
371
+ LibToastProperty.show(esp.lang("market/checkout", "empty_pay_method2"))
372
+ }
373
+ }} style={{ flex: 1, borderRadius: 20, borderColor: LibStyle.colorBrown, borderWidth: 1, backgroundColor: '#fff', padding: 7, marginLeft: 25, marginRight: 25, margin: 15, flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }}>
374
+ {
375
+ voucherUsed ?
376
+ <>
377
+ <View style={styleId_ZcMJmd}>
378
+ <Text allowFontScaling={false} style={styleId_ZkCphl}>{esp.lang("market/checkout", "save_up_to", LibUtils.money(discPrice))}</Text>
379
+ <Text allowFontScaling={false} style={styleId_10l0ya}>{esp.lang("market/checkout", "voucher_used", voucherUsed?.voucher_selected?.length)}</Text>
380
+ </View>
381
+ <LibIcon name="chevron-right" />
382
+ </>
383
+ :
384
+ <>
385
+ <Text allowFontScaling={false} style={styleId_Z1ty7gM}>{esp.lang("market/checkout", "more_save")}</Text>
386
+ <LibIcon name="chevron-right" />
387
+ </>
388
+ }
389
+ </TouchableOpacity>
390
+
391
+ <View style={styleId_1BmnSr} />
392
+ </>
393
+ }
394
+
395
+ {/* bbo point */}
396
+ {
397
+ esp.isDebug("") && user?.point > 0 &&
398
+ <>
399
+ <View style={styleId_29Dfit}>
400
+ <View>
401
+ <Text allowFontScaling={false} style={styleId_Z1lr4rt}>{esp.lang("market/checkout", "use_point")}</Text>
402
+ <Text allowFontScaling={false} style={styleId_ZGyH7V}>{esp.lang("market/checkout", "total_poin", LibUtils.number(user?.point))}</Text>
403
+ </View>
404
+ <MarketToggle type="success" value={usePoint} onChangeValue={() => setUsePoint(usePoint == false ? true : false)} />
405
+ </View>
406
+
407
+ <View style={styleId_1BmnSr} />
408
+ </>
409
+ }
410
+
411
+ {/* Ringkasan Belanja */}
412
+ <Text allowFontScaling={false} style={styleId_ZU0vT6}>{esp.lang("market/checkout", "shop_summary")}</Text>
413
+ {
414
+ payMethod.type == 6 && shippingCod.cod &&
415
+ <View style={styleId_Zj4EL6}>
416
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "cod_fee")}</Text>
417
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{LibUtils.money(shippingInsurance.insurance ? shippingCod.cod_fee_insurance : shippingCod?.cod_fee)}</Text>
418
+ </View>
419
+ }
420
+
421
+ {
422
+ (checkoutData?.bill_discount_total && checkoutData?.bill_discount_total != 0) ?
423
+ <>
424
+ <View style={styleId_Zj4EL6}>
425
+ <Text allowFontScaling={false} style={styleId_17z0ot}>{esp.lang("market/checkout", "bill_full_total")}</Text>
426
+ <Text allowFontScaling={false} style={styleId_17z0ot}>{LibUtils.money(checkoutData?.bill_full_total)}</Text>
427
+ </View>
428
+ <View style={styleId_Zj4EL6}>
429
+ <Text allowFontScaling={false} style={styleId_3d9jg}>{esp.lang("market/checkout", "total_discount")}</Text>
430
+ <Text allowFontScaling={false} style={styleId_3d9jg}>-{LibUtils.money(checkoutData?.bill_discount_total)}</Text>
431
+ </View>
432
+ </>
433
+ : null
434
+ }
435
+
436
+ <View style={styleId_Zj4EL6}>
437
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "shop_total")}</Text>
438
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{LibUtils.money(checkoutData?.bill_total)}</Text>
439
+ </View>
440
+ <View style={styleId_Zj4EL6}>
441
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "shipping_total")}</Text>
442
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{LibUtils.money(shippingTotal)}</Text>
443
+ </View>
444
+ {
445
+ payMethod?.charge > 0 &&
446
+ <View style={styleId_Zj4EL6}>
447
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "pay_charge")}</Text>
448
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{LibUtils.money(payMethod?.charge)}</Text>
449
+ </View>
450
+ }
451
+
452
+ {
453
+ voucherUsed && Number(voucherUsed?.voucher_amount?.voucher_cashback_total) > 0 &&
454
+ <View style={styleId_Zj4EL6}>
455
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "vc_cashbank")}</Text>
456
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>- {LibUtils.money(voucherUsed?.voucher_amount?.voucher_cashback_total)}</Text>
457
+ </View>
458
+ }
459
+
460
+ {
461
+ voucherUsed && Number(voucherUsed?.voucher_amount?.voucher_discount_total) > 0 &&
462
+ <View style={styleId_Zj4EL6}>
463
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "vc_discount")}</Text>
464
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>- {LibUtils.money(voucherUsed?.voucher_amount?.voucher_discount_total)}</Text>
465
+ </View>
466
+ }
467
+ {
468
+ voucherUsed && Number(voucherUsed?.voucher_amount?.voucher_postage_total) > 0 &&
469
+ <View style={styleId_Zj4EL6}>
470
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "vc_free_shipping")}</Text>
471
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>- {LibUtils.money(voucherUsed?.voucher_amount?.voucher_postage_total)}</Text>
472
+ </View>
473
+ }
474
+ {
475
+ esp.isDebug("") && usePoint &&
476
+ <View style={styleId_Zj4EL6}>
477
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "bbo_point")}</Text>
478
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>- {LibUtils.number(payMethod.type == 6 ? displayPointCod : displayPoint)}</Text>
479
+ </View>
480
+ }
481
+ {
482
+ shippingInsurance?.insurance &&
483
+ <View style={styleId_1Npo05}>
484
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{esp.lang("market/checkout", "insurance_fee")}</Text>
485
+ <Text allowFontScaling={false} style={styleId_Z1CSQby}>{LibUtils.money(shippingInsurance?.insurance_fee)}</Text>
486
+ </View>
487
+ }
488
+
489
+ <View style={styleId_ZOXS44}>
490
+ <Text allowFontScaling={false} style={styleId_ZoBGJl}>{esp.lang("market/checkout", "bill_total")}</Text>
491
+ {
492
+ payMethod.type == 6 ?
493
+ <Text allowFontScaling={false} style={styleId_ZoBGJl}>{LibUtils.money(usePoint ? (totalPayCod - displayPointCod) : totalPayCod)}</Text>
494
+ :
495
+ <Text allowFontScaling={false} style={styleId_ZoBGJl}>{LibUtils.money(usePoint ? (totalPay - displayPoint) : totalPay)}</Text>
496
+ }
497
+ </View>
498
+ <View style={styleId_Z27zEN} />
499
+ <TouchableOpacity
500
+ onPress={() => setDropship(!dropship)}
501
+ style={styleId_Z32DMz} >
502
+ <Text allowFontScaling={false} style={styleId_112hMi}>{esp.lang("market/checkout", "dropship_checkbox")}</Text>
503
+ <LibIcon name={dropship ? 'checkbox-marked-outline' : 'checkbox-blank-outline'} />
504
+ </TouchableOpacity>
505
+ {
506
+ dropship &&
507
+ <>
508
+ <MarketInput_square
509
+ _ref={dropshipName}
510
+ containerStyle={styleId_2tpQSR}
511
+ placeholder={esp.lang("market/checkout", "dropship_name")}
512
+ onChangeText={(text) => dropshipParam.set(LibObject.set(dropshipParam.get(), text)('name'))} />
513
+ <MarketInput_square
514
+ _ref={dropshipPhone}
515
+ placeholder={esp.lang("market/checkout", "dropship_phone")}
516
+ mask={"#### #### #### ####"}
517
+ keyboardType='phone-pad'
518
+ maskFrom='start'
519
+ onChangeText={(text) => dropshipParam.set(LibObject.set(dropshipParam.get(), text)('phone'))} />
520
+ </>
521
+ }
522
+ <View style={styleId_Z27zEN} />
523
+
524
+ <View style={styleId_ZSLzu6}>
525
+ {
526
+ payMethod?.id && address?.id && !disabledFromShipping &&
527
+ <MarketButton
528
+ buttonStyle={{ borderRadius: 20 }}
529
+ textStyle={{ fontSize: 14, fontFamily: 'ArialBold' }}
530
+ onPress={() => {
531
+ doCheckout()
532
+ }} text={esp.lang("market/checkout", "btn_checkout")} />
533
+ }
534
+ {
535
+ disabledFromShipping && <Text allowFontScaling={false} style={styleId_ZJgW4V}>{esp.lang("market/checkout", "check_courier")}</Text>
536
+ }
537
+ </View>
538
+ </ScrollView>
539
+ <LibSlidingup ref={donationInfo}>
540
+ <View style={styleId_Z13bNlT}>
541
+ <View style={styleId_1fmvBo} >
542
+ <View style={styleId_ZcMJmd} />
543
+ <TouchableOpacity onPress={() => donationInfo.current!.hide()} >
544
+ <LibIcon name='close' size={26} />
545
+ </TouchableOpacity>
546
+ </View>
547
+ <View style={styleId_rjRjJ} >
548
+ <Text allowFontScaling={false} style={styleId_usDs2} >{'Donasi Rp5000 Bantu Pendidikan Adik Panti'}</Text>
549
+ <View style={styleId_tpSM1} >
550
+ <Text style={styleId_ZctPPv} >{'Bantu adik-adik panti dan prasejahtera untuk pelatihan bahasa inggris dan pelatihan keterampilan lainnya bersana aa.com'}</Text>
551
+ <LibIcon name='hand-heart' size={40} style={styleId_Zktt4p} />
552
+ </View>
553
+ </View>
554
+ </View>
555
+ </LibSlidingup>
556
+ </LibKeyboard_avoid>
557
+ </View>
558
+ )
559
+ }
560
+ const styleId_ZcMJmd: any = { flex: 1 }
561
+ const styleId_1BmnSr: any = { height: 8, flex: 1, backgroundColor: '#F5F5F5' }
562
+ const styleId_Zj4EL6: any = { marginTop: 15, marginLeft: 25, marginRight: 25, flexDirection: 'row', justifyContent: 'space-between' }
563
+ const styleId_Z1BTNvU: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }
564
+ const styleId_Z2jIMhh: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#724225" }
565
+ const styleId_24Ez4n: any = { marginTop: 15, marginLeft: 25, marginRight: 25, fontFamily: "Arial", fontSize: 11, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }
566
+ const styleId_Z1h7cw0: any = { marginTop: 5, marginLeft: 25, marginRight: 25, fontFamily: "Arial", fontSize: 11, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }
567
+ const styleId_Nc1n: any = { marginTop: 5, marginLeft: 25, marginRight: 25, fontFamily: "Arial", fontSize: 10, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }
568
+ const styleId_Z2vNsd1: any = { alignContent: 'center', alignItems: 'center', marginTop: 15, marginLeft: 25, marginRight: 25, flexDirection: 'row', justifyContent: 'space-between', height: 40, borderRadius: 18, backgroundColor: "#fff", borderStyle: "solid", borderWidth: 1, borderColor: "#a5a5a5" }
569
+ const styleId_1S6TkT: any = { marginLeft: 25, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#a5a5a5" }
570
+ const styleId_1hgMHT: any = { marginRight: 20 }
571
+ const styleId_Z27zEN: any = { marginTop: 15, height: 8, flex: 1, backgroundColor: '#F5F5F5' }
572
+ const styleId_1eAReB: any = { flexDirection: 'row', alignItems: 'center', marginTop: 20 }
573
+ const styleId_2TdeN: any = { marginLeft: 25, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a", flex: 1 }
574
+ const styleId_ZtKfMs: any = { marginLeft: 25, marginTop: 10, fontFamily: "Arial", fontSize: 17, fontWeight: "bold", fontStyle: "normal", lineHeight: 20, letterSpacing: 0, textAlign: "left", color: LibStyle.colorBrown }
575
+ const styleId_29iAqi: any = { marginHorizontal: 20, marginTop: 20, borderRadius: 20 }
576
+ const styleId_ZkCphl: any = { marginLeft: 15, flex: 1, flexWrap: 'wrap', fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#724225" }
577
+ const styleId_10l0ya: any = { flex: 1, marginLeft: 15, marginTop: 3, fontFamily: "Arial", fontSize: 10, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#a5a5a5" }
578
+ const styleId_Z1ty7gM: any = { marginLeft: 15, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }
579
+ const styleId_29Dfit: any = { flex: 1, backgroundColor: '#fff', padding: 7, marginTop: 7, marginBottom: 7, paddingLeft: 25, paddingRight: 25, flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }
580
+ const styleId_Z1lr4rt: any = { fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", lineHeight: 15, letterSpacing: 0, textAlign: "left", color: "#03192a" }
581
+ const styleId_ZGyH7V: any = { marginTop: 4, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }
582
+ const styleId_ZU0vT6: any = { marginLeft: 25, marginTop: 20, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }
583
+ const styleId_Z1CSQby: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }
584
+ const styleId_17z0ot: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }
585
+ const styleId_3d9jg: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#28a745" }
586
+ const styleId_1Npo05: any = { marginTop: 15, marginLeft: 25, marginRight: 25, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }
587
+ const styleId_ZOXS44: any = { marginTop: 25, marginLeft: 25, marginRight: 25, flexDirection: 'row', justifyContent: 'space-between' }
588
+ const styleId_ZoBGJl: any = { fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", lineHeight: 15, letterSpacing: 0, textAlign: "left", color: "#000" }
589
+ const styleId_Z32DMz: any = { flexDirection: 'row', marginHorizontal: 20, marginTop: 20, alignItems: 'center' }
590
+ const styleId_112hMi: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a", flex: 1 }
591
+ const styleId_2tpQSR: any = { marginTop: 20 }
592
+ const styleId_ZSLzu6: any = { marginLeft: 20, marginRight: 20, marginTop: 15, marginBottom: 10 }
593
+ const styleId_ZJgW4V: any = { fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "center", color: LibStyle.colorRed }
594
+ const styleId_Z13bNlT: any = { backgroundColor: 'white', paddingHorizontal: 20, paddingVertical: 10, borderTopLeftRadius: 15, borderTopRightRadius: 15 }
595
+ const styleId_1fmvBo: any = { flexDirection: 'row', alignItems: 'center' }
596
+ const styleId_rjRjJ: any = { marginBottom: 20, marginTop: 10 }
597
+ const styleId_usDs2: any = { fontFamily: 'Arial', fontSize: 18, fontWeight: 'bold' }
598
+ const styleId_tpSM1: any = { flexDirection: 'row', marginTop: 15 }
599
+ const styleId_ZctPPv: any = { flex: 1, fontFamily: 'Arial', fontSize: 16, lineHeight: 22 }
600
+ const styleId_Zktt4p: any = { marginLeft: 20 }