@admin-layout/gluestack-ui-mobile 11.0.4-alpha.4 → 12.0.16-alpha.0

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 (180) hide show
  1. package/CHANGELOG.md +63 -13
  2. package/lib/components/AuthWrapper.js +5 -3
  3. package/lib/components/AuthWrapper.js.map +1 -1
  4. package/lib/components/WithConfiguration.js +1 -1
  5. package/lib/components/WithConfiguration.js.map +1 -1
  6. package/lib/components/ui/accordion/index.web.d.ts +209 -0
  7. package/lib/components/ui/accordion/index.web.js +156 -0
  8. package/lib/components/ui/accordion/index.web.js.map +1 -0
  9. package/lib/components/ui/actionsheet/index.web.d.ts +872 -0
  10. package/lib/components/ui/actionsheet/index.web.js +286 -0
  11. package/lib/components/ui/actionsheet/index.web.js.map +1 -0
  12. package/lib/components/ui/alert/index.web.d.ts +135 -0
  13. package/lib/components/ui/alert/index.web.js +38 -0
  14. package/lib/components/ui/alert/index.web.js.map +1 -0
  15. package/lib/components/ui/alert-dialog/index.web.d.ts +64 -0
  16. package/lib/components/ui/alert-dialog/index.web.js +139 -0
  17. package/lib/components/ui/alert-dialog/index.web.js.map +1 -0
  18. package/lib/components/ui/avatar/index.web.d.ts +21 -0
  19. package/lib/components/ui/avatar/index.web.js +92 -0
  20. package/lib/components/ui/avatar/index.web.js.map +1 -0
  21. package/lib/components/ui/badge/index.web.d.ts +382 -0
  22. package/lib/components/ui/badge/index.web.js +138 -0
  23. package/lib/components/ui/badge/index.web.js.map +1 -0
  24. package/lib/components/ui/button/index.web.d.ts +247 -0
  25. package/lib/components/ui/button/index.web.js +57 -0
  26. package/lib/components/ui/button/index.web.js.map +1 -0
  27. package/lib/components/ui/checkbox/index.web.d.ts +265 -0
  28. package/lib/components/ui/checkbox/index.web.js +77 -0
  29. package/lib/components/ui/checkbox/index.web.js.map +1 -0
  30. package/lib/components/ui/divider/index.web.d.ts +53 -0
  31. package/lib/components/ui/divider/index.web.js +21 -0
  32. package/lib/components/ui/divider/index.web.js.map +1 -0
  33. package/lib/components/ui/drawer/index.web.d.ts +174 -0
  34. package/lib/components/ui/drawer/index.web.js +65 -0
  35. package/lib/components/ui/drawer/index.web.js.map +1 -0
  36. package/lib/components/ui/fab/index.web.d.ts +520 -0
  37. package/lib/components/ui/fab/index.web.js +146 -0
  38. package/lib/components/ui/fab/index.web.js.map +1 -0
  39. package/lib/components/ui/flat-list/index.web.d.ts +21 -0
  40. package/lib/components/ui/flat-list/index.web.js +41 -0
  41. package/lib/components/ui/flat-list/index.web.js.map +1 -0
  42. package/lib/components/ui/form-control/index.web.d.ts +2071 -0
  43. package/lib/components/ui/form-control/index.web.js +290 -0
  44. package/lib/components/ui/form-control/index.web.js.map +1 -0
  45. package/lib/components/ui/image/index.web.d.ts +142 -0
  46. package/lib/components/ui/image/index.web.js +29 -0
  47. package/lib/components/ui/image/index.web.js.map +1 -0
  48. package/lib/components/ui/image-background/index.web.d.ts +8 -0
  49. package/lib/components/ui/image-background/index.web.js +23 -0
  50. package/lib/components/ui/image-background/index.web.js.map +1 -0
  51. package/lib/components/ui/input/index.web.d.ts +163 -0
  52. package/lib/components/ui/input/index.web.js +50 -0
  53. package/lib/components/ui/input/index.web.js.map +1 -0
  54. package/lib/components/ui/input-accessory-view/index.web.d.ts +9 -0
  55. package/lib/components/ui/input-accessory-view/index.web.js +16 -0
  56. package/lib/components/ui/input-accessory-view/index.web.js.map +1 -0
  57. package/lib/components/ui/keyboard-avoiding-view/index.web.d.ts +9 -0
  58. package/lib/components/ui/keyboard-avoiding-view/index.web.js +8 -0
  59. package/lib/components/ui/keyboard-avoiding-view/index.web.js.map +1 -0
  60. package/lib/components/ui/link/index.web.d.ts +365 -0
  61. package/lib/components/ui/link/index.web.js +70 -0
  62. package/lib/components/ui/link/index.web.js.map +1 -0
  63. package/lib/components/ui/menu/index.web.d.ts +142 -0
  64. package/lib/components/ui/menu/index.web.js +83 -0
  65. package/lib/components/ui/menu/index.web.js.map +1 -0
  66. package/lib/components/ui/modal/index.web.d.ts +111 -0
  67. package/lib/components/ui/modal/index.web.js +58 -0
  68. package/lib/components/ui/modal/index.web.js.map +1 -0
  69. package/lib/components/ui/popover/index.web.d.ts +309 -0
  70. package/lib/components/ui/popover/index.web.js +184 -0
  71. package/lib/components/ui/popover/index.web.js.map +1 -0
  72. package/lib/components/ui/portal/index.web.d.ts +9 -0
  73. package/lib/components/ui/portal/index.web.js +16 -0
  74. package/lib/components/ui/portal/index.web.js.map +1 -0
  75. package/lib/components/ui/pressable/index.web.d.ts +8 -0
  76. package/lib/components/ui/pressable/index.web.js +44 -0
  77. package/lib/components/ui/pressable/index.web.js.map +1 -0
  78. package/lib/components/ui/progress/index.web.d.ts +237 -0
  79. package/lib/components/ui/progress/index.web.js +73 -0
  80. package/lib/components/ui/progress/index.web.js.map +1 -0
  81. package/lib/components/ui/radio/index.web.d.ts +224 -0
  82. package/lib/components/ui/radio/index.web.js +69 -0
  83. package/lib/components/ui/radio/index.web.js.map +1 -0
  84. package/lib/components/ui/refresh-control/index.web.d.ts +14 -0
  85. package/lib/components/ui/refresh-control/index.web.js +69 -0
  86. package/lib/components/ui/refresh-control/index.web.js.map +1 -0
  87. package/lib/components/ui/safe-area-view/index.web.d.ts +6 -0
  88. package/lib/components/ui/safe-area-view/index.web.js +10 -0
  89. package/lib/components/ui/safe-area-view/index.web.js.map +1 -0
  90. package/lib/components/ui/scroll-view/index.web.d.ts +44 -0
  91. package/lib/components/ui/scroll-view/index.web.js +41 -0
  92. package/lib/components/ui/scroll-view/index.web.js.map +1 -0
  93. package/lib/components/ui/section-list/index.web.d.ts +26 -0
  94. package/lib/components/ui/section-list/index.web.js +35 -0
  95. package/lib/components/ui/section-list/index.web.js.map +1 -0
  96. package/lib/components/ui/select/index.web.d.ts +162 -0
  97. package/lib/components/ui/select/index.web.js +51 -0
  98. package/lib/components/ui/select/index.web.js.map +1 -0
  99. package/lib/components/ui/slider/index.web.d.ts +223 -0
  100. package/lib/components/ui/slider/index.web.js +189 -0
  101. package/lib/components/ui/slider/index.web.js.map +1 -0
  102. package/lib/components/ui/spinner/index.web.d.ts +176 -0
  103. package/lib/components/ui/spinner/index.web.js +55 -0
  104. package/lib/components/ui/spinner/index.web.js.map +1 -0
  105. package/lib/components/ui/status-bar/index.web.d.ts +14 -0
  106. package/lib/components/ui/status-bar/index.web.js +7 -0
  107. package/lib/components/ui/status-bar/index.web.js.map +1 -0
  108. package/lib/components/ui/switch/index.web.d.ts +71 -0
  109. package/lib/components/ui/switch/index.web.js +27 -0
  110. package/lib/components/ui/switch/index.web.js.map +1 -0
  111. package/lib/components/ui/tabs/index.web.d.ts +351 -0
  112. package/lib/components/ui/tabs/index.web.js +120 -0
  113. package/lib/components/ui/tabs/index.web.js.map +1 -0
  114. package/lib/components/ui/textarea/index.web.d.ts +162 -0
  115. package/lib/components/ui/textarea/index.web.js +50 -0
  116. package/lib/components/ui/textarea/index.web.js.map +1 -0
  117. package/lib/components/ui/toast/index.web.d.ts +225 -0
  118. package/lib/components/ui/toast/index.web.js +80 -0
  119. package/lib/components/ui/toast/index.web.js.map +1 -0
  120. package/lib/components/ui/tooltip/index.web.d.ts +86 -0
  121. package/lib/components/ui/tooltip/index.web.js +110 -0
  122. package/lib/components/ui/tooltip/index.web.js.map +1 -0
  123. package/lib/components/ui/view/index.web.d.ts +2 -0
  124. package/lib/components/ui/view/index.web.js +7 -0
  125. package/lib/components/ui/view/index.web.js.map +1 -0
  126. package/lib/components/ui/virtualized-list/index.web.d.ts +19 -0
  127. package/lib/components/ui/virtualized-list/index.web.js +30 -0
  128. package/lib/components/ui/virtualized-list/index.web.js.map +1 -0
  129. package/lib/containers/layout/DrawerBottomNavigationConfig.d.ts +47 -47
  130. package/lib/containers/layout/DrawerConfig.d.ts +31 -31
  131. package/lib/interfaces/settings.d.ts +1 -0
  132. package/lib/redux/settings.d.ts +4 -9
  133. package/lib/utils/generateMobileNavigations.js +8 -8
  134. package/lib/utils/generateMobileNavigations.js.map +1 -1
  135. package/package.json +8 -4
  136. package/src/components/AuthWrapper.tsx +6 -3
  137. package/src/components/WithConfiguration.tsx +1 -1
  138. package/src/components/ui/accordion/index.web.tsx +294 -0
  139. package/src/components/ui/actionsheet/index.web.tsx +555 -0
  140. package/src/components/ui/alert/index.web.tsx +71 -0
  141. package/src/components/ui/alert-dialog/index.web.tsx +241 -0
  142. package/src/components/ui/avatar/index.web.tsx +150 -0
  143. package/src/components/ui/badge/index.web.tsx +188 -0
  144. package/src/components/ui/button/index.web.tsx +86 -0
  145. package/src/components/ui/checkbox/index.web.tsx +151 -0
  146. package/src/components/ui/divider/index.web.tsx +37 -0
  147. package/src/components/ui/drawer/index.web.tsx +144 -0
  148. package/src/components/ui/fab/index.web.tsx +201 -0
  149. package/src/components/ui/flat-list/index.web.tsx +89 -0
  150. package/src/components/ui/form-control/index.web.tsx +451 -0
  151. package/src/components/ui/image/index.web.tsx +43 -0
  152. package/src/components/ui/image-background/index.web.tsx +43 -0
  153. package/src/components/ui/input/index.web.tsx +80 -0
  154. package/src/components/ui/input-accessory-view/index.web.tsx +31 -0
  155. package/src/components/ui/keyboard-avoiding-view/index.web.tsx +23 -0
  156. package/src/components/ui/link/index.web.tsx +103 -0
  157. package/src/components/ui/menu/index.web.tsx +159 -0
  158. package/src/components/ui/modal/index.web.tsx +135 -0
  159. package/src/components/ui/popover/index.web.tsx +326 -0
  160. package/src/components/ui/portal/index.web.tsx +34 -0
  161. package/src/components/ui/pressable/index.web.tsx +73 -0
  162. package/src/components/ui/progress/index.web.tsx +123 -0
  163. package/src/components/ui/radio/index.web.tsx +130 -0
  164. package/src/components/ui/refresh-control/index.web.tsx +104 -0
  165. package/src/components/ui/safe-area-view/index.web.tsx +24 -0
  166. package/src/components/ui/scroll-view/index.web.tsx +142 -0
  167. package/src/components/ui/section-list/index.web.tsx +93 -0
  168. package/src/components/ui/select/index.web.tsx +83 -0
  169. package/src/components/ui/slider/index.web.tsx +283 -0
  170. package/src/components/ui/spinner/index.web.tsx +81 -0
  171. package/src/components/ui/status-bar/index.web.tsx +20 -0
  172. package/src/components/ui/switch/index.web.tsx +44 -0
  173. package/src/components/ui/tabs/index.web.tsx +205 -0
  174. package/src/components/ui/textarea/index.web.tsx +86 -0
  175. package/src/components/ui/toast/index.web.tsx +132 -0
  176. package/src/components/ui/tooltip/index.web.tsx +155 -0
  177. package/src/components/ui/view/index.web.tsx +15 -0
  178. package/src/components/ui/virtualized-list/index.web.tsx +84 -0
  179. package/src/interfaces/settings.ts +1 -0
  180. package/src/utils/generateMobileNavigations.ts +23 -23
