@plusscommunities/pluss-maintenance-app-forms 6.0.10 → 6.0.11-auth.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/module/actions/JobActions.js +44 -1
  2. package/dist/module/actions/JobActions.js.map +1 -1
  3. package/dist/module/actions/index.js +1 -1
  4. package/dist/module/actions/index.js.map +1 -1
  5. package/dist/module/actions/types.js +4 -1
  6. package/dist/module/actions/types.js.map +1 -1
  7. package/dist/module/apis/index.js +4 -1
  8. package/dist/module/apis/index.js.map +1 -1
  9. package/dist/module/apis/maintenanceActions.js +61 -38
  10. package/dist/module/apis/maintenanceActions.js.map +1 -1
  11. package/dist/module/apis/userActions.js +23 -0
  12. package/dist/module/apis/userActions.js.map +1 -0
  13. package/dist/module/components/FilterPopupMenu.js +82 -58
  14. package/dist/module/components/FilterPopupMenu.js.map +1 -1
  15. package/dist/module/components/MaintenanceList.js +84 -92
  16. package/dist/module/components/MaintenanceList.js.map +1 -1
  17. package/dist/module/components/MaintenanceListItem.js +94 -80
  18. package/dist/module/components/MaintenanceListItem.js.map +1 -1
  19. package/dist/module/components/MaintenanceWidgetItem.js +39 -38
  20. package/dist/module/components/MaintenanceWidgetItem.js.map +1 -1
  21. package/dist/module/components/PrioritySelectorPopup.js +83 -0
  22. package/dist/module/components/PrioritySelectorPopup.js.map +1 -0
  23. package/dist/module/components/StatusSelectorPopup.js +23 -27
  24. package/dist/module/components/StatusSelectorPopup.js.map +1 -1
  25. package/dist/module/components/WidgetLarge.js +2 -2
  26. package/dist/module/components/WidgetLarge.js.map +1 -1
  27. package/dist/module/components/WidgetSmall.js +25 -20
  28. package/dist/module/components/WidgetSmall.js.map +1 -1
  29. package/dist/module/core.config.js +2 -3
  30. package/dist/module/core.config.js.map +1 -1
  31. package/dist/module/feature.config.js +17 -17
  32. package/dist/module/feature.config.js.map +1 -1
  33. package/dist/module/helper.js +41 -26
  34. package/dist/module/helper.js.map +1 -1
  35. package/dist/module/index.js +12 -10
  36. package/dist/module/index.js.map +1 -1
  37. package/dist/module/reducers/JobsReducer.js +36 -6
  38. package/dist/module/reducers/JobsReducer.js.map +1 -1
  39. package/dist/module/screens/JobTypePicker.js +18 -17
  40. package/dist/module/screens/JobTypePicker.js.map +1 -1
  41. package/dist/module/screens/MaintenancePage.js +10 -10
  42. package/dist/module/screens/MaintenancePage.js.map +1 -1
  43. package/dist/module/screens/MaintenanceUserPicker.js +219 -0
  44. package/dist/module/screens/MaintenanceUserPicker.js.map +1 -0
  45. package/dist/module/screens/RequestDetail.js +410 -142
  46. package/dist/module/screens/RequestDetail.js.map +1 -1
  47. package/dist/module/screens/RequestNotes.js +462 -52
  48. package/dist/module/screens/RequestNotes.js.map +1 -1
  49. package/dist/module/screens/ServiceRequest.js +519 -181
  50. package/dist/module/screens/ServiceRequest.js.map +1 -1
  51. package/dist/module/values.config.a.js +30 -23
  52. package/dist/module/values.config.a.js.map +1 -1
  53. package/dist/module/values.config.default.js +35 -28
  54. package/dist/module/values.config.default.js.map +1 -1
  55. package/dist/module/values.config.enquiry.js +43 -0
  56. package/dist/module/values.config.enquiry.js.map +1 -0
  57. package/dist/module/values.config.feedback.js +43 -0
  58. package/dist/module/values.config.feedback.js.map +1 -0
  59. package/dist/module/values.config.food.js +43 -0
  60. package/dist/module/values.config.food.js.map +1 -0
  61. package/dist/module/values.config.forms.js +35 -28
  62. package/dist/module/values.config.forms.js.map +1 -1
  63. package/dist/module/values.config.js +35 -28
  64. package/dist/module/values.config.js.map +1 -1
  65. package/package.json +55 -51
  66. package/src/actions/JobActions.js +75 -16
  67. package/src/actions/index.js +1 -1
  68. package/src/actions/types.js +4 -1
  69. package/src/apis/index.js +6 -1
  70. package/src/apis/maintenanceActions.js +189 -160
  71. package/src/apis/userActions.js +21 -0
  72. package/src/components/FilterPopupMenu.js +316 -230
  73. package/src/components/MaintenanceList.js +391 -326
  74. package/src/components/MaintenanceListItem.js +348 -274
  75. package/src/components/MaintenanceWidgetItem.js +146 -120
  76. package/src/components/PrioritySelectorPopup.js +93 -0
  77. package/src/components/StatusSelectorPopup.js +82 -76
  78. package/src/components/WidgetLarge.js +5 -5
  79. package/src/components/WidgetSmall.js +154 -131
  80. package/src/core.config.js +25 -3
  81. package/src/feature.config.js +62 -62
  82. package/src/helper.js +67 -30
  83. package/src/index.js +22 -20
  84. package/src/reducers/JobsReducer.js +85 -41
  85. package/src/screens/JobTypePicker.js +116 -92
  86. package/src/screens/MaintenancePage.js +89 -80
  87. package/src/screens/MaintenanceUserPicker.js +233 -0
  88. package/src/screens/RequestDetail.js +1354 -892
  89. package/src/screens/RequestNotes.js +946 -408
  90. package/src/screens/ServiceRequest.js +1808 -1222
  91. package/src/values.config.a.js +33 -26
  92. package/src/values.config.default.js +39 -32
  93. package/src/values.config.enquiry.js +43 -0
  94. package/src/values.config.feedback.js +43 -0
  95. package/src/values.config.food.js +43 -0
  96. package/src/values.config.forms.js +39 -32
  97. package/src/values.config.js +39 -32
  98. package/dist/module/values.config.b.js +0 -30
  99. package/dist/module/values.config.b.js.map +0 -1
  100. package/dist/module/values.config.c.js +0 -30
  101. package/dist/module/values.config.c.js.map +0 -1
  102. package/dist/module/values.config.d.js +0 -30
  103. package/dist/module/values.config.d.js.map +0 -1
  104. package/src/values.config.b.js +0 -30
  105. package/src/values.config.c.js +0 -30
  106. package/src/values.config.d.js +0 -30
