esoftplay-event 0.0.0-n → 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/event/order_detail_waiting.tsx +44 -28
- 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 -1857
- package/libs.json +0 -1
- package/publisher.js +0 -84
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
// noPage
|
|
2
|
+
// useLibs
|
|
3
|
+
|
|
4
|
+
import { getAuth } from '@react-native-firebase/auth';
|
|
5
|
+
import { get, getDatabase, onValue, ref, set } from '@react-native-firebase/database';
|
|
6
|
+
import { collection, getCountFromServer, getDocs, getFirestore, orderBy, query, where } from '@react-native-firebase/firestore';
|
|
7
|
+
import { EventTms_homeProperty } from 'esoftplay/cache/event/tms_home/import';
|
|
8
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
9
|
+
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
10
|
+
import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
|
|
11
|
+
import esp from 'esoftplay/esp';
|
|
12
|
+
import useGlobalState from 'esoftplay/global';
|
|
13
|
+
import { createTimeout, useInterval } from 'esoftplay/timeout';
|
|
14
|
+
|
|
15
|
+
function getEventPath() {
|
|
16
|
+
return "event" + (esp.isDebug("cc") ? "BBT" : "BBO")
|
|
17
|
+
}
|
|
18
|
+
function getRandomSuffix(time: number): number {
|
|
19
|
+
return Number(time + "" + (Math.floor(Math.random() * 9000) + 1000))
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export const eventIdQueue = useGlobalState(0)
|
|
24
|
+
export const eventQueueConfig = useGlobalState<any>({})
|
|
25
|
+
const state = useGlobalState(0)
|
|
26
|
+
export const lastKeyInPages = useGlobalState<string[]>([])
|
|
27
|
+
export const userIdKeyReplacer = useGlobalState<any>({})
|
|
28
|
+
|
|
29
|
+
export default function useFirebaseSocket() {
|
|
30
|
+
const [status] = state.useState()
|
|
31
|
+
const isDirect = EventTms_homeProperty.state()
|
|
32
|
+
|
|
33
|
+
function isInLocal(state: any[], code: string) {
|
|
34
|
+
const encodedCode = encodeURIComponent(code)
|
|
35
|
+
return state.findIndex(([url, post]) => (post.qr == encodedCode || post.user_qr == encodedCode)) == -1 ? false : true
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const auth = () => {
|
|
39
|
+
return getAuth()
|
|
40
|
+
}
|
|
41
|
+
const db = () => {
|
|
42
|
+
return getDatabase()
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const signInAnonym = () => { }
|
|
47
|
+
|
|
48
|
+
// ini get yang di live
|
|
49
|
+
async function _get(path: string, gate_id: string, onDone: (res: any) => void) {
|
|
50
|
+
let hasDone = false
|
|
51
|
+
if (isDirect.get()) {
|
|
52
|
+
new LibCurl('gate_check/' + path + '?t=' + new Date().getTime(), { gate_id }, (res) => {
|
|
53
|
+
hasDone = true
|
|
54
|
+
onDone(res)
|
|
55
|
+
}, (res) => {
|
|
56
|
+
onDone(res)
|
|
57
|
+
hasDone = true
|
|
58
|
+
}, 1)
|
|
59
|
+
return
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
get(ref(getDatabase(), path))
|
|
63
|
+
.then((sn) => {
|
|
64
|
+
hasDone = true
|
|
65
|
+
if (sn.exists()) {
|
|
66
|
+
onDone(sn.val())
|
|
67
|
+
} else {
|
|
68
|
+
onDone(null)
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
.catch((e) => {
|
|
72
|
+
// if (e && !hasDone) {
|
|
73
|
+
// getBackup(path, (res) => {
|
|
74
|
+
// if (res) {
|
|
75
|
+
// onDone(res)
|
|
76
|
+
// } else {
|
|
77
|
+
// onDone(null)
|
|
78
|
+
// }
|
|
79
|
+
// })
|
|
80
|
+
// }
|
|
81
|
+
})
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function listenChangeTime(merchant_id: string, callback: (params: any) => void): () => void {
|
|
85
|
+
const onChildChange = onValue(ref(getDatabase(), 'merchant_offline/' + merchant_id), (sn) => {
|
|
86
|
+
if (sn.exists()) {
|
|
87
|
+
callback(sn.val());
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
return () => onChildChange
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
async function _set(path: string, data: any, onDone?: (res: any) => void) {
|
|
94
|
+
const timeout = createTimeout()
|
|
95
|
+
if (state.get() == 1)
|
|
96
|
+
set(ref(getDatabase(), path), data)
|
|
97
|
+
else
|
|
98
|
+
timeout.set(() => {
|
|
99
|
+
_set(path, data,)
|
|
100
|
+
timeout.clear()
|
|
101
|
+
}, 300);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function path(...paths: any[]): string {
|
|
105
|
+
return paths.join('/')
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function addQueue(path: string, event_id: string, onSuccess?: () => void) {
|
|
109
|
+
const instance: any = esp.mod("firestore/index")().instance()
|
|
110
|
+
const db = getFirestore(instance)
|
|
111
|
+
|
|
112
|
+
if (userIdKeyReplacer.get()?.priority == 1) {
|
|
113
|
+
const coll = collection(db, [getEventPath(), path, event_id].join('/'));
|
|
114
|
+
const q = query(coll, orderBy('t', 'asc'), where("t", "==", userIdKeyReplacer.get().t));
|
|
115
|
+
getDocs(q).then((doc) => {
|
|
116
|
+
if (doc.size == 0) {
|
|
117
|
+
LibToastProperty.show(esp.lang("event/firebase_socket", "priority_queue_used"))
|
|
118
|
+
userIdKeyReplacer.set(LibObject.set(userIdKeyReplacer.get(), 0)('priority'))
|
|
119
|
+
addQueue(path, event_id, onSuccess)
|
|
120
|
+
} else if (doc.size == 1) {
|
|
121
|
+
// console.log("SIJI")
|
|
122
|
+
doc.forEach((d) => {
|
|
123
|
+
userIdKeyReplacer.set(LibObject.set(userIdKeyReplacer.get(), d.id)('id'))
|
|
124
|
+
updateQueueExp(path, event_id)
|
|
125
|
+
new LibCurl('event_booking_waiting_allotment_use', { event_id: event_id })
|
|
126
|
+
if (onSuccess) onSuccess?.()
|
|
127
|
+
})
|
|
128
|
+
} else {
|
|
129
|
+
LibToastProperty.show("Antrian lebih dari 1", doc.size)
|
|
130
|
+
}
|
|
131
|
+
// console.log("SIZE", doc.size)
|
|
132
|
+
})
|
|
133
|
+
} else {
|
|
134
|
+
// console.log("ora")
|
|
135
|
+
if (userIdKeyReplacer.get()?.id)
|
|
136
|
+
esp.mod("firestore/index")().deleteDocument?.(instance, [getEventPath?.(), path, event_id, userIdKeyReplacer.get()?.id], () => { }, (e) => { })
|
|
137
|
+
const ctime = getDateTimebyGmt7().getTime()
|
|
138
|
+
const time = getRandomSuffix(ctime)
|
|
139
|
+
const data = { t: ctime, s: time }
|
|
140
|
+
// console.log(data)
|
|
141
|
+
esp.mod("firestore/index")().addCollection?.(instance, [getEventPath?.(), path, event_id], data, (dt) => {
|
|
142
|
+
// console.log("KENE",)
|
|
143
|
+
userIdKeyReplacer.set?.({
|
|
144
|
+
id: dt?.id,
|
|
145
|
+
...data
|
|
146
|
+
})
|
|
147
|
+
if (onSuccess) onSuccess?.()
|
|
148
|
+
}, (err) => {
|
|
149
|
+
// console.log(err)
|
|
150
|
+
})
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function getDateTimebyGmt7() {
|
|
155
|
+
const ori = new Date()
|
|
156
|
+
// const gmt = setTimeOffset(ori)
|
|
157
|
+
return ori
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// get weather function
|
|
161
|
+
|
|
162
|
+
function getQueue(path: string, event_id: string, _limit: number, cb: (idx: number, key: string) => void) {
|
|
163
|
+
const instance: any = esp.mod("firestore/index")().instance()
|
|
164
|
+
const db = getFirestore(instance)
|
|
165
|
+
const coll = collection(db, [getEventPath(), path, event_id].join('/'));
|
|
166
|
+
const q = query(coll, orderBy('s', 'asc'), where("s", "<", userIdKeyReplacer.get().s));
|
|
167
|
+
|
|
168
|
+
getCountFromServer(q).then((v) => {
|
|
169
|
+
cb(v.data().count, userIdKeyReplacer.get().id)
|
|
170
|
+
}).catch((e) => {
|
|
171
|
+
getQueue(path, event_id, _limit, cb)
|
|
172
|
+
console.log({ e })
|
|
173
|
+
})
|
|
174
|
+
// /* cleanup */
|
|
175
|
+
// const cdate = getDateTimebyGmt7().getTime()
|
|
176
|
+
// if (!cdate) {
|
|
177
|
+
// LibToastProperty.show(esp.lang("lib/firebase_socket", "something_wrong_1"))
|
|
178
|
+
// return
|
|
179
|
+
// }
|
|
180
|
+
// if (!_limit) {
|
|
181
|
+
// LibToastProperty.show(esp.lang("lib/firebase_socket", "something_wrong_2"))
|
|
182
|
+
// return
|
|
183
|
+
// }
|
|
184
|
+
// if (!userIdKeyReplacer?.get()?.s) {
|
|
185
|
+
// LibToastProperty.show(esp.lang("lib/firebase_socket", "something_wrong_3"))
|
|
186
|
+
// return
|
|
187
|
+
// }
|
|
188
|
+
// const exp = query(collection(instance, [getEventPath(), path, event_id].join('/')), where("t", "<", cdate - _limit), orderBy('t', 'asc'), limit(10));
|
|
189
|
+
// const batch = writeBatch(instance);
|
|
190
|
+
// getDocs(exp).then((expd) => {
|
|
191
|
+
// expd.forEach((doc) => {
|
|
192
|
+
// if (Number(doc.data().s) < Number(userIdKeyReplacer.get().s))
|
|
193
|
+
// batch.delete(doc.ref)
|
|
194
|
+
// // console.log(doc.data().t < cdate - limit, doc.data().t, cdate - limit, cdate - limit - doc.data().t)
|
|
195
|
+
// // console.log('->' + moment(new Date(Number(doc.data().t))).localeFormat('DD MMMM YYYY HH:mm:ss'))
|
|
196
|
+
// // console.log('-->' + moment(new Date(cdate - limit)).localeFormat('DD MMMM YYYY HH:mm:ss') + '\n\n')
|
|
197
|
+
// })
|
|
198
|
+
// batch.commit()
|
|
199
|
+
// })
|
|
200
|
+
// /* end cleanup */
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function updateQueueExp(path: string, event_id: string) {
|
|
204
|
+
const instance: any = esp.mod("firestore/index")().instance()
|
|
205
|
+
esp.mod("firestore/index")().updateDocument(instance, [getEventPath(), path, event_id, userIdKeyReplacer.get().id], [{ key: 't', value: getDateTimebyGmt7().getTime() }], () => { }, (e) => {
|
|
206
|
+
// updateQueueExp(path, event_id, key)
|
|
207
|
+
})
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
function doneQueue(path: string, event_id: string, key: string, cb: Function) {
|
|
211
|
+
if (key) {
|
|
212
|
+
const instance: any = esp.mod("firestore/index")().instance()
|
|
213
|
+
esp.mod("firestore/index")().deleteDocument(instance, [getEventPath(), path, event_id, key], () => {
|
|
214
|
+
cb()
|
|
215
|
+
userIdKeyReplacer.reset()
|
|
216
|
+
}, (e) => {
|
|
217
|
+
console.warn(e)
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function isInPricingQueueConfig(event_id: string) {
|
|
223
|
+
return eventQueueConfig.get(event_id) && eventQueueConfig.get(event_id).limit > 0
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function useQueueConfigListener() {
|
|
227
|
+
function action() {
|
|
228
|
+
fetch(esp.config("events", "queue") + "?t=" + new Date().getTime(), { "method": "GET" })
|
|
229
|
+
.then(res => res.json())
|
|
230
|
+
.then((re) => {
|
|
231
|
+
eventQueueConfig.set(re)
|
|
232
|
+
})
|
|
233
|
+
|
|
234
|
+
}
|
|
235
|
+
const timeout = useInterval()
|
|
236
|
+
action()
|
|
237
|
+
timeout(() => {
|
|
238
|
+
action()
|
|
239
|
+
}, 10000)
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
return {
|
|
243
|
+
status,
|
|
244
|
+
auth,
|
|
245
|
+
db,
|
|
246
|
+
signInAnonymously: signInAnonym,
|
|
247
|
+
get: _get,
|
|
248
|
+
set: _set,
|
|
249
|
+
isInLocal,
|
|
250
|
+
// getQueueConfig,
|
|
251
|
+
isInPricingQueueConfig,
|
|
252
|
+
useQueueConfigListener,
|
|
253
|
+
// isInBookingQueueConfig,
|
|
254
|
+
addQueue,
|
|
255
|
+
getQueue,
|
|
256
|
+
doneQueue,
|
|
257
|
+
updateQueueExp,
|
|
258
|
+
listenChangeTime,
|
|
259
|
+
path
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
import { EventTms_homeProperty } from 'esoftplay/cache/event/tms_home/import';
|
|
5
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
6
|
+
import { LibLoading } from 'esoftplay/cache/lib/loading/import';
|
|
7
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
8
|
+
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
9
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
10
|
+
import esp from 'esoftplay/esp';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { View } from 'react-native';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface EventTms_in_hallArgs {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
export interface EventTms_in_hallProps {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
export default function m(props: EventTms_in_hallProps): any {
|
|
22
|
+
const { scan_type, url_ticket_update, url_ticket_detail, price_type, gate_type, qr_code, event_id, selectGate, typeScanner, event_title, configPriority }: any = LibNavigation.getArgsAll<any>(props)
|
|
23
|
+
|
|
24
|
+
let args = {
|
|
25
|
+
selectGate: selectGate,
|
|
26
|
+
fromPage: 'event/tms_home',
|
|
27
|
+
event_id: event_id,
|
|
28
|
+
event_title: event_title,
|
|
29
|
+
typeScanner: typeScanner,
|
|
30
|
+
gate_type: gate_type,
|
|
31
|
+
price_type: price_type,
|
|
32
|
+
url_ticket_detail: url_ticket_detail,
|
|
33
|
+
url_ticket_update: url_ticket_update,
|
|
34
|
+
configPriority: configPriority,
|
|
35
|
+
scan_type: scan_type
|
|
36
|
+
}
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
loadData()
|
|
39
|
+
}, [])
|
|
40
|
+
|
|
41
|
+
function loadData() {
|
|
42
|
+
EventTms_homeProperty.addCounterHallInScan(1, "0")
|
|
43
|
+
|
|
44
|
+
var post = {
|
|
45
|
+
event_id: event_id,
|
|
46
|
+
user_qr: qr_code,
|
|
47
|
+
hall_id: selectGate?.id
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
let ticketsData: any[] = [];
|
|
51
|
+
|
|
52
|
+
new LibCurl('event_tms_hall', post, (res) => {
|
|
53
|
+
res?.list?.forEach((item: any, i: number) => {
|
|
54
|
+
let foundIndex = ticketsData.findIndex((x: any) => x.price_id == item.price_id);
|
|
55
|
+
|
|
56
|
+
let newItem = {
|
|
57
|
+
...item,
|
|
58
|
+
checked: 0
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (foundIndex != -1) {
|
|
62
|
+
ticketsData[foundIndex].list.push(newItem);
|
|
63
|
+
ticketsData[foundIndex].qty += 1
|
|
64
|
+
} else {
|
|
65
|
+
ticketsData.push({
|
|
66
|
+
price_id: item.price_id,
|
|
67
|
+
price_name: item.price_name,
|
|
68
|
+
qty: 1,
|
|
69
|
+
list: [newItem]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
esp.log({ res });
|
|
75
|
+
|
|
76
|
+
if (res?.hasOwnProperty("staff")) {
|
|
77
|
+
res?.staff?.map((it: any) => {
|
|
78
|
+
let x = {
|
|
79
|
+
...it,
|
|
80
|
+
price_id: "staff",
|
|
81
|
+
user_name: it.name,
|
|
82
|
+
user_image: it.image,
|
|
83
|
+
exhibitor_name: it.department_name + "-" + it.exhibitor_name,
|
|
84
|
+
checked: 0
|
|
85
|
+
}
|
|
86
|
+
ticketsData.push(x)
|
|
87
|
+
})
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (ticketsData.length == 1) { // cek jika tiket cuma 1
|
|
91
|
+
let tiket = ticketsData[0]
|
|
92
|
+
if (tiket.price_id == "staff") { // jika itu adalah id card
|
|
93
|
+
if (tiket.status_scanned == 2) {
|
|
94
|
+
/* 0 tidak diperbolehkan, 1 sudah didalam, 2 available */
|
|
95
|
+
LibNavigation.replace('event/tms_idcard', {
|
|
96
|
+
selectedTicket: { ...tiket, key: qr_code },
|
|
97
|
+
hall: "in",
|
|
98
|
+
...args
|
|
99
|
+
})
|
|
100
|
+
} else {
|
|
101
|
+
let err = {
|
|
102
|
+
message: tiket.status_label,
|
|
103
|
+
result: tiket.scanned_detail
|
|
104
|
+
}
|
|
105
|
+
LibNavigation.replace('event/tms_in_hall_failed', { msgError: err, ...args, postGetData: post })
|
|
106
|
+
}
|
|
107
|
+
} else { // jika itu adalah tiket
|
|
108
|
+
if (tiket.list?.length > 1) { // jika tiket itu mempunyai banyak qty
|
|
109
|
+
LibNavigation.replace('event/tms_in_hall_list', { data: ticketsData, ...args })
|
|
110
|
+
} else { // jika tiket itu cuma 1 qty
|
|
111
|
+
let defaultUse = LibObject.set(tiket?.list, tiket?.list?.[0]?.status_scanned != 2 ? 1 : 0)(0, 'checked')
|
|
112
|
+
let a = defaultUse?.filter((item: any) => item.checked == 1 && item.status_scanned != 2).map((it: any) => it.id)
|
|
113
|
+
let postOut = {
|
|
114
|
+
event_id: event_id,
|
|
115
|
+
ids: JSON.stringify(a),
|
|
116
|
+
hall_id: selectGate?.id,
|
|
117
|
+
trx_id: new Date().getTime() + "" + UserClass.state().get()?.id,
|
|
118
|
+
price_id: defaultUse?.filter((item: any) => item.checked == 1 && item.status_scanned != 2).map((it: any) => it.price_id)
|
|
119
|
+
}
|
|
120
|
+
if (a.length > 0) { // jika tiket itu bisa di pakai
|
|
121
|
+
let urlOut = "event_tms_hall_confirm"
|
|
122
|
+
LibNavigation.replace('event/tms_in_hall_success', { data: [tiket], ...args, url: urlOut, post: postOut })
|
|
123
|
+
} else { // jika tiket itu tidak bisa dipakai
|
|
124
|
+
let err = {
|
|
125
|
+
message: tiket?.list?.[0]?.status_label,
|
|
126
|
+
}
|
|
127
|
+
LibNavigation.replace('event/tms_in_hall_failed', { msgError: err, ...args, postGetData: post })
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
} else { // jika punya tiket banyak
|
|
132
|
+
LibNavigation.replace('event/tms_in_hall_list', { data: ticketsData, ...args })
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}, (error) => { // jika tidak punya tiket
|
|
136
|
+
esp.log({ error });
|
|
137
|
+
|
|
138
|
+
LibNavigation.replace('event/tms_in_hall_failed', { msgError: error, ...args, postGetData: post })
|
|
139
|
+
}, 1)
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
return (
|
|
144
|
+
<View style={{ flex: 1, backgroundColor: '#fff' }}>
|
|
145
|
+
<LibLoading />
|
|
146
|
+
</View>
|
|
147
|
+
)
|
|
148
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
import { EventButton } from 'esoftplay/cache/event/button/import';
|
|
5
|
+
import { EventTms_homeProperty } from 'esoftplay/cache/event/tms_home/import';
|
|
6
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
7
|
+
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
8
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
9
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
10
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
11
|
+
import { LibProgress } from 'esoftplay/cache/lib/progress/import';
|
|
12
|
+
import { LibSlidingup } from 'esoftplay/cache/lib/slidingup/import';
|
|
13
|
+
import { LibStatusbar } from 'esoftplay/cache/lib/statusbar/import';
|
|
14
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
15
|
+
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
16
|
+
import { UseCondition } from 'esoftplay/cache/use/condition/import';
|
|
17
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
18
|
+
import esp from 'esoftplay/esp';
|
|
19
|
+
import useSafeState from 'esoftplay/state';
|
|
20
|
+
import React from 'react';
|
|
21
|
+
import { Alert, Pressable, ScrollView, Text, View } from 'react-native';
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
export interface EventTms_in_hall_failedArgs {
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
export interface EventTms_in_hall_failedProps {
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default function m(props: EventTms_in_hall_failedProps): any {
|
|
32
|
+
const { scan_type, msgError, postGetData, url_ticket_update, url_ticket_detail, price_type, gate_type, event_id, selectGate, typeScanner, event_title, configPriority }: any = LibNavigation.getArgsAll<any>(props)
|
|
33
|
+
|
|
34
|
+
const [, setData, getData] = useSafeState()
|
|
35
|
+
const [qty, setQty, getQty] = useSafeState(1)
|
|
36
|
+
|
|
37
|
+
const qtyRef = React.useRef<LibSlidingup>(null)
|
|
38
|
+
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
EventTms_homeProperty.addCounterHallInScanFailed(1, "0")
|
|
41
|
+
}, [])
|
|
42
|
+
|
|
43
|
+
function getBack() {
|
|
44
|
+
LibNavigation.replace('component/scanner', {
|
|
45
|
+
selectGate: selectGate,
|
|
46
|
+
fromPage: 'event/tms_home',
|
|
47
|
+
event_id: event_id,
|
|
48
|
+
event_title: event_title,
|
|
49
|
+
typeScanner: typeScanner,
|
|
50
|
+
gate_type: gate_type,
|
|
51
|
+
price_type: price_type,
|
|
52
|
+
url_ticket_detail: url_ticket_detail,
|
|
53
|
+
url_ticket_update: url_ticket_update,
|
|
54
|
+
configPriority: configPriority,
|
|
55
|
+
scan_type: scan_type,
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function forceEntrance() {
|
|
60
|
+
let dataEntranceIn = []
|
|
61
|
+
let dataEntranceBackIn = []
|
|
62
|
+
let mustBeEntrance = 0
|
|
63
|
+
let doneEntrance = 0
|
|
64
|
+
|
|
65
|
+
const arr: any[] = msgError.result
|
|
66
|
+
dataEntranceIn = arr.filter((x: any) => x?.status_scanned == 2)
|
|
67
|
+
dataEntranceBackIn = arr.filter((x: any) => x?.status_scanned == 5)
|
|
68
|
+
|
|
69
|
+
qtyRef.current?.hide()
|
|
70
|
+
LibProgress.show("Processing")
|
|
71
|
+
|
|
72
|
+
if (dataEntranceIn.length > 0) {
|
|
73
|
+
mustBeEntrance += 1
|
|
74
|
+
let post = {
|
|
75
|
+
"target-url": `https://api.${esp.config().domain}/gate_checkin`,
|
|
76
|
+
price_id: getData().ticket.price_id,
|
|
77
|
+
qr: encodeURIComponent(postGetData.user_qr),
|
|
78
|
+
trx_id: new Date().getTime() + "" + UserClass.state().get()?.id,
|
|
79
|
+
event_id: event_id,
|
|
80
|
+
gate_id: getData().gate.id,
|
|
81
|
+
is_tms: 1,
|
|
82
|
+
qty: getQty(),
|
|
83
|
+
tms_id: UserClass.state().get()?.id,
|
|
84
|
+
scanned: LibUtils.moment().format('YYYY-MM-DD HH:mm:ss'),
|
|
85
|
+
}
|
|
86
|
+
new LibCurl(url_ticket_update, post,
|
|
87
|
+
(res) => {
|
|
88
|
+
doneEntrance += 1
|
|
89
|
+
if (mustBeEntrance <= doneEntrance) {
|
|
90
|
+
LibProgress.hide()
|
|
91
|
+
Alert.alert("Berhasil masuk ke Gate!", "Silahkan lanjutkan proses masuk ke hall", [
|
|
92
|
+
{
|
|
93
|
+
text: "OK", onPress: () => {
|
|
94
|
+
LibNavigation.replace("event/tms_in_hall", { scan_type, url_ticket_update, url_ticket_detail, price_type, gate_type, qr_code: postGetData.user_qr, event_id, selectGate, typeScanner, event_title, configPriority })
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
])
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
(error) => {
|
|
101
|
+
doneEntrance += 1
|
|
102
|
+
if (mustBeEntrance <= doneEntrance) {
|
|
103
|
+
LibProgress.hide()
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
if (dataEntranceBackIn.length > 0) {
|
|
109
|
+
mustBeEntrance += 1
|
|
110
|
+
var post = {
|
|
111
|
+
event_id: event_id,
|
|
112
|
+
ids: JSON.stringify(dataEntranceBackIn.map((x: any) => x.id_out_temporary).slice(0, getQty())),
|
|
113
|
+
gate_id: getData().gate.id,
|
|
114
|
+
}
|
|
115
|
+
new LibCurl('event_tms_out_temporary_in_confirm', post, (result, msg) => {
|
|
116
|
+
doneEntrance += 1
|
|
117
|
+
if (mustBeEntrance <= doneEntrance) {
|
|
118
|
+
LibProgress.hide()
|
|
119
|
+
Alert.alert("Berhasil masuk ke Gate!", "Silahkan lanjutkan proses masuk ke hall", [
|
|
120
|
+
{
|
|
121
|
+
text: "OK", onPress: () => {
|
|
122
|
+
LibNavigation.replace("event/tms_in_hall", { scan_type, url_ticket_update, url_ticket_detail, price_type, gate_type, qr_code: postGetData.user_qr, event_id, selectGate, typeScanner, event_title, configPriority })
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
])
|
|
126
|
+
// LibNavigation.replace("event/tms_in_hall", { scan_type, url_ticket_update, url_ticket_detail, price_type, gate_type, qr_code: postGetData.user_qr, event_id, selectGate, typeScanner, event_title, configPriority })
|
|
127
|
+
}
|
|
128
|
+
}, (error) => {
|
|
129
|
+
doneEntrance += 1
|
|
130
|
+
if (mustBeEntrance <= doneEntrance) {
|
|
131
|
+
LibProgress.hide()
|
|
132
|
+
}
|
|
133
|
+
})
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function sendTelegram() {
|
|
138
|
+
let data = {
|
|
139
|
+
'#bbohallin': ":",
|
|
140
|
+
reporter: {
|
|
141
|
+
email: UserClass.state().get().email,
|
|
142
|
+
name: UserClass.state().get().name
|
|
143
|
+
},
|
|
144
|
+
url: "event_tms_hall",
|
|
145
|
+
post: postGetData,
|
|
146
|
+
error_msg: msgError,
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
let post = {
|
|
150
|
+
text: String(JSON.stringify(data || {}, undefined, 2)).replace(/[\[\]\{\}\"]+/g, ''),
|
|
151
|
+
chat_id: '-1001737180019',
|
|
152
|
+
disable_web_page_preview: true
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
let _url = "https://api.telegram.org/bot923808407:AAEFBlllQNKCEn8E66fwEzCj5vs9qGwVGT4/sendMessage"
|
|
156
|
+
new LibCurl().custom(_url, post, (res, msg) => { })
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
return (
|
|
160
|
+
<View style={{ flex: 1 }}>
|
|
161
|
+
<LibStatusbar style='light' />
|
|
162
|
+
<View style={{ flex: 1 }}>
|
|
163
|
+
<LibPicture source={esp.assets('failed.png')} style={{ flex: 1, height: LibStyle.height, width: LibStyle.width }} /* resizeMode={"stretch"} */ />
|
|
164
|
+
</View>
|
|
165
|
+
<View style={{ flex: 1, position: 'absolute', top: 50, left: 0, right: 0, bottom: 0, alignItems: 'center', alignContent: 'center' }} >
|
|
166
|
+
<ScrollView>
|
|
167
|
+
<View style={{ marginBottom: 20, alignSelf: 'center', borderRadius: LibStyle.width / 3, padding: 10, backgroundColor: '#fff' }}>
|
|
168
|
+
<LibPicture
|
|
169
|
+
source={esp.assets('failed_icon.png')}
|
|
170
|
+
style={{ width: LibStyle.width / 3, height: LibStyle.width / 3 }}
|
|
171
|
+
/>
|
|
172
|
+
</View>
|
|
173
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', fontSize: 25, color: '#fff', marginHorizontal: 20, textAlign: 'center', letterSpacing: 1 }}>{msgError?.message}</Text>
|
|
174
|
+
<ScrollView>
|
|
175
|
+
<View style={{ minHeight: LibStyle.height * 0.4, marginTop: 30 }}>
|
|
176
|
+
{
|
|
177
|
+
msgError?.result?.length > 0 &&
|
|
178
|
+
<Text allowFontScaling={false} style={{ textAlign: 'center', marginBottom: 10, fontSize: 18, fontWeight: "bold", fontStyle: "normal", letterSpacing: 1.5, color: "#fff" }}>{esp.lang("event/tms_in_hall_failed", "history_used")}</Text>
|
|
179
|
+
}
|
|
180
|
+
{
|
|
181
|
+
msgError?.result?.length > 0 && msgError?.result?.map((item: any, i: number) => {
|
|
182
|
+
return (
|
|
183
|
+
<View key={i} style={{ marginBottom: 5, backgroundColor: "#fff", borderRadius: 10, overflow: 'hidden' }}>
|
|
184
|
+
{
|
|
185
|
+
item.hasOwnProperty("status_label") && item?.status_label != "" &&
|
|
186
|
+
<View style={{ backgroundColor: '#37c2d0', padding: 10, }} >
|
|
187
|
+
<Text allowFontScaling={false} style={{ fontSize: 16, fontWeight: "bold", fontStyle: "normal", letterSpacing: 1.5, color: item?.status == 1 ? item?.status_background : "#fff" }}>{(item?.status_label)?.toUpperCase()}</Text>
|
|
188
|
+
</View>
|
|
189
|
+
}
|
|
190
|
+
<View style={{ padding: 10, flexDirection: 'row', justifyContent: 'space-between', }}>
|
|
191
|
+
<View style={{ flex: 1 }}>
|
|
192
|
+
<Text allowFontScaling={false} style={{ marginBottom: 5, fontWeight: 'bold', fontSize: 14 }}>{esp.lang("event/tms_in_hall_failed", "type")}</Text>
|
|
193
|
+
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode="tail" style={{ letterSpacing: 1, fontSize: 12 }}>{item?.price_name}</Text>
|
|
194
|
+
</View>
|
|
195
|
+
<View style={{ flex: 2 }}>
|
|
196
|
+
<Text allowFontScaling={false} style={{ marginBottom: 5, fontWeight: 'bold', textAlign: 'center', fontSize: 14 }}>{esp.lang("event/tms_in_hall_failed", "time")}</Text>
|
|
197
|
+
{
|
|
198
|
+
item?.hall_scanned != "0000-00-00 00:00:00" &&
|
|
199
|
+
<Text allowFontScaling={false} style={{ textAlign: 'center', fontSize: 12 }}>{LibUtils.moment(item?.hall_scanned).localeFormat("DD MMM H:mm:ss ")}</Text>
|
|
200
|
+
}
|
|
201
|
+
</View>
|
|
202
|
+
<View style={{ flex: 2 }}>
|
|
203
|
+
<Text allowFontScaling={false} style={{ marginBottom: 5, fontWeight: 'bold', textAlign: 'center', fontSize: 14 }}>{/*hall*/"TMS - Hall"}</Text>
|
|
204
|
+
{
|
|
205
|
+
item?.hall_name != null &&
|
|
206
|
+
<Text allowFontScaling={false} style={{ letterSpacing: 1, textAlign: 'center', fontSize: 12 }}>{item.hasOwnProperty("tms_email") ? item?.tms_email + "\n" + item?.hall_name : item?.hall_name}</Text>
|
|
207
|
+
}
|
|
208
|
+
</View>
|
|
209
|
+
|
|
210
|
+
</View>
|
|
211
|
+
</View>
|
|
212
|
+
)
|
|
213
|
+
})
|
|
214
|
+
}
|
|
215
|
+
</View>
|
|
216
|
+
</ScrollView>
|
|
217
|
+
</ScrollView>
|
|
218
|
+
<UseCondition if={msgError?.status_code == 'EV043'}>
|
|
219
|
+
<View style={{ flexDirection: 'row' }} >
|
|
220
|
+
<Pressable onPress={() => {
|
|
221
|
+
LibNavigation.navigateForResult("event/tms_gate_result", { type: "gate", event_id: event_id }, 2123).then((gate) => {
|
|
222
|
+
const ticket = msgError.result[0]
|
|
223
|
+
setData({ gate, ticket })
|
|
224
|
+
const validDataLength = msgError.result?.filter?.((x: any) => (x?.status_scanned == 2 || x?.status_scanned == 5))?.length
|
|
225
|
+
if (validDataLength > 1) {
|
|
226
|
+
qtyRef.current?.show()
|
|
227
|
+
} else if (validDataLength == 1) {
|
|
228
|
+
setQty(1)
|
|
229
|
+
forceEntrance()
|
|
230
|
+
}
|
|
231
|
+
})
|
|
232
|
+
}} style={{ marginHorizontal: 20, flex: 1, height: 40, borderRadius: 5, backgroundColor: LibStyle.colorPrimary, justifyContent: 'center', alignContent: 'center', alignItems: 'center', ...LibStyle.elevation(10) }} >
|
|
233
|
+
<Text allowFontScaling={false} style={{ textAlign: 'center', fontWeight: 'bold', color: "#fff" }}>PAKSA MASUK KE GATE</Text>
|
|
234
|
+
</Pressable>
|
|
235
|
+
</View>
|
|
236
|
+
</UseCondition>
|
|
237
|
+
<View style={{ flexDirection: 'row', width: LibStyle.width - 40, alignItems: 'center', marginVertical: 10, justifyContent: 'center' }}>
|
|
238
|
+
<UseCondition if={msgError?.status_code != 'EV043'}>
|
|
239
|
+
<Pressable onPress={() => {
|
|
240
|
+
LibDialog.warningConfirm(esp.lang("event/tms_in_failed", "warn_title"), esp.lang("event/tms_in_failed", "warn_msg"), esp.lang("event/tms_in_failed", "warn_ok"), () => {
|
|
241
|
+
sendTelegram()
|
|
242
|
+
}, esp.lang("event/tms_in_failed", "warn_no"), () => { })
|
|
243
|
+
|
|
244
|
+
}} style={{ width: (LibStyle.width - 45) * 0.5, height: 40, borderRadius: 5, backgroundColor: LibStyle.colorRed, borderWidth: 3, borderColor: "#fff", justifyContent: 'center', alignContent: 'center', alignItems: 'center', ...LibStyle.elevation(10) }}>
|
|
245
|
+
<Text allowFontScaling={false} style={{ textAlign: 'center', fontWeight: 'bold', color: "#fff" }}>{esp.lang("event/tms_in_hall_failed", "report_error")}</Text>
|
|
246
|
+
</Pressable>
|
|
247
|
+
</UseCondition>
|
|
248
|
+
<Pressable onPress={getBack} style={{ width: (LibStyle.width - 45) * 0.5, height: 40, borderRadius: 5, borderWidth: 5, borderColor: LibStyle.colorGreen, justifyContent: 'center', alignContent: 'center', alignItems: 'center', ...LibStyle.elevation(10) }}>
|
|
249
|
+
<Text allowFontScaling={false} style={{ fontWeight: 'bold', color: "#fff" }}>{esp.lang("event/tms_in_hall_failed", "back")}</Text>
|
|
250
|
+
</Pressable>
|
|
251
|
+
|
|
252
|
+
</View>
|
|
253
|
+
</View>
|
|
254
|
+
<LibSlidingup ref={qtyRef}>
|
|
255
|
+
<View style={{ backgroundColor: 'white', padding: 20, borderTopLeftRadius: 30, borderTopRightRadius: 30 }} >
|
|
256
|
+
<View style={{ flexDirection: 'row', padding: 20, alignItems: 'center' }} >
|
|
257
|
+
<Pressable onPress={() => { setQty(Math.max(1, qty - 1)) }} >
|
|
258
|
+
<LibIcon.SimpleLineIcons size={40} name='minus' />
|
|
259
|
+
</Pressable>
|
|
260
|
+
<Text allowFontScaling={false} style={{ fontSize: 50, fontWeight: 'bold', textAlign: 'center', flex: 1 }}>{qty}</Text>
|
|
261
|
+
<Pressable onPress={() => { setQty(Math.min(msgError.result?.filter?.((x: any) => (x?.status_scanned == 2 || x?.status_scanned == 5))?.length, qty + 1)) }} >
|
|
262
|
+
<LibIcon.SimpleLineIcons size={40} name='plus' />
|
|
263
|
+
</Pressable>
|
|
264
|
+
</View>
|
|
265
|
+
<EventButton label='Force Entrance' onPress={() => { forceEntrance() }} />
|
|
266
|
+
</View>
|
|
267
|
+
</LibSlidingup >
|
|
268
|
+
</View >
|
|
269
|
+
)
|
|
270
|
+
}
|