@admin-layout/gluestack-ui-mobile 12.2.4-alpha.1 → 12.2.4-alpha.4
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/CHANGELOG.md +16 -8
- package/lib/components/ErrorBounday.js.map +1 -1
- package/lib/components/Fallback.js +11 -11
- package/lib/components/Fallback.js.map +1 -1
- package/lib/components/Layout/components/BottomTabBar.js +2 -2
- package/lib/components/Layout/components/BottomTabBar.js.map +1 -1
- package/lib/components/Layout/components/Sample.js.map +1 -1
- package/lib/components/ToastAlert.d.ts +1 -1
- package/lib/components/ToastAlert.js +2 -2
- package/lib/components/ToastAlert.js.map +1 -1
- package/lib/components/UnAuthenticatedComponent.js +1 -1
- package/lib/components/UnAuthenticatedComponent.js.map +1 -1
- package/lib/containers/layout/DrawerBottomNavigationConfig.d.ts +6 -6
- package/lib/containers/layout/DrawerConfig.d.ts +6 -6
- package/lib/containers/layout/ProLayout.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/generateMobileNavigations.js +7 -7
- package/lib/utils/generateMobileNavigations.js.map +1 -1
- package/package.json +4 -4
- package/src/components/ErrorBounday.tsx +19 -19
- package/src/components/Fallback.tsx +54 -58
- package/src/components/Layout/components/BottomTabBar.tsx +98 -99
- package/src/components/Layout/components/Sample.tsx +1 -1
- package/src/components/ToastAlert.tsx +11 -11
- package/src/components/UnAuthenticatedComponent.tsx +16 -26
- package/src/containers/layout/ProLayout.tsx +1 -1
- package/src/index.ts +1 -2
- package/src/utils/generateMobileNavigations.ts +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [12.2.4-alpha.4](https://github.com/CDEBase/admin-layout/compare/v12.2.4-alpha.3...v12.2.4-alpha.4) (2026-01-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
9
|
+
|
|
10
|
+
## [12.2.4-alpha.3](https://github.com/CDEBase/admin-layout/compare/v12.2.4-alpha.2...v12.2.4-alpha.3) (2025-12-24)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
13
|
+
|
|
6
14
|
## [12.2.4-alpha.1](https://github.com/CDEBase/admin-layout/compare/v12.2.4-alpha.0...v12.2.4-alpha.1) (2025-12-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
@@ -27,7 +35,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
35
|
|
|
28
36
|
### Bug Fixes
|
|
29
37
|
|
|
30
|
-
-
|
|
38
|
+
- refactored app error handler for mobile ([556ba7c](https://github.com/CDEBase/admin-layout/commit/556ba7c8452c50cc0dc6e3a1552aea6523e77d7c))
|
|
31
39
|
|
|
32
40
|
# [3.0.0-alpha.44](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.43...v3.0.0-alpha.44) (2023-02-04)
|
|
33
41
|
|
|
@@ -41,7 +49,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
41
49
|
|
|
42
50
|
### Bug Fixes
|
|
43
51
|
|
|
44
|
-
-
|
|
52
|
+
- trigger locationchange epic only on route change ([098a3d0](https://github.com/cdmbase/admin-layout/commit/098a3d092d562642c6adc7d20af1c8b7bfb9033d))
|
|
45
53
|
|
|
46
54
|
# [3.0.0-alpha.40](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.39...v3.0.0-alpha.40) (2023-01-26)
|
|
47
55
|
|
|
@@ -99,8 +107,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
99
107
|
|
|
100
108
|
### Bug Fixes
|
|
101
109
|
|
|
102
|
-
-
|
|
103
|
-
-
|
|
110
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdebase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
111
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdebase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
104
112
|
|
|
105
113
|
# [3.0.0-alpha.3](https://github.com/cdmbase/admin-layout/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2022-11-22)
|
|
106
114
|
|
|
@@ -110,12 +118,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
110
118
|
|
|
111
119
|
### Bug Fixes
|
|
112
120
|
|
|
113
|
-
-
|
|
114
|
-
-
|
|
121
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdmbase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
122
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdmbase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
115
123
|
|
|
116
124
|
# 3.0.0-alpha.0 (2022-11-09)
|
|
117
125
|
|
|
118
126
|
### Bug Fixes
|
|
119
127
|
|
|
120
|
-
-
|
|
121
|
-
-
|
|
128
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdmbase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
129
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdmbase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBounday.js","sourceRoot":"","sources":["../../src/components/ErrorBounday.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAQ5C,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAiD;
|
|
1
|
+
{"version":3,"file":"ErrorBounday.js","sourceRoot":"","sources":["../../src/components/ErrorBounday.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAQ5C,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAiD;IACtF,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAClD,CAAC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAY;QACxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IACrC,CAAC;IAED,iBAAiB,CAAC,KAAY;QAC1B,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;IAED,MAAM;QACF,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YACtB,OAAO,oBAAC,iBAAiB,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAc,GAAI,CAAC;QACnE,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC/B,CAAC;CACJ"}
|
|
@@ -2,51 +2,51 @@ import { navigationRef } from '@common-stack/client-react';
|
|
|
2
2
|
import { Button, ButtonText } from '@gluestack-ui/themed';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { StyleSheet } from 'react-native';
|
|
5
|
-
import { SafeAreaView, Text, View
|
|
5
|
+
import { SafeAreaView, Text, View } from 'react-native';
|
|
6
6
|
import { useDispatch } from 'react-redux';
|
|
7
7
|
export const FallbackComponent = (props) => {
|
|
8
8
|
const dispatch = useDispatch();
|
|
9
9
|
return (React.createElement(SafeAreaView, { style: styles.container },
|
|
10
10
|
React.createElement(View, { style: styles.content },
|
|
11
11
|
React.createElement(Text, { style: styles.title }, "Oops!"),
|
|
12
|
-
React.createElement(Text, { style: styles.subtitle },
|
|
12
|
+
React.createElement(Text, { style: styles.subtitle }, "There's an error"),
|
|
13
13
|
React.createElement(Text, { style: styles.error }, props?.error?.message),
|
|
14
|
-
React.createElement(Button, { style: styles.button, onPress: () => navigationRef.navigate(
|
|
14
|
+
React.createElement(Button, { style: styles.button, onPress: () => navigationRef.navigate('MainStack.Layout.Home') },
|
|
15
15
|
React.createElement(ButtonText, { style: styles.buttonText }, "Go to homepage")))));
|
|
16
16
|
};
|
|
17
17
|
const styles = StyleSheet.create({
|
|
18
18
|
container: {
|
|
19
19
|
backgroundColor: '#fafafa',
|
|
20
20
|
flex: 1,
|
|
21
|
-
justifyContent: 'center'
|
|
21
|
+
justifyContent: 'center',
|
|
22
22
|
},
|
|
23
23
|
content: {
|
|
24
|
-
marginHorizontal: 16
|
|
24
|
+
marginHorizontal: 16,
|
|
25
25
|
},
|
|
26
26
|
title: {
|
|
27
27
|
fontSize: 48,
|
|
28
28
|
fontWeight: '300',
|
|
29
29
|
paddingBottom: 16,
|
|
30
|
-
color: '#000'
|
|
30
|
+
color: '#000',
|
|
31
31
|
},
|
|
32
32
|
subtitle: {
|
|
33
33
|
fontSize: 32,
|
|
34
34
|
fontWeight: '800',
|
|
35
|
-
color: '#000'
|
|
35
|
+
color: '#000',
|
|
36
36
|
},
|
|
37
37
|
error: {
|
|
38
|
-
paddingVertical: 16
|
|
38
|
+
paddingVertical: 16,
|
|
39
39
|
},
|
|
40
40
|
button: {
|
|
41
41
|
backgroundColor: '#2196f3',
|
|
42
42
|
borderRadius: 50,
|
|
43
43
|
padding: 25,
|
|
44
|
-
height: 40
|
|
44
|
+
height: 40,
|
|
45
45
|
},
|
|
46
46
|
buttonText: {
|
|
47
47
|
color: '#fff',
|
|
48
48
|
fontWeight: '600',
|
|
49
|
-
textAlign: 'center'
|
|
50
|
-
}
|
|
49
|
+
textAlign: 'center',
|
|
50
|
+
},
|
|
51
51
|
});
|
|
52
52
|
//# sourceMappingURL=Fallback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/components/Fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/components/Fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAY,EAAE,EAAE;IAC9C,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,OAAO,CACH,oBAAC,YAAY,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS;QACjC,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,OAAO;YACvB,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,KAAK,YAAc;YACvC,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,IAAG,kBAAkB,CAAQ;YACzD,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAG,KAAK,EAAE,KAAK,EAAE,OAAO,CAAQ;YACzD,oBAAC,MAAM,IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,uBAAuB,CAAC;gBACxF,oBAAC,UAAU,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,qBAA6B,CAC5D,CACN,CACI,CAClB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,MAAM,GAAQ,UAAU,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE;QACP,eAAe,EAAE,SAAS;QAC1B,IAAI,EAAE,CAAC;QACP,cAAc,EAAE,QAAQ;KAC3B;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,EAAE;KACvB;IACD,KAAK,EAAE;QACH,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;QACjB,aAAa,EAAE,EAAE;QACjB,KAAK,EAAE,MAAM;KAChB;IACD,QAAQ,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;QACjB,KAAK,EAAE,MAAM;KAChB;IACD,KAAK,EAAE;QACH,eAAe,EAAE,EAAE;KACtB;IACD,MAAM,EAAE;QACJ,eAAe,EAAE,SAAS;QAC1B,YAAY,EAAE,EAAE;QAChB,OAAO,EAAE,EAAE;QACX,MAAM,EAAE,EAAE;KACb;IACD,UAAU,EAAE;QACR,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,QAAQ;KACtB;CACJ,CAAC,CAAC"}
|
|
@@ -43,7 +43,7 @@ export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
|
43
43
|
}
|
|
44
44
|
}, []);
|
|
45
45
|
return (React.createElement(SafeAreaView, null,
|
|
46
|
-
React.createElement(Box, { flexDirection: "row", width: "100%", alignSelf: "center", bg: '$white', borderTopWidth:
|
|
46
|
+
React.createElement(Box, { flexDirection: "row", width: "100%", alignSelf: "center", bg: '$white', borderTopWidth: '$1', borderTopColor: '#d3d3d3', py: '$4', ...tabBarProps }, appRoutes.map((route, index) => {
|
|
47
47
|
const options = route.options;
|
|
48
48
|
const label = options.tabBarLabel !== undefined
|
|
49
49
|
? options.tabBarLabel
|
|
@@ -72,7 +72,7 @@ export const BottomTabBar = ({ state, descriptors, navigation, ...props }) => {
|
|
|
72
72
|
// target: route.route.key,
|
|
73
73
|
// });
|
|
74
74
|
// };
|
|
75
|
-
return (React.createElement(Pressable, { key: index, opacity: isFocused ?
|
|
75
|
+
return (React.createElement(Pressable, { key: index, opacity: isFocused ? '$100' : '$50',
|
|
76
76
|
// pb="$8"
|
|
77
77
|
// pt={"$3"}
|
|
78
78
|
flex: 1, onPress: () => onPress(route, navigation, isFocused), onLongPress: () => onLongPress(route, navigation, isFocused), testID: options.tabBarTestID, accessibilityState: isFocused ? { selected: true } : {}, accessibilityLabel: options.tabBarAccessibilityLabel },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabBar.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BottomTabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"BottomTabBar.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/BottomTabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,KAAK,EAAO,EAAE,EAAE;IAC9E,MAAM,WAAW,GAAG,KAAK,EAAE,iBAAiB,IAAI,EAAE,CAAC;IACnD,MAAM,QAAQ,GAAG,WAAW,CAAM,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAQ,CAAC;IACpE,uCAAu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C,qBAAqB;gCAC/B,CAAC,CAAC,OAAO,CAAC,uBAAuB;4BACrC,IAAI,EAAE,EAAE;yBACX,CAAC;wBACJ,CAAC,CAAC,IAAI;oBAEV,oBAAC,IAAI,IACD,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,OAAO,CAAC,uBAAuB,EAClF,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,IAEtB,KAAK,CACH,CACF,CACD,CACf,CAAC;QACN,CAAC,CAAC,CACA,CACK,CAClB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sample.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/Sample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Sample.js","sourceRoot":"","sources":["../../../../src/components/Layout/components/Sample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAEjD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE;IACvB,OAAO,CACH,oBAAC,GAAG;QACA,oBAAC,IAAI,iBAAc,CACjB,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -8,5 +8,5 @@ interface IToast {
|
|
|
8
8
|
toast?: any;
|
|
9
9
|
variant?: any;
|
|
10
10
|
}
|
|
11
|
-
export declare const ToastAlert: ({ id, status, title, description, variant, isClosable, toast }: IToast) => React.JSX.Element;
|
|
11
|
+
export declare const ToastAlert: ({ id, status, title, description, variant, isClosable, toast, }: IToast) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Toast, VStack, ToastTitle, ToastDescription, Pressable, Icon, CloseIcon
|
|
2
|
+
import { Toast, VStack, ToastTitle, ToastDescription, Pressable, Icon, CloseIcon } from '@gluestack-ui/themed';
|
|
3
3
|
// variants:
|
|
4
4
|
// accent,
|
|
5
5
|
// solid,
|
|
6
6
|
// outline
|
|
7
|
-
export const ToastAlert = ({ id, status = 'info', title = '', description = '', variant = 'solid', isClosable, toast = null }) => {
|
|
7
|
+
export const ToastAlert = ({ id, status = 'info', title = '', description = '', variant = 'solid', isClosable, toast = null, }) => {
|
|
8
8
|
const toastId = 'toast-' + id;
|
|
9
9
|
const actionType = status || 'info';
|
|
10
10
|
return (React.createElement(Toast, { nativeID: toastId, variant: variant, action: actionType },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastAlert.js","sourceRoot":"","sources":["../../src/components/ToastAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"ToastAlert.js","sourceRoot":"","sources":["../../src/components/ToastAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAY/G,YAAY;AACZ,UAAU;AACV,SAAS;AACT,UAAU;AAEV,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACvB,EAAE,EACF,MAAM,GAAG,MAAM,EACf,KAAK,GAAG,EAAE,EACV,WAAW,GAAG,EAAE,EAChB,OAAO,GAAG,OAAO,EACjB,UAAU,EACV,KAAK,GAAG,IAAI,GACP,EAAE,EAAE;IACT,MAAM,OAAO,GAAG,QAAQ,GAAG,EAAE,CAAC;IAC9B,MAAM,UAAU,GAAG,MAAM,IAAI,MAAM,CAAC;IACpC,OAAO,CACH,oBAAC,KAAK,IAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU;QAC1D,oBAAC,MAAM,IAAC,KAAK,EAAC,IAAI;YACd,oBAAC,UAAU,QAAE,KAAK,CAAc;YAC/B,WAAW,IAAI,oBAAC,gBAAgB,QAAE,WAAW,CAAoB,CAC7D;QACR,UAAU,IAAI,KAAK,CAAC,CAAC,CAAC,CACnB,oBAAC,SAAS,IAAC,EAAE,EAAC,IAAI,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC;YAC9C,oBAAC,IAAI,IAAC,EAAE,EAAE,SAAS,EAAE,KAAK,EAAC,aAAa,GAAG,CACnC,CACf,CAAC,CAAC,CAAC,IAAI,CACJ,CACX,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Box, Button, Heading, Text, Divider, ButtonText, SafeAreaView
|
|
2
|
+
import { Box, Button, Heading, Text, Divider, ButtonText, SafeAreaView } from '@gluestack-ui/themed';
|
|
3
3
|
import { useNavigation } from '@react-navigation/native';
|
|
4
4
|
const UnAuthenticatedComponent = () => {
|
|
5
5
|
const navigation = useNavigation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnAuthenticatedComponent.js","sourceRoot":"","sources":["../../src/components/UnAuthenticatedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"UnAuthenticatedComponent.js","sourceRoot":"","sources":["../../src/components/UnAuthenticatedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAqB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxH,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAIzD,MAAM,wBAAwB,GAAG,GAAG,EAAE;IAClC,MAAM,UAAU,GAAG,aAAa,EAAO,CAAC;IACxC,OAAO,CACH,oBAAC,YAAY,IAAC,IAAI,EAAE,CAAC;QACjB,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc;YAE9D,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAC,QAAQ,EAAC,cAAc,EAAE,QAAQ;gBACvD,oBAAC,OAAO,IAAC,EAAE,EAAE,IAAI,YAAiB;gBAClC,oBAAC,IAAI,IAAC,QAAQ,EAAC,KAAK,EAAC,EAAE,EAAE,IAAI,0BAEtB;gBACP,oBAAC,MAAM,IAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAC,IAAI,EAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC;oBAC7F,oBAAC,UAAU,IAAC,KAAK,EAAC,QAAQ,YAAmB,CACxC;gBACT,oBAAC,OAAO,IAAC,EAAE,EAAE,IAAI,GAAI,CACnB,CACJ,CACK,CAClB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -186,7 +186,7 @@ export declare const appDrawerBottomNavigationConfig: {
|
|
|
186
186
|
beforeRemove: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "beforeRemove", true>;
|
|
187
187
|
}> | ((props: {
|
|
188
188
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
189
|
-
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
189
|
+
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>;
|
|
190
190
|
}) => Partial<{
|
|
191
191
|
drawerItemPress: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "drawerItemPress", true>;
|
|
192
192
|
transitionStart: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "transitionStart", unknown>;
|
|
@@ -201,10 +201,10 @@ export declare const appDrawerBottomNavigationConfig: {
|
|
|
201
201
|
}>);
|
|
202
202
|
screenOptions?: import("@react-navigation/drawer").DrawerNavigationOptions | ((props: {
|
|
203
203
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
204
|
-
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
204
|
+
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>;
|
|
205
205
|
theme: ReactNavigation.Theme;
|
|
206
206
|
}) => import("@react-navigation/drawer").DrawerNavigationOptions);
|
|
207
|
-
screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
207
|
+
screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>) => React.ReactElement;
|
|
208
208
|
UNSTABLE_router?: <Action extends Readonly<{
|
|
209
209
|
type: string;
|
|
210
210
|
payload?: object;
|
|
@@ -213,10 +213,10 @@ export declare const appDrawerBottomNavigationConfig: {
|
|
|
213
213
|
}>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
|
|
214
214
|
UNSTABLE_routeNamesChangeBehavior?: "firstMatch" | "lastUnhandled";
|
|
215
215
|
} & {
|
|
216
|
-
id:
|
|
216
|
+
id: string;
|
|
217
217
|
}>;
|
|
218
|
-
Group: React.ComponentType<import("@react-navigation/core").RouteGroupConfig<import("@react-navigation/routers").ParamListBase, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
219
|
-
Screen: <RouteName extends string>(_: import("@react-navigation/core").RouteConfig<import("@react-navigation/routers").ParamListBase, RouteName, import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationEventMap, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
218
|
+
Group: React.ComponentType<import("@react-navigation/core").RouteGroupConfig<import("@react-navigation/routers").ParamListBase, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>>;
|
|
219
|
+
Screen: <RouteName extends string>(_: import("@react-navigation/core").RouteConfig<import("@react-navigation/routers").ParamListBase, RouteName, import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationEventMap, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>) => null;
|
|
220
220
|
};
|
|
221
221
|
name: string;
|
|
222
222
|
props: {
|
|
@@ -186,7 +186,7 @@ export declare const appDrawerConfig: {
|
|
|
186
186
|
beforeRemove: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "beforeRemove", true>;
|
|
187
187
|
}> | ((props: {
|
|
188
188
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
189
|
-
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
189
|
+
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>;
|
|
190
190
|
}) => Partial<{
|
|
191
191
|
drawerItemPress: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "drawerItemPress", true>;
|
|
192
192
|
transitionStart: import("@react-navigation/core").EventListenerCallback<import("@react-navigation/drawer").DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>>, "transitionStart", unknown>;
|
|
@@ -201,10 +201,10 @@ export declare const appDrawerConfig: {
|
|
|
201
201
|
}>);
|
|
202
202
|
screenOptions?: import("@react-navigation/drawer").DrawerNavigationOptions | ((props: {
|
|
203
203
|
route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
|
|
204
|
-
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
204
|
+
navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>;
|
|
205
205
|
theme: ReactNavigation.Theme;
|
|
206
206
|
}) => import("@react-navigation/drawer").DrawerNavigationOptions);
|
|
207
|
-
screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
207
|
+
screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>) => React.ReactElement;
|
|
208
208
|
UNSTABLE_router?: <Action extends Readonly<{
|
|
209
209
|
type: string;
|
|
210
210
|
payload?: object;
|
|
@@ -213,10 +213,10 @@ export declare const appDrawerConfig: {
|
|
|
213
213
|
}>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
|
|
214
214
|
UNSTABLE_routeNamesChangeBehavior?: "firstMatch" | "lastUnhandled";
|
|
215
215
|
} & {
|
|
216
|
-
id:
|
|
216
|
+
id: string;
|
|
217
217
|
}>;
|
|
218
|
-
Group: React.ComponentType<import("@react-navigation/core").RouteGroupConfig<import("@react-navigation/routers").ParamListBase, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
219
|
-
Screen: <RouteName extends string>(_: import("@react-navigation/core").RouteConfig<import("@react-navigation/routers").ParamListBase, RouteName, import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationEventMap, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string,
|
|
218
|
+
Group: React.ComponentType<import("@react-navigation/core").RouteGroupConfig<import("@react-navigation/routers").ParamListBase, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>>;
|
|
219
|
+
Screen: <RouteName extends string>(_: import("@react-navigation/core").RouteConfig<import("@react-navigation/routers").ParamListBase, RouteName, import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>, import("@react-navigation/drawer").DrawerNavigationOptions, import("@react-navigation/drawer").DrawerNavigationEventMap, import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, string>>) => null;
|
|
220
220
|
};
|
|
221
221
|
name: string;
|
|
222
222
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProLayout.js","sourceRoot":"","sources":["../../../src/containers/layout/ProLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACxG,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,IAAI,WAAgB,CAAC;AACrB,IAAI,SAAc,CAAC;AAEnB,MAAM,SAAS,GAAkB,CAAC,KAAK,EAAE,EAAE;IACvC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAM,EAAE,CAAC,CAAC;IAC1D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACvD,SAAS,GAAG,SAAS,CAAC;IACtB,MAAM,
|
|
1
|
+
{"version":3,"file":"ProLayout.js","sourceRoot":"","sources":["../../../src/containers/layout/ProLayout.tsx"],"names":[],"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AAO,GAAG,WAAW,EAAE,uBAAuB,EAAE,IAAI,KAAK,CAAC,QAAQ,CAAC;IACvE,IAAI,gBAAgB,GAAG,WAAW,EAAE,oBAAoB,CAAC,GAAG,CAAC,IAAI,KAAK,EAAE,QAAQ,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAC5G,IAAI,CAAC,SAAS;QAAE,OAAO,gBAAgB,EAAE,CAAC;IAC1C,OAAO,CACH,oBAAC,aAAa;QACV,oBAAC,4BAA4B,IAAC,kBAAkB,EAAE,gBAAgB,EAAE,WAAW,EAAE,IAAI;YAChF,SAAS;YACV,oBAAC,UAAU,OAAG;YACd,oBAAC,uBAAuB,IAAC,OAAO,EAAE,OAAO,GAAI,CAClB,CACnB,CACnB,CAAC;AACN,CAAC,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAClE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,aAAa,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAsB,MAAM,0BAA0B,CAAC;AAChF,OAAO,OAAO,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,iBAAiB,MAAM,eAAe,CAAC;AAE9C,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAE9C,uDAAuD;AACvD,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,iDAAiD;AAEjD,OAAO,EACH,gBAAgB,EAEhB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,WAAW,EACX,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,OAAO,EACP,YAAY,GACf,CAAC;AAEF,eAAe,IAAI,OAAO,CAAC;IACvB,OAAO,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,iBAAiB,EAAE;IACzD,iBAAiB,EAAE;QACf,YAAY,EAAE,CAAC,cAAc,CAAC;KACjC;CACJ,CAAC,CAAC"}
|
|
@@ -381,7 +381,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
381
381
|
export default features;
|
|
382
382
|
`.replace(/,(\s*)$/, ''); // Removes trailing comma
|
|
383
383
|
// Use Prettier to format the code
|
|
384
|
-
classStructure = prettier.format(classStructure, { parser: 'babel' });
|
|
384
|
+
classStructure = await prettier.format(classStructure, { parser: 'babel' });
|
|
385
385
|
const appFeatures = importStatements + '\n' + classStructure;
|
|
386
386
|
return { appFeatures };
|
|
387
387
|
}
|
|
@@ -525,7 +525,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
525
525
|
export default features;
|
|
526
526
|
`.replace(/,(\s*)$/, ''); // Removes trailing comma
|
|
527
527
|
// Use Prettier to format the code
|
|
528
|
-
classStructure = prettier.format(classStructure, { parser: 'babel' });
|
|
528
|
+
classStructure = await prettier.format(classStructure, { parser: 'babel' });
|
|
529
529
|
const appFeatures = importStatements + '\n' + classStructure;
|
|
530
530
|
return { appFeatures };
|
|
531
531
|
}
|
|
@@ -589,7 +589,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
589
589
|
export default App;
|
|
590
590
|
`.replace(/,(\s*)$/, ''); // Removes trailing comma
|
|
591
591
|
// Use Prettier to format the code
|
|
592
|
-
classStructure = prettier.format(classStructure, { parser: 'babel' });
|
|
592
|
+
classStructure = await prettier.format(classStructure, { parser: 'babel' });
|
|
593
593
|
const appFeatures = importStatements + '\n' + classStructure;
|
|
594
594
|
return { appFeatures };
|
|
595
595
|
}
|
|
@@ -735,7 +735,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
735
735
|
}
|
|
736
736
|
stackNavigator = importStatements + '\n' + moduleRender;
|
|
737
737
|
let stackNavigation = stackNavigator;
|
|
738
|
-
stackNavigation = prettier.format(stackNavigation, { parser: 'babel' });
|
|
738
|
+
stackNavigation = await prettier.format(stackNavigation, { parser: 'babel' });
|
|
739
739
|
const stackDirName = path.dirname(stackDirPath);
|
|
740
740
|
try {
|
|
741
741
|
const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, stackDirName);
|
|
@@ -870,7 +870,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
870
870
|
moduleNavigation = importStatements + '\n' + moduleRender;
|
|
871
871
|
const drawerNavigator = moduleNavigation;
|
|
872
872
|
let drawerNavigation = drawerNavigator;
|
|
873
|
-
drawerNavigation = prettier.format(drawerNavigation, { parser: 'babel' });
|
|
873
|
+
drawerNavigation = await prettier.format(drawerNavigation, { parser: 'babel' });
|
|
874
874
|
const drawerDirName = path.dirname(drawerDirPath);
|
|
875
875
|
try {
|
|
876
876
|
const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, drawerDirName);
|
|
@@ -1083,7 +1083,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
1083
1083
|
moduleNavigation = importStatements + '\n' + moduleRender;
|
|
1084
1084
|
const bottomTabNavigator = moduleNavigation;
|
|
1085
1085
|
let bottomTabNavigation = bottomTabNavigator;
|
|
1086
|
-
bottomTabNavigation = prettier.format(bottomTabNavigation, { parser: 'babel' });
|
|
1086
|
+
bottomTabNavigation = await prettier.format(bottomTabNavigation, { parser: 'babel' });
|
|
1087
1087
|
const bottomDirName = path.dirname(bottomDirPath);
|
|
1088
1088
|
try {
|
|
1089
1089
|
const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, bottomDirName);
|
|
@@ -1482,7 +1482,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
|
|
|
1482
1482
|
export default AppNavigations;
|
|
1483
1483
|
`;
|
|
1484
1484
|
appNavigation = importStatements + '\n' + rootComponent + '\n' + appComponent;
|
|
1485
|
-
appNavigation = prettier.format(appNavigation, { parser: 'babel' });
|
|
1485
|
+
appNavigation = await prettier.format(appNavigation, { parser: 'babel' });
|
|
1486
1486
|
try {
|
|
1487
1487
|
await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_writeFile).call(this, navigationDirPath, appNavigation);
|
|
1488
1488
|
}
|