@@ -1,51 +1,95 @@
1
1
  /* eslint-disable no-param-reassign */
2
- import _ from 'lodash';
3
- import { REHYDRATE } from 'redux-persist';
4
- import { JOBS_LOADED, JOB_ADDED, JOBS_ADDED } from '../actions/types';
5
- import { ActionTypes } from '../core.config';
6
- import { values } from '../values.config';
2
+ import _ from "lodash";
3
+ import { REHYDRATE } from "redux-persist";
4
+ import {
5
+ JOBS_LOADED,
6
+ JOB_ADDED,
7
+ JOBS_ADDED,
8
+ JOBS_STATUSES_LOADED,
9
+ JOBS_HIDE_SEEN,
10
+ JOB_FILTER_LOADED,
11
+ } from "../actions/types";
12
+ import { ActionTypes } from "../core.config";
13
+ import { values } from "../values.config";
7
14
 
8
15
  const REDUCER_KEY = values.reducerKey;
9
16
 
10
17
  const INITIAL_STATE = {
11
- jobs: [],
18
+ jobs: [],
19
+ jobstatuses: [],
20
+ hideSeen: false,
21
+ jobfilters: {
22
+ status: "",
23
+ statusText: "",
24
+ priority: "",
25
+ priorityText: "",
26
+ type: "",
27
+ assignee: "",
28
+ assigneeName: "",
29
+ },
12
30
  };
13
31
 
