esoftplay-event 0.0.2-d → 0.0.2-f

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.
@@ -64,6 +64,8 @@ export default function m(props: EventAdditional_inputProps): any {
64
64
 
65
65
  const [newData, setNewData] = useSafeState()
66
66
  const [, setIdx, getIdx] = useLazyState<number>()
67
+ const inputRefs = useRef<React.RefObject<EventInput_rectangle>[]>([]);
68
+
67
69
 
68
70
  useEffect(() => {
69
71
  if (Object.keys(itemAddition).length > 0) {
@@ -75,6 +77,12 @@ export default function m(props: EventAdditional_inputProps): any {
75
77
  return () => LibNavigation.cancelBackResult(LibNavigation.getResultKey(props))
76
78
  }, [])
77
79
 
80
+ useEffect(() => {
81
+ if (data?.additions?.length) {
82
+ inputRefs.current = data.additions.map((_, i: number) => inputRefs.current[i] || React.createRef<EventInput_rectangle>());
83
+ }
84
+ }, [data?.additions]);
85
+
78
86
  function save() {
79
87
  let stillEmpty1 = newData?.additions?.filter((item: any) => item.is_required == 1).filter((it: any) => (it.value?.length == 0 && !it.subvalue)).length > 0
80
88
  if (stillEmpty1) {
@@ -85,6 +93,7 @@ export default function m(props: EventAdditional_inputProps): any {
85
93
  }
86
94
  }
87
95
 
96
+
88
97
  function renderCatNew(item: any, i: number) {
89
98
  let values = newData?.additions?.[i]?.value
90
99
  let display_values = newData?.additions?.[i]?.display_value
@@ -109,11 +118,17 @@ export default function m(props: EventAdditional_inputProps): any {
109
118
  {
110
119
  item.type == 1 && // text field
111
120
  <EventInput_rectangle
121
+ ref={inputRefs.current[i]}
112
122
  placeholder={item.question}
123
+ returnKeyType='next'
113
124
  placeholderTextColor='#c9c9c9'
114
125
  style={{ borderRadius: 5, borderColor: '#c9c9c9' }}
115
126
  defaultValue={newData?.additions?.[i]?.value?.[0]}
116
127
  inputStyle={{ marginLeft: 0 }}
128
+ onSubmitEditing={() => {
129
+ const nextInput = inputRefs.current[i + 1];
130
+ nextInput?.current?.focus();
131
+ }}
117
132
  onChangeText={(text) => {
118
133
  let t = text?.length == 0 ? [] : [text]
119
134
  let updateValue = LibObject.set(newData, t)('additions', i, 'value')
@@ -443,6 +443,14 @@ export default function m(props: EventArtist_detailProps): any {
443
443
 
444
444
  }} key={i} style={{ overflow: 'hidden', margin: 15, marginBottom: 5, backgroundColor: '#fff', borderRadius: 10, ...LibStyle.elevation(2), borderWidth: 1, borderColor: selTic ? LibStyle.colorBlue : LibStyle.colorBgGrey }}>
445
445
  <View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 10, borderTopRightRadius: 10 }}>
446
+ {
447
+ item?.hasOwnProperty('label') && (item?.label != "" && item?.label != null) &&
448
+ <View style={applyStyle({ flexDirection: 'row' })}>
449
+ <View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item?.label_color, borderColor: item?.label_color, borderRadius: 3, padding: 2, paddingHorizontal: 5, opacity: 1 })}>
450
+ <Text allowFontScaling={false} style={{ fontSize: 10, fontStyle: "normal", letterSpacing: 0.5, color: EventOrder_itemProperty.textColor(item?.label_color), fontWeight: 'bold' }}>{item?.label}</Text>
451
+ </View>
452
+ </View>
453
+ }
446
454
  <View style={{ alignContent: 'center', alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }}>
447
455
  <EventHtmltext allowFontScaling={false} style={{ opacity: textOpacity, fontWeight: 'bold' }}>{item.type}</EventHtmltext>
448
456
  {
@@ -6,6 +6,7 @@ import { EventConfigProperty } from 'esoftplay/cache/event/config/import';
6
6
  import { EventCountdownProperty } from 'esoftplay/cache/event/countdown/import';
7
7
  import { EventHeader } from 'esoftplay/cache/event/header/import';
8
8
  import { EventIndexProperty } from 'esoftplay/cache/event/index/import';
9
+ import { EventOrder_itemProperty } from 'esoftplay/cache/event/order_item/import';
9
10
  import { EventShare } from 'esoftplay/cache/event/share/import';
10
11
  import { LibCarrousel } from 'esoftplay/cache/lib/carrousel/import';
11
12
  import { LibCurl } from 'esoftplay/cache/lib/curl/import';
@@ -476,6 +477,14 @@ export default function m(props: EventArtist_detail_multiProps): any {
476
477
  return (
477
478
  <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 }}>
478
479
  <View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 10, borderTopRightRadius: 10 }}>
480
+ {
481
+ item?.hasOwnProperty('label') && (item?.label != "" && item?.label != null) &&
482
+ <View style={applyStyle({ flexDirection: 'row' })}>
483
+ <View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item?.label_color, borderColor: item?.label_color, borderRadius: 3, padding: 2, paddingHorizontal: 5, opacity: 1 })}>
484
+ <Text allowFontScaling={false} style={{ fontSize: 10, fontStyle: "normal", letterSpacing: 0.5, color: EventOrder_itemProperty.textColor(item?.label_color), fontWeight: 'bold' }}>{item?.label}</Text>
485
+ </View>
486
+ </View>
487
+ }
479
488
  <View style={{ alignContent: 'center', alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }}>
