@evlop/native-components 1.0.151 → 1.0.153
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/src/RenderPage/RenderPageBody.d.ts.map +1 -1
- package/dist/src/RenderPage/RenderPageBody.js +25 -8
- package/dist/src/RenderPage/RenderPageBody.js.map +1 -1
- package/dist/src/RenderTabs/index.d.ts +14 -0
- package/dist/src/RenderTabs/index.d.ts.map +1 -0
- package/dist/src/RenderTabs/index.js +79 -0
- package/dist/src/RenderTabs/index.js.map +1 -0
- package/package.json +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPageBody.d.ts","sourceRoot":"","sources":["../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderPageBody.d.ts","sourceRoot":"","sources":["../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":";AAKA,QAAA,MAAM,cAAc;;iBA0CnB,CAAA;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -29,22 +29,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
const react_1 = __importStar(require("react"));
|
|
30
30
|
const RenderBlocks_1 = __importDefault(require("../RenderBlocks"));
|
|
31
31
|
const commons_1 = require("@evlop/commons");
|
|
32
|
+
const RenderTabs_1 = __importDefault(require("../RenderTabs"));
|
|
32
33
|
const RenderPageBody = ({ page }) => {
|
|
33
34
|
const scope = (0, commons_1.useScope)();
|
|
34
35
|
const appConfig = (0, commons_1.useConfig)((config) => config.app);
|
|
35
36
|
const headerBlocks = appConfig === null || appConfig === void 0 ? void 0 : appConfig.headerBlocks;
|
|
36
37
|
const bodyBlocks = page === null || page === void 0 ? void 0 : page.blocks;
|
|
38
|
+
const pageTabs = page === null || page === void 0 ? void 0 : page.tabs;
|
|
37
39
|
const footerBlocks = appConfig === null || appConfig === void 0 ? void 0 : appConfig.footerBlocks;
|
|
38
40
|
// Filter blocks based on scope and visible condition
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
return (0, react_1.useMemo)(() => {
|
|
42
|
+
var _a, _b, _c;
|
|
43
|
+
const headerBlocksToRender = (_a = headerBlocks === null || headerBlocks === void 0 ? void 0 : headerBlocks.filter((block) => (0, commons_1.checkCondition)(scope, block.visible, true))) !== null && _a !== void 0 ? _a : [];
|
|
44
|
+
const footerBlocksToRender = (_b = footerBlocks === null || footerBlocks === void 0 ? void 0 : footerBlocks.filter((block) => (0, commons_1.checkCondition)(scope, block.visible, true))) !== null && _b !== void 0 ? _b : [];
|
|
45
|
+
if (pageTabs) {
|
|
46
|
+
const tabsToRender = pageTabs.map((tab, index) => {
|
|
47
|
+
return Object.assign(Object.assign({}, tab), { blocks: index === 0 ? bodyBlocks : tab.blocks });
|
|
48
|
+
}).map((tab) => {
|
|
49
|
+
var _a, _b;
|
|
50
|
+
return (Object.assign(Object.assign({}, tab), { blocks: [
|
|
51
|
+
...headerBlocksToRender,
|
|
52
|
+
...(_b = (_a = tab.blocks) === null || _a === void 0 ? void 0 : _a.filter((block) => (0, commons_1.checkCondition)(scope, block.visible, true))) !== null && _b !== void 0 ? _b : [],
|
|
53
|
+
...footerBlocksToRender
|
|
54
|
+
] }));
|
|
55
|
+
});
|
|
56
|
+
return react_1.default.createElement(RenderTabs_1.default, { tabs: tabsToRender, animatedScrollPostion: scope === null || scope === void 0 ? void 0 : scope.animatedPageScrollPosition });
|
|
57
|
+
}
|
|
58
|
+
const blocksToRender = [
|
|
59
|
+
...headerBlocksToRender,
|
|
60
|
+
...(_c = bodyBlocks === null || bodyBlocks === void 0 ? void 0 : bodyBlocks.filter((block) => (0, commons_1.checkCondition)(scope, block.visible, true))) !== null && _c !== void 0 ? _c : [],
|
|
61
|
+
...footerBlocksToRender
|
|
44
62
|
];
|
|
45
|
-
return blocks === null ||
|
|
46
|
-
}, [headerBlocks, bodyBlocks, footerBlocks, scope]);
|
|
47
|
-
return react_1.default.createElement(RenderBlocks_1.default, { blocks: blocksToRender, animatedScrollPostion: scope === null || scope === void 0 ? void 0 : scope.animatedPageScrollPosition, disableScrollview: page === null || page === void 0 ? void 0 : page.disableScrollview });
|
|
63
|
+
return react_1.default.createElement(RenderBlocks_1.default, { blocks: blocksToRender, animatedScrollPostion: scope === null || scope === void 0 ? void 0 : scope.animatedPageScrollPosition, disableScrollview: page === null || page === void 0 ? void 0 : page.disableScrollview });
|
|
64
|
+
}, [headerBlocks, bodyBlocks, pageTabs, footerBlocks, scope]);
|
|
48
65
|
};
|
|
49
66
|
exports.default = RenderPageBody;
|
|
50
67
|
//# sourceMappingURL=RenderPageBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPageBody.js","sourceRoot":"","sources":["../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AACvC,mEAA2C;AAC3C,4CAAqE;
|
|
1
|
+
{"version":3,"file":"RenderPageBody.js","sourceRoot":"","sources":["../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AACvC,mEAA2C;AAC3C,4CAAqE;AACrE,+DAAuC;AAEvC,MAAM,cAAc,GAAG,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE;IAE9B,MAAM,KAAK,GAAG,IAAA,kBAAQ,GAAE,CAAC;IACzB,MAAM,SAAS,GAAG,IAAA,mBAAS,EAAC,CAAC,MAAU,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAExD,MAAM,YAAY,GAAG,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,CAAC;IAC7C,MAAM,UAAU,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI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E,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,0BAA0B,GAAI,CAAA;SACtG;QAED,MAAM,cAAc,GAAG;YACnB,GAAG,oBAAoB;YACvB,GAAG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,IAAA,wBAAc,EAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,mCAAI,EAAE;YACvF,GAAG,oBAAoB;SAC1B,CAAA;QAED,OAAO,8BAAC,sBAAY,IAAC,MAAM,EAAE,cAAc,EAAE,qBAAqB,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,0BAA0B,EAAE,iBAAiB,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,iBAAiB,GAAI,CAAC;IAC1J,CAAC,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC,CAAA;AACjE,CAAC,CAAA;AAED,kBAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Route } from 'react-native-tab-view';
|
|
3
|
+
interface Tab extends Route {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
blocks: any[];
|
|
7
|
+
}
|
|
8
|
+
interface RenderTabsProps {
|
|
9
|
+
tabs: Tab[];
|
|
10
|
+
animatedScrollPostion?: any;
|
|
11
|
+
}
|
|
12
|
+
declare function RenderTabs({ tabs, animatedScrollPostion }: RenderTabsProps): JSX.Element;
|
|
13
|
+
export default RenderTabs;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/RenderTabs/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAA6B,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMzE,UAAU,GAAI,SAAQ,KAAK;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;CACjB;AAED,UAAU,eAAe;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,qBAAqB,CAAC,EAAE,GAAG,CAAC;CAC/B;AAMD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,EAAE,eAAe,eA8DnE;AAgBD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const react_1 = __importStar(require("react"));
|
|
30
|
+
const react_native_tab_view_1 = require("react-native-tab-view");
|
|
31
|
+
const react_native_1 = require("react-native");
|
|
32
|
+
const RenderBlocks_1 = __importDefault(require("../RenderBlocks"));
|
|
33
|
+
const commons_1 = require("@evlop/commons");
|
|
34
|
+
const native_1 = require("@react-navigation/native");
|
|
35
|
+
function RenderTabs({ tabs, animatedScrollPostion }) {
|
|
36
|
+
var _a, _b, _c, _d;
|
|
37
|
+
const layout = (0, react_native_1.useWindowDimensions)();
|
|
38
|
+
const [index, setIndex] = (0, react_1.useState)(0);
|
|
39
|
+
const theme = (0, commons_1.useTheme)();
|
|
40
|
+
const route = (0, native_1.useRoute)();
|
|
41
|
+
const tabIdFromParams = (_a = route.params) === null || _a === void 0 ? void 0 : _a.tab;
|
|
42
|
+
const tabBackgroundColor = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b['body-background'];
|
|
43
|
+
const tabTintColor = (_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c['primary'];
|
|
44
|
+
const borderColor = (_d = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _d === void 0 ? void 0 : _d['gray-200'];
|
|
45
|
+
const routes = (0, react_1.useMemo)(() => tabs.map((tab) => ({ key: tab.id, title: tab.label, blocks: tab.blocks })), [tabs]);
|
|
46
|
+
// Watch for tab parameter changes
|
|
47
|
+
(0, react_1.useEffect)(() => {
|
|
48
|
+
if (!tabIdFromParams)
|
|
49
|
+
return;
|
|
50
|
+
const tabIndex = routes.findIndex(route => route.key === tabIdFromParams);
|
|
51
|
+
if (tabIndex >= 0)
|
|
52
|
+
setIndex(tabIndex);
|
|
53
|
+
}, [tabIdFromParams]);
|
|
54
|
+
const tabBarStyles = (0, react_1.useMemo)(() => ({
|
|
55
|
+
tabBar: [styles.tabBar, { backgroundColor: tabBackgroundColor }],
|
|
56
|
+
label: [styles.label, { color: tabTintColor }],
|
|
57
|
+
indicator: [styles.indicator, { backgroundColor: tabTintColor }]
|
|
58
|
+
}), [tabBackgroundColor, tabTintColor]);
|
|
59
|
+
const renderScene = ({ route }) => {
|
|
60
|
+
return (react_1.default.createElement(RenderBlocks_1.default, { blocks: route.blocks, animatedScrollPostion: animatedScrollPostion }));
|
|
61
|
+
};
|
|
62
|
+
const renderTabBar = (props) => (react_1.default.createElement(react_native_tab_view_1.TabBar, Object.assign({}, props, { scrollEnabled: false, style: tabBarStyles.tabBar, labelStyle: tabBarStyles.label, indicatorStyle: tabBarStyles.indicator, activeColor: tabTintColor, inactiveColor: tabTintColor })));
|
|
63
|
+
return (react_1.default.createElement(react_native_tab_view_1.TabView, { navigationState: { index, routes }, tabBarPosition: "top", lazy: true, renderScene: renderScene, onIndexChange: setIndex, initialLayout: { width: layout.width }, renderTabBar: renderTabBar }));
|
|
64
|
+
}
|
|
65
|
+
const styles = react_native_1.StyleSheet.create({
|
|
66
|
+
tabBar: {
|
|
67
|
+
elevation: 0,
|
|
68
|
+
shadowOpacity: 0,
|
|
69
|
+
},
|
|
70
|
+
indicator: {
|
|
71
|
+
height: 2,
|
|
72
|
+
},
|
|
73
|
+
label: {
|
|
74
|
+
fontWeight: '600',
|
|
75
|
+
textTransform: 'none',
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
exports.default = RenderTabs;
|
|
79
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/RenderTabs/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA4D;AAC5D,iEAAyE;AACzE,+CAA+D;AAC/D,mEAA2C;AAC3C,4CAA0C;AAC1C,qDAAoD;AAiBpD,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE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AE,CAAC;QACZ,aAAa,EAAE,CAAC;KACnB;IACD,SAAS,EAAE;QACP,MAAM,EAAE,CAAC;KACZ;IACD,KAAK,EAAE;QACH,UAAU,EAAE,KAAK;QACjB,aAAa,EAAE,MAAM;KACxB;CACJ,CAAC,CAAC;AAEH,kBAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evlop/native-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.153",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"react-native": "^0.76.1",
|
|
24
24
|
"react-native-elements": "^3.1.0",
|
|
25
25
|
"react-native-safe-area-context": "^4.3.1",
|
|
26
|
+
"react-native-tab-view": "^4.1.0",
|
|
26
27
|
"react-native-vector-icons": "^10.0.3",
|
|
27
28
|
"react-native-webview": "^11.0.2",
|
|
28
29
|
"styled-components": "^4.4.1",
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
"react-native": "^0.76.1",
|
|
45
46
|
"react-native-elements": "^3.1.0",
|
|
46
47
|
"react-native-safe-area-context": "^4.3.1",
|
|
48
|
+
"react-native-tab-view": "^4.1.0",
|
|
47
49
|
"react-native-vector-icons": "^10.0.3",
|
|
48
50
|
"react-native-webview": "^11.0.2",
|
|
49
51
|
"styled-components": "^4.4.1",
|