@@ -40,16 +40,16 @@ export declare const appDrawerBottomNavigationConfig: {
40
40
  navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
41
41
  theme: ReactNavigation.Theme;
42
42
  }) => import("@react-navigation/stack").StackNavigationOptions);
43
- screenLayout?: (props: {
44
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
45
- navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
46
- theme: ReactNavigation.Theme;
47
- children: React.ReactElement;
48
- }) => React.ReactElement;
49
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
43
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/stack").StackNavigationOptions, import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
44
+ UNSTABLE_router?: <Action extends Readonly<{
45
+ type: string;
46
+ payload?: object;
47
+ source?: string;
48
+ target?: string;
49
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
50
50
  } & {
51
51
  id: string;
52
- } & import("@react-navigation/routers").StackRouterOptions & import("@react-navigation/stack/lib/typescript/commonjs/src/types").StackNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_getStateForRouteNamesChange"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
52
+ } & import("@react-navigation/routers").StackRouterOptions & import("@react-navigation/stack/lib/typescript/commonjs/src/types").StackNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_router"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
53
53
  children: React.ReactNode;
54
54
  layout?: (props: {
55
55
  state: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
@@ -86,13 +86,13 @@ export declare const appDrawerBottomNavigationConfig: {
86
86
  navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
87
87
  theme: ReactNavigation.Theme;
88
88
  }) => import("@react-navigation/stack").StackNavigationOptions);
