@portnet/ui 0.0.88 → 0.0.90
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/referentiel/common/constants/specificReferentielsApis.js +2 -1
- package/dist/components/referentiel/common/constants/specificReferentielsBaseColumns.js +13 -0
- package/dist/components/referentiel/common/constants/specificReferentielsBaseFilters.js +25 -0
- package/dist/components/referentiel/common/constants/specificReferentielsInitialValues.js +4 -0
- package/dist/components/referentiel/common/constants/specificReferentielsKeys.js +4 -2
- package/dist/components/referentiel/common/constants/specificReferentielsTitles.js +2 -1
- package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js +4 -0
- package/package.json +1 -1
|
@@ -15,7 +15,8 @@ const specificReferentielsApis = {
|
|
|
15
15
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_CONSIGNATAIRES]: "consignataire",
|
|
16
16
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE]: "compteBancaire",
|
|
17
17
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_GUICHETS]: "guichet",
|
|
18
|
-
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: "typeNomeclatureDouaniere"
|
|
18
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: "typeNomeclatureDouaniere",
|
|
19
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: "test"
|
|
19
20
|
};
|
|
20
21
|
var _default = specificReferentielsApis;
|
|
21
22
|
exports.default = _default;
|
|
@@ -640,6 +640,19 @@ const specificReferentielsBaseColumns = {
|
|
|
640
640
|
} = _ref52;
|
|
641
641
|
return (_row$typeTitreExporta2 = row.typeTitreExportationDescription) !== null && _row$typeTitreExporta2 !== void 0 ? _row$typeTitreExporta2 : "-";
|
|
642
642
|
}
|
|
643
|
+
}],
|
|
644
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: [{
|
|
645
|
+
field: "description",
|
|
646
|
+
headerName: "Description",
|
|
647
|
+
flex: 2,
|
|
648
|
+
sortable: false,
|
|
649
|
+
valueGetter: _ref53 => {
|
|
650
|
+
var _row$description8;
|
|
651
|
+
let {
|
|
652
|
+
row
|
|
653
|
+
} = _ref53;
|
|
654
|
+
return (_row$description8 = row.description) !== null && _row$description8 !== void 0 ? _row$description8 : "-";
|
|
655
|
+
}
|
|
643
656
|
}]
|
|
644
657
|
};
|
|
645
658
|
var _default = specificReferentielsBaseColumns;
|
|
@@ -532,6 +532,31 @@ const specificReferentielsBaseFilters = {
|
|
|
532
532
|
formik: true,
|
|
533
533
|
fullWidth: true
|
|
534
534
|
})
|
|
535
|
+
}],
|
|
536
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: [{
|
|
537
|
+
name: "description",
|
|
538
|
+
label: "Description",
|
|
539
|
+
size: {
|
|
540
|
+
xs: 12,
|
|
541
|
+
sm: 8,
|
|
542
|
+
md: 6
|
|
543
|
+
},
|
|
544
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
545
|
+
formik: true,
|
|
546
|
+
fullWidth: true
|
|
547
|
+
})
|
|
548
|
+
}, {
|
|
549
|
+
name: "code",
|
|
550
|
+
label: "Code",
|
|
551
|
+
size: {
|
|
552
|
+
xs: 12,
|
|
553
|
+
sm: 4,
|
|
554
|
+
md: 6
|
|
555
|
+
},
|
|
556
|
+
input: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTextField.default, {
|
|
557
|
+
formik: true,
|
|
558
|
+
fullWidth: true
|
|
559
|
+
})
|
|
535
560
|
}]
|
|
536
561
|
};
|
|
537
562
|
var _default = specificReferentielsBaseFilters;
|
|
@@ -66,6 +66,10 @@ const specificReferentielsInitialValues = {
|
|
|
66
66
|
description: "",
|
|
67
67
|
idTypeTitreImportation: "",
|
|
68
68
|
idTypeTitreExportation: ""
|
|
69
|
+
},
|
|
70
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: {
|
|
71
|
+
code: "",
|
|
72
|
+
description: ""
|
|
69
73
|
}
|
|
70
74
|
};
|
|
71
75
|
var _default = specificReferentielsInitialValues;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
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;
|
|
6
|
+
exports.SPECIFIC_REFERENTIEL_TRANSITAIRES = exports.SPECIFIC_REFERENTIEL_TEST = 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
7
|
const SPECIFIC_REFERENTIEL_LOCALITES = "LOCALITES";
|
|
8
8
|
exports.SPECIFIC_REFERENTIEL_LOCALITES = SPECIFIC_REFERENTIEL_LOCALITES;
|
|
9
9
|
const SPECIFIC_REFERENTIEL_OPERATEURS_MANUTENTION = "OPERATEURS_MANUTENTION";
|
|
@@ -23,4 +23,6 @@ exports.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE = SPECIFIC_REFERENTIEL_COMPTES_BAN
|
|
|
23
23
|
const SPECIFIC_REFERENTIEL_GUICHETS = "GUICHETS";
|
|
24
24
|
exports.SPECIFIC_REFERENTIEL_GUICHETS = SPECIFIC_REFERENTIEL_GUICHETS;
|
|
25
25
|
const SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = "NOMENCLATURES_DOUANIERES";
|
|
26
|
-
exports.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES;
|
|
26
|
+
exports.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES = SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES;
|
|
27
|
+
const SPECIFIC_REFERENTIEL_TEST = "TEST";
|
|
28
|
+
exports.SPECIFIC_REFERENTIEL_TEST = SPECIFIC_REFERENTIEL_TEST;
|
|
@@ -15,7 +15,8 @@ const specificReferentielsTitles = {
|
|
|
15
15
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_CONSIGNATAIRES]: "Recherche de consignataires",
|
|
16
16
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_COMPTES_BANCAIRE]: "Recherche de comptes bancaire",
|
|
17
17
|
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_GUICHETS]: "Recherche de guichets",
|
|
18
|
-
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: "Recherche de nomenclatures douanières"
|
|
18
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_NOMENCLATURES_DOUANIERES]: "Recherche de nomenclatures douanières",
|
|
19
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: "Notre referernteil test"
|
|
19
20
|
};
|
|
20
21
|
var _default = specificReferentielsTitles;
|
|
21
22
|
exports.default = _default;
|
package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js
CHANGED
|
@@ -71,6 +71,10 @@ const specificReferentielsValidationSchemas = {
|
|
|
71
71
|
description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
|
|
72
72
|
idTypeTitreImportation: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER),
|
|
73
73
|
idTypeTitreExportation: Yup.number().typeError(_yupValidationErrors.TYPE_NUMBER)
|
|
74
|
+
}),
|
|
75
|
+
[_specificReferentielsKeys.SPECIFIC_REFERENTIEL_TEST]: Yup.object().shape({
|
|
76
|
+
code: Yup.string().typeError(_yupValidationErrors.TYPE_STRING),
|
|
77
|
+
description: Yup.string().typeError(_yupValidationErrors.TYPE_STRING)
|
|
74
78
|
})
|
|
75
79
|
};
|
|
76
80
|
var _default = specificReferentielsValidationSchemas;
|