esoftplay 0.0.119-b → 0.0.119-e

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.
Files changed (69) hide show
  1. package/bin/router.js +77 -49
  2. package/global.ts +0 -2
  3. package/import_migrator.mjs +44 -0
  4. package/{modules/lib → libs}/worker.tsx +63 -75
  5. package/modules/lib/carrousel.tsx +4 -1
  6. package/modules/lib/carrousel_snap.tsx +3 -1
  7. package/modules/lib/collaps.tsx +2 -1
  8. package/modules/lib/{component.ts → component.tsx} +0 -0
  9. package/modules/lib/crypt.js +3 -1
  10. package/modules/lib/curl.ts +9 -1
  11. package/modules/lib/datepicker.tsx +6 -1
  12. package/modules/lib/dialog.tsx +8 -1
  13. package/modules/lib/direct_image.tsx +3 -1
  14. package/modules/lib/direct_text.tsx +3 -1
  15. package/modules/lib/document.ts +4 -1
  16. package/modules/lib/effect.tsx +3 -1
  17. package/modules/lib/gallery.tsx +5 -1
  18. package/modules/lib/icon.tsx +27 -22
  19. package/modules/lib/image.tsx +7 -1
  20. package/modules/lib/image_crop.tsx +8 -1
  21. package/modules/lib/image_multi.tsx +11 -2
  22. package/modules/lib/image_shadow.tsx +2 -1
  23. package/modules/lib/infinite.tsx +12 -2
  24. package/modules/lib/input.tsx +6 -1
  25. package/modules/lib/input_base.tsx +3 -1
  26. package/modules/lib/lazy.tsx +1 -1
  27. package/modules/lib/list.tsx +6 -2
  28. package/modules/lib/loading.tsx +3 -1
  29. package/modules/lib/locale.ts +2 -1
  30. package/modules/lib/navigation.ts +8 -2
  31. package/modules/lib/net_status.tsx +2 -2
  32. package/modules/lib/notification.ts +9 -1
  33. package/modules/lib/notify.ts +3 -1
  34. package/modules/lib/picture.tsx +5 -2
  35. package/modules/lib/progress.tsx +5 -1
  36. package/modules/lib/roll.tsx +6 -1
  37. package/modules/lib/scroll.tsx +2 -1
  38. package/modules/lib/scrollpicker.tsx +2 -1
  39. package/modules/lib/skeleton.tsx +3 -2
  40. package/modules/lib/slidingup.tsx +5 -1
  41. package/modules/lib/sociallogin.tsx +4 -2
  42. package/modules/lib/tabs.tsx +4 -1
  43. package/modules/lib/textstyle.tsx +2 -1
  44. package/modules/lib/theme.tsx +3 -2
  45. package/modules/lib/timepicker.tsx +3 -1
  46. package/modules/lib/toast.tsx +2 -1
  47. package/modules/lib/updater.tsx +8 -5
  48. package/modules/lib/utils.ts +2 -1
  49. package/modules/lib/version.tsx +9 -1
  50. package/modules/lib/video.tsx +3 -1
  51. package/modules/lib/webview.tsx +2 -1
  52. package/modules/lib/workloop.tsx +4 -1
  53. package/modules/use/connect.ts +2 -1
  54. package/modules/use/curl.ts +3 -1
  55. package/modules/use/deeplink.ts +4 -1
  56. package/modules/use/form.ts +1 -1
  57. package/modules/use/form_persist.ts +1 -2
  58. package/modules/user/class.ts +6 -2
  59. package/modules/user/data.ts +1 -2
  60. package/modules/user/hook.tsx +2 -1
  61. package/modules/user/index.tsx +20 -8
  62. package/modules/user/loading.tsx +1 -1
  63. package/modules/user/login.tsx +8 -5
  64. package/modules/user/notifbadge.tsx +3 -2
  65. package/modules/user/notification.tsx +8 -1
  66. package/modules/user/notification_item.tsx +3 -1
  67. package/modules/user/routes.ts +1 -1
  68. package/package.json +1 -1
  69. package/modules/lib/workview.tsx +0 -33