14
32
  export default (state = INITIAL_STATE, action) => {
15
- let updateJobs = [];
16
- let index = 0;
33
+ let updateJobs = [];
34
+ let index = 0;
35
+ let jobstatuses = [];
17
36
 
18
- switch (action.type) {
19
- case ActionTypes.LOGOUT:
20
- case ActionTypes.CHANGE_ROLE:
21
- return INITIAL_STATE;
22
- case JOBS_LOADED:
23
- return { ...state, jobs: action.payload.map(job => ({ title: job.title || job.description, ...job })) };
24
- case JOBS_ADDED:
25
- updateJobs = action.payload.map(job => ({ title: job.title || job.description, ...job }));
26
- updateJobs = _.unionWith(updateJobs, state.jobs, (j1, j2) => {
27
- return j1.id === j2.id;
28
- });
29
- return { ...state, jobs: updateJobs };
30
- case JOB_ADDED:
31
- updateJobs = [...state.jobs];
32
- index = updateJobs.findIndex(item => item.id === action.payload.id);
33
- if (index > -1) {
34
- updateJobs[index] = action.payload;
35
- } else {
36
- updateJobs.push(action.payload);
37
- }
38
- return { ...state, jobs: updateJobs };
39
- case REHYDRATE:
40
- if (!action.payload) return state;
41
- if (action.payload[REDUCER_KEY]) {
42
- if (action.payload[REDUCER_KEY].jobs == null) {
43
- action.payload[REDUCER_KEY].jobs = [];
44
- }
45
- return action.payload[REDUCER_KEY];
46
- }
47
- return state;
48
- default:
49
- return state;
50
- }
37
+ switch (action.type) {
38
+ case ActionTypes.LOGOUT:
39
+ case ActionTypes.CHANGE_ROLE:
40
+ return INITIAL_STATE;
41
+ case JOBS_LOADED:
42
+ return {
43
+ ...state,
44
+ jobs: action.payload.map((job) => ({
45
+ title: job.title || job.description,
46
+ ...job,
47
+ })),
48
+ };
49
+ case JOBS_ADDED:
50
+ updateJobs = action.payload.map((job) => ({
51
+ title: job.title || job.description,
52
+ ...job,
53
+ }));
54
+ updateJobs = _.unionWith(updateJobs, state.jobs, (j1, j2) => {
55
+ return j1.id === j2.id;
56
+ });
57
+ return { ...state, jobs: updateJobs };
58
+ case JOB_ADDED:
59
+ updateJobs = [...state.jobs];
60
+ index = updateJobs.findIndex((item) => item.id === action.payload.id);
61
+ if (index > -1) {
62
+ updateJobs[index] = action.payload;
63
+ } else {
64
+ updateJobs.push(action.payload);
65
+ }
66
+ return { ...state, jobs: updateJobs };
67
+ case JOBS_STATUSES_LOADED:
68
+ jobstatuses = _.orderBy(
69
+ _.unionWith(action.payload, state.jobstatuses, (v1, v2) => {
70
+ return v1 != null && v2 != null && v1.text === v2.text;
71
+ }),
72
+ "order",
73
+ "asc",
74
+ );
75
+ return { ...state, jobstatuses };
76
+ case JOBS_HIDE_SEEN:
77
+ return { ...state, hideSeen: action.payload };
78
+ case JOB_FILTER_LOADED:
79
+ return {
80
+ ...state,
81
+ jobfilters: action.payload || INITIAL_STATE.jobfilters,
82
+ };
83
+ case REHYDRATE:
84
+ if (!action.payload) return state;
85
+ if (action.payload[REDUCER_KEY]) {
86
+ if (action.payload[REDUCER_KEY].jobs == null) {
87
+ action.payload[REDUCER_KEY].jobs = [];
88
+ }
89
+ return action.payload[REDUCER_KEY];
90
+ }
91
+ return state;
92
+ default:
93
+ return state;
94
+ }
51
95
  };
@@ -1,107 +1,131 @@
1
- import React, { Component } from 'react';
2
- import _ from 'lodash';
3
- import { TouchableOpacity, View, ScrollView, Text } from 'react-native';
4
- import { connect } from 'react-redux';
5
- import { Icon } from 'react-native-elements';
6
- import { Services } from '../feature.config';
7
- import { Components, Colours } from '../core.config';
1
+ import React, { Component } from "react";
2
+ import _ from "lodash";
3
+ import { TouchableOpacity, View, ScrollView } from "react-native";
4
+ import { Text } from "@plusscommunities/pluss-core-app/components";
5
+ import { connect } from "react-redux";
6
+ import { Icon } from "@rneui/themed";
7
+ import { Services } from "../feature.config";
8
+ import { Components, Colours } from "../core.config";
8
9
 
