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.
- package/.vscode/settings.json +5 -0
- package/App.tsx +12 -0
- package/GoogleService-Info.dc.plist +38 -0
- package/GoogleService-Info.debug.dc.plist +38 -0
- package/GoogleService-Info.debug.plist +75 -0
- package/GoogleService-Info.live.dc.plist +38 -0
- package/GoogleService-Info.live.plist +38 -0
- package/GoogleService-Info.plist +75 -0
- package/_templates/component/curl_page.tsx +64 -0
- package/_templates/component/slider2.tsx +47 -0
- package/_templates/event/artist_detail.tsx +164 -0
- package/_templates/event/artist_list.tsx +212 -0
- package/_templates/event/detail.tsx +336 -0
- package/_templates/event/seat_map.tsx +24 -0
- package/_templates/event/ticket_list.tsx +759 -0
- package/_templates/payment/event.tsx +52 -0
- package/_templates/payment/event_invitation.tsx +201 -0
- package/_templates/payment/list.tsx +425 -0
- package/_templates/payment/summary.tsx +142 -0
- package/_templates/tms/dashboard.tsx +256 -0
- package/_templates/tms/menu.tsx +93 -0
- package/_templates/user/login2.tsx +257 -0
- package/_templates/user/profile.tsx +740 -0
- package/_templates/user/profile_tms_list.tsx +71 -0
- package/app.debug.json +137 -0
- package/app.json +147 -0
- package/app.live.json +128 -0
- package/babel.config.js +10 -0
- package/check.mjs +38 -0
- package/checkOutsideModule.js +41 -0
- package/code-signing/certificate.pem +18 -0
- package/config.debug.json +111 -0
- package/config.debug.v1.json +104 -0
- package/config.debug.v2.json +104 -0
- package/config.live.json +104 -0
- package/config.v1.json +104 -0
- package/config.v2.json +104 -0
- package/convertImport.js +53 -0
- package/cpToBboEvent.js +57 -0
- package/eas.json +40 -0
- package/fcm_icon.js +55 -0
- package/find_missing_lang.mjs +47 -0
- package/find_string.mjs +44 -0
- package/heapsize.js +20 -0
- package/index.js +8 -2
- package/metro.config.js +4 -0
- package/modules/artist/detail.tsx +522 -0
- package/modules/artist/detail_multi.tsx +549 -0
- package/modules/artist/list.tsx +166 -0
- package/modules/bbo/config.ts +25 -0
- package/modules/bbo/index.tsx +202 -0
- package/modules/bbo/main.tsx +410 -0
- package/modules/bigbang/bbopay.tsx +73 -0
- package/modules/bigbang/card.tsx +214 -0
- package/modules/bigbang/card_history.tsx +63 -0
- package/modules/bigbang/cat_item.tsx +26 -0
- package/modules/bigbang/check_code.tsx +161 -0
- package/modules/bigbang/check_ticket.tsx +73 -0
- package/modules/bigbang/check_ticket_result.tsx +384 -0
- package/modules/bigbang/com_item.tsx +47 -0
- package/modules/bigbang/config.tsx +16 -0
- package/modules/bigbang/contact.tsx +140 -0
- package/modules/bigbang/dependents.tsx +130 -0
- package/modules/bigbang/dummy_page.tsx +48 -0
- package/modules/bigbang/event.tsx +421 -0
- package/modules/bigbang/event_item.tsx +43 -0
- package/modules/bigbang/faq.tsx +115 -0
- package/modules/bigbang/faq_detail.tsx +69 -0
- package/modules/bigbang/faq_list.tsx +72 -0
- package/modules/bigbang/gate.tsx +96 -0
- package/modules/bigbang/gate_info.tsx +639 -0
- package/modules/bigbang/gate_result.tsx +80 -0
- package/modules/bigbang/index.tsx +202 -0
- package/modules/bigbang/input_code.tsx +136 -0
- package/modules/bigbang/loading_page.tsx +246 -0
- package/modules/bigbang/loading_page_list.tsx +121 -0
- package/modules/bigbang/loading_pagefooter.tsx +25 -0
- package/modules/bigbang/main.tsx +506 -0
- package/modules/bigbang/menu_item.tsx +26 -0
- package/modules/bigbang/notif_index.tsx +72 -0
- package/modules/bigbang/payment.tsx +465 -0
- package/modules/bigbang/payment_detail.tsx +291 -0
- package/modules/bigbang/payment_detail_multi.tsx +343 -0
- package/modules/bigbang/payment_item.tsx +62 -0
- package/modules/bigbang/payment_list.tsx +706 -0
- package/modules/bigbang/payment_pin.tsx +109 -0
- package/modules/bigbang/product_item.tsx +51 -0
- package/modules/bigbang/product_item2.tsx +65 -0
- package/modules/bigbang/question.tsx +64 -0
- package/modules/bigbang/schedule_item.tsx +75 -0
- package/modules/bigbang/schedule_item2.tsx +77 -0
- package/modules/bigbang/shopping_cart.tsx +104 -0
- package/modules/bigbang/shopping_cart2.tsx +79 -0
- package/modules/bigbang/terms.tsx +112 -0
- package/modules/bigbang/test.tsx +38 -0
- package/modules/bigbang/test2.tsx +22 -0
- package/modules/bigbang/transaction.ts +34 -0
- package/modules/bill/detail.tsx +147 -0
- package/modules/bill/index.tsx +171 -0
- package/modules/cache/hit.ts +32 -0
- package/modules/cache/location.tsx +22 -0
- package/modules/cashier/coupon_transaksi_detail.tsx +76 -0
- package/modules/cashier/data.tsx +34 -0
- package/modules/cashier/index.tsx +166 -0
- package/modules/cashier/invoice.tsx +228 -0
- package/modules/cashier/invoice_detail.tsx +105 -0
- package/modules/cashier/invoice_item.tsx +81 -0
- package/modules/cashier/invoice_list.tsx +154 -0
- package/modules/cashier/invoice_list_transaction.tsx +100 -0
- package/modules/cashier/list.tsx +259 -0
- package/modules/cashier/list_coupon.tsx +382 -0
- package/modules/cashier/list_coupon_transaksi.tsx +101 -0
- package/modules/cashier/list_queue.tsx +299 -0
- package/modules/cashier/list_queue_item.tsx +92 -0
- package/modules/cashier/list_queue_item_countdown.tsx +81 -0
- package/modules/cashier/product.tsx +52 -0
- package/modules/cashier/product_item.tsx +34 -0
- package/modules/cashier/qr.tsx +268 -0
- package/modules/cashier/report.tsx +199 -0
- package/modules/cashier/report_coupon.tsx +85 -0
- package/modules/cashier/report_detail.tsx +127 -0
- package/modules/cashier/report_item.tsx +88 -0
- package/modules/chat/chat.tsx +323 -0
- package/modules/chat/chat_item.tsx +430 -0
- package/modules/chat/detail_user.tsx +80 -0
- package/modules/chat/index.tsx +70 -0
- package/modules/chat/item.tsx +56 -0
- package/modules/chat/loading.tsx +82 -0
- package/modules/chat/menu.tsx +23 -0
- package/modules/community/achievement.tsx +195 -0
- package/modules/community/banned.tsx +64 -0
- package/modules/community/category.tsx +71 -0
- package/modules/community/category_other.tsx +99 -0
- package/modules/community/config.tsx +17 -0
- package/modules/community/delete.tsx +305 -0
- package/modules/community/discuss.tsx +559 -0
- package/modules/community/edit_event_organizer.tsx +288 -0
- package/modules/community/edit_influencer.tsx +338 -0
- package/modules/community/edit_job.tsx +1115 -0
- package/modules/community/edit_talent.tsx +374 -0
- package/modules/community/education.tsx +339 -0
- package/modules/community/education_list.tsx +100 -0
- package/modules/community/education_majors.tsx +49 -0
- package/modules/community/eo_category.tsx +201 -0
- package/modules/community/eo_category_edit.tsx +133 -0
- package/modules/community/event_organizer.tsx +472 -0
- package/modules/community/exclude_job.tsx +81 -0
- package/modules/community/experience.tsx +349 -0
- package/modules/community/form.tsx +36 -0
- package/modules/community/index.tsx +190 -0
- package/modules/community/index_job_available.tsx +52 -0
- package/modules/community/influencer.tsx +654 -0
- package/modules/community/influencer_image_edit.tsx +150 -0
- package/modules/community/item.tsx +84 -0
- package/modules/community/job_available.tsx +180 -0
- package/modules/community/job_available_aplicant.tsx +243 -0
- package/modules/community/job_available_aplicant_item.tsx +108 -0
- package/modules/community/job_available_applicant_profile.tsx +515 -0
- package/modules/community/job_available_edit_job.tsx +343 -0
- package/modules/community/job_available_edit_tender.tsx +486 -0
- package/modules/community/job_available_employer.tsx +139 -0
- package/modules/community/job_available_employer_edit.tsx +300 -0
- package/modules/community/job_available_item.tsx +169 -0
- package/modules/community/job_available_item_detail.tsx +278 -0
- package/modules/community/job_seeker.tsx +628 -0
- package/modules/community/language.tsx +47 -0
- package/modules/community/location.tsx +88 -0
- package/modules/community/notice.tsx +38 -0
- package/modules/community/order.tsx +145 -0
- package/modules/community/other.tsx +77 -0
- package/modules/community/package_item.tsx +118 -0
- package/modules/community/post_job.tsx +279 -0
- package/modules/community/post_job_basic.tsx +611 -0
- package/modules/community/post_job_basic_date.tsx +44 -0
- package/modules/community/post_job_employer.tsx +137 -0
- package/modules/community/post_tender.tsx +456 -0
- package/modules/community/post_tender_contract.tsx +377 -0
- package/modules/community/profession.tsx +66 -0
- package/modules/community/registrasi_eo.tsx +594 -0
- package/modules/community/registrasi_influencer.tsx +623 -0
- package/modules/community/registrasi_job_seeker.tsx +1043 -0
- package/modules/community/registrasi_talent.tsx +461 -0
- package/modules/community/review_form.tsx +90 -0
- package/modules/community/review_item.tsx +73 -0
- package/modules/community/reviewing.tsx +89 -0
- package/modules/community/seeking_job.tsx +312 -0
- package/modules/community/special_other.tsx +122 -0
- package/modules/community/special_role_industri_position.tsx +148 -0
- package/modules/community/talent.tsx +506 -0
- package/modules/community/talent_images.tsx +186 -0
- package/modules/community/talent_skill.tsx +285 -0
- package/modules/community/talent_skill_edit.tsx +369 -0
- package/modules/community/talent_skill_item.tsx +103 -0
- package/modules/complaint/detail.tsx +341 -0
- package/modules/complaint/index.tsx +309 -0
- package/modules/component/accept.tsx +43 -0
- package/modules/component/alert.tsx +33 -0
- package/modules/component/avatar.tsx +22 -0
- package/modules/component/badge.tsx +19 -0
- package/modules/component/badge2.tsx +20 -0
- package/modules/component/blocked.tsx +41 -0
- package/modules/component/button.tsx +37 -0
- package/modules/component/calendar.tsx +151 -0
- package/modules/component/camera.debug.tsx +187 -0
- package/modules/component/camera.live.tsx +214 -0
- package/modules/component/camera.tsx +187 -0
- package/modules/component/camera_error_view.tsx +35 -0
- package/modules/component/cancellation.tsx +71 -0
- package/modules/component/card.tsx +61 -0
- package/modules/component/cart_item.tsx +24 -0
- package/modules/component/circle.tsx +27 -0
- package/modules/component/circural_progress.tsx +52 -0
- package/modules/component/countdownbig.tsx +27 -0
- package/modules/component/coupon.tsx +70 -0
- package/modules/component/dialog_custom.tsx +40 -0
- package/modules/component/dialog_otp.tsx +79 -0
- package/modules/component/fab.tsx +25 -0
- package/modules/component/failed.tsx +42 -0
- package/modules/component/footer.tsx +20 -0
- package/modules/component/footer_nav.tsx +28 -0
- package/modules/component/force_sync.tsx +47 -0
- package/modules/component/gender.tsx +44 -0
- package/modules/component/header.tsx +131 -0
- package/modules/component/header2.tsx +68 -0
- package/modules/component/header_chat.tsx +68 -0
- package/modules/component/header_home.tsx +133 -0
- package/modules/component/identity_input.tsx +180 -0
- package/modules/component/input.tsx +36 -0
- package/modules/component/input_circle_icon.tsx +206 -0
- package/modules/component/input_rectangle_icon.tsx +203 -0
- package/modules/component/input_rectangle_icon_right.tsx +203 -0
- package/modules/component/input_rectangle_touchable.tsx +40 -0
- package/modules/component/job_available_switcher.tsx +37 -0
- package/modules/component/keyboard_numeric.tsx +42 -0
- package/modules/component/label_input.tsx +21 -0
- package/modules/component/label_input2.tsx +34 -0
- package/modules/component/map.tsx +132 -0
- package/modules/component/message.tsx +30 -0
- package/modules/component/modal.tsx +85 -0
- package/modules/component/multi_select.tsx +85 -0
- package/modules/component/nav_tab.tsx +28 -0
- package/modules/component/new_chat.tsx +65 -0
- package/modules/component/new_chat_chat.tsx +678 -0
- package/modules/component/new_chat_item.tsx +88 -0
- package/modules/component/numberPicker.tsx +39 -0
- package/modules/component/number_picker.tsx +55 -0
- package/modules/component/otp.tsx +89 -0
- package/modules/component/payment_cc.tsx +325 -0
- package/modules/component/pending_trx.tsx +50 -0
- package/modules/component/popup.tsx +30 -0
- package/modules/component/progress_bar.tsx +28 -0
- package/modules/component/qr_bg.tsx +24 -0
- package/modules/component/qr_user.tsx +47 -0
- package/modules/component/rating.tsx +51 -0
- package/modules/component/rating_mini.tsx +32 -0
- package/modules/component/rating_new.tsx +51 -0
- package/modules/component/refresh_button.tsx +40 -0
- package/modules/component/register_container.tsx +128 -0
- package/modules/component/scanner.tsx +271 -0
- package/modules/component/scannerv2.tsx +132 -0
- package/modules/component/section.tsx +33 -0
- package/modules/component/section_notif.tsx +21 -0
- package/modules/component/select.tsx +51 -0
- package/modules/component/slider.tsx +45 -0
- package/modules/component/slidingup.tsx +85 -0
- package/modules/component/step.tsx +29 -0
- package/modules/component/tabheader.tsx +48 -0
- package/modules/component/text.tsx +122 -0
- package/modules/component/touchable.tsx +20 -0
- package/modules/component/translate.tsx +50 -0
- package/modules/components/header.tsx +38 -0
- package/modules/components/header_home.tsx +77 -0
- package/modules/components/section.tsx +33 -0
- package/modules/content/detail.tsx +201 -0
- package/modules/content/item.tsx +52 -0
- package/modules/content/list.tsx +58 -0
- package/modules/deals/brand_detail.tsx +144 -0
- package/modules/deals/brand_item.tsx +28 -0
- package/modules/deals/category_item.tsx +37 -0
- package/modules/deals/checkout.tsx +177 -0
- package/modules/deals/checkout_payment_method.tsx +87 -0
- package/modules/deals/detail.tsx +339 -0
- package/modules/deals/expander.tsx +38 -0
- package/modules/deals/header.tsx +71 -0
- package/modules/deals/home.tsx +261 -0
- package/modules/deals/item.tsx +55 -0
- package/modules/deals/list.tsx +158 -0
- package/modules/deals/list_filter.tsx +125 -0
- package/modules/deals/location.tsx +69 -0
- package/modules/deals/location_current.tsx +16 -0
- package/modules/deals/option.tsx +81 -0
- package/modules/deals/order.tsx +166 -0
- package/modules/deals/order_detail.tsx +297 -0
- package/modules/deals/order_item.tsx +91 -0
- package/modules/deals/search.tsx +60 -0
- package/modules/deals/section.tsx +33 -0
- package/modules/event/additional.tsx +188 -0
- package/modules/event/additional_input.tsx +316 -0
- package/modules/event/alert.tsx +32 -0
- package/modules/event/artist.tsx +165 -0
- package/modules/event/artist_detail.tsx +521 -0
- package/modules/event/artist_detail_multi.tsx +548 -0
- package/modules/event/badge.tsx +22 -0
- package/modules/event/block.tsx +56 -0
- package/modules/event/block_invitation.tsx +48 -0
- package/modules/event/button.tsx +40 -0
- package/modules/event/capture.tsx +39 -0
- package/modules/event/config.ts +25 -0
- package/modules/event/countdown.tsx +72 -0
- package/modules/event/countdown_base.tsx +83 -0
- package/modules/event/counter_cashier.tsx +180 -0
- package/modules/event/counter_cashier_report.tsx +114 -0
- package/modules/event/counter_cashier_sell.tsx +135 -0
- package/modules/event/counter_eo.tsx +451 -0
- package/modules/event/counter_history.tsx +74 -0
- package/modules/event/counter_history_item.tsx +48 -0
- package/modules/event/counter_info.tsx +96 -0
- package/modules/event/counter_lm.tsx +273 -0
- package/modules/event/counter_menu.tsx +85 -0
- package/modules/event/counter_report.tsx +105 -0
- package/modules/event/counter_report_breakdown.tsx +93 -0
- package/modules/event/counter_report_detail.tsx +238 -0
- package/modules/event/counter_report_detail_list.tsx +56 -0
- package/modules/event/counter_request.tsx +136 -0
- package/modules/event/counter_request_detail.tsx +211 -0
- package/modules/event/counter_section.tsx +32 -0
- package/modules/event/counter_send.tsx +277 -0
- package/modules/event/counter_status.tsx +32 -0
- package/modules/event/counter_type.tsx +23 -0
- package/modules/event/counter_user_list.tsx +197 -0
- package/modules/event/counter_user_list_item.tsx +143 -0
- package/modules/event/coupon.tsx +124 -0
- package/modules/event/coupon_claim.tsx +198 -0
- package/modules/event/coupon_claim_detail.tsx +176 -0
- package/modules/event/coupon_claim_history.tsx +279 -0
- package/modules/event/coupon_claim_reimburse.tsx +110 -0
- package/modules/event/coupon_claim_reimburse_history.tsx +71 -0
- package/modules/event/coupon_claim_reimburse_history_detail.tsx +117 -0
- package/modules/event/coupon_claim_staff.tsx +256 -0
- package/modules/event/coupon_detail.tsx +98 -0
- package/modules/event/coupon_event_list.tsx +77 -0
- package/modules/event/coupon_generate.tsx +258 -0
- package/modules/event/coupon_generate_event.tsx +79 -0
- package/modules/event/coupon_generate_list.tsx +56 -0
- package/modules/event/date_picker.tsx +152 -0
- package/modules/event/detail.tsx +348 -0
- package/modules/event/distribution_lock.ts +18 -0
- package/modules/event/entrance.tsx +215 -0
- package/modules/event/entrance_again.tsx +199 -0
- package/modules/event/entrance_failed.tsx +190 -0
- package/modules/event/entrance_idcard.tsx +199 -0
- package/modules/event/entrance_list.tsx +264 -0
- package/modules/event/entrance_list_item.tsx +88 -0
- package/modules/event/entrance_log.tsx +130 -0
- package/modules/event/entrance_success.tsx +153 -0
- package/modules/event/entrance_warning.tsx +91 -0
- package/modules/event/exchange_reward.tsx +31 -0
- package/modules/event/exchange_reward_result.tsx +136 -0
- package/modules/event/exchange_ticket.tsx +233 -0
- package/modules/event/exchange_ticket_list.tsx +201 -0
- package/modules/event/exchange_ticket_result.tsx +210 -0
- package/modules/event/exit.tsx +91 -0
- package/modules/event/exit_failed.tsx +135 -0
- package/modules/event/exit_list.tsx +118 -0
- package/modules/event/exit_log.tsx +130 -0
- package/modules/event/exit_success.tsx +143 -0
- package/modules/event/exit_temporary.tsx +226 -0
- package/modules/event/expander.tsx +36 -0
- package/modules/event/fab.tsx +24 -0
- package/modules/event/firebase_socket.debug.ts +261 -0
- package/modules/event/firebase_socket.live.ts +337 -0
- package/modules/event/firebase_socket.ts +261 -0
- package/modules/event/hall_in.tsx +148 -0
- package/modules/event/hall_in_failed.tsx +270 -0
- package/modules/event/hall_in_list.tsx +222 -0
- package/modules/event/hall_in_log.tsx +134 -0
- package/modules/event/hall_in_success.tsx +132 -0
- package/modules/event/hall_out.tsx +143 -0
- package/modules/event/hall_out_failed.tsx +133 -0
- package/modules/event/hall_out_list.tsx +215 -0
- package/modules/event/hall_out_log.tsx +133 -0
- package/modules/event/hall_out_success.tsx +130 -0
- package/modules/event/header.tsx +131 -0
- package/modules/event/header_home.tsx +104 -0
- package/modules/event/htmltext.tsx +61 -0
- package/modules/event/index.tsx +302 -0
- package/modules/event/input_rectangle.tsx +208 -0
- package/modules/event/item.tsx +39 -0
- package/modules/event/label_input.tsx +23 -0
- package/modules/event/list.tsx +218 -0
- package/modules/event/list_filter.tsx +123 -0
- package/modules/event/list_item.tsx +76 -0
- package/modules/event/list_item2.tsx +78 -0
- package/modules/event/loading_page.tsx +248 -0
- package/modules/event/log.tsx +433 -0
- package/modules/event/message.tsx +32 -0
- package/modules/event/notice.tsx +41 -0
- package/modules/event/order.tsx +323 -0
- package/modules/event/order_detail.tsx +813 -0
- package/modules/event/order_detail_payment.tsx +153 -0
- package/modules/event/order_detail_upgrade.tsx +202 -0
- package/modules/event/order_detail_upgrade_button.tsx +59 -0
- package/modules/event/order_detail_upgrade_payment.tsx +223 -0
- package/modules/event/order_detail_visitor.tsx +196 -0
- package/modules/event/order_detail_waiting.tsx +538 -0
- package/modules/event/order_history.tsx +101 -0
- package/modules/event/order_item.tsx +118 -0
- package/modules/event/order_lottery.tsx +172 -0
- package/modules/event/order_reschedule.tsx +439 -0
- package/modules/event/order_reschedule_list.tsx +85 -0
- package/modules/event/order_share_to.tsx +219 -0
- package/modules/event/order_share_to_detail.tsx +181 -0
- package/modules/event/order_status.tsx +66 -0
- package/modules/event/order_waiting.tsx +142 -0
- package/modules/event/pending_trx.tsx +50 -0
- package/modules/event/popup.tsx +82 -0
- package/modules/event/qc_idcard.tsx +209 -0
- package/modules/event/qc_idcard_failed.tsx +78 -0
- package/modules/event/qc_idcard_success.tsx +68 -0
- package/modules/event/qr_bg.tsx +22 -0
- package/modules/event/queue_out.tsx +186 -0
- package/modules/event/queue_pricing.tsx +141 -0
- package/modules/event/randomseat.tsx +33 -0
- package/modules/event/rating.tsx +49 -0
- package/modules/event/rating_mini.tsx +35 -0
- package/modules/event/refresh_button.tsx +40 -0
- package/modules/event/review.tsx +117 -0
- package/modules/event/review_add.tsx +342 -0
- package/modules/event/review_detail.tsx +67 -0
- package/modules/event/review_item.tsx +76 -0
- package/modules/event/scan_item.tsx +66 -0
- package/modules/event/schedule.tsx +134 -0
- package/modules/event/seat.tsx +627 -0
- package/modules/event/seat_autopick.tsx +120 -0
- package/modules/event/seat_map.tsx +408 -0
- package/modules/event/seat_map_matrix.tsx +94 -0
- package/modules/event/seat_map_test.tsx +401 -0
- package/modules/event/section.tsx +35 -0
- package/modules/event/section_menu.tsx +40 -0
- package/modules/event/secure_page.tsx +33 -0
- package/modules/event/share.ts +20 -0
- package/modules/event/sheet.tsx +74 -0
- package/modules/event/slider.tsx +46 -0
- package/modules/event/slidingup.tsx +37 -0
- package/modules/event/step.tsx +29 -0
- package/modules/event/tap.tsx +30 -0
- package/modules/event/ticket_list.tsx +721 -0
- package/modules/event/ticket_list2.tsx +678 -0
- package/modules/event/timer.tsx +58 -0
- package/modules/event/tms.tsx +103 -0
- package/modules/event/tms_add.tsx +93 -0
- package/modules/event/tms_add_result.tsx +175 -0
- package/modules/event/tms_check_code.tsx +160 -0
- package/modules/event/tms_check_ticket.tsx +72 -0
- package/modules/event/tms_check_ticket_result.tsx +384 -0
- package/modules/event/tms_dashboard.tsx +89 -0
- package/modules/event/tms_event_list.tsx +69 -0
- package/modules/event/tms_gate.tsx +96 -0
- package/modules/event/tms_gate_result.tsx +80 -0
- package/modules/event/tms_home.tsx +639 -0
- package/modules/event/tms_idcard.tsx +200 -0
- package/modules/event/tms_in.tsx +215 -0
- package/modules/event/tms_in_again.tsx +199 -0
- package/modules/event/tms_in_failed.tsx +190 -0
- package/modules/event/tms_in_hall.tsx +148 -0
- package/modules/event/tms_in_hall_failed.tsx +270 -0
- package/modules/event/tms_in_hall_list.tsx +222 -0
- package/modules/event/tms_in_hall_log.tsx +134 -0
- package/modules/event/tms_in_hall_success.tsx +132 -0
- package/modules/event/tms_in_list.tsx +264 -0
- package/modules/event/tms_in_log.tsx +130 -0
- package/modules/event/tms_in_success.tsx +153 -0
- package/modules/event/tms_in_warning.tsx +91 -0
- package/modules/event/tms_list_item.tsx +88 -0
- package/modules/event/tms_log.tsx +434 -0
- package/modules/event/tms_out.tsx +91 -0
- package/modules/event/tms_out_failed.tsx +135 -0
- package/modules/event/tms_out_hall.tsx +143 -0
- package/modules/event/tms_out_hall_failed.tsx +133 -0
- package/modules/event/tms_out_hall_list.tsx +215 -0
- package/modules/event/tms_out_hall_log.tsx +133 -0
- package/modules/event/tms_out_hall_success.tsx +130 -0
- package/modules/event/tms_out_list.tsx +118 -0
- package/modules/event/tms_out_log.tsx +130 -0
- package/modules/event/tms_out_success.tsx +143 -0
- package/modules/event/tms_out_temporary.tsx +226 -0
- package/modules/event/toggle.tsx +30 -0
- package/modules/event/transaction.ts +34 -0
- package/modules/event/turnstile_event_gate.tsx +74 -0
- package/modules/event/turnstile_event_item.tsx +41 -0
- package/modules/event/turnstile_event_list.tsx +69 -0
- package/modules/event/turnstile_event_ticket.tsx +95 -0
- package/modules/event/turnstile_settings.tsx +327 -0
- package/modules/event/turnstile_settings_otp.tsx +58 -0
- package/modules/event/turnstile_settings_status.tsx +50 -0
- package/modules/event/visitor_edit.tsx +125 -0
- package/modules/event/visitor_history.tsx +61 -0
- package/modules/event/visitor_history_item.tsx +96 -0
- package/modules/event/visitor_index.tsx +175 -0
- package/modules/event/visitor_input.tsx +283 -0
- package/modules/event/voucher.tsx +148 -0
- package/modules/event/voucher_multi.tsx +180 -0
- package/modules/feed/booking.tsx +450 -0
- package/modules/feed/eo.tsx +281 -0
- package/modules/feed/eo_detail.tsx +557 -0
- package/modules/feed/filter_location.tsx +94 -0
- package/modules/feed/filter_location2.tsx +105 -0
- package/modules/feed/filter_location_item.tsx +130 -0
- package/modules/feed/filter_location_list.tsx +48 -0
- package/modules/feed/images.tsx +66 -0
- package/modules/feed/index.tsx +126 -0
- package/modules/feed/influencer.tsx +281 -0
- package/modules/feed/influencer_detail.tsx +596 -0
- package/modules/feed/item.tsx +46 -0
- package/modules/feed/item2.tsx +47 -0
- package/modules/feed/job.tsx +460 -0
- package/modules/feed/job_available.tsx +322 -0
- package/modules/feed/job_available_detail.tsx +377 -0
- package/modules/feed/job_available_item.tsx +114 -0
- package/modules/feed/job_available_list.tsx +311 -0
- package/modules/feed/job_detail.tsx +689 -0
- package/modules/feed/job_filter.tsx +69 -0
- package/modules/feed/job_item.tsx +62 -0
- package/modules/feed/job_list.tsx +204 -0
- package/modules/feed/job_list_cv.tsx +183 -0
- package/modules/feed/job_list_school.tsx +53 -0
- package/modules/feed/list.tsx +193 -0
- package/modules/feed/location.tsx +45 -0
- package/modules/feed/menu.tsx +26 -0
- package/modules/feed/talent.tsx +294 -0
- package/modules/feed/talent_date.tsx +127 -0
- package/modules/feed/talent_detail.tsx +688 -0
- package/modules/feed/talent_list_review.tsx +50 -0
- package/modules/invoice/detail.tsx +316 -0
- package/modules/invoice/input.tsx +513 -0
- package/modules/invoice/payment_list.tsx +93 -0
- package/modules/lib/autosync.ts +50 -0
- package/modules/lib/block.tsx +56 -0
- package/modules/lib/bone.tsx +51 -0
- package/modules/lib/calendar.tsx +218 -0
- package/modules/lib/capture.tsx +39 -0
- package/modules/lib/carrousel2.tsx +347 -0
- package/modules/lib/curl.ts +169 -0
- package/modules/lib/dialog.tsx +146 -0
- package/modules/lib/dialogview.tsx +59 -0
- package/modules/lib/distribution_lock.ts +18 -0
- package/modules/lib/document.ts +43 -0
- package/modules/lib/editbox.tsx +113 -0
- package/modules/lib/htmltext.tsx +61 -0
- package/modules/lib/image.tsx +388 -0
- package/modules/lib/input_circle.tsx +207 -0
- package/modules/lib/input_circle2.tsx +203 -0
- package/modules/lib/input_rectangle.tsx +198 -0
- package/modules/lib/input_rectangle2.tsx +233 -0
- package/modules/lib/item.tsx +23 -0
- package/modules/lib/list.tsx +107 -0
- package/modules/lib/location.tsx +39 -0
- package/modules/lib/location_cleanup.ts +15 -0
- package/modules/lib/login.debug.ts +84 -0
- package/modules/lib/login.live.ts +84 -0
- package/modules/lib/login.ts +84 -0
- package/modules/lib/notif_translate.ts +49 -0
- package/modules/lib/notification.ts +518 -0
- package/modules/lib/notify.ts +148 -0
- package/modules/lib/pagination.tsx +110 -0
- package/modules/lib/pan.tsx +132 -0
- package/modules/lib/password.ts +19 -0
- package/modules/lib/pressable.tsx +40 -0
- package/modules/lib/print.ts +20 -0
- package/modules/lib/reinfinite.tsx +100 -0
- package/modules/lib/retry.tsx +45 -0
- package/modules/lib/scroll_sticky.tsx +85 -0
- package/modules/lib/share.ts +20 -0
- package/modules/lib/style.debug.ts +109 -0
- package/modules/lib/style.live.ts +110 -0
- package/modules/lib/style.ts +109 -0
- package/modules/lib/swipe.tsx +74 -0
- package/modules/lib/tap.tsx +28 -0
- package/modules/lib/test.tsx +157 -0
- package/modules/lib/textstyle.tsx +265 -0
- package/modules/lib/time_picker.tsx +132 -0
- package/modules/lib/translate.tsx +41 -0
- package/modules/lib/utils.ts +365 -0
- package/modules/lib/version.tsx +87 -0
- package/modules/lib/version_view.tsx +26 -0
- package/modules/lib/video.tsx +44 -0
- package/modules/lib/webview.tsx +172 -0
- package/modules/log/reporter.ts +95 -0
- package/modules/log/test.tsx +150 -0
- package/modules/market/account_buyer.tsx +164 -0
- package/modules/market/account_merchant.tsx +390 -0
- package/modules/market/address.tsx +102 -0
- package/modules/market/address_item.tsx +145 -0
- package/modules/market/chat.tsx +23 -0
- package/modules/market/checkout.tsx +600 -0
- package/modules/market/checkout_payment_method.tsx +164 -0
- package/modules/market/complaint_form.tsx +102 -0
- package/modules/market/countdown.tsx +81 -0
- package/modules/market/empty.tsx +18 -0
- package/modules/market/header_home.tsx +89 -0
- package/modules/market/home.tsx +549 -0
- package/modules/market/load_category.tsx +25 -0
- package/modules/market/location.tsx +74 -0
- package/modules/market/merchant_detail.tsx +328 -0
- package/modules/market/merchant_register.tsx +94 -0
- package/modules/market/merchant_saldo_history.tsx +100 -0
- package/modules/market/order_detail.tsx +670 -0
- package/modules/market/payment_list.tsx +36 -0
- package/modules/market/payment_offline.tsx +76 -0
- package/modules/market/payment_offline_detail.tsx +121 -0
- package/modules/market/payment_pin.tsx +22 -0
- package/modules/market/point_history.tsx +78 -0
- package/modules/market/product_category.tsx +188 -0
- package/modules/market/product_detail_description.tsx +28 -0
- package/modules/market/product_detail_general.tsx +152 -0
- package/modules/market/product_item.tsx +234 -0
- package/modules/market/style.ts +15 -0
- package/modules/market/terms.tsx +22 -0
- package/modules/market/withdraw.tsx +213 -0
- package/modules/mart/accept.tsx +43 -0
- package/modules/mart/account.tsx +541 -0
- package/modules/mart/account_empty.tsx +43 -0
- package/modules/mart/bag.tsx +273 -0
- package/modules/mart/bag_add_slideup.tsx +184 -0
- package/modules/mart/bag_float.tsx +30 -0
- package/modules/mart/bag_item.tsx +156 -0
- package/modules/mart/button.tsx +49 -0
- package/modules/mart/checkout.tsx +207 -0
- package/modules/mart/checkout_payment_method.tsx +96 -0
- package/modules/mart/complaint_conditions.tsx +26 -0
- package/modules/mart/complaint_detail.tsx +290 -0
- package/modules/mart/complaint_discuss.tsx +364 -0
- package/modules/mart/complaint_solution.tsx +79 -0
- package/modules/mart/complaint_step1.tsx +51 -0
- package/modules/mart/complaint_step2.tsx +122 -0
- package/modules/mart/complaint_step3.tsx +168 -0
- package/modules/mart/dc_account.tsx +312 -0
- package/modules/mart/dc_admin_order.tsx +156 -0
- package/modules/mart/dc_bundle_add.tsx +72 -0
- package/modules/mart/dc_bundle_edit.tsx +81 -0
- package/modules/mart/dc_bundle_input.tsx +445 -0
- package/modules/mart/dc_cart.tsx +256 -0
- package/modules/mart/dc_cart_add_slideup.tsx +101 -0
- package/modules/mart/dc_cart_item.tsx +142 -0
- package/modules/mart/dc_checkout.tsx +175 -0
- package/modules/mart/dc_detail.tsx +277 -0
- package/modules/mart/dc_edit.tsx +274 -0
- package/modules/mart/dc_list.tsx +96 -0
- package/modules/mart/dc_location_range.tsx +140 -0
- package/modules/mart/dc_mitra_product_report.tsx +135 -0
- package/modules/mart/dc_mitra_report_buy.tsx +166 -0
- package/modules/mart/dc_mitra_report_profit_loss.tsx +163 -0
- package/modules/mart/dc_mitra_report_profit_loss_detail.tsx +79 -0
- package/modules/mart/dc_mitra_report_sale.tsx +165 -0
- package/modules/mart/dc_mitra_report_stock.tsx +98 -0
- package/modules/mart/dc_mitra_report_stock_adjustment.tsx +160 -0
- package/modules/mart/dc_order.tsx +126 -0
- package/modules/mart/dc_order_detail.tsx +297 -0
- package/modules/mart/dc_order_detail_button_floating.tsx +266 -0
- package/modules/mart/dc_order_detail_buttons.tsx +237 -0
- package/modules/mart/dc_order_detail_finish.tsx +218 -0
- package/modules/mart/dc_order_detail_finish_bundle_item.tsx +159 -0
- package/modules/mart/dc_order_detail_finish_item.tsx +248 -0
- package/modules/mart/dc_order_detail_print.tsx +125 -0
- package/modules/mart/dc_order_detail_sticky.tsx +266 -0
- package/modules/mart/dc_order_item.tsx +142 -0
- package/modules/mart/dc_order_status.tsx +60 -0
- package/modules/mart/dc_product_add.tsx +107 -0
- package/modules/mart/dc_product_check.tsx +56 -0
- package/modules/mart/dc_product_detail.tsx +282 -0
- package/modules/mart/dc_product_edit.tsx +88 -0
- package/modules/mart/dc_product_input.tsx +273 -0
- package/modules/mart/dc_product_item.tsx +141 -0
- package/modules/mart/dc_product_list.tsx +242 -0
- package/modules/mart/dc_product_list_confirm.tsx +188 -0
- package/modules/mart/dc_product_main.tsx +262 -0
- package/modules/mart/dc_saldo_history.tsx +78 -0
- package/modules/mart/dc_scanner.tsx +112 -0
- package/modules/mart/detail.tsx +297 -0
- package/modules/mart/detail_search.tsx +57 -0
- package/modules/mart/edit.tsx +111 -0
- package/modules/mart/empty.tsx +22 -0
- package/modules/mart/header.tsx +81 -0
- package/modules/mart/header_home.tsx +61 -0
- package/modules/mart/home.tsx +457 -0
- package/modules/mart/image_picker.tsx +60 -0
- package/modules/mart/input.tsx +276 -0
- package/modules/mart/input_container.tsx +24 -0
- package/modules/mart/input_label.tsx +22 -0
- package/modules/mart/input_select.tsx +35 -0
- package/modules/mart/input_square.tsx +67 -0
- package/modules/mart/input_toggle.tsx +34 -0
- package/modules/mart/location.tsx +102 -0
- package/modules/mart/location_empty.tsx +59 -0
- package/modules/mart/lucky_draw.tsx +134 -0
- package/modules/mart/lucky_draw_detail.tsx +137 -0
- package/modules/mart/lucky_draw_history.tsx +75 -0
- package/modules/mart/lucky_draw_terms.tsx +27 -0
- package/modules/mart/lucky_draw_win.tsx +26 -0
- package/modules/mart/mitra_order.tsx +162 -0
- package/modules/mart/order.tsx +138 -0
- package/modules/mart/order_detail.tsx +297 -0
- package/modules/mart/order_detail_buttons.tsx +365 -0
- package/modules/mart/order_detail_item.tsx +94 -0
- package/modules/mart/order_detail_skeleton.tsx +98 -0
- package/modules/mart/order_detail_status.tsx +91 -0
- package/modules/mart/order_item.tsx +152 -0
- package/modules/mart/order_refund.tsx +149 -0
- package/modules/mart/order_status.tsx +55 -0
- package/modules/mart/point.tsx +151 -0
- package/modules/mart/point_exchange.tsx +189 -0
- package/modules/mart/point_exchange_history.tsx +66 -0
- package/modules/mart/point_history.tsx +113 -0
- package/modules/mart/point_list.tsx +85 -0
- package/modules/mart/product_add.tsx +130 -0
- package/modules/mart/product_check.tsx +54 -0
- package/modules/mart/product_detail.tsx +275 -0
- package/modules/mart/product_detail_description.tsx +33 -0
- package/modules/mart/product_detail_general.tsx +113 -0
- package/modules/mart/product_edit.tsx +86 -0
- package/modules/mart/product_input.tsx +285 -0
- package/modules/mart/product_item.tsx +219 -0
- package/modules/mart/product_list.tsx +247 -0
- package/modules/mart/product_main.tsx +260 -0
- package/modules/mart/product_search.tsx +143 -0
- package/modules/mart/product_stocks_adjust.tsx +308 -0
- package/modules/mart/register.tsx +118 -0
- package/modules/mart/reminder.tsx +127 -0
- package/modules/mart/review.tsx +102 -0
- package/modules/mart/scanner.tsx +122 -0
- package/modules/mart/search.tsx +70 -0
- package/modules/mart/section_menu.tsx +46 -0
- package/modules/mart/section_title.tsx +32 -0
- package/modules/merchant/branch.tsx +70 -0
- package/modules/merchant/branch_add.tsx +275 -0
- package/modules/merchant/detail.tsx +64 -0
- package/modules/merchant/detail_coupon.tsx +115 -0
- package/modules/merchant/edit.tsx +271 -0
- package/modules/merchant/index.tsx +50 -0
- package/modules/merchant/info.tsx +107 -0
- package/modules/merchant/item.tsx +39 -0
- package/modules/merchant/list_coupon.tsx +74 -0
- package/modules/merchant/list_invoice.tsx +78 -0
- package/modules/merchant/list_transaksi.tsx +104 -0
- package/modules/merchant/menu.tsx +60 -0
- package/modules/merchant/registrasi.tsx +28 -0
- package/modules/merchant/registrasi1.tsx +118 -0
- package/modules/merchant/registrasi2.tsx +183 -0
- package/modules/merchant/registrasi3.tsx +113 -0
- package/modules/merchant/registrasi4.tsx +93 -0
- package/modules/merchant/registrasi5.tsx +136 -0
- package/modules/merchant/registrasi6.tsx +46 -0
- package/modules/merchant/registrasi6_item.tsx +36 -0
- package/modules/merchant/registrasi7.tsx +85 -0
- package/modules/merchant/registrasi_merch.tsx +257 -0
- package/modules/merchant/terms.tsx +53 -0
- package/modules/notification/community.tsx +112 -0
- package/modules/notification/dc.tsx +173 -0
- package/modules/notification/event.tsx +116 -0
- package/modules/notification/index.tsx +312 -0
- package/modules/notification/item.tsx +47 -0
- package/modules/notification/marketplace.tsx +175 -0
- package/modules/notification/mitra.tsx +177 -0
- package/modules/notification/translate.tsx +62 -0
- package/modules/partner/detail.tsx +50 -0
- package/modules/partner/list.tsx +59 -0
- package/modules/payment/cc.tsx +115 -0
- package/modules/payment/cc_detail.tsx +111 -0
- package/modules/payment/cc_edit.tsx +170 -0
- package/modules/payment/cc_item.tsx +45 -0
- package/modules/payment/cc_web.tsx +122 -0
- package/modules/payment/cv.tsx +126 -0
- package/modules/payment/event_invitation.tsx +261 -0
- package/modules/payment/failed.tsx +41 -0
- package/modules/payment/talent.tsx +263 -0
- package/modules/payment/ticket.tsx +625 -0
- package/modules/payment/ticket_multi.tsx +634 -0
- package/modules/pos/business.tsx +47 -0
- package/modules/pos/business_detail.tsx +205 -0
- package/modules/pos/business_edit.tsx +297 -0
- package/modules/pos/cashier.tsx +41 -0
- package/modules/pos/cashier_invoice_detail.tsx +175 -0
- package/modules/pos/cashier_invoice_item.tsx +63 -0
- package/modules/pos/cashier_invoice_list.tsx +102 -0
- package/modules/pos/cashier_list.tsx +84 -0
- package/modules/pos/cashier_report.tsx +158 -0
- package/modules/pos/cashier_report_detail.tsx +88 -0
- package/modules/pos/cashier_report_item.tsx +96 -0
- package/modules/pos/comingsoon.tsx +23 -0
- package/modules/pos/index.tsx +114 -0
- package/modules/pos/outlet_list.tsx +100 -0
- package/modules/pos/outlet_report.tsx +25 -0
- package/modules/pos/payment_detail.tsx +125 -0
- package/modules/pos/pricing.tsx +133 -0
- package/modules/pos/pricing_payment.tsx +195 -0
- package/modules/pos/register.tsx +412 -0
- package/modules/pos/register_business.tsx +333 -0
- package/modules/pos/transaction.tsx +338 -0
- package/modules/pos/transaction_detail.tsx +172 -0
- package/modules/pos/waiting_payment.tsx +61 -0
- package/modules/pos/web_login.tsx +108 -0
- package/modules/ppob/button.tsx +24 -0
- package/modules/ppob/empty.tsx +21 -0
- package/modules/ppob/header.tsx +35 -0
- package/modules/ppob/hit.ts +33 -0
- package/modules/ppob/main_item.tsx +61 -0
- package/modules/ppob/payment.tsx +238 -0
- package/modules/ppob/ppob_item.tsx +58 -0
- package/modules/ppob/topup.tsx +16 -0
- package/modules/ppob/transaction_detail.tsx +834 -0
- package/modules/product/detail.tsx +161 -0
- package/modules/product/list.tsx +74 -0
- package/modules/quotation/add.tsx +131 -0
- package/modules/quotation/add_disc.tsx +187 -0
- package/modules/quotation/cancellation.tsx +176 -0
- package/modules/quotation/detail.tsx +429 -0
- package/modules/quotation/extra_days.tsx +129 -0
- package/modules/quotation/extra_days_approval.tsx +124 -0
- package/modules/quotation/index.tsx +463 -0
- package/modules/quotation/invoice.tsx +188 -0
- package/modules/quotation/order.tsx +150 -0
- package/modules/quotation/order_detail.tsx +542 -0
- package/modules/quotation/order_need_review.tsx +85 -0
- package/modules/quotation/order_status.tsx +57 -0
- package/modules/quotation/reschedule.tsx +199 -0
- package/modules/quotation/reschedule_approval.tsx +143 -0
- package/modules/quotation/revision.tsx +224 -0
- package/modules/review/buyer.tsx +99 -0
- package/modules/review/detail.tsx +136 -0
- package/modules/review/index.tsx +207 -0
- package/modules/review/talent.tsx +77 -0
- package/modules/search/index.tsx +214 -0
- package/modules/search/item.tsx +55 -0
- package/modules/search/list.tsx +64 -0
- package/modules/search/list2.tsx +85 -0
- package/modules/staff/id_card.tsx +91 -0
- package/modules/staff/id_card2.tsx +84 -0
- package/modules/ticket/detail.tsx +814 -0
- package/modules/ticket/detail_payment.tsx +153 -0
- package/modules/ticket/detail_upgrade.tsx +164 -0
- package/modules/ticket/detail_upgrade_button.tsx +60 -0
- package/modules/ticket/detail_upgrade_payment.tsx +221 -0
- package/modules/ticket/detail_visitor.tsx +196 -0
- package/modules/ticket/detail_waiting.tsx +521 -0
- package/modules/ticket/item.tsx +118 -0
- package/modules/ticket/lottery.tsx +172 -0
- package/modules/ticket/order.tsx +324 -0
- package/modules/ticket/order_history.tsx +102 -0
- package/modules/ticket/order_status.tsx +66 -0
- package/modules/ticket/order_waiting.tsx +143 -0
- package/modules/ticket/reschedule.tsx +439 -0
- package/modules/ticket/reschedule2.tsx +176 -0
- package/modules/ticket/reschedule_list.tsx +85 -0
- package/modules/ticket/share_to.tsx +220 -0
- package/modules/ticket/share_to_detail.tsx +179 -0
- package/modules/tms/gate_in.tsx +147 -0
- package/modules/tms/gate_in_list.tsx +96 -0
- package/modules/topup/bank2.tsx +63 -0
- package/modules/topup/cc_payment.tsx +175 -0
- package/modules/topup/cc_payment_detail.tsx +100 -0
- package/modules/topup/detail.tsx +88 -0
- package/modules/topup/index.tsx +122 -0
- package/modules/topup/input.tsx +94 -0
- package/modules/topup/item.tsx +42 -0
- package/modules/topup/list.tsx +89 -0
- package/modules/topup/nominal.tsx +102 -0
- package/modules/topup/payment.tsx +150 -0
- package/modules/transfer/index.tsx +173 -0
- package/modules/transfer/input.tsx +181 -0
- package/modules/transfer/list.tsx +142 -0
- package/modules/use/dates.tsx +20 -0
- package/modules/use/keep.tsx +17 -0
- package/modules/use/location.ts +59 -0
- package/modules/use/notif.ts +32 -0
- package/modules/use/paginate.tsx +224 -0
- package/modules/use/secure_page.tsx +33 -0
- package/modules/use/smartnotif.ts +72 -0
- package/modules/use/test.ts +178 -0
- package/modules/user/bank.tsx +138 -0
- package/modules/user/bank_add.tsx +286 -0
- package/modules/user/bank_list.tsx +82 -0
- package/modules/user/bank_otp.tsx +141 -0
- package/modules/user/bbopay.ts +13 -0
- package/modules/user/block.tsx +128 -0
- package/modules/user/class.ts +142 -0
- package/modules/user/confirm.tsx +52 -0
- package/modules/user/confirm_with.tsx +45 -0
- package/modules/user/coupon.tsx +64 -0
- package/modules/user/coupon_detail.tsx +195 -0
- package/modules/user/delete.tsx +441 -0
- package/modules/user/detail_pin.tsx +78 -0
- package/modules/user/devices.tsx +260 -0
- package/modules/user/edit_phone.tsx +178 -0
- package/modules/user/edit_phone_forget.tsx +94 -0
- package/modules/user/edit_phone_identity.tsx +69 -0
- package/modules/user/edit_phone_otp.tsx +156 -0
- package/modules/user/force_login.tsx +198 -0
- package/modules/user/help.tsx +74 -0
- package/modules/user/hook.tsx +112 -0
- package/modules/user/index.tsx +113 -0
- package/modules/user/language.tsx +110 -0
- package/modules/user/language_list.tsx +106 -0
- package/modules/user/language_list_item.tsx +66 -0
- package/modules/user/language_setting.tsx +39 -0
- package/modules/user/loading.tsx +74 -0
- package/modules/user/location.tsx +57 -0
- package/modules/user/location_country.tsx +83 -0
- package/modules/user/location_country_server.tsx +84 -0
- package/modules/user/location_gps.tsx +175 -0
- package/modules/user/location_item.tsx +40 -0
- package/modules/user/login.tsx +346 -0
- package/modules/user/menu_bigbank.tsx +563 -0
- package/modules/user/notification_list.tsx +113 -0
- package/modules/user/order.tsx +22 -0
- package/modules/user/otp.tsx +224 -0
- package/modules/user/otp_method.tsx +90 -0
- package/modules/user/password.tsx +264 -0
- package/modules/user/phone_check.tsx +134 -0
- package/modules/user/pin.tsx +245 -0
- package/modules/user/pin_alert.tsx +27 -0
- package/modules/user/pin_forget.tsx +73 -0
- package/modules/user/popup.tsx +80 -0
- package/modules/user/profile.tsx +797 -0
- package/modules/user/profile_edit.tsx +472 -0
- package/modules/user/profile_item.tsx +38 -0
- package/modules/user/profile_tms_list.tsx +69 -0
- package/modules/user/register.tsx +36 -0
- package/modules/user/register_detail.tsx +288 -0
- package/modules/user/register_email.tsx +96 -0
- package/modules/user/register_name.tsx +400 -0
- package/modules/user/register_phone.tsx +131 -0
- package/modules/user/register_with.tsx +416 -0
- package/modules/user/register_with_v2.tsx +428 -0
- package/modules/user/reminder.tsx +72 -0
- package/modules/user/saldo_refund.tsx +80 -0
- package/modules/user/saldo_refund_history.tsx +97 -0
- package/modules/user/scan_turnstile.tsx +87 -0
- package/modules/user/top_up_wallet.tsx +211 -0
- package/modules/user/top_up_wallet_detail.tsx +115 -0
- package/modules/user/top_up_wallet_list.tsx +90 -0
- package/modules/user/transaction.tsx +111 -0
- package/modules/user/transaction_detail.tsx +150 -0
- package/modules/user/weblogin.tsx +118 -0
- package/modules/visitor/edit.tsx +127 -0
- package/modules/visitor/history.tsx +61 -0
- package/modules/visitor/history_item.tsx +96 -0
- package/modules/visitor/index.tsx +176 -0
- package/modules/visitor/input.tsx +285 -0
- package/modules/visitor/menu.tsx +24 -0
- package/modules/withdraw/index.tsx +123 -0
- package/modules/withdraw/input.tsx +225 -0
- package/modules/withdraw/list.tsx +37 -0
- package/modules/withdraw/nationality.tsx +49 -0
- package/modules/withdraw/refund.tsx +217 -0
- package/modules/withdraw/upgrade1.tsx +506 -0
- package/modules/withdraw/waiting.tsx +62 -0
- package/moveOrRenameModule.js +129 -0
- package/nodarkandroid.js +25 -0
- package/package.debug.json +122 -0
- package/package.json +1 -1
- package/package.live.json +118 -0
- package/tsconfig.json +25 -0
- package/version.js +32 -0
- package/fonts/Arial.ttf +0 -0
- package/fonts/ArialBold.ttf +0 -0
- package/fonts/DecoNumbers.ttf +0 -0
- package/fonts/MonoSpace.ttf +0 -0
- package/fonts/SFProText.ttf +0 -0
- package/fonts/digital.ttf +0 -0
- package/fonts/mono.ttf +0 -0
- package/id.json +0 -1858
- package/libs.json +0 -1
- package/publisher.js +0 -84
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
// noPage
|
|
3
|
+
import { applyStyle } from 'esoftplay';
|
|
4
|
+
import { ComponentButton } from 'esoftplay/cache/component/button/import';
|
|
5
|
+
import { ComponentTouchable } from 'esoftplay/cache/component/touchable/import';
|
|
6
|
+
import { LibCollaps } from 'esoftplay/cache/lib/collaps/import';
|
|
7
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
8
|
+
import { LibGradient } from 'esoftplay/cache/lib/gradient/import';
|
|
9
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
10
|
+
import { LibInput } from 'esoftplay/cache/lib/input/import';
|
|
11
|
+
import { LibLoading } from 'esoftplay/cache/lib/loading/import';
|
|
12
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
13
|
+
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
14
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
15
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
16
|
+
import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
|
|
17
|
+
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
18
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
19
|
+
import esp from 'esoftplay/esp';
|
|
20
|
+
import useGlobalState from 'esoftplay/global';
|
|
21
|
+
import useLazyState from 'esoftplay/lazy';
|
|
22
|
+
import useSafeState from 'esoftplay/state';
|
|
23
|
+
|
|
24
|
+
import { ComponentMessage } from 'esoftplay/cache/component/message/import';
|
|
25
|
+
import { LibCurl_view } from 'esoftplay/cache/lib/curl_view/import';
|
|
26
|
+
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
27
|
+
import { LibSkeleton } from 'esoftplay/cache/lib/skeleton/import';
|
|
28
|
+
import { UseCondition } from 'esoftplay/cache/use/condition/import';
|
|
29
|
+
import React, { useEffect, useRef } from 'react';
|
|
30
|
+
import { Pressable, Text, TouchableOpacity, View } from 'react-native';
|
|
31
|
+
import WebView from 'react-native-webview';
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
export interface BigbangPayment_listProps {
|
|
36
|
+
onPressPayment: (item: any) => void
|
|
37
|
+
chargeTotal?: any
|
|
38
|
+
priceTotal: any
|
|
39
|
+
paymentId: any
|
|
40
|
+
// bboPay?: boolean,
|
|
41
|
+
discount?: any
|
|
42
|
+
voucher_amount?: number,
|
|
43
|
+
supportCod?: boolean
|
|
44
|
+
eventId?: any
|
|
45
|
+
order_type?: any //1_Booking_Ticket_2_PPOB_3_Booking_Talent_4_TokoBBO_5_Pembelian_CV_
|
|
46
|
+
url_payment?: any
|
|
47
|
+
onToggleCC?: (data?: any) => void
|
|
48
|
+
currency?: string
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
function isAllowedPayment(order_type: string, allowed_payment_ids: string[]) {
|
|
53
|
+
return allowed_payment_ids.map((x: any) => String(x.id)).includes(String(order_type))
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const stateData = useGlobalState<any>(undefined)
|
|
57
|
+
|
|
58
|
+
export default function m(props: BigbangPayment_listProps): any {
|
|
59
|
+
const [mycards, setMycard] = useLazyState<any>([])
|
|
60
|
+
const user = UserClass.state().useSelector((state: any) => state)
|
|
61
|
+
const _discount = props.discount || 0
|
|
62
|
+
const voucherAmount = props.voucher_amount || 0
|
|
63
|
+
const ccvInput = useRef<LibInput>(null)
|
|
64
|
+
const [textInput, setTextInput, getTextInput] = useLazyState('')
|
|
65
|
+
const [selected, setSelected, getSelected] = useSafeState<any>()
|
|
66
|
+
const [data] = stateData.useState()
|
|
67
|
+
|
|
68
|
+
// for installment
|
|
69
|
+
const [activeTab, setActiveTab] = useSafeState(1)
|
|
70
|
+
const [urlInstallment, setUrlInstallment] = useSafeState()
|
|
71
|
+
const [listInstallment, setListInstallment] = useSafeState()
|
|
72
|
+
const [showShimmer, setShowShimmer] = useSafeState(false)
|
|
73
|
+
const [counter, setCounter] = useSafeState(1)
|
|
74
|
+
const [counterRetry, setCounterRetry] = useSafeState(1)
|
|
75
|
+
|
|
76
|
+
const [selectedModePay, setSelectedModePay] = useSafeState()
|
|
77
|
+
const [postInstallment, setPostInstallment, getPostInstallment] = useLazyState<any>()
|
|
78
|
+
|
|
79
|
+
let curr = props?.currency ? props?.currency : ''
|
|
80
|
+
|
|
81
|
+
const [, setFullPay, getFullPay] = useSafeState({
|
|
82
|
+
"count": 0,
|
|
83
|
+
"currency": curr,
|
|
84
|
+
"installment_amount": props.priceTotal,
|
|
85
|
+
"fee": 0,
|
|
86
|
+
"fee_percent": 0
|
|
87
|
+
})
|
|
88
|
+
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
loadCards()
|
|
91
|
+
return () => stateData.reset()
|
|
92
|
+
}, [])
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
function loadCards() {
|
|
96
|
+
let post = {
|
|
97
|
+
event_id: props.eventId
|
|
98
|
+
}
|
|
99
|
+
new LibCurl('user_cc', post, (res, msg) => {
|
|
100
|
+
setMycard(res)()
|
|
101
|
+
}, (err) => {
|
|
102
|
+
})
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
let post = {
|
|
106
|
+
event_id: props.eventId
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function hideNumber(card: string): string {
|
|
110
|
+
let hideNum = [];
|
|
111
|
+
for (let i = 0; i < card.length; i++) {
|
|
112
|
+
if (i < card.length - 4) {
|
|
113
|
+
hideNum.push("*");
|
|
114
|
+
} else {
|
|
115
|
+
hideNum.push(card[i]);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
const _val = hideNum.join("");
|
|
119
|
+
const value = _val.match(/.{1,4}/g) || []
|
|
120
|
+
return value.join(' ')
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function ccInstallment(card_id?: any, number?: any) {
|
|
124
|
+
let charge_total = props.chargeTotal
|
|
125
|
+
let post: any = {
|
|
126
|
+
amount: charge_total ? props.priceTotal - charge_total : props.priceTotal,
|
|
127
|
+
currency: curr,
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (props.eventId) {
|
|
131
|
+
post.event_id = props.eventId
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (card_id == 0) {
|
|
135
|
+
post.number = number
|
|
136
|
+
} else {
|
|
137
|
+
post.card_id = card_id
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
setShowShimmer(true)
|
|
141
|
+
new LibCurl('user_cc_installment?fee=1', post, (res, msg) => {
|
|
142
|
+
let update_amount = LibObject.set(getFullPay(), props.priceTotal)('installment_amount')
|
|
143
|
+
let update_fee = LibObject.set(update_amount, res?.fee)('fee')
|
|
144
|
+
let update_fee_percent = LibObject.set(update_fee, res?.fee_percent)('fee_percent')
|
|
145
|
+
setFullPay(update_fee_percent)
|
|
146
|
+
props.onPressPayment({ ...selected, card_installment_count: 0, charge: res?.fee, charge_percent: res?.fee_percent, card_cvv: textInput })
|
|
147
|
+
|
|
148
|
+
setUrlInstallment(res?.url)
|
|
149
|
+
}, (err) => {
|
|
150
|
+
setShowShimmer(false)
|
|
151
|
+
LibToastProperty?.show(err?.message)
|
|
152
|
+
if (err?.status_code == "GE042") {
|
|
153
|
+
props.onPressPayment(undefined)
|
|
154
|
+
stateData?.reset()
|
|
155
|
+
}
|
|
156
|
+
}, 1)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
useEffect(() => {
|
|
160
|
+
if (getPostInstallment()?.card_id) {
|
|
161
|
+
ccInstallment(getPostInstallment()?.card_id)
|
|
162
|
+
setPostInstallment(undefined)
|
|
163
|
+
}
|
|
164
|
+
}, [props.priceTotal, postInstallment?.card_id])
|
|
165
|
+
|
|
166
|
+
const viewDialogCVV = (cardNumber: string) => {
|
|
167
|
+
return (
|
|
168
|
+
<View style={{ backgroundColor: "white", padding: 15, borderTopLeftRadius: 15, borderTopRightRadius: 15 }}>
|
|
169
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 14, fontWeight: 'bold', fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#4a4a4a" })}>{esp.lang("bigbang/payment_list", "input_cvv")}</Text>
|
|
170
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 15, fontFamily: "Arial", fontSize: 12, fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#4a4a4a" })}>{esp.lang("bigbang/payment_list", "input_cvv_msg")}</Text>
|
|
171
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 10, fontFamily: "Arial", fontSize: 14, fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#4a4a4a" })}>{esp.lang("bigbang/payment_list", "card_number", cardNumber)}</Text>
|
|
172
|
+
<View style={{ marginVertical: 30 }} >
|
|
173
|
+
<LibInput
|
|
174
|
+
autoFocus
|
|
175
|
+
ref={ccvInput}
|
|
176
|
+
base
|
|
177
|
+
mask='###'
|
|
178
|
+
keyboardType='numeric'
|
|
179
|
+
secureTextEntry
|
|
180
|
+
placeholder='000'
|
|
181
|
+
style={{ fontFamily: 'Arial', textAlign: 'center', fontSize: 30, fontWeight: "bold", color: LibStyle.colorPrimary }}
|
|
182
|
+
onChangeText={(text) => {
|
|
183
|
+
if (text.length == 3)
|
|
184
|
+
setTextInput(text)
|
|
185
|
+
}}
|
|
186
|
+
/>
|
|
187
|
+
</View>
|
|
188
|
+
<ComponentButton label={esp.lang("bigbang/payment_list", "btn_next")}
|
|
189
|
+
onPress={() => {
|
|
190
|
+
if (getTextInput().length == 3) {
|
|
191
|
+
let post = {
|
|
192
|
+
card_id: getSelected()?.card_id || 0,
|
|
193
|
+
card_cvv: getTextInput()
|
|
194
|
+
}
|
|
195
|
+
setPostInstallment(post)
|
|
196
|
+
stateData.set({ ...getSelected(), ...post })
|
|
197
|
+
props.onPressPayment({ ...getSelected(), ...post })
|
|
198
|
+
LibDialog.hide()
|
|
199
|
+
} else {
|
|
200
|
+
LibToastProperty.show("Silahkan masukkan CVV anda dahulu")
|
|
201
|
+
}
|
|
202
|
+
}} />
|
|
203
|
+
|
|
204
|
+
<TouchableOpacity onPress={() => {
|
|
205
|
+
LibDialog.hide()
|
|
206
|
+
}} style={{ position: 'absolute', top: -10, right: -10, padding: 10, alignContent: 'center', alignItems: 'center', justifyContent: 'center' }}>
|
|
207
|
+
<LibIcon name='close-circle-outline' />
|
|
208
|
+
</TouchableOpacity>
|
|
209
|
+
</View>
|
|
210
|
+
)
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function renderItemCC(item2: any, i2: number) {
|
|
214
|
+
let lessThanMinAmount = Number(props.priceTotal) < item2?.minimum_amount
|
|
215
|
+
return (
|
|
216
|
+
<View key={i2} style={{ marginBottom: 5 }}>
|
|
217
|
+
<View>
|
|
218
|
+
{
|
|
219
|
+
lessThanMinAmount ?
|
|
220
|
+
<Pressable onPress={() => {
|
|
221
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "min_amount") + LibUtils.money(item2?.minimum_amount))
|
|
222
|
+
}} style={applyStyle({ marginTop: 5, borderRadius: 5, marginLeft: 15, marginRight: 15, padding: 7, backgroundColor: lessThanMinAmount ? LibStyle.colorBgGrey : "#fff", ...LibStyle.elevation(2) })} >
|
|
223
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' })}>
|
|
224
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', flexDirection: 'row' })}>
|
|
225
|
+
<LibPicture source={{ uri: item2.image }} style={applyStyle({ width: 35, height: 35 })} />
|
|
226
|
+
<Text allowFontScaling={false} style={applyStyle({ marginLeft: 15, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{item2.title}</Text>
|
|
227
|
+
</View>
|
|
228
|
+
</View>
|
|
229
|
+
{
|
|
230
|
+
item2.active && item2.active == "0" &&
|
|
231
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 4, fontFamily: "Arial", fontSize: 10, fontStyle: "normal", letterSpacing: 0, color: LibStyle.colorRed })}>{item2.info}</Text>
|
|
232
|
+
}
|
|
233
|
+
</Pressable>
|
|
234
|
+
:
|
|
235
|
+
<LibCollaps
|
|
236
|
+
show={false}
|
|
237
|
+
onToggle={(x) => {
|
|
238
|
+
if (x) props?.onToggleCC?.()
|
|
239
|
+
}}
|
|
240
|
+
header={(show) =>
|
|
241
|
+
<View style={applyStyle({ marginTop: 5, borderRadius: 5, marginLeft: 15, marginRight: 15, padding: 7, backgroundColor: (item2.id == props.paymentId ? '#f6f6f6' : item2.active == '0' ? '#e6e6e6' : '#FFF'), ...LibStyle.elevation(2) })} >
|
|
242
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' })}>
|
|
243
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', flexDirection: 'row' })}>
|
|
244
|
+
<LibPicture source={{ uri: item2.image }} style={applyStyle({ width: 35, height: 35 })} />
|
|
245
|
+
<Text allowFontScaling={false} style={applyStyle({ marginLeft: 15, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{item2.title}</Text>
|
|
246
|
+
</View>
|
|
247
|
+
<LibIcon name={show ? "chevron-up" : "chevron-down"} size={28} color={"#BDBDBD"} />
|
|
248
|
+
</View>
|
|
249
|
+
{
|
|
250
|
+
item2.active && item2.active == "0" &&
|
|
251
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 4, fontFamily: "Arial", fontSize: 10, fontStyle: "normal", letterSpacing: 0, color: LibStyle.colorRed })}>{item2.info}</Text>
|
|
252
|
+
}
|
|
253
|
+
</View>
|
|
254
|
+
} >
|
|
255
|
+
<View style={{ marginHorizontal: 16, backgroundColor: '#fff', borderBottomLeftRadius: 5, borderBottomRightRadius: 5, padding: 12, paddingBottom: 0, ...LibStyle.elevation(2) }}>
|
|
256
|
+
{
|
|
257
|
+
mycards?.length > 0 && mycards.map((item: any, i: number) => (
|
|
258
|
+
<View key={i}>
|
|
259
|
+
<Pressable onPress={() => {
|
|
260
|
+
if (item.enabled == 0) {
|
|
261
|
+
LibDialog.warning("Oops", item.message)
|
|
262
|
+
} else {
|
|
263
|
+
if (lessThanMinAmount) {
|
|
264
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "min_amount") + LibUtils.money(item2?.minimum_amount))
|
|
265
|
+
} else {
|
|
266
|
+
if (data?.card_id != item?.id) {
|
|
267
|
+
setTextInput('')
|
|
268
|
+
setSelected({ card_id: item.id, ...item, ...item2 })
|
|
269
|
+
setSelectedModePay(undefined)
|
|
270
|
+
|
|
271
|
+
LibUtils.debounce(() => {
|
|
272
|
+
LibDialog.custom(viewDialogCVV(item.number))
|
|
273
|
+
}, 200)
|
|
274
|
+
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}} style={{ marginBottom: 10 }} >
|
|
279
|
+
|
|
280
|
+
<UseCondition if={item.enabled == 0}
|
|
281
|
+
fallback={
|
|
282
|
+
<LibGradient
|
|
283
|
+
colors={["#FCFA86", "#EEC632", "#FCFA86", "#EEC632"]}
|
|
284
|
+
direction='top-right-to-bottom-left'
|
|
285
|
+
style={{ backgroundColor: "white", padding: 16, flexDirection: 'row', alignItems: 'center', borderRadius: 10 }} >
|
|
286
|
+
{
|
|
287
|
+
Boolean(item?.brand) ?
|
|
288
|
+
<LibPicture source={{ uri: item?.brand?.image }} style={{ height: 30, width: 60, marginRight: 10 }} resizeMode='contain' />
|
|
289
|
+
:
|
|
290
|
+
<LibIcon.SimpleLineIcons name='credit-card' color="#A47920" size={30} style={{ marginRight: 10 }} />
|
|
291
|
+
}
|
|
292
|
+
<View style={{ flex: 1 }} >
|
|
293
|
+
<Text style={{ color: '#A47920', fontFamily: 'digital', fontSize: 22 }} >{item.number}</Text>
|
|
294
|
+
{
|
|
295
|
+
(item?.card_id == 0 || item?.id == 0) &&
|
|
296
|
+
<Text style={{ color: '#dc3545', fontFamily: 'Arial', fontSize: 12 }} >{esp.lang("bigbang/payment_list", "not_saved")}</Text>
|
|
297
|
+
}
|
|
298
|
+
</View>
|
|
299
|
+
<LibIcon name={(item2.id == props.paymentId && data?.card_id == item?.id && data?.card_cvv != "") ? "checkbox-marked-circle" : "checkbox-blank-circle-outline"} style={{ opacity: lessThanMinAmount ? 0.3 : 1, color: (item2.id == props.paymentId && data?.card_id == item?.id && data?.card_cvv != "") ? LibStyle.colorGreen : LibStyle.colorBrown }} size={24} />
|
|
300
|
+
</LibGradient>
|
|
301
|
+
}
|
|
302
|
+
>
|
|
303
|
+
<View style={{ backgroundColor: LibStyle.colorBgGrey, padding: 16, flexDirection: 'row', alignItems: 'center', borderRadius: 10 }}>
|
|
304
|
+
{
|
|
305
|
+
Boolean(item?.brand) ?
|
|
306
|
+
<LibPicture source={{ uri: item?.brand?.image }} style={{ opacity: 0.3, height: 30, width: 60, marginRight: 10 }} resizeMode='contain' />
|
|
307
|
+
:
|
|
308
|
+
<LibIcon.SimpleLineIcons name='credit-card' color="#A47920" size={30} style={{ opacity: 0.3, marginRight: 10 }} />
|
|
309
|
+
}
|
|
310
|
+
<View style={{ flex: 1 }} >
|
|
311
|
+
<Text style={{ opacity: 0.3, color: '#A47920', fontFamily: 'digital', fontSize: 22 }} >{item.number}</Text>
|
|
312
|
+
{
|
|
313
|
+
(item?.card_id == 0 || item?.id == 0) &&
|
|
314
|
+
<Text style={{ opacity: 0.3, color: '#dc3545', fontFamily: 'Arial', fontSize: 12 }} >{esp.lang("bigbang/payment_list", "not_saved")}</Text>
|
|
315
|
+
}
|
|
316
|
+
</View>
|
|
317
|
+
<LibIcon name={"checkbox-blank-circle-outline"} style={{ opacity: 0.3, color: LibStyle.colorBrown }} size={24} />
|
|
318
|
+
|
|
319
|
+
</View>
|
|
320
|
+
</UseCondition>
|
|
321
|
+
|
|
322
|
+
</Pressable>
|
|
323
|
+
|
|
324
|
+
<UseCondition if={item2.id == props.paymentId && data?.card_id == item?.id && data?.card_cvv != "" && listInstallment && listInstallment?.result?.length > 0}
|
|
325
|
+
fallback={
|
|
326
|
+
item2.id == props.paymentId && data?.card_id == item?.id && data?.card_cvv != "" && showShimmer &&
|
|
327
|
+
<View style={{ marginTop: 10, height: 100, flex: 1 }}>
|
|
328
|
+
<LibSkeleton>
|
|
329
|
+
<View style={{ marginBottom: 15, flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
330
|
+
<View style={{ width: '45%', height: 15, backgroundColor: 'white' }} />
|
|
331
|
+
<View style={{ width: '45%', height: 15, backgroundColor: 'white' }} />
|
|
332
|
+
</View>
|
|
333
|
+
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }}>
|
|
334
|
+
<View style={{ flex: 1, flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
335
|
+
<View style={{ height: 20, width: 20, borderRadius: 10, backgroundColor: 'white' }} />
|
|
336
|
+
<View style={{ marginLeft: 10, width: '60%' }}>
|
|
337
|
+
<View style={{ width: '50%', height: 25, backgroundColor: 'white' }} />
|
|
338
|
+
<View style={{ marginTop: 10, width: '35%', height: 10, backgroundColor: 'white' }} />
|
|
339
|
+
</View>
|
|
340
|
+
</View>
|
|
341
|
+
<View style={{ width: '20%', height: 15, backgroundColor: 'white' }} />
|
|
342
|
+
</View>
|
|
343
|
+
</LibSkeleton>
|
|
344
|
+
</View>
|
|
345
|
+
} >
|
|
346
|
+
<View style={{ padding: 10, paddingTop: 0, marginBottom: 10 }}>
|
|
347
|
+
<View style={{ marginBottom: 15, flex: 1, flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }}>
|
|
348
|
+
<TouchableOpacity onPress={() => {
|
|
349
|
+
setActiveTab(1)
|
|
350
|
+
setSelectedModePay(getFullPay())
|
|
351
|
+
props.onPressPayment({ ...data, card_installment_count: 0, charge: getFullPay()?.fee, charge_percent: getFullPay()?.fee_percent })
|
|
352
|
+
}} style={{ flex: 1, marginVertical: 10 }}>
|
|
353
|
+
<Text allowFontScaling={false} style={{ opacity: activeTab == 1 ? 1 : 0.3, fontWeight: activeTab == 1 ? 'bold' : 'normal', fontSize: 14 }}>{esp.lang("bigbang/payment_list", "full_payment")}</Text>
|
|
354
|
+
<View style={{ marginTop: 3, width: 30, height: 3, borderRadius: 3, backgroundColor: activeTab == 1 ? LibStyle.colorPrimary : '#fff' }} />
|
|
355
|
+
</TouchableOpacity>
|
|
356
|
+
<TouchableOpacity onPress={() => {
|
|
357
|
+
setActiveTab(2)
|
|
358
|
+
if (listInstallment?.result?.length > 0) {
|
|
359
|
+
let firstIndex = listInstallment?.result?.[0]
|
|
360
|
+
setSelectedModePay(firstIndex)
|
|
361
|
+
props.onPressPayment({ ...data, card_installment_count: firstIndex?.count, card_installment_interval: firstIndex?.interval, charge: firstIndex?.installment_fee, charge_percent: firstIndex?.installment_fee_percent })
|
|
362
|
+
}
|
|
363
|
+
}} style={{ flex: 1, marginVertical: 10, }}>
|
|
364
|
+
<Text allowFontScaling={false} style={{ opacity: activeTab == 2 ? 1 : 0.3, fontWeight: activeTab == 2 ? 'bold' : 'normal', fontSize: 14 }}>{esp.lang("bigbang/payment_list", "installment")}</Text>
|
|
365
|
+
<View style={{ marginTop: 3, width: 30, height: 3, borderRadius: 3, backgroundColor: activeTab == 2 ? LibStyle.colorPrimary : '#fff' }} />
|
|
366
|
+
</TouchableOpacity>
|
|
367
|
+
</View>
|
|
368
|
+
|
|
369
|
+
<UseCondition if={activeTab == 1}
|
|
370
|
+
fallback={
|
|
371
|
+
listInstallment?.result?.map((it: any, ii: number) => {
|
|
372
|
+
let selected = selectedModePay?.count == it?.count
|
|
373
|
+
return (
|
|
374
|
+
<TouchableOpacity onPress={() => {
|
|
375
|
+
setSelectedModePay(it)
|
|
376
|
+
props.onPressPayment({ ...data, card_installment_count: it?.count, card_installment_interval: it?.interval, charge: it?.installment_fee, charge_percent: it?.installment_fee_percent })
|
|
377
|
+
}} key={ii} style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center', flex: 1, marginBottom: 5, paddingBottom: 5, borderBottomWidth: 1, borderBottomColor: LibStyle.colorBgGrey }}>
|
|
378
|
+
<View style={{ flex: 1 }}>
|
|
379
|
+
<Text allowFontScaling={false} style={{ fontSize: 16, fontWeight: selected ? 'bold' : 'normal' }}>{LibUtils.money(Math.ceil(it.installment_amount), it?.currency)}</Text>
|
|
380
|
+
<Text allowFontScaling={false} style={applyStyle({ fontSize: 12, fontStyle: "normal", letterSpacing: 0, color: "#999" })}>{it?.interval}</Text>
|
|
381
|
+
</View>
|
|
382
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center', }}>
|
|
383
|
+
<Text allowFontScaling={false} style={applyStyle({ fontSize: 12, fontStyle: "normal", letterSpacing: 0 })}>{it?.count} x {it.interval}</Text>
|
|
384
|
+
<LibIcon name={selected ? "checkbox-marked-circle" : "checkbox-blank-circle-outline"} style={{ marginLeft: 15, color: selected ? LibStyle.colorGreen : LibStyle.colorBrown }} size={20} />
|
|
385
|
+
</View>
|
|
386
|
+
</TouchableOpacity>
|
|
387
|
+
)
|
|
388
|
+
})
|
|
389
|
+
}>
|
|
390
|
+
<TouchableOpacity onPress={() => {
|
|
391
|
+
setSelectedModePay(getFullPay())
|
|
392
|
+
props.onPressPayment({ ...data, card_installment_count: 0, charge: getFullPay()?.fee, charge_percent: getFullPay()?.fee_percent })
|
|
393
|
+
}} style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center', flex: 1, marginBottom: 5, paddingBottom: 5, borderBottomWidth: 1, borderBottomColor: LibStyle.colorBgGrey }}>
|
|
394
|
+
<Text allowFontScaling={false} style={{ flex: 1, fontSize: 16, fontWeight: selectedModePay && selectedModePay?.count == 0 ? 'bold' : 'normal' }}>{LibUtils.money(getFullPay()?.installment_amount, props.currency)}</Text>
|
|
395
|
+
<LibIcon name={selectedModePay && selectedModePay?.count == 0 ? "checkbox-marked-circle" : "checkbox-blank-circle-outline"} style={{ marginLeft: 15, color: selectedModePay && selectedModePay?.count == 0 ? LibStyle.colorGreen : LibStyle.colorBrown }} size={20} />
|
|
396
|
+
</TouchableOpacity>
|
|
397
|
+
</UseCondition>
|
|
398
|
+
|
|
399
|
+
</View>
|
|
400
|
+
</UseCondition>
|
|
401
|
+
|
|
402
|
+
</View>
|
|
403
|
+
))
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
<ComponentButton label={mycards?.length > 0 ? esp.lang("bigbang/payment_list", "manage_card") : esp.lang("bigbang/payment_list", "add_new")} style={{ opacity: lessThanMinAmount ? 0.3 : 1, marginBottom: 10 }} backgroundColor='white' borderColor={"#6c432c"} fontColor={"#6c432c"} onPress={() => {
|
|
408
|
+
if (lessThanMinAmount) {
|
|
409
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "min_amount") + LibUtils.money(item2?.minimum_amount))
|
|
410
|
+
} else {
|
|
411
|
+
if (mycards?.length > 0) {
|
|
412
|
+
//manage cc
|
|
413
|
+
LibNavigation.navigateForResult('payment/cc', { manage: 1 }, 997).then((x) => {
|
|
414
|
+
executeResult(x)
|
|
415
|
+
})
|
|
416
|
+
} else {
|
|
417
|
+
//add cc
|
|
418
|
+
LibNavigation.navigateForResult('payment/cc_edit', undefined, 997).then((x) => {
|
|
419
|
+
executeResult(x)
|
|
420
|
+
})
|
|
421
|
+
}
|
|
422
|
+
const executeResult = (x: any) => {
|
|
423
|
+
const post = { ...x, id: x?.card_id || 0, card_id: x?.card_id || 0, number: hideNumber(x.card_number) }
|
|
424
|
+
const findZeroIdIndx = mycards?.findIndex((t: any) => t.id == 0)
|
|
425
|
+
if (findZeroIdIndx > -1) {
|
|
426
|
+
setMycard((d: any) => LibObject.splice(d, findZeroIdIndx, 1, post)())
|
|
427
|
+
} else {
|
|
428
|
+
setMycard((d: any) => LibObject.push(d, post)())
|
|
429
|
+
}
|
|
430
|
+
stateData.set({ ...post, ...item2 })
|
|
431
|
+
props.onPressPayment({ ...post, ...item2 })
|
|
432
|
+
LibUtils.debounce(() => {
|
|
433
|
+
ccInstallment(post?.card_id, post?.card_number)
|
|
434
|
+
}, 300)
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}} />
|
|
438
|
+
|
|
439
|
+
</View>
|
|
440
|
+
</LibCollaps>
|
|
441
|
+
}
|
|
442
|
+
</View>
|
|
443
|
+
</View>
|
|
444
|
+
)
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
function renderItemGeneral(item: any, i: number) {
|
|
448
|
+
let lessThanMinAmount = Number(props.priceTotal) < Number(item?.minimum_amount)
|
|
449
|
+
let post = {
|
|
450
|
+
payment_id: Number(item.id),
|
|
451
|
+
total: Number(props.priceTotal)
|
|
452
|
+
}
|
|
453
|
+
return (
|
|
454
|
+
<View key={i}>
|
|
455
|
+
<TouchableOpacity activeOpacity={lessThanMinAmount ? 1 : 0} testID='payment_item' disabled={item && item.active == "0"} key={i} onPress={() => {
|
|
456
|
+
if (lessThanMinAmount) {
|
|
457
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "min_amount") + LibUtils.money(item?.minimum_amount))
|
|
458
|
+
} else {
|
|
459
|
+
stateData.reset()
|
|
460
|
+
props.onPressPayment(item)
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
}} >
|
|
464
|
+
<View style={applyStyle({ borderRadius: 5, marginVertical: 5, marginLeft: 15, marginRight: 15, padding: 7, backgroundColor: lessThanMinAmount ? LibStyle.colorBgGrey : (item.id == props.paymentId ? '#f6f6f6' : item.active == '0' ? '#e6e6e6' : '#FFF'), ...LibStyle.elevation(2) })} >
|
|
465
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' })}>
|
|
466
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', flexDirection: 'row' })}>
|
|
467
|
+
<LibPicture source={{ uri: item.image }} resizeMode='contain' style={applyStyle({ width: 35, height: 35 })} />
|
|
468
|
+
<Text allowFontScaling={false} style={applyStyle({ marginLeft: 15, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{item.title}</Text>
|
|
469
|
+
</View>
|
|
470
|
+
<LibIcon name={item.id == props.paymentId ? "checkbox-marked-circle" : item.id == '3' ? "chevron-right" : "checkbox-blank-circle-outline"} size={20} color={item.id == props.paymentId ? LibStyle.colorGreen : "#BDBDBD"} />
|
|
471
|
+
</View>
|
|
472
|
+
{
|
|
473
|
+
item.active && item.active == "0" &&
|
|
474
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 4, fontFamily: "Arial", fontSize: 10, fontStyle: "normal", letterSpacing: 0, color: LibStyle.colorRed })}>{item.info}</Text>
|
|
475
|
+
}
|
|
476
|
+
</View>
|
|
477
|
+
</TouchableOpacity>
|
|
478
|
+
|
|
479
|
+
{
|
|
480
|
+
item.type == "12" && props.paymentId == item.id &&
|
|
481
|
+
<LibCurl_view
|
|
482
|
+
key={counter}
|
|
483
|
+
url={"payment_paylater"}
|
|
484
|
+
post={post}
|
|
485
|
+
onSuccess={(res, msg) => {
|
|
486
|
+
return (
|
|
487
|
+
<View style={{ margin: 15, marginTop: 0 }}>
|
|
488
|
+
<Text allowFontScaling={false} style={{ marginVertical: 10, fontSize: 14, fontWeight: 'bold' }}>{res?.info?.label}</Text>
|
|
489
|
+
<View style={{ flexDirection: 'row', borderWidth: 1, borderColor: LibStyle.colorBgGrey, backgroundColor: LibStyle.colorBgGrey, alignContent: 'center', alignItems: 'center' }}>
|
|
490
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
491
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{esp.lang("bigbang/payment_list", "tenor")}</Text>
|
|
492
|
+
</View>
|
|
493
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
494
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{esp.lang("bigbang/payment_list", "installment_nominal")}</Text>
|
|
495
|
+
</View>
|
|
496
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
497
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{esp.lang("bigbang/payment_list", "nominal_total")}</Text>
|
|
498
|
+
</View>
|
|
499
|
+
</View>
|
|
500
|
+
{
|
|
501
|
+
res?.options?.length > 0 && res?.options?.map((item: any, i: number) => {
|
|
502
|
+
return (
|
|
503
|
+
<View key={i + 1 + "ii"} style={{ backgroundColor: '#f6f6f6', flexDirection: 'row', borderWidth: 1, borderColor: LibStyle.colorBgGrey, alignContent: 'center', alignItems: 'center' }}>
|
|
504
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
505
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{item.total_recurrence} {item.interval}</Text>
|
|
506
|
+
<Text allowFontScaling={false} style={{ opacity: 0.7, fontSize: 9 }}>{esp.lang("bigbang/payment_list", "interest_rate") + item.interest_rate + "%"}</Text>
|
|
507
|
+
</View>
|
|
508
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
509
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{LibUtils.money(item?.installment_amount)}</Text>
|
|
510
|
+
</View>
|
|
511
|
+
<View style={{ alignContent: 'center', paddingLeft: 10, justifyContent: 'center', height: 45, borderWidth: 1, borderColor: "#fff", flex: 1 }}>
|
|
512
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 12 }}>{LibUtils.money(item?.total_amount)}</Text>
|
|
513
|
+
</View>
|
|
514
|
+
</View>
|
|
515
|
+
)
|
|
516
|
+
})
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
<Text allowFontScaling={false} style={{ opacity: 0.7, letterSpacing: 0.5, marginBottom: 0, marginVertical: 10, fontSize: 12 }}>{res?.info?.description}</Text>
|
|
520
|
+
|
|
521
|
+
</View>
|
|
522
|
+
)
|
|
523
|
+
}}
|
|
524
|
+
onError={(err) => {
|
|
525
|
+
return (
|
|
526
|
+
<ComponentMessage
|
|
527
|
+
message={err?.message}
|
|
528
|
+
children={
|
|
529
|
+
<ComponentButton
|
|
530
|
+
label={esp.lang("bigbang/payment_list", "try_again")}
|
|
531
|
+
style={{ marginHorizontal: 40 }}
|
|
532
|
+
onPress={() => setCounter(counter + 1)}
|
|
533
|
+
/>
|
|
534
|
+
}
|
|
535
|
+
/>
|
|
536
|
+
)
|
|
537
|
+
}}
|
|
538
|
+
onLoading={
|
|
539
|
+
<LibLoading />
|
|
540
|
+
}
|
|
541
|
+
/>
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
</View>
|
|
545
|
+
)
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
function renderItem(item: any, i: number) {
|
|
549
|
+
if (item.type == '4' && isAllowedPayment(props.order_type, item.allowed_payment)) { /* bbo pay */
|
|
550
|
+
return (
|
|
551
|
+
<View key={i}>
|
|
552
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode={"tail"} style={applyStyle({ margin: 15, marginBottom: 5, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{item.title}</Text>
|
|
553
|
+
<TouchableOpacity onPress={() => {
|
|
554
|
+
stateData.reset()
|
|
555
|
+
if (Number(user.saldo) >= (Number(props.priceTotal) - Number(props.chargeTotal || 0) - Number(_discount) - Number(voucherAmount))) {
|
|
556
|
+
props.onPressPayment(item)
|
|
557
|
+
} else {
|
|
558
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "alert_saldo"))
|
|
559
|
+
}
|
|
560
|
+
}} >
|
|
561
|
+
<View style={applyStyle({ borderRadius: 5, marginVertical: 5, marginLeft: 15, marginRight: 15, padding: 7, backgroundColor: user.saldo < ((Number(props.priceTotal) - Number(props.chargeTotal || 0) - Number(_discount) - Number(voucherAmount))) ? '#f6f6f6' : item.id == props.paymentId ? '#f6f6f6' : '#FFF', ...LibStyle.elevation(2) })}>
|
|
562
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' })} >
|
|
563
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', flexDirection: 'row' })}>
|
|
564
|
+
<LibPicture source={{ uri: item.image }} style={applyStyle({ width: 35, height: 35 })} />
|
|
565
|
+
<Text allowFontScaling={false} style={applyStyle({ marginLeft: 15, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{item.title}</Text>
|
|
566
|
+
</View>
|
|
567
|
+
{
|
|
568
|
+
user?.config?.can_topup != 0 && Number(user.saldo) < ((Number(props.priceTotal) - Number(props.chargeTotal || 0) - Number(_discount) - Number(voucherAmount))) &&
|
|
569
|
+
<ComponentTouchable onPress={() => {
|
|
570
|
+
stateData.reset()
|
|
571
|
+
LibNavigation.navigate('topup/payment')
|
|
572
|
+
}} >
|
|
573
|
+
<View style={applyStyle({ width: 75, height: 20, borderRadius: 11, backgroundColor: '#fff', borderStyle: "solid", borderWidth: 0.5, borderColor: "#04b995", justifyContent: 'center' })}>
|
|
574
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 11, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#04b995" })}>{esp.lang("bigbang/payment", "topup_btn")}</Text>
|
|
575
|
+
</View>
|
|
576
|
+
</ComponentTouchable>
|
|
577
|
+
}
|
|
578
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{LibUtils.money(user.saldo)}</Text>
|
|
579
|
+
<LibIcon name={item.id == props.paymentId ? "checkbox-marked-circle" : "checkbox-blank-circle-outline"} size={20} color={item.id == props.paymentId ? LibStyle.colorGreen : "#BDBDBD"} />
|
|
580
|
+
</View>
|
|
581
|
+
{
|
|
582
|
+
props.order_type != 5 && props.priceTotal > 0 &&
|
|
583
|
+
<View style={applyStyle({ borderColor: '#FC9722', backgroundColor: '#FDF1DE', borderWidth: 1, borderRadius: 5, padding: 5, marginTop: 5 })} >
|
|
584
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 12, fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{esp.lang("bigbang/payment_list", "text_pay_less")}</Text>
|
|
585
|
+
</View>
|
|
586
|
+
}
|
|
587
|
+
</View>
|
|
588
|
+
</TouchableOpacity>
|
|
589
|
+
</View>
|
|
590
|
+
)
|
|
591
|
+
} else if (item.type == '9' && user?.is_open_wallet == 1 && isAllowedPayment(props.order_type, item.allowed_payment)) { /* bbo wallet */
|
|
592
|
+
return (
|
|
593
|
+
<View key={i}>
|
|
594
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode={"tail"} style={applyStyle({ margin: 15, marginBottom: 5, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{item.title}</Text>
|
|
595
|
+
<TouchableOpacity onPress={() => {
|
|
596
|
+
stateData.reset()
|
|
597
|
+
if (Number(user.saldo_wallet) >= (Number(props.priceTotal) - Number(_discount))) {
|
|
598
|
+
props.onPressPayment(item)
|
|
599
|
+
} else {
|
|
600
|
+
LibToastProperty.show(esp.lang("bigbang/payment_list", "alert_saldo"))
|
|
601
|
+
}
|
|
602
|
+
}} >
|
|
603
|
+
<View style={applyStyle({ borderRadius: 5, marginVertical: 5, marginLeft: 15, marginRight: 15, padding: 7, backgroundColor: user.saldo < ((Number(props.priceTotal) - Number(_discount))) ? '#f6f6f6' : item.id == props.paymentId ? '#f6f6f6' : '#FFF', ...LibStyle.elevation(2) })}>
|
|
604
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' })} >
|
|
605
|
+
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', flexDirection: 'row' })}>
|
|
606
|
+
<LibPicture source={{ uri: item.image }} style={applyStyle({ width: 35, height: 35 })} />
|
|
607
|
+
<Text allowFontScaling={false} style={applyStyle({ marginLeft: 15, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{item.title}</Text>
|
|
608
|
+
</View>
|
|
609
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#4a4a4a" })}>{LibUtils.money(user.saldo_wallet)}</Text>
|
|
610
|
+
<LibIcon name={item.id == props.paymentId ? "checkbox-marked-circle" : "checkbox-blank-circle-outline"} size={20} color={item.id == props.paymentId ? LibStyle.colorGreen : "#BDBDBD"} />
|
|
611
|
+
</View>
|
|
612
|
+
</View>
|
|
613
|
+
</TouchableOpacity>
|
|
614
|
+
</View>
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
} else if (item.type == '3' && isAllowedPayment(props.order_type, item.allowed_payment)) { /* cc */
|
|
618
|
+
return (
|
|
619
|
+
<View key={i}>
|
|
620
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode={"tail"} style={applyStyle({ margin: 15, marginBottom: 5, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{item.title}</Text>
|
|
621
|
+
{
|
|
622
|
+
renderItemCC(item, 0)
|
|
623
|
+
}
|
|
624
|
+
</View>
|
|
625
|
+
)
|
|
626
|
+
} else if (item.type == "1" || item.type == "12" || item.type == "13" && props.priceTotal > 0 && isAllowedPayment(props.order_type, item.allowed_payment)) { /* bank & paylater & ewallet */
|
|
627
|
+
return (
|
|
628
|
+
<View key={i}>
|
|
629
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode={"tail"} style={applyStyle({ margin: 15, marginBottom: 5, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{item.title}</Text>
|
|
630
|
+
{
|
|
631
|
+
item?.list && item?.list?.filter((x: any) => x.publish == 1)?.map(renderItemGeneral)
|
|
632
|
+
}
|
|
633
|
+
</View>
|
|
634
|
+
)
|
|
635
|
+
} else if (item.type != "5" && props.priceTotal > 0 && isAllowedPayment(props.order_type, item.allowed_payment)) { // selain voucher
|
|
636
|
+
return (
|
|
637
|
+
<View key={i}>
|
|
638
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode={"tail"} style={applyStyle({ margin: 15, marginBottom: 5, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{item.title}</Text>
|
|
639
|
+
|
|
640
|
+
{
|
|
641
|
+
renderItemGeneral(item, 0)
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
</View>
|
|
645
|
+
)
|
|
646
|
+
} else {
|
|
647
|
+
return null
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
return (
|
|
653
|
+
<View>
|
|
654
|
+
<UseCondition if={urlInstallment}>
|
|
655
|
+
<WebView source={{ uri: urlInstallment }} onMessage={(e) => {
|
|
656
|
+
setShowShimmer(false)
|
|
657
|
+
let result = JSON.parse(e.nativeEvent.data)
|
|
658
|
+
setSelectedModePay(getFullPay())
|
|
659
|
+
setListInstallment(result);
|
|
660
|
+
}} style={{ height: 0, width: 0 }} />
|
|
661
|
+
</UseCondition>
|
|
662
|
+
|
|
663
|
+
<LibCurl_view
|
|
664
|
+
key={counterRetry}
|
|
665
|
+
url={props.url_payment ? props.url_payment : 'payment?order_type=' + props.order_type}
|
|
666
|
+
post={props.url_payment?.startsWith("http") ? null : (props.order_type == 1 || props.order_type == 14 ? post : null)}
|
|
667
|
+
onSuccess={(res, msg) => {
|
|
668
|
+
let _pay: any = []
|
|
669
|
+
if (!props.supportCod) {
|
|
670
|
+
_pay = res?.filter((itm: any) => itm.type != 6)
|
|
671
|
+
} else {
|
|
672
|
+
_pay = res
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
return (
|
|
676
|
+
<View>
|
|
677
|
+
{
|
|
678
|
+
LibUtils.checkUndefined(_pay, '0') && _pay?.filter((x: any) => x.publish == 1)?.map(renderItem)
|
|
679
|
+
}
|
|
680
|
+
</View>
|
|
681
|
+
)
|
|
682
|
+
}}
|
|
683
|
+
onError={(err) => {
|
|
684
|
+
return (
|
|
685
|
+
<ComponentMessage
|
|
686
|
+
message={err?.message}
|
|
687
|
+
children={
|
|
688
|
+
<ComponentButton
|
|
689
|
+
label={esp.lang("bigbang/payment_list", "try_again")}
|
|
690
|
+
style={{ marginHorizontal: 40 }}
|
|
691
|
+
onPress={() => {
|
|
692
|
+
setCounterRetry(counterRetry + 1)
|
|
693
|
+
}}
|
|
694
|
+
/>
|
|
695
|
+
}
|
|
696
|
+
/>
|
|
697
|
+
)
|
|
698
|
+
}}
|
|
699
|
+
onLoading={
|
|
700
|
+
<LibLoading />
|
|
701
|
+
}
|
|
702
|
+
/>
|
|
703
|
+
|
|
704
|
+
</View>
|
|
705
|
+
)
|
|
706
|
+
}
|