89
- screenLayout?: (props: {
90
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
91
- navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
92
- theme: ReactNavigation.Theme;
93
- children: React.ReactElement;
94
- }) => React.ReactElement;
95
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
89
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/stack").StackNavigationOptions, import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
90
+ UNSTABLE_router?: <Action extends Readonly<{
91
+ type: string;
92
+ payload?: object;
93
+ source?: string;
94
+ target?: string;
95
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
96
96
  } & {
97
97
  id: undefined;
98
98
  }>;
@@ -149,20 +149,20 @@ export declare const appDrawerBottomNavigationConfig: {
149
149
  navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
150
150
  theme: ReactNavigation.Theme;
151
151
  }) => import("@react-navigation/drawer").DrawerNavigationOptions);
152
- screenLayout?: (props: {
153
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
154
- navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
155
- theme: ReactNavigation.Theme;
156
- children: React.ReactElement;
157
- }) => React.ReactElement;
158
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
152
+ 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, undefined>>) => React.ReactElement;
153
+ UNSTABLE_router?: <Action extends Readonly<{
154
+ type: string;
155
+ payload?: object;
156
+ source?: string;
157
+ target?: string;
158
+ }>>(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>>;
159
159
  } & {
160
160
  id: string;
161
161
  } & import("@react-navigation/routers").DefaultRouterOptions & {
162
- backBehavior?: import("@react-navigation/routers/lib/typescript/commonjs/src/TabRouter").BackBehavior;
162
+ backBehavior?: import("@react-navigation/routers/lib/typescript/src/TabRouter").BackBehavior;
163
163
  } & {
164
164
  defaultStatus?: import("@react-navigation/routers").DrawerStatus;
165
- } & import("@react-navigation/drawer/lib/typescript/commonjs/src/types").DrawerNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_getStateForRouteNamesChange"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
165
+ } & import("@react-navigation/drawer/lib/typescript/commonjs/src/types").DrawerNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_router"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
166
166
  children: React.ReactNode;
