@plusscommunities/pluss-maintenance-app-forms 6.0.11 → 7.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-app-forms",
3
- "version": "6.0.11",
3
+ "version": "7.0.0-beta.0",
4
4
  "description": "Extension package to enable maintenance on Pluss Communities Platform",
5
5
  "main": "dist/module/index.js",
6
6
  "module": "dist/module/index.js",
@@ -10,7 +10,7 @@
10
10
  "src/"
11
11
  ],
12
12
  "scripts": {
13
- "build": "npm i --legacy-peer-deps && bob build",
13
+ "build": "npm i && bob build",
14
14
  "betapatch": "npm version prepatch --preid=beta",
15
15
  "patch": "npm version patch",
16
16
  "betaupload": "npm run build && npm publish --access public --tag beta",
@@ -28,15 +28,16 @@
28
28
  "license": "ISC",
29
29
  "dependencies": {},
30
30
  "peerDependencies": {
31
- "@plusscommunities/pluss-core-app": "^6.1.6",
31
+ "@plusscommunities/pluss-core-app": "7.0.0-beta.0",
32
32
  "axios": "^1.6.8",
33
33
  "lodash": "^4.17.4",
34
34
  "moment": "^2.30.1",
35
- "react": "18.2.0",
36
- "react-native": "0.73.6",
37
- "react-native-elements": "^0.17.0",
35
+ "react": "18.3.1",
36
+ "react-native": "0.76.9",
37
+ "@rneui/base": "^4.0.0-rc.8",
38
+ "@rneui/themed": "^4.0.0-rc.8",
38
39
  "react-native-iphone-x-helper": "^1.3.1",
39
- "react-native-webview": "13.6.4",
40
+ "react-native-webview": "13.12.5",
40
41
  "react-redux": "^7.2.6",
41
42
  "redux-persist": "^6.0.0"
42
43
  },
@@ -50,4 +51,4 @@
50
51
  "module"
51
52
  ]
52
53
  }
53
- }
54
+ }
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import { Image, Text, TouchableOpacity, View, StyleSheet } from 'react-native';
3
3
  import _ from 'lodash';
4
- import { Icon } from 'react-native-elements';
4
+ import { Icon } from '@rneui/themed';
5
5
  import { connect } from 'react-redux';
6
6
  import moment from 'moment';
7
7
  // import {
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import { Text, View, StyleSheet, TouchableOpacity } from 'react-native';
3
3
  import { connect } from 'react-redux';
4
- import { Icon } from 'react-native-elements';
4
+ import { Icon } from '@rneui/themed';
5
5
  import moment from 'moment';
6
6
  import _ from 'lodash';
7
7
  import { getJobStatusProps, jobStatusOptions } from '../helper';
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
2
2
  import _ from 'lodash';
3
3
  import { TouchableOpacity, View, ScrollView, Text } from 'react-native';
4
4
  import { connect } from 'react-redux';
5
- import { Icon } from 'react-native-elements';
5
+ import { Icon } from '@rneui/themed';
6
6
  import { Services } from '../feature.config';
7
7
  import { Components, Colours } from '../core.config';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import { ScrollView, View, StyleSheet, Text, KeyboardAvoidingView, TouchableOpacity, ImageBackground, Platform } from 'react-native';
3
3
  import DateTimePicker from 'react-native-modal-datetime-picker';
4
- import { Icon } from 'react-native-elements';
4
+ import { Icon } from '@rneui/themed';
5
5
  import _ from 'lodash';
6
6
  import moment from 'moment';
7
7
  import { connect } from 'react-redux';
@@ -592,8 +592,8 @@ class RequestDetail extends Component {
592
592
  entityId={this.props.job.id}
593
593
  entityName={this.props.job.title}
594
594
  site={this.state.job.site || this.state.job.location}
595
- // noScroll={true}
596
- // style={{ position: 'absolute', bottom: 0, left: 0, right: 0 }}
595
+ // noScroll={true}
596
+ // style={{ position: 'absolute', bottom: 0, left: 0, right: 0 }}
597
597
  />
598
598
  );
599
599
  }
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import { ScrollView, View, Text, TouchableOpacity, Modal, KeyboardAvoidingView, Platform } from 'react-native';
3
3
  import { connect } from 'react-redux';
4
- import { Icon } from 'react-native-elements';
4
+ import { Icon } from '@rneui/themed';
5
5
  import _ from 'lodash';
6
6
  import moment from 'moment';
7
7
  import { jobAdded } from '../actions';
@@ -129,26 +129,26 @@ class RequestNotes extends Component {
129
129
  this.setState({ submittingNote: true });
130
130
  const res = await (this.state.editingNote
131
131
  ? maintenanceActions.editNote(
132
- this.props.job.id,
133
- this.state.editingNote,
134
- this.state.noteInput,
135
- this.state.noteAttachments.map(a => {
136
- return {
137
- Title: a.Title,
138
- Source: a.Source,
139
- };
140
- }),
141
- )
132
+ this.props.job.id,
133
+ this.state.editingNote,
134
+ this.state.noteInput,
135
+ this.state.noteAttachments.map(a => {
136
+ return {
137
+ Title: a.Title,
138
+ Source: a.Source,
139
+ };
140
+ }),
141
+ )
142
142
  : maintenanceActions.addNote(
143
- this.props.job.id,
144
- this.state.noteInput,
145
- this.state.noteAttachments.map(a => {
146
- return {
147
- Title: a.Title,
148
- Source: a.Source,
149
- };
150
- }),
151
- ));
143
+ this.props.job.id,
144
+ this.state.noteInput,
145
+ this.state.noteAttachments.map(a => {
146
+ return {
147
+ Title: a.Title,
148
+ Source: a.Source,
149
+ };
150
+ }),
151
+ ));
152
152
  this.setState(
153
153
  {
154
154
  job: res.data.job,
@@ -13,7 +13,7 @@ import {
13
13
  Keyboard,
14
14
  } from 'react-native';
15
15
  import DateTimePicker from 'react-native-modal-datetime-picker';
16
- import { Icon } from 'react-native-elements';
16
+ import { Icon } from '@rneui/themed';
17
17
  import _ from 'lodash';
18
18
  import moment from 'moment';
19
19
  import { connect } from 'react-redux';
@@ -315,7 +315,7 @@ class MaintenanceRequest extends Component {
315
315
  console.log(res.data);
316
316
  this.getDefaultJob();
317
317
  })
318
- .catch(() => {});
318
+ .catch(() => { });
319
319
  }
320
320
 
321
321
  pickType(type) {