arengibook 1.2.320-main → 1.2.3201-main
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 +4 -2
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -43440,7 +43440,7 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
43440
43440
|
}, (Array.isArray(selectedOptions) ? selectedOptions : []).filter(function (opt) {
|
|
43441
43441
|
return opt && (_typeof$g(opt) === 'object' || typeof opt === 'number' || typeof opt === 'string');
|
|
43442
43442
|
}).map(function (opt, index) {
|
|
43443
|
-
|
|
43443
|
+
_typeof$g(opt) === 'object' && opt !== null ? opt[optionValue] : opt;
|
|
43444
43444
|
var nameAttr = _typeof$g(opt) === 'object' && opt !== null ? opt[optionLabel] || opt.nom || '' : '';
|
|
43445
43445
|
return /*#__PURE__*/React__default.createElement("input", {
|
|
43446
43446
|
key: index,
|
|
@@ -43448,7 +43448,9 @@ var MultiSelect = function MultiSelect(props) {
|
|
|
43448
43448
|
name: name,
|
|
43449
43449
|
"data-id-onglet": ongletID,
|
|
43450
43450
|
"data-name": nameAttr,
|
|
43451
|
-
value:
|
|
43451
|
+
value: selectedOptions.map(function (opt) {
|
|
43452
|
+
return _typeof$g(opt) === 'object' ? opt[optionValue] : opt;
|
|
43453
|
+
}).join(',')
|
|
43452
43454
|
});
|
|
43453
43455
|
}), required && !hasSelection && /*#__PURE__*/React__default.createElement("input", {
|
|
43454
43456
|
tabIndex: -1,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arengibook",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3201-main",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"chromatic": "npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --only-changed --exit-zero-on-changes"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"arengibook": "^1.2.320-main",
|
|
25
26
|
"classnames": "^2.5.1",
|
|
26
27
|
"html-react-parser": "^5.2.3",
|
|
27
28
|
"primeicons": "^7.0.0",
|