@plusscommunities/pluss-maintenance-web-forms 1.1.30-beta.2 → 1.1.30
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/index.cjs.js +22 -2
- package/dist/index.esm.js +22 -2
- package/dist/index.umd.js +22 -2
- package/package.json +16 -16
- package/src/feature.config.js +16 -1
- package/src/screens/AddJob.js +9 -2
- package/src/values.config.a.js +1 -0
- package/src/values.config.default.js +1 -0
- package/src/values.config.enquiry.js +1 -0
- package/src/values.config.feedback.js +1 -0
- package/src/values.config.food.js +1 -0
- package/src/values.config.forms.js +1 -0
- package/src/values.config.js +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -101,6 +101,7 @@ var values = {
|
|
|
101
101
|
svgPathGridIcon: 'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
102
102
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
103
103
|
menuOrder: 10,
|
|
104
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceForms',
|
|
104
105
|
textEmptyDescription: 'allows your users to submit Forms.',
|
|
105
106
|
textEmptyExample: 'Example might be; Absentee form, Inspection form, Feedback form.',
|
|
106
107
|
textEmptyJobTypes: 'Please add the different forms',
|
|
@@ -143,7 +144,19 @@ var FeatureConfig = {
|
|
|
143
144
|
singularName: values.textSingularName,
|
|
144
145
|
description: 'Submit maintenance requests and track the progress.',
|
|
145
146
|
emptyText: values.textYourRequestHere,
|
|
146
|
-
widgetOptions: [
|
|
147
|
+
widgetOptions: [{
|
|
148
|
+
key: values.featureKey,
|
|
149
|
+
widget: true,
|
|
150
|
+
main: true,
|
|
151
|
+
hideOnTabNumbers: [],
|
|
152
|
+
optionKey: values.optionOnlyForResidents,
|
|
153
|
+
type: 'toggle',
|
|
154
|
+
inverseOption: false,
|
|
155
|
+
title: 'Limit Admins to Only Submit on Behalf of Primary Users',
|
|
156
|
+
description: 'This will limit admins to only make a submission on behalf of a primary users in the site. Otherwise they can also submit on behalf of other admins/staff users.',
|
|
157
|
+
defaultNew: false,
|
|
158
|
+
default: false
|
|
159
|
+
}],
|
|
147
160
|
menu: {
|
|
148
161
|
order: values.menuOrder,
|
|
149
162
|
text: values.textMenuTitle,
|
|
@@ -4969,6 +4982,12 @@ var AddJob = /*#__PURE__*/function (_Component) {
|
|
|
4969
4982
|
if (res.data != null && !___default['default'].isEmpty(res.data.results.Items)) {
|
|
4970
4983
|
items = res.data.results.Items;
|
|
4971
4984
|
|
|
4985
|
+
if (_this.props.optionOnlyForResidents) {
|
|
4986
|
+
items = ___default['default'].filter(items, function (u) {
|
|
4987
|
+
return u.category === 'resident';
|
|
4988
|
+
});
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4972
4991
|
_this.setState({
|
|
4973
4992
|
users: ___default['default'].sortBy(items, function (u) {
|
|
4974
4993
|
return (u.displayName || '').toLowerCase();
|
|
@@ -6085,7 +6104,8 @@ var mapStateToProps$2 = function mapStateToProps(state) {
|
|
|
6085
6104
|
var auth = state.auth;
|
|
6086
6105
|
return {
|
|
6087
6106
|
auth: auth,
|
|
6088
|
-
strings: state.strings && state.strings.config || {}
|
|
6107
|
+
strings: state.strings && state.strings.config || {},
|
|
6108
|
+
optionOnlyForResidents: Helper$1.getSiteSettingFromState(state, values.optionOnlyForResidents)
|
|
6089
6109
|
};
|
|
6090
6110
|
};
|
|
6091
6111
|
|
package/dist/index.esm.js
CHANGED
|
@@ -58,6 +58,7 @@ var values = {
|
|
|
58
58
|
svgPathGridIcon: 'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
59
59
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
60
60
|
menuOrder: 10,
|
|
61
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceForms',
|
|
61
62
|
textEmptyDescription: 'allows your users to submit Forms.',
|
|
62
63
|
textEmptyExample: 'Example might be; Absentee form, Inspection form, Feedback form.',
|
|
63
64
|
textEmptyJobTypes: 'Please add the different forms',
|
|
@@ -100,7 +101,19 @@ var FeatureConfig = {
|
|
|
100
101
|
singularName: values.textSingularName,
|
|
101
102
|
description: 'Submit maintenance requests and track the progress.',
|
|
102
103
|
emptyText: values.textYourRequestHere,
|
|
103
|
-
widgetOptions: [
|
|
104
|
+
widgetOptions: [{
|
|
105
|
+
key: values.featureKey,
|
|
106
|
+
widget: true,
|
|
107
|
+
main: true,
|
|
108
|
+
hideOnTabNumbers: [],
|
|
109
|
+
optionKey: values.optionOnlyForResidents,
|
|
110
|
+
type: 'toggle',
|
|
111
|
+
inverseOption: false,
|
|
112
|
+
title: 'Limit Admins to Only Submit on Behalf of Primary Users',
|
|
113
|
+
description: 'This will limit admins to only make a submission on behalf of a primary users in the site. Otherwise they can also submit on behalf of other admins/staff users.',
|
|
114
|
+
defaultNew: false,
|
|
115
|
+
default: false
|
|
116
|
+
}],
|
|
104
117
|
menu: {
|
|
105
118
|
order: values.menuOrder,
|
|
106
119
|
text: values.textMenuTitle,
|
|
@@ -4926,6 +4939,12 @@ var AddJob = /*#__PURE__*/function (_Component) {
|
|
|
4926
4939
|
if (res.data != null && !_.isEmpty(res.data.results.Items)) {
|
|
4927
4940
|
items = res.data.results.Items;
|
|
4928
4941
|
|
|
4942
|
+
if (_this.props.optionOnlyForResidents) {
|
|
4943
|
+
items = _.filter(items, function (u) {
|
|
4944
|
+
return u.category === 'resident';
|
|
4945
|
+
});
|
|
4946
|
+
}
|
|
4947
|
+
|
|
4929
4948
|
_this.setState({
|
|
4930
4949
|
users: _.sortBy(items, function (u) {
|
|
4931
4950
|
return (u.displayName || '').toLowerCase();
|
|
@@ -6042,7 +6061,8 @@ var mapStateToProps$2 = function mapStateToProps(state) {
|
|
|
6042
6061
|
var auth = state.auth;
|
|
6043
6062
|
return {
|
|
6044
6063
|
auth: auth,
|
|
6045
|
-
strings: state.strings && state.strings.config || {}
|
|
6064
|
+
strings: state.strings && state.strings.config || {},
|
|
6065
|
+
optionOnlyForResidents: Helper$1.getSiteSettingFromState(state, values.optionOnlyForResidents)
|
|
6046
6066
|
};
|
|
6047
6067
|
};
|
|
6048
6068
|
|
package/dist/index.umd.js
CHANGED
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
svgPathGridIcon: 'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
81
81
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
82
82
|
menuOrder: 10,
|
|
83
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceForms',
|
|
83
84
|
textEmptyDescription: 'allows your users to submit Forms.',
|
|
84
85
|
textEmptyExample: 'Example might be; Absentee form, Inspection form, Feedback form.',
|
|
85
86
|
textEmptyJobTypes: 'Please add the different forms',
|
|
@@ -122,7 +123,19 @@
|
|
|
122
123
|
singularName: values.textSingularName,
|
|
123
124
|
description: 'Submit maintenance requests and track the progress.',
|
|
124
125
|
emptyText: values.textYourRequestHere,
|
|
125
|
-
widgetOptions: [
|
|
126
|
+
widgetOptions: [{
|
|
127
|
+
key: values.featureKey,
|
|
128
|
+
widget: true,
|
|
129
|
+
main: true,
|
|
130
|
+
hideOnTabNumbers: [],
|
|
131
|
+
optionKey: values.optionOnlyForResidents,
|
|
132
|
+
type: 'toggle',
|
|
133
|
+
inverseOption: false,
|
|
134
|
+
title: 'Limit Admins to Only Submit on Behalf of Primary Users',
|
|
135
|
+
description: 'This will limit admins to only make a submission on behalf of a primary users in the site. Otherwise they can also submit on behalf of other admins/staff users.',
|
|
136
|
+
defaultNew: false,
|
|
137
|
+
default: false
|
|
138
|
+
}],
|
|
126
139
|
menu: {
|
|
127
140
|
order: values.menuOrder,
|
|
128
141
|
text: values.textMenuTitle,
|
|
@@ -4948,6 +4961,12 @@
|
|
|
4948
4961
|
if (res.data != null && !___default['default'].isEmpty(res.data.results.Items)) {
|
|
4949
4962
|
items = res.data.results.Items;
|
|
4950
4963
|
|
|
4964
|
+
if (_this.props.optionOnlyForResidents) {
|
|
4965
|
+
items = ___default['default'].filter(items, function (u) {
|
|
4966
|
+
return u.category === 'resident';
|
|
4967
|
+
});
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4951
4970
|
_this.setState({
|
|
4952
4971
|
users: ___default['default'].sortBy(items, function (u) {
|
|
4953
4972
|
return (u.displayName || '').toLowerCase();
|
|
@@ -6064,7 +6083,8 @@
|
|
|
6064
6083
|
var auth = state.auth;
|
|
6065
6084
|
return {
|
|
6066
6085
|
auth: auth,
|
|
6067
|
-
strings: state.strings && state.strings.config || {}
|
|
6086
|
+
strings: state.strings && state.strings.config || {},
|
|
6087
|
+
optionOnlyForResidents: Helper$1.getSiteSettingFromState(state, values.optionOnlyForResidents)
|
|
6068
6088
|
};
|
|
6069
6089
|
};
|
|
6070
6090
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plusscommunities/pluss-maintenance-web-forms",
|
|
3
|
-
"version": "1.1.30
|
|
3
|
+
"version": "1.1.30",
|
|
4
4
|
"description": "Extension package to enable maintenance on Pluss Communities Platform",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"upload:p": "npm run patch && npm run upload",
|
|
14
14
|
"copy:add": "run(){ ext=${1:-default}; test -f src/values.config.$ext.js || cp src/values.config.default.js src/values.config.$ext.js; }; run",
|
|
15
15
|
"copy:get": "echo $npm_package_name",
|
|
16
|
-
"copy:set": "run(){ target='\\@plusscommunities\\/pluss-maintenance-web'; ext=${1:-default}; [ $ext == 'default' ] && replace=$target || replace=$target'-'$ext; echo 'Setting target to '$replace; test -f src/values.config.$ext.js && cp -f src/values.config.$ext.js src/values.config.js; sed -i'' -e 's/'$target'.*\"/'$replace'\"/g' package.json; }; run",
|
|
16
|
+
"copy:set": "run(){ target='\\@plusscommunities\\/pluss-maintenance-web'; ext=${1:-default}; [ $ext == 'default' ] && replace=$target || replace=$target'-'$ext; echo 'Setting target to '$replace; test -f src/values.config.$ext.js && cp -f src/values.config.$ext.js src/values.config.js; sed -i '' -e 's/'$target'.*\"/'$replace'\"/g' package.json; }; run",
|
|
17
17
|
"copy:betaupload": "npm run betapatch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run betaupload; done; npm run copy:set;",
|
|
18
18
|
"copy:upload": "npm run patch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run upload; done; npm run copy:set;"
|
|
19
19
|
},
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"@babel/runtime": "^7.14.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
40
|
+
"@plusscommunities/pluss-core-web": "^1.6.8",
|
|
41
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
42
|
+
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
43
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
44
|
+
"js-cookie": "^2.2.0",
|
|
45
|
+
"lodash": "^4.17.4",
|
|
46
|
+
"moment": "^2.30.1",
|
|
47
|
+
"react": "^16.14.0",
|
|
48
|
+
"react-bootstrap": "^0.31.2",
|
|
49
|
+
"react-dom": "^16.14.0",
|
|
50
|
+
"react-fontawesome": "^1.6.1",
|
|
51
|
+
"react-redux": "^5.0.6",
|
|
52
|
+
"react-router-dom": "^4.2.2",
|
|
53
|
+
"react-textarea-autosize": "^7.1.0-1"
|
|
54
54
|
},
|
|
55
55
|
"keywords": []
|
|
56
56
|
}
|
package/src/feature.config.js
CHANGED
|
@@ -10,7 +10,22 @@ const FeatureConfig = {
|
|
|
10
10
|
singularName: values.textSingularName,
|
|
11
11
|
description: 'Submit maintenance requests and track the progress.',
|
|
12
12
|
emptyText: values.textYourRequestHere,
|
|
13
|
-
widgetOptions: [
|
|
13
|
+
widgetOptions: [
|
|
14
|
+
{
|
|
15
|
+
key: values.featureKey,
|
|
16
|
+
widget: true,
|
|
17
|
+
main: true,
|
|
18
|
+
hideOnTabNumbers: [],
|
|
19
|
+
optionKey: values.optionOnlyForResidents,
|
|
20
|
+
type: 'toggle',
|
|
21
|
+
inverseOption: false,
|
|
22
|
+
title: 'Limit Admins to Only Submit on Behalf of Primary Users',
|
|
23
|
+
description:
|
|
24
|
+
'This will limit admins to only make a submission on behalf of a primary users in the site. Otherwise they can also submit on behalf of other admins/staff users.',
|
|
25
|
+
defaultNew: false,
|
|
26
|
+
default: false,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
14
29
|
menu: {
|
|
15
30
|
order: values.menuOrder,
|
|
16
31
|
text: values.textMenuTitle,
|
package/src/screens/AddJob.js
CHANGED
|
@@ -120,7 +120,10 @@ class AddJob extends Component {
|
|
|
120
120
|
const res = await userActions.fetchUsers(this.props.auth.site);
|
|
121
121
|
if (res.userFetchFail) return;
|
|
122
122
|
if (res.data != null && !_.isEmpty(res.data.results.Items)) {
|
|
123
|
-
|
|
123
|
+
let items = res.data.results.Items;
|
|
124
|
+
if (this.props.optionOnlyForResidents) {
|
|
125
|
+
items = _.filter(items, (u) => u.category === 'resident');
|
|
126
|
+
}
|
|
124
127
|
this.setState({
|
|
125
128
|
users: _.sortBy(items, (u) => {
|
|
126
129
|
return (u.displayName || '').toLowerCase();
|
|
@@ -969,7 +972,11 @@ const styles = {
|
|
|
969
972
|
|
|
970
973
|
const mapStateToProps = (state) => {
|
|
971
974
|
const { auth } = state;
|
|
972
|
-
return {
|
|
975
|
+
return {
|
|
976
|
+
auth,
|
|
977
|
+
strings: (state.strings && state.strings.config) || {},
|
|
978
|
+
optionOnlyForResidents: Helper.getSiteSettingFromState(state, values.optionOnlyForResidents),
|
|
979
|
+
};
|
|
973
980
|
};
|
|
974
981
|
|
|
975
982
|
export default connect(mapStateToProps, { jobsUpdate, jobsLoaded, addRecentlyCreated: Actions.addRecentlyCreated })(withRouter(AddJob));
|
package/src/values.config.a.js
CHANGED
|
@@ -32,6 +32,7 @@ const values = {
|
|
|
32
32
|
'M22.7072 2.33998C20.5868 2.30886 18.2156 3.43862 16.824 4.83022C15.1138 6.54042 15.1486 8.34584 15.7894 10.5065L13.2058 13.0901L7.7566 7.64089C7.75294 7.60976 7.75477 7.5768 7.74927 7.54567L7.48926 6.30605C7.43799 6.06435 7.28968 5.84645 7.08277 5.71279L3.77589 3.56313C3.40601 3.32509 2.91163 3.37636 2.60035 3.68764L1.81116 4.47682C1.50171 4.7881 1.44861 5.28066 1.68848 5.6487L3.80152 8.91713C3.93336 9.12221 4.13843 9.26686 4.3783 9.32179L5.66004 9.61659C5.69483 9.62392 5.72962 9.62209 5.76441 9.62575L11.2155 15.0786L8.03309 18.2647C6.23316 18.0907 4.52112 18.8396 3.417 20.2971C2.0254 22.1373 2.05836 24.7814 3.49756 26.5886C4.41858 27.7459 5.78821 28.4563 7.25123 28.5405C7.34827 28.546 7.44532 28.5479 7.54236 28.5479C8.9065 28.5479 10.2212 28.0059 11.1898 27.0372C12.2866 25.9404 12.8195 24.4445 12.6711 22.9027L14.7311 20.8446C14.8391 21.2035 15.0259 21.5386 15.2987 21.8114L21.5939 28.1102C22.0516 28.5662 22.6522 28.7932 23.2528 28.7932C23.8534 28.7932 24.454 28.5662 24.9099 28.1102L26.2356 26.7827C27.1493 25.869 27.1493 24.3822 26.2356 23.4685L19.9368 17.1697C19.6658 16.8987 19.3307 16.7138 18.9718 16.6039L20.4275 15.1464C22.5881 15.7854 24.3954 15.822 26.1056 14.1118C27.814 12.4035 29.1323 9.21559 28.3834 6.83522C28.3358 6.67958 28.2076 6.55873 28.0483 6.52028C27.889 6.48183 27.7206 6.52944 27.6052 6.64479L24.681 9.56899C24.5638 9.68801 24.3899 9.73561 24.2288 9.68984L23.7161 9.55251C22.5863 9.25038 21.6964 8.36049 21.3943 7.23256L21.257 6.71987C21.213 6.55873 21.2606 6.38478 21.3796 6.2676L24.3093 3.33608C24.4247 3.22072 24.4705 3.05409 24.4338 2.89479C24.3936 2.73549 24.2764 2.60732 24.1189 2.55788C23.6721 2.41506 23.1961 2.34731 22.7072 2.33998ZM22.6669 3.28115C22.7877 3.28298 22.9067 3.28664 23.0239 3.29579L20.7168 5.60292C20.3616 5.95815 20.2242 6.47817 20.3543 6.96157L20.4916 7.47609C20.8798 8.92629 22.0223 10.0689 23.4744 10.4589L23.9871 10.5962C24.4705 10.7262 24.9905 10.5871 25.3439 10.2318L27.6437 7.93202C27.7883 9.80702 26.7318 12.1599 25.4446 13.4472C23.9834 14.9083 22.5021 14.8168 20.4367 14.1686C20.27 14.1173 20.0888 14.1613 19.9661 14.284L11.849 22.401C11.7446 22.5054 11.6952 22.6519 11.7172 22.7984C11.9039 24.1277 11.47 25.4314 10.527 26.3744C9.67737 27.224 8.5055 27.6708 7.30433 27.6049C6.08851 27.5353 4.9972 26.9677 4.22999 26.0045C3.05445 24.5287 3.02698 22.3662 4.16407 20.8648C4.98438 19.7826 6.20936 19.1765 7.52588 19.1765C7.7273 19.1765 7.93238 19.1912 8.13746 19.2186C8.28211 19.2388 8.43043 19.1912 8.53296 19.0868L16.65 10.9716C16.7745 10.8471 16.8203 10.6658 16.7672 10.4973C16.119 8.43373 16.0275 6.95424 17.4887 5.49306C18.7008 4.2809 20.8541 3.27931 22.6669 3.28115ZM3.26319 4.35048L6.57191 6.49831L6.83191 7.73793L5.86695 8.70107L4.58704 8.4081L2.474 5.13967L3.26319 4.35048ZM7.34095 8.55275L12.543 13.7529L11.8801 14.4158L6.67994 9.21559L7.0077 8.88967L7.34095 8.55275ZM18.4811 8.66994C18.3621 8.66994 18.243 8.71572 18.1497 8.80727C17.9666 8.99037 17.9666 9.287 18.1497 9.47011L21.4657 12.7843C21.5573 12.8759 21.6763 12.9216 21.7971 12.9216C21.9161 12.9216 22.037 12.8759 22.1267 12.7843C22.3117 12.6012 22.3117 12.3046 22.1267 12.1215L18.8143 8.80727C18.721 8.71572 18.6019 8.66994 18.4811 8.66994ZM17.1554 12.647C17.0364 12.647 16.9155 12.6928 16.824 12.7843C16.6409 12.9674 16.6409 13.2641 16.824 13.4472L17.4887 14.11C17.5802 14.2016 17.6992 14.2473 17.8201 14.2473C17.9409 14.2473 18.0599 14.2016 18.1515 14.11C18.3346 13.9269 18.3346 13.6303 18.1515 13.4472L17.4887 12.7843C17.3953 12.6928 17.2763 12.647 17.1554 12.647ZM15.4983 14.3041C15.3793 14.3041 15.2603 14.3499 15.1687 14.4433C14.9838 14.6264 14.9838 14.9212 15.1687 15.1043L15.8297 15.7689C15.9213 15.8587 16.0421 15.9063 16.163 15.9063C16.282 15.9063 16.4028 15.8587 16.4944 15.7689C16.6775 15.584 16.6775 15.2892 16.4944 15.1043L15.8297 14.4433C15.7382 14.3499 15.6191 14.3041 15.4983 14.3041ZM13.843 15.9612C13.7222 15.9612 13.6032 16.007 13.5116 16.0985C13.3267 16.2816 13.3267 16.5783 13.5116 16.7632L14.1726 17.4242C14.2642 17.5158 14.385 17.5634 14.504 17.5634C14.6249 17.5634 14.7457 17.5158 14.8373 17.4242C15.0204 17.2429 15.0204 16.9463 14.8373 16.7632L14.1726 16.0985C14.0811 16.007 13.962 15.9612 13.843 15.9612ZM18.4426 17.4444C18.7539 17.4755 19.0487 17.6073 19.2758 17.8344L25.5728 24.1314C26.1221 24.6807 26.1221 25.5706 25.5728 26.1199L24.2452 27.4456C23.6978 27.9949 22.806 27.9949 22.2586 27.4456L15.9597 21.1467C15.6594 20.8465 15.5258 20.4216 15.5734 20.0023L18.1277 17.4462C18.2339 17.4352 18.3383 17.4334 18.4426 17.4444ZM12.1859 17.6201C12.0651 17.6201 11.9461 17.6641 11.8527 17.7556C11.6696 17.9406 11.6696 18.2354 11.8527 18.4203L12.5173 19.0813C12.6071 19.1729 12.7279 19.2186 12.8469 19.2186C12.9678 19.2186 13.0886 19.1729 13.1784 19.0813C13.3633 18.8982 13.3633 18.6034 13.1784 18.4203L12.5173 17.7556C12.424 17.6641 12.3049 17.6201 12.1859 17.6201ZM10.527 19.2772C10.408 19.2772 10.2889 19.323 10.1956 19.4146C10.0125 19.5977 10.0125 19.8925 10.1956 20.0756L10.8584 20.7403C10.95 20.83 11.069 20.8757 11.1898 20.8757C11.3107 20.8757 11.4297 20.83 11.5212 20.7403C11.7044 20.5553 11.7044 20.2605 11.5212 20.0756L10.8584 19.4146C10.7669 19.323 10.646 19.2772 10.527 19.2772ZM19.2758 19.3523C19.1549 19.3523 19.0359 19.3981 18.9425 19.4896C18.7594 19.6746 18.7594 19.9694 18.9425 20.1543L23.5842 24.7942C23.6758 24.8858 23.7948 24.9315 23.9157 24.9315C24.0365 24.9315 24.1555 24.8858 24.2471 24.7942C24.4302 24.6111 24.4302 24.3145 24.2471 24.1314L19.6072 19.4896C19.5138 19.3981 19.3948 19.3523 19.2758 19.3523ZM17.9501 20.678C17.8292 20.678 17.7102 20.7238 17.6168 20.8153C17.4337 21.0003 17.4337 21.2951 17.6168 21.48L22.2586 26.1199C22.3483 26.2114 22.4691 26.2572 22.5881 26.2572C22.709 26.2572 22.8298 26.2114 22.9196 26.1199C23.1045 25.9368 23.1045 25.6402 22.9196 25.457L18.2815 20.8153C18.1881 20.7238 18.0691 20.678 17.9501 20.678ZM8.11182 20.8373C8.07154 20.8373 8.03126 20.8428 7.99097 20.8538L5.89808 21.4141C5.73694 21.458 5.6106 21.5844 5.56666 21.7455L5.00818 23.8366C4.96424 23.9977 5.01002 24.1698 5.1272 24.2888L6.65796 25.8196C6.74769 25.9093 6.86671 25.9569 6.98939 25.9569C7.0315 25.9569 7.07178 25.9514 7.11207 25.9423L9.20313 25.3801C9.36426 25.338 9.49061 25.2117 9.53455 25.0487L10.0949 22.9595C10.1388 22.7965 10.0912 22.6244 9.974 22.5054L8.44324 20.9746C8.35352 20.8867 8.2345 20.8391 8.11182 20.8373ZM7.97083 21.8279L9.1189 22.976L8.69959 24.5452L7.13038 24.9663L5.98231 23.8183L6.40162 22.249L7.97083 21.8279Z',
|
|
33
33
|
svgPathGridIconViewBox: '0 0 30 30',
|
|
34
34
|
menuOrder: 10,
|
|
35
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceA',
|
|
35
36
|
textEmptyDescription: 'allows your users to submit Requests (such as maintenance requests) that all appear in this job board.',
|
|
36
37
|
textEmptyExample: 'Example might be; Fix my light bulb, hand rail is broken, or please send flowers to Mum.',
|
|
37
38
|
textAreYouSureYouWantToDelete: 'Are you sure you want to delete that request?',
|
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M22.7072 2.33998C20.5868 2.30886 18.2156 3.43862 16.824 4.83022C15.1138 6.54042 15.1486 8.34584 15.7894 10.5065L13.2058 13.0901L7.7566 7.64089C7.75294 7.60976 7.75477 7.5768 7.74927 7.54567L7.48926 6.30605C7.43799 6.06435 7.28968 5.84645 7.08277 5.71279L3.77589 3.56313C3.40601 3.32509 2.91163 3.37636 2.60035 3.68764L1.81116 4.47682C1.50171 4.7881 1.44861 5.28066 1.68848 5.6487L3.80152 8.91713C3.93336 9.12221 4.13843 9.26686 4.3783 9.32179L5.66004 9.61659C5.69483 9.62392 5.72962 9.62209 5.76441 9.62575L11.2155 15.0786L8.03309 18.2647C6.23316 18.0907 4.52112 18.8396 3.417 20.2971C2.0254 22.1373 2.05836 24.7814 3.49756 26.5886C4.41858 27.7459 5.78821 28.4563 7.25123 28.5405C7.34827 28.546 7.44532 28.5479 7.54236 28.5479C8.9065 28.5479 10.2212 28.0059 11.1898 27.0372C12.2866 25.9404 12.8195 24.4445 12.6711 22.9027L14.7311 20.8446C14.8391 21.2035 15.0259 21.5386 15.2987 21.8114L21.5939 28.1102C22.0516 28.5662 22.6522 28.7932 23.2528 28.7932C23.8534 28.7932 24.454 28.5662 24.9099 28.1102L26.2356 26.7827C27.1493 25.869 27.1493 24.3822 26.2356 23.4685L19.9368 17.1697C19.6658 16.8987 19.3307 16.7138 18.9718 16.6039L20.4275 15.1464C22.5881 15.7854 24.3954 15.822 26.1056 14.1118C27.814 12.4035 29.1323 9.21559 28.3834 6.83522C28.3358 6.67958 28.2076 6.55873 28.0483 6.52028C27.889 6.48183 27.7206 6.52944 27.6052 6.64479L24.681 9.56899C24.5638 9.68801 24.3899 9.73561 24.2288 9.68984L23.7161 9.55251C22.5863 9.25038 21.6964 8.36049 21.3943 7.23256L21.257 6.71987C21.213 6.55873 21.2606 6.38478 21.3796 6.2676L24.3093 3.33608C24.4247 3.22072 24.4705 3.05409 24.4338 2.89479C24.3936 2.73549 24.2764 2.60732 24.1189 2.55788C23.6721 2.41506 23.1961 2.34731 22.7072 2.33998ZM22.6669 3.28115C22.7877 3.28298 22.9067 3.28664 23.0239 3.29579L20.7168 5.60292C20.3616 5.95815 20.2242 6.47817 20.3543 6.96157L20.4916 7.47609C20.8798 8.92629 22.0223 10.0689 23.4744 10.4589L23.9871 10.5962C24.4705 10.7262 24.9905 10.5871 25.3439 10.2318L27.6437 7.93202C27.7883 9.80702 26.7318 12.1599 25.4446 13.4472C23.9834 14.9083 22.5021 14.8168 20.4367 14.1686C20.27 14.1173 20.0888 14.1613 19.9661 14.284L11.849 22.401C11.7446 22.5054 11.6952 22.6519 11.7172 22.7984C11.9039 24.1277 11.47 25.4314 10.527 26.3744C9.67737 27.224 8.5055 27.6708 7.30433 27.6049C6.08851 27.5353 4.9972 26.9677 4.22999 26.0045C3.05445 24.5287 3.02698 22.3662 4.16407 20.8648C4.98438 19.7826 6.20936 19.1765 7.52588 19.1765C7.7273 19.1765 7.93238 19.1912 8.13746 19.2186C8.28211 19.2388 8.43043 19.1912 8.53296 19.0868L16.65 10.9716C16.7745 10.8471 16.8203 10.6658 16.7672 10.4973C16.119 8.43373 16.0275 6.95424 17.4887 5.49306C18.7008 4.2809 20.8541 3.27931 22.6669 3.28115ZM3.26319 4.35048L6.57191 6.49831L6.83191 7.73793L5.86695 8.70107L4.58704 8.4081L2.474 5.13967L3.26319 4.35048ZM7.34095 8.55275L12.543 13.7529L11.8801 14.4158L6.67994 9.21559L7.0077 8.88967L7.34095 8.55275ZM18.4811 8.66994C18.3621 8.66994 18.243 8.71572 18.1497 8.80727C17.9666 8.99037 17.9666 9.287 18.1497 9.47011L21.4657 12.7843C21.5573 12.8759 21.6763 12.9216 21.7971 12.9216C21.9161 12.9216 22.037 12.8759 22.1267 12.7843C22.3117 12.6012 22.3117 12.3046 22.1267 12.1215L18.8143 8.80727C18.721 8.71572 18.6019 8.66994 18.4811 8.66994ZM17.1554 12.647C17.0364 12.647 16.9155 12.6928 16.824 12.7843C16.6409 12.9674 16.6409 13.2641 16.824 13.4472L17.4887 14.11C17.5802 14.2016 17.6992 14.2473 17.8201 14.2473C17.9409 14.2473 18.0599 14.2016 18.1515 14.11C18.3346 13.9269 18.3346 13.6303 18.1515 13.4472L17.4887 12.7843C17.3953 12.6928 17.2763 12.647 17.1554 12.647ZM15.4983 14.3041C15.3793 14.3041 15.2603 14.3499 15.1687 14.4433C14.9838 14.6264 14.9838 14.9212 15.1687 15.1043L15.8297 15.7689C15.9213 15.8587 16.0421 15.9063 16.163 15.9063C16.282 15.9063 16.4028 15.8587 16.4944 15.7689C16.6775 15.584 16.6775 15.2892 16.4944 15.1043L15.8297 14.4433C15.7382 14.3499 15.6191 14.3041 15.4983 14.3041ZM13.843 15.9612C13.7222 15.9612 13.6032 16.007 13.5116 16.0985C13.3267 16.2816 13.3267 16.5783 13.5116 16.7632L14.1726 17.4242C14.2642 17.5158 14.385 17.5634 14.504 17.5634C14.6249 17.5634 14.7457 17.5158 14.8373 17.4242C15.0204 17.2429 15.0204 16.9463 14.8373 16.7632L14.1726 16.0985C14.0811 16.007 13.962 15.9612 13.843 15.9612ZM18.4426 17.4444C18.7539 17.4755 19.0487 17.6073 19.2758 17.8344L25.5728 24.1314C26.1221 24.6807 26.1221 25.5706 25.5728 26.1199L24.2452 27.4456C23.6978 27.9949 22.806 27.9949 22.2586 27.4456L15.9597 21.1467C15.6594 20.8465 15.5258 20.4216 15.5734 20.0023L18.1277 17.4462C18.2339 17.4352 18.3383 17.4334 18.4426 17.4444ZM12.1859 17.6201C12.0651 17.6201 11.9461 17.6641 11.8527 17.7556C11.6696 17.9406 11.6696 18.2354 11.8527 18.4203L12.5173 19.0813C12.6071 19.1729 12.7279 19.2186 12.8469 19.2186C12.9678 19.2186 13.0886 19.1729 13.1784 19.0813C13.3633 18.8982 13.3633 18.6034 13.1784 18.4203L12.5173 17.7556C12.424 17.6641 12.3049 17.6201 12.1859 17.6201ZM10.527 19.2772C10.408 19.2772 10.2889 19.323 10.1956 19.4146C10.0125 19.5977 10.0125 19.8925 10.1956 20.0756L10.8584 20.7403C10.95 20.83 11.069 20.8757 11.1898 20.8757C11.3107 20.8757 11.4297 20.83 11.5212 20.7403C11.7044 20.5553 11.7044 20.2605 11.5212 20.0756L10.8584 19.4146C10.7669 19.323 10.646 19.2772 10.527 19.2772ZM19.2758 19.3523C19.1549 19.3523 19.0359 19.3981 18.9425 19.4896C18.7594 19.6746 18.7594 19.9694 18.9425 20.1543L23.5842 24.7942C23.6758 24.8858 23.7948 24.9315 23.9157 24.9315C24.0365 24.9315 24.1555 24.8858 24.2471 24.7942C24.4302 24.6111 24.4302 24.3145 24.2471 24.1314L19.6072 19.4896C19.5138 19.3981 19.3948 19.3523 19.2758 19.3523ZM17.9501 20.678C17.8292 20.678 17.7102 20.7238 17.6168 20.8153C17.4337 21.0003 17.4337 21.2951 17.6168 21.48L22.2586 26.1199C22.3483 26.2114 22.4691 26.2572 22.5881 26.2572C22.709 26.2572 22.8298 26.2114 22.9196 26.1199C23.1045 25.9368 23.1045 25.6402 22.9196 25.457L18.2815 20.8153C18.1881 20.7238 18.0691 20.678 17.9501 20.678ZM8.11182 20.8373C8.07154 20.8373 8.03126 20.8428 7.99097 20.8538L5.89808 21.4141C5.73694 21.458 5.6106 21.5844 5.56666 21.7455L5.00818 23.8366C4.96424 23.9977 5.01002 24.1698 5.1272 24.2888L6.65796 25.8196C6.74769 25.9093 6.86671 25.9569 6.98939 25.9569C7.0315 25.9569 7.07178 25.9514 7.11207 25.9423L9.20313 25.3801C9.36426 25.338 9.49061 25.2117 9.53455 25.0487L10.0949 22.9595C10.1388 22.7965 10.0912 22.6244 9.974 22.5054L8.44324 20.9746C8.35352 20.8867 8.2345 20.8391 8.11182 20.8373ZM7.97083 21.8279L9.1189 22.976L8.69959 24.5452L7.13038 24.9663L5.98231 23.8183L6.40162 22.249L7.97083 21.8279Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 30 30',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenance',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Requests (such as maintenance requests) that all appear in this job board.',
|
|
39
40
|
textEmptyExample: 'Example might be; Fix my light bulb, hand rail is broken, or please send flowers to Mum.',
|
|
40
41
|
textEmptyJobTypes:
|
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceEnquiry',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Enquiries.',
|
|
39
40
|
textEmptyExample:
|
|
40
41
|
'Example might be; General Enquiry form, Sales Enquiry form, Volunteer Enquiry form, Resident Council / Committee Enquiry form, Property Enquiry form.',
|
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceFeedback',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Feedback.',
|
|
39
40
|
textEmptyExample: 'Example might be; General Feedback form, Complaint form, Compliment form.',
|
|
40
41
|
textEmptyJobTypes: 'Please add the different forms.',
|
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceFood',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Food Orders.',
|
|
39
40
|
textEmptyExample: 'Example might be; Food Order form.',
|
|
40
41
|
textEmptyJobTypes: 'Please add the different food order forms.',
|
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceForms',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Forms.',
|
|
39
40
|
textEmptyExample: 'Example might be; Absentee form, Inspection form, Feedback form.',
|
|
40
41
|
textEmptyJobTypes: 'Please add the different forms',
|
package/src/values.config.js
CHANGED
|
@@ -35,6 +35,7 @@ const values = {
|
|
|
35
35
|
'M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z',
|
|
36
36
|
svgPathGridIconViewBox: '0 0 256 256',
|
|
37
37
|
menuOrder: 10,
|
|
38
|
+
optionOnlyForResidents: 'onlyForResidentsMaintenanceForms',
|
|
38
39
|
textEmptyDescription: 'allows your users to submit Forms.',
|
|
39
40
|
textEmptyExample: 'Example might be; Absentee form, Inspection form, Feedback form.',
|
|
40
41
|
textEmptyJobTypes: 'Please add the different forms',
|