esoftplay-event 0.0.0-p → 0.0.0-q
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/event/order_detail_waiting.tsx +3 -3
- 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 +1858 -0
- package/index.js +2 -8
- package/libs.json +1 -0
- package/package.json +1 -1
- package/publisher.js +84 -0
- package/.vscode/settings.json +0 -5
- package/App.tsx +0 -12
- package/GoogleService-Info.dc.plist +0 -38
- package/GoogleService-Info.debug.dc.plist +0 -38
- package/GoogleService-Info.debug.plist +0 -75
- package/GoogleService-Info.live.dc.plist +0 -38
- package/GoogleService-Info.live.plist +0 -38
- package/GoogleService-Info.plist +0 -75
- package/_templates/component/curl_page.tsx +0 -64
- package/_templates/component/slider2.tsx +0 -47
- package/_templates/event/artist_detail.tsx +0 -164
- package/_templates/event/artist_list.tsx +0 -212
- package/_templates/event/detail.tsx +0 -336
- package/_templates/event/seat_map.tsx +0 -24
- package/_templates/event/ticket_list.tsx +0 -759
- package/_templates/payment/event.tsx +0 -52
- package/_templates/payment/event_invitation.tsx +0 -201
- package/_templates/payment/list.tsx +0 -425
- package/_templates/payment/summary.tsx +0 -142
- package/_templates/tms/dashboard.tsx +0 -256
- package/_templates/tms/menu.tsx +0 -93
- package/_templates/user/login2.tsx +0 -257
- package/_templates/user/profile.tsx +0 -740
- package/_templates/user/profile_tms_list.tsx +0 -71
- package/app.debug.json +0 -137
- package/app.json +0 -147
- package/app.live.json +0 -128
- package/babel.config.js +0 -10
- package/check.mjs +0 -38
- package/checkOutsideModule.js +0 -41
- package/code-signing/certificate.pem +0 -18
- package/config.debug.json +0 -111
- package/config.debug.v1.json +0 -104
- package/config.debug.v2.json +0 -104
- package/config.live.json +0 -104
- package/config.v1.json +0 -104
- package/config.v2.json +0 -104
- package/convertImport.js +0 -53
- package/cpToBboEvent.js +0 -57
- package/eas.json +0 -40
- package/fcm_icon.js +0 -55
- package/find_missing_lang.mjs +0 -47
- package/find_string.mjs +0 -44
- package/heapsize.js +0 -20
- package/metro.config.js +0 -4
- package/modules/artist/detail.tsx +0 -522
- package/modules/artist/detail_multi.tsx +0 -549
- package/modules/artist/list.tsx +0 -166
- package/modules/bbo/config.ts +0 -25
- package/modules/bbo/index.tsx +0 -202
- package/modules/bbo/main.tsx +0 -410
- package/modules/bigbang/bbopay.tsx +0 -73
- package/modules/bigbang/card.tsx +0 -214
- package/modules/bigbang/card_history.tsx +0 -63
- package/modules/bigbang/cat_item.tsx +0 -26
- package/modules/bigbang/check_code.tsx +0 -161
- package/modules/bigbang/check_ticket.tsx +0 -73
- package/modules/bigbang/check_ticket_result.tsx +0 -384
- package/modules/bigbang/com_item.tsx +0 -47
- package/modules/bigbang/config.tsx +0 -16
- package/modules/bigbang/contact.tsx +0 -140
- package/modules/bigbang/dependents.tsx +0 -130
- package/modules/bigbang/dummy_page.tsx +0 -48
- package/modules/bigbang/event.tsx +0 -421
- package/modules/bigbang/event_item.tsx +0 -43
- package/modules/bigbang/faq.tsx +0 -115
- package/modules/bigbang/faq_detail.tsx +0 -69
- package/modules/bigbang/faq_list.tsx +0 -72
- package/modules/bigbang/gate.tsx +0 -96
- package/modules/bigbang/gate_info.tsx +0 -639
- package/modules/bigbang/gate_result.tsx +0 -80
- package/modules/bigbang/index.tsx +0 -202
- package/modules/bigbang/input_code.tsx +0 -136
- package/modules/bigbang/loading_page.tsx +0 -246
- package/modules/bigbang/loading_page_list.tsx +0 -121
- package/modules/bigbang/loading_pagefooter.tsx +0 -25
- package/modules/bigbang/main.tsx +0 -506
- package/modules/bigbang/menu_item.tsx +0 -26
- package/modules/bigbang/notif_index.tsx +0 -72
- package/modules/bigbang/payment.tsx +0 -465
- package/modules/bigbang/payment_detail.tsx +0 -291
- package/modules/bigbang/payment_detail_multi.tsx +0 -343
- package/modules/bigbang/payment_item.tsx +0 -62
- package/modules/bigbang/payment_list.tsx +0 -706
- package/modules/bigbang/payment_pin.tsx +0 -109
- package/modules/bigbang/product_item.tsx +0 -51
- package/modules/bigbang/product_item2.tsx +0 -65
- package/modules/bigbang/question.tsx +0 -64
- package/modules/bigbang/schedule_item.tsx +0 -75
- package/modules/bigbang/schedule_item2.tsx +0 -77
- package/modules/bigbang/shopping_cart.tsx +0 -104
- package/modules/bigbang/shopping_cart2.tsx +0 -79
- package/modules/bigbang/terms.tsx +0 -112
- package/modules/bigbang/test.tsx +0 -38
- package/modules/bigbang/test2.tsx +0 -22
- package/modules/bigbang/transaction.ts +0 -34
- package/modules/bill/detail.tsx +0 -147
- package/modules/bill/index.tsx +0 -171
- package/modules/cache/hit.ts +0 -32
- package/modules/cache/location.tsx +0 -22
- package/modules/cashier/coupon_transaksi_detail.tsx +0 -76
- package/modules/cashier/data.tsx +0 -34
- package/modules/cashier/index.tsx +0 -166
- package/modules/cashier/invoice.tsx +0 -228
- package/modules/cashier/invoice_detail.tsx +0 -105
- package/modules/cashier/invoice_item.tsx +0 -81
- package/modules/cashier/invoice_list.tsx +0 -154
- package/modules/cashier/invoice_list_transaction.tsx +0 -100
- package/modules/cashier/list.tsx +0 -259
- package/modules/cashier/list_coupon.tsx +0 -382
- package/modules/cashier/list_coupon_transaksi.tsx +0 -101
- package/modules/cashier/list_queue.tsx +0 -299
- package/modules/cashier/list_queue_item.tsx +0 -92
- package/modules/cashier/list_queue_item_countdown.tsx +0 -81
- package/modules/cashier/product.tsx +0 -52
- package/modules/cashier/product_item.tsx +0 -34
- package/modules/cashier/qr.tsx +0 -268
- package/modules/cashier/report.tsx +0 -199
- package/modules/cashier/report_coupon.tsx +0 -85
- package/modules/cashier/report_detail.tsx +0 -127
- package/modules/cashier/report_item.tsx +0 -88
- package/modules/chat/chat.tsx +0 -323
- package/modules/chat/chat_item.tsx +0 -430
- package/modules/chat/detail_user.tsx +0 -80
- package/modules/chat/index.tsx +0 -70
- package/modules/chat/item.tsx +0 -56
- package/modules/chat/loading.tsx +0 -82
- package/modules/chat/menu.tsx +0 -23
- package/modules/community/achievement.tsx +0 -195
- package/modules/community/banned.tsx +0 -64
- package/modules/community/category.tsx +0 -71
- package/modules/community/category_other.tsx +0 -99
- package/modules/community/config.tsx +0 -17
- package/modules/community/delete.tsx +0 -305
- package/modules/community/discuss.tsx +0 -559
- package/modules/community/edit_event_organizer.tsx +0 -288
- package/modules/community/edit_influencer.tsx +0 -338
- package/modules/community/edit_job.tsx +0 -1115
- package/modules/community/edit_talent.tsx +0 -374
- package/modules/community/education.tsx +0 -339
- package/modules/community/education_list.tsx +0 -100
- package/modules/community/education_majors.tsx +0 -49
- package/modules/community/eo_category.tsx +0 -201
- package/modules/community/eo_category_edit.tsx +0 -133
- package/modules/community/event_organizer.tsx +0 -472
- package/modules/community/exclude_job.tsx +0 -81
- package/modules/community/experience.tsx +0 -349
- package/modules/community/form.tsx +0 -36
- package/modules/community/index.tsx +0 -190
- package/modules/community/index_job_available.tsx +0 -52
- package/modules/community/influencer.tsx +0 -654
- package/modules/community/influencer_image_edit.tsx +0 -150
- package/modules/community/item.tsx +0 -84
- package/modules/community/job_available.tsx +0 -180
- package/modules/community/job_available_aplicant.tsx +0 -243
- package/modules/community/job_available_aplicant_item.tsx +0 -108
- package/modules/community/job_available_applicant_profile.tsx +0 -515
- package/modules/community/job_available_edit_job.tsx +0 -343
- package/modules/community/job_available_edit_tender.tsx +0 -486
- package/modules/community/job_available_employer.tsx +0 -139
- package/modules/community/job_available_employer_edit.tsx +0 -300
- package/modules/community/job_available_item.tsx +0 -169
- package/modules/community/job_available_item_detail.tsx +0 -278
- package/modules/community/job_seeker.tsx +0 -628
- package/modules/community/language.tsx +0 -47
- package/modules/community/location.tsx +0 -88
- package/modules/community/notice.tsx +0 -38
- package/modules/community/order.tsx +0 -145
- package/modules/community/other.tsx +0 -77
- package/modules/community/package_item.tsx +0 -118
- package/modules/community/post_job.tsx +0 -279
- package/modules/community/post_job_basic.tsx +0 -611
- package/modules/community/post_job_basic_date.tsx +0 -44
- package/modules/community/post_job_employer.tsx +0 -137
- package/modules/community/post_tender.tsx +0 -456
- package/modules/community/post_tender_contract.tsx +0 -377
- package/modules/community/profession.tsx +0 -66
- package/modules/community/registrasi_eo.tsx +0 -594
- package/modules/community/registrasi_influencer.tsx +0 -623
- package/modules/community/registrasi_job_seeker.tsx +0 -1043
- package/modules/community/registrasi_talent.tsx +0 -461
- package/modules/community/review_form.tsx +0 -90
- package/modules/community/review_item.tsx +0 -73
- package/modules/community/reviewing.tsx +0 -89
- package/modules/community/seeking_job.tsx +0 -312
- package/modules/community/special_other.tsx +0 -122
- package/modules/community/special_role_industri_position.tsx +0 -148
- package/modules/community/talent.tsx +0 -506
- package/modules/community/talent_images.tsx +0 -186
- package/modules/community/talent_skill.tsx +0 -285
- package/modules/community/talent_skill_edit.tsx +0 -369
- package/modules/community/talent_skill_item.tsx +0 -103
- package/modules/complaint/detail.tsx +0 -341
- package/modules/complaint/index.tsx +0 -309
- package/modules/component/accept.tsx +0 -43
- package/modules/component/alert.tsx +0 -33
- package/modules/component/avatar.tsx +0 -22
- package/modules/component/badge.tsx +0 -19
- package/modules/component/badge2.tsx +0 -20
- package/modules/component/blocked.tsx +0 -41
- package/modules/component/button.tsx +0 -37
- package/modules/component/calendar.tsx +0 -151
- package/modules/component/camera.debug.tsx +0 -187
- package/modules/component/camera.live.tsx +0 -214
- package/modules/component/camera.tsx +0 -187
- package/modules/component/camera_error_view.tsx +0 -35
- package/modules/component/cancellation.tsx +0 -71
- package/modules/component/card.tsx +0 -61
- package/modules/component/cart_item.tsx +0 -24
- package/modules/component/circle.tsx +0 -27
- package/modules/component/circural_progress.tsx +0 -52
- package/modules/component/countdownbig.tsx +0 -27
- package/modules/component/coupon.tsx +0 -70
- package/modules/component/dialog_custom.tsx +0 -40
- package/modules/component/dialog_otp.tsx +0 -79
- package/modules/component/fab.tsx +0 -25
- package/modules/component/failed.tsx +0 -42
- package/modules/component/footer.tsx +0 -20
- package/modules/component/footer_nav.tsx +0 -28
- package/modules/component/force_sync.tsx +0 -47
- package/modules/component/gender.tsx +0 -44
- package/modules/component/header.tsx +0 -131
- package/modules/component/header2.tsx +0 -68
- package/modules/component/header_chat.tsx +0 -68
- package/modules/component/header_home.tsx +0 -133
- package/modules/component/identity_input.tsx +0 -180
- package/modules/component/input.tsx +0 -36
- package/modules/component/input_circle_icon.tsx +0 -206
- package/modules/component/input_rectangle_icon.tsx +0 -203
- package/modules/component/input_rectangle_icon_right.tsx +0 -203
- package/modules/component/input_rectangle_touchable.tsx +0 -40
- package/modules/component/job_available_switcher.tsx +0 -37
- package/modules/component/keyboard_numeric.tsx +0 -42
- package/modules/component/label_input.tsx +0 -21
- package/modules/component/label_input2.tsx +0 -34
- package/modules/component/map.tsx +0 -132
- package/modules/component/message.tsx +0 -30
- package/modules/component/modal.tsx +0 -85
- package/modules/component/multi_select.tsx +0 -85
- package/modules/component/nav_tab.tsx +0 -28
- package/modules/component/new_chat.tsx +0 -65
- package/modules/component/new_chat_chat.tsx +0 -678
- package/modules/component/new_chat_item.tsx +0 -88
- package/modules/component/numberPicker.tsx +0 -39
- package/modules/component/number_picker.tsx +0 -55
- package/modules/component/otp.tsx +0 -89
- package/modules/component/payment_cc.tsx +0 -325
- package/modules/component/pending_trx.tsx +0 -50
- package/modules/component/popup.tsx +0 -30
- package/modules/component/progress_bar.tsx +0 -28
- package/modules/component/qr_bg.tsx +0 -24
- package/modules/component/qr_user.tsx +0 -47
- package/modules/component/rating.tsx +0 -51
- package/modules/component/rating_mini.tsx +0 -32
- package/modules/component/rating_new.tsx +0 -51
- package/modules/component/refresh_button.tsx +0 -40
- package/modules/component/register_container.tsx +0 -128
- package/modules/component/scanner.tsx +0 -271
- package/modules/component/scannerv2.tsx +0 -132
- package/modules/component/section.tsx +0 -33
- package/modules/component/section_notif.tsx +0 -21
- package/modules/component/select.tsx +0 -51
- package/modules/component/slider.tsx +0 -45
- package/modules/component/slidingup.tsx +0 -85
- package/modules/component/step.tsx +0 -29
- package/modules/component/tabheader.tsx +0 -48
- package/modules/component/text.tsx +0 -122
- package/modules/component/touchable.tsx +0 -20
- package/modules/component/translate.tsx +0 -50
- package/modules/components/header.tsx +0 -38
- package/modules/components/header_home.tsx +0 -77
- package/modules/components/section.tsx +0 -33
- package/modules/content/detail.tsx +0 -201
- package/modules/content/item.tsx +0 -52
- package/modules/content/list.tsx +0 -58
- package/modules/deals/brand_detail.tsx +0 -144
- package/modules/deals/brand_item.tsx +0 -28
- package/modules/deals/category_item.tsx +0 -37
- package/modules/deals/checkout.tsx +0 -177
- package/modules/deals/checkout_payment_method.tsx +0 -87
- package/modules/deals/detail.tsx +0 -339
- package/modules/deals/expander.tsx +0 -38
- package/modules/deals/header.tsx +0 -71
- package/modules/deals/home.tsx +0 -261
- package/modules/deals/item.tsx +0 -55
- package/modules/deals/list.tsx +0 -158
- package/modules/deals/list_filter.tsx +0 -125
- package/modules/deals/location.tsx +0 -69
- package/modules/deals/location_current.tsx +0 -16
- package/modules/deals/option.tsx +0 -81
- package/modules/deals/order.tsx +0 -166
- package/modules/deals/order_detail.tsx +0 -297
- package/modules/deals/order_item.tsx +0 -91
- package/modules/deals/search.tsx +0 -60
- package/modules/deals/section.tsx +0 -33
- package/modules/event/additional.tsx +0 -188
- package/modules/event/additional_input.tsx +0 -316
- package/modules/event/alert.tsx +0 -32
- package/modules/event/artist.tsx +0 -165
- package/modules/event/artist_detail.tsx +0 -521
- package/modules/event/artist_detail_multi.tsx +0 -548
- package/modules/event/badge.tsx +0 -22
- package/modules/event/block.tsx +0 -56
- package/modules/event/block_invitation.tsx +0 -48
- package/modules/event/button.tsx +0 -40
- package/modules/event/capture.tsx +0 -39
- package/modules/event/config.ts +0 -25
- package/modules/event/countdown.tsx +0 -72
- package/modules/event/countdown_base.tsx +0 -83
- package/modules/event/counter_cashier.tsx +0 -180
- package/modules/event/counter_cashier_report.tsx +0 -114
- package/modules/event/counter_cashier_sell.tsx +0 -135
- package/modules/event/counter_eo.tsx +0 -451
- package/modules/event/counter_history.tsx +0 -74
- package/modules/event/counter_history_item.tsx +0 -48
- package/modules/event/counter_info.tsx +0 -96
- package/modules/event/counter_lm.tsx +0 -273
- package/modules/event/counter_menu.tsx +0 -85
- package/modules/event/counter_report.tsx +0 -105
- package/modules/event/counter_report_breakdown.tsx +0 -93
- package/modules/event/counter_report_detail.tsx +0 -238
- package/modules/event/counter_report_detail_list.tsx +0 -56
- package/modules/event/counter_request.tsx +0 -136
- package/modules/event/counter_request_detail.tsx +0 -211
- package/modules/event/counter_section.tsx +0 -32
- package/modules/event/counter_send.tsx +0 -277
- package/modules/event/counter_status.tsx +0 -32
- package/modules/event/counter_type.tsx +0 -23
- package/modules/event/counter_user_list.tsx +0 -197
- package/modules/event/counter_user_list_item.tsx +0 -143
- package/modules/event/coupon.tsx +0 -124
- package/modules/event/coupon_claim.tsx +0 -198
- package/modules/event/coupon_claim_detail.tsx +0 -176
- package/modules/event/coupon_claim_history.tsx +0 -279
- package/modules/event/coupon_claim_reimburse.tsx +0 -110
- package/modules/event/coupon_claim_reimburse_history.tsx +0 -71
- package/modules/event/coupon_claim_reimburse_history_detail.tsx +0 -117
- package/modules/event/coupon_claim_staff.tsx +0 -256
- package/modules/event/coupon_detail.tsx +0 -98
- package/modules/event/coupon_event_list.tsx +0 -77
- package/modules/event/coupon_generate.tsx +0 -258
- package/modules/event/coupon_generate_event.tsx +0 -79
- package/modules/event/coupon_generate_list.tsx +0 -56
- package/modules/event/date_picker.tsx +0 -152
- package/modules/event/detail.tsx +0 -348
- package/modules/event/distribution_lock.ts +0 -18
- package/modules/event/entrance.tsx +0 -215
- package/modules/event/entrance_again.tsx +0 -199
- package/modules/event/entrance_failed.tsx +0 -190
- package/modules/event/entrance_idcard.tsx +0 -199
- package/modules/event/entrance_list.tsx +0 -264
- package/modules/event/entrance_list_item.tsx +0 -88
- package/modules/event/entrance_log.tsx +0 -130
- package/modules/event/entrance_success.tsx +0 -153
- package/modules/event/entrance_warning.tsx +0 -91
- package/modules/event/exchange_reward.tsx +0 -31
- package/modules/event/exchange_reward_result.tsx +0 -136
- package/modules/event/exchange_ticket.tsx +0 -233
- package/modules/event/exchange_ticket_list.tsx +0 -201
- package/modules/event/exchange_ticket_result.tsx +0 -210
- package/modules/event/exit.tsx +0 -91
- package/modules/event/exit_failed.tsx +0 -135
- package/modules/event/exit_list.tsx +0 -118
- package/modules/event/exit_log.tsx +0 -130
- package/modules/event/exit_success.tsx +0 -143
- package/modules/event/exit_temporary.tsx +0 -226
- package/modules/event/expander.tsx +0 -36
- package/modules/event/fab.tsx +0 -24
- package/modules/event/firebase_socket.debug.ts +0 -261
- package/modules/event/firebase_socket.live.ts +0 -337
- package/modules/event/firebase_socket.ts +0 -261
- package/modules/event/hall_in.tsx +0 -148
- package/modules/event/hall_in_failed.tsx +0 -270
- package/modules/event/hall_in_list.tsx +0 -222
- package/modules/event/hall_in_log.tsx +0 -134
- package/modules/event/hall_in_success.tsx +0 -132
- package/modules/event/hall_out.tsx +0 -143
- package/modules/event/hall_out_failed.tsx +0 -133
- package/modules/event/hall_out_list.tsx +0 -215
- package/modules/event/hall_out_log.tsx +0 -133
- package/modules/event/hall_out_success.tsx +0 -130
- package/modules/event/header.tsx +0 -131
- package/modules/event/header_home.tsx +0 -104
- package/modules/event/htmltext.tsx +0 -61
- package/modules/event/index.tsx +0 -302
- package/modules/event/input_rectangle.tsx +0 -208
- package/modules/event/item.tsx +0 -39
- package/modules/event/label_input.tsx +0 -23
- package/modules/event/list.tsx +0 -218
- package/modules/event/list_filter.tsx +0 -123
- package/modules/event/list_item.tsx +0 -76
- package/modules/event/list_item2.tsx +0 -78
- package/modules/event/loading_page.tsx +0 -248
- package/modules/event/log.tsx +0 -433
- package/modules/event/message.tsx +0 -32
- package/modules/event/notice.tsx +0 -41
- package/modules/event/order.tsx +0 -323
- package/modules/event/order_detail.tsx +0 -813
- package/modules/event/order_detail_payment.tsx +0 -153
- package/modules/event/order_detail_upgrade.tsx +0 -202
- package/modules/event/order_detail_upgrade_button.tsx +0 -59
- package/modules/event/order_detail_upgrade_payment.tsx +0 -223
- package/modules/event/order_detail_visitor.tsx +0 -196
- package/modules/event/order_detail_waiting.tsx +0 -538
- package/modules/event/order_history.tsx +0 -101
- package/modules/event/order_item.tsx +0 -118
- package/modules/event/order_lottery.tsx +0 -172
- package/modules/event/order_reschedule.tsx +0 -439
- package/modules/event/order_reschedule_list.tsx +0 -85
- package/modules/event/order_share_to.tsx +0 -219
- package/modules/event/order_share_to_detail.tsx +0 -181
- package/modules/event/order_status.tsx +0 -66
- package/modules/event/order_waiting.tsx +0 -142
- package/modules/event/pending_trx.tsx +0 -50
- package/modules/event/popup.tsx +0 -82
- package/modules/event/qc_idcard.tsx +0 -209
- package/modules/event/qc_idcard_failed.tsx +0 -78
- package/modules/event/qc_idcard_success.tsx +0 -68
- package/modules/event/qr_bg.tsx +0 -22
- package/modules/event/queue_out.tsx +0 -186
- package/modules/event/queue_pricing.tsx +0 -141
- package/modules/event/randomseat.tsx +0 -33
- package/modules/event/rating.tsx +0 -49
- package/modules/event/rating_mini.tsx +0 -35
- package/modules/event/refresh_button.tsx +0 -40
- package/modules/event/review.tsx +0 -117
- package/modules/event/review_add.tsx +0 -342
- package/modules/event/review_detail.tsx +0 -67
- package/modules/event/review_item.tsx +0 -76
- package/modules/event/scan_item.tsx +0 -66
- package/modules/event/schedule.tsx +0 -134
- package/modules/event/seat.tsx +0 -627
- package/modules/event/seat_autopick.tsx +0 -120
- package/modules/event/seat_map.tsx +0 -408
- package/modules/event/seat_map_matrix.tsx +0 -94
- package/modules/event/seat_map_test.tsx +0 -401
- package/modules/event/section.tsx +0 -35
- package/modules/event/section_menu.tsx +0 -40
- package/modules/event/secure_page.tsx +0 -33
- package/modules/event/share.ts +0 -20
- package/modules/event/sheet.tsx +0 -74
- package/modules/event/slider.tsx +0 -46
- package/modules/event/slidingup.tsx +0 -37
- package/modules/event/step.tsx +0 -29
- package/modules/event/tap.tsx +0 -30
- package/modules/event/ticket_list.tsx +0 -721
- package/modules/event/ticket_list2.tsx +0 -678
- package/modules/event/timer.tsx +0 -58
- package/modules/event/tms.tsx +0 -103
- package/modules/event/tms_add.tsx +0 -93
- package/modules/event/tms_add_result.tsx +0 -175
- package/modules/event/tms_check_code.tsx +0 -160
- package/modules/event/tms_check_ticket.tsx +0 -72
- package/modules/event/tms_check_ticket_result.tsx +0 -384
- package/modules/event/tms_dashboard.tsx +0 -89
- package/modules/event/tms_event_list.tsx +0 -69
- package/modules/event/tms_gate.tsx +0 -96
- package/modules/event/tms_gate_result.tsx +0 -80
- package/modules/event/tms_home.tsx +0 -639
- package/modules/event/tms_idcard.tsx +0 -200
- package/modules/event/tms_in.tsx +0 -215
- package/modules/event/tms_in_again.tsx +0 -199
- package/modules/event/tms_in_failed.tsx +0 -190
- package/modules/event/tms_in_hall.tsx +0 -148
- package/modules/event/tms_in_hall_failed.tsx +0 -270
- package/modules/event/tms_in_hall_list.tsx +0 -222
- package/modules/event/tms_in_hall_log.tsx +0 -134
- package/modules/event/tms_in_hall_success.tsx +0 -132
- package/modules/event/tms_in_list.tsx +0 -264
- package/modules/event/tms_in_log.tsx +0 -130
- package/modules/event/tms_in_success.tsx +0 -153
- package/modules/event/tms_in_warning.tsx +0 -91
- package/modules/event/tms_list_item.tsx +0 -88
- package/modules/event/tms_log.tsx +0 -434
- package/modules/event/tms_out.tsx +0 -91
- package/modules/event/tms_out_failed.tsx +0 -135
- package/modules/event/tms_out_hall.tsx +0 -143
- package/modules/event/tms_out_hall_failed.tsx +0 -133
- package/modules/event/tms_out_hall_list.tsx +0 -215
- package/modules/event/tms_out_hall_log.tsx +0 -133
- package/modules/event/tms_out_hall_success.tsx +0 -130
- package/modules/event/tms_out_list.tsx +0 -118
- package/modules/event/tms_out_log.tsx +0 -130
- package/modules/event/tms_out_success.tsx +0 -143
- package/modules/event/tms_out_temporary.tsx +0 -226
- package/modules/event/toggle.tsx +0 -30
- package/modules/event/transaction.ts +0 -34
- package/modules/event/turnstile_event_gate.tsx +0 -74
- package/modules/event/turnstile_event_item.tsx +0 -41
- package/modules/event/turnstile_event_list.tsx +0 -69
- package/modules/event/turnstile_event_ticket.tsx +0 -95
- package/modules/event/turnstile_settings.tsx +0 -327
- package/modules/event/turnstile_settings_otp.tsx +0 -58
- package/modules/event/turnstile_settings_status.tsx +0 -50
- package/modules/event/visitor_edit.tsx +0 -125
- package/modules/event/visitor_history.tsx +0 -61
- package/modules/event/visitor_history_item.tsx +0 -96
- package/modules/event/visitor_index.tsx +0 -175
- package/modules/event/visitor_input.tsx +0 -283
- package/modules/event/voucher.tsx +0 -148
- package/modules/event/voucher_multi.tsx +0 -180
- package/modules/feed/booking.tsx +0 -450
- package/modules/feed/eo.tsx +0 -281
- package/modules/feed/eo_detail.tsx +0 -557
- package/modules/feed/filter_location.tsx +0 -94
- package/modules/feed/filter_location2.tsx +0 -105
- package/modules/feed/filter_location_item.tsx +0 -130
- package/modules/feed/filter_location_list.tsx +0 -48
- package/modules/feed/images.tsx +0 -66
- package/modules/feed/index.tsx +0 -126
- package/modules/feed/influencer.tsx +0 -281
- package/modules/feed/influencer_detail.tsx +0 -596
- package/modules/feed/item.tsx +0 -46
- package/modules/feed/item2.tsx +0 -47
- package/modules/feed/job.tsx +0 -460
- package/modules/feed/job_available.tsx +0 -322
- package/modules/feed/job_available_detail.tsx +0 -377
- package/modules/feed/job_available_item.tsx +0 -114
- package/modules/feed/job_available_list.tsx +0 -311
- package/modules/feed/job_detail.tsx +0 -689
- package/modules/feed/job_filter.tsx +0 -69
- package/modules/feed/job_item.tsx +0 -62
- package/modules/feed/job_list.tsx +0 -204
- package/modules/feed/job_list_cv.tsx +0 -183
- package/modules/feed/job_list_school.tsx +0 -53
- package/modules/feed/list.tsx +0 -193
- package/modules/feed/location.tsx +0 -45
- package/modules/feed/menu.tsx +0 -26
- package/modules/feed/talent.tsx +0 -294
- package/modules/feed/talent_date.tsx +0 -127
- package/modules/feed/talent_detail.tsx +0 -688
- package/modules/feed/talent_list_review.tsx +0 -50
- package/modules/invoice/detail.tsx +0 -316
- package/modules/invoice/input.tsx +0 -513
- package/modules/invoice/payment_list.tsx +0 -93
- package/modules/lib/autosync.ts +0 -50
- package/modules/lib/block.tsx +0 -56
- package/modules/lib/bone.tsx +0 -51
- package/modules/lib/calendar.tsx +0 -218
- package/modules/lib/capture.tsx +0 -39
- package/modules/lib/carrousel2.tsx +0 -347
- package/modules/lib/curl.ts +0 -169
- package/modules/lib/dialog.tsx +0 -146
- package/modules/lib/dialogview.tsx +0 -59
- package/modules/lib/distribution_lock.ts +0 -18
- package/modules/lib/document.ts +0 -43
- package/modules/lib/editbox.tsx +0 -113
- package/modules/lib/htmltext.tsx +0 -61
- package/modules/lib/image.tsx +0 -388
- package/modules/lib/input_circle.tsx +0 -207
- package/modules/lib/input_circle2.tsx +0 -203
- package/modules/lib/input_rectangle.tsx +0 -198
- package/modules/lib/input_rectangle2.tsx +0 -233
- package/modules/lib/item.tsx +0 -23
- package/modules/lib/list.tsx +0 -107
- package/modules/lib/location.tsx +0 -39
- package/modules/lib/location_cleanup.ts +0 -15
- package/modules/lib/login.debug.ts +0 -84
- package/modules/lib/login.live.ts +0 -84
- package/modules/lib/login.ts +0 -84
- package/modules/lib/notif_translate.ts +0 -49
- package/modules/lib/notification.ts +0 -518
- package/modules/lib/notify.ts +0 -148
- package/modules/lib/pagination.tsx +0 -110
- package/modules/lib/pan.tsx +0 -132
- package/modules/lib/password.ts +0 -19
- package/modules/lib/pressable.tsx +0 -40
- package/modules/lib/print.ts +0 -20
- package/modules/lib/reinfinite.tsx +0 -100
- package/modules/lib/retry.tsx +0 -45
- package/modules/lib/scroll_sticky.tsx +0 -85
- package/modules/lib/share.ts +0 -20
- package/modules/lib/style.debug.ts +0 -109
- package/modules/lib/style.live.ts +0 -110
- package/modules/lib/style.ts +0 -109
- package/modules/lib/swipe.tsx +0 -74
- package/modules/lib/tap.tsx +0 -28
- package/modules/lib/test.tsx +0 -157
- package/modules/lib/textstyle.tsx +0 -265
- package/modules/lib/time_picker.tsx +0 -132
- package/modules/lib/translate.tsx +0 -41
- package/modules/lib/utils.ts +0 -365
- package/modules/lib/version.tsx +0 -87
- package/modules/lib/version_view.tsx +0 -26
- package/modules/lib/video.tsx +0 -44
- package/modules/lib/webview.tsx +0 -172
- package/modules/log/reporter.ts +0 -95
- package/modules/log/test.tsx +0 -150
- package/modules/market/account_buyer.tsx +0 -164
- package/modules/market/account_merchant.tsx +0 -390
- package/modules/market/address.tsx +0 -102
- package/modules/market/address_item.tsx +0 -145
- package/modules/market/chat.tsx +0 -23
- package/modules/market/checkout.tsx +0 -600
- package/modules/market/checkout_payment_method.tsx +0 -164
- package/modules/market/complaint_form.tsx +0 -102
- package/modules/market/countdown.tsx +0 -81
- package/modules/market/empty.tsx +0 -18
- package/modules/market/header_home.tsx +0 -89
- package/modules/market/home.tsx +0 -549
- package/modules/market/load_category.tsx +0 -25
- package/modules/market/location.tsx +0 -74
- package/modules/market/merchant_detail.tsx +0 -328
- package/modules/market/merchant_register.tsx +0 -94
- package/modules/market/merchant_saldo_history.tsx +0 -100
- package/modules/market/order_detail.tsx +0 -670
- package/modules/market/payment_list.tsx +0 -36
- package/modules/market/payment_offline.tsx +0 -76
- package/modules/market/payment_offline_detail.tsx +0 -121
- package/modules/market/payment_pin.tsx +0 -22
- package/modules/market/point_history.tsx +0 -78
- package/modules/market/product_category.tsx +0 -188
- package/modules/market/product_detail_description.tsx +0 -28
- package/modules/market/product_detail_general.tsx +0 -152
- package/modules/market/product_item.tsx +0 -234
- package/modules/market/style.ts +0 -15
- package/modules/market/terms.tsx +0 -22
- package/modules/market/withdraw.tsx +0 -213
- package/modules/mart/accept.tsx +0 -43
- package/modules/mart/account.tsx +0 -541
- package/modules/mart/account_empty.tsx +0 -43
- package/modules/mart/bag.tsx +0 -273
- package/modules/mart/bag_add_slideup.tsx +0 -184
- package/modules/mart/bag_float.tsx +0 -30
- package/modules/mart/bag_item.tsx +0 -156
- package/modules/mart/button.tsx +0 -49
- package/modules/mart/checkout.tsx +0 -207
- package/modules/mart/checkout_payment_method.tsx +0 -96
- package/modules/mart/complaint_conditions.tsx +0 -26
- package/modules/mart/complaint_detail.tsx +0 -290
- package/modules/mart/complaint_discuss.tsx +0 -364
- package/modules/mart/complaint_solution.tsx +0 -79
- package/modules/mart/complaint_step1.tsx +0 -51
- package/modules/mart/complaint_step2.tsx +0 -122
- package/modules/mart/complaint_step3.tsx +0 -168
- package/modules/mart/dc_account.tsx +0 -312
- package/modules/mart/dc_admin_order.tsx +0 -156
- package/modules/mart/dc_bundle_add.tsx +0 -72
- package/modules/mart/dc_bundle_edit.tsx +0 -81
- package/modules/mart/dc_bundle_input.tsx +0 -445
- package/modules/mart/dc_cart.tsx +0 -256
- package/modules/mart/dc_cart_add_slideup.tsx +0 -101
- package/modules/mart/dc_cart_item.tsx +0 -142
- package/modules/mart/dc_checkout.tsx +0 -175
- package/modules/mart/dc_detail.tsx +0 -277
- package/modules/mart/dc_edit.tsx +0 -274
- package/modules/mart/dc_list.tsx +0 -96
- package/modules/mart/dc_location_range.tsx +0 -140
- package/modules/mart/dc_mitra_product_report.tsx +0 -135
- package/modules/mart/dc_mitra_report_buy.tsx +0 -166
- package/modules/mart/dc_mitra_report_profit_loss.tsx +0 -163
- package/modules/mart/dc_mitra_report_profit_loss_detail.tsx +0 -79
- package/modules/mart/dc_mitra_report_sale.tsx +0 -165
- package/modules/mart/dc_mitra_report_stock.tsx +0 -98
- package/modules/mart/dc_mitra_report_stock_adjustment.tsx +0 -160
- package/modules/mart/dc_order.tsx +0 -126
- package/modules/mart/dc_order_detail.tsx +0 -297
- package/modules/mart/dc_order_detail_button_floating.tsx +0 -266
- package/modules/mart/dc_order_detail_buttons.tsx +0 -237
- package/modules/mart/dc_order_detail_finish.tsx +0 -218
- package/modules/mart/dc_order_detail_finish_bundle_item.tsx +0 -159
- package/modules/mart/dc_order_detail_finish_item.tsx +0 -248
- package/modules/mart/dc_order_detail_print.tsx +0 -125
- package/modules/mart/dc_order_detail_sticky.tsx +0 -266
- package/modules/mart/dc_order_item.tsx +0 -142
- package/modules/mart/dc_order_status.tsx +0 -60
- package/modules/mart/dc_product_add.tsx +0 -107
- package/modules/mart/dc_product_check.tsx +0 -56
- package/modules/mart/dc_product_detail.tsx +0 -282
- package/modules/mart/dc_product_edit.tsx +0 -88
- package/modules/mart/dc_product_input.tsx +0 -273
- package/modules/mart/dc_product_item.tsx +0 -141
- package/modules/mart/dc_product_list.tsx +0 -242
- package/modules/mart/dc_product_list_confirm.tsx +0 -188
- package/modules/mart/dc_product_main.tsx +0 -262
- package/modules/mart/dc_saldo_history.tsx +0 -78
- package/modules/mart/dc_scanner.tsx +0 -112
- package/modules/mart/detail.tsx +0 -297
- package/modules/mart/detail_search.tsx +0 -57
- package/modules/mart/edit.tsx +0 -111
- package/modules/mart/empty.tsx +0 -22
- package/modules/mart/header.tsx +0 -81
- package/modules/mart/header_home.tsx +0 -61
- package/modules/mart/home.tsx +0 -457
- package/modules/mart/image_picker.tsx +0 -60
- package/modules/mart/input.tsx +0 -276
- package/modules/mart/input_container.tsx +0 -24
- package/modules/mart/input_label.tsx +0 -22
- package/modules/mart/input_select.tsx +0 -35
- package/modules/mart/input_square.tsx +0 -67
- package/modules/mart/input_toggle.tsx +0 -34
- package/modules/mart/location.tsx +0 -102
- package/modules/mart/location_empty.tsx +0 -59
- package/modules/mart/lucky_draw.tsx +0 -134
- package/modules/mart/lucky_draw_detail.tsx +0 -137
- package/modules/mart/lucky_draw_history.tsx +0 -75
- package/modules/mart/lucky_draw_terms.tsx +0 -27
- package/modules/mart/lucky_draw_win.tsx +0 -26
- package/modules/mart/mitra_order.tsx +0 -162
- package/modules/mart/order.tsx +0 -138
- package/modules/mart/order_detail.tsx +0 -297
- package/modules/mart/order_detail_buttons.tsx +0 -365
- package/modules/mart/order_detail_item.tsx +0 -94
- package/modules/mart/order_detail_skeleton.tsx +0 -98
- package/modules/mart/order_detail_status.tsx +0 -91
- package/modules/mart/order_item.tsx +0 -152
- package/modules/mart/order_refund.tsx +0 -149
- package/modules/mart/order_status.tsx +0 -55
- package/modules/mart/point.tsx +0 -151
- package/modules/mart/point_exchange.tsx +0 -189
- package/modules/mart/point_exchange_history.tsx +0 -66
- package/modules/mart/point_history.tsx +0 -113
- package/modules/mart/point_list.tsx +0 -85
- package/modules/mart/product_add.tsx +0 -130
- package/modules/mart/product_check.tsx +0 -54
- package/modules/mart/product_detail.tsx +0 -275
- package/modules/mart/product_detail_description.tsx +0 -33
- package/modules/mart/product_detail_general.tsx +0 -113
- package/modules/mart/product_edit.tsx +0 -86
- package/modules/mart/product_input.tsx +0 -285
- package/modules/mart/product_item.tsx +0 -219
- package/modules/mart/product_list.tsx +0 -247
- package/modules/mart/product_main.tsx +0 -260
- package/modules/mart/product_search.tsx +0 -143
- package/modules/mart/product_stocks_adjust.tsx +0 -308
- package/modules/mart/register.tsx +0 -118
- package/modules/mart/reminder.tsx +0 -127
- package/modules/mart/review.tsx +0 -102
- package/modules/mart/scanner.tsx +0 -122
- package/modules/mart/search.tsx +0 -70
- package/modules/mart/section_menu.tsx +0 -46
- package/modules/mart/section_title.tsx +0 -32
- package/modules/merchant/branch.tsx +0 -70
- package/modules/merchant/branch_add.tsx +0 -275
- package/modules/merchant/detail.tsx +0 -64
- package/modules/merchant/detail_coupon.tsx +0 -115
- package/modules/merchant/edit.tsx +0 -271
- package/modules/merchant/index.tsx +0 -50
- package/modules/merchant/info.tsx +0 -107
- package/modules/merchant/item.tsx +0 -39
- package/modules/merchant/list_coupon.tsx +0 -74
- package/modules/merchant/list_invoice.tsx +0 -78
- package/modules/merchant/list_transaksi.tsx +0 -104
- package/modules/merchant/menu.tsx +0 -60
- package/modules/merchant/registrasi.tsx +0 -28
- package/modules/merchant/registrasi1.tsx +0 -118
- package/modules/merchant/registrasi2.tsx +0 -183
- package/modules/merchant/registrasi3.tsx +0 -113
- package/modules/merchant/registrasi4.tsx +0 -93
- package/modules/merchant/registrasi5.tsx +0 -136
- package/modules/merchant/registrasi6.tsx +0 -46
- package/modules/merchant/registrasi6_item.tsx +0 -36
- package/modules/merchant/registrasi7.tsx +0 -85
- package/modules/merchant/registrasi_merch.tsx +0 -257
- package/modules/merchant/terms.tsx +0 -53
- package/modules/notification/community.tsx +0 -112
- package/modules/notification/dc.tsx +0 -173
- package/modules/notification/event.tsx +0 -116
- package/modules/notification/index.tsx +0 -312
- package/modules/notification/item.tsx +0 -47
- package/modules/notification/marketplace.tsx +0 -175
- package/modules/notification/mitra.tsx +0 -177
- package/modules/notification/translate.tsx +0 -62
- package/modules/partner/detail.tsx +0 -50
- package/modules/partner/list.tsx +0 -59
- package/modules/payment/cc.tsx +0 -115
- package/modules/payment/cc_detail.tsx +0 -111
- package/modules/payment/cc_edit.tsx +0 -170
- package/modules/payment/cc_item.tsx +0 -45
- package/modules/payment/cc_web.tsx +0 -122
- package/modules/payment/cv.tsx +0 -126
- package/modules/payment/event_invitation.tsx +0 -261
- package/modules/payment/failed.tsx +0 -41
- package/modules/payment/talent.tsx +0 -263
- package/modules/payment/ticket.tsx +0 -625
- package/modules/payment/ticket_multi.tsx +0 -634
- package/modules/pos/business.tsx +0 -47
- package/modules/pos/business_detail.tsx +0 -205
- package/modules/pos/business_edit.tsx +0 -297
- package/modules/pos/cashier.tsx +0 -41
- package/modules/pos/cashier_invoice_detail.tsx +0 -175
- package/modules/pos/cashier_invoice_item.tsx +0 -63
- package/modules/pos/cashier_invoice_list.tsx +0 -102
- package/modules/pos/cashier_list.tsx +0 -84
- package/modules/pos/cashier_report.tsx +0 -158
- package/modules/pos/cashier_report_detail.tsx +0 -88
- package/modules/pos/cashier_report_item.tsx +0 -96
- package/modules/pos/comingsoon.tsx +0 -23
- package/modules/pos/index.tsx +0 -114
- package/modules/pos/outlet_list.tsx +0 -100
- package/modules/pos/outlet_report.tsx +0 -25
- package/modules/pos/payment_detail.tsx +0 -125
- package/modules/pos/pricing.tsx +0 -133
- package/modules/pos/pricing_payment.tsx +0 -195
- package/modules/pos/register.tsx +0 -412
- package/modules/pos/register_business.tsx +0 -333
- package/modules/pos/transaction.tsx +0 -338
- package/modules/pos/transaction_detail.tsx +0 -172
- package/modules/pos/waiting_payment.tsx +0 -61
- package/modules/pos/web_login.tsx +0 -108
- package/modules/ppob/button.tsx +0 -24
- package/modules/ppob/empty.tsx +0 -21
- package/modules/ppob/header.tsx +0 -35
- package/modules/ppob/hit.ts +0 -33
- package/modules/ppob/main_item.tsx +0 -61
- package/modules/ppob/payment.tsx +0 -238
- package/modules/ppob/ppob_item.tsx +0 -58
- package/modules/ppob/topup.tsx +0 -16
- package/modules/ppob/transaction_detail.tsx +0 -834
- package/modules/product/detail.tsx +0 -161
- package/modules/product/list.tsx +0 -74
- package/modules/quotation/add.tsx +0 -131
- package/modules/quotation/add_disc.tsx +0 -187
- package/modules/quotation/cancellation.tsx +0 -176
- package/modules/quotation/detail.tsx +0 -429
- package/modules/quotation/extra_days.tsx +0 -129
- package/modules/quotation/extra_days_approval.tsx +0 -124
- package/modules/quotation/index.tsx +0 -463
- package/modules/quotation/invoice.tsx +0 -188
- package/modules/quotation/order.tsx +0 -150
- package/modules/quotation/order_detail.tsx +0 -542
- package/modules/quotation/order_need_review.tsx +0 -85
- package/modules/quotation/order_status.tsx +0 -57
- package/modules/quotation/reschedule.tsx +0 -199
- package/modules/quotation/reschedule_approval.tsx +0 -143
- package/modules/quotation/revision.tsx +0 -224
- package/modules/review/buyer.tsx +0 -99
- package/modules/review/detail.tsx +0 -136
- package/modules/review/index.tsx +0 -207
- package/modules/review/talent.tsx +0 -77
- package/modules/search/index.tsx +0 -214
- package/modules/search/item.tsx +0 -55
- package/modules/search/list.tsx +0 -64
- package/modules/search/list2.tsx +0 -85
- package/modules/staff/id_card.tsx +0 -91
- package/modules/staff/id_card2.tsx +0 -84
- package/modules/ticket/detail.tsx +0 -814
- package/modules/ticket/detail_payment.tsx +0 -153
- package/modules/ticket/detail_upgrade.tsx +0 -164
- package/modules/ticket/detail_upgrade_button.tsx +0 -60
- package/modules/ticket/detail_upgrade_payment.tsx +0 -221
- package/modules/ticket/detail_visitor.tsx +0 -196
- package/modules/ticket/detail_waiting.tsx +0 -521
- package/modules/ticket/item.tsx +0 -118
- package/modules/ticket/lottery.tsx +0 -172
- package/modules/ticket/order.tsx +0 -324
- package/modules/ticket/order_history.tsx +0 -102
- package/modules/ticket/order_status.tsx +0 -66
- package/modules/ticket/order_waiting.tsx +0 -143
- package/modules/ticket/reschedule.tsx +0 -439
- package/modules/ticket/reschedule2.tsx +0 -176
- package/modules/ticket/reschedule_list.tsx +0 -85
- package/modules/ticket/share_to.tsx +0 -220
- package/modules/ticket/share_to_detail.tsx +0 -179
- package/modules/tms/gate_in.tsx +0 -147
- package/modules/tms/gate_in_list.tsx +0 -96
- package/modules/topup/bank2.tsx +0 -63
- package/modules/topup/cc_payment.tsx +0 -175
- package/modules/topup/cc_payment_detail.tsx +0 -100
- package/modules/topup/detail.tsx +0 -88
- package/modules/topup/index.tsx +0 -122
- package/modules/topup/input.tsx +0 -94
- package/modules/topup/item.tsx +0 -42
- package/modules/topup/list.tsx +0 -89
- package/modules/topup/nominal.tsx +0 -102
- package/modules/topup/payment.tsx +0 -150
- package/modules/transfer/index.tsx +0 -173
- package/modules/transfer/input.tsx +0 -181
- package/modules/transfer/list.tsx +0 -142
- package/modules/use/dates.tsx +0 -20
- package/modules/use/keep.tsx +0 -17
- package/modules/use/location.ts +0 -59
- package/modules/use/notif.ts +0 -32
- package/modules/use/paginate.tsx +0 -224
- package/modules/use/secure_page.tsx +0 -33
- package/modules/use/smartnotif.ts +0 -72
- package/modules/use/test.ts +0 -178
- package/modules/user/bank.tsx +0 -138
- package/modules/user/bank_add.tsx +0 -286
- package/modules/user/bank_list.tsx +0 -82
- package/modules/user/bank_otp.tsx +0 -141
- package/modules/user/bbopay.ts +0 -13
- package/modules/user/block.tsx +0 -128
- package/modules/user/class.ts +0 -142
- package/modules/user/confirm.tsx +0 -52
- package/modules/user/confirm_with.tsx +0 -45
- package/modules/user/coupon.tsx +0 -64
- package/modules/user/coupon_detail.tsx +0 -195
- package/modules/user/delete.tsx +0 -441
- package/modules/user/detail_pin.tsx +0 -78
- package/modules/user/devices.tsx +0 -260
- package/modules/user/edit_phone.tsx +0 -178
- package/modules/user/edit_phone_forget.tsx +0 -94
- package/modules/user/edit_phone_identity.tsx +0 -69
- package/modules/user/edit_phone_otp.tsx +0 -156
- package/modules/user/force_login.tsx +0 -198
- package/modules/user/help.tsx +0 -74
- package/modules/user/hook.tsx +0 -112
- package/modules/user/index.tsx +0 -113
- package/modules/user/language.tsx +0 -110
- package/modules/user/language_list.tsx +0 -106
- package/modules/user/language_list_item.tsx +0 -66
- package/modules/user/language_setting.tsx +0 -39
- package/modules/user/loading.tsx +0 -74
- package/modules/user/location.tsx +0 -57
- package/modules/user/location_country.tsx +0 -83
- package/modules/user/location_country_server.tsx +0 -84
- package/modules/user/location_gps.tsx +0 -175
- package/modules/user/location_item.tsx +0 -40
- package/modules/user/login.tsx +0 -346
- package/modules/user/menu_bigbank.tsx +0 -563
- package/modules/user/notification_list.tsx +0 -113
- package/modules/user/order.tsx +0 -22
- package/modules/user/otp.tsx +0 -224
- package/modules/user/otp_method.tsx +0 -90
- package/modules/user/password.tsx +0 -264
- package/modules/user/phone_check.tsx +0 -134
- package/modules/user/pin.tsx +0 -245
- package/modules/user/pin_alert.tsx +0 -27
- package/modules/user/pin_forget.tsx +0 -73
- package/modules/user/popup.tsx +0 -80
- package/modules/user/profile.tsx +0 -797
- package/modules/user/profile_edit.tsx +0 -472
- package/modules/user/profile_item.tsx +0 -38
- package/modules/user/profile_tms_list.tsx +0 -69
- package/modules/user/register.tsx +0 -36
- package/modules/user/register_detail.tsx +0 -288
- package/modules/user/register_email.tsx +0 -96
- package/modules/user/register_name.tsx +0 -400
- package/modules/user/register_phone.tsx +0 -131
- package/modules/user/register_with.tsx +0 -416
- package/modules/user/register_with_v2.tsx +0 -428
- package/modules/user/reminder.tsx +0 -72
- package/modules/user/saldo_refund.tsx +0 -80
- package/modules/user/saldo_refund_history.tsx +0 -97
- package/modules/user/scan_turnstile.tsx +0 -87
- package/modules/user/top_up_wallet.tsx +0 -211
- package/modules/user/top_up_wallet_detail.tsx +0 -115
- package/modules/user/top_up_wallet_list.tsx +0 -90
- package/modules/user/transaction.tsx +0 -111
- package/modules/user/transaction_detail.tsx +0 -150
- package/modules/user/weblogin.tsx +0 -118
- package/modules/visitor/edit.tsx +0 -127
- package/modules/visitor/history.tsx +0 -61
- package/modules/visitor/history_item.tsx +0 -96
- package/modules/visitor/index.tsx +0 -176
- package/modules/visitor/input.tsx +0 -285
- package/modules/visitor/menu.tsx +0 -24
- package/modules/withdraw/index.tsx +0 -123
- package/modules/withdraw/input.tsx +0 -225
- package/modules/withdraw/list.tsx +0 -37
- package/modules/withdraw/nationality.tsx +0 -49
- package/modules/withdraw/refund.tsx +0 -217
- package/modules/withdraw/upgrade1.tsx +0 -506
- package/modules/withdraw/waiting.tsx +0 -62
- package/moveOrRenameModule.js +0 -129
- package/nodarkandroid.js +0 -25
- package/package.debug.json +0 -122
- package/package.live.json +0 -118
- package/tsconfig.json +0 -25
- package/version.js +0 -32
|
@@ -1,759 +0,0 @@
|
|
|
1
|
-
// withHooks
|
|
2
|
-
import { BigbangConfigProperty } from 'esoftplay/cache/bigbang/config/import';
|
|
3
|
-
import { ComponentButton } from 'esoftplay/cache/component/button/import';
|
|
4
|
-
import { ComponentHeader } from 'esoftplay/cache/component/header/import';
|
|
5
|
-
import { ComponentPending_trx } from 'esoftplay/cache/component/pending_trx/import';
|
|
6
|
-
import { ComponentTouchable } from 'esoftplay/cache/component/touchable/import';
|
|
7
|
-
import { EventQueue_pricingProperty } from 'esoftplay/cache/event/queue_pricing/import';
|
|
8
|
-
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
9
|
-
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
10
|
-
import { LibFocus } from 'esoftplay/cache/lib/focus/import';
|
|
11
|
-
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
12
|
-
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
13
|
-
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
14
|
-
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
15
|
-
import { LibSkeleton } from 'esoftplay/cache/lib/skeleton/import';
|
|
16
|
-
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
17
|
-
import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
|
|
18
|
-
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
19
|
-
import { MarketCountdown } from 'esoftplay/cache/market/countdown/import';
|
|
20
|
-
import moment from 'esoftplay/moment';
|
|
21
|
-
import { memo } from 'react';
|
|
22
|
-
|
|
23
|
-
import { applyStyle } from 'esoftplay';
|
|
24
|
-
import { BigbangLoading_pageProperty } from 'esoftplay/cache/bigbang/loading_page/import';
|
|
25
|
-
import { ComponentText } from 'esoftplay/cache/component/text/import';
|
|
26
|
-
import { EventCountdownProperty } from 'esoftplay/cache/event/countdown/import';
|
|
27
|
-
import { LibEffect } from 'esoftplay/cache/lib/effect/import';
|
|
28
|
-
import { LibFirebase_socket, LibFirebase_socketProperty } from 'esoftplay/cache/lib/firebase_socket/import';
|
|
29
|
-
import { LibProgress } from 'esoftplay/cache/lib/progress/import';
|
|
30
|
-
import { UseDeeplinkProperty } from 'esoftplay/cache/use/deeplink/import';
|
|
31
|
-
import esp from 'esoftplay/esp';
|
|
32
|
-
import useLazyState from 'esoftplay/lazy';
|
|
33
|
-
import useSafeState from 'esoftplay/state';
|
|
34
|
-
import React, { useEffect, useRef } from 'react';
|
|
35
|
-
import { Pressable, RefreshControl, ScrollView, Text, TouchableOpacity, View } from 'react-native';
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export interface EventTicket_listArgs {
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
export interface EventTicket_listProps {
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type Result = {
|
|
46
|
-
"id": string,
|
|
47
|
-
"title": string,
|
|
48
|
-
"image": string,
|
|
49
|
-
"images": Array<{
|
|
50
|
-
"image": string,
|
|
51
|
-
"title": string,
|
|
52
|
-
"description": string,
|
|
53
|
-
}>,
|
|
54
|
-
"image_map": string,
|
|
55
|
-
"charge_payment": number,
|
|
56
|
-
"status": string,
|
|
57
|
-
"quota_checkout": string,
|
|
58
|
-
"show_price": string,
|
|
59
|
-
"config_queue": {
|
|
60
|
-
"limit": number,
|
|
61
|
-
"time": number,
|
|
62
|
-
},
|
|
63
|
-
"form_allotment": string,
|
|
64
|
-
"form_allotment_text": string,
|
|
65
|
-
"use_queue": string,
|
|
66
|
-
"is_pod_limit": string,
|
|
67
|
-
"event_tag": [],
|
|
68
|
-
"charge_payment_type": string,
|
|
69
|
-
"price_type": Array<{
|
|
70
|
-
"price_id": string,
|
|
71
|
-
"type": string,
|
|
72
|
-
"kind": string,
|
|
73
|
-
"currency": string,
|
|
74
|
-
"price_min": string,
|
|
75
|
-
"price_max": string,
|
|
76
|
-
"use_code": string,
|
|
77
|
-
"use_seat": string,
|
|
78
|
-
"use_quota": boolean,
|
|
79
|
-
"config": {
|
|
80
|
-
"seat_autopick": string,
|
|
81
|
-
"seat_autopick_start": string,
|
|
82
|
-
},
|
|
83
|
-
"price_date": string,
|
|
84
|
-
"info": string,
|
|
85
|
-
"qty_min": string,
|
|
86
|
-
"qty_max": string,
|
|
87
|
-
"tax": string,
|
|
88
|
-
"quota": string,
|
|
89
|
-
"quota_used": string,
|
|
90
|
-
"status": number,
|
|
91
|
-
"quota_checkout": string,
|
|
92
|
-
"date_start": string,
|
|
93
|
-
"date_end": string,
|
|
94
|
-
"paper_size": string,
|
|
95
|
-
"is_refundable": boolean,
|
|
96
|
-
"refund": string,
|
|
97
|
-
"is_printed": string,
|
|
98
|
-
"image_map": string,
|
|
99
|
-
"term": Array<string>,
|
|
100
|
-
"list": Array<{
|
|
101
|
-
"list_id": string,
|
|
102
|
-
"date_id": number,
|
|
103
|
-
"ondate": string,
|
|
104
|
-
"price_id": string,
|
|
105
|
-
"price": string,
|
|
106
|
-
"quota": string,
|
|
107
|
-
"quota_used": string,
|
|
108
|
-
"show_limit": number,
|
|
109
|
-
"status": number,
|
|
110
|
-
"show_price": number,
|
|
111
|
-
"currency": string,
|
|
112
|
-
"schedule": {
|
|
113
|
-
"info": string,
|
|
114
|
-
"artist": [],
|
|
115
|
-
},
|
|
116
|
-
"is_available"?: string,
|
|
117
|
-
}>,
|
|
118
|
-
}>,
|
|
119
|
-
"price_type_info": string,
|
|
120
|
-
"exhibitor": {
|
|
121
|
-
"list": Array<{
|
|
122
|
-
"id": string,
|
|
123
|
-
"title": string,
|
|
124
|
-
"image": string,
|
|
125
|
-
}>,
|
|
126
|
-
"more_url": string,
|
|
127
|
-
},
|
|
128
|
-
"url_share": string,
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
function m(props: EventTicket_listProps): any {
|
|
132
|
-
const checkCounter = useRef<number>(0)
|
|
133
|
-
let refTimeout = useRef<any>()
|
|
134
|
-
const bboConfig = BigbangConfigProperty.state().get()
|
|
135
|
-
const { doneQueue, isInPricingQueueConfig, updateQueueExp } = LibFirebase_socket();
|
|
136
|
-
|
|
137
|
-
const [pendingData] = BigbangLoading_pageProperty.state().useState()
|
|
138
|
-
|
|
139
|
-
const { url, fee_platform, has_addition, subscribed }: any = useRef(LibNavigation.getArgsAll(props)).current
|
|
140
|
-
|
|
141
|
-
const [deeplinkParams] = UseDeeplinkProperty.params.useState()
|
|
142
|
-
const [timer] = EventCountdownProperty.countdownTime.useState()
|
|
143
|
-
|
|
144
|
-
const [unAvailableResult, setUnavailableResult] = useLazyState<any>()
|
|
145
|
-
const [availableResult, setAvailableResult, getAvailableResult] = useSafeState<Result>()
|
|
146
|
-
|
|
147
|
-
const [, setQty, getQty] = useSafeState<number>(1)
|
|
148
|
-
const [selectedTicket, setSelectedTicket, getSelectedTicket] = useSafeState<any>()
|
|
149
|
-
|
|
150
|
-
const [isPass, setIsPass] = useSafeState(true)
|
|
151
|
-
const [showAll, setShowAll] = useSafeState<any>({});
|
|
152
|
-
|
|
153
|
-
const [allTicket, setAllTicket, getAllTicket] = useSafeState()
|
|
154
|
-
|
|
155
|
-
useEffect(() => {
|
|
156
|
-
const { event_id } = EventQueue_pricingProperty.state().get()
|
|
157
|
-
if (isInPricingQueueConfig(event_id))
|
|
158
|
-
EventCountdownProperty.countdownTime.set(moment().add(LibFirebase_socketProperty.eventQueueConfig.get(event_id).time, 'seconds').localeFormat('YYYY-MM-DD HH:mm:ss'))
|
|
159
|
-
// loadData()
|
|
160
|
-
getCheckCounter()
|
|
161
|
-
return () => {
|
|
162
|
-
clearTimeout(refTimeout.current)
|
|
163
|
-
EventCountdownProperty.releaseQueue.trigger()
|
|
164
|
-
}
|
|
165
|
-
}, [])
|
|
166
|
-
|
|
167
|
-
function onRefresh() {
|
|
168
|
-
loadData()
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
function getCheckCounter() {
|
|
172
|
-
clearTimeout(refTimeout.current)
|
|
173
|
-
const { pathQueue, event_id, key } = EventQueue_pricingProperty.state().get()
|
|
174
|
-
if (event_id && isInPricingQueueConfig(event_id)) {
|
|
175
|
-
updateQueueExp(pathQueue, event_id)
|
|
176
|
-
checkCounter.current++
|
|
177
|
-
refTimeout.current = setTimeout(() => {
|
|
178
|
-
getCheckCounter()
|
|
179
|
-
}, 6000);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
function loadData() {
|
|
185
|
-
new LibCurl(url, null, (res, msg) => {
|
|
186
|
-
|
|
187
|
-
esp.log({ res, url });
|
|
188
|
-
|
|
189
|
-
const availablePriceType = LibObject.update(res, (arr: any[]) => arr.filter((x) => x.status != 0))('price_type')
|
|
190
|
-
const unAvailablePriceType = LibObject.update(res, (arr: any[]) => arr.filter((x) => x.status == 0))('price_type')
|
|
191
|
-
|
|
192
|
-
setUnavailableResult(unAvailablePriceType)
|
|
193
|
-
setAvailableResult(availablePriceType)
|
|
194
|
-
|
|
195
|
-
setAllTicket(res)
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
if (selectedTicket) {
|
|
199
|
-
res?.price_type?.map((item: any) => {
|
|
200
|
-
if (item.price_id == selectedTicket?.price_id && item.status != 1) {
|
|
201
|
-
setSelectedTicket(undefined)
|
|
202
|
-
}
|
|
203
|
-
})
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
if (res.form_allotment == 1) {
|
|
207
|
-
releaseQueue()
|
|
208
|
-
LibNavigation.push('event/queue_out', { event_id: res.id, notes: res.form_allotment_text })
|
|
209
|
-
}
|
|
210
|
-
}, (error) => {
|
|
211
|
-
LibDialog.warningConfirm(esp.lang("event/ticket_list", "warn"), error?.message, "Ok", () => {
|
|
212
|
-
LibNavigation.back()
|
|
213
|
-
}, "", () => { })
|
|
214
|
-
}, 1)
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
function add(quota?: any, quota_used?: any): void {
|
|
218
|
-
if (getQty() != parseInt(getSelectedTicket()?.qty_max)) {
|
|
219
|
-
if (getQty() != (parseInt(quota) - parseInt(quota_used))) {
|
|
220
|
-
setQty(getQty() + 1)
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
function min(): void {
|
|
226
|
-
if (getQty() <= getSelectedTicket()?.qty_min) {
|
|
227
|
-
setQty(Number(getSelectedTicket()?.qty_min))
|
|
228
|
-
} else {
|
|
229
|
-
setQty(getQty() == 1 ? 1 : getQty() - 1)
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function setQtyGlobal(value: any) {
|
|
234
|
-
let qty = 1
|
|
235
|
-
if (getSelectedTicket()?.qty_min) {
|
|
236
|
-
qty = Number(getSelectedTicket()?.qty_min)
|
|
237
|
-
}
|
|
238
|
-
if (qty > getSelectedTicket()?.qty_max) {
|
|
239
|
-
qty = Number(getSelectedTicket().qty_max)
|
|
240
|
-
}
|
|
241
|
-
if (value.quota != 0 && qty > value.quota) {
|
|
242
|
-
qty = value.quota
|
|
243
|
-
}
|
|
244
|
-
setQty(qty)
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
function releaseQueue() {
|
|
248
|
-
const { pathQueue, event_id, key } = EventQueue_pricingProperty.state().get()
|
|
249
|
-
if (event_id && isInPricingQueueConfig(event_id)) {
|
|
250
|
-
doneQueue(pathQueue, event_id, key, () => { })
|
|
251
|
-
EventQueue_pricingProperty.state().reset()
|
|
252
|
-
setIsPass(false)
|
|
253
|
-
EventCountdownProperty.releaseQueue.trigger()
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
let dataPost: any = {
|
|
258
|
-
event_id: availableResult?.id,
|
|
259
|
-
event_title: availableResult?.title,
|
|
260
|
-
charge_payment: availableResult?.charge_payment,
|
|
261
|
-
charge_payment_type: availableResult?.charge_payment_type,
|
|
262
|
-
images: availableResult?.images,
|
|
263
|
-
selected_ticket: selectedTicket,
|
|
264
|
-
qty: getQty(),
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
function checkAddition(newDataPost: any) {
|
|
268
|
-
if ((has_addition == 1 || selectedTicket?.hasOwnProperty("has_addition") && selectedTicket?.has_addition == 1)) {
|
|
269
|
-
LibNavigation.navigateForResult('event/additional', { ondate: selectedTicket?.list?.ondate, event_id: availableResult?.id, qty: getQty(), price_id: selectedTicket?.price_id }, 321).then((additions) => {
|
|
270
|
-
if (additions != "") {
|
|
271
|
-
newDataPost.addition = additions
|
|
272
|
-
}
|
|
273
|
-
LibNavigation.navigate('payment/ticket', {
|
|
274
|
-
order_type: bboConfig?.order_type?.ticket,
|
|
275
|
-
tax: selectedTicket?.tax == null ? 0 : selectedTicket?.tax,
|
|
276
|
-
fee_platform: fee_platform,
|
|
277
|
-
dataBookingEvent: { ...newDataPost, qty: getQty() },
|
|
278
|
-
subscribed: subscribed
|
|
279
|
-
})
|
|
280
|
-
})
|
|
281
|
-
} else {
|
|
282
|
-
LibNavigation.navigate('payment/ticket', {
|
|
283
|
-
order_type: bboConfig?.order_type?.ticket,
|
|
284
|
-
tax: selectedTicket?.tax == null ? 0 : selectedTicket?.tax,
|
|
285
|
-
fee_platform: fee_platform,
|
|
286
|
-
dataBookingEvent: { ...newDataPost, qty: getQty() },
|
|
287
|
-
subscribed: subscribed
|
|
288
|
-
})
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
function eventConfig() {
|
|
293
|
-
// ini nantinya curl config setelah tombol continue di klik
|
|
294
|
-
let date_ids = [
|
|
295
|
-
"22450",
|
|
296
|
-
"22469"
|
|
297
|
-
]
|
|
298
|
-
|
|
299
|
-
LibNavigation.navigateForResult('component/curl_page', {
|
|
300
|
-
url: 'home',
|
|
301
|
-
post: {
|
|
302
|
-
event_id: availableResult?.id,
|
|
303
|
-
date_ids: date_ids
|
|
304
|
-
}
|
|
305
|
-
}).then((value) => {
|
|
306
|
-
|
|
307
|
-
// result yang diharapkan
|
|
308
|
-
let _value = [
|
|
309
|
-
{
|
|
310
|
-
"date_id": "22450",
|
|
311
|
-
"ondate": "0000-00-00",
|
|
312
|
-
"seat_autopick": 1,
|
|
313
|
-
"use_seat": 1,
|
|
314
|
-
"has_addition": 1,
|
|
315
|
-
"addition e": {}
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"date_id": "22469",
|
|
319
|
-
"ondate": "0000-00-00",
|
|
320
|
-
"seat_autopick": 1,
|
|
321
|
-
"use_seat": 1,
|
|
322
|
-
"has_addition": 1,
|
|
323
|
-
"addition e": {}
|
|
324
|
-
},
|
|
325
|
-
]
|
|
326
|
-
|
|
327
|
-
// cek masing2 apakah mengandung seat sama addition
|
|
328
|
-
|
|
329
|
-
// keperluan api seat
|
|
330
|
-
// "event_seat"
|
|
331
|
-
// post = {
|
|
332
|
-
// event_id: 348,
|
|
333
|
-
// price_id: 1593.
|
|
334
|
-
// ondate: '0000-00-00',
|
|
335
|
-
// }
|
|
336
|
-
|
|
337
|
-
LibNavigation.navigateForResult('event/seat_map').then((value) => {
|
|
338
|
-
|
|
339
|
-
})
|
|
340
|
-
|
|
341
|
-
// LibNavigation.navigate('payment/event', {
|
|
342
|
-
// dataBookingEvent: dataPost,
|
|
343
|
-
// subscribed: subscribed
|
|
344
|
-
// })
|
|
345
|
-
|
|
346
|
-
// if (_value?.seat_autopick == 1 && getQty() > 1) {
|
|
347
|
-
// dataPost.adjacent_seats = 1
|
|
348
|
-
// }
|
|
349
|
-
|
|
350
|
-
// if (selectedTicket?.use_code == 1 && selectedTicket?.use_seat == 1) {
|
|
351
|
-
// // tak arahke halaman seng anyar
|
|
352
|
-
// LibNavigation.navigate('payment/event_invitation', {
|
|
353
|
-
// dataBookingEvent: dataPost,
|
|
354
|
-
// subscribed: subscribed
|
|
355
|
-
// })
|
|
356
|
-
// } else if (selectedTicket?.use_seat == 1) {
|
|
357
|
-
// if (selectedTicket?.config && selectedTicket?.config?.seat_autopick == 1) {
|
|
358
|
-
// checkAddition(dataPost)
|
|
359
|
-
// } else {
|
|
360
|
-
// LibNavigation.navigateForResult('event/seat_map', {
|
|
361
|
-
// url: 'event_seat',
|
|
362
|
-
// dataTicket: dataPost,
|
|
363
|
-
// }).then((value) => {
|
|
364
|
-
// dataPost.row_id = value.row_id
|
|
365
|
-
// dataPost.column_id = value.column_id
|
|
366
|
-
// dataPost.seat_name = value.seat_name
|
|
367
|
-
|
|
368
|
-
// checkAddition(dataPost)
|
|
369
|
-
// })
|
|
370
|
-
// }
|
|
371
|
-
// } else {
|
|
372
|
-
// checkAddition(dataPost)
|
|
373
|
-
// }
|
|
374
|
-
})
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
function nextStep() {
|
|
378
|
-
eventConfig()
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
function checkInvBlock() {
|
|
382
|
-
LibProgress.show(esp.lang("event/ticket_list", "wait"))
|
|
383
|
-
new LibCurl('voucher_check_validate', null, (res, msg) => {
|
|
384
|
-
LibProgress.hide()
|
|
385
|
-
if (res?.status == 1) {
|
|
386
|
-
LibNavigation.navigate('event/block_invitation', {
|
|
387
|
-
dataCheck: res,
|
|
388
|
-
})
|
|
389
|
-
} else {
|
|
390
|
-
nextStep()
|
|
391
|
-
}
|
|
392
|
-
}, (err) => {
|
|
393
|
-
LibProgress.hide()
|
|
394
|
-
})
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
function renderItem(itemC: any, iC: number, item: any, i: number) {
|
|
398
|
-
// itemC adalah item yang ada diindex list, kalo item itu adalah item yang ada diindex price_type
|
|
399
|
-
|
|
400
|
-
let ticketWithDate = item.price_date == 1 && item.use_code == 0
|
|
401
|
-
let ticketInvitation = item.price_date == 0 && item.use_code == 1
|
|
402
|
-
let ticketSpecial = item.price_date == 0 && item.use_code == 0
|
|
403
|
-
|
|
404
|
-
let _selectedTicket = itemC.selected == 1
|
|
405
|
-
|
|
406
|
-
let colorDefault = _selectedTicket ? "#FFE9AD" : '#fff'
|
|
407
|
-
let colorBackground = item.status != 1 ? LibStyle.colorLightGrey : itemC.status != 1 ? LibStyle.colorLightGrey : colorDefault
|
|
408
|
-
let textOpacity = /* item.status == 1 ? 1 : */itemC?.status == 1 ? 1 : 0.3
|
|
409
|
-
|
|
410
|
-
return (
|
|
411
|
-
<TouchableOpacity key={iC} onPress={() => {
|
|
412
|
-
let msg = item.status == 0 ? esp.lang("event/ticket_list", "sold_out") : esp.lang("event/ticket_list", "coming_soon")
|
|
413
|
-
if (itemC.status == 1 && item.status == 1) {
|
|
414
|
-
const data = new LibObject(getAllTicket())
|
|
415
|
-
.update((itemList) => {
|
|
416
|
-
itemList.selected = itemList.selected == 1 ? 0 : 1
|
|
417
|
-
itemList.qty = itemList.selected == 1 ? item.qty_min : 0
|
|
418
|
-
itemList.adjacent_seats = item.config?.seat_autopick
|
|
419
|
-
itemList.use_seat = item.use_seat
|
|
420
|
-
return itemList
|
|
421
|
-
})('price_type', i, 'list', iC)
|
|
422
|
-
.update((priceTypeItem) => {
|
|
423
|
-
return ({
|
|
424
|
-
...priceTypeItem,
|
|
425
|
-
selected: priceTypeItem?.list?.some((item: any) => item.selected == 1) ? 1 : 0
|
|
426
|
-
})
|
|
427
|
-
})('price_type', i)
|
|
428
|
-
.value()
|
|
429
|
-
|
|
430
|
-
setAllTicket(data)
|
|
431
|
-
} else if (itemC.status == 0) {
|
|
432
|
-
LibToastProperty.show(msg)
|
|
433
|
-
} else if (itemC.status == 2) {
|
|
434
|
-
LibToastProperty.show(msg)
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
}} testID="ticket_item" activeOpacity={itemC.status == 1 ? 0 : 1} style={{ backgroundColor: colorBackground, borderBottomWidth: item.list.length == 1 ? 0 : 3, borderBottomColor: "#fff" }}>
|
|
438
|
-
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'space-between', padding: 10, alignItems: 'center' }}>
|
|
439
|
-
{
|
|
440
|
-
ticketWithDate ?
|
|
441
|
-
// view untuk yang ada tanggalnya
|
|
442
|
-
<View style={{ flex: 1, flexDirection: 'row', alignContent: 'center', alignItems: 'center', }}>
|
|
443
|
-
<View style={applyStyle({ marginLeft: 10, marginHorizontal: 20, width: 42, height: 42, borderRadius: 5, backgroundColor: colorBackground, borderStyle: "solid", borderWidth: textOpacity, borderColor: _selectedTicket ? "#3ea4dc" : '#999', alignContent: 'center', alignItems: 'center', justifyContent: 'center' })}>
|
|
444
|
-
<Text allowFontScaling={false} style={applyStyle({ opacity: textOpacity, fontFamily: "Arial", fontSize: 20, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0.23, textAlign: "center", color: _selectedTicket ? "#3ea4dc" : '#999' })}>{LibUtils.moment(itemC.ondate).localeFormat('DD')}</Text>
|
|
445
|
-
</View>
|
|
446
|
-
<View style={applyStyle({ flexDirection: 'column', flex: 1 })}>
|
|
447
|
-
{
|
|
448
|
-
item?.status == 1 && itemC.status != 1 &&
|
|
449
|
-
<View style={applyStyle({ flexDirection: 'row', marginBottom: 5 })}>
|
|
450
|
-
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', marginTop: 5, borderWidth: 1, backgroundColor: itemC.status == 0 ? LibStyle.colorRed : "#4cd964", borderColor: itemC.status == 0 ? LibStyle.colorRed : "#4cd964", borderRadius: 5, padding: 3, opacity: 0.8 })}>
|
|
451
|
-
<Text allowFontScaling={false} style={applyStyle({ fontSize: 10, fontStyle: "normal", letterSpacing: 0, color: /* itemC.status == 2 ? "#000" : */ "#fff", fontWeight: 'bold' })}>{itemC.status == 0 ? esp.lang("event/ticket_list", "sold_out") : esp.lang("event/ticket_list", "coming_soon")}</Text>
|
|
452
|
-
</View>
|
|
453
|
-
</View>
|
|
454
|
-
}
|
|
455
|
-
<Text allowFontScaling={false} style={applyStyle({ opacity: textOpacity, fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: _selectedTicket ? "#3ea4dc" : '#999' })}>{LibUtils.moment(itemC.ondate).localeFormat('dddd')}</Text>
|
|
456
|
-
<View style={applyStyle({ flexDirection: 'row' })}>
|
|
457
|
-
<Text allowFontScaling={false} style={applyStyle({ opacity: textOpacity, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: _selectedTicket ? "#3ea4dc" : '#999' })}>{LibUtils.moment(itemC.ondate).localeFormat('MMMM')}</Text>
|
|
458
|
-
<Text allowFontScaling={false} style={applyStyle({ opacity: textOpacity, marginLeft: 7, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: _selectedTicket ? "#3ea4dc" : '#999' })}>{LibUtils.moment(itemC.ondate).localeFormat('YYYY')}</Text>
|
|
459
|
-
</View>
|
|
460
|
-
</View>
|
|
461
|
-
</View>
|
|
462
|
-
:
|
|
463
|
-
// view untuk yang undangan dan khusus
|
|
464
|
-
<View style={{ flex: 1, flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
465
|
-
<LibPicture source={esp.assets(ticketInvitation ? 'icons/invitation2.png' : 'icons/ic_special2.png')} style={{ height: 42, width: 42 }} />
|
|
466
|
-
<View style={{ marginLeft: 14, flex: 1 }} >
|
|
467
|
-
{
|
|
468
|
-
item?.status == 1 && itemC.status != 1 &&
|
|
469
|
-
<View style={applyStyle({ flexDirection: 'row', marginBottom: 5 })}>
|
|
470
|
-
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', marginTop: 5, borderWidth: 1, backgroundColor: itemC.status == 0 ? LibStyle.colorRed : LibStyle.colorPrimary, borderColor: itemC.status == 0 ? LibStyle.colorRed : LibStyle.colorPrimary, borderRadius: 5, padding: 3, opacity: 0.8 })}>
|
|
471
|
-
<Text allowFontScaling={false} style={applyStyle({ fontSize: 10, fontStyle: "normal", letterSpacing: 0, color: "#fff", fontWeight: 'bold' })}>{itemC.status == 0 ? esp.lang("event/ticket_list", "sold_out") : esp.lang("event/ticket_list", "coming_soon")}</Text>
|
|
472
|
-
</View>
|
|
473
|
-
</View>
|
|
474
|
-
}
|
|
475
|
-
{<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: _selectedTicket ? "#3ea4dc" : '#999' }}>{item.type}</Text>}
|
|
476
|
-
{
|
|
477
|
-
item.info != "" &&
|
|
478
|
-
<Text allowFontScaling={false} numberOfLines={3} style={{ flexWrap: 'wrap', fontFamily: "Arial", fontSize: 11, fontStyle: "normal", letterSpacing: 0, color: _selectedTicket ? "#3ea4dc" : '#999' }} >{item.info}</Text>
|
|
479
|
-
}
|
|
480
|
-
</View>
|
|
481
|
-
</View>
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
<View style={applyStyle({ marginRight: 5, marginLeft: 5, flexDirection: 'column' })} >
|
|
485
|
-
{
|
|
486
|
-
(itemC.status == 1 || itemC.status == 0 || itemC.show_price == 1) &&
|
|
487
|
-
<Text allowFontScaling={false} style={applyStyle({ opacity: ticketWithDate ? textOpacity : 1, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: _selectedTicket ? "#3ea4dc" : (itemC.price == 0 ? LibStyle.colorGreen : '#999') })} >{itemC.price == 0 ? esp.lang("event/ticket_list", "free") : LibUtils.money(itemC.price, itemC.currency)}</Text>
|
|
488
|
-
}
|
|
489
|
-
{
|
|
490
|
-
(ticketWithDate || ticketSpecial) && itemC.selected == 1 &&
|
|
491
|
-
<View style={applyStyle({ marginTop: 4, flexDirection: 'row', marginLeft: 8, alignContent: 'center', alignItems: 'center' })}>
|
|
492
|
-
<Pressable hitSlop={{ top: 15, left: 15, right: 15, bottom: 15 }} testID='minus_btn' onPress={() => {
|
|
493
|
-
// min()
|
|
494
|
-
let qty = 1
|
|
495
|
-
if (itemC.qty <= item.qty_min) {
|
|
496
|
-
qty = Number(item.qty_min)
|
|
497
|
-
} else {
|
|
498
|
-
qty = Number(itemC.qty) == 1 ? 1 : Number(itemC.qty) - 1
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
setAvailableResult(LibObject.set(getAvailableResult(), qty)('price_type', i, 'list', iC, 'qty'))
|
|
502
|
-
|
|
503
|
-
}}>
|
|
504
|
-
<View style={applyStyle({ padding: 1, borderRadius: 6, backgroundColor: "#ecf0f1", alignContent: 'center', alignItems: 'center' })}>
|
|
505
|
-
<LibIcon name="minus" color="#e74c3c" />
|
|
506
|
-
</View>
|
|
507
|
-
</Pressable>
|
|
508
|
-
<Text style={applyStyle({ fontFamily: "Arial", fontSize: 20, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: "#9b9b9b", marginLeft: 13, marginRight: 13 })}>{itemC?.qty}</Text>
|
|
509
|
-
<Pressable hitSlop={{ top: 15, left: 15, right: 15, bottom: 15 }} testID='plus_btn' onPress={() => {
|
|
510
|
-
// add(itemP.quota, itemP.quota_used)
|
|
511
|
-
let qty = 1
|
|
512
|
-
if (itemC.qty != item.qty_max) {
|
|
513
|
-
if (qty != (Number(itemC.quota) - Number(itemC.quota_used))) {
|
|
514
|
-
qty = Number(itemC?.qty) + 1
|
|
515
|
-
}
|
|
516
|
-
} else {
|
|
517
|
-
qty = Number(item.qty_max)
|
|
518
|
-
}
|
|
519
|
-
setAvailableResult(LibObject.set(getAvailableResult(), qty)('price_type', i, 'list', iC, 'qty'))
|
|
520
|
-
}}>
|
|
521
|
-
<View style={applyStyle({ padding: 1, borderRadius: 6, backgroundColor: "#ecf0f1", alignContent: 'center', alignItems: 'center' })}>
|
|
522
|
-
<LibIcon name="plus" color="#16a085" />
|
|
523
|
-
</View>
|
|
524
|
-
</Pressable>
|
|
525
|
-
</View>
|
|
526
|
-
}
|
|
527
|
-
</View>
|
|
528
|
-
|
|
529
|
-
</View>
|
|
530
|
-
</TouchableOpacity>
|
|
531
|
-
)
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
let listLength = new Array(10).fill('')
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
const maxDisplay = 3;
|
|
539
|
-
|
|
540
|
-
const handleShowAll = (price_id: any) => {
|
|
541
|
-
setShowAll((prevShowAll: any) => ({
|
|
542
|
-
...prevShowAll,
|
|
543
|
-
[price_id]: !prevShowAll[price_id],
|
|
544
|
-
}));
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
return (
|
|
548
|
-
<View style={{ flex: 1, backgroundColor: "#fff" }}>
|
|
549
|
-
<LibFocus onFocus={() => {
|
|
550
|
-
onRefresh();
|
|
551
|
-
}} />
|
|
552
|
-
<ComponentHeader title={esp.lang("event/ticket_list", "buy_ticket")} subtitle={esp.lang("event/ticket_list", "choose_date")} />
|
|
553
|
-
{
|
|
554
|
-
!allTicket ?
|
|
555
|
-
<LibSkeleton>
|
|
556
|
-
{
|
|
557
|
-
listLength.map((item: any, i: number) => {
|
|
558
|
-
return (
|
|
559
|
-
<View key={i}>
|
|
560
|
-
<View style={{ height: 30, width: '100%', backgroundColor: '#fff' }} />
|
|
561
|
-
<View style={{ padding: 10, width: '100%', flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center' }}>
|
|
562
|
-
<View style={{ flexDirection: 'row' }}>
|
|
563
|
-
<View style={{ backgroundColor: '#fff', height: 42, width: 42, borderRadius: 3, marginRight: 10 }} />
|
|
564
|
-
<View style={{ width: '60%' }}>
|
|
565
|
-
<View style={{ backgroundColor: '#fff', height: 20, width: '40%' }} />
|
|
566
|
-
<View style={{ backgroundColor: '#fff', marginTop: 7, height: 14, width: '70%' }} />
|
|
567
|
-
</View>
|
|
568
|
-
</View>
|
|
569
|
-
<View style={{ backgroundColor: '#fff', height: 20, width: '10%' }} />
|
|
570
|
-
</View>
|
|
571
|
-
</View>
|
|
572
|
-
)
|
|
573
|
-
})
|
|
574
|
-
}
|
|
575
|
-
</LibSkeleton>
|
|
576
|
-
:
|
|
577
|
-
<>
|
|
578
|
-
{
|
|
579
|
-
Object.values(pendingData).filter((item: any) => item?.order_type == "ticket").length > 0 &&
|
|
580
|
-
<ComponentPending_trx
|
|
581
|
-
onPress={() => {
|
|
582
|
-
LibNavigation.navigate('bigbang/loading_page_list', {
|
|
583
|
-
order_type: 'ticket'
|
|
584
|
-
})
|
|
585
|
-
}}
|
|
586
|
-
order_type="ticket"
|
|
587
|
-
title={esp.lang("event/ticket_list", "pending", String(Object.values(pendingData).filter((item: any) => item?.order_type == "ticket").length))}
|
|
588
|
-
/>
|
|
589
|
-
}
|
|
590
|
-
{
|
|
591
|
-
isInPricingQueueConfig(allTicket?.id) && isPass ?
|
|
592
|
-
<LibEffect deps={[]}>
|
|
593
|
-
<View style={{ backgroundColor: LibStyle.colorGreen, margin: 16, borderRadius: 5, padding: 10, ...LibStyle.elevation(2) }} >
|
|
594
|
-
<ComponentText.Caption>{esp.lang("event/ticket_list", "select_ticket")}</ComponentText.Caption>
|
|
595
|
-
<MarketCountdown
|
|
596
|
-
onExpired={() => {
|
|
597
|
-
LibNavigation.navigate("event/detail")
|
|
598
|
-
}}
|
|
599
|
-
expired={timer}
|
|
600
|
-
style={{ color: "#fff", fontWeight: 'bold' }} />
|
|
601
|
-
</View>
|
|
602
|
-
</LibEffect>
|
|
603
|
-
: null
|
|
604
|
-
}
|
|
605
|
-
<ScrollView refreshControl={<RefreshControl refreshing={false} onRefresh={onRefresh} />}>
|
|
606
|
-
{
|
|
607
|
-
allTicket?.image_map != "" &&
|
|
608
|
-
<ComponentTouchable onPress={() => {
|
|
609
|
-
LibNavigation.navigate('lib/gallery', { image: allTicket?.image_map })
|
|
610
|
-
}} style={{ marginBottom: 10, marginTop: 20 }}>
|
|
611
|
-
<LibPicture source={{ uri: allTicket?.image_map }} style={applyStyle({ alignSelf: 'center', height: LibStyle.width * 0.5, width: LibStyle.width })} resizeMode="contain" />
|
|
612
|
-
</ComponentTouchable>
|
|
613
|
-
}
|
|
614
|
-
<View style={{ flex: 1 }}>
|
|
615
|
-
{
|
|
616
|
-
allTicket?.price_type?.map?.((item: any, i: number) => {
|
|
617
|
-
let textOpacity = item?.status == 1 ? 1 : 0.3
|
|
618
|
-
let filterFullData = allTicket?.price_type?.filter((it: any) => it.status != 0)
|
|
619
|
-
const displayedData = showAll[item.price_id] ? item?.list : item?.list.slice(0, maxDisplay);
|
|
620
|
-
|
|
621
|
-
let selTic = item.price_id == selectedTicket?.price_id
|
|
622
|
-
let ticketWithDate = item.price_date == 1 && item.use_code == 0
|
|
623
|
-
|
|
624
|
-
return (
|
|
625
|
-
<Pressable onPress={() => {
|
|
626
|
-
|
|
627
|
-
}} key={i} style={{ overflow: 'hidden', margin: 15, marginBottom: 5, backgroundColor: '#fff', borderRadius: 10, ...LibStyle.elevation(2), borderWidth: 1, borderColor: selTic ? LibStyle.colorBlue : LibStyle.colorBgGrey }}>
|
|
628
|
-
<View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 10, borderTopRightRadius: 10 }}>
|
|
629
|
-
<View style={{ alignContent: 'center', alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }}>
|
|
630
|
-
<View>
|
|
631
|
-
<ComponentText.Subtitle style={{ opacity: textOpacity }} bold>
|
|
632
|
-
{item.type}
|
|
633
|
-
{
|
|
634
|
-
item.qty_min > 1 &&
|
|
635
|
-
<ComponentText.Small color={LibStyle.colorRed}>{"(" + esp.lang("event/ticket_list", "min_order") + LibUtils.number(item.qty_min) + ")"}</ComponentText.Small>
|
|
636
|
-
}
|
|
637
|
-
</ComponentText.Subtitle>
|
|
638
|
-
{
|
|
639
|
-
deeplinkParams?.type == 'event-voucher' && deeplinkParams?.price_id == item.price_id ?
|
|
640
|
-
<ComponentText.Caption color='coral' bold>{esp.lang("event/ticket_list", "applied_code", deeplinkParams?.code)}</ComponentText.Caption>
|
|
641
|
-
: null
|
|
642
|
-
}
|
|
643
|
-
</View>
|
|
644
|
-
{
|
|
645
|
-
item?.status != 1 &&
|
|
646
|
-
<View style={applyStyle({ flexDirection: 'row' })}>
|
|
647
|
-
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item.status == 0 ? LibStyle.colorRed : "#4cd964", borderColor: item.status == 0 ? LibStyle.colorRed : "#4cd964", borderRadius: 5, padding: 3, opacity: 0.8 })}>
|
|
648
|
-
<ComponentText.Small bold>{item.status == 0 ? esp.lang("event/ticket_list", "sold_out") : esp.lang("event/ticket_list", "coming_soon")}</ComponentText.Small>
|
|
649
|
-
</View>
|
|
650
|
-
</View>
|
|
651
|
-
}
|
|
652
|
-
</View>
|
|
653
|
-
{
|
|
654
|
-
item.info != "" && ticketWithDate &&
|
|
655
|
-
<View style={{ marginTop: 3, alignContent: 'center', alignItems: 'center', flexDirection: 'row', marginRight: 5 }}>
|
|
656
|
-
<ComponentText.Caption color={LibStyle.colorBlue}>{item.info}</ComponentText.Caption>
|
|
657
|
-
</View>
|
|
658
|
-
}
|
|
659
|
-
</View>
|
|
660
|
-
{
|
|
661
|
-
displayedData?.map((itemC: any, iC: number) => renderItem(itemC, iC, item, i))
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
{
|
|
665
|
-
filterFullData[i]?.list?.length > 3 &&
|
|
666
|
-
<TouchableOpacity onPress={() => {
|
|
667
|
-
handleShowAll(item.price_id)
|
|
668
|
-
}} style={{ borderTopColor: LibStyle.colorGrey, borderTopWidth: 0.8, flex: 1, padding: 8, flexDirection: 'row', alignContent: 'center', alignItems: 'center', justifyContent: 'center' }}>
|
|
669
|
-
<ComponentText.Caption bold color={LibStyle.colorBlue} style={{ marginRight: 5 }}>{showAll[item.price_id] ? esp.lang("event/ticket_list", "see_less") : esp.lang("event/ticket_list", "see_more")}</ComponentText.Caption>
|
|
670
|
-
<LibIcon name={showAll[item.price_id] ? 'chevron-up-circle-outline' : 'chevron-down-circle-outline'} color={LibStyle.colorBlue} size={18} />
|
|
671
|
-
</TouchableOpacity>
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
</Pressable>
|
|
675
|
-
)
|
|
676
|
-
})
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
{/* ini view yang dibawah */}
|
|
680
|
-
<View style={{ marginTop: 30 }}>
|
|
681
|
-
<View style={{ padding: 15, paddingTop: 0, marginTop: 0, flexDirection: 'row', justifyContent: 'space-between', alignContent: 'center', alignItems: 'center', marginBottom: 0, paddingBottom: 10, borderBottomWidth: 1, borderBottomColor: LibStyle.colorGrey }}>
|
|
682
|
-
<ComponentText.Body bold>{esp.lang("event/ticket_list", "ticket_not_available")}</ComponentText.Body>
|
|
683
|
-
<TouchableOpacity onPress={() => {
|
|
684
|
-
LibToastProperty.show("Nanti dia curl tiket yang gak available")
|
|
685
|
-
}} style={{ padding: 5, paddingVertical: 3, borderRadius: 5, borderWidth: 1, borderColor: LibStyle.colorBlue, }}>
|
|
686
|
-
<ComponentText.Button bold color={LibStyle.colorBlue}>{"Lihat tiket"}</ComponentText.Button>
|
|
687
|
-
|
|
688
|
-
</TouchableOpacity>
|
|
689
|
-
</View>
|
|
690
|
-
{/* {
|
|
691
|
-
unAvailableResult?.price_type?.length > 0 &&
|
|
692
|
-
} */}
|
|
693
|
-
{
|
|
694
|
-
unAvailableResult?.price_type?.map?.((item: any, i: number) => {
|
|
695
|
-
let selTic = item.price_id == selectedTicket?.price_id
|
|
696
|
-
let textOpacity = item?.status == 1 ? 1 : 0.3
|
|
697
|
-
let ticketWithDate = item.price_date == 1 && item.use_code == 0
|
|
698
|
-
return (
|
|
699
|
-
<View key={i} style={{ overflow: 'hidden', margin: 15, marginBottom: 5, backgroundColor: '#fff', borderRadius: 10, ...LibStyle.elevation(2), borderWidth: 1, borderColor: selTic ? LibStyle.colorBlue : LibStyle.colorBgGrey }}>
|
|
700
|
-
<View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 10, borderTopRightRadius: 10 }}>
|
|
701
|
-
<View style={{ alignContent: 'center', alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }}>
|
|
702
|
-
<ComponentText.Subtitle bold style={{ opacity: textOpacity }}>{item.type}</ComponentText.Subtitle>
|
|
703
|
-
{
|
|
704
|
-
item?.status != 1 &&
|
|
705
|
-
<View style={applyStyle({ flexDirection: 'row' })}>
|
|
706
|
-
<View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item.status == 0 ? LibStyle.colorRed : "#4cd964", borderColor: item.status == 0 ? LibStyle.colorRed : "#4cd964", borderRadius: 5, padding: 3, opacity: 0.8 })}>
|
|
707
|
-
<ComponentText.Small bold>{item.status == 0 ? esp.lang("event/ticket_list", "sold_out") : esp.lang("event/ticket_list", "coming_soon")}</ComponentText.Small>
|
|
708
|
-
</View>
|
|
709
|
-
</View>
|
|
710
|
-
}
|
|
711
|
-
</View>
|
|
712
|
-
{
|
|
713
|
-
item.info != "" && ticketWithDate &&
|
|
714
|
-
<View style={{ marginTop: 3, alignContent: 'center', alignItems: 'center', flexDirection: 'row', marginRight: 5 }}>
|
|
715
|
-
<ComponentText.Caption color={LibStyle.colorBlue}>{item.info}</ComponentText.Caption>
|
|
716
|
-
</View>
|
|
717
|
-
}
|
|
718
|
-
</View>
|
|
719
|
-
{
|
|
720
|
-
item?.list.slice(0, 3).map((itemC: any, iC: number) => renderItem(itemC, iC, item, i))
|
|
721
|
-
}
|
|
722
|
-
</View>
|
|
723
|
-
)
|
|
724
|
-
})
|
|
725
|
-
}
|
|
726
|
-
</View>
|
|
727
|
-
</View>
|
|
728
|
-
</ScrollView>
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
<View style={applyStyle({ margin: 10, marginVertical: 5 })}>
|
|
732
|
-
{
|
|
733
|
-
allTicket?.price_type_info != "" &&
|
|
734
|
-
<ComponentText.Subtitle bold color={LibStyle.colorBlue} style={{ marginBottom: 10 }}>{allTicket && allTicket?.hasOwnProperty("price_type_info") && allTicket?.price_type_info}</ComponentText.Subtitle>
|
|
735
|
-
}
|
|
736
|
-
<ComponentButton testID={"next_btn"} label={esp.lang("event/ticket_list", "next")} onPress={() => {
|
|
737
|
-
if (!allTicket?.price_type.some((item: any) => item.selected == 1)) {
|
|
738
|
-
LibToastProperty.show(esp.lang("event/ticket_list", "ticket_not_select"), 3000)
|
|
739
|
-
return
|
|
740
|
-
}
|
|
741
|
-
if (selectedTicket?.use_code == 1) {
|
|
742
|
-
checkInvBlock()
|
|
743
|
-
}
|
|
744
|
-
// else if (selectedTicket?.config?.seat_autopick == 1 && getQty() > 1) {
|
|
745
|
-
// chooseBestSeat()
|
|
746
|
-
// }
|
|
747
|
-
else {
|
|
748
|
-
nextStep();
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
}} style={applyStyle({ backgroundColor: LibStyle.colorPrimary })} />
|
|
752
|
-
</View>
|
|
753
|
-
</>
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
</View>
|
|
757
|
-
)
|
|
758
|
-
}
|
|
759
|
-
export default memo(m);
|