arengibook 2.4.650 → 2.4.651
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/index.js +16 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39555,21 +39555,22 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
|
|
|
39555
39555
|
loading: loading,
|
|
39556
39556
|
delay: 25
|
|
39557
39557
|
}
|
|
39558
|
-
}), name && /*#__PURE__*/React__default.createElement("
|
|
39559
|
-
|
|
39560
|
-
|
|
39561
|
-
|
|
39562
|
-
|
|
39563
|
-
|
|
39564
|
-
|
|
39565
|
-
|
|
39566
|
-
|
|
39567
|
-
|
|
39568
|
-
|
|
39569
|
-
|
|
39570
|
-
|
|
39571
|
-
|
|
39572
|
-
|
|
39558
|
+
}), name && /*#__PURE__*/React__default.createElement("div", null, (Array.isArray(selectedOptions) ? selectedOptions : []).filter(function (opt) {
|
|
39559
|
+
return opt && (_typeof$b(opt) === 'object' || typeof opt === 'number' || typeof opt === 'string');
|
|
39560
|
+
}).map(function (opt, index) {
|
|
39561
|
+
// normalisation
|
|
39562
|
+
var id = _typeof$b(opt) === 'object' && opt !== null ? opt[optionValue] : opt;
|
|
39563
|
+
var nameAttr = _typeof$b(opt) === 'object' && opt !== null ? opt[optionLabel] || opt.nom || '' : '';
|
|
39564
|
+
return /*#__PURE__*/React__default.createElement("input", {
|
|
39565
|
+
key: index,
|
|
39566
|
+
type: "hidden",
|
|
39567
|
+
className: classInput || '',
|
|
39568
|
+
name: name,
|
|
39569
|
+
"data-id-onglet": ongletID,
|
|
39570
|
+
"data-name": nameAttr,
|
|
39571
|
+
value: id
|
|
39572
|
+
});
|
|
39573
|
+
})), invalid && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("small", {
|
|
39573
39574
|
style: {
|
|
39574
39575
|
color: 'red',
|
|
39575
39576
|
fontStyle: 'italic'
|