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,814 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
import { ComponentButton } from 'esoftplay/cache/component/button/import';
|
|
3
|
+
import { ComponentHeader } from 'esoftplay/cache/component/header/import';
|
|
4
|
+
import { ComponentQr_bg } from 'esoftplay/cache/component/qr_bg/import';
|
|
5
|
+
import { ComponentRating } from 'esoftplay/cache/component/rating/import';
|
|
6
|
+
import { ComponentSlidingup } from 'esoftplay/cache/component/slidingup/import';
|
|
7
|
+
import { ComponentStep } from 'esoftplay/cache/component/step/import';
|
|
8
|
+
import { ComponentTouchable } from 'esoftplay/cache/component/touchable/import';
|
|
9
|
+
import { EventOrder_itemProperty } from 'esoftplay/cache/event/order_item/import';
|
|
10
|
+
import { EventReviewProperty } from 'esoftplay/cache/event/review/import';
|
|
11
|
+
import { EventReview_addProperty } from 'esoftplay/cache/event/review_add/import';
|
|
12
|
+
import { LibCarrousel_snap } from 'esoftplay/cache/lib/carrousel_snap/import';
|
|
13
|
+
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
14
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
15
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
16
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
17
|
+
import { LibProgress } from 'esoftplay/cache/lib/progress/import';
|
|
18
|
+
import { LibScroll } from 'esoftplay/cache/lib/scroll/import';
|
|
19
|
+
import { LibSkeleton } from 'esoftplay/cache/lib/skeleton/import';
|
|
20
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
21
|
+
import { LibTextstyle } from 'esoftplay/cache/lib/textstyle/import';
|
|
22
|
+
import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
|
|
23
|
+
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
24
|
+
import { UseSecure_page } from 'esoftplay/cache/use/secure_page/import';
|
|
25
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
26
|
+
import { UserPopup } from 'esoftplay/cache/user/popup/import';
|
|
27
|
+
|
|
28
|
+
import { applyStyle } from 'esoftplay';
|
|
29
|
+
import { ComponentAlert } from 'esoftplay/cache/component/alert/import';
|
|
30
|
+
import { EventIndexProperty } from 'esoftplay/cache/event/index/import';
|
|
31
|
+
import { EventOrder_detail_upgrade_button } from 'esoftplay/cache/event/order_detail_upgrade_button/import';
|
|
32
|
+
import { LibHtmltext } from 'esoftplay/cache/lib/htmltext/import';
|
|
33
|
+
import { UseCondition } from 'esoftplay/cache/use/condition/import';
|
|
34
|
+
import esp from 'esoftplay/esp';
|
|
35
|
+
import moment from 'esoftplay/moment';
|
|
36
|
+
import useSafeState from 'esoftplay/state';
|
|
37
|
+
import useGlobalSubscriber, { useGlobalSubscriberReturn } from 'esoftplay/subscribe';
|
|
38
|
+
import React, { useEffect, useRef } from 'react';
|
|
39
|
+
import { Linking, Pressable, Text, TouchableOpacity, View } from 'react-native';
|
|
40
|
+
import QRCode from 'react-native-qrcode-svg';
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
export interface EventOrder_detailProps {
|
|
44
|
+
navigation: any
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
function renderTermItem(item: any, i: number) {
|
|
49
|
+
return (
|
|
50
|
+
<View key={i}>
|
|
51
|
+
<ComponentStep text={item} />
|
|
52
|
+
</View>
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
let urlsInstruction: any[] = []
|
|
58
|
+
|
|
59
|
+
const subs = useGlobalSubscriber()
|
|
60
|
+
export function subscribe(): useGlobalSubscriberReturn {
|
|
61
|
+
return subs
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function getStringReview(data: any) {
|
|
65
|
+
const groupedData = data.reduce((acc: any[], obj: any) => {
|
|
66
|
+
const { survey_id, survey_question, survey_option, content } = obj;
|
|
67
|
+
|
|
68
|
+
if (!acc[survey_id]) {
|
|
69
|
+
acc[survey_id] = {
|
|
70
|
+
survey_id,
|
|
71
|
+
survey_question,
|
|
72
|
+
values: []
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (survey_option) {
|
|
77
|
+
acc[survey_id].values.push(survey_option);
|
|
78
|
+
}
|
|
79
|
+
if (content) {
|
|
80
|
+
acc[survey_id].values.push(content);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return acc;
|
|
84
|
+
}, {});
|
|
85
|
+
|
|
86
|
+
const finalResult = Object.values(groupedData).map((group: any) => {
|
|
87
|
+
const { survey_question, values } = group;
|
|
88
|
+
const valuesString = values.join(", ");
|
|
89
|
+
return `\nQ: ${survey_question}\nA: ${valuesString}`;
|
|
90
|
+
})
|
|
91
|
+
return finalResult
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export default function m(props: EventOrder_detailProps): any {
|
|
97
|
+
const LibCurl = esp.mod("lib/curl")
|
|
98
|
+
|
|
99
|
+
UseSecure_page()
|
|
100
|
+
const [user] = UserClass.state().useState()
|
|
101
|
+
|
|
102
|
+
let showQR = useRef<ComponentSlidingup>(null)
|
|
103
|
+
const dialogSendBack = useRef<ComponentSlidingup>(null)
|
|
104
|
+
const url = LibNavigation.getArgs(props, 'url')
|
|
105
|
+
const [result, setResult] = useSafeState<any>(EventIndexProperty.stateTicketCache()?.get()?.filter?.((x: any) => x.url?.replace?.('?id=', '/') == url?.replace?.('?id=', '/'))?.[0]?.detail)
|
|
106
|
+
const [tickets, setTickets] = useSafeState(result?.detail_ticket?.tickets ?? [])
|
|
107
|
+
const useIndividualQr = result?.config?.use_individual_qr_ticket
|
|
108
|
+
|
|
109
|
+
const dataTickets = tickets?.filter?.((x: ItemTiket) => x?.email == user?.email && x?.ticket_code != '')
|
|
110
|
+
|
|
111
|
+
const [coupons, setCoupons] = useSafeState<any>()
|
|
112
|
+
const [qty, setQty] = useSafeState<number>(1)
|
|
113
|
+
|
|
114
|
+
const dataOfflineReview = EventReview_addProperty.state().get()
|
|
115
|
+
let availableOfflineReview = dataOfflineReview?.filter((z: any) => z?.booking_id == result?.id)
|
|
116
|
+
|
|
117
|
+
const [dataReview, setDataReview] = useSafeState<any>(availableOfflineReview?.length == 1 ? availableOfflineReview[0] : result?.detail_review)
|
|
118
|
+
|
|
119
|
+
urlsInstruction = []
|
|
120
|
+
result?.instructions?.map?.((item: any) => {
|
|
121
|
+
let matches = item.match(/(https?:\/\/[^\s]+)/g);
|
|
122
|
+
if (matches) {
|
|
123
|
+
urlsInstruction.push(...matches)
|
|
124
|
+
}
|
|
125
|
+
})
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
moment().locale?.('id')
|
|
129
|
+
|
|
130
|
+
const imgWidth = LibStyle.width - 30
|
|
131
|
+
const imgHeight = imgWidth / 1920 * 1080
|
|
132
|
+
// const imgHeight = imgWidth / 2
|
|
133
|
+
|
|
134
|
+
function loadData(): void {
|
|
135
|
+
new LibCurl(url + ((url.includes("?") ? "&" : "?") + 't=' + new Date().getTime()), null, (res: any) => {
|
|
136
|
+
setResult(res)
|
|
137
|
+
// esp.log(res);
|
|
138
|
+
|
|
139
|
+
new LibCurl(res?.url_coupon, null, (ress: any) => {
|
|
140
|
+
setCoupons(ress)
|
|
141
|
+
}, (error: any) => {
|
|
142
|
+
// setEmptyCoupons(error)
|
|
143
|
+
})
|
|
144
|
+
|
|
145
|
+
if (res?.review_status != 0) {
|
|
146
|
+
loadDetailReview(res?.url_review)
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// ngirim review offline ke server
|
|
150
|
+
if (availableOfflineReview?.length > 0) {
|
|
151
|
+
sendReview(availableOfflineReview[0])
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// // load data untuk upgrade tiket
|
|
155
|
+
// if (res?.is_upgradable == 1) {
|
|
156
|
+
// loadDataUpgradeTicket(res?.url_upgrade)
|
|
157
|
+
// }
|
|
158
|
+
|
|
159
|
+
new LibCurl(res?.url_ticket, null,
|
|
160
|
+
(res: any, msg: string) => {
|
|
161
|
+
setTickets(res.tickets)
|
|
162
|
+
}, (err: any) => {
|
|
163
|
+
LibToastProperty.show(err.message)
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
}, (error: any) => {
|
|
168
|
+
const transformedUrl = url?.includes("?id=") ? url?.replace(/\?id=/, '/') : url
|
|
169
|
+
const urlArr = transformedUrl?.split("/")
|
|
170
|
+
const id = urlArr[urlArr.length - 1]
|
|
171
|
+
LibDialog.warningConfirm(esp.lang("event/order_detail", "load_err"), error?.message, esp.lang("event/order_detail", "closed"), () => {
|
|
172
|
+
}, "", () => {
|
|
173
|
+
LibNavigation.navigate('event/order_detail_visitor', { url: "event_order_detail_ticket/" + id, url_addition: "event_order_detail_addition/" + id })
|
|
174
|
+
})
|
|
175
|
+
LibNavigation.back()
|
|
176
|
+
})
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
useEffect(() => {
|
|
180
|
+
loadData()
|
|
181
|
+
}, [])
|
|
182
|
+
|
|
183
|
+
function sendReview(data: any) {
|
|
184
|
+
new LibCurl(data?.url, data?.post, (res: any, msg: any) => {
|
|
185
|
+
let a = EventReview_addProperty.state().get()?.filter((it: any) => {
|
|
186
|
+
return it.booking_id != availableOfflineReview[0].booking_id
|
|
187
|
+
})
|
|
188
|
+
EventReview_addProperty.state().set(a)
|
|
189
|
+
}, (err: any) => {
|
|
190
|
+
// LibProgress.hide()
|
|
191
|
+
// LibToastProperty.show(err?.message)
|
|
192
|
+
}, 1)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function loadDetailReview(url: any) {
|
|
196
|
+
new LibCurl(url, null, (ress: any) => {
|
|
197
|
+
setDataReview(ress)
|
|
198
|
+
}, (error: any) => {
|
|
199
|
+
// setEmptyCoupons(error)
|
|
200
|
+
})
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
subs.useSubscribe(() => {
|
|
204
|
+
loadData()
|
|
205
|
+
setDataReview(subs.getValue())
|
|
206
|
+
})
|
|
207
|
+
|
|
208
|
+
function doCancel(url: string): void {
|
|
209
|
+
LibDialog.warningConfirm(esp.lang("event/order_detail", "confirm"), esp.lang("event/order_detail", "cancel_this_order"), esp.lang("event/order_detail", "btn_yes"), () => {
|
|
210
|
+
LibProgress.show(esp.lang("event/order_detail", "please_wait"))
|
|
211
|
+
new LibCurl(url, null, (result: any, msg: any) => {
|
|
212
|
+
LibProgress.hide()
|
|
213
|
+
LibNavigation.back()
|
|
214
|
+
}, (error: any) => {
|
|
215
|
+
LibDialog.warning(esp.lang("event/order_detail", "cancel_err"), error?.message);
|
|
216
|
+
LibProgress.hide()
|
|
217
|
+
}, 1)
|
|
218
|
+
}, esp.lang("event/order_detail", "btn_cancel"), () => {
|
|
219
|
+
|
|
220
|
+
})
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
function addReturn(): void {
|
|
224
|
+
if (qty < Number(result.qty_returnable)) {
|
|
225
|
+
setQty(qty + 1)
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function minReturn(): void {
|
|
230
|
+
setQty(qty == 1 ? 1 : qty - 1)
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function sendBack() {
|
|
234
|
+
LibDialog.confirm(esp.lang("event/order_detail", "warning"), esp.lang("event/order_detail", "return_this_ticket"), esp.lang("event/order_detail", "btn_yes"), () => {
|
|
235
|
+
LibProgress.show(esp.lang("event/order_detail", "please_wait"))
|
|
236
|
+
new LibCurl('event_booking_shared_return?booking_id=' + result?.id + '&qty_shared=' + qty, null, (res: any, msg: any) => {
|
|
237
|
+
// LibNotify(res)
|
|
238
|
+
LibProgress.hide()
|
|
239
|
+
LibDialog.info(esp.lang("event/order_detail", "information"), msg)
|
|
240
|
+
LibNavigation.back()
|
|
241
|
+
}, (error: any) => {
|
|
242
|
+
LibProgress.hide()
|
|
243
|
+
LibDialog.warning(esp.lang("event/order_detail", "back_err"), error?.message);
|
|
244
|
+
LibNavigation.back()
|
|
245
|
+
}, 1)
|
|
246
|
+
}, esp.lang("event/order_detail", "btn_cancel"), () => { })
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (result == undefined && !coupons) {
|
|
250
|
+
return (
|
|
251
|
+
<View style={{ flex: 1, backgroundColor: '#f6f6f6' }}>
|
|
252
|
+
<ComponentHeader title={esp.lang("event/order_detail", "order_detail")} />
|
|
253
|
+
<LibSkeleton>
|
|
254
|
+
<View style={applyStyle({ margin: 15, marginBottom: 0, borderRadius: 7, backgroundColor: '#fff', height: '10%', width: '92.5%' })} />
|
|
255
|
+
<View style={{ margin: 15, marginBottom: 0, borderTopLeftRadius: 7, borderTopRightRadius: 7, width: '92.5%', height: '50%', backgroundColor: '#fff' }} />
|
|
256
|
+
<View style={{ margin: 15, marginBottom: 0, borderRadius: 7, backgroundColor: '#fff', height: '20%', width: '92.5%' }} />
|
|
257
|
+
<View style={{ margin: 15, borderRadius: 7, backgroundColor: '#fff', height: '30%', width: '92.5%' }} />
|
|
258
|
+
</LibSkeleton>
|
|
259
|
+
</View>
|
|
260
|
+
)
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const curr = result?.hasOwnProperty('currency') ? result?.currency : ''
|
|
264
|
+
|
|
265
|
+
const dateRange = LibUtils.getDateRange(result?.start_date, result?.end_date, " - ")
|
|
266
|
+
let isInvitationDate = result?.ondate == "0000-00-00" && result?.kind_detail?.use_code == 1
|
|
267
|
+
let isOnlineWithoutDate = result?.ondate == "0000-00-00" && result?.kind_detail?.everyday_pass == 0
|
|
268
|
+
|
|
269
|
+
if ((result?.status == 1 || (result?.qty == 0 && result?.qty_shared > 0)) && result?.is_reschedule == 1) {
|
|
270
|
+
return (
|
|
271
|
+
<View style={{ flex: 1, backgroundColor: '#f6f6f6' }}>
|
|
272
|
+
<ComponentHeader title={esp.lang("event/order_detail", "order_detail")} />
|
|
273
|
+
<View style={[{ margin: 18, borderTopLeftRadius: 7, borderTopRightRadius: 7, backgroundColor: '#fff', paddingBottom: 10 }, LibStyle.elevation(3)]}>
|
|
274
|
+
|
|
275
|
+
<ComponentTouchable onPress={() => {
|
|
276
|
+
LibNavigation.navigate('lib/gallery', { image: result?.image })
|
|
277
|
+
}}>
|
|
278
|
+
<LibPicture source={{ uri: result?.image }} style={{ borderTopLeftRadius: 7, borderTopRightRadius: 7, height: imgHeight, width: imgWidth }} resizeMode="cover" />
|
|
279
|
+
</ComponentTouchable>
|
|
280
|
+
<View style={{ flexDirection: 'row', margin: 14, marginTop: 4, justifyContent: 'space-between' }}>
|
|
281
|
+
<View style={{ marginTop: 14 }}>
|
|
282
|
+
<LibHtmltext allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{esp.lang("event/order_detail", "ticket")}{result?.price_name}</LibHtmltext>
|
|
283
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
284
|
+
<LibIcon name="ticket-outline" size={20} />
|
|
285
|
+
<Text allowFontScaling={false} style={{ marginLeft: 6, fontFamily: "Arial", fontSize: 30, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{result?.qty}</Text>
|
|
286
|
+
<Text allowFontScaling={false} style={{ marginLeft: 4, fontFamily: "Arial", fontSize: 16, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{esp.lang("event/order_detail", "ticket")}</Text>
|
|
287
|
+
</View>
|
|
288
|
+
<UseCondition if={result?.show_ticket_status == 1 && result?.status == 1 || result?.status == 3 || result?.status == 6}>
|
|
289
|
+
<Text allowFontScaling={false} style={{ fontSize: 12, fontWeight: "normal", fontStyle: "normal", flexWrap: 'wrap', letterSpacing: 0, marginBottom: 12, color: "#484848" }}>
|
|
290
|
+
{
|
|
291
|
+
result?.qty_used == 0 ? esp.lang("event/order", "have_not_been_used")
|
|
292
|
+
:
|
|
293
|
+
result.kind_detail?.everyday_pass == 1 ?
|
|
294
|
+
"(" + result?.qty_used_today + " " + esp.lang("event/order_detail", "used_today") + ")"
|
|
295
|
+
:
|
|
296
|
+
"(" + result?.qty_used + " " + esp.lang("event/order_detail", "used") + ")"
|
|
297
|
+
}
|
|
298
|
+
</Text>
|
|
299
|
+
</UseCondition>
|
|
300
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
301
|
+
<LibIcon name="calendar-blank-outline" size={20} />
|
|
302
|
+
<Text allowFontScaling={false} style={{ marginLeft: 6, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{result?.ondate != "0000-00-00" ? moment(result?.ondate).localeFormat("DD MMMM YYYY") : ((isInvitationDate || isOnlineWithoutDate) ? esp.lang("event/order_item", "used_once") : dateRange)}</Text>
|
|
303
|
+
</View>
|
|
304
|
+
</View>
|
|
305
|
+
{
|
|
306
|
+
result?.status == "1" &&
|
|
307
|
+
<View style={{ marginTop: 14, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
|
|
308
|
+
{
|
|
309
|
+
result?.qr != "" &&
|
|
310
|
+
<ComponentTouchable onPress={() => {
|
|
311
|
+
result?.status == "1" && showQR?.current?.show()
|
|
312
|
+
}}>
|
|
313
|
+
<ComponentQr_bg>
|
|
314
|
+
<QRCode ecl="H" size={80} value={result?.qr} />
|
|
315
|
+
</ComponentQr_bg>
|
|
316
|
+
</ComponentTouchable>
|
|
317
|
+
}
|
|
318
|
+
</View>
|
|
319
|
+
}
|
|
320
|
+
</View>
|
|
321
|
+
|
|
322
|
+
<View style={{ flexDirection: 'row', justifyContent: 'space-between' }} >
|
|
323
|
+
<View style={{ width: 19, height: 19, borderRadius: 9.5, backgroundColor: "#f6f6f6", marginLeft: -9.5 }} />
|
|
324
|
+
{/* <Text style={{ marginTop: 5, alignSelf: 'center', fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#f39c12" }} ></Text> */}
|
|
325
|
+
<View style={{ width: 19, height: 19, borderRadius: 9.5, backgroundColor: "#f6f6f6", marginRight: -9.5 }} />
|
|
326
|
+
</View>
|
|
327
|
+
|
|
328
|
+
<View style={{ margin: 14, flexDirection: 'row' }}>
|
|
329
|
+
<Text style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: LibStyle.colorRed }} >{result?.reschedule_notes}</Text>
|
|
330
|
+
</View>
|
|
331
|
+
{
|
|
332
|
+
result?.par_id > 0 ?
|
|
333
|
+
null
|
|
334
|
+
:
|
|
335
|
+
<ComponentButton onPress={() => {
|
|
336
|
+
LibNavigation.navigate('event/order_reschedule', { url: result?.url_reschedule })
|
|
337
|
+
}} label={result?.is_refundable == 1 ? esp.lang("event/order_detail", "refund_rescedule") : esp.lang("event/order_detail", "rescedule")} backgroundColor={LibStyle.colorGreen} style={{ marginLeft: 20, marginRight: 20, marginBottom: 10 }} />
|
|
338
|
+
}
|
|
339
|
+
</View>
|
|
340
|
+
</View>
|
|
341
|
+
)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
let startEvent = result?.start_date + " " + result?.start_time
|
|
345
|
+
let dateNow = LibUtils.moment().localeFormat("YYYY-MM-DD HH:mm")
|
|
346
|
+
|
|
347
|
+
const termData = result?.term ? Object.values(result?.term) : []
|
|
348
|
+
|
|
349
|
+
return (
|
|
350
|
+
<View style={{ flex: 1, backgroundColor: LibStyle.colorBgGrey }}>
|
|
351
|
+
<ComponentHeader title={esp.lang("event/order_detail", "order_detail")} />
|
|
352
|
+
<LibScroll onRefresh={loadData}>
|
|
353
|
+
{
|
|
354
|
+
(result?.status != 0)
|
|
355
|
+
&&
|
|
356
|
+
// detail ticket
|
|
357
|
+
<View style={{ margin: 15, marginBottom: 0, borderTopLeftRadius: 7, borderTopRightRadius: 7, backgroundColor: '#fff', paddingBottom: 10 }}>
|
|
358
|
+
<ComponentTouchable onPress={() => {
|
|
359
|
+
LibNavigation.navigate('lib/gallery', { image: result?.image })
|
|
360
|
+
}}>
|
|
361
|
+
<LibPicture source={{ uri: result?.image }} style={{ borderTopLeftRadius: 7, borderTopRightRadius: 7, height: imgHeight, width: imgWidth }} resizeMode="cover" />
|
|
362
|
+
</ComponentTouchable>
|
|
363
|
+
|
|
364
|
+
<Text allowFontScaling={false} numberOfLines={1} ellipsizeMode="tail" style={{ marginTop: 10, color: "#000", alignSelf: 'center', textAlign: 'center', fontSize: 20, fontWeight: 'bold' }}> {result?.event_name}</Text>
|
|
365
|
+
|
|
366
|
+
<View testID='price_name' style={{ marginTop: 10, borderWidth: 5, padding: 3, borderColor: result?.color, backgroundColor: EventOrder_itemProperty.textColor(result?.color) }}>
|
|
367
|
+
<View style={{ padding: 10, backgroundColor: result?.color, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
|
|
368
|
+
<LibHtmltext allowFontScaling={false} numberOfLines={1} ellipsizeMode="tail" style={{ color: EventOrder_itemProperty.textColor(result?.color), alignSelf: 'center', textAlign: 'center', fontSize: 20, fontWeight: 'bold' }}> {result?.price_name}</LibHtmltext>
|
|
369
|
+
</View>
|
|
370
|
+
</View>
|
|
371
|
+
|
|
372
|
+
<View style={{ marginTop: 15, flexDirection: 'row', justifyContent: 'space-between' }} >
|
|
373
|
+
<View style={{ width: 19, height: 19, borderRadius: 9.5, backgroundColor: LibStyle.colorBgGrey, marginLeft: -9.5 }} />
|
|
374
|
+
{/* <Text style={{ marginTop: 5, alignSelf: 'center', fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "center", color: "#f39c12" }} ></Text> */}
|
|
375
|
+
<View style={{ width: 19, height: 19, borderRadius: 9.5, backgroundColor: LibStyle.colorBgGrey, marginRight: -9.5 }} />
|
|
376
|
+
</View>
|
|
377
|
+
|
|
378
|
+
<View style={{ flexDirection: 'row', margin: 16, justifyContent: 'space-between', marginTop: 0 }}>
|
|
379
|
+
<View style={{ flex: 1 }}>
|
|
380
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
381
|
+
<LibIcon name="ticket-outline" size={20} />
|
|
382
|
+
<Text allowFontScaling={false} style={{ marginLeft: 6, fontFamily: "Arial", fontSize: 30, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{result?.qty}</Text>
|
|
383
|
+
<Text allowFontScaling={false} style={{ marginLeft: 4, fontFamily: "Arial", fontSize: 16, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{esp.lang("event/order_detail", "ticket")}</Text>
|
|
384
|
+
</View>
|
|
385
|
+
<UseCondition if={result?.show_ticket_status == 1 && result?.status == 1 || result?.status == 3 || result?.status == 6}>
|
|
386
|
+
<Text allowFontScaling={false} style={{ fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, marginBottom: 12, color: "#484848" }}>
|
|
387
|
+
{
|
|
388
|
+
result?.qty_used == 0 ? esp.lang("event/order", "have_not_been_used")
|
|
389
|
+
:
|
|
390
|
+
result.kind_detail?.everyday_pass == 1 ?
|
|
391
|
+
"(" + result?.qty_used_today + " " + esp.lang("event/order_detail", "used_today") + ")"
|
|
392
|
+
:
|
|
393
|
+
"(" + result?.qty_used + " " + esp.lang("event/order_detail", "used") + ")"
|
|
394
|
+
}
|
|
395
|
+
</Text>
|
|
396
|
+
</UseCondition>
|
|
397
|
+
{
|
|
398
|
+
result?.qty_shared > 0 &&
|
|
399
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', marginBottom: 5 }}>
|
|
400
|
+
<LibIcon name="share-variant-outline" size={20} color='#9b9b9b' />
|
|
401
|
+
<Text allowFontScaling={false} style={{ marginLeft: 6, fontFamily: "Arial", fontSize: 18, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#9b9b9b" }}>{result?.qty_shared}</Text>
|
|
402
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 16, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#9b9b9b" }}>{esp.lang("event/order_detail", "total_share")}</Text>
|
|
403
|
+
</View>
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
407
|
+
<LibIcon name="calendar-blank-outline" size={20} />
|
|
408
|
+
<Text allowFontScaling={false} style={{ flex: 1, marginRight: 10, marginLeft: 6, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#484848" }}>{result?.ondate != "0000-00-00" ? moment(result?.ondate).localeFormat("DD MMMM YYYY") : ((isInvitationDate || isOnlineWithoutDate) ? esp.lang("event/order_item", "used_once") : dateRange)}</Text>
|
|
409
|
+
</View>
|
|
410
|
+
{
|
|
411
|
+
result?.use_seat == 1 &&
|
|
412
|
+
<View style={{ marginTop: 15, marginRight: 10 }}>
|
|
413
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, marginBottom: 5, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "seat_number")}</Text>
|
|
414
|
+
<View style={{ flexDirection: 'row', flexWrap: 'wrap' }}>
|
|
415
|
+
{
|
|
416
|
+
tickets?.map((item: any, i: number) => {
|
|
417
|
+
return (
|
|
418
|
+
<View key={i} style={{ paddingVertical: 5, marginBottom: 7, paddingHorizontal: 7, borderWidth: 1, borderColor: '#000', backgroundColor: '#fff', borderRadius: 5, marginRight: 7 }}>
|
|
419
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 20, color: '#000' }}>{item.seat_name}</Text>
|
|
420
|
+
</View>
|
|
421
|
+
)
|
|
422
|
+
})
|
|
423
|
+
}
|
|
424
|
+
</View>
|
|
425
|
+
</View>
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
</View>
|
|
429
|
+
<View style={{ marginTop: 14, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
|
|
430
|
+
{
|
|
431
|
+
result?.qr != "" && useIndividualQr == 0 &&
|
|
432
|
+
<ComponentTouchable onPress={() => {
|
|
433
|
+
showQR?.current?.show()
|
|
434
|
+
}}>
|
|
435
|
+
<ComponentQr_bg>
|
|
436
|
+
<QRCode ecl="H" size={80} value={result?.qr} />
|
|
437
|
+
</ComponentQr_bg>
|
|
438
|
+
</ComponentTouchable>
|
|
439
|
+
}
|
|
440
|
+
</View>
|
|
441
|
+
</View>
|
|
442
|
+
|
|
443
|
+
</View>
|
|
444
|
+
}
|
|
445
|
+
{
|
|
446
|
+
useIndividualQr > 0 && dataTickets.length > 0 ?
|
|
447
|
+
<LibCarrousel_snap
|
|
448
|
+
data={dataTickets}
|
|
449
|
+
style={{ marginVertical: 10, marginBottom: 0, }}
|
|
450
|
+
itemMarginHorizontal={3}
|
|
451
|
+
itemWidth={LibStyle.width - 46}
|
|
452
|
+
maxWidth={LibStyle.width}
|
|
453
|
+
align={"center"}
|
|
454
|
+
renderItem={(item: ItemTiket, id: any) => {
|
|
455
|
+
return (
|
|
456
|
+
<View pointerEvents='none' style={{ width: LibStyle.width - 52, flexDirection: 'row', padding: 10, backgroundColor: 'white', borderWidth: 2, borderColor: LibStyle.colorPrimary, borderRadius: 5, overflow: 'hidden', alignItems: 'center' }} >
|
|
457
|
+
<LibTextstyle textStyle='m_h2' style={{ textAlignVertical: 'center', marginHorizontal: 10 }} text={(id + 1).toString()} />
|
|
458
|
+
<View style={{ marginLeft: 10, marginVertical: 10, flex: 1, justifyContent: 'flex-start' }} >
|
|
459
|
+
<LibTextstyle textStyle='headline' numberOfLines={1} text={item.name} ellipsizeMode='tail' />
|
|
460
|
+
<LibTextstyle textStyle='caption1' text={item.email} ellipsizeMode='tail' />
|
|
461
|
+
</View>
|
|
462
|
+
<ComponentQr_bg>
|
|
463
|
+
<QRCode value={item.ticket_code} size={70} />
|
|
464
|
+
</ComponentQr_bg>
|
|
465
|
+
</View>
|
|
466
|
+
)
|
|
467
|
+
}}
|
|
468
|
+
/>
|
|
469
|
+
: null
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
<ComponentAlert
|
|
473
|
+
color="#FFC523"
|
|
474
|
+
msg={esp.lang("event/order_detail", "not_allowed_ss")}
|
|
475
|
+
useIcon
|
|
476
|
+
style={{ marginBottom: 0, margin: 15 }}
|
|
477
|
+
/>
|
|
478
|
+
|
|
479
|
+
<UseCondition if={result?.is_luckydraw && result?.is_luckydraw == 1}>
|
|
480
|
+
<TouchableOpacity onPress={() => {
|
|
481
|
+
LibNavigation.navigateForResult('event/order_lottery', { id: result?.id }).then(() => {
|
|
482
|
+
loadData()
|
|
483
|
+
})
|
|
484
|
+
}} style={{ margin: 15, padding: 10, marginBottom: 0, justifyContent: 'center', alignContent: 'center', alignItems: 'center', borderRadius: 7, backgroundColor: LibStyle.colorGreen, paddingBottom: 10 }}>
|
|
485
|
+
<LibTextstyle textStyle='headline' text={esp.lang("event/order_detail", "join_lucky_draw")} style={{ color: '#fff', fontWeight: 'bold' }} />
|
|
486
|
+
</TouchableOpacity>
|
|
487
|
+
</UseCondition>
|
|
488
|
+
|
|
489
|
+
<UseCondition if={result?.is_luckydraw && result?.is_luckydraw == 2}>
|
|
490
|
+
<View style={{ margin: 15, padding: 10, marginBottom: 0, justifyContent: 'center', alignContent: 'center', alignItems: 'center', borderRadius: 7, backgroundColor: LibStyle.colorBgGrey, paddingBottom: 10, ...LibStyle.elevation(3) }}>
|
|
491
|
+
<LibTextstyle textStyle='headline' text={esp.lang("event/order_detail", "already_join_lucky_draw")} style={{ color: '#c9c9c9', fontWeight: 'bold' }} />
|
|
492
|
+
</View>
|
|
493
|
+
</UseCondition>
|
|
494
|
+
|
|
495
|
+
<UseCondition if={result?.is_upgradable == 1} >
|
|
496
|
+
<EventOrder_detail_upgrade_button onPress={() => {
|
|
497
|
+
LibNavigation.navigate('event/order_detail_upgrade', {
|
|
498
|
+
url: result?.url_upgrade,
|
|
499
|
+
dataTicket: result,
|
|
500
|
+
})
|
|
501
|
+
}} />
|
|
502
|
+
</UseCondition>
|
|
503
|
+
|
|
504
|
+
{
|
|
505
|
+
// jika mau edit view dibawah ini, tekan ctrl + f terus paste prefik dibawah ini
|
|
506
|
+
// view_reviewed
|
|
507
|
+
dataReview?.status == 1 ?
|
|
508
|
+
<View style={{ margin: 15, marginBottom: 0, borderRadius: 7, backgroundColor: 'white', padding: 10 }}>
|
|
509
|
+
<View style={{ flexDirection: 'row', alignItems: 'flex-start', marginTop: 10 }}>
|
|
510
|
+
<LibPicture source={{ uri: user?.image }} style={{ height: 50, width: 50, borderRadius: 25 }} />
|
|
511
|
+
<View style={{ marginLeft: 10, flex: 1 }}>
|
|
512
|
+
<Text allowFontScaling={false} numberOfLines={1} ellipsizeMode='tail' style={{ fontSize: 16, fontWeight: 'bold' }}>{user?.name}</Text>
|
|
513
|
+
<Text allowFontScaling={false} style={{ fontSize: 12, color: '#c9c9c9' }}>{LibUtils.moment(dataReview?.review?.created).localeFormat("D MMM YYYY")}</Text>
|
|
514
|
+
<View style={{ marginTop: 5 }}>
|
|
515
|
+
<ComponentRating disabled onChangeRating={() => { }} defaultValue={dataReview?.review?.rating} size={18} containerStyle={{ padding: 0, justifyContent: 'flex-start' }} />
|
|
516
|
+
{
|
|
517
|
+
dataReview?.review?.content != "" &&
|
|
518
|
+
<Text allowFontScaling={false} style={{ marginTop: 10, fontSize: 12, color: '#000' }}>{dataReview?.review?.content.replace(/\\n/g, '\n')}</Text>
|
|
519
|
+
}
|
|
520
|
+
{
|
|
521
|
+
dataReview?.surveys?.length > 0 &&
|
|
522
|
+
getStringReview(dataReview?.surveys).map((sur) => (
|
|
523
|
+
<Text allowFontScaling={false} style={{ fontSize: 12, color: '#000' }}>{sur}</Text>
|
|
524
|
+
))
|
|
525
|
+
}
|
|
526
|
+
</View>
|
|
527
|
+
</View>
|
|
528
|
+
</View>
|
|
529
|
+
{
|
|
530
|
+
dataReview?.status == 2 &&
|
|
531
|
+
<View style={applyStyle({ borderColor: '#FC9722', backgroundColor: '#FDF1DE', borderWidth: 1, borderStyle: 'dashed', borderRadius: 5, padding: 5, marginTop: 15, marginBottom: 0 })} >
|
|
532
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 12, fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{esp.lang("event/order_detail", "thanks")}</Text>
|
|
533
|
+
</View>
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
</View>
|
|
537
|
+
:
|
|
538
|
+
dateNow > startEvent ?
|
|
539
|
+
<View style={{ margin: 15, marginBottom: 0, borderRadius: 7, backgroundColor: '#000', padding: 10 }}>
|
|
540
|
+
{
|
|
541
|
+
dataReview?.review == null ?
|
|
542
|
+
<Pressable>
|
|
543
|
+
<ComponentRating onChangeRating={(rate) => {
|
|
544
|
+
let type = EventReviewProperty.calculateProb(result?.config?.review)
|
|
545
|
+
let urlForm = "event_order_detail_review_form?id=" + result?.id + "&type=" + type?.type
|
|
546
|
+
let args = {
|
|
547
|
+
url_form: urlForm,
|
|
548
|
+
type: type?.type,
|
|
549
|
+
booking_id: result?.id,
|
|
550
|
+
rate: rate
|
|
551
|
+
}
|
|
552
|
+
if (result?.review_status != 1) {
|
|
553
|
+
LibNavigation.navigate('event/review_add', args)
|
|
554
|
+
}
|
|
555
|
+
}} defaultValue={5} size={50} containerStyle={{ padding: 0, backgroundColor: 'transparent' }} />
|
|
556
|
+
<Text allowFontScaling={false} style={{ alignSelf: 'center', marginTop: 15, fontSize: 18, fontWeight: 'bold', color: '#fff' }}>{esp.lang("event/order_detail", "leave_review")}</Text>
|
|
557
|
+
<Text allowFontScaling={false} style={{ alignSelf: 'center', marginTop: 7, fontSize: 14, color: '#fff' }}>{esp.lang("event/order_detail", "review_info")}</Text>
|
|
558
|
+
|
|
559
|
+
</Pressable>
|
|
560
|
+
:
|
|
561
|
+
// view_reviewed
|
|
562
|
+
<View style={{ margin: -10, backgroundColor: '#fff', padding: 10, borderRadius: 7 }}>
|
|
563
|
+
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
564
|
+
<LibPicture source={{ uri: user?.image }} style={{ height: 50, width: 50, borderRadius: 25 }} />
|
|
565
|
+
<View style={{ marginLeft: 10 }}>
|
|
566
|
+
<Text allowFontScaling={false} numberOfLines={1} ellipsizeMode='tail' style={{ fontSize: 16, fontWeight: 'bold' }}>{user?.name}</Text>
|
|
567
|
+
<Text allowFontScaling={false} style={{ fontSize: 12, color: '#c9c9c9' }}>{LibUtils.moment(dataReview?.review?.created).localeFormat("D MMM YYYY")}</Text>
|
|
568
|
+
<View style={{ marginTop: 5 }}>
|
|
569
|
+
<ComponentRating disabled onChangeRating={() => { }} defaultValue={dataReview?.review?.rating} size={18} containerStyle={{ padding: 0, backgroundColor: 'transparent' }} />
|
|
570
|
+
</View>
|
|
571
|
+
</View>
|
|
572
|
+
</View>
|
|
573
|
+
|
|
574
|
+
<Text allowFontScaling={false} numberOfLines={5} ellipsizeMode='tail' style={{ marginTop: 10, fontSize: 12, color: '#000' }}>{dataReview?.review?.content}</Text>
|
|
575
|
+
{
|
|
576
|
+
dataReview?.status == 2 &&
|
|
577
|
+
<View style={applyStyle({ borderColor: '#FC9722', backgroundColor: '#FDF1DE', borderWidth: 1, borderStyle: 'dashed', borderRadius: 5, padding: 5, marginTop: 15, marginBottom: 0 })} >
|
|
578
|
+
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 12, fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" })}>{esp.lang("event/order_detail", "thanks")}</Text>
|
|
579
|
+
</View>
|
|
580
|
+
}
|
|
581
|
+
</View>
|
|
582
|
+
}
|
|
583
|
+
</View>
|
|
584
|
+
: null
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
{/* view for coupon */}
|
|
588
|
+
{
|
|
589
|
+
result?.status != "2" && coupons &&
|
|
590
|
+
<View style={{ margin: 15, marginBottom: 0, borderRadius: 7, backgroundColor: '#fff', paddingBottom: 10, paddingTop: 10 }}>
|
|
591
|
+
<View style={{ marginHorizontal: 20 }}>
|
|
592
|
+
<Text style={{ fontWeight: 'bold', fontSize: 14, color: LibStyle.colorPrimary }}>{coupons.title || ''}</Text>
|
|
593
|
+
</View>
|
|
594
|
+
|
|
595
|
+
{
|
|
596
|
+
coupons?.list?.map((item: any, i: number) => {
|
|
597
|
+
return (
|
|
598
|
+
<TouchableOpacity key={i} onPress={() => {
|
|
599
|
+
esp.modProp("event/coupon").getCouponDetail(item?.url_detail_coupon)
|
|
600
|
+
}} style={[{ marginBottom: 4, margin: 15, borderRadius: 15, backgroundColor: '#fff' }, LibStyle.elevation(2)]}>
|
|
601
|
+
<LibPicture source={{ uri: item.image }} resizeMode="cover" style={{ height: (LibStyle.width - 60) * 0.43, width: LibStyle.width - 60, borderRadius: 5 }} />
|
|
602
|
+
<View style={{ position: 'absolute', top: (((LibStyle.width - 60) * 0.43) / 2) - 10, marginBottom: 15, flexDirection: 'row', justifyContent: 'space-between' }} >
|
|
603
|
+
<View style={{ width: 23, height: 23, borderRadius: 11.5, backgroundColor: "white", marginLeft: -9.5 }} />
|
|
604
|
+
<View style={{ flex: 1 }} />
|
|
605
|
+
<View style={{ width: 23, height: 23, borderRadius: 11.5, backgroundColor: "white", marginRight: -9.5 }} />
|
|
606
|
+
</View>
|
|
607
|
+
</TouchableOpacity>
|
|
608
|
+
)
|
|
609
|
+
})
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
{
|
|
613
|
+
coupons?.pages > 1 &&
|
|
614
|
+
<ComponentTouchable onPress={() => {
|
|
615
|
+
LibNavigation.navigate("event/coupon")
|
|
616
|
+
}}>
|
|
617
|
+
<View style={{ marginTop: 10, alignContent: 'center', alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorPrimary, height: 50 }}>
|
|
618
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 16, fontWeight: "bold", textAlign: 'center', fontStyle: "normal", letterSpacing: 0, color: "#fff" }}>{esp.lang("event/order_detail", "see_all_coupon")}</Text>
|
|
619
|
+
</View>
|
|
620
|
+
</ComponentTouchable>
|
|
621
|
+
}
|
|
622
|
+
</View>
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
<View style={{ margin: 15, marginBottom: 0, padding: 16, borderRadius: 5, backgroundColor: '#fff' }}>
|
|
626
|
+
<View style={{ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row' }}>
|
|
627
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "total_bill")}</Text>
|
|
628
|
+
<Text allowFontScaling={false} style={{ alignContent: 'center', alignItems: 'center', fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#9b9b9b" }}>{LibUtils.money(Number(result?.total), curr)}</Text>
|
|
629
|
+
</View>
|
|
630
|
+
<View style={{ alignContent: 'center', alignItems: 'center', justifyContent: 'space-between', flexDirection: 'row', marginTop: 5 }}>
|
|
631
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "booking_code")}</Text>
|
|
632
|
+
<Text allowFontScaling={false} style={{ alignContent: 'center', alignItems: 'center', fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: LibStyle.colorRed }}>{result?.booking_code}</Text>
|
|
633
|
+
</View>
|
|
634
|
+
{
|
|
635
|
+
result?.status == 1 &&
|
|
636
|
+
<View style={{ justifyContent: 'space-between', flexDirection: 'row', marginTop: 5 }}>
|
|
637
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "payment_method")}</Text>
|
|
638
|
+
<Text allowFontScaling={false} style={{ alignContent: 'center', alignItems: 'center', fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: "#9b9b9b" }}>{result?.payment_title}</Text>
|
|
639
|
+
</View>
|
|
640
|
+
}
|
|
641
|
+
</View>
|
|
642
|
+
|
|
643
|
+
{
|
|
644
|
+
result?.status == 1 && result?.instructions?.length > 0 &&
|
|
645
|
+
<View style={{ margin: 15, marginBottom: 5, padding: 16, borderRadius: 5, backgroundColor: '#fff' }}>
|
|
646
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "how_to_use")}</Text>
|
|
647
|
+
{
|
|
648
|
+
result?.instructions.map((item: any, i: number) => {
|
|
649
|
+
const urls = item.match(/(https?:\/\/[^\s]+)/g)
|
|
650
|
+
const text = item.replace(urls?.[0], '~:::~')
|
|
651
|
+
const texts = text.split('~:::~')
|
|
652
|
+
return (
|
|
653
|
+
<ComponentTouchable key={i + 1} onPress={() => {
|
|
654
|
+
if (item.match(/(https?:\/\/[^\s]+)/g)) {
|
|
655
|
+
Linking.openURL(urls[0])
|
|
656
|
+
}
|
|
657
|
+
}}>
|
|
658
|
+
<Text allowFontScaling={false} style={{ flexWrap: 'wrap', marginBottom: 5, fontSize: 14, fontWeight: "normal", fontStyle: "normal", lineHeight: 18, color: "#4a4a4a", marginTop: 4 }}>
|
|
659
|
+
{texts?.[0]}
|
|
660
|
+
{urls && <Text allowFontScaling={false} style={{ flexWrap: 'wrap', marginBottom: 5, fontSize: 14, fontWeight: "normal", fontStyle: "normal", lineHeight: 18, color: LibStyle.colorBlue, marginTop: 4 }}>{urls[0]}</Text>}
|
|
661
|
+
{texts?.[1]}
|
|
662
|
+
</Text>
|
|
663
|
+
</ComponentTouchable>
|
|
664
|
+
)
|
|
665
|
+
})
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
{
|
|
669
|
+
urlsInstruction.length > 0 && urlsInstruction.map((item: any, i: number) => {
|
|
670
|
+
return (
|
|
671
|
+
<View key={i + 1} style={{ padding: 10, marginTop: 10, flexDirection: 'row-reverse' }}>
|
|
672
|
+
<TouchableOpacity onPress={() => {
|
|
673
|
+
LibUtils.share(item)
|
|
674
|
+
}} style={{ ...LibStyle.elevation(5), alignContent: 'center', alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorPrimary, height: 40, width: 40, borderRadius: 20, marginHorizontal: 10 }}>
|
|
675
|
+
<LibIcon color="#fff" name="share" />
|
|
676
|
+
</TouchableOpacity>
|
|
677
|
+
<TouchableOpacity onPress={() => {
|
|
678
|
+
LibUtils.copyToClipboard(item)
|
|
679
|
+
LibToastProperty.show(esp.lang("event/order_detail", "copied"))
|
|
680
|
+
}} style={{ ...LibStyle.elevation(5), alignContent: 'center', alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorPrimary, height: 40, width: 40, borderRadius: 20, marginHorizontal: 10 }}>
|
|
681
|
+
<LibIcon color="#fff" name="content-copy" />
|
|
682
|
+
</TouchableOpacity>
|
|
683
|
+
<TouchableOpacity onPress={() => {
|
|
684
|
+
Linking.openURL(item)
|
|
685
|
+
}} style={{ ...LibStyle.elevation(5), alignContent: 'center', alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorPrimary, height: 40, width: 40, borderRadius: 20, marginHorizontal: 10 }}>
|
|
686
|
+
<LibIcon.MaterialIcons color="#fff" name="open-in-browser" />
|
|
687
|
+
</TouchableOpacity>
|
|
688
|
+
</View>
|
|
689
|
+
)
|
|
690
|
+
})
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
</View>
|
|
694
|
+
}
|
|
695
|
+
{
|
|
696
|
+
termData?.length > 0 &&
|
|
697
|
+
<View style={{ margin: 16, borderRadius: 5, padding: 10, backgroundColor: 'white' }} >
|
|
698
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "tos")}</Text>
|
|
699
|
+
{termData?.map(renderTermItem)}
|
|
700
|
+
</View>
|
|
701
|
+
}
|
|
702
|
+
{
|
|
703
|
+
result?.url_ticket != "" &&
|
|
704
|
+
<TouchableOpacity onPress={() => {
|
|
705
|
+
LibNavigation.navigate('event/order_detail_visitor', { url: result?.url_ticket, url_addition: result?.url_addition })
|
|
706
|
+
}} style={{ ...LibStyle.elevation(3), margin: 15, padding: 16, borderRadius: 5, backgroundColor: '#fff', flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }}>
|
|
707
|
+
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 16, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#4a4a4a" }}>{esp.lang("event/order_detail", "buyer_detail")}</Text>
|
|
708
|
+
<LibIcon name='chevron-right-circle-outline' size={30} color={LibStyle.colorBlue} />
|
|
709
|
+
</TouchableOpacity>
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
{
|
|
713
|
+
esp.isDebug("") &&
|
|
714
|
+
<View style={{ padding: 5 }}>
|
|
715
|
+
<ComponentButton label={"Kirim tiket ke email"} onPress={() => {
|
|
716
|
+
LibToastProperty.show("Coming Soon")
|
|
717
|
+
}} backgroundColor={"#FFF"} borderColor={LibStyle.colorGreen} fontColor={LibStyle.colorGreen} />
|
|
718
|
+
</View>
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
</LibScroll >
|
|
722
|
+
|
|
723
|
+
{/* untuk share ke */}
|
|
724
|
+
{
|
|
725
|
+
result?.par_id == 0 && result?.status == 1 && result?.is_shareable == 1 && result?.qty_shareable > 0 &&
|
|
726
|
+
<View style={{ padding: 5, }}>
|
|
727
|
+
<ComponentButton label={Number(result.is_shareable) ? /*share_ticket*/esp.lang("event/order_detail", "share_ticket") : esp.lang("event/order_detail", "shared")} onPress={() => {
|
|
728
|
+
if (Number(result.is_shareable)) {
|
|
729
|
+
LibDialog.confirm(esp.lang("event/order_detail", "share_title"), esp.lang("event/order_detail", "share_msg"), esp.lang("event/order_detail", "share_ok"), () => {
|
|
730
|
+
LibNavigation.navigate('event/order_share_to', { url: url })
|
|
731
|
+
}, esp.lang("event/order_detail", "share_no"), () => {
|
|
732
|
+
|
|
733
|
+
})
|
|
734
|
+
}
|
|
735
|
+
}} backgroundColor={Number(result.is_shareable) ? LibStyle.colorGreen : LibStyle.colorLightGrey} />
|
|
736
|
+
</View>
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
{/* untuk mengembalikan tiket */}
|
|
740
|
+
{
|
|
741
|
+
result?.par_id != 0 && result?.status == 1 && result?.qty_returnable > 0 &&
|
|
742
|
+
<View style={{ padding: 5 }}>
|
|
743
|
+
<ComponentButton label={esp.lang("event/order_detail", "return_ticket")} onPress={() => {
|
|
744
|
+
dialogSendBack?.current?.show()
|
|
745
|
+
}} backgroundColor={LibStyle.colorGreen} />
|
|
746
|
+
</View>
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
<ComponentSlidingup ref={showQR}>
|
|
750
|
+
<View style={{ backgroundColor: 'white', borderTopRightRadius: 20, borderTopLeftRadius: 20, padding: 10 }}>
|
|
751
|
+
<View style={{ margin: 10, alignSelf: 'center' }}>
|
|
752
|
+
{
|
|
753
|
+
result?.qr != "" &&
|
|
754
|
+
<ComponentQr_bg>
|
|
755
|
+
<QRCode ecl="H" size={200} value={result?.qr} />
|
|
756
|
+
</ComponentQr_bg>
|
|
757
|
+
}
|
|
758
|
+
</View>
|
|
759
|
+
<Text allowFontScaling={false} style={{ padding: 15, paddingBottom: 0, alignSelf: 'center', fontFamily: "Arial", fontSize: 18, fontWeight: "bold", fontStyle: "normal", lineHeight: 22, letterSpacing: 0 }}>{result?.booking_code}</Text>
|
|
760
|
+
</View>
|
|
761
|
+
</ComponentSlidingup>
|
|
762
|
+
|
|
763
|
+
<ComponentSlidingup ref={dialogSendBack} >
|
|
764
|
+
<View style={{ backgroundColor: 'white', borderTopLeftRadius: 20, borderTopRightRadius: 20, padding: 20 }} >
|
|
765
|
+
<UserPopup email={result?.sharer_email?.trim?.()} redirect={() => {
|
|
766
|
+
if (result?.use_seat == 1) {
|
|
767
|
+
let data = {
|
|
768
|
+
qty: qty
|
|
769
|
+
}
|
|
770
|
+
LibNavigation.navigate('event/seat', {
|
|
771
|
+
url: result?.url_ticket,
|
|
772
|
+
dataTicket: data,
|
|
773
|
+
returnTicket: true,
|
|
774
|
+
})
|
|
775
|
+
} else {
|
|
776
|
+
sendBack()
|
|
777
|
+
}
|
|
778
|
+
dialogSendBack.current!.hide()
|
|
779
|
+
}} cancel={() => {
|
|
780
|
+
dialogSendBack.current!.hide()
|
|
781
|
+
}}
|
|
782
|
+
view={
|
|
783
|
+
<View style={{ flexDirection: 'row', marginTop: 20, marginBottom: 8, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
|
|
784
|
+
<TouchableOpacity onPress={() => { minReturn() }}>
|
|
785
|
+
<View style={{ width: 28, height: 28, borderRadius: 6, backgroundColor: "#ecf0f1", alignContent: 'center', alignItems: 'center' }}>
|
|
786
|
+
<LibIcon name="minus" color="#e74c3c" />
|
|
787
|
+
</View>
|
|
788
|
+
</TouchableOpacity>
|
|
789
|
+
<Text style={{ fontFamily: "Arial", fontSize: 20, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#9b9b9b", marginLeft: 13, marginRight: 13 }}>{qty}</Text>
|
|
790
|
+
<TouchableOpacity onPress={() => { addReturn() }}>
|
|
791
|
+
<View style={{ width: 28, height: 28, borderRadius: 6, backgroundColor: "#ecf0f1", alignContent: 'center', alignItems: 'center' }}>
|
|
792
|
+
<LibIcon name="plus" color="#16a085" />
|
|
793
|
+
</View>
|
|
794
|
+
</TouchableOpacity>
|
|
795
|
+
</View>
|
|
796
|
+
}
|
|
797
|
+
/>
|
|
798
|
+
|
|
799
|
+
</View>
|
|
800
|
+
</ComponentSlidingup>
|
|
801
|
+
|
|
802
|
+
</View >
|
|
803
|
+
)
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export interface ItemTiket {
|
|
807
|
+
booking_id: string;
|
|
808
|
+
id: string;
|
|
809
|
+
ticket_code: string;
|
|
810
|
+
name: string;
|
|
811
|
+
email: string;
|
|
812
|
+
phone: string;
|
|
813
|
+
status: string;
|
|
814
|
+
}
|