muba-posting 9.0.11 → 9.0.13
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/Posting.js +2 -1
- package/Publish6.js +47 -1
- package/commonStyles.js +91 -91
- package/locales/ar.json +149 -148
- package/locales/en.json +2 -1
- package/locales/es.json +2 -1
- package/locales/fr.json +2 -1
- package/locales/it.json +2 -1
- package/locales/nl.json +2 -1
- package/package.json +1 -1
package/Posting.js
CHANGED
|
@@ -139,7 +139,8 @@ export default class Posting extends React.Component {
|
|
|
139
139
|
languageId: currentLocale().toUpperCase(),
|
|
140
140
|
languages: [{ language: currentLocale().toUpperCase(), title: null, description: null, automatic: true }],
|
|
141
141
|
userId: this.props.userId,
|
|
142
|
-
businessId: this.props.businessId
|
|
142
|
+
businessId: this.props.businessId,
|
|
143
|
+
accessUserId: null
|
|
143
144
|
}
|
|
144
145
|
};
|
|
145
146
|
}
|
package/Publish6.js
CHANGED
|
@@ -9,6 +9,8 @@ import { createIconSetFromFontello } from 'react-native-vector-icons';
|
|
|
9
9
|
import fontelloConfig from './fonts/config.json';
|
|
10
10
|
import { navigate } from '../../app/utils/Common';
|
|
11
11
|
import { Views } from '../../app/utils/Views';
|
|
12
|
+
import { GET_BUSINESS_USERS } from '../../app/utils/APIEndPoints';
|
|
13
|
+
import { InputSelect } from '../../app/components/Components';
|
|
12
14
|
const FontAwesomeIcon = createIconSetFromFontello(fontelloConfig);
|
|
13
15
|
|
|
14
16
|
const GENERATE_TITLE_DESCRIPTION = { method: 'GET', url: '/controller/posting/generate-title-description' };
|
|
@@ -33,13 +35,20 @@ export default class Publish6 extends React.Component {
|
|
|
33
35
|
picturesUploaded: 0,
|
|
34
36
|
reference: this.props.postingAd.reference,
|
|
35
37
|
showResetPassword: false,
|
|
36
|
-
showLogin: false
|
|
38
|
+
showLogin: false,
|
|
39
|
+
accessUsers: {
|
|
40
|
+
elements: [{ section: true, value: null, label: strings('setup.mainContact') }],
|
|
41
|
+
selectedItem: null
|
|
42
|
+
},
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
this.resetSubmitClicked();
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
componentDidMount = () => {
|
|
49
|
+
if (this.props.businessId) {
|
|
50
|
+
this.loadBusinessUsers(this.props.businessId);
|
|
51
|
+
}
|
|
43
52
|
this.generateTitleDescription();
|
|
44
53
|
this.resetSubmitClicked();
|
|
45
54
|
|
|
@@ -61,6 +70,28 @@ export default class Publish6 extends React.Component {
|
|
|
61
70
|
return true;
|
|
62
71
|
}
|
|
63
72
|
|
|
73
|
+
async loadBusinessUsers(businessId) {
|
|
74
|
+
const responseJson = await this.props.request(this, GET_BUSINESS_USERS, {
|
|
75
|
+
businessId: businessId,
|
|
76
|
+
statusList: ['ACTIVE']
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
if (responseJson.httpStatus === 200) {
|
|
80
|
+
const elements = responseJson.list.map(item => ({
|
|
81
|
+
section: false,
|
|
82
|
+
value: item.id,
|
|
83
|
+
label: item.name
|
|
84
|
+
}));
|
|
85
|
+
|
|
86
|
+
this.setState({
|
|
87
|
+
accessUsers: {
|
|
88
|
+
elements: [...this.state.accessUsers.elements, ...elements],
|
|
89
|
+
selectedItem: this.props.postingAd.accessUserId
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
64
95
|
async generateTitleDescription() {
|
|
65
96
|
if (this.props.postingAd.languages[0].title === undefined || this.props.postingAd.languages[0].title === null ||
|
|
66
97
|
this.props.postingAd.languages[0].description === undefined || this.props.postingAd.languages[0].description === null) {
|
|
@@ -227,6 +258,21 @@ export default class Publish6 extends React.Component {
|
|
|
227
258
|
onChange={(phones) => this.props.postingAd.phonesObject = phones} />
|
|
228
259
|
</View>
|
|
229
260
|
|
|
261
|
+
{this.state.accessUsers.elements.length > 1 ?
|
|
262
|
+
<InputSelect
|
|
263
|
+
label={strings('setup.mainContact')}
|
|
264
|
+
placeholder={strings('setup.select')}
|
|
265
|
+
labelStyle={commonStyles.progressbarField}
|
|
266
|
+
required={false}
|
|
267
|
+
onChange={(value) => this.props.postingAd.accessUserId = value}
|
|
268
|
+
scroll={(ref) => this.props.scroll(ref)}
|
|
269
|
+
options={this.state.accessUsers}
|
|
270
|
+
selectStyle={commonStyles.inputSelect}
|
|
271
|
+
selectTextStyle={{ color: '#000' }} />
|
|
272
|
+
:
|
|
273
|
+
null
|
|
274
|
+
}
|
|
275
|
+
|
|
230
276
|
<View style={commonStyles.conseilBox}>
|
|
231
277
|
<TouchableOpacity style={commonStyles.alignCenter} activeOpacity={1} onPress={() => this.popupShowAdvice.show()}>
|
|
232
278
|
<FontAwesomeIcon style={commonStyles.conseilIcon} name="help-circled" />
|
package/commonStyles.js
CHANGED
|
@@ -42,13 +42,13 @@ export default StyleSheet.create({
|
|
|
42
42
|
borderTopColor: '#d4d4d4',
|
|
43
43
|
paddingTop: 3,
|
|
44
44
|
paddingBottom: 3,
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
paddingStart: 15,
|
|
46
|
+
paddingEnd: 15,
|
|
47
47
|
width: '100%',
|
|
48
48
|
backgroundColor: '#fff',
|
|
49
49
|
bottom: 0,
|
|
50
50
|
zIndex: 80,
|
|
51
|
-
|
|
51
|
+
start: 0,
|
|
52
52
|
},
|
|
53
53
|
|
|
54
54
|
previewBackButton: {
|
|
@@ -56,12 +56,12 @@ export default StyleSheet.create({
|
|
|
56
56
|
justifyContent: 'flex-end',
|
|
57
57
|
paddingTop: 3,
|
|
58
58
|
paddingBottom: 3,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
paddingStart: 15,
|
|
60
|
+
paddingEnd: 15,
|
|
61
61
|
width: '100%',
|
|
62
62
|
bottom: 0,
|
|
63
63
|
zIndex: 80,
|
|
64
|
-
|
|
64
|
+
start: 0,
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
red: {
|
|
@@ -162,8 +162,8 @@ export default StyleSheet.create({
|
|
|
162
162
|
borderRadius: 5,
|
|
163
163
|
paddingTop: 8,
|
|
164
164
|
paddingBottom: 8,
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
paddingStart: 4,
|
|
166
|
+
paddingEnd: 4,
|
|
167
167
|
marginTop: 20,
|
|
168
168
|
marginBottom: 20,
|
|
169
169
|
alignItems: 'center',
|
|
@@ -219,7 +219,7 @@ export default StyleSheet.create({
|
|
|
219
219
|
},
|
|
220
220
|
|
|
221
221
|
titleIcon: {
|
|
222
|
-
|
|
222
|
+
marginEnd: 5,
|
|
223
223
|
alignSelf: 'center',
|
|
224
224
|
color: '#104a7a'
|
|
225
225
|
},
|
|
@@ -293,7 +293,7 @@ export default StyleSheet.create({
|
|
|
293
293
|
/*----------Progress bar----------*/
|
|
294
294
|
progressTitle: {
|
|
295
295
|
fontSize: 11,
|
|
296
|
-
|
|
296
|
+
marginStart: 20,
|
|
297
297
|
color: '#bbbbbb',
|
|
298
298
|
fontFamily: 'Light',
|
|
299
299
|
marginBottom: 5
|
|
@@ -301,7 +301,7 @@ export default StyleSheet.create({
|
|
|
301
301
|
|
|
302
302
|
progressTitleColor: {
|
|
303
303
|
color: '#0093ff',
|
|
304
|
-
|
|
304
|
+
marginStart: 0,
|
|
305
305
|
},
|
|
306
306
|
|
|
307
307
|
progressBar: {
|
|
@@ -383,8 +383,8 @@ export default StyleSheet.create({
|
|
|
383
383
|
formFieldset: {
|
|
384
384
|
flex: 1,
|
|
385
385
|
paddingTop: 20,
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
paddingStart: 20,
|
|
387
|
+
paddingEnd: 20,
|
|
388
388
|
paddingBottom: 20,
|
|
389
389
|
},
|
|
390
390
|
|
|
@@ -458,12 +458,12 @@ export default StyleSheet.create({
|
|
|
458
458
|
width: '20%',
|
|
459
459
|
},
|
|
460
460
|
|
|
461
|
-
|
|
461
|
+
colmarginStart: {
|
|
462
462
|
width: '48%',
|
|
463
|
-
|
|
463
|
+
marginEnd: '4%',
|
|
464
464
|
},
|
|
465
465
|
|
|
466
|
-
|
|
466
|
+
colmarginEnd: {
|
|
467
467
|
width: '48%'
|
|
468
468
|
},
|
|
469
469
|
|
|
@@ -486,8 +486,8 @@ export default StyleSheet.create({
|
|
|
486
486
|
borderRadius: 5,
|
|
487
487
|
paddingTop: 10,
|
|
488
488
|
paddingBottom: 10,
|
|
489
|
-
|
|
490
|
-
|
|
489
|
+
paddingStart: 15,
|
|
490
|
+
paddingEnd: 15,
|
|
491
491
|
minHeight: 40,
|
|
492
492
|
marginTop: 10,
|
|
493
493
|
},
|
|
@@ -501,7 +501,7 @@ export default StyleSheet.create({
|
|
|
501
501
|
confirmIcon: {
|
|
502
502
|
fontSize: 14,
|
|
503
503
|
color: '#155724',
|
|
504
|
-
|
|
504
|
+
marginEnd: 2,
|
|
505
505
|
},
|
|
506
506
|
|
|
507
507
|
/*----------Setup 4----------*/
|
|
@@ -509,8 +509,8 @@ export default StyleSheet.create({
|
|
|
509
509
|
borderColor: '#bcbcbc',
|
|
510
510
|
borderWidth: 1,
|
|
511
511
|
borderRadius: 5,
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
borderBottomEndRadius: 0,
|
|
513
|
+
borderTopEndRadius: 0,
|
|
514
514
|
backgroundColor: '#fff'
|
|
515
515
|
},
|
|
516
516
|
|
|
@@ -519,14 +519,14 @@ export default StyleSheet.create({
|
|
|
519
519
|
borderColor: '#bcbcbc',
|
|
520
520
|
borderWidth: 1,
|
|
521
521
|
borderRadius: 5,
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
borderStartWidth: 0,
|
|
523
|
+
paddingStart: 15,
|
|
524
524
|
height: 35,
|
|
525
525
|
width: '100%',
|
|
526
526
|
justifyContent: 'center',
|
|
527
527
|
backgroundColor: '#fff',
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
borderTopStartRadius: 0,
|
|
529
|
+
borderBottomStartRadius: 0,
|
|
530
530
|
bottom: 0
|
|
531
531
|
},
|
|
532
532
|
|
|
@@ -540,14 +540,14 @@ export default StyleSheet.create({
|
|
|
540
540
|
price: {
|
|
541
541
|
position: 'absolute',
|
|
542
542
|
bottom: 0,
|
|
543
|
-
|
|
543
|
+
end: 0,
|
|
544
544
|
width: '96%'
|
|
545
545
|
},
|
|
546
546
|
|
|
547
547
|
priceOptions: {
|
|
548
548
|
position: 'absolute',
|
|
549
549
|
bottom: 0,
|
|
550
|
-
|
|
550
|
+
marginStart: 2
|
|
551
551
|
},
|
|
552
552
|
|
|
553
553
|
/*----------Setup 4----------*/
|
|
@@ -568,7 +568,7 @@ export default StyleSheet.create({
|
|
|
568
568
|
borderRadius: 10,
|
|
569
569
|
width: '48%',
|
|
570
570
|
backgroundColor: '#fff',
|
|
571
|
-
|
|
571
|
+
marginEnd: '2%'
|
|
572
572
|
},
|
|
573
573
|
|
|
574
574
|
photoBoxBackground: {
|
|
@@ -593,16 +593,16 @@ export default StyleSheet.create({
|
|
|
593
593
|
},
|
|
594
594
|
|
|
595
595
|
leftIcon: {
|
|
596
|
-
|
|
596
|
+
marginStart: 5,
|
|
597
597
|
marginBottom: 5,
|
|
598
598
|
marginTop: 15,
|
|
599
599
|
},
|
|
600
600
|
|
|
601
601
|
rightIcon: {
|
|
602
|
-
|
|
602
|
+
marginEnd: 7,
|
|
603
603
|
marginBottom: 5,
|
|
604
604
|
marginTop: 15,
|
|
605
|
-
|
|
605
|
+
marginStart: 'auto'
|
|
606
606
|
},
|
|
607
607
|
|
|
608
608
|
emptyContent: {
|
|
@@ -628,10 +628,10 @@ export default StyleSheet.create({
|
|
|
628
628
|
|
|
629
629
|
photoControls: {
|
|
630
630
|
position: 'absolute',
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
631
|
+
borderBottomStartRadius: 5,
|
|
632
|
+
borderBottomEndRadius: 5,
|
|
633
|
+
borderTopStartRadius: 0,
|
|
634
|
+
borderTopEndRadius: 0,
|
|
635
635
|
bottom: 0,
|
|
636
636
|
width: '100%',
|
|
637
637
|
},
|
|
@@ -705,7 +705,7 @@ export default StyleSheet.create({
|
|
|
705
705
|
},
|
|
706
706
|
|
|
707
707
|
selectPublish: {
|
|
708
|
-
|
|
708
|
+
marginEnd: 6
|
|
709
709
|
},
|
|
710
710
|
|
|
711
711
|
/*----------Setup 6----------*/
|
|
@@ -714,7 +714,7 @@ export default StyleSheet.create({
|
|
|
714
714
|
borderBottomWidth: 1,
|
|
715
715
|
borderBottomColor: '#bbbbbb',
|
|
716
716
|
fontSize: 12,
|
|
717
|
-
|
|
717
|
+
paddingStart: 12,
|
|
718
718
|
width: '100%',
|
|
719
719
|
display: 'flex',
|
|
720
720
|
minHeight: 35,
|
|
@@ -729,14 +729,14 @@ export default StyleSheet.create({
|
|
|
729
729
|
|
|
730
730
|
editIconContainer: {
|
|
731
731
|
position: 'absolute',
|
|
732
|
-
|
|
732
|
+
end: 0,
|
|
733
733
|
top: 8,
|
|
734
734
|
flexDirection: 'row'
|
|
735
735
|
},
|
|
736
736
|
|
|
737
737
|
editIcon: {
|
|
738
738
|
color: '#bbb',
|
|
739
|
-
|
|
739
|
+
marginEnd: 8,
|
|
740
740
|
fontSize: 16,
|
|
741
741
|
minWidth: 18,
|
|
742
742
|
},
|
|
@@ -756,17 +756,17 @@ export default StyleSheet.create({
|
|
|
756
756
|
|
|
757
757
|
progressBarInputFlag: {
|
|
758
758
|
paddingTop: 6,
|
|
759
|
-
|
|
759
|
+
paddingStart: 12,
|
|
760
760
|
backgroundColor: 'white',
|
|
761
761
|
height: 43,
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
borderTopStartRadius: 5,
|
|
763
|
+
borderBottomStartRadius: 5,
|
|
764
764
|
width: '15%'
|
|
765
765
|
},
|
|
766
766
|
|
|
767
767
|
progressBarInputFlagDisabled: {
|
|
768
768
|
paddingTop: 6,
|
|
769
|
-
|
|
769
|
+
paddingStart: 12,
|
|
770
770
|
height: 43,
|
|
771
771
|
width: '15%'
|
|
772
772
|
},
|
|
@@ -777,10 +777,10 @@ export default StyleSheet.create({
|
|
|
777
777
|
width: '85%',
|
|
778
778
|
backgroundColor: '#fff',
|
|
779
779
|
paddingBottom: 12,
|
|
780
|
-
|
|
780
|
+
paddingStart: 8,
|
|
781
781
|
marginBottom: 10,
|
|
782
|
-
|
|
783
|
-
|
|
782
|
+
borderTopEndRadius: 5,
|
|
783
|
+
borderBottomEndRadius: 5,
|
|
784
784
|
height: 43,
|
|
785
785
|
},
|
|
786
786
|
|
|
@@ -789,7 +789,7 @@ export default StyleSheet.create({
|
|
|
789
789
|
position: 'relative',
|
|
790
790
|
width: '85%',
|
|
791
791
|
paddingBottom: 12,
|
|
792
|
-
|
|
792
|
+
paddingStart: 8,
|
|
793
793
|
marginBottom: 10,
|
|
794
794
|
height: 43,
|
|
795
795
|
},
|
|
@@ -801,12 +801,12 @@ export default StyleSheet.create({
|
|
|
801
801
|
borderRadius: 5,
|
|
802
802
|
paddingTop: 4,
|
|
803
803
|
paddingBottom: 4,
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
paddingEnd: 4,
|
|
805
|
+
paddingStart: 4,
|
|
806
806
|
marginBottom: '5%',
|
|
807
807
|
marginTop: '5%',
|
|
808
|
-
|
|
809
|
-
|
|
808
|
+
marginEnd: '5%',
|
|
809
|
+
marginStart: '5%',
|
|
810
810
|
},
|
|
811
811
|
|
|
812
812
|
percentage: {
|
|
@@ -819,8 +819,8 @@ export default StyleSheet.create({
|
|
|
819
819
|
helpItemBox: {
|
|
820
820
|
paddingTop: 15,
|
|
821
821
|
paddingBottom: 15,
|
|
822
|
-
|
|
823
|
-
|
|
822
|
+
paddingEnd: 20,
|
|
823
|
+
paddingStart: 20,
|
|
824
824
|
},
|
|
825
825
|
|
|
826
826
|
/*----------Preview----------*/
|
|
@@ -836,9 +836,9 @@ export default StyleSheet.create({
|
|
|
836
836
|
|
|
837
837
|
previewIcon: {
|
|
838
838
|
color: '#858585',
|
|
839
|
-
|
|
839
|
+
marginEnd: 6,
|
|
840
840
|
fontSize: 16,
|
|
841
|
-
|
|
841
|
+
marginStart: 12,
|
|
842
842
|
lineHeight: 22
|
|
843
843
|
},
|
|
844
844
|
|
|
@@ -888,19 +888,19 @@ export default StyleSheet.create({
|
|
|
888
888
|
promoColPremium: {
|
|
889
889
|
paddingTop: 10,
|
|
890
890
|
paddingBottom: 10,
|
|
891
|
-
|
|
892
|
-
|
|
891
|
+
paddingStart: 8,
|
|
892
|
+
paddingEnd: 8
|
|
893
893
|
},
|
|
894
894
|
|
|
895
895
|
promoColSuper: {
|
|
896
896
|
paddingTop: 10,
|
|
897
897
|
paddingBottom: 10,
|
|
898
|
-
|
|
899
|
-
|
|
898
|
+
paddingEnd: 8,
|
|
899
|
+
paddingStart: 8,
|
|
900
900
|
borderWidth: 1,
|
|
901
901
|
borderColor: '#d4d4d4',
|
|
902
|
-
|
|
903
|
-
|
|
902
|
+
borderTopEndRadius: 5,
|
|
903
|
+
borderBottomEndRadius: 5,
|
|
904
904
|
},
|
|
905
905
|
|
|
906
906
|
promoSub: {
|
|
@@ -942,9 +942,9 @@ export default StyleSheet.create({
|
|
|
942
942
|
superBtn: {
|
|
943
943
|
borderRadius: 360,
|
|
944
944
|
paddingTop: 6,
|
|
945
|
-
|
|
945
|
+
paddingEnd: 6,
|
|
946
946
|
paddingBottom: 6,
|
|
947
|
-
|
|
947
|
+
paddingStart: 2,
|
|
948
948
|
alignItems: 'center',
|
|
949
949
|
justifyContent: 'center'
|
|
950
950
|
},
|
|
@@ -990,8 +990,8 @@ export default StyleSheet.create({
|
|
|
990
990
|
/*----------Input Number----------*/
|
|
991
991
|
|
|
992
992
|
numberInput: {
|
|
993
|
-
|
|
994
|
-
|
|
993
|
+
paddingStart: 4,
|
|
994
|
+
paddingEnd: 4,
|
|
995
995
|
display: 'flex',
|
|
996
996
|
justifyContent: 'center',
|
|
997
997
|
width: 38,
|
|
@@ -1046,7 +1046,7 @@ export default StyleSheet.create({
|
|
|
1046
1046
|
inputSelectIcon: {
|
|
1047
1047
|
position: 'absolute',
|
|
1048
1048
|
top: 20,
|
|
1049
|
-
|
|
1049
|
+
end: 10,
|
|
1050
1050
|
zIndex: 3,
|
|
1051
1051
|
width: 10,
|
|
1052
1052
|
height: 5
|
|
@@ -1104,12 +1104,12 @@ export default StyleSheet.create({
|
|
|
1104
1104
|
okBtnBoxPopup: {
|
|
1105
1105
|
bottom: 0,
|
|
1106
1106
|
zIndex: 80,
|
|
1107
|
-
|
|
1107
|
+
start: 0,
|
|
1108
1108
|
borderRadius: 360,
|
|
1109
1109
|
paddingTop: 8,
|
|
1110
1110
|
paddingBottom: 8,
|
|
1111
|
-
|
|
1112
|
-
|
|
1111
|
+
paddingStart: 20,
|
|
1112
|
+
paddingEnd: 20,
|
|
1113
1113
|
marginTop: 20,
|
|
1114
1114
|
width: '100%',
|
|
1115
1115
|
alignItems: 'center',
|
|
@@ -1172,12 +1172,12 @@ export default StyleSheet.create({
|
|
|
1172
1172
|
backgroundColor: '#0093ff',
|
|
1173
1173
|
bottom: 0,
|
|
1174
1174
|
zIndex: 80,
|
|
1175
|
-
|
|
1175
|
+
start: 0,
|
|
1176
1176
|
borderRadius: 5,
|
|
1177
1177
|
paddingTop: 8,
|
|
1178
1178
|
paddingBottom: 8,
|
|
1179
|
-
|
|
1180
|
-
|
|
1179
|
+
paddingStart: 20,
|
|
1180
|
+
paddingEnd: 20,
|
|
1181
1181
|
marginTop: 20,
|
|
1182
1182
|
width: '100%',
|
|
1183
1183
|
alignItems: 'center',
|
|
@@ -1197,17 +1197,17 @@ export default StyleSheet.create({
|
|
|
1197
1197
|
},
|
|
1198
1198
|
|
|
1199
1199
|
okBtnBoxPermissions: {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1200
|
+
paddingStart: 10,
|
|
1201
|
+
paddingEnd: 10,
|
|
1202
|
+
marginStart: 7,
|
|
1203
|
+
marginEnd: 7
|
|
1204
1204
|
},
|
|
1205
1205
|
|
|
1206
1206
|
/*---------- Edit Bar ----------*/
|
|
1207
1207
|
|
|
1208
1208
|
editRef: {
|
|
1209
1209
|
marginTop: 10,
|
|
1210
|
-
|
|
1210
|
+
marginStart: 35,
|
|
1211
1211
|
top: 20
|
|
1212
1212
|
},
|
|
1213
1213
|
|
|
@@ -1231,11 +1231,11 @@ export default StyleSheet.create({
|
|
|
1231
1231
|
backgroundColor: '#fff',
|
|
1232
1232
|
paddingTop: 8,
|
|
1233
1233
|
paddingBottom: 8,
|
|
1234
|
-
|
|
1235
|
-
|
|
1234
|
+
paddingStart: 8,
|
|
1235
|
+
paddingEnd: 8,
|
|
1236
1236
|
marginTop: 5,
|
|
1237
|
-
|
|
1238
|
-
|
|
1237
|
+
marginEnd: 20,
|
|
1238
|
+
marginStart: 20,
|
|
1239
1239
|
marginBottom: 10,
|
|
1240
1240
|
borderRadius: 360
|
|
1241
1241
|
},
|
|
@@ -1248,7 +1248,7 @@ export default StyleSheet.create({
|
|
|
1248
1248
|
|
|
1249
1249
|
editRef: {
|
|
1250
1250
|
marginTop: 20,
|
|
1251
|
-
|
|
1251
|
+
marginStart: 35,
|
|
1252
1252
|
|
|
1253
1253
|
},
|
|
1254
1254
|
|
|
@@ -1280,8 +1280,8 @@ export default StyleSheet.create({
|
|
|
1280
1280
|
fontFamily: 'Medium',
|
|
1281
1281
|
paddingTop: 8,
|
|
1282
1282
|
paddingBottom: 8,
|
|
1283
|
-
|
|
1284
|
-
|
|
1283
|
+
paddingEnd: 14,
|
|
1284
|
+
paddingStart: 14,
|
|
1285
1285
|
textAlign: 'left',
|
|
1286
1286
|
color: '#000'
|
|
1287
1287
|
},
|
|
@@ -1300,9 +1300,9 @@ export default StyleSheet.create({
|
|
|
1300
1300
|
color: '#fff',
|
|
1301
1301
|
fontSize: 40,
|
|
1302
1302
|
position: 'absolute',
|
|
1303
|
-
|
|
1303
|
+
start: 'auto',
|
|
1304
1304
|
top: 'auto',
|
|
1305
|
-
|
|
1305
|
+
marginStart: 'auto',
|
|
1306
1306
|
alignSelf: 'center'
|
|
1307
1307
|
},
|
|
1308
1308
|
|
|
@@ -1321,8 +1321,8 @@ export default StyleSheet.create({
|
|
|
1321
1321
|
overlay: {
|
|
1322
1322
|
position: 'absolute',
|
|
1323
1323
|
top: 0,
|
|
1324
|
-
|
|
1325
|
-
|
|
1324
|
+
start: 0,
|
|
1325
|
+
end: 0,
|
|
1326
1326
|
bottom: 0,
|
|
1327
1327
|
backgroundColor: 'rgba(0,0,0,0.2)'
|
|
1328
1328
|
},
|
|
@@ -1330,8 +1330,8 @@ export default StyleSheet.create({
|
|
|
1330
1330
|
absoluetFillObject: {
|
|
1331
1331
|
position: 'absolute',
|
|
1332
1332
|
top: 0,
|
|
1333
|
-
|
|
1334
|
-
|
|
1333
|
+
start: 0,
|
|
1334
|
+
end: 0,
|
|
1335
1335
|
bottom: 0
|
|
1336
1336
|
},
|
|
1337
1337
|
|
|
@@ -1353,7 +1353,7 @@ export default StyleSheet.create({
|
|
|
1353
1353
|
previewHighlightImage: {
|
|
1354
1354
|
position: 'absolute',
|
|
1355
1355
|
top: -13,
|
|
1356
|
-
|
|
1356
|
+
start: 6,
|
|
1357
1357
|
width: 35,
|
|
1358
1358
|
height: 36
|
|
1359
1359
|
},
|
package/locales/ar.json
CHANGED
|
@@ -1,150 +1,151 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
2
|
+
"setup": {
|
|
3
|
+
"camera": "كاميرا",
|
|
4
|
+
"gallery": "رواق",
|
|
5
|
+
"requiredField": "الحقول المطلوبة",
|
|
6
|
+
"onlyNumbers": "استخدم الأرقام فقط",
|
|
7
|
+
"MAD": "د.م",
|
|
8
|
+
"EUR": "يورو",
|
|
9
|
+
"USD": "دولار",
|
|
10
|
+
"measureSurface": "م²",
|
|
11
|
+
"createAd": "أنشر إعلانا",
|
|
12
|
+
"stage": "خطوة",
|
|
13
|
+
"next": "التالي",
|
|
14
|
+
"select": "إختر واحدة",
|
|
15
|
+
"enregistrer": "سجل",
|
|
16
|
+
"typeTransaction": "نوع المعاملة",
|
|
17
|
+
"transaction": "معاملة",
|
|
18
|
+
"typeBien": "نوع العقار",
|
|
19
|
+
"notUseMap": "لا أريد استخدام الخريطة >>",
|
|
20
|
+
"titleLocationNotFound": "المدينة غير موجودة",
|
|
21
|
+
"locationNotFound": "لا يمكن العثور على مدينة الإعلان يرجى اختيارها في النموذج التالي",
|
|
22
|
+
"permissionsMessage": "تحتاج إلى الموقع، الكاميرا وأذونات الرواق لنشر الإعلانات",
|
|
23
|
+
"useMap": "<< أريد استخدام الخريطة",
|
|
24
|
+
"location": "موقع",
|
|
25
|
+
"adress": "العنوان",
|
|
26
|
+
"region": "الإقليم",
|
|
27
|
+
"city": "المدينة",
|
|
28
|
+
"district": "مقاطعة",
|
|
29
|
+
"town": "حي",
|
|
30
|
+
"propertyCharacteristics": "خصائص العقار",
|
|
31
|
+
"price": "السعر",
|
|
32
|
+
"currency": "العملة",
|
|
33
|
+
"publishPhotos": "انشروا صوركم",
|
|
34
|
+
"advice": "نصائح",
|
|
35
|
+
"adviceText1": " الحد الأقصى لحجم الصورة 5 ميغابايت ويجب ألا يتجاوز 3456 × 3456 بكسل. يجب تنزيل الصور بحجم .jpg أو .gif أو .png.",
|
|
36
|
+
"adviceText2": "المنشورات التي تتضمن صورة تتلقى ما يصل إلى 3 مرات أكثر من الزيارات. اختر كصورة غلاف تلك التي تمثل أفضل ميزات العقار.",
|
|
37
|
+
"adviceOK": "حسنا شكرا",
|
|
38
|
+
"continue": "متابعة",
|
|
39
|
+
"features": "الخصائص",
|
|
40
|
+
"mainFeatures": "خصائص عامة",
|
|
41
|
+
"inside": "الداخل",
|
|
42
|
+
"otherOptions": "خيارات إضافية",
|
|
43
|
+
"checkPublication": "تحقق قبل النشر",
|
|
44
|
+
"title": "عنوان",
|
|
45
|
+
"description": "وصف",
|
|
46
|
+
"phone": "الهواتف",
|
|
47
|
+
"reference": "المرجع",
|
|
48
|
+
"uniqueReference": "استخدم مرجعًا وحيدا للإعلان",
|
|
49
|
+
"maxPhones": "الحد الأقصى 3 هواتف",
|
|
50
|
+
"existingPhone": "تم تخصيص هذا الرقم الهاتفي لمستخدم آخر",
|
|
51
|
+
"legalNote": "من خلال خلق هذا الإعلان ، فإنك توافق على شروط الاستخدام و سياسة الخصوصية الخاصة بشركة مبوب. نحن نحتفظ بالحق في حذف و / أو تعديل الإعلانات غير اللائقة.",
|
|
52
|
+
"savingAd": "حفظ الإعلان",
|
|
53
|
+
"uploadingPicture": "تحميل الصورة",
|
|
54
|
+
"publishWait": "تم حفظ الإعلان الخاص بك سوف تصلك رسالة تأكيد",
|
|
55
|
+
"publishOK": "تم نشر ممتلكاتك على نحو صحيح!",
|
|
56
|
+
"makeIt": "افعل ذلك",
|
|
57
|
+
"super": "عظيم",
|
|
58
|
+
"premium": "بريميوم",
|
|
59
|
+
"makePremium": "سننشر إعلانكم في الموضع الأول لمدة أسبوعين",
|
|
60
|
+
"makeSuperpremium": "سننشر إعلانكم في الموضع الأول لمدة شهر",
|
|
61
|
+
"returnHome": "<< العودة إلى القائمة الرئيسية",
|
|
62
|
+
"publishMore": "أنشروا ممتلكات أخرى",
|
|
63
|
+
"useIt": "فعّل",
|
|
64
|
+
"active": "✓ مفعّل",
|
|
65
|
+
"ref": "مرجع:",
|
|
66
|
+
"congratulationsPromoteAdTitle": "مبروك، إعلانكم",
|
|
67
|
+
"congratulationsPromoteAdSubTitle1": "سيكون إعلانكم في نتائج البحث الأولى",
|
|
68
|
+
"congratulationsPromoteAdSubTitle2": "لا يزال لديكم: {{remaining}} إعلان {{product}}",
|
|
69
|
+
"noPromoteTitle": "عذرا! لا تتوفرون على إعلانات {{product}} متوفرة",
|
|
70
|
+
"noPromoteSubtitle": "إذا كنتم ترغبون في إعادة شحن حسابكم ، فاتصلوا بنا: {{countryPhone}}",
|
|
71
|
+
"new": "جديد",
|
|
72
|
+
"good": "حالة جيدة",
|
|
73
|
+
"reform": "للتجديد",
|
|
74
|
+
"L1": "أقل من سنة",
|
|
75
|
+
"F1T5": "من سنة إلى 5 سنوات",
|
|
76
|
+
"F5T10": "من 5 سنوات إلى 10 سنوات",
|
|
77
|
+
"F10T20": "من 10 سنوات إلى 20 سنوات",
|
|
78
|
+
"F20T30": "من 20 سنوات إلى 30 سنوات",
|
|
79
|
+
"F30T50": "من 30 سنوات إلى 50 سنوات",
|
|
80
|
+
"F50T70": "من 50 سنوات إلى 70 سنوات",
|
|
81
|
+
"F70T100": "من 70 سنوات إلى 100 سنوات",
|
|
82
|
+
"G100": "أكثر من 100 سنوات",
|
|
83
|
+
"parquet": "التخشيب",
|
|
84
|
+
"marble": "الرخام",
|
|
85
|
+
"tile": "البلاط",
|
|
86
|
+
"others": "مواد أخرى",
|
|
87
|
+
"publish": "انشر",
|
|
88
|
+
"floorNumber": "طابق",
|
|
89
|
+
"pax": "عدد الأشخاص",
|
|
90
|
+
"minNights": "الحد الأدنى للإقامة",
|
|
91
|
+
"period": "الفتر",
|
|
92
|
+
"monthly": "شهريا",
|
|
93
|
+
"weekly": "أسبوعيا",
|
|
94
|
+
"daily": "يوميا",
|
|
95
|
+
"posting_tip_title_1": "ما هو العنوان المناسب؟ ",
|
|
96
|
+
"posting_tip_title_2": "ننصحكم بوضع عنوان توضيحي لتوفير معلومات إضافية إلى المشتري. تجنب وضع خصائص الملكية مثل المساحة والسعر، الخ ... هناك حقول مخصصة لذلك. ",
|
|
97
|
+
"posting_tip_description_1": "كيفية كتابة وصف جيد؟ ",
|
|
98
|
+
"posting_tip_description_2": "قم بوصف العقار من حيث ",
|
|
99
|
+
"posting_tip_description_3": "...الحالة، المرافق، الواجهات، الإضاءة، الحديقة، المسبح ",
|
|
100
|
+
"posting_tip_description_4": "هل هو في موقع جيد؟ ",
|
|
101
|
+
"posting_tip_description_5": "...على مقربة من المدارس والمحلات التجارية (محلات، مخابز ..)، والحدائق والمتنزهات ومحطات القطارات والحافلات والطرق السيارة ",
|
|
102
|
+
"posting_tip_description_6": " مجهز أومفروش؟ ",
|
|
103
|
+
"posting_tip_description_7": "الأرضية والمطبخ، والحمام، النجارة... ",
|
|
104
|
+
"posting_tip_description_8": "ما الذي يجعله مختلفا؟ ",
|
|
105
|
+
"posting_tip_description_9": "من الأفضل ذكر جميع الخصائص المميزة لهذا العقار ",
|
|
106
|
+
"posting_tip_description_10": "ملاحظة: لا تضع رقم الهاتف أو البريد الإلكتروني في المكان المخصص للوصف، سيتم ربطكم مباشرة مع الزبون ",
|
|
107
|
+
"contactOwner": "اتصل بالناشر",
|
|
108
|
+
"orientation": "اتجاه",
|
|
109
|
+
"north": "شمال",
|
|
110
|
+
"south": "جنوب",
|
|
111
|
+
"west": "الغرب",
|
|
112
|
+
"est": "شرق",
|
|
113
|
+
"highlight": "رفع قيمة",
|
|
114
|
+
"adCantPostCity": "لا يمكنك النشر في هذه المدينة",
|
|
115
|
+
"adCantPostTown": "لا يمكنك النشر في هذا الحي",
|
|
116
|
+
"noPromotionTitle": "أنت بحاجة إلى ترقية",
|
|
117
|
+
"noPromotionText": "لإنشاء إعلان جديد، أنت بحاجة إلى ترويج",
|
|
118
|
+
"login": "الهاتف ملكي، قم بتغيير الحساب",
|
|
119
|
+
"cantPostTransaction": "لا يمكنك التبديل إلى هذه الفئة",
|
|
120
|
+
"adTypeChanged": "تم تعديل نوع الخاصية",
|
|
121
|
+
"willValidateAgain": "تم اكتشاف أن نوع الخاصية قد تم تعديله، لذلك سيتم إلغاء تنشيط الإعلان وسيخضع لعملية التحقق من الصحة مرة أخرى",
|
|
122
|
+
"numberOfFloors": "عدد الطوابق",
|
|
123
|
+
"landTypes": "نوع الأرض",
|
|
124
|
+
"constructibility": "قابلية البناء",
|
|
125
|
+
"delivery": "التسليم",
|
|
126
|
+
"landStatus": "حالة الأرض",
|
|
127
|
+
"mainContact": "جهة الاتصال الرئيسية"
|
|
128
|
+
},
|
|
129
|
+
"product": {
|
|
130
|
+
"LISTING": "قوائم",
|
|
131
|
+
"LISTING_PREMIUM": "بريميوم",
|
|
132
|
+
"LISTING_SUPER_PREMIUM": "سوبر بريميوم"
|
|
133
|
+
},
|
|
134
|
+
"edit": {
|
|
135
|
+
"whatEditing": "ما الذي تريدون نشره؟",
|
|
136
|
+
"transaction": "نوع العقار",
|
|
137
|
+
"location": "تأجير",
|
|
138
|
+
"caracteristiques": "خاصيات",
|
|
139
|
+
"photos": "صور",
|
|
140
|
+
"functionalities": "وظائف",
|
|
141
|
+
"mainInfo": "معلومات رئيسية"
|
|
142
|
+
},
|
|
143
|
+
"languages": {
|
|
144
|
+
"fr": "Français",
|
|
145
|
+
"ar": "العربية",
|
|
146
|
+
"en": "English",
|
|
147
|
+
"es": "Español",
|
|
148
|
+
"it": "Italiano",
|
|
149
|
+
"nl": "Nederlands"
|
|
150
|
+
}
|
|
150
151
|
}
|
package/locales/en.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"landTypes": "Land type",
|
|
124
124
|
"constructibility": "Constructibility",
|
|
125
125
|
"delivery": "Delivery",
|
|
126
|
-
"landStatus": "Land status"
|
|
126
|
+
"landStatus": "Land status",
|
|
127
|
+
"mainContact": "Main contact"
|
|
127
128
|
},
|
|
128
129
|
"product": {
|
|
129
130
|
"LISTING": "Listing",
|
package/locales/es.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"landTypes": "Tipo de terreno",
|
|
124
124
|
"constructibility": "Constructibilidad",
|
|
125
125
|
"delivery": "Entrega",
|
|
126
|
-
"landStatus": "Estado del terreno"
|
|
126
|
+
"landStatus": "Estado del terreno",
|
|
127
|
+
"mainContact": "Contacto principal"
|
|
127
128
|
},
|
|
128
129
|
"product": {
|
|
129
130
|
"LISTING": "Listing",
|
package/locales/fr.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"landTypes": "Type de terrain",
|
|
124
124
|
"constructibility": "Constructibilité",
|
|
125
125
|
"delivery": "Livraison",
|
|
126
|
-
"landStatus": "Statut du terrain"
|
|
126
|
+
"landStatus": "Statut du terrain",
|
|
127
|
+
"mainContact": "Contact principal"
|
|
127
128
|
},
|
|
128
129
|
"product": {
|
|
129
130
|
"LISTING": "Liste",
|
package/locales/it.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"landTypes": "Tipo di terreno",
|
|
124
124
|
"constructibility": "Costruibilità",
|
|
125
125
|
"delivery": "Consegna",
|
|
126
|
-
"landStatus": "Stato del terreno"
|
|
126
|
+
"landStatus": "Stato del terreno",
|
|
127
|
+
"mainContact": "Contatto principale"
|
|
127
128
|
},
|
|
128
129
|
"product": {
|
|
129
130
|
"LISTING": "Inserzioni",
|
package/locales/nl.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"landTypes": "Terreintype",
|
|
124
124
|
"constructibility": "Constructief",
|
|
125
125
|
"delivery": "Entree",
|
|
126
|
-
"landStatus": "Staat van het land"
|
|
126
|
+
"landStatus": "Staat van het land",
|
|
127
|
+
"mainContact": "Hoofdcontact"
|
|
127
128
|
},
|
|
128
129
|
"product": {
|
|
129
130
|
"LISTING": "Advertenties",
|