ublo-lib 1.25.0 → 1.25.1
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.
|
@@ -15,7 +15,6 @@ import * as Plausible from "./services/plausible";
|
|
|
15
15
|
import styles from "./gesco-contact-form.module.css";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
18
|
export default function GescoContactForm({
|
|
20
19
|
lang = "fr",
|
|
21
20
|
channel = "ESF",
|
|
@@ -190,39 +189,37 @@ export default function GescoContactForm({
|
|
|
190
189
|
options: categoryOptions,
|
|
191
190
|
disabled: Boolean(error) || loading,
|
|
192
191
|
required: true
|
|
193
|
-
}),
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
required: true
|
|
225
|
-
})]
|
|
192
|
+
}), _jsx(Input, {
|
|
193
|
+
name: "stayFrom",
|
|
194
|
+
className: styles.stayField,
|
|
195
|
+
type: "date",
|
|
196
|
+
label: messages.stayFromDate,
|
|
197
|
+
placeholder: messages.dateFormat,
|
|
198
|
+
onValueChange: updateStayToMin,
|
|
199
|
+
hint: stayFromMax,
|
|
200
|
+
min: stayMin,
|
|
201
|
+
max: stayFromMax,
|
|
202
|
+
disabled: Boolean(error) || loading,
|
|
203
|
+
patternError: Messages.format(messages.mandatoryError, {
|
|
204
|
+
label: messages.stayFrom
|
|
205
|
+
}),
|
|
206
|
+
required: true,
|
|
207
|
+
extended: true
|
|
208
|
+
}), _jsx(Input, {
|
|
209
|
+
name: "stayTo",
|
|
210
|
+
className: styles.stayField,
|
|
211
|
+
type: "date",
|
|
212
|
+
label: messages.stayToDate,
|
|
213
|
+
placeholder: messages.dateFormat,
|
|
214
|
+
onValueChange: updateStayFromMax,
|
|
215
|
+
hint: stayToMin,
|
|
216
|
+
min: stayToMin || stayMin,
|
|
217
|
+
disabled: Boolean(error) || loading,
|
|
218
|
+
patternError: Messages.format(messages.mandatoryError, {
|
|
219
|
+
label: messages.stayTo
|
|
220
|
+
}),
|
|
221
|
+
required: true,
|
|
222
|
+
extended: true
|
|
226
223
|
}), _jsx(Textarea, {
|
|
227
224
|
name: "message",
|
|
228
225
|
className: styles.fullWidthField,
|