167
167
  layout?: (props: {
168
168
  state: import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>;
@@ -201,13 +201,13 @@ export declare const appDrawerBottomNavigationConfig: {
201
201
  navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
202
202
  theme: ReactNavigation.Theme;
203
203
  }) => import("@react-navigation/drawer").DrawerNavigationOptions);
204
- screenLayout?: (props: {
205
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
206
- navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
207
- theme: ReactNavigation.Theme;
208
- children: React.ReactElement;
209
- }) => React.ReactElement;
210
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
204
+ 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, undefined>>) => React.ReactElement;
205
+ UNSTABLE_router?: <Action extends Readonly<{
206
+ type: string;
207
+ payload?: object;
208
+ source?: string;
209
+ target?: string;
210
+ }>>(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>>;
211
211
  } & {
212
212
  id: undefined;
213
213
  }>;
@@ -261,18 +261,18 @@ export declare const appDrawerBottomNavigationConfig: {
261
261
  navigation: import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
262
262
  theme: ReactNavigation.Theme;
263
263
  }) => import("@react-navigation/bottom-tabs").BottomTabNavigationOptions);
264
- screenLayout?: (props: {
265
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
266
- navigation: import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
267
- theme: ReactNavigation.Theme;
268
- children: React.ReactElement;
269
- }) => React.ReactElement;
270
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
264
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/bottom-tabs").BottomTabNavigationOptions, import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
265
+ UNSTABLE_router?: <Action extends Readonly<{
266
+ type: string;
267
+ payload?: object;
268
+ source?: string;
269
+ target?: string;
270
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").TabNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").TabNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
271
271
  } & {
272
272
  id: string;
273
273
  } & import("@react-navigation/routers").DefaultRouterOptions & {
274
- backBehavior?: import("@react-navigation/routers/lib/typescript/commonjs/src/TabRouter").BackBehavior;
275
- } & import("@react-navigation/bottom-tabs/lib/typescript/commonjs/src/types").BottomTabNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_getStateForRouteNamesChange"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
274
+ backBehavior?: import("@react-navigation/routers/lib/typescript/src/TabRouter").BackBehavior;
275
+ } & import("@react-navigation/bottom-tabs/lib/typescript/commonjs/src/types").BottomTabNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_router"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
276
276
  children: React.ReactNode;
