@portnet/ui 0.0.18

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.
Files changed (62) hide show
  1. package/README.md +70 -0
  2. package/dist/components/buttons/PuiButton.js +133 -0
  3. package/dist/components/buttons/PuiIconButton.js +94 -0
  4. package/dist/components/common/PuiAlertContext.js +11 -0
  5. package/dist/components/common/StyledMuiButton.js +45 -0
  6. package/dist/components/common/StyledMuiTextField.js +109 -0
  7. package/dist/components/inputs/PuiAutocomplete.js +338 -0
  8. package/dist/components/inputs/PuiCheckbox.js +264 -0
  9. package/dist/components/inputs/PuiCheckboxGroup.js +216 -0
  10. package/dist/components/inputs/PuiCheckboxItem.js +158 -0
  11. package/dist/components/inputs/PuiDateField.js +259 -0
  12. package/dist/components/inputs/PuiFileField.js +244 -0
  13. package/dist/components/inputs/PuiSelect.js +349 -0
  14. package/dist/components/inputs/PuiTextField.js +256 -0
  15. package/dist/components/others/PuiBadge.js +57 -0
  16. package/dist/components/others/PuiChip.js +145 -0
  17. package/dist/components/others/PuiDialog.js +100 -0
  18. package/dist/components/others/PuiFormikForm.js +57 -0
  19. package/dist/components/others/PuiGrid.js +22 -0
  20. package/dist/components/others/PuiIcon.js +88 -0
  21. package/dist/components/others/PuiLoadingBackdrop.js +33 -0
  22. package/dist/components/others/PuiMainContainer.js +37 -0
  23. package/dist/components/others/PuiNavigation.js +64 -0
  24. package/dist/components/others/PuiSection.js +94 -0
  25. package/dist/components/others/PuiTooltip.js +85 -0
  26. package/dist/components/providers/PuiAlertProvider.js +117 -0
  27. package/dist/components/referentiel/common/ReferetielContext.js +11 -0
  28. package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +306 -0
  29. package/dist/components/referentiel/components/PuiSimpleReferentielField.js +190 -0
  30. package/dist/components/referentiel/components/PuiSpecificReferentielField.js +302 -0
  31. package/dist/components/referentiel/components/constants/specificReferentielsApis.js +17 -0
  32. package/dist/components/referentiel/components/constants/specificReferentielsBaseColumns.js +337 -0
  33. package/dist/components/referentiel/components/constants/specificReferentielsBaseFilters.js +325 -0
  34. package/dist/components/referentiel/components/constants/specificReferentielsInitialValues.js +48 -0
  35. package/dist/components/referentiel/components/constants/specificReferentielsKeys.js +18 -0
  36. package/dist/components/referentiel/components/constants/specificReferentielsTitles.js +17 -0
  37. package/dist/components/referentiel/components/constants/specificReferentielsValidationSchemas.js +53 -0
  38. package/dist/components/referentiel/components/general/PuiPopupReferentielBase.js +303 -0
  39. package/dist/components/referentiel/providers/PuiReferentielProvider.js +56 -0
  40. package/dist/components/tab/PuiTab.js +26 -0
  41. package/dist/components/tab/PuiTabs.js +137 -0
  42. package/dist/components/table/PuiTable.js +352 -0
  43. package/dist/components/table/PuiTableAction.js +63 -0
  44. package/dist/components/typography/PuiDefinition.js +43 -0
  45. package/dist/components/typography/PuiIndication.js +76 -0
  46. package/dist/components/typography/PuiMainTitle.js +82 -0
  47. package/dist/components/ui/dialogs/PuiSearchDialog.js +96 -0
  48. package/dist/components/ui/pages/errors/PuiErrorBasePage.js +70 -0
  49. package/dist/components/ui/pages/errors/PuiNetworkErrorPage.js +37 -0
  50. package/dist/components/ui/pages/errors/PuiNotFoundErrorPage.js +31 -0
  51. package/dist/components/ui/pages/errors/PuiServerErrorPage.js +38 -0
  52. package/dist/components/ui/pages/general/PuiDefaultPage.js +65 -0
  53. package/dist/components/ui/pages/general/PuiSearchPage.js +161 -0
  54. package/dist/config/apperance.js +26 -0
  55. package/dist/config/mapping.js +28 -0
  56. package/dist/config/referentiel.js +11 -0
  57. package/dist/general/yupValidationErrors.js +10 -0
  58. package/dist/hooks/useAlert.js +17 -0
  59. package/dist/hooks/useAxios.js +22 -0
  60. package/dist/hooks/useQuery.js +20 -0
  61. package/dist/index.js +293 -0
  62. package/package.json +93 -0
@@ -0,0 +1,325 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _PuiDateField = _interopRequireDefault(require("../../../inputs/PuiDateField"));
8
+ var _PuiTextField = _interopRequireDefault(require("../../../inputs/PuiTextField"));
9
+ var _PuiSimpleReferentielField = _interopRequireDefault(require("../PuiSimpleReferentielField"));
10
+ var _specificReferentielsKeys = require("./specificReferentielsKeys");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ const specificReferentielsBaseFilters = {
14
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_LOCALITES]: [{
15
+ name: "code",
16
+ label: "Code",
17
+ size: {
18
+ xs: 12,
19
+ sm: 6,
20
+ md: 6
21
+ },
22
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
23
+ formik: true,
24
+ fullWidth: true
25
+ })
26
+ }, {
27
+ name: "description",
28
+ label: "Localité",
29
+ size: {
30
+ xs: 12,
31
+ sm: 6,
32
+ md: 6
33
+ },
34
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
35
+ formik: true,
36
+ fullWidth: true
37
+ })
38
+ }, {
39
+ name: "codePays",
40
+ label: "Pays",
41
+ size: {
42
+ xs: 12,
43
+ sm: 12,
44
+ md: 12
45
+ },
46
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
47
+ formik: true,
48
+ fullWidth: true
49
+ })
50
+ }],
51
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS]: [{
52
+ name: "code",
53
+ label: "Code",
54
+ size: {
55
+ xs: 12,
56
+ sm: 6,
57
+ md: 6
58
+ },
59
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
60
+ formik: true,
61
+ fullWidth: true
62
+ })
63
+ }, {
64
+ name: "description",
65
+ label: "Description",
66
+ size: {
67
+ xs: 12,
68
+ sm: 6,
69
+ md: 6
70
+ },
71
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
72
+ formik: true,
73
+ fullWidth: true
74
+ })
75
+ }, {
76
+ name: "idPort",
77
+ label: "Port",
78
+ size: {
79
+ xs: 12,
80
+ sm: 12,
81
+ md: 12
82
+ },
83
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiSimpleReferentielField.default, {
84
+ searchKey: "LISTE_PORTS",
85
+ getOptionValue: row => row.id,
86
+ formik: true,
87
+ fullWidth: true
88
+ })
89
+ }],
90
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_ESCALES]: [{
91
+ name: "id",
92
+ label: "N° avis",
93
+ size: {
94
+ xs: 12,
95
+ sm: 6,
96
+ md: 6
97
+ },
98
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
99
+ formik: true,
100
+ fullWidth: true
101
+ })
102
+ }, {
103
+ name: "numVoyage",
104
+ label: "N° Voyage",
105
+ size: {
106
+ xs: 12,
107
+ sm: 6,
108
+ md: 6
109
+ },
110
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
111
+ formik: true,
112
+ fullWidth: true
113
+ })
114
+ }, {
115
+ name: "numEscale",
116
+ label: "N° d'Escale",
117
+ size: {
118
+ xs: 12,
119
+ sm: 6,
120
+ md: 6
121
+ },
122
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
123
+ formik: true,
124
+ fullWidth: true
125
+ })
126
+ }, {
127
+ name: "dateCreationFormatted",
128
+ label: "Date/Heure ETA",
129
+ size: {
130
+ xs: 12,
131
+ sm: 6,
132
+ md: 6
133
+ },
134
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiDateField.default, {
135
+ format: "DD-MM-YYYY",
136
+ formik: true,
137
+ fullWidth: true
138
+ })
139
+ }],
140
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP]: [{
141
+ name: "code",
142
+ label: "Code",
143
+ size: {
144
+ xs: 12,
145
+ sm: 6,
146
+ md: 6
147
+ },
148
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
149
+ formik: true,
150
+ fullWidth: true
151
+ })
152
+ }, {
153
+ name: "description",
154
+ label: "Nom",
155
+ size: {
156
+ xs: 12,
157
+ sm: 6,
158
+ md: 6
159
+ },
160
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
161
+ formik: true,
162
+ fullWidth: true
163
+ })
164
+ }, {
165
+ name: "codePin",
166
+ label: "Code PIN",
167
+ size: {
168
+ xs: 12,
169
+ sm: 6,
170
+ md: 6
171
+ },
172
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
173
+ formik: true,
174
+ fullWidth: true
175
+ })
176
+ }, {
177
+ name: "ifu",
178
+ label: "IFU",
179
+ size: {
180
+ xs: 12,
181
+ sm: 6,
182
+ md: 6
183
+ },
184
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
185
+ formik: true,
186
+ fullWidth: true
187
+ })
188
+ }, {
189
+ name: "ice",
190
+ label: "ICE",
191
+ size: {
192
+ xs: 12,
193
+ sm: 6,
194
+ md: 6
195
+ },
196
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
197
+ formik: true,
198
+ fullWidth: true
199
+ })
200
+ }, {
201
+ name: "numeroRc",
202
+ label: "Numéro RC",
203
+ size: {
204
+ xs: 12,
205
+ sm: 6,
206
+ md: 6
207
+ },
208
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
209
+ formik: true,
210
+ fullWidth: true
211
+ })
212
+ }, {
213
+ name: "centreRc",
214
+ label: "Centre RC",
215
+ size: {
216
+ xs: 12,
217
+ sm: 12,
218
+ md: 12
219
+ },
220
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
221
+ formik: true,
222
+ fullWidth: true
223
+ })
224
+ }],
225
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_TRANSITAIRES]: [{
226
+ name: "code",
227
+ label: "Code",
228
+ size: {
229
+ xs: 12,
230
+ sm: 6,
231
+ md: 6
232
+ },
233
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
234
+ formik: true,
235
+ fullWidth: true
236
+ })
237
+ }, {
238
+ name: "description",
239
+ label: "Nom",
240
+ size: {
241
+ xs: 12,
242
+ sm: 6,
243
+ md: 6
244
+ },
245
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
246
+ formik: true,
247
+ fullWidth: true
248
+ })
249
+ }, {
250
+ name: "ifu",
251
+ label: "IFU",
252
+ size: {
253
+ xs: 12,
254
+ sm: 6,
255
+ md: 6
256
+ },
257
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
258
+ formik: true,
259
+ fullWidth: true
260
+ })
261
+ }, {
262
+ name: "ice",
263
+ label: "ICE",
264
+ size: {
265
+ xs: 12,
266
+ sm: 6,
267
+ md: 6
268
+ },
269
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
270
+ formik: true,
271
+ fullWidth: true
272
+ })
273
+ }, {
274
+ name: "numeroRc",
275
+ label: "Numéro RC",
276
+ size: {
277
+ xs: 12,
278
+ sm: 6,
279
+ md: 6
280
+ },
281
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
282
+ formik: true,
283
+ fullWidth: true
284
+ })
285
+ }, {
286
+ name: "centreRc",
287
+ label: "Centre RC",
288
+ size: {
289
+ xs: 12,
290
+ sm: 6,
291
+ md: 6
292
+ },
293
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
294
+ formik: true,
295
+ fullWidth: true
296
+ })
297
+ }],
298
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_NAVIRES]: [{
299
+ name: "imo",
300
+ label: "IMO",
301
+ size: {
302
+ xs: 12,
303
+ sm: 6,
304
+ md: 6
305
+ },
306
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
307
+ formik: true,
308
+ fullWidth: true
309
+ })
310
+ }, {
311
+ name: "nom",
312
+ label: "Nom",
313
+ size: {
314
+ xs: 12,
315
+ sm: 6,
316
+ md: 6
317
+ },
318
+ input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
319
+ formik: true,
320
+ fullWidth: true
321
+ })
322
+ }]
323
+ };
324
+ var _default = specificReferentielsBaseFilters;
325
+ exports.default = _default;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _specificReferentielsKeys = require("./specificReferentielsKeys");
8
+ const specificReferentielsInitialValues = {
9
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_LOCALITES]: {
10
+ code: "",
11
+ codePays: "",
12
+ description: ""
13
+ },
14
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS]: {
15
+ code: "",
16
+ idPort: "",
17
+ description: ""
18
+ },
19
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_ESCALES]: {
20
+ id: "",
21
+ numVoyage: "",
22
+ numEscale: "",
23
+ dateCreationFormatted: ""
24
+ },
25
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP]: {
26
+ code: "",
27
+ description: "",
28
+ codePin: "",
29
+ ifu: "",
30
+ ice: "",
31
+ numeroRc: "",
32
+ centreRc: ""
33
+ },
34
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_TRANSITAIRES]: {
35
+ code: "",
36
+ description: "",
37
+ ifu: "",
38
+ ice: "",
39
+ numeroRc: "",
40
+ centreRc: ""
41
+ },
42
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_NAVIRES]: {
43
+ imo: "",
44
+ nom: ""
45
+ }
46
+ };
47
+ var _default = specificReferentielsInitialValues;
48
+ exports.default = _default;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SPECIFIC_REFERETIEL_TRANSITAIRES = exports.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP = exports.SPECIFIC_REFERETIEL_OPERATEURS = exports.SPECIFIC_REFERETIEL_NAVIRES = exports.SPECIFIC_REFERETIEL_LOCALITES = exports.SPECIFIC_REFERETIEL_ESCALES = void 0;
7
+ const SPECIFIC_REFERETIEL_LOCALITES = "localites";
8
+ exports.SPECIFIC_REFERETIEL_LOCALITES = SPECIFIC_REFERETIEL_LOCALITES;
9
+ const SPECIFIC_REFERETIEL_OPERATEURS = "opertateurs";
10
+ exports.SPECIFIC_REFERETIEL_OPERATEURS = SPECIFIC_REFERETIEL_OPERATEURS;
11
+ const SPECIFIC_REFERETIEL_ESCALES = "escales";
12
+ exports.SPECIFIC_REFERETIEL_ESCALES = SPECIFIC_REFERETIEL_ESCALES;
13
+ const SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP = "operateurs-imp-exp";
14
+ exports.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP = SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP;
15
+ const SPECIFIC_REFERETIEL_TRANSITAIRES = "transitaires";
16
+ exports.SPECIFIC_REFERETIEL_TRANSITAIRES = SPECIFIC_REFERETIEL_TRANSITAIRES;
17
+ const SPECIFIC_REFERETIEL_NAVIRES = "navires";
18
+ exports.SPECIFIC_REFERETIEL_NAVIRES = SPECIFIC_REFERETIEL_NAVIRES;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _specificReferentielsKeys = require("./specificReferentielsKeys");
8
+ const specificReferentielsTitles = {
9
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_LOCALITES]: "Recherche de localités",
10
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS]: "Recherche d'operateurs de manutention",
11
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_ESCALES]: "Recherche d'avis d'arrivée",
12
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP]: "Recherche d'importateurs/Exportateurs",
13
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_TRANSITAIRES]: "Recherche de transitaires",
14
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_NAVIRES]: "Recherche de navires"
15
+ };
16
+ var _default = specificReferentielsTitles;
17
+ exports.default = _default;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/web.dom-collections.iterator.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var Yup = _interopRequireWildcard(require("yup"));
9
+ var _yupValidationErrors = require("../../../../general/yupValidationErrors");
10
+ var _specificReferentielsKeys = require("./specificReferentielsKeys");
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ const specificReferentielsValidationSchemas = {
14
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_LOCALITES]: Yup.object().shape({
15
+ code: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
16
+ codePays: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
17
+ description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING)
18
+ }),
19
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS]: Yup.object().shape({
20
+ code: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
21
+ idPort: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
22
+ description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING)
23
+ }),
24
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_ESCALES]: Yup.object().shape({
25
+ id: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
26
+ numVoyage: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
27
+ numEscale: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
28
+ dateCreationFormatted: Yup.string().typeError(_yupValidationErrors.TYPE_STRING)
29
+ }),
30
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_OPERATEURS_IMP_EXP]: Yup.object().shape({
31
+ code: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
32
+ description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
33
+ codePin: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
34
+ ifu: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
35
+ ice: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
36
+ numeroRc: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
37
+ centreRc: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER)
38
+ }),
39
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_TRANSITAIRES]: Yup.object().shape({
40
+ code: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
41
+ description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
42
+ ifu: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
43
+ ice: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
44
+ numeroRc: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
45
+ centreRc: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER)
46
+ }),
47
+ [_specificReferentielsKeys.SPECIFIC_REFERETIEL_NAVIRES]: Yup.object().shape({
48
+ imo: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
49
+ nom: Yup.string().typeError(_yupValidationErrors.TYPE_STRING)
50
+ })
51
+ };
52
+ var _default = specificReferentielsValidationSchemas;
53
+ exports.default = _default;