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