277
277
  layout?: (props: {
278
278
  state: import("@react-navigation/routers").TabNavigationState<import("@react-navigation/routers").ParamListBase>;
@@ -307,13 +307,13 @@ export declare const appDrawerBottomNavigationConfig: {
307
307
  navigation: import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
308
308
  theme: ReactNavigation.Theme;
309
309
  }) => import("@react-navigation/bottom-tabs").BottomTabNavigationOptions);
310
- screenLayout?: (props: {
311
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
312
- navigation: import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
313
- theme: ReactNavigation.Theme;
314
- children: React.ReactElement;
315
- }) => React.ReactElement;
316
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
310
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/bottom-tabs").BottomTabNavigationOptions, import("@react-navigation/bottom-tabs").BottomTabNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
311
+ UNSTABLE_router?: <Action extends Readonly<{
312
+ type: string;
313
+ payload?: object;
314
+ source?: string;
315
+ target?: string;
316
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").TabNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").TabNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
317
317
  } & {
318
318
  id: undefined;
319
319
  }>;
@@ -40,16 +40,16 @@ export declare const appDrawerConfig: {
40
40
  navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
41
41
  theme: ReactNavigation.Theme;
42
42
  }) => import("@react-navigation/stack").StackNavigationOptions);
43
- screenLayout?: (props: {
44
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
45
- navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
46
- theme: ReactNavigation.Theme;
47
- children: React.ReactElement;
48
- }) => React.ReactElement;
49
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
43
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/stack").StackNavigationOptions, import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
44
+ UNSTABLE_router?: <Action extends Readonly<{
45
+ type: string;
46
+ payload?: object;
47
+ source?: string;
48
+ target?: string;
49
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
50
50
  } & {
51
51
  id: string;
52
- } & import("@react-navigation/routers").StackRouterOptions & import("@react-navigation/stack/lib/typescript/commonjs/src/types").StackNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_getStateForRouteNamesChange"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
52
+ } & import("@react-navigation/routers").StackRouterOptions & import("@react-navigation/stack/lib/typescript/commonjs/src/types").StackNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_router"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
53
53
  children: React.ReactNode;