480
489
  <Text allowFontScaling={false} style={{ opacity: textOpacity, fontWeight: 'bold' }}>{item.type}</Text>
481
490
  {
@@ -16,14 +16,15 @@ export interface EventButton_order_detailProps {
16
16
  title: string
17
17
  info?: string
18
18
  color: any,
19
- icon: any
19
+ icon: any,
20
+ disable?: boolean
20
21
  }
21
22
  export default function m(props: EventButton_order_detailProps): any {
22
23
  return (
23
24
  <TouchableOpacity onPress={props.onPress}>
24
25
  <View style={{ borderWidth: 1, borderColor: '#ccc', margin: 15, borderRadius: 7, marginBottom: 0, overflow: 'hidden', flexDirection: 'row' }}>
25
26
  <LibGradient
26
- colors={[props.color, props.color, "#f1f2f3",]}
27
+ colors={props.disable ? [LibStyle.colorBgGrey, LibStyle.colorBgGrey, "#f1f2f3"] : [props.color, props.color, "#f1f2f3",]}
27
28
  direction='left-to-right'
28
29
  style={{ margin: 3, borderRadius: 5, padding: 7, flex: 4, alignContent: 'center', justifyContent: 'center' }}
29
30
  >
@@ -33,7 +34,7 @@ export default function m(props: EventButton_order_detailProps): any {
33
34
  <Text allowFontScaling={false} numberOfLines={2} ellipsizeMode='tail' style={{ color: EventOrder_itemProperty.textColor(props?.color), fontSize: 12, fontWeight: 'normal' }}>{props?.info}</Text>
34
35
  }
35
36
  </LibGradient>
36
- <View style={{ flex: 1, margin: 3, borderRadius: 5, ...LibStyle.elevation(2), backgroundColor: props.color, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
37
+ <View style={{ flex: 1, margin: 3, borderRadius: 5, ...LibStyle.elevation(2), backgroundColor: props.disable ? LibStyle.colorBgGrey : props.color, justifyContent: 'center', alignContent: 'center', alignItems: 'center' }}>
37
38
  {/* <LibIcon name={"dice-multiple"} size={40} color={EventOrder_itemProperty.textColor(props.color)} style={{ opacity: 1 }} /> */}
38
39
  <LibIcon name={props.icon} size={35} color={EventOrder_itemProperty.textColor(props.color)} style={{ opacity: 1 }} />
39
40
  </View>
@@ -281,6 +281,7 @@ export default function m(props: EventOrder_detailProps): any {
281
281
  })
282
282
  }, (err: any) => {
283
283
  LibProgress.hide()
284
+ LibDialog.warning("Oops", err?.message)
284
285
  esp.log({ err });
285
286
  }, 1)
286
287
  }
@@ -444,16 +445,18 @@ export default function m(props: EventOrder_detailProps): any {
444
445
  </View>
445
446
  {/* </View> */}
446
447
  <UseCondition if={result?.show_ticket_status == 1 && result?.status == 1 || result?.status == 3 || result?.status == 6}>
447
- <Text allowFontScaling={false} style={{ fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, marginBottom: 12, color: "#484848" }}>
448
- {
449
- result?.qty_used == 0 ? esp.lang("event/order", "have_not_been_used")
450
- :
451
- result.kind_detail?.everyday_pass == 1 ?
452
- "(" + result?.qty_used_today + " " + esp.lang("event/order_detail", "used_today") + ")"
448
+ <View style={{ flex: 1, marginRight: LibStyle.width / 4 }}>
449
+ <Text allowFontScaling={false} style={{ fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, marginBottom: 12, color: "#484848" }}>
450
+ {
451
+ result?.qty_used == 0 ? esp.lang("event/order", "have_not_been_used")
453
452
  :
454
- "(" + result?.qty_used + " " + esp.lang("event/order_detail", "used") + ")"
455
- }
456
- </Text>
453
+ result.kind_detail?.everyday_pass == 1 ?
454
+ "(" + result?.qty_used_today + " " + esp.lang("event/order_detail", "used_today") + ")"
455
+ :
456
+ "(" + result?.qty_used + " " + esp.lang("event/order_detail", "used") + ")"
457
+ }
458
+ </Text>
459
+ </View>
457
460
  </UseCondition>
458
461
  {
459
462
  result?.qty_shared > 0 &&
@@ -904,6 +907,7 @@ export default function m(props: EventOrder_detailProps): any {
904
907
  getGroupAddon()?.list?.length > 0 && getGroupAddon()?.list?.map((item: any, i: number) => {
905
908
  return (
906
909
  <EventButton_order_detail
910
+ // disable
907
911
  key={i}
908
912
  color={result?.color}
909
913
  onPress={() => {
@@ -56,7 +56,7 @@ export default function m(props: EventOrder_detail_upgrade_paymentProps): any {
56
56
  }
57
57
 
58
58
  if (selectedTicket?.selected_ticket?.use_seat == 1) {
59
- post.seat_label = selectedTicket?.seat_label.join('|')
59
+ post.seat_label = selectedTicket?.seat_label?.join('|')
60
60
  }
61
61
 
62
62
  if (selectedTicket?.selected_ticket?.seat_autopick == 1) {
@@ -24,10 +24,10 @@ import { EventCountdown_event } from 'esoftplay/cache/event/countdown_event/impo
24
24
  import { EventFirebase_socket, EventFirebase_socketProperty } from 'esoftplay/cache/event/firebase_socket/import';
25
25
  import { EventHtmltext } from 'esoftplay/cache/event/htmltext/import';
26
26
  import { EventLoading_pageProperty } from 'esoftplay/cache/event/loading_page/import';
27
+ import { EventOrder_itemProperty } from 'esoftplay/cache/event/order_item/import';
27
28
  import { LibEffect } from 'esoftplay/cache/lib/effect/import';
28
29
  import { LibProgress } from 'esoftplay/cache/lib/progress/import';
29
30
  import { UseDeeplinkProperty } from 'esoftplay/cache/use/deeplink/import';
30
- import { UserClass } from 'esoftplay/cache/user/class/import';
31
31
  import esp from 'esoftplay/esp';
32
32
  import useLazyState from 'esoftplay/lazy';
33
33
  import useSafeState from 'esoftplay/state';
@@ -613,10 +613,10 @@ export default function m(props: EventTicket_listProps): any {
613
613
  }} key={i} style={{ overflow: 'hidden', margin: 15, marginBottom: 5, backgroundColor: '#fff', borderRadius: 5, borderWidth: 1.5, borderColor: selTic ? LibStyle.colorBlue : LibStyle.colorBgGrey }}>
614
614
  <View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 5, borderTopRightRadius: 5 }}>
615
615
  {
616
- esp.isDebug("") && UserClass.state().get()?.email == "bagus@fisip.net" &&
616
+ item?.hasOwnProperty('label') && (item?.label != "" && item?.label != null) &&
617
617
  <View style={applyStyle({ flexDirection: 'row' })}>
618
- <View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: LibStyle.colorGreen, borderColor: "#4cd964", borderRadius: 5, padding: 2, paddingHorizontal: 5, opacity: 1 })}>
619
- <Text allowFontScaling={false} style={{ fontSize: 10, fontStyle: "normal", letterSpacing: 0.5, color: '#fff', fontWeight: 'bold' }}>Disini kah boy</Text>
618
+ <View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item?.label_color, borderColor: item?.label_color, borderRadius: 3, padding: 2, paddingHorizontal: 5, opacity: 1 })}>
619
+ <Text allowFontScaling={false} style={{ fontSize: 10, fontStyle: "normal", letterSpacing: 0.5, color: EventOrder_itemProperty.textColor(item?.label_color), fontWeight: 'bold' }}>{item?.label}</Text>
620
620
  </View>
621
621
  </View>
622
622
  }
@@ -697,6 +697,14 @@ export default function m(props: EventTicket_list2Props): any {
697
697
 
698
698
  }} key={i} style={{ overflow: 'hidden', margin: 15, marginBottom: 5, marginTop: 10, backgroundColor: '#fff', borderRadius: 10, ...LibStyle.elevation(2), borderWidth: 1, borderColor: item.selected == 1 ? LibStyle.colorBlue : LibStyle.colorBgGrey }}>