9
10
  class JobTypePicker extends Component {
10
- state = {
11
- currentType: null,
12
- };
11
+ state = {
12
+ currentType: null,
13
+ };
13
14
 
14
- UNSAFE_componentWillMount() {
15
- this.setState({ currentType: this.props.currentType });
16
- }
15
+ UNSAFE_componentWillMount() {
16
+ this.setState({ currentType: this.props.currentType });
17
+ }
17
18
 
18
- onPressBack() {
19
- Services.navigation.goBack();
20
- }
19
+ onPressBack() {
20
+ Services.navigation.goBack();
21
+ }
21
22
 
22
- onTypePress(type) {
23
- this.props.onSelectType(type);
24
- this.setState({ currentType: type });
25
- setTimeout(() => {
26
- this.onPressBack();
27
- }, 200);
28
- }
23
+ onTypePress(type) {
24
+ this.props.onSelectType(type);
25
+ this.setState({ currentType: type });
26
+ setTimeout(() => {
27
+ this.onPressBack();
28
+ }, 200);
29
+ }
29
30
 
30
- renderMain() {
31
- if (_.isEmpty(this.props.types)) {
32
- return (
33
- <View style={{ marginTop: 16 }}>
34
- <Components.Spinner />
35
- </View>
36
- );
37
- }
31
+ renderMain() {
32
+ if (_.isEmpty(this.props.types)) {
33
+ return (
34
+ <View style={{ marginTop: 16 }}>
35
+ <Components.Spinner />
36
+ </View>
37
+ );
38
+ }
38
39
 
39
- return <Components.FormCard style={{ marginTop: 16 }}>{this.renderOptions()}</Components.FormCard>;
40
- }
40
+ return (
41
+ <Components.FormCard style={{ marginTop: 16 }}>
42
+ {this.renderOptions()}
43
+ </Components.FormCard>
44
+ );
45
+ }
41
46
 
42
- renderOptions() {
43
- return this.props.types.map((rep, index) => {
44
- return (
45
- <TouchableOpacity key={index} onPress={this.onTypePress.bind(this, rep.typeName)}>
46
- <Components.FormCardSection label={rep.typeName} labelStyle={{ height: 0, margin: 0 }} hasUnderline hasContent>
47
- <View style={styles.labelContainer}>
48
- <Text style={styles.labelText}>{rep.typeName}</Text>
49
- <Icon
50
- name="check-circle"
51
- //style={styles.uploadButtonInner}
52
- type="font-awesome"
53
- iconStyle={[{ color: '#d5d9e0', fontSize: 20 }, rep.typeName === this.state.currentType && { color: Colours.COLOUR_GREEN }]}
54
- />
55
- </View>
56
- {!_.isEmpty(rep.description) && <Text style={styles.description}>{rep.description}</Text>}
57
- </Components.FormCardSection>
58
- </TouchableOpacity>
59
- );
60
- });
61
- }
47
+ renderOptions() {
48
+ return this.props.types.map((rep, index) => {
49
+ return (
50
+ <TouchableOpacity
51
+ key={index}
52
+ onPress={this.onTypePress.bind(this, rep.typeName)}
53
+ >
54
+ <Components.FormCardSection
55
+ label={rep.typeName}
56
+ labelStyle={{ height: 0, margin: 0 }}
57
+ hasUnderline
58
+ hasContent
59
+ >
60
+ <View style={styles.labelContainer}>
61
+ <Text style={styles.labelText}>{rep.typeName}</Text>
62
+ <Icon
63
+ name="check-circle"
64
+ //style={styles.uploadButtonInner}
65
+ type="font-awesome"
66
+ iconStyle={[
67
+ { color: "#d5d9e0", fontSize: 20 },
68
+ rep.typeName === this.state.currentType && {
69
+ color: Colours.COLOUR_GREEN,
70
+ },
71
+ ]}
72
+ />
73
+ </View>
74
+ {!_.isEmpty(rep.description) && (
75
+ <Text style={styles.description}>{rep.description}</Text>
76
+ )}
77
+ </Components.FormCardSection>
78
+ </TouchableOpacity>
79
+ );
80
+ });
81
+ }
62
82
 
63
- render() {
64
- return (
65
- <View style={styles.container}>
66
- <Components.Header leftIcon="angle-left" onPressLeft={this.onPressBack.bind(this)} text="Select type" />
67
- <ScrollView style={{ flex: 1 }}>{this.renderMain()}</ScrollView>
68
- </View>
69
- );
70
- }
83
+ render() {
84
+ return (
85
+ <View style={styles.container}>
86
+ <Components.Header
87
+ leftIcon="angle-left"
88
+ onPressLeft={this.onPressBack.bind(this)}
89
+ text="Select type"
90
+ />
91
+ <ScrollView style={{ flex: 1 }}>{this.renderMain()}</ScrollView>
92
+ </View>
93
+ );
94
+ }
71
95
  }