54
54
  layout?: (props: {
55
55
  state: import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>;
@@ -86,13 +86,13 @@ export declare const appDrawerConfig: {
86
86
  navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
87
87
  theme: ReactNavigation.Theme;
88
88
  }) => import("@react-navigation/stack").StackNavigationOptions);
89
- screenLayout?: (props: {
90
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
91
- navigation: import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
92
- theme: ReactNavigation.Theme;
93
- children: React.ReactElement;
94
- }) => React.ReactElement;
95
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
89
+ screenLayout?: (props: import("@react-navigation/core").ScreenLayoutArgs<import("@react-navigation/routers").ParamListBase, string, import("@react-navigation/stack").StackNavigationOptions, import("@react-navigation/stack").StackNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>>) => React.ReactElement;
90
+ UNSTABLE_router?: <Action extends Readonly<{
91
+ type: string;
92
+ payload?: object;
93
+ source?: string;
94
+ target?: string;
95
+ }>>(original: import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>) => Partial<import("@react-navigation/routers").Router<import("@react-navigation/routers").StackNavigationState<import("@react-navigation/routers").ParamListBase>, Action>>;
96
96
  } & {
97
97
  id: undefined;
98
98
  }>;
@@ -149,20 +149,20 @@ export declare const appDrawerConfig: {
149
149
  navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
150
150
  theme: ReactNavigation.Theme;
151
151
  }) => import("@react-navigation/drawer").DrawerNavigationOptions);
152
- screenLayout?: (props: {
153
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
154
- navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
155
- theme: ReactNavigation.Theme;
156
- children: React.ReactElement;
157
- }) => React.ReactElement;
158
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
152
+ 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, undefined>>) => React.ReactElement;
153
+ UNSTABLE_router?: <Action extends Readonly<{
154
+ type: string;
155
+ payload?: object;
156
+ source?: string;
157
+ target?: string;
158
+ }>>(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>>;
159
159
  } & {
160
160
  id: string;
161
161
  } & import("@react-navigation/routers").DefaultRouterOptions & {
162
- backBehavior?: import("@react-navigation/routers/lib/typescript/commonjs/src/TabRouter").BackBehavior;
162
+ backBehavior?: import("@react-navigation/routers/lib/typescript/src/TabRouter").BackBehavior;
163
163
  } & {
164
164
  defaultStatus?: import("@react-navigation/routers").DrawerStatus;
165
- } & import("@react-navigation/drawer/lib/typescript/commonjs/src/types").DrawerNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_getStateForRouteNamesChange"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
165
+ } & import("@react-navigation/drawer/lib/typescript/commonjs/src/types").DrawerNavigationConfig, "layout" | "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions" | "screenLayout" | "UNSTABLE_router"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
166
166
  children: React.ReactNode;