@@ -1,4 +1,12 @@
1
- import { esp, LibCrypt, LibNet_status, LibProgress, LibToastProperty, LibUtils } from 'esoftplay';
1
+
2
+ import { esp } from 'esoftplay';
3
+
4
+ import { LibCrypt } from 'esoftplay/cache/lib/crypt.import';
5
+ import { LibNet_status } from 'esoftplay/cache/lib/net_status.import';
6
+ import { LibProgress } from 'esoftplay/cache/lib/progress.import';
7
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast.import';
8
+ import { LibUtils } from 'esoftplay/cache/lib/utils.import';
9
+
2
10
  import { reportApiError } from "esoftplay/error";
3
11
  import Constants from 'expo-constants';
4
12
 
@@ -1,7 +1,12 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { useSafeState } from 'esoftplay';
4
+
5
+ import { LibLoading } from 'esoftplay/cache/lib/loading.import';
6
+ import { LibScrollpicker } from 'esoftplay/cache/lib/scrollpicker.import';
7
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
8
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast.import';
3
9
 
4
- import { LibLoading, LibScrollpicker, LibStyle, LibToastProperty, useSafeState } from 'esoftplay';
5
10
  import { LinearGradient } from 'expo-linear-gradient';
6
11
  import React, { useEffect, useRef } from 'react';
7
12
  import { Text, TouchableOpacity, View } from 'react-native';
@@ -1,6 +1,13 @@
1
1
  // noPage
2
+ import { useGlobalState } from 'esoftplay';
3
+
4
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
5
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
6
+ import { LibIconStyle } from 'esoftplay/cache/lib/icon.import';
7
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
8
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
9
+ import { LibTheme } from 'esoftplay/cache/lib/theme.import';
2
10
 
3
- import { LibComponent, LibIcon, LibIconStyle, LibStyle, LibTextstyle, LibTheme, useGlobalState } from 'esoftplay';
4
11
  import React from 'react';
5
12
  import { BackHandler, Keyboard, TouchableOpacity, View } from 'react-native';
6
13
 
@@ -1,6 +1,8 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+
4
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
5
 
3
- import { LibComponent } from 'esoftplay';
4
6
  import React from 'react';
5
7
  import { Image, Platform } from 'react-native';
6
8
 
@@ -1,6 +1,8 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+
4
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
5
 
3
- import { LibComponent } from 'esoftplay';
4
6
  import React from 'react';
5
7
  import { TextInput } from 'react-native';
6
8
 
@@ -1,6 +1,9 @@
1
1
  // noPage
2
+ import { esp } from 'esoftplay';
3
+
4
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
5
+ import { LibProgress } from 'esoftplay/cache/lib/progress.import';
2
6
 
3
- import { esp, LibCurl, LibProgress } from 'esoftplay';
4
7
  import * as DocumentPicker from 'expo-document-picker';
5
8
 