72
96
 
73
97
  const styles = {
74
- container: {
75
- flex: 1,
76
- position: 'relative',
77
- backgroundColor: '#f0f0f5',
78
- },
79
- row: {
80
- flexDirection: 'row',
81
- alignItems: 'center',
82
- minHeight: 22,
83
- },
84
- text: {
85
- flex: 1,
86
- fontFamily: 'sf-regular',
87
- fontSize: 14,
88
- color: Colours.TEXT_DARK,
89
- },
90
- labelContainer: {
91
- flexDirection: 'row',
92
- justifyContent: 'space-between',
93
- },
94
- labelText: {
95
- fontFamily: 'sf-medium',
96
- fontSize: 16,
97
- color: Colours.TEXT_DARK,
98
- },
99
- description: {
100
- marginTop: 5,
101
- fontSize: 14,
102
- fontFamily: 'sf-regular',
103
- color: Colours.TEXT_DARK,
104
- },
98
+ container: {
99
+ flex: 1,
100
+ position: "relative",
101
+ backgroundColor: "#f0f0f5",
102
+ },
103
+ row: {
104
+ flexDirection: "row",
105
+ alignItems: "center",
106
+ minHeight: 22,
107
+ },
108
+ text: {
109
+ flex: 1,
110
+ fontFamily: "sf-regular",
111
+ fontSize: 14,
112
+ color: Colours.TEXT_DARK,
113
+ },
114
+ labelContainer: {
115
+ flexDirection: "row",
116
+ justifyContent: "space-between",
117
+ },
118
+ labelText: {
119
+ fontFamily: "sf-medium",
120
+ fontSize: 16,
121
+ color: Colours.TEXT_DARK,
122
+ },
123
+ description: {
124
+ marginTop: 5,
125
+ fontSize: 14,
126
+ fontFamily: "sf-regular",
127
+ color: Colours.TEXT_DARK,
128
+ },
105
129
  };
106
130
 
107
131
  export default connect(null, {})(JobTypePicker);
@@ -1,96 +1,105 @@
1
- import React, { Component } from 'react';
2
- import { View, StyleSheet } from 'react-native';
3
- import { connect } from 'react-redux';
4
- import _ from 'lodash';
5
- import MaintenanceList from '../components/MaintenanceList';
6
- import { Services, BaseComponents } from '../feature.config';
7
- import { Components, Helper, Styles, Config } from '../core.config';
8
- import { values } from '../values.config';
1
+ import React, { Component } from "react";
2
+ import { View, StyleSheet } from "react-native";
3
+ import { connect } from "react-redux";
4
+ import _ from "lodash";
5
+ import MaintenanceList from "../components/MaintenanceList";
6
+ import { Services, BaseComponents } from "../feature.config";
7
+ import { Components, Helper, Styles, Config } from "../core.config";
8
+ import { values } from "../values.config";
9
9
 