167
167
  layout?: (props: {
168
168
  state: import("@react-navigation/routers").DrawerNavigationState<import("@react-navigation/routers").ParamListBase>;
@@ -201,13 +201,13 @@ export declare const appDrawerConfig: {
201
201
  navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
202
202
  theme: ReactNavigation.Theme;
203
203
  }) => import("@react-navigation/drawer").DrawerNavigationOptions);
204
- screenLayout?: (props: {
205
- route: import("@react-navigation/core").RouteProp<import("@react-navigation/routers").ParamListBase, string>;
206
- navigation: import("@react-navigation/drawer").DrawerNavigationProp<import("@react-navigation/routers").ParamListBase, string, undefined>;
207
- theme: ReactNavigation.Theme;
208
- children: React.ReactElement;
209
- }) => React.ReactElement;
210
- UNSTABLE_getStateForRouteNamesChange?: (state: import("@react-navigation/routers").NavigationState) => import("@react-navigation/routers").PartialState<import("@react-navigation/routers").NavigationState> | undefined;
204
+ 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, undefined>>) => React.ReactElement;
205
+ UNSTABLE_router?: <Action extends Readonly<{
206
+ type: string;
207
+ payload?: object;
208
+ source?: string;
209
+ target?: string;
210
+ }>>(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>>;
211
211
  } & {
212
212
  id: undefined;
213
213
  }>;
@@ -1,4 +1,5 @@
1
1
  import { ProSettings } from '@admin-layout/client';
2
2
  export type DefaultSettings = Partial<ProSettings> & {
3
3
  language?: string;
4
+ extensionName?: string;
4
5
  };
@@ -44,22 +44,17 @@ declare const settingsReducer: (state: {
44
44
  loading?: boolean;
45
45
  };
46
46
  title: string | false;
47
+ logo: string | React.ReactNode;
47
48
  iconfontUrl: string;
48
49
  colorPrimary?: string;
49
50
  primaryColor: string;
50
51
  colorWeak: boolean;
51
52
  splitMenus?: boolean;
52
53
  siderMenuType?: string;
53
- showHeader?: boolean | any;
54
- headerRender?: boolean | any;
55
- showFooter?: boolean | any;
56
- footerRender?: boolean | any;
57
- searchBarRender?: boolean | any;
58
- showMenu?: boolean | any;
59
- menuRender?: false | any;
60
- menuHeaderRender?: false | any;
54
+ currentRoute?: string;
55
+ routeSettings?: any;
61
56
  language: string;
62
- logo: string;
57
+ extensionName?: string;
63
58
  topLeftToggle: boolean;
64
59
  topRightSettingToggle: boolean;
65
60
  } | {
@@ -375,7 +375,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
375
375
  export default features;
376
376
  `.replace(/,(\s*)$/, ''); // Removes trailing comma
377
377
  // Use Prettier to format the code
378
- classStructure = await prettier.format(classStructure, { parser: 'babel' });
378
+ classStructure = prettier.format(classStructure, { parser: 'babel' });
379
379
  const appFeatures = importStatements + '\n' + classStructure;
380
380
  return { appFeatures };
381
381
  }
@@ -519,7 +519,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
519
519
  export default features;
520
520
  `.replace(/,(\s*)$/, ''); // Removes trailing comma
521
521
  // Use Prettier to format the code
522
- classStructure = await prettier.format(classStructure, { parser: 'babel' });
522
+ classStructure = prettier.format(classStructure, { parser: 'babel' });
523
523
  const appFeatures = importStatements + '\n' + classStructure;
524
524
  return { appFeatures };
525
525
  }