6
9
  export default class m {
@@ -1,6 +1,8 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+
4
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
5
 
3
- import { LibComponent } from 'esoftplay';
4
6
  import isEqual from 'react-fast-compare';
5
7
 
6
8
  export interface LibEffectProps {
@@ -1,6 +1,10 @@
1
1
  // withHooks
2
+ import { } from 'esoftplay';
3
+
4
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
5
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
6
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
2
7
 
3
- import { LibIcon, LibNavigation, LibStyle } from 'esoftplay';
4
8
  import React, { useRef } from 'react';
5
9
  import { Pressable, View } from 'react-native';
6
10
  import Gallery from 'react-native-awesome-gallery';
@@ -1,30 +1,35 @@
1
1
  // noPage
2
-
2
+ import { } from 'esoftplay';
3
+ import { AntDesign } from 'esoftplay/cache/ant/design.import';
4
+ import { EvilIcons } from 'esoftplay/cache/evil/icons.import';
5
+ import { FontAwesome } from 'esoftplay/cache/font/awesome.import';
6
+ import { MaterialCommunityIcons } from 'esoftplay/cache/material/community.import';
7
+ import { MaterialIcons } from 'esoftplay/cache/material/icons.import';
8
+ import { SimpleLineIcons } from 'esoftplay/cache/simple/line.import';
9
+ import { Zocial
10
+ } from '@expo/vector-icons';
3
11
  import {
4
- AntDesign, Entypo,
5
- EvilIcons,
6
- Feather,
7
- FontAwesome,
8
- Fontisto,
9
- Foundation, Ionicons, MaterialCommunityIcons, MaterialIcons,
10
- Octicons, SimpleLineIcons, Zocial
12
+ AntDesignTypes } from 'esoftplay/cache/zocial
11
13
  } from '@expo/vector-icons';
12
14
  import {
13
- AntDesignTypes,
14
- EntypoTypes,
15
- EvilIconsTypes,
16
- FeatherTypes,
17
- FontAwesomeTypes,
18
- FontistoTypes,
19
- FoundationTypes,
20
- IoniconsTypes,
21
- MaterialCommunityIconsTypes,
22
- MaterialIconsTypes,
23
- OcticonsTypes,
24
- SimpleLineIconsTypes,
25
- ZocialTypes
15
+ /ant.import';
16
+ import { EntypoTypes } from 'esoftplay/cache/entypo/types.import';
17
+ import { EvilIconsTypes } from 'esoftplay/cache/evil/icons.import';
18
+ import { FeatherTypes } from 'esoftplay/cache/feather/types.import';
19
+ import { FontAwesomeTypes } from 'esoftplay/cache/font/awesome.import';
20
+ import { FontistoTypes } from 'esoftplay/cache/fontisto/types.import';
21
+ import { FoundationTypes } from 'esoftplay/cache/foundation/types.import';
22
+ import { IoniconsTypes } from 'esoftplay/cache/ionicons/types.import';
23
+ import { MaterialCommunityIconsTypes } from 'esoftplay/cache/material/community.import';
24
+ import { MaterialIconsTypes } from 'esoftplay/cache/material/icons.import';
25
+ import { OcticonsTypes } from 'esoftplay/cache/octicons/types.import';
26
+ import { SimpleLineIconsTypes } from 'esoftplay/cache/simple/line.import';
27
+ import { ZocialTypes
26
28
  } from '@expo/vector-icons/build/esoftplay_icons';
27
- import { LibComponent } from 'esoftplay';
29
+ import { LibComponent } from 'esoftplay/cache/zocial/types
30
+ } from '@expo/vector-icons/build/esoftplay_icons';
31
+ import { .import';
32
+
28
33
  import React from 'react';
29
34
 
30
35
  export interface LibAntDesignIconProps {
@@ -1,6 +1,12 @@
1
1
  // noPage
2
+ import { esp, useGlobalState } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
5
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
6
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
7
+ import { LibProgress } from 'esoftplay/cache/lib/progress.import';
8
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
2
9
 
3
- import { esp, LibComponent, LibCurl, LibIcon, LibNavigation, LibProgress, LibStyle, useGlobalState } from 'esoftplay';
4
10
  import { Camera } from 'expo-camera';
5
11
  import * as ImageManipulator from 'expo-image-manipulator';
6
12
  import { SaveFormat } from 'expo-image-manipulator';
@@ -1,6 +1,13 @@
1
1
  // withHooks
2
+ import { useSafeState } from 'esoftplay';
3
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
4
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
5
+ import { LibProgress } from 'esoftplay/cache/lib/progress.import';
6
+ import { LibStatusbar } from 'esoftplay/cache/lib/statusbar.import';
7
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
8
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
9
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast.import';
2
10
 
3
- import { LibIcon, LibNavigation, LibProgress, LibStatusbar, LibStyle, LibTextstyle, LibToastProperty, useSafeState } from 'esoftplay';
4
11
  import * as ImageManipulator from "expo-image-manipulator";
5
12
  import React, { useEffect, useRef } from 'react';
6
13
  import { Dimensions, Image, Text, TouchableOpacity, View } from 'react-native';
@@ -1,7 +1,16 @@
1
1
  // withHooks
2
2
 
3
- // import { FlashList } from "@shopify/flash-list";
4
- import { LibIcon, LibLoading, LibNavigation, LibObject, LibStyle, LibTextstyle, useSafeState } from 'esoftplay';
3
+ //
4
+ import { useSafeState } from 'esoftplay';
5
+ import { FlashList } from "@shopify/flash-list";
6
+ import { LibIcon } from 'esoftplay/cache/flash/list } from "@shopify/flash-list";
7
+ import { .import';
8
+ import { LibLoading } from 'esoftplay/cache/lib/loading.import';
9
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
10
+ import { LibObject } from 'esoftplay/cache/lib/object.import';
11
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
12
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
13
+
5
14
  import * as MediaLibrary from 'expo-media-library';
6
15
  import React, { useEffect } from 'react';
7
16
  import { FlatList, Image, TouchableOpacity, View } from 'react-native';
@@ -1,6 +1,7 @@
1
1
  // withHooks
2
+ import { } from 'esoftplay';
3
+ import { LibPicture } from 'esoftplay/cache/lib/picture.import';
2
4
 
3
- import { LibPicture } from 'esoftplay';
4
5
  import { Image, ImageStyle, View } from 'react-native';
5
6
  export interface LibImage_shadowArgs {
6
7
 
@@ -1,7 +1,17 @@
1
1
  // noPage
2
2
 
3
- // import { FlashList } from "@shopify/flash-list";
4
- import { esp, LibComponent, LibCurl, LibListItemLayout, LibLoading, LibStyle, LibTextstyle } from 'esoftplay';
3
+ //
4
+ import { } from 'esoftplay';
5
+ import { FlashList } from "@shopify/flash-list";
6
+ import { esp } from 'esoftplay/cache/flash/list } from "@shopify/flash-list";
7
+ import { esp.import';
8
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
9
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
10
+ import { LibListItemLayout } from 'esoftplay/cache/lib/list.import';
11
+ import { LibLoading } from 'esoftplay/cache/lib/loading.import';
12
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
13
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
14
+
5
15
  import React from 'react';
6
16
  import isEqual from 'react-fast-compare';
7
17
  import { FlatList, View } from 'react-native';
@@ -1,5 +1,10 @@
1
1
  // noPage
2
- import { LibComponent, LibTextstyle, LibTheme, LibUtils } from 'esoftplay';
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
5
+ import { LibTheme } from 'esoftplay/cache/lib/theme.import';
6
+ import { LibUtils } from 'esoftplay/cache/lib/utils.import';
7
+
3
8
  import React from 'react';
4
9
  import { TextInput, View } from 'react-native';
5
10
 
@@ -1,7 +1,9 @@
1
1
  // useLibs
2
2
  // noPage
3
+ import { } from 'esoftplay';
4
+ import { LibInput_base_dataProperty } from 'esoftplay/cache/lib/input_base_data.import';
5
+ import { LibUtils } from 'esoftplay/cache/lib/utils.import';
3
6
 
4
- import { LibInput_base_dataProperty, LibUtils } from 'esoftplay';
5
7
  import React, { useEffect, useRef } from 'react';
6
8
  import { TextInput } from 'react-native';
7
9
 
@@ -1,7 +1,7 @@
1
1
  // withHooks
2
2
  // noPage
3
-
4
3
  import { useSafeState } from 'esoftplay';
4
+
5
5
  import { useEffect } from 'react';
6
6
  import { InteractionManager } from 'react-native';
7
7
 
@@ -1,8 +1,12 @@
1
1
  // noPage
2
2
 
3
3
 
4
- // import { FlashList } from "@shopify/flash-list";
5
- import { LibComponent } from "esoftplay";
4
+ //
5
+ import { } from 'esoftplay';
6
+ import { FlashList } from "@shopify/flash-list";
7
+ import { LibComponent } from 'esoftplay/cache/flash/list } from "@shopify/flash-list";
8
+ import { .import';
9
+
6
10
  import React from "react";
7
11
  import { FlatList, View } from 'react-native';
8
12
 
@@ -1,6 +1,8 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibTheme } from 'esoftplay/cache/lib/theme.import';
2
5
 
3
- import { LibComponent, LibTheme } from 'esoftplay';
4
6
  import React from 'react';
5
7
  import { ActivityIndicator, View } from 'react-native';
6
8
 
@@ -1,6 +1,7 @@
1
1
  // noPage
2
+ import { useGlobalReturn, useGlobalState } from 'esoftplay';
3
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
2
4
 
3
- import { LibNavigation, useGlobalReturn, useGlobalState } from 'esoftplay';
4
5
 
5
6
 
6
7
  const state = useGlobalState("id", { persistKey: 'lib_locale_lang' })
@@ -1,8 +1,14 @@
1
1
  //@ts-nocheck
2
2
  // noPage
3
+ import { } from 'esoftplay';
4
+ import { CommonActions } from 'esoftplay/cache/common/actions.import';
5
+ import { StackActions } from '@react-navigation/native';
6
+ import { esp } from 'esoftplay/cache/stack/actions } from '@react-navigation/native';
7
+ import { esp.import';
8
+ import { LibNavigationRoutes } from 'esoftplay/cache/lib/navigation.import';
9
+ import { UserClass } from 'esoftplay/cache/user/class.import';
10
+ import { UserRoutes } from 'esoftplay/cache/user/routes.import';
3
11
 
4
- import { CommonActions, StackActions } from '@react-navigation/native';
5
- import { esp, LibNavigationRoutes, UserClass, UserRoutes, _global } from 'esoftplay';
6
12
  import React from "react";
7
13
 
8
14
  export interface LibNavigationInjector {
@@ -1,7 +1,7 @@
1
1
  // noPage
2
+ import { useGlobalReturn, useGlobalState } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
4
 
3
- import NetInfo from '@react-native-community/netinfo';
4
- import { LibComponent, useGlobalReturn, useGlobalState } from "esoftplay";
5
5
  import React from "react";
6
6
  import { Animated, Text } from "react-native";
7
7
 
@@ -1,7 +1,15 @@
1
+
1
2
  import { useGlobalReturn } from 'esoftplay';
2
3
  // noPage
3
4
 
4
- import { esp, LibCrypt, LibCurl, LibNavigation, LibObject, useGlobalState, UserClass, UserNotification, _global } from "esoftplay";
5
+ import { esp, useGlobalState } from 'esoftplay';
6
+ import { LibCrypt } from 'esoftplay/cache/lib/crypt.import';
7
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
8
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
9
+ import { LibObject } from 'esoftplay/cache/lib/object.import';
10
+ import { UserClass } from 'esoftplay/cache/user/class.import';
11
+ import { UserNotification } from 'esoftplay/cache/user/notification.import';
12
+
5
13
  import { fastFilter } from "esoftplay/fast";
6
14
  import Constants from 'expo-constants';
7
15
  import * as Notifications from 'expo-notifications';
@@ -1,6 +1,8 @@
1
1
  // useLibs
2
+ import { useGlobalState } from 'esoftplay';
3
+ import { LibCrypt } from 'esoftplay/cache/lib/crypt.import';
4
+ import { LibObject } from 'esoftplay/cache/lib/object.import';
2
5
 
3
- import { LibCrypt, LibObject, useGlobalState } from 'esoftplay';
4
6
 
5
7
  export interface LibNotifyItem {
6
8
  to: string,
@@ -1,11 +1,14 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { esp, useSafeState } from 'esoftplay';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
5
+ import { LibWorkloop } from 'esoftplay/cache/lib/workloop.import';
3
6
 
4
- import { esp, LibStyle, LibWorker, LibWorkloop, useSafeState } from 'esoftplay';
5
7
  import * as FileSystem from 'expo-file-system';
6
8
  import { useLayoutEffect } from 'react';
7
9
  import { PixelRatio, Platform, View } from 'react-native';
8
10
  import FastImage from 'react-native-fast-image';
11
+ import Worker from '../../libs/worker';
9
12
  const sh = require("shorthash")
10
13
 
11
14
  export interface LibPictureSource {
@@ -36,7 +39,7 @@ const getCacheEntry = async (uri: string, toSize: number): Promise<{ exists: boo
36
39
  return { exists, path };
37
40
  };
38
41
 
39
- const fetchPicture = LibWorker?.registerJobAsync?.('lib_picture_fetch', (url: string, toSize: number) => {
42
+ const fetchPicture = Worker.registerJobAsync?.('lib_picture_fetch', (url: string, toSize: number) => {
40
43
  'show source';
41
44
  return new Promise((resolve, reject) => {
42
45
  fetch(url, { mode: 'cors' })
@@ -1,6 +1,10 @@
1
1
  // noPage
2
+ import { useGlobalState } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
5
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
6
+ import { LibTheme } from 'esoftplay/cache/lib/theme.import';
2
7
 
3
- import { LibComponent, LibStyle, LibTextstyle, LibTheme, useGlobalState } from 'esoftplay';
4
8
  import React from 'react';
5
9
  import { ActivityIndicator, BackHandler, View } from 'react-native';
6
10
 
@@ -1,6 +1,11 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
5
+ import { LibLoading } from 'esoftplay/cache/lib/loading.import';
6
+ import { LibScroll } from 'esoftplay/cache/lib/scroll.import';
7
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
2
8
 
3
- import { LibComponent, LibCurl, LibLoading, LibScroll, LibTextstyle } from 'esoftplay';
4
9
  import React from 'react';
5
10
  import { View } from 'react-native';
6
11
 
@@ -1,6 +1,7 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
4
 
3
- import { LibComponent } from "esoftplay";
4
5
  import React from "react";
5
6
  import { RefreshControl, ScrollView, View } from "react-native";
6
7
 
@@ -1,6 +1,7 @@
1
1
 
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
4
 
3
- import { LibComponent } from 'esoftplay';
4
5
  import React from 'react';
5
6
  import {
6
7
  Dimensions,
@@ -1,7 +1,8 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
2
5
 
3
- import MaskedView from '@react-native-masked-view/masked-view';
4
- import { LibComponent, LibStyle } from 'esoftplay';
5
6
  import { LinearGradient } from 'expo-linear-gradient';
6
7
  import React, { useEffect } from 'react';
7
8
  import { View } from 'react-native';
@@ -1,5 +1,9 @@
1
1
  // noPage
2
- import { LibComponent, LibKeyboard_avoid, LibStyle } from 'esoftplay';
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibKeyboard_avoid } from 'esoftplay/cache/lib/keyboard_avoid.import';
5
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
6
+
3
7
  import React from 'react';
4
8
  import { Animated, BackHandler, Keyboard, TouchableOpacity, View } from 'react-native';
5
9
 
@@ -1,7 +1,9 @@
1
1
  // noPage
2
+ import { esp } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
5
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
2
6
 
3
- import AsyncStorage from '@react-native-async-storage/async-storage';
4
- import { esp, LibComponent, LibNavigation, LibStyle } from "esoftplay";
5
7
  import React from "react";
6
8
  import { ActivityIndicator, View } from "react-native";
7
9
  import { WebView } from 'react-native-webview';
@@ -1,6 +1,9 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
5
+ import { LibUtils } from 'esoftplay/cache/lib/utils.import';
2
6
 
3
- import { LibComponent, LibStyle, LibUtils } from 'esoftplay';
4
7
  import React from 'react';
5
8
  import { ScrollView, View } from 'react-native';
6
9
  import { fastFilter } from '../../fast';
@@ -1,6 +1,7 @@
1
1
  // noPage
2
+ import { } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
2
4
 
3
- import { LibComponent } from "esoftplay";
4
5
  import React from "react";
5
6
  import { StyleSheet, Text } from "react-native";
6
7
 
@@ -1,7 +1,8 @@
1
1
  // noPage
2
+ import { esp, useGlobalState } from 'esoftplay';
3
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
2
5
 
3
- import AsyncStorage from '@react-native-async-storage/async-storage';
4
- import { esp, LibNavigation, LibStyle, useGlobalState } from 'esoftplay';
5
6
 
6
7
  const { colorPrimary, colorAccent } = LibStyle
7
8
 
@@ -1,7 +1,9 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { useSafeState } from 'esoftplay';
4
+ import { LibScrollpicker } from 'esoftplay/cache/lib/scrollpicker.import';
5
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
3
6
 
4
- import { LibScrollpicker, LibStyle, useSafeState } from 'esoftplay';
5
7
  import { LinearGradient } from 'expo-linear-gradient';
6
8
  import React, { useEffect, useRef } from 'react';
7
9
  import { Text, TouchableOpacity, View } from 'react-native';
@@ -1,7 +1,8 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { useGlobalState } from 'esoftplay';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
3
5
 
4
- import { LibStyle, useGlobalState } from 'esoftplay';
5
6
  import React, { useEffect } from 'react';
6
7
  import { Text } from 'react-native';
7
8
  import Animated, { interpolate, useAnimatedProps, useSharedValue, withTiming } from 'react-native-reanimated';
@@ -1,7 +1,10 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { esp } from 'esoftplay';
4
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
5
+ import { LibProgress } from 'esoftplay/cache/lib/progress.import';
6
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
3
7
 
4
- import { esp, LibIcon, LibProgress, LibStyle } from 'esoftplay';
5
8
  import Constants from 'expo-constants';
6
9
  import * as Updates from 'expo-updates';
7
10
  import React from 'react';
@@ -28,18 +31,18 @@ export function checkAlertInstall(): void {
28
31
  check((isNew) => { if (isNew) alertInstall() })
29
32
  }
30
33
 
31
- export function check(callback: (isNew: boolean) => void): void {
34
+ export function check(callback?: (isNew: boolean) => void): void {
32
35
  if (__DEV__) {
33
- callback(false)
36
+ callback?.(false)
34
37
  return
35
38
  }
36
39
  Updates.checkForUpdateAsync().then(({ isAvailable }) => {
37
40
  if (!isAvailable) {
38
- callback(false)
41
+ callback?.(false)
39
42
  LibProgress.hide()
40
43
  } else {
41
44
  Updates.fetchUpdateAsync().then(({ isNew }) => {
42
- callback(isNew)
45
+ callback?.(isNew)
43
46
  }).catch((e) => {
44
47
  LibProgress.hide()
45
48
  })
@@ -1,6 +1,7 @@
1
1
  // noPage
2
+ import { createCache, esp } from 'esoftplay';
3
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast.import';
2
4
 
3
- import { createCache, esp, LibToastProperty } from "esoftplay";
4
5
  import * as Clipboard from 'expo-clipboard';
5
6
  import { Linking, Platform, Share } from "react-native";
6
7
  import shorthash from "shorthash";
@@ -1,5 +1,13 @@
1
1
 
2
- import { esp, LibComponent, LibCurl, LibDialog, LibIcon, LibNavigation, LibStyle, LibTextstyle } from 'esoftplay';
2
+ import { esp } from 'esoftplay';
3
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
4
+ import { LibCurl } from 'esoftplay/cache/lib/curl.import';
5
+ import { LibDialog } from 'esoftplay/cache/lib/dialog.import';
6
+ import { LibIcon } from 'esoftplay/cache/lib/icon.import';
7
+ import { LibNavigation } from 'esoftplay/cache/lib/navigation.import';
8
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
9
+ import { LibTextstyle } from 'esoftplay/cache/lib/textstyle.import';
10
+
3
11
  import Constants from 'expo-constants';
4
12
  import React from 'react';
5
13
  import { BackHandler, ImageBackground, Linking, Platform, TouchableOpacity } from 'react-native';
@@ -1,7 +1,9 @@
1
1
  // withHooks
2
2
  // noPage
3
+ import { } from 'esoftplay';
4
+ import { LibStyle } from 'esoftplay/cache/lib/style.import';
5
+ import { LibToastProperty } from 'esoftplay/cache/lib/toast.import';
3
6
 
4
- import { LibStyle, LibToastProperty } from 'esoftplay';
5
7
  import React from 'react';
6
8
  import { ActivityIndicator, StyleSheet, View } from 'react-native';
7
9
  import { WebView } from 'react-native-webview';
@@ -1,7 +1,8 @@
1
1
  /* */
2
2
  // noPage
3
+ import { esp } from 'esoftplay';
4
+ import { LibComponent } from 'esoftplay/cache/lib/component.import';
3
5
 
4
- import { esp, LibComponent } from "esoftplay";
5
6
  import React from "react";
6
7
  import { Animated, Dimensions, Linking, Platform } from "react-native";
7
8
  import { WebView } from 'react-native-webview';