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,116 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
|
|
3
|
+
import { ComponentSection_notif } from 'esoftplay/cache/component/section_notif/import';
|
|
4
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
5
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
6
|
+
import { LibLoading } from 'esoftplay/cache/lib/loading/import';
|
|
7
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
8
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
9
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
10
|
+
import { MarketSection_menu } from 'esoftplay/cache/market/section_menu/import';
|
|
11
|
+
import { NotificationItem } from 'esoftplay/cache/notification/item/import';
|
|
12
|
+
import { EventOrder_status } from 'esoftplay/cache/event/order_status/import';
|
|
13
|
+
import { UserNotification_list } from 'esoftplay/cache/user/notification_list/import';
|
|
14
|
+
import esp from 'esoftplay/esp';
|
|
15
|
+
import useGlobalState from 'esoftplay/global';
|
|
16
|
+
import useSafeState from 'esoftplay/state';
|
|
17
|
+
|
|
18
|
+
import React, { useEffect } from 'react';
|
|
19
|
+
import { Text, TouchableOpacity, View } from 'react-native';
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export interface NotificationEventArgs {
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
export interface NotificationEventProps {
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const state = useGlobalState<any>(undefined, { persistKey: 'notification_event_data', inFile: true })
|
|
30
|
+
|
|
31
|
+
export default function m(props: NotificationEventProps): any {
|
|
32
|
+
const [data, setData] = state.useState()
|
|
33
|
+
const [error, setError] = useSafeState<any>('')
|
|
34
|
+
const [badge, setBadge] = useSafeState<number>(0)
|
|
35
|
+
|
|
36
|
+
let menu = EventOrder_status()
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
function loadBadgeWaitingOrder() {
|
|
40
|
+
new LibCurl('event_order_waiting_notification', null, (res, msg) => {
|
|
41
|
+
setBadge(res?.waiting)
|
|
42
|
+
// setIsExist(1)
|
|
43
|
+
}, (error) => {
|
|
44
|
+
}, 1)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
new LibCurl('event_booking_notification', null,
|
|
49
|
+
(res, msg) => {
|
|
50
|
+
setData(res)
|
|
51
|
+
}, msg => {
|
|
52
|
+
setError(msg?.message)
|
|
53
|
+
}, 1
|
|
54
|
+
)
|
|
55
|
+
loadBadgeWaitingOrder()
|
|
56
|
+
}, [])
|
|
57
|
+
|
|
58
|
+
function renderMenu(item: any, i: number) {
|
|
59
|
+
return (
|
|
60
|
+
<NotificationItem key={i} icon={item.icon} badge={data?.member?.[item.code]} onPress={() => {
|
|
61
|
+
LibNavigation.navigate(item.module, { status: item.code })
|
|
62
|
+
}} title={item.text} />
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<View style={{ flex: 1 }}>
|
|
68
|
+
<UserNotification_list
|
|
69
|
+
tag='#event'
|
|
70
|
+
ListHeaderComponent={
|
|
71
|
+
!data && error == '' ?
|
|
72
|
+
<LibLoading /> :
|
|
73
|
+
<>
|
|
74
|
+
<View style={{ marginTop: 15 }} />
|
|
75
|
+
<ComponentSection_notif title={esp.lang("notification/event", "Ticket_Purchase")} onPress={() => {
|
|
76
|
+
LibNavigation.navigate('event/order')
|
|
77
|
+
}} />
|
|
78
|
+
|
|
79
|
+
<TouchableOpacity
|
|
80
|
+
onPress={() => {
|
|
81
|
+
LibNavigation.navigate('event/order_waiting')
|
|
82
|
+
}}
|
|
83
|
+
style={{ margin: 15, flex: 1, flexDirection: 'row', alignItems: 'center' }}>
|
|
84
|
+
<Text allowFontScaling={false} style={{ fontFamily: "SFProText", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#4b4b4b", flex: 1 }}>{esp.lang("notification/event", "waiting_payment")}</Text>
|
|
85
|
+
|
|
86
|
+
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
87
|
+
{
|
|
88
|
+
badge != 0 &&
|
|
89
|
+
<View style={{ backgroundColor: LibStyle.colorRed, height: 17, padding: 5, paddingVertical: 2, borderRadius: 10, alignContent: 'center', alignItems: 'center' }}>
|
|
90
|
+
<Text allowFontScaling={false} style={{ fontFamily: "ArialBold", fontSize: 12, letterSpacing: 0, color: "#ffffff" }}>{badge > 99 ? "99+" : String(badge)}</Text>
|
|
91
|
+
</View>
|
|
92
|
+
}
|
|
93
|
+
<LibIcon name='chevron-right' />
|
|
94
|
+
</View>
|
|
95
|
+
</TouchableOpacity>
|
|
96
|
+
|
|
97
|
+
<View style={{ marginLeft: 5, marginTop: 15, flexDirection: 'row', flexWrap: 'wrap' }}>
|
|
98
|
+
{
|
|
99
|
+
menu.filter((it: any) => it.publish == 1).map(renderMenu)
|
|
100
|
+
}
|
|
101
|
+
</View>
|
|
102
|
+
|
|
103
|
+
<TouchableOpacity onPress={() => {
|
|
104
|
+
LibNavigation.navigate('event/visitor_index')
|
|
105
|
+
}} style={{ flexDirection: 'row', borderRadius: 10, backgroundColor: '#FEFBEB', borderColor: "#FFCC29", borderWidth: 1, borderStyle: 'dashed', alignContent: 'center', alignItems: 'center', flex: 1, margin: 15, marginTop: 0, padding: 10 }}>
|
|
106
|
+
<Text allowFontScaling={false} style={{ flex: 1, fontFamily: "Arial", fontSize: 12, fontStyle: "normal", letterSpacing: 0 }} >{esp.lang("notification/event", "history_staff_pic_exhibitor")}</Text>
|
|
107
|
+
<LibPicture source={esp.assets('icons/ic_chevron_right.png')} style={{ marginLeft: 6, height: 13, width: 13, resizeMode: 'contain' }} />
|
|
108
|
+
</TouchableOpacity>
|
|
109
|
+
|
|
110
|
+
<MarketSection_menu title={esp.lang("notification/event", "notification")} />
|
|
111
|
+
</>
|
|
112
|
+
}
|
|
113
|
+
/>
|
|
114
|
+
</View>
|
|
115
|
+
)
|
|
116
|
+
}
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
|
|
3
|
+
import AsyncStorage from '@react-native-async-storage/async-storage';
|
|
4
|
+
import { applyStyle } from 'esoftplay';
|
|
5
|
+
import { ComponentHeader } from 'esoftplay/cache/component/header/import';
|
|
6
|
+
import { ComponentTouchable } from 'esoftplay/cache/component/touchable/import';
|
|
7
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
8
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
9
|
+
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
10
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
11
|
+
import { LibSlidingup } from 'esoftplay/cache/lib/slidingup/import';
|
|
12
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
13
|
+
import { NotificationCommunity } from 'esoftplay/cache/notification/community/import';
|
|
14
|
+
import { NotificationDc } from 'esoftplay/cache/notification/dc/import';
|
|
15
|
+
import { NotificationEvent } from 'esoftplay/cache/notification/event/import';
|
|
16
|
+
import { NotificationMarketplace } from 'esoftplay/cache/notification/marketplace/import';
|
|
17
|
+
import { NotificationMitra } from 'esoftplay/cache/notification/mitra/import';
|
|
18
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
19
|
+
import { UserNotification } from 'esoftplay/cache/user/notification/import';
|
|
20
|
+
import { UserNotification_list } from 'esoftplay/cache/user/notification_list/import';
|
|
21
|
+
import esp from 'esoftplay/esp';
|
|
22
|
+
import useGlobalState from 'esoftplay/global';
|
|
23
|
+
import useSafeState from 'esoftplay/state';
|
|
24
|
+
|
|
25
|
+
import React, { useEffect, useRef } from 'react';
|
|
26
|
+
import { Pressable, ScrollView, Text, TouchableOpacity, View } from 'react-native';
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export interface NorificationIndexProps {
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const cacheTabsNotification = useGlobalState(undefined, { persistKey: 'notif_cache' })
|
|
34
|
+
|
|
35
|
+
export default function m(props: NorificationIndexProps): any {
|
|
36
|
+
const user = UserClass.state().useSelector(x => x)
|
|
37
|
+
const slidertab = useRef<ScrollView>(null)
|
|
38
|
+
let _tabsOrigin: any = {
|
|
39
|
+
umum: {
|
|
40
|
+
id: 1,
|
|
41
|
+
tag: '',
|
|
42
|
+
title: esp.lang("notification/index", "general"),
|
|
43
|
+
total: 0,
|
|
44
|
+
icon: 'icons/ic_notification.png',
|
|
45
|
+
view: UserNotification_list,
|
|
46
|
+
publish: 1
|
|
47
|
+
},
|
|
48
|
+
event: {
|
|
49
|
+
id: 5,
|
|
50
|
+
tag: '#event',
|
|
51
|
+
title: esp.lang("notification/index", "event"),
|
|
52
|
+
total: 0,
|
|
53
|
+
icon: 'menu/ic_event.png',
|
|
54
|
+
view: NotificationEvent,
|
|
55
|
+
publish: 1
|
|
56
|
+
},
|
|
57
|
+
jobs: {
|
|
58
|
+
id: 2,
|
|
59
|
+
tag: '#community',
|
|
60
|
+
title: esp.lang("notification/index", "job"),
|
|
61
|
+
total: 0,
|
|
62
|
+
icon: 'menu/ic_jobs.png',
|
|
63
|
+
view: NotificationCommunity,
|
|
64
|
+
publish: 1
|
|
65
|
+
},
|
|
66
|
+
market: {
|
|
67
|
+
id: 3,
|
|
68
|
+
tag: '#marketplace',
|
|
69
|
+
title: esp.lang("notification/index", "toko_bbo"),
|
|
70
|
+
total: 0,
|
|
71
|
+
icon: 'menu/ic_toko_bbo2.png',
|
|
72
|
+
view: NotificationMarketplace,
|
|
73
|
+
publish: 1
|
|
74
|
+
},
|
|
75
|
+
mitra: {
|
|
76
|
+
id: 4,
|
|
77
|
+
tag: '#mitra',
|
|
78
|
+
title: esp.lang("notification/index", "toserba"),
|
|
79
|
+
total: 0,
|
|
80
|
+
icon: 'menu/ic_business.jpg',
|
|
81
|
+
view: NotificationMitra,
|
|
82
|
+
publish: 1
|
|
83
|
+
},
|
|
84
|
+
dc: {
|
|
85
|
+
id: 6,
|
|
86
|
+
tag: '#dc',
|
|
87
|
+
title: esp.lang("notification/index", "dc"),
|
|
88
|
+
total: 0,
|
|
89
|
+
icon: 'menu/ic_business.jpg',
|
|
90
|
+
view: NotificationDc,
|
|
91
|
+
publish: esp.isDebug('dc_debug') && user?.mitra_id != 0
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
let _def = !esp.isDebug('') ? ['umum', 'event', 'jobs', 'market', 'mitra'] :
|
|
96
|
+
(esp.isDebug('mitra_debug,dc_debug') && user?.mitra_id != 0) ? ['umum', 'event', 'jobs', 'market', 'mitra', 'dc'] :
|
|
97
|
+
['umum', 'event', 'jobs', 'market', 'mitra']
|
|
98
|
+
const def: any = cacheTabsNotification.get() || _def
|
|
99
|
+
|
|
100
|
+
const _tabs: any = def.map((key: any) => (_tabsOrigin[key])).filter((x: any) => x.publish == 1)
|
|
101
|
+
|
|
102
|
+
const { stab } = LibNavigation.getArgsAll(props, { stab: 0 })
|
|
103
|
+
|
|
104
|
+
const [tab, setTab] = useSafeState<any>(stab)
|
|
105
|
+
const [tabs, setTabs] = useSafeState<any>(esp.isDebug('mitra_debug,dc_debug') ? _tabs.slice(0, 3) : _tabs)
|
|
106
|
+
const [selectTabs, setSelecTabs] = useSafeState<any>(_tabs[stab])
|
|
107
|
+
|
|
108
|
+
// const TView = esp.isDebug() ? [UserNotification_list, NotificationCommunity, NotificationMarketplace, /* EventVisitor_history */NotificationMitra, NotificationEvent][tab]
|
|
109
|
+
// : [UserNotification_list, NotificationCommunity, NotificationMarketplace, NotificationEvent][tab]
|
|
110
|
+
const TView = _tabsOrigin?.[def[tab]]?.view
|
|
111
|
+
const reverseData = UserNotification.state().useSelector(s => s.data)
|
|
112
|
+
|
|
113
|
+
let filtered: any = reverseData
|
|
114
|
+
let pattern = new RegExp(/^#[A-Za-z]+\s{0,}/, 'g')
|
|
115
|
+
|
|
116
|
+
useEffect(() => {
|
|
117
|
+
if (_def?.length != def?.length) {
|
|
118
|
+
AsyncStorage.removeItem('notif_cache')
|
|
119
|
+
}
|
|
120
|
+
// if (stab != 0) {
|
|
121
|
+
// InteractionManager.runAfterInteractions(() => {
|
|
122
|
+
// slidertab.current?.scrollTo?.({ x: 0, y: stab * 100, animated: false })
|
|
123
|
+
// })
|
|
124
|
+
// }
|
|
125
|
+
}, [])
|
|
126
|
+
|
|
127
|
+
useEffect(() => {
|
|
128
|
+
let a: any = []
|
|
129
|
+
tabs.map((item: any) => {
|
|
130
|
+
if (!item.tag) {
|
|
131
|
+
filtered = reverseData?.filter?.((x: any) => !String(x.title).match(pattern))
|
|
132
|
+
filtered = filtered?.filter((item: any) => item.status != 2)
|
|
133
|
+
item.total = filtered?.length
|
|
134
|
+
a.push(item)
|
|
135
|
+
} else {
|
|
136
|
+
filtered = reverseData?.filter?.((x: any) => x.title.includes(item.tag))
|
|
137
|
+
filtered = filtered?.filter((item: any) => item.status != 2)
|
|
138
|
+
item.total = filtered?.length
|
|
139
|
+
a.push(item)
|
|
140
|
+
}
|
|
141
|
+
})
|
|
142
|
+
|
|
143
|
+
setTabs(a)
|
|
144
|
+
}, [reverseData])
|
|
145
|
+
|
|
146
|
+
function renderTabs(item: any, i: number) {
|
|
147
|
+
let tabsLength = 4
|
|
148
|
+
return (
|
|
149
|
+
<ComponentTouchable key={i} onPress={() => {
|
|
150
|
+
setTab(i)
|
|
151
|
+
setSelecTabs(item)
|
|
152
|
+
}}>
|
|
153
|
+
<View style={applyStyle({ height: 43, width: LibStyle.width / tabsLength, alignItems: 'center', overflow: 'visible', justifyContent: 'center', backgroundColor: '#fff' })}>
|
|
154
|
+
<Text allowFontScaling={false} style={{
|
|
155
|
+
width: LibStyle.width / tabsLength, fontFamily: "Arial", fontSize: tab == i ? 13 : 12,
|
|
156
|
+
fontWeight: tab == i ? "bold" : "normal",
|
|
157
|
+
fontStyle: "normal", letterSpacing: 0, textAlign: "center",
|
|
158
|
+
color: tab == i ? "#51b596" : "#c5c5c5"
|
|
159
|
+
}}>{item.title}</Text>
|
|
160
|
+
<View style={{ marginTop: 2, width: 5, height: 5, borderRadius: 2.5, alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorRed, opacity: item.total > 0 ? 1 : 0 }} />
|
|
161
|
+
<View style={{ width: (LibStyle.width / tabsLength) - 20, height: 3, backgroundColor: tab == i ? "#51b596" : "#fff", position: 'absolute', bottom: 0 }} />
|
|
162
|
+
</View>
|
|
163
|
+
</ComponentTouchable>
|
|
164
|
+
)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function renderMainTab(item: any, i: number) {
|
|
168
|
+
return (
|
|
169
|
+
<TouchableOpacity key={i} onPress={() => {
|
|
170
|
+
if (editable) {
|
|
171
|
+
setMainTab(LibObject.splice(mainTab, i, 1)())
|
|
172
|
+
setArrKey(LibObject.splice(arrKey, i, 1)())
|
|
173
|
+
} else {
|
|
174
|
+
setTab(i)
|
|
175
|
+
setSelecTabs(item)
|
|
176
|
+
sliding.current?.hide()
|
|
177
|
+
}
|
|
178
|
+
}} activeOpacity={1} style={{ marginRight: 10, alignItems: 'center' }} >
|
|
179
|
+
<View style={{ width: itemWidth, alignItems: "center", padding: 15, borderRadius: 5 }} >
|
|
180
|
+
<LibPicture source={esp.assets(item?.icon)} style={{ width: 45, height: 45 }} resizeMode="contain" />
|
|
181
|
+
{
|
|
182
|
+
editable &&
|
|
183
|
+
<View style={{ position: 'absolute', top: 7, right: 10, height: 18, width: 18, borderRadius: 9, borderWidth: 0.8, borderColor: 'white', padding: 5, paddingVertical: 2, backgroundColor: LibStyle.colorRed, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }} >
|
|
184
|
+
<LibIcon name="minus" size={14} color="white" />
|
|
185
|
+
</View>
|
|
186
|
+
}
|
|
187
|
+
</View>
|
|
188
|
+
<Text allowFontScaling={false} style={{ fontFamily: 'Arial', fontSize: 12, alignItems: 'center' }} >{item.title}</Text>
|
|
189
|
+
</TouchableOpacity>
|
|
190
|
+
)
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function renderTabsOrigin(item: any, i: number) {
|
|
194
|
+
return (
|
|
195
|
+
<TouchableOpacity key={i} disabled={editable && mainTab.length == 3} onPress={() => {
|
|
196
|
+
if (mainTab.length < 3 && !mainTab.map((x: any) => x.id).includes(item.id)) {
|
|
197
|
+
setMainTab(LibObject.push(mainTab, item)())
|
|
198
|
+
setArrKey(LibObject.push(arrKey, _def[i])())
|
|
199
|
+
} else if (!editable) {
|
|
200
|
+
setTab(_tabs.findIndex((it: any) => it.id == item.id))
|
|
201
|
+
setSelecTabs(item)
|
|
202
|
+
sliding.current?.hide()
|
|
203
|
+
}
|
|
204
|
+
}} activeOpacity={1} style={{ marginRight: 10, alignItems: 'center', paddingBottom: 5 }} >
|
|
205
|
+
<View style={{ width: itemWidth, alignItems: "center", padding: 15, paddingBottom: 10, borderRadius: 5 }} >
|
|
206
|
+
<LibPicture source={esp.assets(item?.icon)} style={{ width: 45, height: 45 }} resizeMode="contain" />
|
|
207
|
+
{
|
|
208
|
+
mainTab.length < 3 && !mainTab.map((x: any) => x.id).includes(item.id) &&
|
|
209
|
+
<View style={{ position: 'absolute', top: 7, right: 10, height: 18, width: 18, borderRadius: 9, borderWidth: 0.8, borderColor: 'white', padding: 5, paddingVertical: 2, backgroundColor: mainTab.map((x: any) => x.id).includes(item.id) ? '#707070' : LibStyle.colorGreen, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }} >
|
|
210
|
+
<LibIcon name="plus" size={14} color="white" />
|
|
211
|
+
</View>
|
|
212
|
+
}
|
|
213
|
+
</View>
|
|
214
|
+
<Text allowFontScaling={false} style={{ fontFamily: 'Arial', fontSize: 12, alignItems: 'center' }} >{item.title}</Text>
|
|
215
|
+
</TouchableOpacity>
|
|
216
|
+
)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
const sliding = useRef<LibSlidingup>(null)
|
|
220
|
+
const itemWidth = (LibStyle.width - 70) / 4
|
|
221
|
+
|
|
222
|
+
const [mainTab, setMainTab] = useSafeState(_tabs.slice(0, 3))
|
|
223
|
+
const [editable, setEditable] = useSafeState(false)
|
|
224
|
+
const [arrKey, setArrKey] = useSafeState(def.slice(0, 3))
|
|
225
|
+
|
|
226
|
+
return (
|
|
227
|
+
<View style={{ flex: 1, backgroundColor: '#fff' }}>
|
|
228
|
+
<ComponentHeader title={esp.lang("notification/index", "notification")} notif />
|
|
229
|
+
<View style={{ height: 43, marginBottom: 2, flexDirection: 'row', backgroundColor: '#fff', borderBottomWidth: 1, borderBottomColor: '#f2f2f2', /* ...LibStyle.elevation(2) */ }} >
|
|
230
|
+
{
|
|
231
|
+
!esp.isDebug('live_only') &&
|
|
232
|
+
<Pressable style={{ justifyContent: 'center' }} >
|
|
233
|
+
<LibIcon.SimpleLineIcons name='arrow-left' size={14} color={"#999"} />
|
|
234
|
+
</Pressable>
|
|
235
|
+
}
|
|
236
|
+
<ScrollView
|
|
237
|
+
ref={slidertab}
|
|
238
|
+
horizontal
|
|
239
|
+
showsHorizontalScrollIndicator={false} >
|
|
240
|
+
{
|
|
241
|
+
tabs.map(renderTabs)
|
|
242
|
+
}
|
|
243
|
+
{
|
|
244
|
+
esp.isDebug('') &&
|
|
245
|
+
<ComponentTouchable onPress={() => { sliding.current?.show() }}>
|
|
246
|
+
<View style={{ height: 43, width: LibStyle.width / 4, alignItems: 'center', overflow: 'visible', justifyContent: 'center', backgroundColor: '#fff' }}>
|
|
247
|
+
<Text allowFontScaling={false} style={{
|
|
248
|
+
width: LibStyle.width / 4, fontFamily: "Arial", fontSize: 13,
|
|
249
|
+
fontWeight: "normal",
|
|
250
|
+
fontStyle: "normal", letterSpacing: 0, textAlign: "center",
|
|
251
|
+
color: "#c5c5c5"
|
|
252
|
+
}}>{esp.lang("notification/index", "others")}</Text>
|
|
253
|
+
<View style={{ marginTop: 2, width: 5, height: 5, borderRadius: 2.5, alignItems: 'center', justifyContent: 'center', backgroundColor: LibStyle.colorRed, opacity: 0 }} />
|
|
254
|
+
</View>
|
|
255
|
+
|
|
256
|
+
</ComponentTouchable>
|
|
257
|
+
}
|
|
258
|
+
</ScrollView>
|
|
259
|
+
{
|
|
260
|
+
!esp.isDebug('live_only') &&
|
|
261
|
+
<Pressable style={{ justifyContent: 'center' }} >
|
|
262
|
+
<LibIcon.SimpleLineIcons name='arrow-right' size={14} color={"#999"} />
|
|
263
|
+
</Pressable>
|
|
264
|
+
}
|
|
265
|
+
</View>
|
|
266
|
+
<TView tag={selectTabs?.tag} />
|
|
267
|
+
<LibSlidingup ref={sliding} onChangeShow={(s) => {
|
|
268
|
+
if (!s) {
|
|
269
|
+
setEditable(false)
|
|
270
|
+
setMainTab(_tabs.slice(0, 3))
|
|
271
|
+
}
|
|
272
|
+
}} >
|
|
273
|
+
<View style={{ backgroundColor: "white", borderTopLeftRadius: 20, borderTopRightRadius: 20 }}>
|
|
274
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', paddingTop: 15, paddingHorizontal: 17 }} >
|
|
275
|
+
<Text allowFontScaling={false} style={{ fontFamily: 'ArialBold', fontSize: 16 }} >{esp.lang("notification/index", "favorite")}</Text>
|
|
276
|
+
<TouchableOpacity disabled={mainTab.length < 3} onPress={() => {
|
|
277
|
+
if (editable) {
|
|
278
|
+
let a = arrKey.concat(def.filter((item: any) => arrKey.indexOf(item) < 0))
|
|
279
|
+
cacheTabsNotification.set(a)
|
|
280
|
+
sliding?.current?.hide()
|
|
281
|
+
LibNavigation.backToRoot()
|
|
282
|
+
LibNavigation.navigate('notification/index')
|
|
283
|
+
} else {
|
|
284
|
+
setEditable(!editable)
|
|
285
|
+
}
|
|
286
|
+
}} style={{ backgroundColor: mainTab.length < 3 ? '#e6e6e6' : 'white', alignItems: 'center', paddingHorizontal: 10, paddingVertical: 6, borderWidth: 1, borderRadius: 20, borderColor: LibStyle.colorPrimary }} >
|
|
287
|
+
<Text allowFontScaling={false} style={{ fontFamily: 'ArialBold', fontSize: 12 }} >{editable ? esp.lang("notification/index", "save") : esp.lang("notification/index", "change")}</Text>
|
|
288
|
+
</TouchableOpacity>
|
|
289
|
+
</View>
|
|
290
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', flexWrap: 'wrap', marginLeft: 15, marginTop: 5, minHeight: itemWidth }}>
|
|
291
|
+
{
|
|
292
|
+
mainTab?.map?.(renderMainTab)
|
|
293
|
+
}
|
|
294
|
+
{
|
|
295
|
+
new Array(Math.abs(mainTab.length - 3)).fill(' ').map((x: any, i: number) => (
|
|
296
|
+
<View key={i} style={{ width: itemWidth, alignItems: "center", padding: 15, borderRadius: 5 }} >
|
|
297
|
+
<View style={{ backgroundColor: '#f1f1f1', width: 50, height: 50, borderRadius: 25 }} />
|
|
298
|
+
</View>
|
|
299
|
+
))
|
|
300
|
+
}
|
|
301
|
+
</View>
|
|
302
|
+
<Text allowFontScaling={false} style={{ fontFamily: 'ArialBold', fontSize: 16, paddingHorizontal: 17, paddingTop: 15 }} >{esp.lang("notification/index", "all")}</Text>
|
|
303
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', flexWrap: 'wrap', marginLeft: 15, marginTop: 5 }}>
|
|
304
|
+
{
|
|
305
|
+
Object.values(_tabsOrigin)?.filter((t: any) => t.publish == 1).map(renderTabsOrigin)
|
|
306
|
+
}
|
|
307
|
+
</View>
|
|
308
|
+
</View>
|
|
309
|
+
</LibSlidingup>
|
|
310
|
+
</View >
|
|
311
|
+
)
|
|
312
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
3
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
4
|
+
import esp from 'esoftplay/esp';
|
|
5
|
+
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { Text, TouchableOpacity, View } from 'react-native';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export interface NotificationItemProps {
|
|
11
|
+
title: string,
|
|
12
|
+
badge: number,
|
|
13
|
+
icon: string,
|
|
14
|
+
onPress: () => void,
|
|
15
|
+
imgStyle?: any,
|
|
16
|
+
imgContainerStyle?: any,
|
|
17
|
+
containerStyle?: any,
|
|
18
|
+
badgeContainerStyle?: any
|
|
19
|
+
}
|
|
20
|
+
export default function m(props: NotificationItemProps): any {
|
|
21
|
+
|
|
22
|
+
const width = (LibStyle.width / 4) - 25
|
|
23
|
+
const height = (LibStyle.width / 4) - 25
|
|
24
|
+
const badge = props.badge > 99 ? '99+' : props.badge
|
|
25
|
+
|
|
26
|
+
const styleId_Z3GUVS: any = { width: width, height: height, marginRight: 5, marginLeft: 15, marginBottom: 52, marginTop: 10, ...props.containerStyle }
|
|
27
|
+
const styleId_Z25pSJF: any = { width: width, height: height, borderRadius: 8, /* backgroundColor: "#c4c4c4" */...props.imgStyle, ...props.imgContainerStyle }
|
|
28
|
+
const styleId_DRl54: any = { width: width, height: height, ...props.imgStyle }
|
|
29
|
+
const styleId_Z2gRRWj: any = { position: 'absolute', top: -10, right: -10, height: 24, width: 24, borderRadius: 12, padding: 5, paddingVertical: 2, backgroundColor: LibStyle.colorRed, justifyContent: 'center', alignContent: 'center', alignItems: 'center', ...props.badgeContainerStyle }
|
|
30
|
+
const styleId_wKxLf: any = { fontFamily: "ArialBold", fontSize: props.badge > 99 ? 8 : 10, letterSpacing: 0, color: "#ffffff" }
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<TouchableOpacity onPress={props.onPress} style={styleId_Z3GUVS}>
|
|
34
|
+
<View style={styleId_Z25pSJF}>
|
|
35
|
+
<LibPicture source={esp.assets(props.icon)} style={styleId_DRl54} resizeMode="contain" />
|
|
36
|
+
</View>
|
|
37
|
+
{
|
|
38
|
+
props.badge > 0 &&
|
|
39
|
+
<View style={styleId_Z2gRRWj} >
|
|
40
|
+
<Text allowFontScaling={false} style={styleId_wKxLf} >{badge || 0}</Text>
|
|
41
|
+
</View>
|
|
42
|
+
}
|
|
43
|
+
<Text allowFontScaling={false} numberOfLines={2} style={styleId_Z28MHjK}>{props.title}</Text>
|
|
44
|
+
</TouchableOpacity>
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
const styleId_Z28MHjK: any = { marginTop: 8, fontFamily: "SFProText", fontSize: 10, fontWeight: "normal", fontStyle: "normal", lineHeight: 16, letterSpacing: 0, color: "#4b4b4b", flexWrap: 'wrap', textAlign: 'center' }
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
// withHooks
|
|
2
|
+
import { ComponentSection_notif } from 'esoftplay/cache/component/section_notif/import';
|
|
3
|
+
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
4
|
+
import { LibFocus } from 'esoftplay/cache/lib/focus/import';
|
|
5
|
+
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
6
|
+
import { LibLoading } from 'esoftplay/cache/lib/loading/import';
|
|
7
|
+
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
8
|
+
import { LibScroll } from 'esoftplay/cache/lib/scroll/import';
|
|
9
|
+
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
10
|
+
import { LibTextstyle } from 'esoftplay/cache/lib/textstyle/import';
|
|
11
|
+
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
12
|
+
import { MarketMerchant_orderArgs } from 'esoftplay/cache/market/merchant_order/import';
|
|
13
|
+
import { MarketOrderArgs } from 'esoftplay/cache/market/order/import';
|
|
14
|
+
import { MarketOrder_status } from 'esoftplay/cache/market/order_status/import';
|
|
15
|
+
import { MarketSection_menu } from 'esoftplay/cache/market/section_menu/import';
|
|
16
|
+
import { NotificationItem } from 'esoftplay/cache/notification/item/import';
|
|
17
|
+
import { NotificationMarketplaceProperty } from 'esoftplay/cache/notification/marketplace/import';
|
|
18
|
+
import { UserClass } from 'esoftplay/cache/user/class/import';
|
|
19
|
+
import { UserNotification_list } from 'esoftplay/cache/user/notification_list/import';
|
|
20
|
+
import esp from 'esoftplay/esp';
|
|
21
|
+
import useGlobalState, { useGlobalReturn } from 'esoftplay/global';
|
|
22
|
+
import useSafeState from 'esoftplay/state';
|
|
23
|
+
import { useTimeout } from 'esoftplay/timeout';
|
|
24
|
+
|
|
25
|
+
import React, { useEffect, useRef } from 'react';
|
|
26
|
+
import { Text, TouchableOpacity, View } from 'react-native';
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export interface NotificationMarketplaceProps {
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function Status(props: any) {
|
|
34
|
+
// const tabRef = useRef<LibList>(null)
|
|
35
|
+
const tabRef = useRef<LibScroll>(null)
|
|
36
|
+
const allStatus = [esp.lang("notification/marketplace", "all"), esp.lang("notification/marketplace", "buyer"), esp.lang("notification/marketplace", "seller")]
|
|
37
|
+
const group_ids = [undefined, '4', '3']
|
|
38
|
+
const user = UserClass.state().get()
|
|
39
|
+
const timeout = useTimeout()
|
|
40
|
+
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (props.status)
|
|
43
|
+
timeout(() => {
|
|
44
|
+
tabRef?.current?.scrollToIndex?.(group_ids.indexOf(props.status))
|
|
45
|
+
}, 500);
|
|
46
|
+
}, [])
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<View style={{ minHeight: 50 }} >
|
|
50
|
+
<LibScroll ref={tabRef} horizontal initialNumToRender={20} >
|
|
51
|
+
<View style={{ width: 10 }} />
|
|
52
|
+
{
|
|
53
|
+
allStatus.map((status: any, index: number) => {
|
|
54
|
+
if (user?.merchant_id == 0 && status == esp.lang("notification/marketplace", "seller")) {
|
|
55
|
+
return null
|
|
56
|
+
} else {
|
|
57
|
+
return (
|
|
58
|
+
<TouchableOpacity
|
|
59
|
+
key={index}
|
|
60
|
+
onPress={() => props.onChangeStatus(group_ids[index])}
|
|
61
|
+
style={{ height: 32, marginVertical: 10, marginRight: 10, borderRadius: 20, backgroundColor: props.status == group_ids[index] ? LibStyle.colorPrimaryMarket : 'transparent', borderColor: props.status == group_ids[index] ? 'transparent' : '#ccc', borderWidth: 1, paddingHorizontal: 17, justifyContent: 'center' }} >
|
|
62
|
+
<LibTextstyle textStyle='footnote' text={status} style={{ color: props.status == group_ids[index] ? 'white' : '#4E4E4E' }} />
|
|
63
|
+
</TouchableOpacity>
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
}
|
|
68
|
+
</LibScroll>
|
|
69
|
+
<MarketSection_menu size='line' />
|
|
70
|
+
</View>
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const _state = useGlobalState<any>(undefined, { persistKey: 'notification_marketplace_data', inFile: true })
|
|
75
|
+
|
|
76
|
+
export function state(): useGlobalReturn<any> {
|
|
77
|
+
return _state
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export default function m(props: NotificationMarketplaceProps): any {
|
|
81
|
+
|
|
82
|
+
const user = UserClass.state().get()
|
|
83
|
+
const [data, setData] = NotificationMarketplaceProperty.state().useState()
|
|
84
|
+
const [error, setError] = useSafeState<any>('')
|
|
85
|
+
const [byGroup_id, setByGroup_id] = useSafeState<any>(undefined)
|
|
86
|
+
let arr = MarketOrder_status()
|
|
87
|
+
const height = (LibStyle.width / 4) - 50
|
|
88
|
+
|
|
89
|
+
function getData() {
|
|
90
|
+
new LibCurl('shop/order_notification', null,
|
|
91
|
+
(res, msg) => {
|
|
92
|
+
setData(res)
|
|
93
|
+
}, msg => {
|
|
94
|
+
setError(msg?.message)
|
|
95
|
+
}, 1
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return (
|
|
100
|
+
<View style={{ flex: 1 }}>
|
|
101
|
+
<LibFocus onFocus={getData} />
|
|
102
|
+
<UserNotification_list
|
|
103
|
+
tag='#marketplace'
|
|
104
|
+
key={data}
|
|
105
|
+
group_id={byGroup_id}
|
|
106
|
+
ListHeaderComponent={
|
|
107
|
+
!data && error == '' ?
|
|
108
|
+
<LibLoading /> :
|
|
109
|
+
// esp.isDebug() && // #publish_market
|
|
110
|
+
<>
|
|
111
|
+
<View style={{ marginTop: 15 }} />
|
|
112
|
+
<ComponentSection_notif title={esp.lang("notification/marketplace", "purchase")} onPress={() => { LibNavigation.navigate('market/order') }} />
|
|
113
|
+
<TouchableOpacity
|
|
114
|
+
onPress={() => LibNavigation.navigate<MarketOrderArgs>('market/order', { status: 1 })}
|
|
115
|
+
style={{ margin: 15, flex: 1, flexDirection: 'row', alignItems: 'center' }}>
|
|
116
|
+
<Text allowFontScaling={false} style={{ fontFamily: "SFProText", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: "#4b4b4b", flex: 1 }}>{esp.lang("notification/marketplace", "waiting_payment")}</Text>
|
|
117
|
+
{
|
|
118
|
+
data?.member?.[1] > 0 &&
|
|
119
|
+
<View style={{ height: 25, width: 25, borderRadius: 12.5, padding: 5, marginRight: 10, paddingVertical: 2, backgroundColor: LibStyle.colorRed, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }} >
|
|
120
|
+
<Text allowFontScaling={false} style={{ fontFamily: "ArialBold", textAlign: "center", fontSize: 10, letterSpacing: 0, color: "#ffffff" }} >{data?.member?.[1]}</Text>
|
|
121
|
+
</View>
|
|
122
|
+
}
|
|
123
|
+
<LibIcon name="chevron-right" color='#4b4b4b' />
|
|
124
|
+
</TouchableOpacity>
|
|
125
|
+
<View style={{ height: 1, backgroundColor: '#e3e3e3', marginLeft: 15, marginRight: 15, marginBottom: 20 }} />
|
|
126
|
+
<View style={{ marginRight: 5, flexDirection: 'row', flexWrap: 'wrap' }}>
|
|
127
|
+
{
|
|
128
|
+
arr.map((item, i) => {
|
|
129
|
+
if (item.code != 1)
|
|
130
|
+
return (
|
|
131
|
+
<NotificationItem
|
|
132
|
+
key={i}
|
|
133
|
+
icon={item.icon}
|
|
134
|
+
badge={data?.member?.[item.code]}
|
|
135
|
+
badgeContainerStyle={{ top: -15, right: 0 }}
|
|
136
|
+
imgContainerStyle={{ width: 30, height: 30, alignSelf: 'center' }}
|
|
137
|
+
imgStyle={{ width: 30, height: 30, alignSelf: 'center' }}
|
|
138
|
+
containerStyle={{ height: height }} onPress={() => { LibNavigation.navigate<MarketOrderArgs>('market/order', { status: item.code }) }} title={item.text} />
|
|
139
|
+
)
|
|
140
|
+
return null
|
|
141
|
+
})
|
|
142
|
+
}
|
|
143
|
+
</View>
|
|
144
|
+
{
|
|
145
|
+
user?.merchant_id != 0 &&
|
|
146
|
+
<>
|
|
147
|
+
<View style={{ height: 1, backgroundColor: '#e3e3e3', marginLeft: 15, marginRight: 15, marginTop: 20, marginBottom: 20 }} />
|
|
148
|
+
<ComponentSection_notif title={esp.lang("notification/marketplace", "selling")} onPress={() => { LibNavigation.navigate('market/merchant_order') }} />
|
|
149
|
+
<View style={{ marginTop: 20, marginRight: 5, flexDirection: 'row', flexWrap: 'wrap' }}>
|
|
150
|
+
{
|
|
151
|
+
arr.map((item, i) => {
|
|
152
|
+
return (
|
|
153
|
+
<NotificationItem
|
|
154
|
+
key={i}
|
|
155
|
+
icon={item.icon}
|
|
156
|
+
badge={data?.merchant?.[item.code]}
|
|
157
|
+
badgeContainerStyle={{ top: -15, right: 0 }}
|
|
158
|
+
imgContainerStyle={{ width: 37, height: 37, alignSelf: 'center', justifyContent: 'center', backgroundColor: LibUtils.hexToRgba(LibStyle.colorPrimaryMarket, 0.1), borderRadius: 8 }}
|
|
159
|
+
imgStyle={{ width: 30, height: 30, alignSelf: 'center' }}
|
|
160
|
+
containerStyle={{ height: height }}
|
|
161
|
+
onPress={() => { LibNavigation.navigate<MarketMerchant_orderArgs>('market/merchant_order', { status: item.code }) }} title={item.text} />
|
|
162
|
+
)
|
|
163
|
+
})
|
|
164
|
+
}
|
|
165
|
+
</View>
|
|
166
|
+
</>
|
|
167
|
+
}
|
|
168
|
+
<MarketSection_menu title={esp.lang("notification/marketplace", "notification")} />
|
|
169
|
+
<Status status={byGroup_id} onChangeStatus={setByGroup_id} />
|
|
170
|
+
</>
|
|
171
|
+
}
|
|
172
|
+
/>
|
|
173
|
+
</View >
|
|
174
|
+
)
|
|
175
|
+
}
|