@gaddario98/react-native-core 1.0.27 → 1.0.29
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/LICENSE.txt +20 -20
- package/README.md +15 -15
- package/dist/auth.d.ts +11 -0
- package/dist/auth.js +23 -0
- package/dist/auth.js.map +1 -0
- package/dist/auth.mjs +12 -0
- package/dist/auth.mjs.map +1 -0
- package/dist/{config/index.d.ts → config.d.ts} +8 -0
- package/dist/{config/index.js → config.js} +21 -2
- package/dist/config.js.map +1 -0
- package/dist/{config/index.mjs → config.mjs} +19 -2
- package/dist/config.mjs.map +1 -0
- package/dist/expo.js +13 -0
- package/dist/expo.js.map +1 -0
- package/dist/expo.mjs +2 -0
- package/dist/expo.mjs.map +1 -0
- package/dist/form.js +13 -0
- package/dist/form.js.map +1 -0
- package/dist/form.mjs +2 -0
- package/dist/form.mjs.map +1 -0
- package/dist/index.d.ts +4 -21
- package/dist/index.js +87 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -26
- package/dist/index.mjs.map +1 -1
- package/dist/layouts.js +13 -0
- package/dist/layouts.js.map +1 -0
- package/dist/layouts.mjs +2 -0
- package/dist/layouts.mjs.map +1 -0
- package/dist/localization.js +13 -0
- package/dist/localization.js.map +1 -0
- package/dist/localization.mjs +2 -0
- package/dist/localization.mjs.map +1 -0
- package/dist/pages.js +13 -0
- package/dist/pages.js.map +1 -0
- package/dist/pages.mjs +2 -0
- package/dist/pages.mjs.map +1 -0
- package/dist/providers.js +13 -0
- package/dist/providers.js.map +1 -0
- package/dist/providers.mjs +2 -0
- package/dist/providers.mjs.map +1 -0
- package/dist/queries.js +13 -0
- package/dist/queries.js.map +1 -0
- package/dist/queries.mjs +2 -0
- package/dist/queries.mjs.map +1 -0
- package/dist/state.js +13 -0
- package/dist/state.js.map +1 -0
- package/dist/state.mjs +2 -0
- package/dist/state.mjs.map +1 -0
- package/dist/tabs.js +13 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tabs.mjs +2 -0
- package/dist/tabs.mjs.map +1 -0
- package/dist/utiles.js +13 -0
- package/dist/utiles.js.map +1 -0
- package/dist/utiles.mjs +2 -0
- package/dist/utiles.mjs.map +1 -0
- package/package.json +153 -153
- package/dist/auth/index.d.ts +0 -1
- package/dist/auth/index.js +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/index.mjs +0 -1
- package/dist/auth/index.mjs.map +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/index.mjs.map +0 -1
- package/dist/expo/index.js +0 -1
- package/dist/expo/index.js.map +0 -1
- package/dist/expo/index.mjs +0 -1
- package/dist/expo/index.mjs.map +0 -1
- package/dist/form/index.js +0 -1
- package/dist/form/index.js.map +0 -1
- package/dist/form/index.mjs +0 -1
- package/dist/form/index.mjs.map +0 -1
- package/dist/layouts/index.js +0 -1
- package/dist/layouts/index.js.map +0 -1
- package/dist/layouts/index.mjs +0 -1
- package/dist/layouts/index.mjs.map +0 -1
- package/dist/localization/index.js +0 -1
- package/dist/localization/index.js.map +0 -1
- package/dist/localization/index.mjs +0 -1
- package/dist/localization/index.mjs.map +0 -1
- package/dist/pages/index.js +0 -1
- package/dist/pages/index.js.map +0 -1
- package/dist/pages/index.mjs +0 -1
- package/dist/pages/index.mjs.map +0 -1
- package/dist/providers/index.js +0 -1
- package/dist/providers/index.js.map +0 -1
- package/dist/providers/index.mjs +0 -1
- package/dist/providers/index.mjs.map +0 -1
- package/dist/queries/index.js +0 -1
- package/dist/queries/index.js.map +0 -1
- package/dist/queries/index.mjs +0 -1
- package/dist/queries/index.mjs.map +0 -1
- package/dist/state/index.js +0 -1
- package/dist/state/index.js.map +0 -1
- package/dist/state/index.mjs +0 -1
- package/dist/state/index.mjs.map +0 -1
- package/dist/tabs/index.js +0 -1
- package/dist/tabs/index.js.map +0 -1
- package/dist/tabs/index.mjs +0 -1
- package/dist/tabs/index.mjs.map +0 -1
- package/dist/utiles/index.js +0 -1
- package/dist/utiles/index.js.map +0 -1
- package/dist/utiles/index.mjs +0 -1
- package/dist/utiles/index.mjs.map +0 -1
- /package/dist/{expo/index.d.ts → expo.d.ts} +0 -0
- /package/dist/{form/index.d.ts → form.d.ts} +0 -0
- /package/dist/{layouts/index.d.ts → layouts.d.ts} +0 -0
- /package/dist/{localization/index.d.ts → localization.d.ts} +0 -0
- /package/dist/{pages/index.d.ts → pages.d.ts} +0 -0
- /package/dist/{providers/index.d.ts → providers.d.ts} +0 -0
- /package/dist/{queries/index.d.ts → queries.d.ts} +0 -0
- /package/dist/{state/index.d.ts → state.d.ts} +0 -0
- /package/dist/{tabs/index.d.ts → tabs.d.ts} +0 -0
- /package/dist/{utiles/index.d.ts → utiles.d.ts} +0 -0
package/LICENSE.txt
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 gaddario98
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 gaddario98
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# react-native-core
|
|
2
|
-
|
|
3
|
-
## Installation
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npm install @gaddario98/native
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
[Add usage examples here]
|
|
12
|
-
|
|
13
|
-
## License
|
|
14
|
-
|
|
15
|
-
MIT
|
|
1
|
+
# react-native-core
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @gaddario98/native
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
[Add usage examples here]
|
|
12
|
+
|
|
13
|
+
## License
|
|
14
|
+
|
|
15
|
+
MIT
|
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from '@gaddario98/react-auth';
|
|
2
|
+
import '@gaddario98/react-native-pages';
|
|
3
|
+
import '@gaddario98/react-localization';
|
|
4
|
+
import '@gaddario98/react-native-utiles';
|
|
5
|
+
import '@gaddario98/expo';
|
|
6
|
+
import '@gaddario98/react-form';
|
|
7
|
+
import '@gaddario98/react-native-layouts';
|
|
8
|
+
import '@gaddario98/react-native-providers';
|
|
9
|
+
import '@gaddario98/react-queries';
|
|
10
|
+
import '@gaddario98/react-native-state';
|
|
11
|
+
import '@gaddario98/react-native-tabs';
|
package/dist/auth.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactAuth = require('@gaddario98/react-auth');
|
|
4
|
+
require('@gaddario98/react-native-state');
|
|
5
|
+
require('@gaddario98/react-queries');
|
|
6
|
+
require('@gaddario98/react-native-pages');
|
|
7
|
+
require('@gaddario98/react-localization');
|
|
8
|
+
require('@gaddario98/react-native-utiles');
|
|
9
|
+
require('@gaddario98/react-form');
|
|
10
|
+
require('@gaddario98/expo');
|
|
11
|
+
require('@gaddario98/react-native-layouts');
|
|
12
|
+
require('@gaddario98/react-native-providers');
|
|
13
|
+
require('@gaddario98/react-native-tabs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Object.keys(reactAuth).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return reactAuth[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=auth.js.map
|
package/dist/auth.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/auth.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from '@gaddario98/react-auth';
|
|
2
|
+
import '@gaddario98/react-native-state';
|
|
3
|
+
import '@gaddario98/react-queries';
|
|
4
|
+
import '@gaddario98/react-native-pages';
|
|
5
|
+
import '@gaddario98/react-localization';
|
|
6
|
+
import '@gaddario98/react-native-utiles';
|
|
7
|
+
import '@gaddario98/react-form';
|
|
8
|
+
import '@gaddario98/expo';
|
|
9
|
+
import '@gaddario98/react-native-layouts';
|
|
10
|
+
import '@gaddario98/react-native-providers';
|
|
11
|
+
import '@gaddario98/react-native-tabs';
|
|
12
|
+
//# sourceMappingURL=auth.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import '@gaddario98/react-auth';
|
|
1
2
|
import { PageConfigProps } from '@gaddario98/react-native-pages';
|
|
2
3
|
import { setI18nInitializer, setTranslationAdapter } from '@gaddario98/react-localization';
|
|
3
4
|
import { AppLinks } from '@gaddario98/react-native-utiles';
|
|
5
|
+
import '@gaddario98/expo';
|
|
6
|
+
import '@gaddario98/react-form';
|
|
7
|
+
import '@gaddario98/react-native-layouts';
|
|
8
|
+
import '@gaddario98/react-native-providers';
|
|
9
|
+
import '@gaddario98/react-queries';
|
|
10
|
+
import '@gaddario98/react-native-state';
|
|
11
|
+
import '@gaddario98/react-native-tabs';
|
|
4
12
|
|
|
5
13
|
interface SetReactNativeConfigProps {
|
|
6
14
|
pages: Partial<PageConfigProps>;
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('@gaddario98/react-auth');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var reactNativeState = require('@gaddario98/react-native-state');
|
|
6
|
+
var reactQueries = require('@gaddario98/react-queries');
|
|
7
|
+
var reactNativePages = require('@gaddario98/react-native-pages');
|
|
8
|
+
var reactLocalization = require('@gaddario98/react-localization');
|
|
9
|
+
var reactNativeUtiles = require('@gaddario98/react-native-utiles');
|
|
10
|
+
var reactNative = require('react-native');
|
|
11
|
+
var reactForm = require('@gaddario98/react-form');
|
|
12
|
+
require('@gaddario98/expo');
|
|
13
|
+
require('@gaddario98/react-native-layouts');
|
|
14
|
+
require('@gaddario98/react-native-providers');
|
|
15
|
+
require('@gaddario98/react-native-tabs');
|
|
16
|
+
|
|
17
|
+
var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
18
|
var pages = _ref.pages,
|
|
3
19
|
endpoints = _ref.endpoints,
|
|
4
20
|
localization = _ref.localization,
|
|
@@ -23,4 +39,7 @@
|
|
|
23
39
|
children: children
|
|
24
40
|
});
|
|
25
41
|
});
|
|
26
|
-
};
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
exports.setReactNativeConfig = setReactNativeConfig;
|
|
45
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sources":["../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\r\nimport { setEndpoints } from \"../queries\";\r\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\r\nimport {\r\n initializeI18n,\r\n setI18nInitializer,\r\n setTranslationAdapter,\r\n} from \"../localization\";\r\nimport { AppLinks, setAppLinks } from \"../utiles\";\r\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\r\nimport { setDefaultFormContainer } from \"../form\";\r\n\r\nexport interface SetReactNativeConfigProps {\r\n pages: Partial<PageConfigProps>;\r\n endpoints: Record<string, string>;\r\n links: Partial<AppLinks>;\r\n localization?: {\r\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\r\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\r\n localResources?: Record<string, object>;\r\n };\r\n}\r\n\r\nexport const setReactNativeConfig = ({\r\n pages,\r\n endpoints,\r\n localization,\r\n links,\r\n}: SetReactNativeConfigProps) => {\r\n if (localization?.i18nInitializer) {\r\n setI18nInitializer(localization.i18nInitializer);\r\n }\r\n if (localization?.translationAdapter) {\r\n setTranslationAdapter(localization.translationAdapter);\r\n }\r\n if (localization?.localResources) {\r\n initializeI18n(localization.localResources);\r\n }\r\n setReactNativeStorage();\r\n setReactNativePageConfig(pages);\r\n setEndpoints(endpoints);\r\n setAppLinks(links);\r\n setDefaultFormContainer(({ children }) => {\r\n return (\r\n <KeyboardAvoidingView\r\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\r\n >\r\n {children}\r\n </KeyboardAvoidingView>\r\n );\r\n });\r\n};\r\n"],"names":["setReactNativeConfig","_ref","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","_ref2","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":";;;;;;;;;;;;;;;;IAuBaA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAKD;AAAA,EAAA,IAJ9BC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,KAAK,GAAAJ,IAAA,CAALI,KAAK;AAEL,EAAA,IAAID,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEE,eAAe,EAAE;AACjCC,IAAAA,oCAAkB,CAACH,YAAY,CAACE,eAAe,CAAC;AAClD,EAAA;AACA,EAAA,IAAIF,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEI,kBAAkB,EAAE;AACpCC,IAAAA,uCAAqB,CAACL,YAAY,CAACI,kBAAkB,CAAC;AACxD,EAAA;AACA,EAAA,IAAIJ,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEM,cAAc,EAAE;AAChCC,IAAAA,gCAAc,CAACP,YAAY,CAACM,cAAc,CAAC;AAC7C,EAAA;AACAE,EAAAA,sCAAqB,EAAE;EACvBC,yCAAwB,CAACX,KAAK,CAAC;EAC/BY,yBAAY,CAACX,SAAS,CAAC;EACvBY,6BAAW,CAACV,KAAK,CAAC;EAClBW,iCAAuB,CAAC,UAAAC,KAAA,EAAiB;AAAA,IAAA,IAAdC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IACjC,OACEC,eAACC,gCAAoB,EAAA;MACnBC,QAAQ,EAAEC,oBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,SAAS,GAAGC,SAAS;AAAAN,MAAAA,QAAA,EAEtDA;AAAQ,KAAA,CACY;AAE3B,EAAA,CAAC,CAAC;AACJ;;;;"}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@gaddario98/react-auth';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { setReactNativeStorage } from '@gaddario98/react-native-state';
|
|
4
|
+
import { setEndpoints } from '@gaddario98/react-queries';
|
|
5
|
+
import { setReactNativePageConfig } from '@gaddario98/react-native-pages';
|
|
6
|
+
import { setI18nInitializer, setTranslationAdapter, initializeI18n } from '@gaddario98/react-localization';
|
|
7
|
+
import { setAppLinks } from '@gaddario98/react-native-utiles';
|
|
8
|
+
import { KeyboardAvoidingView, Platform } from 'react-native';
|
|
9
|
+
import { setDefaultFormContainer } from '@gaddario98/react-form';
|
|
10
|
+
import '@gaddario98/expo';
|
|
11
|
+
import '@gaddario98/react-native-layouts';
|
|
12
|
+
import '@gaddario98/react-native-providers';
|
|
13
|
+
import '@gaddario98/react-native-tabs';
|
|
14
|
+
|
|
15
|
+
var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
16
|
var pages = _ref.pages,
|
|
3
17
|
endpoints = _ref.endpoints,
|
|
4
18
|
localization = _ref.localization,
|
|
@@ -23,4 +37,7 @@ import {jsx}from'react/jsx-runtime';import {setReactNativeStorage}from'@gaddario
|
|
|
23
37
|
children: children
|
|
24
38
|
});
|
|
25
39
|
});
|
|
26
|
-
};
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { setReactNativeConfig };
|
|
43
|
+
//# sourceMappingURL=config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","sources":["../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\r\nimport { setEndpoints } from \"../queries\";\r\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\r\nimport {\r\n initializeI18n,\r\n setI18nInitializer,\r\n setTranslationAdapter,\r\n} from \"../localization\";\r\nimport { AppLinks, setAppLinks } from \"../utiles\";\r\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\r\nimport { setDefaultFormContainer } from \"../form\";\r\n\r\nexport interface SetReactNativeConfigProps {\r\n pages: Partial<PageConfigProps>;\r\n endpoints: Record<string, string>;\r\n links: Partial<AppLinks>;\r\n localization?: {\r\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\r\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\r\n localResources?: Record<string, object>;\r\n };\r\n}\r\n\r\nexport const setReactNativeConfig = ({\r\n pages,\r\n endpoints,\r\n localization,\r\n links,\r\n}: SetReactNativeConfigProps) => {\r\n if (localization?.i18nInitializer) {\r\n setI18nInitializer(localization.i18nInitializer);\r\n }\r\n if (localization?.translationAdapter) {\r\n setTranslationAdapter(localization.translationAdapter);\r\n }\r\n if (localization?.localResources) {\r\n initializeI18n(localization.localResources);\r\n }\r\n setReactNativeStorage();\r\n setReactNativePageConfig(pages);\r\n setEndpoints(endpoints);\r\n setAppLinks(links);\r\n setDefaultFormContainer(({ children }) => {\r\n return (\r\n <KeyboardAvoidingView\r\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\r\n >\r\n {children}\r\n </KeyboardAvoidingView>\r\n );\r\n });\r\n};\r\n"],"names":["setReactNativeConfig","_ref","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","_ref2","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":";;;;;;;;;;;;;;IAuBaA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAKD;AAAA,EAAA,IAJ9BC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,KAAK,GAAAJ,IAAA,CAALI,KAAK;AAEL,EAAA,IAAID,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEE,eAAe,EAAE;AACjCC,IAAAA,kBAAkB,CAACH,YAAY,CAACE,eAAe,CAAC;AAClD,EAAA;AACA,EAAA,IAAIF,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEI,kBAAkB,EAAE;AACpCC,IAAAA,qBAAqB,CAACL,YAAY,CAACI,kBAAkB,CAAC;AACxD,EAAA;AACA,EAAA,IAAIJ,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEM,cAAc,EAAE;AAChCC,IAAAA,cAAc,CAACP,YAAY,CAACM,cAAc,CAAC;AAC7C,EAAA;AACAE,EAAAA,qBAAqB,EAAE;EACvBC,wBAAwB,CAACX,KAAK,CAAC;EAC/BY,YAAY,CAACX,SAAS,CAAC;EACvBY,WAAW,CAACV,KAAK,CAAC;EAClBW,uBAAuB,CAAC,UAAAC,KAAA,EAAiB;AAAA,IAAA,IAAdC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IACjC,OACEC,IAACC,oBAAoB,EAAA;MACnBC,QAAQ,EAAEC,QAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,SAAS,GAAGC,SAAS;AAAAN,MAAAA,QAAA,EAEtDA;AAAQ,KAAA,CACY;AAE3B,EAAA,CAAC,CAAC;AACJ;;;;"}
|
package/dist/expo.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var expo = require('@gaddario98/expo');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(expo).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return expo[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=expo.js.map
|
package/dist/expo.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/expo.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expo.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/form.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactForm = require('@gaddario98/react-form');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactForm).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactForm[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=form.js.map
|
package/dist/form.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/form.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
export * from '@gaddario98/react-auth';
|
|
2
|
-
|
|
3
|
-
export * from '@gaddario98/react-native-pages';
|
|
4
|
-
import { setI18nInitializer, setTranslationAdapter } from '@gaddario98/react-localization';
|
|
5
|
-
export * from '@gaddario98/react-localization';
|
|
6
|
-
import { AppLinks } from '@gaddario98/react-native-utiles';
|
|
7
|
-
export * from '@gaddario98/react-native-utiles';
|
|
2
|
+
export { SetReactNativeConfigProps, setReactNativeConfig } from './config.js';
|
|
8
3
|
export * from '@gaddario98/expo';
|
|
9
4
|
export * from '@gaddario98/react-form';
|
|
10
5
|
export * from '@gaddario98/react-native-layouts';
|
|
6
|
+
export * from '@gaddario98/react-localization';
|
|
7
|
+
export * from '@gaddario98/react-native-pages';
|
|
11
8
|
export * from '@gaddario98/react-native-providers';
|
|
12
9
|
export * from '@gaddario98/react-queries';
|
|
13
10
|
export * from '@gaddario98/react-native-state';
|
|
14
11
|
export * from '@gaddario98/react-native-tabs';
|
|
15
|
-
|
|
16
|
-
interface SetReactNativeConfigProps {
|
|
17
|
-
pages: Partial<PageConfigProps>;
|
|
18
|
-
endpoints: Record<string, string>;
|
|
19
|
-
links: Partial<AppLinks>;
|
|
20
|
-
localization?: {
|
|
21
|
-
i18nInitializer: Parameters<typeof setI18nInitializer>[0];
|
|
22
|
-
translationAdapter: Parameters<typeof setTranslationAdapter>[0];
|
|
23
|
-
localResources?: Record<string, object>;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
declare const setReactNativeConfig: ({ pages, endpoints, localization, links, }: SetReactNativeConfigProps) => void;
|
|
27
|
-
|
|
28
|
-
export { setReactNativeConfig };
|
|
29
|
-
export type { SetReactNativeConfigProps };
|
|
12
|
+
export * from '@gaddario98/react-native-utiles';
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,87 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactAuth = require('@gaddario98/react-auth');
|
|
4
|
+
var config = require('./config.js');
|
|
5
|
+
var expo = require('@gaddario98/expo');
|
|
6
|
+
var reactForm = require('@gaddario98/react-form');
|
|
7
|
+
var reactNativeLayouts = require('@gaddario98/react-native-layouts');
|
|
8
|
+
var reactLocalization = require('@gaddario98/react-localization');
|
|
9
|
+
var reactNativePages = require('@gaddario98/react-native-pages');
|
|
10
|
+
var reactNativeProviders = require('@gaddario98/react-native-providers');
|
|
11
|
+
var reactQueries = require('@gaddario98/react-queries');
|
|
12
|
+
var reactNativeState = require('@gaddario98/react-native-state');
|
|
13
|
+
var reactNativeTabs = require('@gaddario98/react-native-tabs');
|
|
14
|
+
var reactNativeUtiles = require('@gaddario98/react-native-utiles');
|
|
15
|
+
require('react/jsx-runtime');
|
|
16
|
+
require('react-native');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.setReactNativeConfig = config.setReactNativeConfig;
|
|
21
|
+
Object.keys(reactAuth).forEach(function (k) {
|
|
22
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return reactAuth[k]; }
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
Object.keys(expo).forEach(function (k) {
|
|
28
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return expo[k]; }
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
Object.keys(reactForm).forEach(function (k) {
|
|
34
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return reactForm[k]; }
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
Object.keys(reactNativeLayouts).forEach(function (k) {
|
|
40
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return reactNativeLayouts[k]; }
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
Object.keys(reactLocalization).forEach(function (k) {
|
|
46
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return reactLocalization[k]; }
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
Object.keys(reactNativePages).forEach(function (k) {
|
|
52
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return reactNativePages[k]; }
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
Object.keys(reactNativeProviders).forEach(function (k) {
|
|
58
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return reactNativeProviders[k]; }
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
Object.keys(reactQueries).forEach(function (k) {
|
|
64
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return reactQueries[k]; }
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
Object.keys(reactNativeState).forEach(function (k) {
|
|
70
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return reactNativeState[k]; }
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
Object.keys(reactNativeTabs).forEach(function (k) {
|
|
76
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return reactNativeTabs[k]; }
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
Object.keys(reactNativeUtiles).forEach(function (k) {
|
|
82
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return reactNativeUtiles[k]; }
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
setReactNativePageConfig(pages);
|
|
17
|
-
setEndpoints(endpoints);
|
|
18
|
-
setAppLinks(links);
|
|
19
|
-
setDefaultFormContainer(function (_ref2) {
|
|
20
|
-
var children = _ref2.children;
|
|
21
|
-
return jsx(KeyboardAvoidingView, {
|
|
22
|
-
behavior: Platform.OS === "ios" ? "padding" : undefined,
|
|
23
|
-
children: children
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
};export{setReactNativeConfig};//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export * from '@gaddario98/react-auth';
|
|
2
|
+
export { setReactNativeConfig } from './config.mjs';
|
|
3
|
+
export * from '@gaddario98/expo';
|
|
4
|
+
export * from '@gaddario98/react-form';
|
|
5
|
+
export * from '@gaddario98/react-native-layouts';
|
|
6
|
+
export * from '@gaddario98/react-localization';
|
|
7
|
+
export * from '@gaddario98/react-native-pages';
|
|
8
|
+
export * from '@gaddario98/react-native-providers';
|
|
9
|
+
export * from '@gaddario98/react-queries';
|
|
10
|
+
export * from '@gaddario98/react-native-state';
|
|
11
|
+
export * from '@gaddario98/react-native-tabs';
|
|
12
|
+
export * from '@gaddario98/react-native-utiles';
|
|
13
|
+
import 'react/jsx-runtime';
|
|
14
|
+
import 'react-native';
|
|
15
|
+
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
package/dist/layouts.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactNativeLayouts = require('@gaddario98/react-native-layouts');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactNativeLayouts).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactNativeLayouts[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=layouts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layouts.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/layouts.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layouts.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactLocalization = require('@gaddario98/react-localization');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactLocalization).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactLocalization[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=localization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localization.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localization.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/pages.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactNativePages = require('@gaddario98/react-native-pages');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactNativePages).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactNativePages[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=pages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/pages.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactNativeProviders = require('@gaddario98/react-native-providers');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactNativeProviders).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactNativeProviders[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=providers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/queries.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactQueries = require('@gaddario98/react-queries');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(reactQueries).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return reactQueries[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=queries.js.map
|