Skip to content

Commit 50c015a

Browse files
committed
local.ui
1 parent 34b7424 commit 50c015a

File tree

4 files changed

+113
-151
lines changed

4 files changed

+113
-151
lines changed

src/management/identities/jsonforms/_config/inetorgperson.create.ui.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
type: Group
2+
label: Identité
3+
elements:
4+
- type: HorizontalLayout
5+
elements:
6+
- type: Control
7+
label: UID_MOD
8+
scope: "#/properties/uid"
9+
options:
10+
required: true
11+
- type: Control
12+
label: Nom
13+
scope: "#/properties/sn"
14+
options:
15+
required: true
16+
- type: Control
17+
label: Prénom
18+
scope: "#/properties/givenName"
19+
options:
20+
required: true
21+
- type: HorizontalLayout
22+
elements:
23+
- type: Control
24+
label: Adresse postale
25+
scope: "#/properties/postalAddress"
26+
- type: HorizontalLayout
27+
elements:
28+
- type: Control
29+
label: Email
30+
scope: "#/properties/mail"
31+
options:
32+
format: email
33+
- type: Control
34+
label: Mobile
35+
scope: "#/properties/mobile"
36+
- type: Control
37+
label: Téléphone
38+
scope: "#/properties/telephoneNumber"
39+
- type: HorizontalLayout
40+
elements:
41+
- type: Control
42+
label: Titre
43+
scope: "#/properties/title"
44+
options:
45+
format: email
46+
- type: Control
47+
label: Type de population
48+
scope: "#/properties/departmentNumber"
49+
options:
50+
required: false
51+
readOnly: false
52+
suggestion:
53+
- "adm"
54+
- "etd"
55+
- "esn"
Lines changed: 58 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,61 @@
11
type: Group
22
label: Identité
33
elements:
4-
- type: HorizontalLayout
5-
elements:
6-
- type: Control
7-
label: CN
8-
scope: "#/properties/cn"
9-
options:
10-
required: true
11-
- type: Control
12-
label: Nom
13-
scope: "#/properties/sn"
14-
options:
15-
required: true
16-
readonly: true
17-
- type: Control
18-
label: UID
19-
scope: "#/properties/uid"
20-
options:
21-
required: true
22-
- type: HorizontalLayout
23-
elements:
24-
- type: Control
25-
label: Nom d'affichage
26-
scope: "#/properties/displayName"
27-
- type: Control
28-
label: Prénom
29-
scope: "#/properties/givenName"
30-
- type: HorizontalLayout
31-
elements:
32-
- type: Control
33-
label: Employee Number
34-
scope: "#/properties/employeeNumber"
35-
- type: Control
36-
label: Employee Type
37-
scope: "#/properties/employeeType"
38-
options:
39-
suggestion:
40-
- TAIGA
41-
- LOCAL
42-
- type: HorizontalLayout
43-
elements:
44-
- type: Control
45-
label: Email
46-
scope: "#/properties/mail"
47-
options:
48-
format: email
49-
- type: Control
50-
label: Mobile
51-
scope: "#/properties/mobile"
52-
- type: Control
53-
label: Adresse postale
54-
scope: "#/properties/postalAddress"
55-
- type: HorizontalLayout
56-
elements:
57-
- type: Control
58-
label: language préféré
59-
scope: "#/properties/preferredLanguage"
60-
options:
61-
required: false
62-
# suggestion:
63-
# - FR
64-
# - EN
65-
# - DE
66-
# - IT
67-
- type: Control
68-
label: Téléphone
69-
scope: "#/properties/telephoneNumber"
70-
- type: Control
71-
label: Titre
72-
scope: "#/properties/title"
73-
74-
- type: HorizontalLayout
75-
elements:
76-
- type: Control
77-
label: Photo
78-
scope: "#/properties/jpegPhoto"
79-
options:
80-
format: file
81-
storage: picture
4+
- type: HorizontalLayout
5+
elements:
6+
- type: Control
7+
label: UID
8+
scope: "#/properties/uid"
9+
options:
10+
required: true
11+
- type: Control
12+
label: Nom
13+
scope: "#/properties/sn"
14+
options:
15+
required: true
16+
readOnly: true
17+
- type: Control
18+
label: Prénom
19+
scope: "#/properties/givenName"
20+
options:
21+
required: true
22+
readOnly: true
23+
- type: HorizontalLayout
24+
elements:
25+
- type: Control
26+
label: Adresse postale
27+
scope: "#/properties/postalAddress"
28+
options:
29+
readOnly: true
30+
- type: HorizontalLayout
31+
elements:
32+
- type: Control
33+
label: Email
34+
scope: "#/properties/mail"
35+
options:
36+
format: email
37+
- type: Control
38+
label: Mobile
39+
scope: "#/properties/mobile"
40+
- type: Control
41+
label: Téléphone
42+
scope: "#/properties/telephoneNumber"
43+
options:
44+
readOnly: true
45+
- type: HorizontalLayout
46+
elements:
47+
- type: Control
48+
label: Titre
49+
scope: "#/properties/title"
50+
options:
51+
format: email
52+
- type: Control
53+
label: Type de population
54+
scope: "#/properties/departmentNumber"
55+
options:
56+
required: false
57+
readOnly: true
58+
suggestion:
59+
- "adm"
60+
- "etd"
61+
- "esn"

src/management/identities/validations/_config/supannPerson.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ properties:
2525
supannAutreMail:
2626
type: string
2727
description: Field corresponding to supannAutreMail
28-
items:
29-
type: string
3028
supannListeRouge:
3129
type: string
3230
description: Field corresponding to supannListeRouge

0 commit comments

Comments
 (0)