allaw-ui 3.9.8 → 4.0.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.
|
@@ -38,16 +38,10 @@ var ContactCardEdit = function (_a) {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
// Options pour les selects
|
|
41
|
-
var statusOptions = [
|
|
42
|
-
{ label: "Client actif", value: "Client actif" },
|
|
43
|
-
{ label: "Prospect", value: "Prospect" },
|
|
44
|
-
{ label: "Ancien client", value: "Ancien client" },
|
|
45
|
-
{ label: "Contact", value: "Contact" },
|
|
46
|
-
];
|
|
47
41
|
var clientTypeOptions = [
|
|
48
42
|
{ label: "Client du cabinet", value: "Client du cabinet" },
|
|
49
43
|
{ label: "Client de l'étude", value: "Client de l'étude" },
|
|
50
|
-
{ label: "
|
|
44
|
+
{ label: "Contact", value: "Contact" },
|
|
51
45
|
];
|
|
52
46
|
// Initialisation des données d'édition
|
|
53
47
|
useEffect(function () {
|
|
@@ -93,10 +87,7 @@ var ContactCardEdit = function (_a) {
|
|
|
93
87
|
}, disableAutofill: true }),
|
|
94
88
|
React.createElement(Input, { title: "", placeholder: "Nom", value: editData.lastName, onChange: function (value) {
|
|
95
89
|
return updateEditData(function (prev) { return (__assign(__assign({}, prev), { lastName: value })); });
|
|
96
|
-
}, disableAutofill: true })),
|
|
97
|
-
React.createElement(Select, { items: statusOptions, selectedItem: editData.status, placeholder: "Statut", onChange: function (value) {
|
|
98
|
-
return updateEditData(function (prev) { return (__assign(__assign({}, prev), { status: value })); });
|
|
99
|
-
} })),
|
|
90
|
+
}, disableAutofill: true }))),
|
|
100
91
|
React.createElement("div", { className: styles.infoContainer },
|
|
101
92
|
React.createElement("div", { className: styles.infoItem },
|
|
102
93
|
React.createElement("i", { className: "allaw-icon-user ".concat(styles.infoIcon) }),
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
justify-content: center;
|
|
27
27
|
align-items: center;
|
|
28
28
|
gap: 10px;
|
|
29
|
-
width:
|
|
30
|
-
min-width:
|
|
31
|
-
max-width:
|
|
29
|
+
width: 200px;
|
|
30
|
+
min-width: 200px;
|
|
31
|
+
max-width: 200px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.nameInputsContainer {
|
|
35
35
|
display: flex;
|
|
36
|
-
flex-direction:
|
|
36
|
+
flex-direction: column;
|
|
37
37
|
gap: 8px;
|
|
38
38
|
width: 100%;
|
|
39
39
|
min-width: 200px;
|
|
@@ -97,13 +97,15 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.phoneInputContainer {
|
|
100
|
-
width:
|
|
101
|
-
min-width:
|
|
102
|
-
max-width:
|
|
100
|
+
width: 160px;
|
|
101
|
+
min-width: 160px;
|
|
102
|
+
max-width: 160px;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.clientTypeSelectContainer {
|
|
106
106
|
padding-left: 0px;
|
|
107
|
+
max-width: 160px;
|
|
108
|
+
min-width: 160px;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
/* Media queries responsive */
|