@@ -583,7 +583,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
583
583
  export default App;
584
584
  `.replace(/,(\s*)$/, ''); // Removes trailing comma
585
585
  // Use Prettier to format the code
586
- classStructure = await prettier.format(classStructure, { parser: 'babel' });
586
+ classStructure = prettier.format(classStructure, { parser: 'babel' });
587
587
  const appFeatures = importStatements + '\n' + classStructure;
588
588
  return { appFeatures };
589
589
  }
@@ -729,7 +729,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
729
729
  }
730
730
  stackNavigator = importStatements + '\n' + moduleRender;
731
731
  let stackNavigation = stackNavigator;
732
- stackNavigation = await prettier.format(stackNavigation, { parser: 'babel' });
732
+ stackNavigation = prettier.format(stackNavigation, { parser: 'babel' });
733
733
  const stackDirName = path.dirname(stackDirPath);
734
734
  try {
735
735
  const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, stackDirName);
@@ -864,7 +864,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
864
864
  moduleNavigation = importStatements + '\n' + moduleRender;
865
865
  const drawerNavigator = moduleNavigation;
866
866
  let drawerNavigation = drawerNavigator;
867
- drawerNavigation = await prettier.format(drawerNavigation, { parser: 'babel' });
867
+ drawerNavigation = prettier.format(drawerNavigation, { parser: 'babel' });
868
868
  const drawerDirName = path.dirname(drawerDirPath);
869
869
  try {
870
870
  const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, drawerDirName);
@@ -1077,7 +1077,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
1077
1077
  moduleNavigation = importStatements + '\n' + moduleRender;
1078
1078
  const bottomTabNavigator = moduleNavigation;
1079
1079
  let bottomTabNavigation = bottomTabNavigator;
1080
- bottomTabNavigation = await prettier.format(bottomTabNavigation, { parser: 'babel' });
1080
+ bottomTabNavigation = prettier.format(bottomTabNavigation, { parser: 'babel' });
1081
1081
  const bottomDirName = path.dirname(bottomDirPath);
1082
1082
  try {
1083
1083
  const isDirCreated = await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_makeDir).call(this, bottomDirName);
@@ -1275,7 +1275,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
1275
1275
  const initialRouteName = layoutInitialRouteName
1276
1276
  ? layoutInitialRouteName
1277
1277
  : layoutType === 'mixSide'
1278
- ? (appLayout?.[appLayout?.key]?.props?.initialRouteName ?? 'MainStack.Layout.Home')
1278
+ ? appLayout?.[appLayout?.key]?.props?.initialRouteName ?? 'MainStack.Layout.Home'
1279
1279
  : appLayout?.props?.initialRouteName || 'MainStack.Home';
1280
1280
  const isShowTabs = layoutType === 'mixSide' || layoutType === 'bottom' ? true : false;
1281
1281
  const isShowDefalutHeader = layoutType === 'mixSide' ? true : false;
@@ -1476,7 +1476,7 @@ _GenerateMobileNavigations_configFileData = new WeakMap(), _GenerateMobileNaviga
1476
1476
  export default AppNavigations;
1477
1477
  `;
1478
1478
  appNavigation = importStatements + '\n' + rootComponent + '\n' + appComponent;
1479
- appNavigation = await prettier.format(appNavigation, { parser: 'babel' });
1479
+ appNavigation = prettier.format(appNavigation, { parser: 'babel' });
1480
1480
  try {
1481
1481
  await __classPrivateFieldGet(this, _GenerateMobileNavigations_instances, "m", _GenerateMobileNavigations_writeFile).call(this, navigationDirPath, appNavigation);
1482
1482
  }