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
package/modules/mart/dc_cart.tsx
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
// withHooks
|
|
2
|
-
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
3
|
-
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
4
|
-
import { LibList } from 'esoftplay/cache/lib/list/import';
|
|
5
|
-
import { LibLoading } from 'esoftplay/cache/lib/loading/import';
|
|
6
|
-
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
7
|
-
import { LibObject } from 'esoftplay/cache/lib/object/import';
|
|
8
|
-
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
9
|
-
import { LibProgress } from 'esoftplay/cache/lib/progress/import';
|
|
10
|
-
import { LibTextstyle } from 'esoftplay/cache/lib/textstyle/import';
|
|
11
|
-
import { LibToastProperty } from 'esoftplay/cache/lib/toast/import';
|
|
12
|
-
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
13
|
-
import { MarketNotice } from 'esoftplay/cache/market/notice/import';
|
|
14
|
-
import { MartButton } from 'esoftplay/cache/mart/button/import';
|
|
15
|
-
import { MartDc_cart_item } from 'esoftplay/cache/mart/dc_cart_item/import';
|
|
16
|
-
import { MartDc_checkoutArgs } from 'esoftplay/cache/mart/dc_checkout/import';
|
|
17
|
-
import { MartEmpty } from 'esoftplay/cache/mart/empty/import';
|
|
18
|
-
import { MartHeader } from 'esoftplay/cache/mart/header/import';
|
|
19
|
-
import esp from 'esoftplay/esp';
|
|
20
|
-
import useGlobalState, { useGlobalReturn } from 'esoftplay/global';
|
|
21
|
-
import useSafeState from 'esoftplay/state';
|
|
22
|
-
|
|
23
|
-
import React, { useEffect } from 'react';
|
|
24
|
-
import { Text, View } from 'react-native';
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export interface MartDc_cartArgs {
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
export interface MartDc_cartProps {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const count = useGlobalState<number>(0)
|
|
35
|
-
|
|
36
|
-
export function countState(): useGlobalReturn<number> {
|
|
37
|
-
return count
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function getCountState() {
|
|
41
|
-
new LibCurl('mitra/dc_product_cart_count', null, (r: any) => count.set(parseInt(r)), () => count.set(0), 1)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function add(product_id: string, qty: number, notes?: string) {
|
|
45
|
-
new LibCurl('mitra/dc_product_cart_edit', { product_id, qty, notes },
|
|
46
|
-
(res, msg) => {
|
|
47
|
-
getCountState()
|
|
48
|
-
}, (msg) => {
|
|
49
|
-
LibToastProperty.show(msg?.message)
|
|
50
|
-
}, 1
|
|
51
|
-
)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function buynow(product_id: string, qty: number, notes?: string) {
|
|
55
|
-
LibProgress.show(esp.lang("mart/dc_cart", "please_wait"))
|
|
56
|
-
//add to cart
|
|
57
|
-
new LibCurl('mitra/dc_product_cart_edit', { product_id, qty, notes },
|
|
58
|
-
(res, msg) => {
|
|
59
|
-
//list cart
|
|
60
|
-
new LibCurl('mitra/dc_product_cart?page=0', null,
|
|
61
|
-
(res, msg) => {
|
|
62
|
-
const cart_id = res?.list?.filter?.((x: any) => x?.product?.id == product_id)?.[0]?.id
|
|
63
|
-
//edit qty
|
|
64
|
-
new LibCurl('mitra/dc_product_cart_edit?id=' + cart_id, { product_id: product_id, qty: qty, notes: notes || '' },
|
|
65
|
-
(res, msg) => {
|
|
66
|
-
const url = 'mitra/dc_product_cart_checkout'
|
|
67
|
-
const jcart_ids = JSON.stringify([cart_id])
|
|
68
|
-
//checkout
|
|
69
|
-
new LibCurl(url, { cart_ids: jcart_ids },
|
|
70
|
-
(res, msg) => {
|
|
71
|
-
LibProgress.hide()
|
|
72
|
-
LibNavigation.navigate<MartDc_checkoutArgs>('mart/dc_checkout', { shipping_address: res?.shipping_address, cart_ids: jcart_ids, url: url })
|
|
73
|
-
}, (msg) => {
|
|
74
|
-
LibProgress.hide()
|
|
75
|
-
LibToastProperty.show(msg?.message)
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
}, (msg) => {
|
|
79
|
-
LibProgress.hide()
|
|
80
|
-
LibToastProperty.show(msg?.message)
|
|
81
|
-
}
|
|
82
|
-
)
|
|
83
|
-
}, (msg) => {
|
|
84
|
-
LibProgress.hide()
|
|
85
|
-
LibToastProperty.show(msg?.message)
|
|
86
|
-
}
|
|
87
|
-
)
|
|
88
|
-
}, (msg) => {
|
|
89
|
-
LibProgress.hide()
|
|
90
|
-
LibToastProperty.show(msg?.message)
|
|
91
|
-
}
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export default function m(props: MartDc_cartProps): any {
|
|
96
|
-
const [data, setData] = useSafeState<any>()
|
|
97
|
-
const [error, setError] = useSafeState<any>()
|
|
98
|
-
const [total, setTotal] = useSafeState(0)
|
|
99
|
-
|
|
100
|
-
useEffect(() => {
|
|
101
|
-
list()
|
|
102
|
-
}, [])
|
|
103
|
-
|
|
104
|
-
function list(page?: number): void {
|
|
105
|
-
new LibCurl('mitra/dc_product_cart?page=' + (page || 0), null,
|
|
106
|
-
(res, msg) => {
|
|
107
|
-
setData(res)
|
|
108
|
-
let price = res.list.map((item: any) => Number(item.qty) * Number(item.product.sale)).reduce((acc: number, cur: any) => acc + Number(cur), 0)
|
|
109
|
-
setTotal(price);
|
|
110
|
-
}, (msg) => {
|
|
111
|
-
setError(msg)
|
|
112
|
-
}, 1
|
|
113
|
-
)
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
function changeQyt(indexProduct: number, product_id: string, qty: number, cart_id: string) {
|
|
117
|
-
let newList = LibObject.set(data.list, qty)(indexProduct, 'qty')
|
|
118
|
-
let _total = newList.map((item: any) => Number(item.qty) * Number(item.product.sale)).reduce((acc: number, cur: any) => acc + Number(cur), 0)
|
|
119
|
-
setTotal(_total);
|
|
120
|
-
setData({ dc: data.dc, list: newList })
|
|
121
|
-
editProduct(cart_id, product_id, qty)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
function editProduct(id: string, product_id: string, qty: number, notes?: string) {
|
|
125
|
-
let post = {
|
|
126
|
-
product_id: product_id,
|
|
127
|
-
qty: qty,
|
|
128
|
-
notes: notes || ''
|
|
129
|
-
}
|
|
130
|
-
new LibCurl('mitra/dc_product_cart_edit?id=' + id, post,
|
|
131
|
-
(res, msg) => {
|
|
132
|
-
getCountState()
|
|
133
|
-
}, (msg) => {
|
|
134
|
-
LibToastProperty.show(msg?.message)
|
|
135
|
-
}, 1
|
|
136
|
-
)
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function deleteProduct(id: string, index: number) {
|
|
140
|
-
const newList = LibObject.splice(data.list, index, 1)()
|
|
141
|
-
let _total = newList.map((item: any) => Number(item.qty) * Number(item.product.sale)).reduce((acc: number, cur: any) => acc + Number(cur), 0)
|
|
142
|
-
new LibCurl('mitra/dc_product_cart_delete?id=' + id, null,
|
|
143
|
-
(res, msg) => {
|
|
144
|
-
LibToastProperty.show(res)
|
|
145
|
-
getCountState()
|
|
146
|
-
setTotal(_total);
|
|
147
|
-
if (newList.length > 0) {
|
|
148
|
-
setData({ dc: data.dc, list: newList })
|
|
149
|
-
} else {
|
|
150
|
-
setError(esp.lang("mart/dc_cart", "no_data"))
|
|
151
|
-
}
|
|
152
|
-
}, (msg) => {
|
|
153
|
-
LibToastProperty.show(msg?.message)
|
|
154
|
-
}, 1
|
|
155
|
-
)
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
function doCheckout() {
|
|
159
|
-
const url = 'mitra/dc_product_cart_checkout'
|
|
160
|
-
const cart_ids = data?.list?.map((item: any) => item.id)
|
|
161
|
-
const jcart_ids = JSON.stringify(cart_ids)
|
|
162
|
-
LibProgress.show(esp.lang("mart/dc_cart", "please_wait"))
|
|
163
|
-
new LibCurl(url, { cart_ids: jcart_ids },
|
|
164
|
-
(res, msg) => {
|
|
165
|
-
LibProgress.hide()
|
|
166
|
-
LibNavigation.navigate<MartDc_checkoutArgs>('mart/dc_checkout', { shipping_address: res?.shipping_address, cart_ids: jcart_ids, url: url })
|
|
167
|
-
}, (msg) => {
|
|
168
|
-
LibProgress.hide()
|
|
169
|
-
LibToastProperty.show(msg?.message)
|
|
170
|
-
}, 1
|
|
171
|
-
)
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
const renderItem = (item: any, i: number) => (
|
|
175
|
-
<MartDc_cart_item
|
|
176
|
-
{...item}
|
|
177
|
-
key={i}
|
|
178
|
-
idx={i}
|
|
179
|
-
deleteProduct={(x) => deleteProduct(item.id, x)}
|
|
180
|
-
changeQty={(index, id, qty) => {
|
|
181
|
-
changeQyt(index, id, qty, item.id)
|
|
182
|
-
}}
|
|
183
|
-
/>
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
return (
|
|
187
|
-
<View style={{ flex: 1 }}>
|
|
188
|
-
<MartHeader title={esp.lang("mart/dc_cart", "dc")} subtitle={esp.lang("mart/dc_cart", "shopping_cart")} leftIcon={{ name: "close", onPress: () => LibNavigation.back() }} />
|
|
189
|
-
{
|
|
190
|
-
error ? <MartEmpty message={error?.message} /> :
|
|
191
|
-
<>
|
|
192
|
-
<LibList
|
|
193
|
-
onRefresh={list}
|
|
194
|
-
data={data?.list}
|
|
195
|
-
ListEmptyComponent={
|
|
196
|
-
<>
|
|
197
|
-
{
|
|
198
|
-
(error || data?.list?.length == 0) &&
|
|
199
|
-
<MartEmpty message={error?.message == '' ? esp.lang("mart/dc_cart", "shopping_cart_is_empty") : error?.message} />
|
|
200
|
-
}
|
|
201
|
-
</>
|
|
202
|
-
}
|
|
203
|
-
ListFooterComponent={data?.dc?.id ? null : error ? null : <LibLoading />}
|
|
204
|
-
ListHeaderComponent={
|
|
205
|
-
<>
|
|
206
|
-
{
|
|
207
|
-
<View style={{ flexDirection: 'row', marginHorizontal: 20, marginTop: 10 }} >
|
|
208
|
-
<LibPicture source={{ uri: data?.dc?.image }} style={{ backgroundColor: '#f1f1f1', width: 40, height: 40, borderRadius: 4 }} />
|
|
209
|
-
<View style={{ marginLeft: 10, flex: 1 }} >
|
|
210
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{data?.dc?.name}</Text>
|
|
211
|
-
<View style={{ flexDirection: 'row', marginTop: 5 }} >
|
|
212
|
-
<LibIcon name='map-marker' size={14} />
|
|
213
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{data?.dc?.address}</Text>
|
|
214
|
-
</View>
|
|
215
|
-
{
|
|
216
|
-
data?.dc?.active == 0 &&
|
|
217
|
-
<MarketNotice mode='danger' text={esp.lang("mart/dc_cart", "store_not_active")} canPress={false} containerStyle={{ marginHorizontal: 0, paddingVertical: 2, paddingHorizontal: 8 }} />
|
|
218
|
-
}
|
|
219
|
-
</View>
|
|
220
|
-
</View>
|
|
221
|
-
}
|
|
222
|
-
</>
|
|
223
|
-
}
|
|
224
|
-
renderItem={renderItem}
|
|
225
|
-
/>
|
|
226
|
-
</>
|
|
227
|
-
}
|
|
228
|
-
{
|
|
229
|
-
data?.list ?
|
|
230
|
-
<View style={{ flexDirection: "row", backgroundColor: "white", borderTopWidth: 1, borderTopColor: "#ddd" }} >
|
|
231
|
-
<View style={{ flex: 1, padding: 10 }} >
|
|
232
|
-
<LibTextstyle style={{ textAlign: "right" }} text={esp.lang("mart/dc_cart", "total_price")} textStyle="footnote" />
|
|
233
|
-
<LibTextstyle style={{ textAlign: "right", fontWeight: "bold" }} text={LibUtils.money(total)} textStyle="footnote" />
|
|
234
|
-
</View>
|
|
235
|
-
<MartButton text={esp.lang("mart/dc_cart", "next")}
|
|
236
|
-
color={data?.list ? "white" : '#4a4a4a'}
|
|
237
|
-
colorBackground={!data?.list ? '#e6e6e6' : undefined}
|
|
238
|
-
buttonStyle={{ margin: 10, paddingHorizontal: 15 }}
|
|
239
|
-
onPress={() => {
|
|
240
|
-
if (data?.list) {
|
|
241
|
-
doCheckout()
|
|
242
|
-
}
|
|
243
|
-
}} />
|
|
244
|
-
</View>
|
|
245
|
-
:
|
|
246
|
-
<View style={{ padding: 10 }}>
|
|
247
|
-
<MartButton text={esp.lang("mart/dc_cart", "shop_now")}
|
|
248
|
-
buttonStyle={{ margin: 10, paddingHorizontal: 15 }}
|
|
249
|
-
onPress={() => {
|
|
250
|
-
LibNavigation.back()
|
|
251
|
-
}} />
|
|
252
|
-
</View>
|
|
253
|
-
}
|
|
254
|
-
</View>
|
|
255
|
-
)
|
|
256
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
// noPage
|
|
2
|
-
import { LibComponent } from 'esoftplay/cache/lib/component/import';
|
|
3
|
-
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
4
|
-
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
5
|
-
import { LibSlidingup } from 'esoftplay/cache/lib/slidingup/import';
|
|
6
|
-
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
7
|
-
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
8
|
-
import { MartButton } from 'esoftplay/cache/mart/button/import';
|
|
9
|
-
import { MartDc_cartProperty } from 'esoftplay/cache/mart/dc_cart/import';
|
|
10
|
-
import { UserProfileProperty } from 'esoftplay/cache/user/profile/import';
|
|
11
|
-
import esp from 'esoftplay/esp';
|
|
12
|
-
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import { Text, TouchableOpacity, View } from 'react-native';
|
|
15
|
-
|
|
16
|
-
export interface MartDc_cart_add_slideupProps {
|
|
17
|
-
}
|
|
18
|
-
export interface MartDc_cart_add_slideupState {
|
|
19
|
-
qty: number,
|
|
20
|
-
item: any,
|
|
21
|
-
buynow?: boolean
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default class m extends LibComponent<MartDc_cart_add_slideupProps, MartDc_cart_add_slideupState> {
|
|
25
|
-
|
|
26
|
-
dialogBagAdd = React.createRef<LibSlidingup>()
|
|
27
|
-
|
|
28
|
-
constructor(props: MartDc_cart_add_slideupProps) {
|
|
29
|
-
super(props);
|
|
30
|
-
this.show = this.show.bind(this);
|
|
31
|
-
this.hide = this.hide.bind(this);
|
|
32
|
-
this.state = { qty: 0, item: {}, buynow: false }
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
show(item: any, buynow?: boolean): void {
|
|
36
|
-
this.dialogBagAdd.current?.show()
|
|
37
|
-
this.setState({ item: item, qty: item.min_order, buynow: buynow || false })
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
hide(): void {
|
|
41
|
-
this.dialogBagAdd.current?.hide()
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
render(): any {
|
|
45
|
-
const { qty, item, buynow } = this.state
|
|
46
|
-
|
|
47
|
-
return (
|
|
48
|
-
<LibSlidingup ref={this.dialogBagAdd} >
|
|
49
|
-
<View style={{ backgroundColor: 'white' }} >
|
|
50
|
-
<View style={{ flexDirection: 'row' }} >
|
|
51
|
-
<View style={{ backgroundColor: 'white', padding: 5, marginHorizontal: 15, borderRadius: 5, marginTop: -50 }} >
|
|
52
|
-
<LibPicture source={{ uri: item?.image || item?.images?.[0]?.image }} style={{ width: 90, height: 90 }} />
|
|
53
|
-
</View>
|
|
54
|
-
</View>
|
|
55
|
-
<View style={{ paddingHorizontal: 20, padding: 20 }}>
|
|
56
|
-
<View style={{ flexDirection: 'row', marginBottom: 10 }} >
|
|
57
|
-
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode="tail" style={{ flex: 1, fontFamily: 'Arial', fontSize: 16, fontWeight: 'bold' }} >{item?.name}</Text>
|
|
58
|
-
<View>
|
|
59
|
-
<Text allowFontScaling={false} style={{ fontSize: 16, fontWeight: 'bold' }} >{LibUtils.money(item?.sale)}</Text>
|
|
60
|
-
{
|
|
61
|
-
item.price != item.sale &&
|
|
62
|
-
<Text allowFontScaling={false} style={{ textAlign: 'right', color: LibStyle.colorRed, textDecorationLine: 'line-through', textDecorationStyle: 'solid', fontSize: 12 }} >{LibUtils.money(item?.price)}</Text>
|
|
63
|
-
}
|
|
64
|
-
</View>
|
|
65
|
-
</View>
|
|
66
|
-
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode="tail" style={{ fontFamily: 'Arial', fontSize: 12, marginBottom: 5 }} >{item?.description}</Text>
|
|
67
|
-
<Text allowFontScaling={false} numberOfLines={2} ellipsizeMode="tail" style={{ fontFamily: 'Arial', fontSize: 12 }} >{esp.lang("mart/dc_cart_add_slideup", "stock_left", LibUtils.number(item?.stocks))}</Text>
|
|
68
|
-
{
|
|
69
|
-
item.stocks > 0 &&
|
|
70
|
-
<>
|
|
71
|
-
<View style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'center', marginVertical: 15, marginTop: 20 }} >
|
|
72
|
-
<TouchableOpacity onPress={() => { this.setState({ qty: qty <= (Number(item.min_order) || 1) ? Number(item.min_order) : Number(qty) - 1 }) }} style={{ alignItems: 'center', justifyContent: 'center', padding: 4, borderRadius: 5, borderWidth: 1, borderColor: '#999' }} >
|
|
73
|
-
<LibIcon name='minus' color="#999" />
|
|
74
|
-
</TouchableOpacity>
|
|
75
|
-
<Text allowFontScaling={false} style={{ marginHorizontal: 15, fontFamily: 'Arial', fontSize: 18, fontWeight: 'bold' }} >{qty}</Text>
|
|
76
|
-
<TouchableOpacity onPress={() => { this.setState({ qty: qty < Number(item.stocks) ? Number(qty) + 1 : Number(item.stocks) }) }} style={{ alignItems: 'center', justifyContent: 'center', padding: 4, borderRadius: 5, borderWidth: 1, borderColor: '#999' }} >
|
|
77
|
-
<LibIcon name='plus' color="#999" />
|
|
78
|
-
</TouchableOpacity>
|
|
79
|
-
</View>
|
|
80
|
-
{
|
|
81
|
-
buynow ?
|
|
82
|
-
<MartButton text={esp.lang("mart/dc_cart_add_slideup", "buy_now")} onPress={() => {
|
|
83
|
-
UserProfileProperty.isLogin(() => {
|
|
84
|
-
MartDc_cartProperty.buynow(item.id, qty, ''); this.hide()
|
|
85
|
-
})
|
|
86
|
-
}} />
|
|
87
|
-
:
|
|
88
|
-
<MartButton text={esp.lang("mart/dc_cart_add_slideup", "add_to_cart")} onPress={() => {
|
|
89
|
-
UserProfileProperty.isLogin(() => {
|
|
90
|
-
MartDc_cartProperty.add(item.id, qty, ''); this.hide()
|
|
91
|
-
})
|
|
92
|
-
}} />
|
|
93
|
-
}
|
|
94
|
-
</>
|
|
95
|
-
}
|
|
96
|
-
</View>
|
|
97
|
-
</View>
|
|
98
|
-
</LibSlidingup>
|
|
99
|
-
)
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
// withHooks
|
|
2
|
-
// noPage
|
|
3
|
-
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
4
|
-
import { LibIcon } from 'esoftplay/cache/lib/icon/import';
|
|
5
|
-
import { LibPicture } from 'esoftplay/cache/lib/picture/import';
|
|
6
|
-
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
7
|
-
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
8
|
-
import esp from 'esoftplay/esp';
|
|
9
|
-
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { Text, TouchableOpacity, View } from 'react-native';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface MartDc_cart_itemArgs {
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface product {
|
|
19
|
-
id: string
|
|
20
|
-
user_id: string
|
|
21
|
-
merchant_id: string
|
|
22
|
-
mitra_id: string
|
|
23
|
-
mitra_name: string
|
|
24
|
-
image: string
|
|
25
|
-
price: number
|
|
26
|
-
discount: string
|
|
27
|
-
discount_title: string
|
|
28
|
-
sale: string
|
|
29
|
-
min_order: string
|
|
30
|
-
hits: string
|
|
31
|
-
last_hits: string
|
|
32
|
-
created: string
|
|
33
|
-
updated: string
|
|
34
|
-
publish: string
|
|
35
|
-
active: string
|
|
36
|
-
name: string
|
|
37
|
-
stocks: string
|
|
38
|
-
sold: string
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface MartDc_cart_itemProps {
|
|
42
|
-
idx: number
|
|
43
|
-
id: string,
|
|
44
|
-
user_id: string,
|
|
45
|
-
merchant_id: string,
|
|
46
|
-
mitra_id: string,
|
|
47
|
-
product_id: string,
|
|
48
|
-
qty: number,
|
|
49
|
-
stocks: number,
|
|
50
|
-
notes: string,
|
|
51
|
-
status: string,
|
|
52
|
-
created: string,
|
|
53
|
-
updated: string,
|
|
54
|
-
product: product
|
|
55
|
-
disabled: number,
|
|
56
|
-
disabled_notes: string
|
|
57
|
-
changeQty: (index: number, idProduct: string, qty: number) => void,
|
|
58
|
-
changeNotes: (idProduct: string, notes: string) => void,
|
|
59
|
-
deleteProduct: (indexProduct: number) => void,
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export default function m(props: MartDc_cart_itemProps): any {
|
|
63
|
-
|
|
64
|
-
function addQty() {
|
|
65
|
-
const newQty = Number(props.qty) + 1
|
|
66
|
-
props.changeQty(props.idx, props.product_id, (newQty <= props.stocks ? newQty : props.qty))
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function delProduct() {
|
|
70
|
-
LibDialog.warningConfirm(esp.lang("mart/dc_cart_item", "delete_product", props.product.name) + '?', esp.lang("mart/dc_cart_item", "this_action_cant_canceled"), esp.lang("mart/dc_cart_item", "delete"), () => {
|
|
71
|
-
props.deleteProduct(props.idx)
|
|
72
|
-
}, esp.lang("mart/dc_cart_item", "cancel"), () => { })
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function subQty() {
|
|
76
|
-
const newQty = Number(props.qty) - 1
|
|
77
|
-
if (newQty < 1) {
|
|
78
|
-
LibDialog.warningConfirm(esp.lang("mart/dc_cart_item", "delete_product", props.product.name) + '?', esp.lang("mart/dc_cart_item", "this_action_cant_canceled"), esp.lang("mart/dc_cart_item", "delete"), () => {
|
|
79
|
-
props.deleteProduct(props.idx)
|
|
80
|
-
}, esp.lang("mart/dc_cart_item", "cancel"), () => { })
|
|
81
|
-
} else {
|
|
82
|
-
props.changeQty(props.idx, props.product_id, (newQty >= (props.product.min_order || 0) ? newQty : props.qty))
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return (
|
|
87
|
-
<View style={styleId_Ze1H49}>
|
|
88
|
-
<LibPicture source={{ uri: props?.product?.image }} style={styleId_PxODA} />
|
|
89
|
-
<View style={styleId_ZcMJmd} >
|
|
90
|
-
<View style={styleId_Z1IS0fI}>
|
|
91
|
-
<View style={styleId_BO2C8} >
|
|
92
|
-
<Text allowFontScaling={false} style={styleId_Z2h00MA}>{props?.product?.name}</Text>
|
|
93
|
-
<View style={styleId_Z1IS0fI}>
|
|
94
|
-
<Text allowFontScaling={false} style={styleId_Z2v6RJk} >{props?.qty} x </Text>
|
|
95
|
-
<Text allowFontScaling={false} style={styleId_Z2v6RJk} >{LibUtils.money(props?.product?.sale)} </Text>
|
|
96
|
-
{
|
|
97
|
-
Number(props?.product?.sale) != Number(props?.product?.price) &&
|
|
98
|
-
<Text allowFontScaling={false} style={styleId_Z2mWlUC} >{LibUtils.money(props?.product?.price)}</Text>
|
|
99
|
-
}
|
|
100
|
-
</View>
|
|
101
|
-
</View>
|
|
102
|
-
<Text allowFontScaling={false} style={styleId_Z6PSle} >{LibUtils.money(Number(props?.product?.sale) * props?.qty)}</Text>
|
|
103
|
-
</View>
|
|
104
|
-
<View style={styleId_tpeK8} >
|
|
105
|
-
{
|
|
106
|
-
props.disabled == 1 ?
|
|
107
|
-
<View style={styleId_ZcMJmd}>
|
|
108
|
-
<Text allowFontScaling={false} style={styleId_1MtTdQ} >{props?.disabled_notes}</Text>
|
|
109
|
-
</View>
|
|
110
|
-
:
|
|
111
|
-
<View style={styleId_ZyfQmp} >
|
|
112
|
-
<TouchableOpacity onPress={subQty} style={styleId_Z1VmOL1} >
|
|
113
|
-
<LibIcon name='minus' color="#999" size={14} />
|
|
114
|
-
</TouchableOpacity>
|
|
115
|
-
<Text allowFontScaling={false} style={styleId_Z1ktOqN} >{props?.qty}</Text>
|
|
116
|
-
<TouchableOpacity onPress={addQty} style={styleId_Z1VmOL1} >
|
|
117
|
-
<LibIcon name='plus' color="#999" size={14} />
|
|
118
|
-
</TouchableOpacity>
|
|
119
|
-
</View>
|
|
120
|
-
}
|
|
121
|
-
<TouchableOpacity onPress={delProduct} style={styleId_Z1VmOL1} >
|
|
122
|
-
<LibIcon name='delete' color="#999" size={14} />
|
|
123
|
-
</TouchableOpacity>
|
|
124
|
-
</View>
|
|
125
|
-
</View>
|
|
126
|
-
</View>
|
|
127
|
-
)
|
|
128
|
-
}
|
|
129
|
-
const styleId_Ze1H49: any = { marginTop: 15, marginBottom: 10, marginHorizontal: 20, flexDirection: 'row' }
|
|
130
|
-
const styleId_PxODA: any = { backgroundColor: '#f1f1f1', width: 60, height: 60, borderRadius: 4, marginHorizontal: 10 }
|
|
131
|
-
const styleId_ZcMJmd: any = { flex: 1 }
|
|
132
|
-
const styleId_Z1IS0fI: any = { flexDirection: 'row' }
|
|
133
|
-
const styleId_BO2C8: any = { marginRight: 10, flex: 1 }
|
|
134
|
-
const styleId_Z2h00MA: any = { fontFamily: "Arial", fontSize: 12, color: "#03192a" }
|
|
135
|
-
const styleId_Z2v6RJk: any = { marginTop: 5, fontSize: 12 }
|
|
136
|
-
const styleId_Z2mWlUC: any = { marginTop: 5, fontSize: 12, textDecorationLine: 'line-through', textDecorationStyle: 'solid' }
|
|
137
|
-
const styleId_Z6PSle: any = { fontFamily: "ArialBold", fontSize: 14 }
|
|
138
|
-
const styleId_tpeK8: any = { flexDirection: 'row', marginTop: 10 }
|
|
139
|
-
const styleId_1MtTdQ: any = { fontFamily: "Arial", fontSize: 10, color: LibStyle.colorRed }
|
|
140
|
-
const styleId_ZyfQmp: any = { flex: 1, flexDirection: 'row', alignItems: 'center' }
|
|
141
|
-
const styleId_Z1VmOL1: any = { alignItems: 'center', justifyContent: 'center', padding: 4, borderRadius: 5, borderWidth: 1, borderColor: '#999' }
|
|
142
|
-
const styleId_Z1ktOqN: any = { marginHorizontal: 15, fontFamily: 'Arial', fontSize: 16, fontWeight: 'bold' }
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
// withHooks
|
|
2
|
-
import { BigbangIndexProperty } from 'esoftplay/cache/bigbang/index/import';
|
|
3
|
-
import { BigbangTransaction } from 'esoftplay/cache/bigbang/transaction/import';
|
|
4
|
-
import { LibCurl } from 'esoftplay/cache/lib/curl/import';
|
|
5
|
-
import { LibDialog } from 'esoftplay/cache/lib/dialog/import';
|
|
6
|
-
import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
|
|
7
|
-
import { LibProgress } from 'esoftplay/cache/lib/progress/import';
|
|
8
|
-
import { LibScroll } from 'esoftplay/cache/lib/scroll/import';
|
|
9
|
-
import { LibStyle } from 'esoftplay/cache/lib/style/import';
|
|
10
|
-
import { LibUtils } from 'esoftplay/cache/lib/utils/import';
|
|
11
|
-
import { MartButton } from 'esoftplay/cache/mart/button/import';
|
|
12
|
-
import { MartCheckout_payment_methodArgs } from 'esoftplay/cache/mart/checkout_payment_method/import';
|
|
13
|
-
import { MartHeader } from 'esoftplay/cache/mart/header/import';
|
|
14
|
-
import { MartSection_title } from 'esoftplay/cache/mart/section_title/import';
|
|
15
|
-
import { UserProfileProperty } from 'esoftplay/cache/user/profile/import';
|
|
16
|
-
import esp from 'esoftplay/esp';
|
|
17
|
-
import useSafeState from 'esoftplay/state';
|
|
18
|
-
|
|
19
|
-
import React, { useEffect } from 'react';
|
|
20
|
-
import { Text, View } from 'react-native';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export interface MartDc_checkoutArgs {
|
|
24
|
-
cart_ids: string,
|
|
25
|
-
url: string,
|
|
26
|
-
shipping_address: any
|
|
27
|
-
}
|
|
28
|
-
export interface MartDc_checkoutProps {
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
export default function m(props: MartDc_checkoutProps): any {
|
|
32
|
-
const { url, cart_ids, shipping_address } = LibNavigation.getArgsAll(props)
|
|
33
|
-
const [data, setData] = useSafeState<any>()
|
|
34
|
-
const [total, setTotal] = useSafeState(0)
|
|
35
|
-
const [payMethod, setPayMethod] = useSafeState<any>({ title: esp.lang("mart/dc_checkout", "select_payment_methid"), method: '', charge: 0 })
|
|
36
|
-
const [address, setAddress] = useSafeState<any>(shipping_address || undefined)
|
|
37
|
-
const [trxId] = useSafeState(BigbangTransaction().getTrxId())
|
|
38
|
-
|
|
39
|
-
useEffect(() => {
|
|
40
|
-
LibProgress.show(esp.lang("mart/dc_checkout", "please_wait"))
|
|
41
|
-
new LibCurl(url, { cart_ids: cart_ids },
|
|
42
|
-
(res, msg) => {
|
|
43
|
-
setData(res)
|
|
44
|
-
setTotal(res.bill_total)
|
|
45
|
-
LibProgress.hide()
|
|
46
|
-
},
|
|
47
|
-
(msg) => {
|
|
48
|
-
LibProgress.hide()
|
|
49
|
-
LibDialog.warning(esp.lang("mart/dc_checkout", "error"), msg?.message)
|
|
50
|
-
}, 1
|
|
51
|
-
)
|
|
52
|
-
}, [])
|
|
53
|
-
|
|
54
|
-
function doCheckout(pin?: string) {
|
|
55
|
-
if (payMethod.id == 2 && !pin) {
|
|
56
|
-
LibNavigation.navigateForResult("bigbang/payment_pin", undefined, 1132).then((p) => {
|
|
57
|
-
if (p) {
|
|
58
|
-
doCheckout(p)
|
|
59
|
-
}
|
|
60
|
-
})
|
|
61
|
-
return
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
LibProgress.show(esp.lang("mart/dc_checkout", "being_proccesed"))
|
|
65
|
-
new LibCurl().secure('shop/get_token')()('mitra/dc_product_cart_order', {
|
|
66
|
-
cart_ids: cart_ids,
|
|
67
|
-
payment_id: payMethod.id,
|
|
68
|
-
pin: pin || '',
|
|
69
|
-
address_id: address.id,
|
|
70
|
-
trx_id: trxId,
|
|
71
|
-
}, (res, msg) => {
|
|
72
|
-
LibProgress.hide()
|
|
73
|
-
UserProfileProperty.update()
|
|
74
|
-
BigbangIndexProperty.setTab(0)
|
|
75
|
-
LibNavigation.reset()
|
|
76
|
-
LibNavigation.navigate('mart/account')
|
|
77
|
-
if (payMethod?.type == 4) {
|
|
78
|
-
LibNavigation.navigate('mart/dc_order', { status: 3 })
|
|
79
|
-
} else {
|
|
80
|
-
LibNavigation.navigate('mart/dc_order', { status: 1 })
|
|
81
|
-
}
|
|
82
|
-
LibNavigation.navigate('mart/dc_order_detail', { url: res.url })
|
|
83
|
-
},
|
|
84
|
-
(msg) => {
|
|
85
|
-
LibProgress.hide()
|
|
86
|
-
LibDialog.warning(esp.lang("mart/dc_checkout", "err"), msg?.message)
|
|
87
|
-
}, 1
|
|
88
|
-
)
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function selectPayMethod() {
|
|
92
|
-
LibNavigation.navigateForResult<MartCheckout_payment_methodArgs>("mart/checkout_payment_method", { payment: 'dc', price: total, id: payMethod?.id, fee: payMethod?.charge }).then(setPayMethod)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const renderCartData = (item: any, i: number) => (
|
|
96
|
-
<View key={i} style={{ marginTop: 15, marginHorizontal: 20, flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
97
|
-
<View style={{ flexDirection: 'row', alignItems: 'center' }} >
|
|
98
|
-
<View style={{ backgroundColor: 'white', padding: 10, borderWidth: 1, borderColor: '#e6e6e6', borderRadius: 4, marginRight: 10 }} >
|
|
99
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "left", color: "#04b4db" }} >{item?.qty + ' x'}</Text>
|
|
100
|
-
</View>
|
|
101
|
-
<View>
|
|
102
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{item?.product?.name}</Text>
|
|
103
|
-
<View style={{ marginTop: 5 }}>
|
|
104
|
-
<Text allowFontScaling={false} style={{ fontSize: 12, fontWeight: 'bold', color: '#707070' }} >{LibUtils.money(item?.product?.sale)}</Text>
|
|
105
|
-
{
|
|
106
|
-
Number(item?.product?.price) != Number(item?.product?.sale) &&
|
|
107
|
-
<Text allowFontScaling={false} style={{ color: LibStyle.colorRed, textDecorationLine: 'line-through', textDecorationStyle: 'solid', fontSize: 12 }} >{LibUtils.money(item?.product?.price)}</Text>
|
|
108
|
-
}
|
|
109
|
-
</View>
|
|
110
|
-
</View>
|
|
111
|
-
</View>
|
|
112
|
-
<Text allowFontScaling={false} style={{ fontFamily: "ArialBold", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "left", color: "#707070" }}>{LibUtils.money(item?.qty * item?.product?.sale)}</Text>
|
|
113
|
-
</View>
|
|
114
|
-
)
|
|
115
|
-
|
|
116
|
-
return (
|
|
117
|
-
<View style={{ flex: 1, backgroundColor: 'white' }} >
|
|
118
|
-
<MartHeader title={esp.lang("mart/dc_checkout", "dc")} subtitle={esp.lang("mart/dc_checkout", "complete_order")} leftIcon={{ name: "close", onPress: () => LibNavigation.back() }} />
|
|
119
|
-
<LibScroll>
|
|
120
|
-
<MartSection_title title={esp.lang("mart/dc_checkout", "delivered_to")} rightTitle={address ? esp.lang("mart/dc_checkout", "Change_Shipping_Address") : esp.lang("mart/dc_checkout", "Select_Shipping_Address")} onRightPress={() => {
|
|
121
|
-
LibNavigation.navigateForResult("market/address", undefined, 3213).then((e) => {
|
|
122
|
-
setAddress(e)
|
|
123
|
-
})
|
|
124
|
-
}} />
|
|
125
|
-
{
|
|
126
|
-
address && address.id &&
|
|
127
|
-
<View style={{ marginVertical: 15 }} >
|
|
128
|
-
<Text allowFontScaling={false} style={{ marginHorizontal: 20, fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 16, letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{address?.name}</Text>
|
|
129
|
-
<Text allowFontScaling={false} style={{ marginTop: 5, marginHorizontal: 20, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 16, letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{address?.recipient}</Text>
|
|
130
|
-
<Text allowFontScaling={false} style={{ marginTop: 5, marginHorizontal: 20, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", lineHeight: 16, letterSpacing: 0, textAlign: "left", color: "#707070" }}>{address?.address + '\n' + address?.location_name + '\n' + address?.phone}</Text>
|
|
131
|
-
</View>
|
|
132
|
-
||
|
|
133
|
-
<MartButton text={esp.lang("mart/dc_checkout", "Select_Shipping_Address")} buttonStyle={{ margin: 15 }} colorBorder="#707070" colorBackground='white' textStyle={{ color: '#707070', fontSize: 14 }} onPress={() => {
|
|
134
|
-
LibNavigation.navigateForResult("market/address", undefined, 3213).then((e) => {
|
|
135
|
-
setAddress(e)
|
|
136
|
-
})
|
|
137
|
-
}} />
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
<MartSection_title title={esp.lang("mart/dc_checkout", "order_detail")} onRightPress={() => { }} />
|
|
141
|
-
{
|
|
142
|
-
LibUtils.checkUndefined(data, 'cart_data.0') && data.cart_data.map(renderCartData)
|
|
143
|
-
}
|
|
144
|
-
{
|
|
145
|
-
payMethod.charge > 0 &&
|
|
146
|
-
<View style={{ marginTop: 15, marginHorizontal: 20, flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
147
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{esp.lang("mart/dc_checkout", "charge")}</Text>
|
|
148
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }}>{LibUtils.money(payMethod.charge)}</Text>
|
|
149
|
-
</View>
|
|
150
|
-
}
|
|
151
|
-
<View style={{ marginVertical: 15, marginHorizontal: 20, flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
152
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#03192a" }}>{esp.lang("mart/dc_checkout", "total_shopping")}</Text>
|
|
153
|
-
<Text allowFontScaling={false} style={{ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", lineHeight: 13, letterSpacing: 0, textAlign: "left", color: "#707070" }}>{LibUtils.money(total + Number(payMethod.charge || 0))}</Text>
|
|
154
|
-
</View>
|
|
155
|
-
<MartSection_title title={esp.lang("mart/dc_checkout", "payment_method")} rightTitle={payMethod.id ? esp.lang("mart/dc_checkout", "change_pay") : undefined} onRightPress={payMethod.id ? () => { selectPayMethod() } : undefined} />
|
|
156
|
-
{
|
|
157
|
-
payMethod?.id &&
|
|
158
|
-
<Text allowFontScaling={false} style={{ marginLeft: 20, marginTop: 10, fontFamily: "Arial", fontSize: 17, fontWeight: "bold", fontStyle: "normal", lineHeight: 20, letterSpacing: 0, textAlign: "left", color: LibStyle.colorBrown }}>{(payMethod?.method || '') + payMethod?.title}</Text>
|
|
159
|
-
||
|
|
160
|
-
<MartButton onPress={() => {
|
|
161
|
-
selectPayMethod()
|
|
162
|
-
}} text={esp.lang("mart/dc_checkout", "select_payment_method")}
|
|
163
|
-
colorBackground={LibStyle.colorPrimaryMart}
|
|
164
|
-
buttonStyle={{ marginHorizontal: 15, marginTop: 10 }} textStyle={{ fontSize: 16 }} />
|
|
165
|
-
}
|
|
166
|
-
</LibScroll>
|
|
167
|
-
{
|
|
168
|
-
payMethod.id && address &&
|
|
169
|
-
<MartButton onPress={() => {
|
|
170
|
-
doCheckout()
|
|
171
|
-
}} text={esp.lang("mart/dc_checkout", "order")} buttonStyle={{ marginHorizontal: 15, marginVertical: 10 }} />
|
|
172
|
-
}
|
|
173
|
-
</View>
|
|
174
|
-
)
|
|
175
|
-
}
|