10
10
  class MaintenancePage extends Component {
11
- constructor(props) {
12
- super(props);
13
- this.state = {
14
- isHomeTab: false,
15
- loading: false,
16
- };
17
- }
11
+ constructor(props) {
12
+ super(props);
13
+ this.state = {
14
+ isHomeTab: false,
15
+ loading: false,
16
+ };
17
+ }
18
18
 
19
- componentDidMount() {
20
- // console.log('!Services.navigation.getParentRoute()', !Services.navigation.getParentRoute());
21
- this.setState({ isHomeTab: !Services.navigation.getParentRoute() });
22
- }
19
+ componentDidMount() {
20
+ // console.log('!Services.navigation.getParentRoute()', !Services.navigation.getParentRoute());
21
+ this.setState({ isHomeTab: !Services.navigation.getParentRoute() });
22
+ }
23
23
 
24
- onPressBack = () => {
25
- Services.navigation.goBack();
26
- };
24
+ onPressBack = () => {
25
+ Services.navigation.goBack();
26
+ };
27
27
 
28
- onLoadingChanged = loading => {
29
- this.setState({ loading });
30
- };
28
+ onLoadingChanged = (loading) => {
29
+ this.setState({ loading });
30
+ };
31
31
 
32
- renderHeader() {
33
- const title = this.props.title || this.props.strings[`${values.featureKey}_textFeatureTitle`] || values.textFeatureTitle;
34
- if (this.state.isHomeTab) {
35
- return (
36
- <Components.Header
37
- text={title}
38
- rightContent={
39
- _.includes(this.props.user.hidden, 'notifications') ? null : (
40
- <View style={styles.notificationContainer}>
41
- <BaseComponents.NotificationBell
42
- colourBrandingHeader={this.props.colourBrandingHeader}
43
- containerStyle={Styles.notificationBell}
44
- />
45
- </View>
46
- )
47
- }
48
- />
49
- );
50
- }
51
- return <Components.Header leftIcon="angle-left" onPressLeft={this.onPressBack} text={values.textFeatureTitle} />;
52
- }
32
+ renderHeader() {
33
+ const title =
34
+ this.props.title ||
35
+ this.props.strings[`${values.featureKey}_textFeatureTitle`] ||
36
+ values.textFeatureTitle;
37
+ if (this.state.isHomeTab) {
38
+ return (
39
+ <Components.Header
40
+ text={title}
41
+ rightContent={
42
+ _.includes(this.props.user.hidden, "notifications") ? null : (
43
+ <View style={styles.notificationContainer}>
44
+ <BaseComponents.NotificationBell
45
+ colourBrandingHeader={this.props.colourBrandingHeader}
46
+ containerStyle={Styles.notificationBell}
47
+ />
48
+ </View>
49
+ )
50
+ }
51
+ />
52
+ );
53
+ }
54
+ return (
55
+ <Components.Header
56
+ leftIcon="angle-left"
57
+ onPressLeft={this.onPressBack}
58
+ text={values.textFeatureTitle}
59
+ />
60
+ );
61
+ }
53
62
 
54
- render() {
55
- const { isHomeTab } = this.state;
63
+ render() {
64
+ const { isHomeTab } = this.state;
56
65
 
57
- return (
58
- <View style={styles.container}>
59
- {this.renderHeader()}
60
- <Components.LoadingIndicator visible={this.state.loading} />
61
- <MaintenanceList
62
- style={styles.maintenanceList}
63
- onLoadingChanged={this.onLoadingChanged}
64
- enableAdd={!isHomeTab}
65
- options={this.props.options}
66
- />
67
- {/* {isHomeTab && <Components.AddContentButton />} */}
68
- </View>
69
- );
70
- }
66
+ return (
67
+ <View style={styles.container}>
68
+ {this.renderHeader()}
69
+ <Components.LoadingIndicator visible={this.state.loading} />
70
+ <MaintenanceList
71
+ style={styles.maintenanceList}
72
+ onLoadingChanged={this.onLoadingChanged}
73
+ enableAdd={!isHomeTab}
74
+ options={this.props.options}
75
+ />
76
+ {/* {isHomeTab && <Components.AddContentButton />} */}
77
+ </View>
78
+ );
79
+ }
71
80
  }
72
81
 
73
82
  const styles = StyleSheet.create({
74
- container: {
75
- flex: 1,
76
- },
77
- notificationContainer: {
78
- position: 'absolute',
79
- top: 0,
80
- bottom: 0,
81
- right: 0,
82
- paddingTop: Helper.StatusBarHeight(0),
83
- },
84
- maintenanceList: {
85
- marginTop: 12,
86
- },
83
+ container: {
84
+ flex: 1,
85
+ },
86
+ notificationContainer: {
87
+ position: "absolute",
88
+ top: 0,
89
+ bottom: 0,
90
+ right: 0,
91
+ paddingTop: Helper.StatusBarHeight(0),
92
+ },
93
+ maintenanceList: {
94
+ marginTop: 12,
95
+ },
87
96
  });
88
97
 
89
- const mapStateToProps = state => {
90
- return {
91
- user: state.user,
92
- strings: state.strings?.config || {},
93
- };
98
+ const mapStateToProps = (state) => {
99
+ return {
100
+ user: state.user,
101
+ strings: state.strings?.config || {},
102
+ };
94
103
  };
95
104
 
96
105
  export default connect(mapStateToProps, {})(MaintenancePage);