arengibook 2.4.622 → 2.4.624

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 (2) hide show
  1. package/dist/index.js +31 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39161,6 +39161,21 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
39161
39161
  loadInitialOptions();
39162
39162
  }
39163
39163
  }, [options]);
39164
+ useEffect(function () {
39165
+ var observer = new MutationObserver(function () {
39166
+ var panel = document.querySelector('.p-multiselect-panel.p-component');
39167
+ if (panel) {
39168
+ panel.style.zIndex = '10000';
39169
+ }
39170
+ });
39171
+ observer.observe(document.body, {
39172
+ childList: true,
39173
+ subtree: true
39174
+ });
39175
+ return function () {
39176
+ observer.disconnect();
39177
+ };
39178
+ }, []);
39164
39179
 
39165
39180
  // Gestion du changement de sélection
39166
39181
  var handleChange = function handleChange(e) {
@@ -39284,11 +39299,7 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
39284
39299
  };
39285
39300
  return /*#__PURE__*/React__default.createElement("div", {
39286
39301
  ref: multiSelectRef,
39287
- className: "flex flex-col gap-1",
39288
- "data-p-disabled": "false",
39289
- "data-p-focus": "false",
39290
- "data-pc-name": "multiselect",
39291
- "data-pc-section": "root"
39302
+ className: "flex flex-col gap-1"
39292
39303
  }, /*#__PURE__*/React__default.createElement(MultiSelect$1, {
39293
39304
  options: loadedOptions,
39294
39305
  onChange: handleChange,
@@ -39399,6 +39410,21 @@ var MultiSelect = function MultiSelect(props) {
39399
39410
  border: invalid ? '1px solid red' : '1px solid #ccc',
39400
39411
  width: '100%'
39401
39412
  };
39413
+ useEffect(function () {
39414
+ var observer = new MutationObserver(function () {
39415
+ var panel = document.querySelector('.p-multiselect-panel.p-component');
39416
+ if (panel) {
39417
+ panel.style.zIndex = '10000';
39418
+ }
39419
+ });
39420
+ observer.observe(document.body, {
39421
+ childList: true,
39422
+ subtree: true
39423
+ });
39424
+ return function () {
39425
+ observer.disconnect();
39426
+ };
39427
+ }, []);
39402
39428
  var optionTemplate = function optionTemplate(option) {
39403
39429
  if (!option) return null;
39404
39430
  if (isSelectMeta) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.622",
4
+ "version": "2.4.624",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {