@portnet/ui 0.0.18 → 0.0.20
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/dist/components/common/StyledMuiTextField.js +5 -4
- package/dist/components/inputs/PuiAutocomplete.js +1 -1
- package/dist/components/inputs/PuiCheckbox.js +37 -8
- package/dist/components/inputs/PuiCheckboxGroup.js +1 -1
- package/dist/components/inputs/PuiDateField.js +1 -1
- package/dist/components/inputs/PuiFileField.js +1 -1
- package/dist/components/inputs/PuiRadioGroup.js +194 -0
- package/dist/components/inputs/PuiRadioItem.js +96 -0
- package/dist/components/inputs/PuiSelect.js +3 -2
- package/dist/components/inputs/PuiTextField.js +1 -1
- package/dist/components/referentiel/common/constants/specificReferentielsApis.js +21 -0
- package/dist/components/referentiel/{components → common}/constants/specificReferentielsBaseColumns.js +274 -6
- package/dist/components/referentiel/{components → common}/constants/specificReferentielsBaseFilters.js +218 -7
- package/dist/components/referentiel/common/constants/specificReferentielsInitialValues.js +72 -0
- package/dist/components/referentiel/common/constants/specificReferentielsKeys.js +26 -0
- package/dist/components/referentiel/common/constants/specificReferentielsTitles.js +21 -0
- package/dist/components/referentiel/{components → common}/constants/specificReferentielsValidationSchemas.js +30 -6
- package/dist/components/referentiel/components/{general/PuiPopupReferentielBase.js → PuiBasePopupReferentielField.js} +103 -57
- package/dist/components/referentiel/components/PuiCustomPopupReferentielField.js +177 -0
- package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +19 -11
- package/dist/components/referentiel/components/PuiSimpleReferentielField.js +1 -1
- package/dist/components/referentiel/components/PuiSpecificReferentielField.js +33 -13
- package/dist/components/table/PuiTable.js +2 -1
- package/dist/components/ui/dialogs/PuiSearchDialog.js +27 -24
- package/dist/index.js +21 -0
- package/package.json +1 -1
- package/dist/components/referentiel/components/constants/specificReferentielsApis.js +0 -17
- package/dist/components/referentiel/components/constants/specificReferentielsInitialValues.js +0 -48
- package/dist/components/referentiel/components/constants/specificReferentielsKeys.js +0 -18
- package/dist/components/referentiel/components/constants/specificReferentielsTitles.js +0 -17
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
require("core-js/modules/es.symbol.description.js");
|
|
8
8
|
var _specificReferentielsKeys = require("./specificReferentielsKeys");
|
|
9
9
|
const specificReferentielsBaseColumns = {
|
|
10
|
-
[_specificReferentielsKeys.
|
|
10
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_LOCALITES]: [{
|
|
11
11
|
field: "code",
|
|
12
12
|
headerName: "Code",
|
|
13
13
|
flex: 1,
|
|
@@ -41,7 +41,7 @@ const specificReferentielsBaseColumns = {
|
|
|
41
41
|
return (_row$description = row.description) !== null && _row$description !== void 0 ? _row$description : "-";
|
|
42
42
|
}
|
|
43
43
|
}],
|
|
44
|
-
[_specificReferentielsKeys.
|
|
44
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION]: [{
|
|
45
45
|
field: "code",
|
|
46
46
|
headerName: "Code",
|
|
47
47
|
flex: 1,
|
|
@@ -86,7 +86,7 @@ const specificReferentielsBaseColumns = {
|
|
|
86
86
|
return (_row$portCode = row.portCode) !== null && _row$portCode !== void 0 ? _row$portCode : "-";
|
|
87
87
|
}
|
|
88
88
|
}],
|
|
89
|
-
[_specificReferentielsKeys.
|
|
89
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_ESCALES]: [{
|
|
90
90
|
field: "id",
|
|
91
91
|
headerName: "N° avis",
|
|
92
92
|
flex: 1,
|
|
@@ -142,7 +142,7 @@ const specificReferentielsBaseColumns = {
|
|
|
142
142
|
return (_row$dateCreationForm = row.dateCreationFormatted) !== null && _row$dateCreationForm !== void 0 ? _row$dateCreationForm : "-";
|
|
143
143
|
}
|
|
144
144
|
}],
|
|
145
|
-
[_specificReferentielsKeys.
|
|
145
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP]: [{
|
|
146
146
|
field: "description",
|
|
147
147
|
headerName: "Nom",
|
|
148
148
|
flex: 3,
|
|
@@ -220,7 +220,7 @@ const specificReferentielsBaseColumns = {
|
|
|
220
220
|
return (_row$centreRc = row.centreRc) !== null && _row$centreRc !== void 0 ? _row$centreRc : "-";
|
|
221
221
|
}
|
|
222
222
|
}],
|
|
223
|
-
[_specificReferentielsKeys.
|
|
223
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TRANSITAIRES]: [{
|
|
224
224
|
field: "description",
|
|
225
225
|
headerName: "Nom",
|
|
226
226
|
flex: 3,
|
|
@@ -287,7 +287,7 @@ const specificReferentielsBaseColumns = {
|
|
|
287
287
|
return (_row$centreRc2 = row.centreRc) !== null && _row$centreRc2 !== void 0 ? _row$centreRc2 : "-";
|
|
288
288
|
}
|
|
289
289
|
}],
|
|
290
|
-
[_specificReferentielsKeys.
|
|
290
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NAVIRES]: [{
|
|
291
291
|
field: "imo",
|
|
292
292
|
headerName: "IMO",
|
|
293
293
|
flex: 1,
|
|
@@ -331,6 +331,274 @@ const specificReferentielsBaseColumns = {
|
|
|
331
331
|
} = _ref29;
|
|
332
332
|
return (_row$typeNavireDescri = row.typeNavireDescription) !== null && _row$typeNavireDescri !== void 0 ? _row$typeNavireDescri : "-";
|
|
333
333
|
}
|
|
334
|
+
}],
|
|
335
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_CONSIGNATAIRES]: [{
|
|
336
|
+
field: "description",
|
|
337
|
+
headerName: "Description",
|
|
338
|
+
flex: 2,
|
|
339
|
+
valueGetter: _ref30 => {
|
|
340
|
+
var _row$description5;
|
|
341
|
+
let {
|
|
342
|
+
row
|
|
343
|
+
} = _ref30;
|
|
344
|
+
return (_row$description5 = row.description) !== null && _row$description5 !== void 0 ? _row$description5 : "-";
|
|
345
|
+
}
|
|
346
|
+
}, {
|
|
347
|
+
field: "codeEDI",
|
|
348
|
+
headerName: "Code EDI",
|
|
349
|
+
flex: 1,
|
|
350
|
+
valueGetter: _ref31 => {
|
|
351
|
+
var _row$codeEDI;
|
|
352
|
+
let {
|
|
353
|
+
row
|
|
354
|
+
} = _ref31;
|
|
355
|
+
return (_row$codeEDI = row.codeEDI) !== null && _row$codeEDI !== void 0 ? _row$codeEDI : "-";
|
|
356
|
+
}
|
|
357
|
+
}, {
|
|
358
|
+
field: "code",
|
|
359
|
+
headerName: "Code ANP",
|
|
360
|
+
flex: 1,
|
|
361
|
+
valueGetter: _ref32 => {
|
|
362
|
+
var _row$code5;
|
|
363
|
+
let {
|
|
364
|
+
row
|
|
365
|
+
} = _ref32;
|
|
366
|
+
return (_row$code5 = row.code) !== null && _row$code5 !== void 0 ? _row$code5 : "-";
|
|
367
|
+
}
|
|
368
|
+
}],
|
|
369
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE]: [{
|
|
370
|
+
field: "rib",
|
|
371
|
+
headerName: "RIB",
|
|
372
|
+
flex: 2,
|
|
373
|
+
valueGetter: _ref33 => {
|
|
374
|
+
var _row$rib;
|
|
375
|
+
let {
|
|
376
|
+
row
|
|
377
|
+
} = _ref33;
|
|
378
|
+
return (_row$rib = row.rib) !== null && _row$rib !== void 0 ? _row$rib : "-";
|
|
379
|
+
}
|
|
380
|
+
}, {
|
|
381
|
+
field: "mois",
|
|
382
|
+
headerName: "Mois",
|
|
383
|
+
flex: 1,
|
|
384
|
+
valueGetter: _ref34 => {
|
|
385
|
+
var _row$mois;
|
|
386
|
+
let {
|
|
387
|
+
row
|
|
388
|
+
} = _ref34;
|
|
389
|
+
return (_row$mois = row.mois) !== null && _row$mois !== void 0 ? _row$mois : "-";
|
|
390
|
+
}
|
|
391
|
+
}, {
|
|
392
|
+
field: "anne",
|
|
393
|
+
headerName: "Année",
|
|
394
|
+
flex: 1,
|
|
395
|
+
valueGetter: _ref35 => {
|
|
396
|
+
var _row$anne;
|
|
397
|
+
let {
|
|
398
|
+
row
|
|
399
|
+
} = _ref35;
|
|
400
|
+
return (_row$anne = row.anne) !== null && _row$anne !== void 0 ? _row$anne : "-";
|
|
401
|
+
}
|
|
402
|
+
}, {
|
|
403
|
+
field: "guichetBanqueCode",
|
|
404
|
+
headerName: "Code banque",
|
|
405
|
+
flex: 1,
|
|
406
|
+
valueGetter: _ref36 => {
|
|
407
|
+
var _row$guichetBanqueCod;
|
|
408
|
+
let {
|
|
409
|
+
row
|
|
410
|
+
} = _ref36;
|
|
411
|
+
return (_row$guichetBanqueCod = row.guichetBanqueCode) !== null && _row$guichetBanqueCod !== void 0 ? _row$guichetBanqueCod : "-";
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
field: "guichetBanqueDescription",
|
|
415
|
+
headerName: "Banque",
|
|
416
|
+
flex: 2,
|
|
417
|
+
valueGetter: _ref37 => {
|
|
418
|
+
var _row$guichetBanqueDes;
|
|
419
|
+
let {
|
|
420
|
+
row
|
|
421
|
+
} = _ref37;
|
|
422
|
+
return (_row$guichetBanqueDes = row.guichetBanqueDescription) !== null && _row$guichetBanqueDes !== void 0 ? _row$guichetBanqueDes : "-";
|
|
423
|
+
}
|
|
424
|
+
}, {
|
|
425
|
+
field: "guichetCode",
|
|
426
|
+
headerName: "Code guichet",
|
|
427
|
+
flex: 1,
|
|
428
|
+
valueGetter: _ref38 => {
|
|
429
|
+
var _row$guichetCode;
|
|
430
|
+
let {
|
|
431
|
+
row
|
|
432
|
+
} = _ref38;
|
|
433
|
+
return (_row$guichetCode = row.guichetCode) !== null && _row$guichetCode !== void 0 ? _row$guichetCode : "-";
|
|
434
|
+
}
|
|
435
|
+
}, {
|
|
436
|
+
field: "guichetDescription",
|
|
437
|
+
headerName: "Guichet",
|
|
438
|
+
flex: 2,
|
|
439
|
+
valueGetter: _ref39 => {
|
|
440
|
+
var _row$guichetDescripti;
|
|
441
|
+
let {
|
|
442
|
+
row
|
|
443
|
+
} = _ref39;
|
|
444
|
+
return (_row$guichetDescripti = row.guichetDescription) !== null && _row$guichetDescripti !== void 0 ? _row$guichetDescripti : "-";
|
|
445
|
+
}
|
|
446
|
+
}, {
|
|
447
|
+
field: "operateurImpExpDescription",
|
|
448
|
+
headerName: "Opérateur",
|
|
449
|
+
flex: 2,
|
|
450
|
+
valueGetter: _ref40 => {
|
|
451
|
+
var _row$operateurImpExpD;
|
|
452
|
+
let {
|
|
453
|
+
row
|
|
454
|
+
} = _ref40;
|
|
455
|
+
return (_row$operateurImpExpD = row.operateurImpExpDescription) !== null && _row$operateurImpExpD !== void 0 ? _row$operateurImpExpD : "-";
|
|
456
|
+
}
|
|
457
|
+
}],
|
|
458
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_GUICHETS]: [{
|
|
459
|
+
field: "code",
|
|
460
|
+
headerName: "Code",
|
|
461
|
+
flex: 1,
|
|
462
|
+
valueGetter: _ref41 => {
|
|
463
|
+
var _row$code6;
|
|
464
|
+
let {
|
|
465
|
+
row
|
|
466
|
+
} = _ref41;
|
|
467
|
+
return (_row$code6 = row.code) !== null && _row$code6 !== void 0 ? _row$code6 : "-";
|
|
468
|
+
}
|
|
469
|
+
}, {
|
|
470
|
+
field: "description",
|
|
471
|
+
headerName: "Description",
|
|
472
|
+
flex: 2,
|
|
473
|
+
valueGetter: _ref42 => {
|
|
474
|
+
var _row$description6;
|
|
475
|
+
let {
|
|
476
|
+
row
|
|
477
|
+
} = _ref42;
|
|
478
|
+
return (_row$description6 = row.description) !== null && _row$description6 !== void 0 ? _row$description6 : "-";
|
|
479
|
+
}
|
|
480
|
+
}, {
|
|
481
|
+
field: "adresse",
|
|
482
|
+
headerName: "Adresse",
|
|
483
|
+
flex: 2,
|
|
484
|
+
valueGetter: _ref43 => {
|
|
485
|
+
var _row$adresse;
|
|
486
|
+
let {
|
|
487
|
+
row
|
|
488
|
+
} = _ref43;
|
|
489
|
+
return (_row$adresse = row.adresse) !== null && _row$adresse !== void 0 ? _row$adresse : "-";
|
|
490
|
+
}
|
|
491
|
+
}, {
|
|
492
|
+
field: "banqueCode",
|
|
493
|
+
headerName: "Code banque",
|
|
494
|
+
flex: 1,
|
|
495
|
+
valueGetter: _ref44 => {
|
|
496
|
+
var _row$banqueCode;
|
|
497
|
+
let {
|
|
498
|
+
row
|
|
499
|
+
} = _ref44;
|
|
500
|
+
return (_row$banqueCode = row.banqueCode) !== null && _row$banqueCode !== void 0 ? _row$banqueCode : "-";
|
|
501
|
+
}
|
|
502
|
+
}, {
|
|
503
|
+
field: "banqueDescription",
|
|
504
|
+
headerName: "Banque",
|
|
505
|
+
flex: 2,
|
|
506
|
+
valueGetter: _ref45 => {
|
|
507
|
+
var _row$banqueDescriptio;
|
|
508
|
+
let {
|
|
509
|
+
row
|
|
510
|
+
} = _ref45;
|
|
511
|
+
return (_row$banqueDescriptio = row.banqueDescription) !== null && _row$banqueDescriptio !== void 0 ? _row$banqueDescriptio : "-";
|
|
512
|
+
}
|
|
513
|
+
}, {
|
|
514
|
+
field: "typeLocaliteCode",
|
|
515
|
+
headerName: "Code localité",
|
|
516
|
+
flex: 1,
|
|
517
|
+
valueGetter: _ref46 => {
|
|
518
|
+
var _row$typeLocaliteCode;
|
|
519
|
+
let {
|
|
520
|
+
row
|
|
521
|
+
} = _ref46;
|
|
522
|
+
return (_row$typeLocaliteCode = row.typeLocaliteCode) !== null && _row$typeLocaliteCode !== void 0 ? _row$typeLocaliteCode : "-";
|
|
523
|
+
}
|
|
524
|
+
}, {
|
|
525
|
+
field: "typeLocaliteDescription",
|
|
526
|
+
headerName: "Localité",
|
|
527
|
+
flex: 2,
|
|
528
|
+
valueGetter: _ref47 => {
|
|
529
|
+
var _row$typeLocaliteDesc;
|
|
530
|
+
let {
|
|
531
|
+
row
|
|
532
|
+
} = _ref47;
|
|
533
|
+
return (_row$typeLocaliteDesc = row.typeLocaliteDescription) !== null && _row$typeLocaliteDesc !== void 0 ? _row$typeLocaliteDesc : "-";
|
|
534
|
+
}
|
|
535
|
+
}],
|
|
536
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: [{
|
|
537
|
+
field: "code",
|
|
538
|
+
headerName: "Code",
|
|
539
|
+
flex: 1,
|
|
540
|
+
valueGetter: _ref48 => {
|
|
541
|
+
var _row$code7;
|
|
542
|
+
let {
|
|
543
|
+
row
|
|
544
|
+
} = _ref48;
|
|
545
|
+
return (_row$code7 = row.code) !== null && _row$code7 !== void 0 ? _row$code7 : "-";
|
|
546
|
+
}
|
|
547
|
+
}, {
|
|
548
|
+
field: "description",
|
|
549
|
+
headerName: "Description",
|
|
550
|
+
flex: 2,
|
|
551
|
+
valueGetter: _ref49 => {
|
|
552
|
+
var _row$description7;
|
|
553
|
+
let {
|
|
554
|
+
row
|
|
555
|
+
} = _ref49;
|
|
556
|
+
return (_row$description7 = row.description) !== null && _row$description7 !== void 0 ? _row$description7 : "-";
|
|
557
|
+
}
|
|
558
|
+
}, {
|
|
559
|
+
field: "typeTitreImportationCode",
|
|
560
|
+
headerName: "Code type TI",
|
|
561
|
+
flex: 1,
|
|
562
|
+
valueGetter: _ref50 => {
|
|
563
|
+
var _row$typeTitreImporta;
|
|
564
|
+
let {
|
|
565
|
+
row
|
|
566
|
+
} = _ref50;
|
|
567
|
+
return (_row$typeTitreImporta = row.typeTitreImportationCode) !== null && _row$typeTitreImporta !== void 0 ? _row$typeTitreImporta : "-";
|
|
568
|
+
}
|
|
569
|
+
}, {
|
|
570
|
+
field: "typeTitreImportationDescription",
|
|
571
|
+
headerName: "Type TI",
|
|
572
|
+
flex: 2,
|
|
573
|
+
valueGetter: _ref51 => {
|
|
574
|
+
var _row$typeTitreImporta2;
|
|
575
|
+
let {
|
|
576
|
+
row
|
|
577
|
+
} = _ref51;
|
|
578
|
+
return (_row$typeTitreImporta2 = row.typeTitreImportationDescription) !== null && _row$typeTitreImporta2 !== void 0 ? _row$typeTitreImporta2 : "-";
|
|
579
|
+
}
|
|
580
|
+
}, {
|
|
581
|
+
field: "typeTitreExportationCode",
|
|
582
|
+
headerName: "Code type TE",
|
|
583
|
+
flex: 1,
|
|
584
|
+
valueGetter: _ref52 => {
|
|
585
|
+
var _row$typeTitreExporta;
|
|
586
|
+
let {
|
|
587
|
+
row
|
|
588
|
+
} = _ref52;
|
|
589
|
+
return (_row$typeTitreExporta = row.typeTitreExportationCode) !== null && _row$typeTitreExporta !== void 0 ? _row$typeTitreExporta : "-";
|
|
590
|
+
}
|
|
591
|
+
}, {
|
|
592
|
+
field: "typeTitreExportationDescription",
|
|
593
|
+
headerName: "Type TE",
|
|
594
|
+
flex: 2,
|
|
595
|
+
valueGetter: _ref53 => {
|
|
596
|
+
var _row$typeTitreExporta2;
|
|
597
|
+
let {
|
|
598
|
+
row
|
|
599
|
+
} = _ref53;
|
|
600
|
+
return (_row$typeTitreExporta2 = row.typeTitreExportationDescription) !== null && _row$typeTitreExporta2 !== void 0 ? _row$typeTitreExporta2 : "-";
|
|
601
|
+
}
|
|
334
602
|
}]
|
|
335
603
|
};
|
|
336
604
|
var _default = specificReferentielsBaseColumns;
|
|
@@ -4,14 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
require("core-js/modules/es.symbol.description.js");
|
|
7
8
|
var _PuiDateField = _interopRequireDefault(require("../../../inputs/PuiDateField"));
|
|
8
9
|
var _PuiTextField = _interopRequireDefault(require("../../../inputs/PuiTextField"));
|
|
9
|
-
var _PuiSimpleReferentielField = _interopRequireDefault(require("
|
|
10
|
+
var _PuiSimpleReferentielField = _interopRequireDefault(require("../../components/PuiSimpleReferentielField"));
|
|
10
11
|
var _specificReferentielsKeys = require("./specificReferentielsKeys");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
14
|
const specificReferentielsBaseFilters = {
|
|
14
|
-
[_specificReferentielsKeys.
|
|
15
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_LOCALITES]: [{
|
|
15
16
|
name: "code",
|
|
16
17
|
label: "Code",
|
|
17
18
|
size: {
|
|
@@ -48,7 +49,7 @@ const specificReferentielsBaseFilters = {
|
|
|
48
49
|
fullWidth: true
|
|
49
50
|
})
|
|
50
51
|
}],
|
|
51
|
-
[_specificReferentielsKeys.
|
|
52
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION]: [{
|
|
52
53
|
name: "code",
|
|
53
54
|
label: "Code",
|
|
54
55
|
size: {
|
|
@@ -87,7 +88,7 @@ const specificReferentielsBaseFilters = {
|
|
|
87
88
|
fullWidth: true
|
|
88
89
|
})
|
|
89
90
|
}],
|
|
90
|
-
[_specificReferentielsKeys.
|
|
91
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_ESCALES]: [{
|
|
91
92
|
name: "id",
|
|
92
93
|
label: "N° avis",
|
|
93
94
|
size: {
|
|
@@ -137,7 +138,7 @@ const specificReferentielsBaseFilters = {
|
|
|
137
138
|
fullWidth: true
|
|
138
139
|
})
|
|
139
140
|
}],
|
|
140
|
-
[_specificReferentielsKeys.
|
|
141
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP]: [{
|
|
141
142
|
name: "code",
|
|
142
143
|
label: "Code",
|
|
143
144
|
size: {
|
|
@@ -222,7 +223,7 @@ const specificReferentielsBaseFilters = {
|
|
|
222
223
|
fullWidth: true
|
|
223
224
|
})
|
|
224
225
|
}],
|
|
225
|
-
[_specificReferentielsKeys.
|
|
226
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TRANSITAIRES]: [{
|
|
226
227
|
name: "code",
|
|
227
228
|
label: "Code",
|
|
228
229
|
size: {
|
|
@@ -295,7 +296,7 @@ const specificReferentielsBaseFilters = {
|
|
|
295
296
|
fullWidth: true
|
|
296
297
|
})
|
|
297
298
|
}],
|
|
298
|
-
[_specificReferentielsKeys.
|
|
299
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NAVIRES]: [{
|
|
299
300
|
name: "imo",
|
|
300
301
|
label: "IMO",
|
|
301
302
|
size: {
|
|
@@ -319,6 +320,216 @@ const specificReferentielsBaseFilters = {
|
|
|
319
320
|
formik: true,
|
|
320
321
|
fullWidth: true
|
|
321
322
|
})
|
|
323
|
+
}],
|
|
324
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_CONSIGNATAIRES]: [{
|
|
325
|
+
name: "codeEDI",
|
|
326
|
+
label: "Code EDI",
|
|
327
|
+
size: {
|
|
328
|
+
xs: 12,
|
|
329
|
+
sm: 6,
|
|
330
|
+
md: 6
|
|
331
|
+
},
|
|
332
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
333
|
+
formik: true,
|
|
334
|
+
fullWidth: true
|
|
335
|
+
})
|
|
336
|
+
}, {
|
|
337
|
+
name: "code",
|
|
338
|
+
label: "Code ANP",
|
|
339
|
+
size: {
|
|
340
|
+
xs: 12,
|
|
341
|
+
sm: 6,
|
|
342
|
+
md: 6
|
|
343
|
+
},
|
|
344
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
345
|
+
formik: true,
|
|
346
|
+
fullWidth: true
|
|
347
|
+
})
|
|
348
|
+
}, {
|
|
349
|
+
name: "description",
|
|
350
|
+
label: "Description",
|
|
351
|
+
size: {
|
|
352
|
+
xs: 12,
|
|
353
|
+
sm: 12,
|
|
354
|
+
md: 12
|
|
355
|
+
},
|
|
356
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
357
|
+
formik: true,
|
|
358
|
+
fullWidth: true
|
|
359
|
+
})
|
|
360
|
+
}],
|
|
361
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE]: [{
|
|
362
|
+
name: "rib",
|
|
363
|
+
label: "RIB",
|
|
364
|
+
size: {
|
|
365
|
+
xs: 12,
|
|
366
|
+
sm: 6,
|
|
367
|
+
md: 6
|
|
368
|
+
},
|
|
369
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
370
|
+
formik: true,
|
|
371
|
+
fullWidth: true
|
|
372
|
+
})
|
|
373
|
+
}, {
|
|
374
|
+
name: "idBanque",
|
|
375
|
+
label: "Banque",
|
|
376
|
+
size: {
|
|
377
|
+
xs: 12,
|
|
378
|
+
sm: 6,
|
|
379
|
+
md: 6
|
|
380
|
+
},
|
|
381
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiSimpleReferentielField.default, {
|
|
382
|
+
searchKey: "LISTE_BANQUES",
|
|
383
|
+
getOptionValue: row => row.id,
|
|
384
|
+
formik: true,
|
|
385
|
+
fullWidth: true
|
|
386
|
+
})
|
|
387
|
+
}, {
|
|
388
|
+
name: "mois",
|
|
389
|
+
label: "Mois",
|
|
390
|
+
size: {
|
|
391
|
+
xs: 12,
|
|
392
|
+
sm: 6,
|
|
393
|
+
md: 6
|
|
394
|
+
},
|
|
395
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
396
|
+
formik: true,
|
|
397
|
+
fullWidth: true
|
|
398
|
+
})
|
|
399
|
+
}, {
|
|
400
|
+
name: "anne",
|
|
401
|
+
label: "Année",
|
|
402
|
+
size: {
|
|
403
|
+
xs: 12,
|
|
404
|
+
sm: 6,
|
|
405
|
+
md: 6
|
|
406
|
+
},
|
|
407
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
408
|
+
formik: true,
|
|
409
|
+
fullWidth: true
|
|
410
|
+
})
|
|
411
|
+
}],
|
|
412
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_GUICHETS]: [{
|
|
413
|
+
name: "code",
|
|
414
|
+
label: "Code",
|
|
415
|
+
size: {
|
|
416
|
+
xs: 12,
|
|
417
|
+
sm: 6,
|
|
418
|
+
md: 6
|
|
419
|
+
},
|
|
420
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
421
|
+
formik: true,
|
|
422
|
+
fullWidth: true
|
|
423
|
+
})
|
|
424
|
+
}, {
|
|
425
|
+
name: "description",
|
|
426
|
+
label: "Description",
|
|
427
|
+
size: {
|
|
428
|
+
xs: 12,
|
|
429
|
+
sm: 6,
|
|
430
|
+
md: 6
|
|
431
|
+
},
|
|
432
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
433
|
+
formik: true,
|
|
434
|
+
fullWidth: true
|
|
435
|
+
})
|
|
436
|
+
}, {
|
|
437
|
+
name: "adresse",
|
|
438
|
+
label: "Adresse",
|
|
439
|
+
size: {
|
|
440
|
+
xs: 12,
|
|
441
|
+
sm: 6,
|
|
442
|
+
md: 6
|
|
443
|
+
},
|
|
444
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
445
|
+
formik: true,
|
|
446
|
+
fullWidth: true
|
|
447
|
+
})
|
|
448
|
+
}, {
|
|
449
|
+
name: "idBanque",
|
|
450
|
+
label: "Banque",
|
|
451
|
+
size: {
|
|
452
|
+
xs: 12,
|
|
453
|
+
sm: 6,
|
|
454
|
+
md: 6
|
|
455
|
+
},
|
|
456
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiSimpleReferentielField.default, {
|
|
457
|
+
searchKey: "LISTE_BANQUES",
|
|
458
|
+
getOptionValue: row => row.id,
|
|
459
|
+
formik: true,
|
|
460
|
+
fullWidth: true
|
|
461
|
+
})
|
|
462
|
+
}, {
|
|
463
|
+
name: "idTypeLocalite",
|
|
464
|
+
label: "Localité",
|
|
465
|
+
size: {
|
|
466
|
+
xs: 12,
|
|
467
|
+
sm: 12,
|
|
468
|
+
md: 12
|
|
469
|
+
},
|
|
470
|
+
isSpecific: true,
|
|
471
|
+
inputProps: {
|
|
472
|
+
getRenderedValue: row => {
|
|
473
|
+
var _row$description;
|
|
474
|
+
return (_row$description = row.description) !== null && _row$description !== void 0 ? _row$description : "";
|
|
475
|
+
},
|
|
476
|
+
getReturnedValue: row => row.id,
|
|
477
|
+
searchKey: _specificReferentielsKeys.SPECIFIC_REFERENTIEL_LOCALITES,
|
|
478
|
+
fullWidth: true
|
|
479
|
+
}
|
|
480
|
+
}],
|
|
481
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: [{
|
|
482
|
+
name: "code",
|
|
483
|
+
label: "Code",
|
|
484
|
+
size: {
|
|
485
|
+
xs: 12,
|
|
486
|
+
sm: 6,
|
|
487
|
+
md: 6
|
|
488
|
+
},
|
|
489
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
490
|
+
formik: true,
|
|
491
|
+
fullWidth: true
|
|
492
|
+
})
|
|
493
|
+
}, {
|
|
494
|
+
name: "description",
|
|
495
|
+
label: "Description",
|
|
496
|
+
size: {
|
|
497
|
+
xs: 12,
|
|
498
|
+
sm: 6,
|
|
499
|
+
md: 6
|
|
500
|
+
},
|
|
501
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
502
|
+
formik: true,
|
|
503
|
+
fullWidth: true
|
|
504
|
+
})
|
|
505
|
+
}, {
|
|
506
|
+
name: "idTypeTitreImportation",
|
|
507
|
+
label: "Type TI",
|
|
508
|
+
size: {
|
|
509
|
+
xs: 12,
|
|
510
|
+
sm: 6,
|
|
511
|
+
md: 6
|
|
512
|
+
},
|
|
513
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiSimpleReferentielField.default, {
|
|
514
|
+
searchKey: "LISTE_TYPES_TITRE_IMPORTATION",
|
|
515
|
+
getOptionValue: row => row.id,
|
|
516
|
+
formik: true,
|
|
517
|
+
fullWidth: true
|
|
518
|
+
})
|
|
519
|
+
}, {
|
|
520
|
+
name: "idTypeTitreExportation",
|
|
521
|
+
label: "Type TE",
|
|
522
|
+
size: {
|
|
523
|
+
xs: 12,
|
|
524
|
+
sm: 6,
|
|
525
|
+
md: 6
|
|
526
|
+
},
|
|
527
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiSimpleReferentielField.default, {
|
|
528
|
+
searchKey: "LISTE_TYPES_TITRE_EXPORTATION",
|
|
529
|
+
getOptionValue: row => row.id,
|
|
530
|
+
formik: true,
|
|
531
|
+
fullWidth: true
|
|
532
|
+
})
|
|
322
533
|
}]
|
|
323
534
|
};
|
|
324
535
|
var _default = specificReferentielsBaseFilters;
|
|
@@ -0,0 +1,72 @@
|
|
|
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_REFERENTIEL_LOCALITES]: {
|
|
10
|
+
code: "",
|
|
11
|
+
codePays: "",
|
|
12
|
+
description: ""
|
|
13
|
+
},
|
|
14
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION]: {
|
|
15
|
+
code: "",
|
|
16
|
+
idPort: "",
|
|
17
|
+
description: ""
|
|
18
|
+
},
|
|
19
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_ESCALES]: {
|
|
20
|
+
id: "",
|
|
21
|
+
numVoyage: "",
|
|
22
|
+
numEscale: "",
|
|
23
|
+
dateCreationFormatted: ""
|
|
24
|
+
},
|
|
25
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP]: {
|
|
26
|
+
code: "",
|
|
27
|
+
description: "",
|
|
28
|
+
codePin: "",
|
|
29
|
+
ifu: "",
|
|
30
|
+
ice: "",
|
|
31
|
+
numeroRc: "",
|
|
32
|
+
centreRc: ""
|
|
33
|
+
},
|
|
34
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TRANSITAIRES]: {
|
|
35
|
+
code: "",
|
|
36
|
+
description: "",
|
|
37
|
+
ifu: "",
|
|
38
|
+
ice: "",
|
|
39
|
+
numeroRc: "",
|
|
40
|
+
centreRc: ""
|
|
41
|
+
},
|
|
42
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NAVIRES]: {
|
|
43
|
+
imo: "",
|
|
44
|
+
nom: ""
|
|
45
|
+
},
|
|
46
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_CONSIGNATAIRES]: {
|
|
47
|
+
codeEDI: "",
|
|
48
|
+
code: "",
|
|
49
|
+
description: ""
|
|
50
|
+
},
|
|
51
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE]: {
|
|
52
|
+
rib: "",
|
|
53
|
+
idBanque: "",
|
|
54
|
+
mois: "",
|
|
55
|
+
anne: ""
|
|
56
|
+
},
|
|
57
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_GUICHETS]: {
|
|
58
|
+
code: "",
|
|
59
|
+
description: "",
|
|
60
|
+
adresse: "",
|
|
61
|
+
idBanque: "",
|
|
62
|
+
idTypeLocalite: ""
|
|
63
|
+
},
|
|
64
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: {
|
|
65
|
+
code: "",
|
|
66
|
+
description: "",
|
|
67
|
+
idTypeTitreImportation: "",
|
|
68
|
+
idTypeTitreExportation: ""
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
var _default = specificReferentielsInitialValues;
|
|
72
|
+
exports.default = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SPECIFIC_REFERENTIEL_TRANSITAIRES = exports.SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION = exports.SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP = exports.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = exports.SPECIFIC_REFERENTIEL_NAVIRES = exports.SPECIFIC_REFERENTIEL_LOCALITES = exports.SPECIFIC_REFERENTIEL_GUICHETS = exports.SPECIFIC_REFERENTIEL_ESCALES = exports.SPECIFIC_REFERENTIEL_CONSIGNATAIRES = exports.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE = void 0;
|
|
7
|
+
const SPECIFIC_REFERENTIEL_LOCALITES = "LOCALITES";
|
|
8
|
+
exports.SPECIFIC_REFERENTIEL_LOCALITES = SPECIFIC_REFERENTIEL_LOCALITES;
|
|
9
|
+
const SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION = "OPERATEURS_MANUTENTION";
|
|
10
|
+
exports.SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION = SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION;
|
|
11
|
+
const SPECIFIC_REFERENTIEL_ESCALES = "ESCALES";
|
|
12
|
+
exports.SPECIFIC_REFERENTIEL_ESCALES = SPECIFIC_REFERENTIEL_ESCALES;
|
|
13
|
+
const SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP = "OPERATEURS_IMP_EXP";
|
|
14
|
+
exports.SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP = SPECIFIC_REFERENTIEL_OPERATEURS_IMP_EXP;
|
|
15
|
+
const SPECIFIC_REFERENTIEL_TRANSITAIRES = "TRANSITAIRES";
|
|
16
|
+
exports.SPECIFIC_REFERENTIEL_TRANSITAIRES = SPECIFIC_REFERENTIEL_TRANSITAIRES;
|
|
17
|
+
const SPECIFIC_REFERENTIEL_NAVIRES = "NAVIRES";
|
|
18
|
+
exports.SPECIFIC_REFERENTIEL_NAVIRES = SPECIFIC_REFERENTIEL_NAVIRES;
|
|
19
|
+
const SPECIFIC_REFERENTIEL_CONSIGNATAIRES = "CONSIGNATAIRES";
|
|
20
|
+
exports.SPECIFIC_REFERENTIEL_CONSIGNATAIRES = SPECIFIC_REFERENTIEL_CONSIGNATAIRES;
|
|
21
|
+
const SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE = "COMPTES_BANCAIRE";
|
|
22
|
+
exports.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE = SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE;
|
|
23
|
+
const SPECIFIC_REFERENTIEL_GUICHETS = "GUICHETS";
|
|
24
|
+
exports.SPECIFIC_REFERENTIEL_GUICHETS = SPECIFIC_REFERENTIEL_GUICHETS;
|
|
25
|
+
const SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = "NOMENCLATURES_DOUANIERES";
|
|
26
|
+
exports.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES;
|