699
699
  <View style={{ padding: 10, backgroundColor: '#f1f2f3', borderTopLeftRadius: 10, borderTopRightRadius: 10 }}>
700
+ {
701
+ item?.hasOwnProperty('label') && (item?.label != "" && item?.label != null) &&
702
+ <View style={applyStyle({ flexDirection: 'row' })}>
703
+ <View style={applyStyle({ alignContent: 'center', alignItems: 'center', justifyContent: 'center', borderWidth: 1, backgroundColor: item?.label_color, borderColor: item?.label_color, borderRadius: 3, padding: 2, paddingHorizontal: 5, opacity: 1 })}>
704
+ <Text allowFontScaling={false} style={{ fontSize: 10, fontStyle: "normal", letterSpacing: 0.5, color: EventOrder_itemProperty.textColor(item?.label_color), fontWeight: 'bold' }}>{item?.label}</Text>
705
+ </View>
706
+ </View>
707
+ }
700
708
  <View style={{ alignContent: 'center', alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }}>
701
709
  <View>
702
710
  <EventHtmltext allowFontScaling={false} style={{ opacity: textOpacity, fontWeight: 'bold' }}>{item.type}
@@ -136,7 +136,7 @@ export default function m(props: EventTms_idcardProps): any {
136
136
  <LibPicture source={result?.event?.image_idcard == "" ? esp.assets('white_idcard.png') : { uri: result?.event?.image_idcard }} style={{ width: width, height: height, resizeMode: 'contain' }} />
137
137
  <View style={{ position: 'absolute' }}>
138
138
  <LibPicture source={{ uri: selectedTicket?.user_image != '' ? decodeURIComponent(selectedTicket?.user_image) : 'https://www.w3schools.com/howto/img_avatar.png' }} style={{ marginBottom: photoMarginBot, marginTop: marginTop, height: photoHeight, width: photoWidth, alignSelf: 'center', resizeMode: 'cover', }} />
139
- <View style={{ padding: 10, marginTop: -10 }} >
139
+ <View style={{ padding: 10, marginTop: 5 }} >
140
140
  {/* view nama */}
141
141
  <View style={{ flexDirection: 'row' }} >
142
142
  <Text allowFontScaling={false} style={{ fontSize: 16, fontWeight: "bold", fontStyle: "normal", lineHeight: 22, letterSpacing: 0, color: "#4a4a4a", flex: 3 }} >{esp.lang("event/tms_idcard", "name")}</Text>
@@ -3,7 +3,18 @@ import { EventHeader } from 'esoftplay/cache/event/header/import';
3
3
  import { LibIcon } from 'esoftplay/cache/lib/icon/import';
4
4
  import { LibStyle } from 'esoftplay/cache/lib/style/import';
5
5
  import esp from 'esoftplay/esp';
6
+ import { useRef } from 'react';
6
7
 
8
+ import { applyStyle } from 'esoftplay';
9
+ import { EventButton } from 'esoftplay/cache/event/button/import';
10
+ import { EventOrder_status } from 'esoftplay/cache/event/order_status/import';
11
+ import { EventSection_menu } from 'esoftplay/cache/event/section_menu/import';
12
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation/import';
13
+ import { LibScroll } from 'esoftplay/cache/lib/scroll/import';
14
+ import { LibSlidingup } from 'esoftplay/cache/lib/slidingup/import';
15
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle/import';
16
+ import { LibUtils } from 'esoftplay/cache/lib/utils/import';
17
+ import useSafeState from 'esoftplay/state';
7
18
  import React from 'react';
8
19
  import { Pressable, ScrollView, Text, View } from 'react-native';
9
20
 
@@ -15,13 +26,39 @@ export interface EventToken_orderProps {
15
26
 
16
27
  }
17
28
  export default function m(props: EventToken_orderProps): any {
29
+
30
+ const allStatus = EventOrder_status()
31
+ const statusCode = LibNavigation.getArgs(props, 'status', esp.isDebug("filter") ? '0,1,2,3,4,5,6,7,10' : '1')
32
+ const [status, setStatus] = useSafeState(statusCode)
33
+ const [code, setCode] = useSafeState(statusCode)
34
+ const [selectedDate, setSelectedDate] = useSafeState({ date_start: '', date_end: '', id: 1, title: esp.lang("event/order", "all_date") })
35
+ const [selectedDateRange, setSelectedDateRange] = useSafeState({ date_start: LibUtils.moment().localeFormat("YYYY-MM-DD"), date_end: LibUtils.moment().localeFormat("YYYY-MM-DD") })
36
+
37
+ const statusRef = useRef<LibSlidingup>(null)
38
+
39
+
18
40
  return (
19
41
  <View style={{ flex: 1, backgroundColor: LibStyle.colorBgGrey }}>
20
42
  <EventHeader title='Riwayar Transaksi Token' />
43
+ <View style={{ minHeight: 50, }} >
44
+ <LibScroll
45
+ initialNumToRender={20}
46
+ horizontal
47
+ >
48
+ <View style={{ width: 10 }} />
49
+ <Pressable
50
+ onPress={() => { statusRef.current?.show() }}
51
+ style={applyStyle({ height: 30, marginVertical: 10, marginRight: 10, borderRadius: 12, backgroundColor: 'white', borderColor: '#ccc', borderWidth: 1, paddingHorizontal: 10, justifyContent: 'center', flexDirection: 'row', alignItems: 'center' })} >
52
+ <LibTextstyle textStyle='footnote' text={allStatus[allStatus.findIndex((x) => String(x.code) == status)]?.text || esp.lang("event/order", "all_statis")} style={applyStyle({ fontSize: 11, color: "#4E4E4E", marginRight: 5 })} />
53
+ <LibIcon name='chevron-down' style={applyStyle({ color: "#4E4E4E" })} />
54
+ </Pressable>
55
+ </LibScroll>
56
+ <EventSection_menu size='line' />
57
+ </View>
21
58
  <ScrollView>
22
59
  <Pressable onPress={() => {
23
60
 
24
- }} style={{ padding: 7, margin: 15, backgroundColor: '#fff', marginBottom: 0, borderRadius: 5, borderWidth: 1, borderColor: LibStyle.colorPrimary, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
61
+ }} style={{ padding: 7, margin: 15, marginTop: 10, backgroundColor: '#fff', marginBottom: 0, borderRadius: 5, borderWidth: 1, borderColor: LibStyle.colorPrimary, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
25
62
  <Text allowFontScaling={false} style={{ marginLeft: 8 }}>{esp.lang("event/order", "wawit")}</Text>
26
63
  <View style={{ flexDirection: 'row', alignItems: 'center' }}>
27
64
  {/* {
@@ -34,6 +71,33 @@ export default function m(props: EventToken_orderProps): any {
34
71
  </View>
35
72
  </Pressable>
36
73
  </ScrollView>
74
+ <LibSlidingup ref={statusRef} onChangeShow={(s) => { if (!s) setCode(status) }} >
75
+ <View style={applyStyle({ backgroundColor: 'white', paddingHorizontal: 17, borderTopLeftRadius: 10, borderTopRightRadius: 10, maxHeight: LibStyle.height * 0.9 })}>
76
+ <View style={applyStyle({ flexDirection: 'row', alignItems: 'center', marginTop: 15 })}>
77
+ <Pressable onPress={() => { statusRef.current?.hide() }} style={applyStyle({ marginRight: 10 })} >
78
+ <LibIcon name='close' />
79
+ </Pressable>
80
+ <LibTextstyle textStyle='footnote' text={esp.lang("event/order", "Transaction_Status")} style={applyStyle({ fontWeight: 'bold', fontSize: 14, color: "#4E4E4E" })} />
81
+ </View>
82
+ <ScrollView>
83
+ <Pressable onPress={() => { setCode('0,1,2,3,4,5,6,7,10') }} style={applyStyle({ flexDirection: 'row', alignItems: 'center', borderBottomWidth: 1, borderBottomColor: '#e6e6e6', paddingVertical: 12 })}>
84
+ <LibTextstyle textStyle='footnote' text={esp.lang("event/order", "All_Transaction_Status")} style={applyStyle({ flex: 1, fontWeight: 'bold', fontSize: 10, color: "#4E4E4E" })} />
85
+ <LibIcon.Ionicons name={code == '0,1,2,3,4,5,6,7,10' ? 'radio-button-on' : 'radio-button-off'} color={code == '0,1,2,3,4,5,6,7,10' ? LibStyle.colorPrimary : '#4E4E4E'} />
86
+ </Pressable>
87
+ {
88
+ allStatus?.filter((item: any) => item.publish == 1).map((it: any, i: number) => {
89
+ return (
90
+ <Pressable key={i} onPress={() => setCode(it.code)} style={applyStyle({ flexDirection: 'row', alignItems: 'center', borderBottomWidth: 1, borderBottomColor: '#e6e6e6', paddingVertical: 12 })}>
91
+ <LibTextstyle textStyle='footnote' text={it.text} style={applyStyle({ flex: 1, fontWeight: 'bold', fontSize: 10, color: "#4E4E4E" })} />
92
+ <LibIcon.Ionicons name={it.code == code ? 'radio-button-on' : 'radio-button-off'} color={it.code == code ? LibStyle.colorPrimary : '#4E4E4E'} />
93
+ </Pressable>
94
+ )
95
+ })
96
+ }
97
+ </ScrollView>
98
+ <EventButton label={esp.lang("event/order", "apply")} style={applyStyle({ fontSize: 14, marginVertical: 15 })} backgroundColor={LibStyle.colorPrimary} onPress={() => { setStatus(code); statusRef.current?.hide() }} />
99
+ </View>
100
+ </LibSlidingup>
37
101
  </View>
38
102
  )
39
103
  }
package/event/voucher.tsx CHANGED
@@ -34,7 +34,7 @@ export default function m(props: EventVoucherProps): any {
34
34
  let voucherCode = React.useRef<LibInput>(null)
35
35
 
36
36
  useEffect(() => {
37
- esp.isDebug("payment_voucher") && EventConfigProperty.curlConfig('payment_config')
37
+ EventConfigProperty.curlConfig('payment_config')
38
38
  return () => LibNavigation.cancelBackResult(LibNavigation.getResultKey(props))
39
39
  }, [])
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay-event",
3
- "version": "0.0.2-d",
3
+ "version": "0.0.2-f",
4
4
  "description": "event module on esoftplay framework",
5
5
  "main": "index.js",
6
6
  "scripts": {