esoftplay-event 0.0.1-k → 0.0.1-l
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/config.json +1 -1
- package/event/artist_detail.tsx +2 -4
- package/event/artist_detailv2.tsx +1 -1
- package/event/button_order_detail.tsx +1 -0
- package/event/loading_page.tsx +4 -2
- package/event/order_detail.tsx +13 -9
- package/event/order_detail_upgrade.tsx +2 -8
- package/event/ticket_list.tsx +2 -8
- package/event/ticket_list2.tsx +1 -1
- package/id.json +1 -0
- package/package.json +1 -1
package/config.json
CHANGED
package/event/artist_detail.tsx
CHANGED
|
@@ -135,13 +135,11 @@ export default function m(props: EventArtist_detailProps): any {
|
|
|
135
135
|
subscribed: subscribed
|
|
136
136
|
})
|
|
137
137
|
} else {
|
|
138
|
-
LibNavigation.navigateForResult('event/
|
|
138
|
+
LibNavigation.navigateForResult('event/seat_map_new', {
|
|
139
139
|
url: 'event_seat',
|
|
140
140
|
dataTicket: dataPost,
|
|
141
141
|
}).then((value) => {
|
|
142
|
-
dataPost.
|
|
143
|
-
dataPost.column_id = value.column_id
|
|
144
|
-
dataPost.seat_name = value.seat_name
|
|
142
|
+
dataPost.seat_label = value.seat_label
|
|
145
143
|
|
|
146
144
|
if (data?.has_addition && data?.has_addition == 1) {
|
|
147
145
|
LibNavigation.navigateForResult('event/additional', { type_ticket: selectedTicket?.type, ondate: selectedTicket?.list?.ondate, event_id: data?.event_id, qty: qty, data: dataPost }, 221).then((additions) => {
|
|
@@ -34,6 +34,7 @@ export default function m(props: EventButton_order_detailProps): any {
|
|
|
34
34
|
}
|
|
35
35
|
</LibGradient>
|
|
36
36
|
<View style={{ flex: 1, margin: 3, borderRadius: 5, ...LibStyle.elevation(2), backgroundColor: props.color, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
|
|
37
|
+
{/* <LibIcon name={"dice-multiple"} size={40} color={EventOrder_itemProperty.textColor(props.color)} style={{ opacity: 1 }} /> */}
|
|
37
38
|
<LibIcon name={props.icon} size={40} color={EventOrder_itemProperty.textColor(props.color)} style={{ opacity: 1 }} />
|
|
38
39
|
</View>
|
|
39
40
|
</View>
|
package/event/loading_page.tsx
CHANGED
|
@@ -100,7 +100,8 @@ export default function m(props: EventLoading_pageProps): any {
|
|
|
100
100
|
loadingState.set(LibObject.unset(loadingState.get(), post.trx_id)())
|
|
101
101
|
const ticketNotAvailableCodes = ['EV034', 'EV036', 'EV038', 'EV039', 'EV040']
|
|
102
102
|
if (ticketNotAvailableCodes.includes(error.status_code)) {
|
|
103
|
-
LibNavigation.
|
|
103
|
+
LibNavigation.back()
|
|
104
|
+
// LibNavigation.navigate(post?.is_multi == 1 ? 'event/ticket_list2' : 'event/ticket_list')
|
|
104
105
|
}
|
|
105
106
|
if (error.status_code == 'EV033') {
|
|
106
107
|
LibDialog.custom(
|
|
@@ -153,7 +154,8 @@ export default function m(props: EventLoading_pageProps): any {
|
|
|
153
154
|
loadingState.set(LibObject.unset(loadingState.get(), post.trx_id)())
|
|
154
155
|
const ticketNotAvailableCodes = ['EV034', 'EV036', 'EV038', 'EV039', 'EV040']
|
|
155
156
|
if (ticketNotAvailableCodes.includes(error.status_code)) {
|
|
156
|
-
LibNavigation.
|
|
157
|
+
LibNavigation.back()
|
|
158
|
+
// LibNavigation.navigate(post?.is_multi == 1 ? 'event/ticket_list2' : 'event/ticket_list')
|
|
157
159
|
}
|
|
158
160
|
if (error.status_code == 'EV033') {
|
|
159
161
|
LibDialog.custom(
|
package/event/order_detail.tsx
CHANGED
|
@@ -510,13 +510,17 @@ export default function m(props: EventOrder_detailProps): any {
|
|
|
510
510
|
/>
|
|
511
511
|
|
|
512
512
|
<UseCondition if={result?.is_luckydraw && result?.is_luckydraw == 1}>
|
|
513
|
-
<
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
513
|
+
<EventButton_order_detail
|
|
514
|
+
color={"#FF6F61"}
|
|
515
|
+
onPress={() => {
|
|
516
|
+
LibNavigation.navigateForResult('event/order_lottery', { id: result?.id }).then(() => {
|
|
517
|
+
loadData()
|
|
518
|
+
})
|
|
519
|
+
}}
|
|
520
|
+
icon={'dice-multiple'}
|
|
521
|
+
title={esp.lang("event/order_detail", "join_lucky_draw")}
|
|
522
|
+
info={esp.lang("event/order_detail", "subtitle_lucky_draw")}
|
|
523
|
+
/>
|
|
520
524
|
</UseCondition>
|
|
521
525
|
|
|
522
526
|
<UseCondition if={result?.is_luckydraw && result?.is_luckydraw == 2}>
|
|
@@ -552,8 +556,8 @@ export default function m(props: EventOrder_detailProps): any {
|
|
|
552
556
|
loadDataAddons(item?.addons_id, item?.url)
|
|
553
557
|
}}
|
|
554
558
|
icon={'plus-circle'}
|
|
555
|
-
title={item.title}
|
|
556
|
-
info={item.info}
|
|
559
|
+
title={"item.title"}
|
|
560
|
+
info={"item.info"}
|
|
557
561
|
/>
|
|
558
562
|
)
|
|
559
563
|
})
|
|
@@ -139,18 +139,12 @@ export default function m(props: EventOrder_detail_upgradeProps): any {
|
|
|
139
139
|
<EventButton label={esp.lang("event/order_detail_upgrade", "btn_next")} onPress={() => {
|
|
140
140
|
if (selectedTicket) {
|
|
141
141
|
if (selectedTicket?.selected_ticket?.use_seat == 1 && selectedTicket?.selected_ticket?.seat_autopick == 0) {
|
|
142
|
-
LibNavigation.navigateForResult(
|
|
142
|
+
LibNavigation.navigateForResult('event/seat_map_new', {
|
|
143
143
|
url: 'event_seat',
|
|
144
144
|
dataTicket: selectedTicket
|
|
145
145
|
}).then((value) => {
|
|
146
146
|
let seatData: any = {}
|
|
147
|
-
|
|
148
|
-
seatData.seat_label = value?.seat_label
|
|
149
|
-
} else {
|
|
150
|
-
seatData.row_id = value?.row_id
|
|
151
|
-
seatData.column_id = value?.column_id
|
|
152
|
-
seatData.seat_name = value?.seat_name
|
|
153
|
-
}
|
|
147
|
+
seatData.seat_label = value?.seat_label
|
|
154
148
|
LibNavigation.navigate('event/order_detail_upgrade_payment', {
|
|
155
149
|
dataTicket: {
|
|
156
150
|
url_payment: result?.url_payment,
|
package/event/ticket_list.tsx
CHANGED
|
@@ -302,17 +302,11 @@ export default function m(props: EventTicket_listProps): any {
|
|
|
302
302
|
if (selectedTicket?.config && selectedTicket?.config?.seat_autopick == 1) {
|
|
303
303
|
checkAddition(dataPost)
|
|
304
304
|
} else {
|
|
305
|
-
LibNavigation.navigateForResult(
|
|
305
|
+
LibNavigation.navigateForResult('event/seat_map_new', {
|
|
306
306
|
url: 'event_seat',
|
|
307
307
|
dataTicket: dataPost,
|
|
308
308
|
}).then((value) => {
|
|
309
|
-
|
|
310
|
-
dataPost.seat_label = value.seat_label
|
|
311
|
-
} else {
|
|
312
|
-
dataPost.row_id = value.row_id
|
|
313
|
-
dataPost.column_id = value.column_id
|
|
314
|
-
dataPost.seat_name = value.seat_name
|
|
315
|
-
}
|
|
309
|
+
dataPost.seat_label = value.seat_label
|
|
316
310
|
checkAddition(dataPost)
|
|
317
311
|
})
|
|
318
312
|
}
|
package/event/ticket_list2.tsx
CHANGED
|
@@ -161,7 +161,7 @@ export default function m(props: EventTicket_list2Props): any {
|
|
|
161
161
|
const [ticketSeat, resetTicketSeat] = taskSeat((item: any) => new Promise((next) => {
|
|
162
162
|
if (item.use_seat == 1) {
|
|
163
163
|
if (item.adjacent_seats == 0) {
|
|
164
|
-
LibNavigation.navigateForResult(
|
|
164
|
+
LibNavigation.navigateForResult('event/seat_map_new', {
|
|
165
165
|
url: 'event_seat',
|
|
166
166
|
dataTicket: {
|
|
167
167
|
...dataEvent,
|
package/id.json
CHANGED
|
@@ -983,6 +983,7 @@
|
|
|
983
983
|
"share_title": "Informasi",
|
|
984
984
|
"shared": "Sudah dibagikan",
|
|
985
985
|
"subtitle_addons": "Biar pengalamanmu makin lengkap",
|
|
986
|
+
"subtitle_lucky_draw": "Hadiah seru menantimu, buruan ikutan!",
|
|
986
987
|
"success_copied": "Berhasil Disalin ",
|
|
987
988
|
"thanks": "Thank you for your suggestion!!",
|
|
988
989
|
"ticket": "TIKET ",
|