@gaddario98/react-native-core 1.0.14 → 1.0.16
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/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/index.mjs +1 -2
- package/dist/config/index.js +26 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/index.mjs +8 -22
- package/dist/config/index.mjs.map +1 -1
- package/dist/expo/index.js +1 -0
- package/dist/expo/index.js.map +1 -0
- package/dist/expo/index.mjs +1 -2
- package/dist/form/index.js +1 -0
- package/dist/form/index.js.map +1 -0
- package/dist/form/index.mjs +1 -2
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +8 -33
- package/dist/index.mjs.map +1 -1
- package/dist/layouts/index.js +1 -0
- package/dist/layouts/index.js.map +1 -0
- package/dist/layouts/index.mjs +1 -2
- package/dist/localization/index.js +1 -0
- package/dist/localization/index.js.map +1 -0
- package/dist/localization/index.mjs +1 -2
- package/dist/pages/index.js +1 -0
- package/dist/pages/index.js.map +1 -0
- package/dist/pages/index.mjs +1 -2
- package/dist/providers/index.js +1 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/index.mjs +1 -2
- package/dist/queries/index.js +1 -0
- package/dist/queries/index.js.map +1 -0
- package/dist/queries/index.mjs +1 -2
- package/dist/state/index.js +1 -0
- package/dist/state/index.js.map +1 -0
- package/dist/state/index.mjs +1 -2
- package/dist/tabs/index.js +1 -0
- package/dist/tabs/index.js.map +1 -0
- package/dist/tabs/index.mjs +1 -2
- package/dist/utiles/index.js +1 -0
- package/dist/utiles/index.js.map +1 -0
- package/dist/utiles/index.mjs +1 -2
- package/package.json +59 -31
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactAuth=require('@gaddario98/react-auth');Object.keys(reactAuth).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactAuth[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-auth';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';var jsxRuntime=require('react/jsx-runtime'),reactNativeState=require('@gaddario98/react-native-state'),reactQueries=require('@gaddario98/react-queries'),reactNativePages=require('@gaddario98/react-native-pages'),reactLocalization=require('@gaddario98/react-localization'),reactNativeUtiles=require('@gaddario98/react-native-utiles'),reactNative=require('react-native'),reactForm=require('@gaddario98/react-form');var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
|
+
var pages = _ref.pages,
|
|
3
|
+
endpoints = _ref.endpoints,
|
|
4
|
+
localization = _ref.localization,
|
|
5
|
+
links = _ref.links;
|
|
6
|
+
if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
|
|
7
|
+
reactLocalization.setI18nInitializer(localization.i18nInitializer);
|
|
8
|
+
}
|
|
9
|
+
if (localization === null || localization === void 0 ? void 0 : localization.translationAdapter) {
|
|
10
|
+
reactLocalization.setTranslationAdapter(localization.translationAdapter);
|
|
11
|
+
}
|
|
12
|
+
if (localization === null || localization === void 0 ? void 0 : localization.localResources) {
|
|
13
|
+
reactLocalization.initializeI18n(localization.localResources);
|
|
14
|
+
}
|
|
15
|
+
reactNativeState.setReactNativeStorage();
|
|
16
|
+
reactNativePages.setReactNativePageConfig(pages);
|
|
17
|
+
reactQueries.setEndpoints(endpoints);
|
|
18
|
+
reactNativeUtiles.setAppLinks(links);
|
|
19
|
+
reactForm.setDefaultFormContainer(function (_ref2) {
|
|
20
|
+
var children = _ref2.children;
|
|
21
|
+
return jsxRuntime.jsx(reactNative.KeyboardAvoidingView, {
|
|
22
|
+
behavior: reactNative.Platform.OS === "ios" ? "padding" : undefined,
|
|
23
|
+
children: children
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
};exports.setReactNativeConfig=setReactNativeConfig;//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\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":"8aAuBaA,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"}
|
package/dist/config/index.mjs
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { setEndpoints } from '@gaddario98/react-queries';
|
|
7
|
-
import { setAppLinks } from '@gaddario98/react-native-utiles';
|
|
8
|
-
import { setDefaultFormContainer } from '@gaddario98/react-form';
|
|
9
|
-
|
|
10
|
-
const setReactNativeConfig = ({
|
|
11
|
-
pages,
|
|
12
|
-
endpoints,
|
|
13
|
-
localization,
|
|
14
|
-
links
|
|
15
|
-
}) => {
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import {setReactNativeStorage}from'@gaddario98/react-native-state';import {setEndpoints}from'@gaddario98/react-queries';import {setReactNativePageConfig}from'@gaddario98/react-native-pages';import {setI18nInitializer,setTranslationAdapter,initializeI18n}from'@gaddario98/react-localization';import {setAppLinks}from'@gaddario98/react-native-utiles';import {KeyboardAvoidingView,Platform}from'react-native';import {setDefaultFormContainer}from'@gaddario98/react-form';var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
|
+
var pages = _ref.pages,
|
|
3
|
+
endpoints = _ref.endpoints,
|
|
4
|
+
localization = _ref.localization,
|
|
5
|
+
links = _ref.links;
|
|
16
6
|
if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
|
|
17
7
|
setI18nInitializer(localization.i18nInitializer);
|
|
18
8
|
}
|
|
@@ -26,15 +16,11 @@ const setReactNativeConfig = ({
|
|
|
26
16
|
setReactNativePageConfig(pages);
|
|
27
17
|
setEndpoints(endpoints);
|
|
28
18
|
setAppLinks(links);
|
|
29
|
-
setDefaultFormContainer(({
|
|
30
|
-
children
|
|
31
|
-
}) => {
|
|
19
|
+
setDefaultFormContainer(function (_ref2) {
|
|
20
|
+
var children = _ref2.children;
|
|
32
21
|
return jsx(KeyboardAvoidingView, {
|
|
33
22
|
behavior: Platform.OS === "ios" ? "padding" : undefined,
|
|
34
23
|
children: children
|
|
35
24
|
});
|
|
36
25
|
});
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export { setReactNativeConfig };
|
|
40
|
-
//# sourceMappingURL=index.mjs.map
|
|
26
|
+
};export{setReactNativeConfig};//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\n"],"names":["setReactNativeConfig","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\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":"2fAuBaA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var expo=require('@gaddario98/expo');Object.keys(expo).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return expo[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/expo/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/expo';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactForm=require('@gaddario98/react-form');Object.keys(reactForm).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactForm[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/form/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-form';//# sourceMappingURL=index.mjs.map
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';var reactAuth=require('@gaddario98/react-auth'),jsxRuntime=require('react/jsx-runtime'),reactNativeState=require('@gaddario98/react-native-state'),reactQueries=require('@gaddario98/react-queries'),reactNativePages=require('@gaddario98/react-native-pages'),reactLocalization=require('@gaddario98/react-localization'),reactNativeUtiles=require('@gaddario98/react-native-utiles'),reactNative=require('react-native'),reactForm=require('@gaddario98/react-form'),expo=require('@gaddario98/expo'),reactNativeLayouts=require('@gaddario98/react-native-layouts'),reactNativeProviders=require('@gaddario98/react-native-providers'),reactNativeTabs=require('@gaddario98/react-native-tabs');var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
|
+
var pages = _ref.pages,
|
|
3
|
+
endpoints = _ref.endpoints,
|
|
4
|
+
localization = _ref.localization,
|
|
5
|
+
links = _ref.links;
|
|
6
|
+
if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
|
|
7
|
+
reactLocalization.setI18nInitializer(localization.i18nInitializer);
|
|
8
|
+
}
|
|
9
|
+
if (localization === null || localization === void 0 ? void 0 : localization.translationAdapter) {
|
|
10
|
+
reactLocalization.setTranslationAdapter(localization.translationAdapter);
|
|
11
|
+
}
|
|
12
|
+
if (localization === null || localization === void 0 ? void 0 : localization.localResources) {
|
|
13
|
+
reactLocalization.initializeI18n(localization.localResources);
|
|
14
|
+
}
|
|
15
|
+
reactNativeState.setReactNativeStorage();
|
|
16
|
+
reactNativePages.setReactNativePageConfig(pages);
|
|
17
|
+
reactQueries.setEndpoints(endpoints);
|
|
18
|
+
reactNativeUtiles.setAppLinks(links);
|
|
19
|
+
reactForm.setDefaultFormContainer(function (_ref2) {
|
|
20
|
+
var children = _ref2.children;
|
|
21
|
+
return jsxRuntime.jsx(reactNative.KeyboardAvoidingView, {
|
|
22
|
+
behavior: reactNative.Platform.OS === "ios" ? "padding" : undefined,
|
|
23
|
+
children: children
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
};exports.setReactNativeConfig=setReactNativeConfig;Object.keys(reactAuth).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactAuth[k]}})});Object.keys(reactNativeState).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeState[k]}})});Object.keys(reactQueries).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactQueries[k]}})});Object.keys(reactNativePages).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativePages[k]}})});Object.keys(reactLocalization).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactLocalization[k]}})});Object.keys(reactNativeUtiles).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeUtiles[k]}})});Object.keys(reactForm).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactForm[k]}})});Object.keys(expo).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return expo[k]}})});Object.keys(reactNativeLayouts).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeLayouts[k]}})});Object.keys(reactNativeProviders).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeProviders[k]}})});Object.keys(reactNativeTabs).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeTabs[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\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":"srBAuBaA,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"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export * from '@gaddario98/react-native-state';
|
|
7
|
-
import { setReactNativePageConfig } from '@gaddario98/react-native-pages';
|
|
8
|
-
export * from '@gaddario98/react-native-pages';
|
|
9
|
-
import { setEndpoints } from '@gaddario98/react-queries';
|
|
10
|
-
export * from '@gaddario98/react-queries';
|
|
11
|
-
import { setAppLinks } from '@gaddario98/react-native-utiles';
|
|
12
|
-
export * from '@gaddario98/react-native-utiles';
|
|
13
|
-
import { setDefaultFormContainer } from '@gaddario98/react-form';
|
|
14
|
-
export * from '@gaddario98/react-form';
|
|
15
|
-
export * from '@gaddario98/react-auth';
|
|
16
|
-
export * from '@gaddario98/expo';
|
|
17
|
-
export * from '@gaddario98/react-native-layouts';
|
|
18
|
-
export * from '@gaddario98/react-native-providers';
|
|
19
|
-
export * from '@gaddario98/react-native-tabs';
|
|
20
|
-
|
|
21
|
-
const setReactNativeConfig = ({
|
|
22
|
-
pages,
|
|
23
|
-
endpoints,
|
|
24
|
-
localization,
|
|
25
|
-
links
|
|
26
|
-
}) => {
|
|
1
|
+
export*from'@gaddario98/react-auth';import {jsx}from'react/jsx-runtime';import {setReactNativeStorage}from'@gaddario98/react-native-state';export*from'@gaddario98/react-native-state';import {setEndpoints}from'@gaddario98/react-queries';export*from'@gaddario98/react-queries';import {setReactNativePageConfig}from'@gaddario98/react-native-pages';export*from'@gaddario98/react-native-pages';import {setI18nInitializer,setTranslationAdapter,initializeI18n}from'@gaddario98/react-localization';export*from'@gaddario98/react-localization';import {setAppLinks}from'@gaddario98/react-native-utiles';export*from'@gaddario98/react-native-utiles';import {KeyboardAvoidingView,Platform}from'react-native';import {setDefaultFormContainer}from'@gaddario98/react-form';export*from'@gaddario98/react-form';export*from'@gaddario98/expo';export*from'@gaddario98/react-native-layouts';export*from'@gaddario98/react-native-providers';export*from'@gaddario98/react-native-tabs';var setReactNativeConfig = function setReactNativeConfig(_ref) {
|
|
2
|
+
var pages = _ref.pages,
|
|
3
|
+
endpoints = _ref.endpoints,
|
|
4
|
+
localization = _ref.localization,
|
|
5
|
+
links = _ref.links;
|
|
27
6
|
if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
|
|
28
7
|
setI18nInitializer(localization.i18nInitializer);
|
|
29
8
|
}
|
|
@@ -37,15 +16,11 @@ const setReactNativeConfig = ({
|
|
|
37
16
|
setReactNativePageConfig(pages);
|
|
38
17
|
setEndpoints(endpoints);
|
|
39
18
|
setAppLinks(links);
|
|
40
|
-
setDefaultFormContainer(({
|
|
41
|
-
children
|
|
42
|
-
}) => {
|
|
19
|
+
setDefaultFormContainer(function (_ref2) {
|
|
20
|
+
var children = _ref2.children;
|
|
43
21
|
return jsx(KeyboardAvoidingView, {
|
|
44
22
|
behavior: Platform.OS === "ios" ? "padding" : undefined,
|
|
45
23
|
children: children
|
|
46
24
|
});
|
|
47
25
|
});
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export { setReactNativeConfig };
|
|
51
|
-
//# sourceMappingURL=index.mjs.map
|
|
26
|
+
};export{setReactNativeConfig};//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\n"],"names":["setReactNativeConfig","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\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":"k8BAuBaA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativeLayouts=require('@gaddario98/react-native-layouts');Object.keys(reactNativeLayouts).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeLayouts[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/layouts/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-layouts';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactLocalization=require('@gaddario98/react-localization');Object.keys(reactLocalization).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactLocalization[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-localization';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativePages=require('@gaddario98/react-native-pages');Object.keys(reactNativePages).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativePages[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/pages/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-pages';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativeProviders=require('@gaddario98/react-native-providers');Object.keys(reactNativeProviders).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeProviders[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-providers';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactQueries=require('@gaddario98/react-queries');Object.keys(reactQueries).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactQueries[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/queries/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-queries';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativeState=require('@gaddario98/react-native-state');Object.keys(reactNativeState).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeState[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/state/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-state';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativeTabs=require('@gaddario98/react-native-tabs');Object.keys(reactNativeTabs).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeTabs[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/tabs/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-tabs';//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var reactNativeUtiles=require('@gaddario98/react-native-utiles');Object.keys(reactNativeUtiles).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return reactNativeUtiles[k]}})});//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utiles/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export*from'@gaddario98/react-native-utiles';//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaddario98/react-native-core",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.16",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
5
6
|
"module": "dist/index.mjs",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
7
|
-
"
|
|
8
|
+
"react-native": "dist/index.js",
|
|
8
9
|
"license": "MIT",
|
|
9
10
|
"files": [
|
|
10
11
|
"dist"
|
|
11
12
|
],
|
|
12
13
|
"scripts": {
|
|
13
|
-
"build": "rollup -c rollup.config.js && rollup -c rollup.dts.config.js"
|
|
14
|
+
"build": "rollup -c rollup.config.js && rollup -c rollup.dts.config.js",
|
|
15
|
+
"prepublishOnly": "yarn build"
|
|
14
16
|
},
|
|
15
17
|
"devDependencies": {
|
|
16
18
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -30,74 +32,100 @@
|
|
|
30
32
|
"typescript": "^5.8.3"
|
|
31
33
|
},
|
|
32
34
|
"dependencies": {
|
|
33
|
-
"@gaddario98/expo": "^1.0.
|
|
34
|
-
"@gaddario98/react-auth": "^1.0.
|
|
35
|
-
"@gaddario98/react-form": "^1.0.
|
|
36
|
-
"@gaddario98/react-localization": "^1.0.
|
|
37
|
-
"@gaddario98/react-native-layouts": "^1.0.
|
|
38
|
-
"@gaddario98/react-native-pages": "^1.0.
|
|
39
|
-
"@gaddario98/react-native-providers": "^1.0.
|
|
40
|
-
"@gaddario98/react-native-state": "^1.0.
|
|
41
|
-
"@gaddario98/react-native-tabs": "^1.0.
|
|
42
|
-
"@gaddario98/react-native-utiles": "^1.0.
|
|
43
|
-
"@gaddario98/react-queries": "^1.0.
|
|
35
|
+
"@gaddario98/expo": "^1.0.15",
|
|
36
|
+
"@gaddario98/react-auth": "^1.0.14",
|
|
37
|
+
"@gaddario98/react-form": "^1.0.18",
|
|
38
|
+
"@gaddario98/react-localization": "^1.0.15",
|
|
39
|
+
"@gaddario98/react-native-layouts": "^1.0.16",
|
|
40
|
+
"@gaddario98/react-native-pages": "^1.0.15",
|
|
41
|
+
"@gaddario98/react-native-providers": "^1.0.14",
|
|
42
|
+
"@gaddario98/react-native-state": "^1.0.13",
|
|
43
|
+
"@gaddario98/react-native-tabs": "^1.0.19",
|
|
44
|
+
"@gaddario98/react-native-utiles": "^1.0.13",
|
|
45
|
+
"@gaddario98/react-queries": "^1.0.19"
|
|
44
46
|
},
|
|
45
47
|
"peerDependencies": {
|
|
46
48
|
"react": ">=18.0.0 <20.0.0",
|
|
47
49
|
"react-native": "^0.81.0"
|
|
48
50
|
},
|
|
49
51
|
"exports": {
|
|
52
|
+
".": {
|
|
53
|
+
"types": "./dist/index.d.ts",
|
|
54
|
+
"import": "./dist/index.mjs",
|
|
55
|
+
"require": "./dist/index.js",
|
|
56
|
+
"default": "./dist/index.js"
|
|
57
|
+
},
|
|
50
58
|
"./auth": {
|
|
59
|
+
"types": "./dist/auth/index.d.ts",
|
|
51
60
|
"import": "./dist/auth/index.mjs",
|
|
52
|
-
"
|
|
61
|
+
"require": "./dist/auth/index.js",
|
|
62
|
+
"default": "./dist/auth/index.js"
|
|
53
63
|
},
|
|
54
64
|
"./config": {
|
|
65
|
+
"types": "./dist/config/index.d.ts",
|
|
55
66
|
"import": "./dist/config/index.mjs",
|
|
56
|
-
"
|
|
67
|
+
"require": "./dist/config/index.js",
|
|
68
|
+
"default": "./dist/config/index.js"
|
|
57
69
|
},
|
|
58
70
|
"./expo": {
|
|
71
|
+
"types": "./dist/expo/index.d.ts",
|
|
59
72
|
"import": "./dist/expo/index.mjs",
|
|
60
|
-
"
|
|
73
|
+
"require": "./dist/expo/index.js",
|
|
74
|
+
"default": "./dist/expo/index.js"
|
|
61
75
|
},
|
|
62
76
|
"./form": {
|
|
77
|
+
"types": "./dist/form/index.d.ts",
|
|
63
78
|
"import": "./dist/form/index.mjs",
|
|
64
|
-
"
|
|
79
|
+
"require": "./dist/form/index.js",
|
|
80
|
+
"default": "./dist/form/index.js"
|
|
65
81
|
},
|
|
66
82
|
"./layouts": {
|
|
83
|
+
"types": "./dist/layouts/index.d.ts",
|
|
67
84
|
"import": "./dist/layouts/index.mjs",
|
|
68
|
-
"
|
|
85
|
+
"require": "./dist/layouts/index.js",
|
|
86
|
+
"default": "./dist/layouts/index.js"
|
|
69
87
|
},
|
|
70
88
|
"./localization": {
|
|
89
|
+
"types": "./dist/localization/index.d.ts",
|
|
71
90
|
"import": "./dist/localization/index.mjs",
|
|
72
|
-
"
|
|
91
|
+
"require": "./dist/localization/index.js",
|
|
92
|
+
"default": "./dist/localization/index.js"
|
|
73
93
|
},
|
|
74
94
|
"./pages": {
|
|
95
|
+
"types": "./dist/pages/index.d.ts",
|
|
75
96
|
"import": "./dist/pages/index.mjs",
|
|
76
|
-
"
|
|
97
|
+
"require": "./dist/pages/index.js",
|
|
98
|
+
"default": "./dist/pages/index.js"
|
|
77
99
|
},
|
|
78
100
|
"./providers": {
|
|
101
|
+
"types": "./dist/providers/index.d.ts",
|
|
79
102
|
"import": "./dist/providers/index.mjs",
|
|
80
|
-
"
|
|
103
|
+
"require": "./dist/providers/index.js",
|
|
104
|
+
"default": "./dist/providers/index.js"
|
|
81
105
|
},
|
|
82
106
|
"./queries": {
|
|
107
|
+
"types": "./dist/queries/index.d.ts",
|
|
83
108
|
"import": "./dist/queries/index.mjs",
|
|
84
|
-
"
|
|
109
|
+
"require": "./dist/queries/index.js",
|
|
110
|
+
"default": "./dist/queries/index.js"
|
|
85
111
|
},
|
|
86
112
|
"./state": {
|
|
113
|
+
"types": "./dist/state/index.d.ts",
|
|
87
114
|
"import": "./dist/state/index.mjs",
|
|
88
|
-
"
|
|
115
|
+
"require": "./dist/state/index.js",
|
|
116
|
+
"default": "./dist/state/index.js"
|
|
89
117
|
},
|
|
90
118
|
"./tabs": {
|
|
119
|
+
"types": "./dist/tabs/index.d.ts",
|
|
91
120
|
"import": "./dist/tabs/index.mjs",
|
|
92
|
-
"
|
|
121
|
+
"require": "./dist/tabs/index.js",
|
|
122
|
+
"default": "./dist/tabs/index.js"
|
|
93
123
|
},
|
|
94
124
|
"./utiles": {
|
|
125
|
+
"types": "./dist/utiles/index.d.ts",
|
|
95
126
|
"import": "./dist/utiles/index.mjs",
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
".": {
|
|
99
|
-
"import": "./dist/index.mjs",
|
|
100
|
-
"types": "./dist/index.d.ts"
|
|
127
|
+
"require": "./dist/utiles/index.js",
|
|
128
|
+
"default": "./dist/utiles/index.js"
|
|
101
129
|
}
|
|
102
130
|
},
|
|
103
131
|
"repository": {
|