funda-ui 4.7.152 → 4.7.161

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 (45) hide show
  1. package/CascadingSelect/index.js +13 -6
  2. package/CascadingSelectE2E/index.js +13 -6
  3. package/Chatbox/index.css +8 -0
  4. package/Chatbox/index.d.ts +1 -0
  5. package/Chatbox/index.js +18 -8
  6. package/Date/index.js +13 -6
  7. package/DropdownMenu/index.js +13 -6
  8. package/EventCalendar/index.js +42 -35
  9. package/EventCalendarTimeline/index.js +55 -41
  10. package/LiveSearch/index.css +33 -0
  11. package/LiveSearch/index.d.ts +1 -0
  12. package/LiveSearch/index.js +186 -91
  13. package/ModalDialog/index.js +13 -6
  14. package/RootPortal/index.d.ts +2 -1
  15. package/RootPortal/index.js +13 -6
  16. package/Select/index.js +81 -72
  17. package/Toast/index.js +13 -6
  18. package/Tooltip/index.js +13 -6
  19. package/lib/cjs/CascadingSelect/index.js +13 -6
  20. package/lib/cjs/CascadingSelectE2E/index.js +13 -6
  21. package/lib/cjs/Chatbox/index.d.ts +1 -0
  22. package/lib/cjs/Chatbox/index.js +18 -8
  23. package/lib/cjs/Date/index.js +13 -6
  24. package/lib/cjs/DropdownMenu/index.js +13 -6
  25. package/lib/cjs/EventCalendar/index.js +42 -35
  26. package/lib/cjs/EventCalendarTimeline/index.js +55 -41
  27. package/lib/cjs/LiveSearch/index.d.ts +1 -0
  28. package/lib/cjs/LiveSearch/index.js +186 -91
  29. package/lib/cjs/ModalDialog/index.js +13 -6
  30. package/lib/cjs/RootPortal/index.d.ts +2 -1
  31. package/lib/cjs/RootPortal/index.js +13 -6
  32. package/lib/cjs/Select/index.js +81 -72
  33. package/lib/cjs/Toast/index.js +13 -6
  34. package/lib/cjs/Tooltip/index.js +13 -6
  35. package/lib/css/Chatbox/index.css +8 -0
  36. package/lib/css/LiveSearch/index.css +33 -0
  37. package/lib/esm/Chatbox/index.scss +9 -0
  38. package/lib/esm/Chatbox/index.tsx +7 -4
  39. package/lib/esm/LiveSearch/index.scss +47 -0
  40. package/lib/esm/LiveSearch/index.tsx +120 -64
  41. package/lib/esm/RootPortal/index.tsx +14 -8
  42. package/lib/esm/SearchBar/index.tsx +1 -0
  43. package/lib/esm/Select/index.tsx +65 -64
  44. package/lib/esm/Textarea/index.tsx +1 -0
  45. package/package.json +1 -1
@@ -2178,7 +2178,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2178
2178
  var RootPortal = function RootPortal(props) {
2179
2179
  var containerClassName = props.containerClassName,
2180
2180
  show = props.show,
2181
- children = props.children;
2181
+ children = props.children,
2182
+ _props$usePortal = props.usePortal,
2183
+ usePortal = _props$usePortal === void 0 ? true : _props$usePortal;
2182
2184
  var containerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
2183
2185
 
2184
2186
  // Move HTML templates to tag end body </body>
@@ -2189,15 +2191,20 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2189
2191
  // Use `containerRef.current` to ensure the correctness of the nextjs framework. It may report an error document as undefined
2190
2192
 
2191
2193
  (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
2192
- containerRef.current = document.createElement('div');
2193
- containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
2194
- document.body.appendChild(containerRef.current);
2194
+ if (usePortal) {
2195
+ containerRef.current = document.createElement('div');
2196
+ containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
2197
+ document.body.appendChild(containerRef.current);
2198
+ }
2195
2199
  return function () {
2196
- if (containerRef.current) {
2200
+ if (usePortal && containerRef.current) {
2197
2201
  containerRef.current.remove();
2198
2202
  }
2199
2203
  };
2200
- }, []);
2204
+ }, [usePortal]);
2205
+ if (!usePortal) {
2206
+ return show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, children) : null;
2207
+ }
2201
2208
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, containerRef.current && show && /*#__PURE__*/(0, react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children, containerRef.current));
2202
2209
  };
2203
2210
  /* harmony default export */
@@ -171,7 +171,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
171
171
  var RootPortal = function RootPortal(props) {
172
172
  var containerClassName = props.containerClassName,
173
173
  show = props.show,
174
- children = props.children;
174
+ children = props.children,
175
+ _props$usePortal = props.usePortal,
176
+ usePortal = _props$usePortal === void 0 ? true : _props$usePortal;
175
177
  var containerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
176
178
 
177
179
  // Move HTML templates to tag end body </body>
@@ -182,15 +184,20 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
182
184
  // Use `containerRef.current` to ensure the correctness of the nextjs framework. It may report an error document as undefined
183
185
 
184
186
  (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
185
- containerRef.current = document.createElement('div');
186
- containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
187
- document.body.appendChild(containerRef.current);
187
+ if (usePortal) {
188
+ containerRef.current = document.createElement('div');
189
+ containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
190
+ document.body.appendChild(containerRef.current);
191
+ }
188
192
  return function () {
189
- if (containerRef.current) {
193
+ if (usePortal && containerRef.current) {
190
194
  containerRef.current.remove();
191
195
  }
192
196
  };
193
- }, []);
197
+ }, [usePortal]);
198
+ if (!usePortal) {
199
+ return show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, children) : null;
200
+ }
194
201
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, containerRef.current && show && /*#__PURE__*/(0, react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children, containerRef.current));
195
202
  };
196
203
  /* harmony default export */
@@ -190,7 +190,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
190
190
  var RootPortal = function RootPortal(props) {
191
191
  var containerClassName = props.containerClassName,
192
192
  show = props.show,
193
- children = props.children;
193
+ children = props.children,
194
+ _props$usePortal = props.usePortal,
195
+ usePortal = _props$usePortal === void 0 ? true : _props$usePortal;
194
196
  var containerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
195
197
 
196
198
  // Move HTML templates to tag end body </body>
@@ -201,15 +203,20 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
201
203
  // Use `containerRef.current` to ensure the correctness of the nextjs framework. It may report an error document as undefined
202
204
 
203
205
  (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
204
- containerRef.current = document.createElement('div');
205
- containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
206
- document.body.appendChild(containerRef.current);
206
+ if (usePortal) {
207
+ containerRef.current = document.createElement('div');
208
+ containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
209
+ document.body.appendChild(containerRef.current);
210
+ }
207
211
  return function () {
208
- if (containerRef.current) {
212
+ if (usePortal && containerRef.current) {
209
213
  containerRef.current.remove();
210
214
  }
211
215
  };
212
- }, []);
216
+ }, [usePortal]);
217
+ if (!usePortal) {
218
+ return show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, children) : null;
219
+ }
213
220
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, containerRef.current && show && /*#__PURE__*/(0, react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children, containerRef.current));
214
221
  };
215
222
  /* harmony default export */
@@ -226,8 +233,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
226
233
  /***/
227
234
  },
228
235
 
229
- /***/70: /***/function _(module, exports, __nested_webpack_require_11296__) {
230
- /* module decorator */module = __nested_webpack_require_11296__.nmd(module);
236
+ /***/70: /***/function _(module, exports, __nested_webpack_require_11781__) {
237
+ /* module decorator */module = __nested_webpack_require_11781__.nmd(module);
231
238
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
232
239
  function _typeof(obj) {
233
240
  "@babel/helpers - typeof";
@@ -604,8 +611,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
604
611
  /***/
605
612
  },
606
613
 
607
- /***/85: /***/function _(module, exports, __nested_webpack_require_30872__) {
608
- /* module decorator */module = __nested_webpack_require_30872__.nmd(module);
614
+ /***/85: /***/function _(module, exports, __nested_webpack_require_31357__) {
615
+ /* module decorator */module = __nested_webpack_require_31357__.nmd(module);
609
616
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
610
617
  function _typeof(obj) {
611
618
  "@babel/helpers - typeof";
@@ -617,7 +624,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
617
624
  }, _typeof(obj);
618
625
  }
619
626
  (function webpackUniversalModuleDefinition(root, factory) {
620
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_30872__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_30872__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
627
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_31357__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_31357__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
621
628
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
622
629
  return (/******/function () {
623
630
  // webpackBootstrap
@@ -777,8 +784,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
777
784
  /***/
778
785
  },
779
786
 
780
- /***/771: /***/function _(module, exports, __nested_webpack_require_38960__) {
781
- /* module decorator */module = __nested_webpack_require_38960__.nmd(module);
787
+ /***/771: /***/function _(module, exports, __nested_webpack_require_39445__) {
788
+ /* module decorator */module = __nested_webpack_require_39445__.nmd(module);
782
789
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
783
790
  function _typeof(obj) {
784
791
  "@babel/helpers - typeof";
@@ -790,7 +797,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
790
797
  }, _typeof(obj);
791
798
  }
792
799
  (function webpackUniversalModuleDefinition(root, factory) {
793
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_38960__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_38960__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
800
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_39445__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_39445__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
794
801
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
795
802
  return (/******/function () {
796
803
  // webpackBootstrap
@@ -1252,7 +1259,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1252
1259
  /******/
1253
1260
  /******/ // The require function
1254
1261
  /******/
1255
- function __nested_webpack_require_61476__(moduleId) {
1262
+ function __nested_webpack_require_61961__(moduleId) {
1256
1263
  /******/ // Check if module is in cache
1257
1264
  /******/var cachedModule = __webpack_module_cache__[moduleId];
1258
1265
  /******/
@@ -1271,7 +1278,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1271
1278
  /******/
1272
1279
  /******/ // Execute the module function
1273
1280
  /******/
1274
- __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_61476__);
1281
+ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_61961__);
1275
1282
  /******/
1276
1283
  /******/ // Flag the module as loaded
1277
1284
  /******/
@@ -1288,14 +1295,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1288
1295
  /******/
1289
1296
  (function () {
1290
1297
  /******/ // getDefaultExport function for compatibility with non-harmony modules
1291
- /******/__nested_webpack_require_61476__.n = function (module) {
1298
+ /******/__nested_webpack_require_61961__.n = function (module) {
1292
1299
  /******/var getter = module && module.__esModule ? /******/function () {
1293
1300
  return module['default'];
1294
1301
  } : /******/function () {
1295
1302
  return module;
1296
1303
  };
1297
1304
  /******/
1298
- __nested_webpack_require_61476__.d(getter, {
1305
+ __nested_webpack_require_61961__.d(getter, {
1299
1306
  a: getter
1300
1307
  });
1301
1308
  /******/
@@ -1309,9 +1316,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1309
1316
  /******/
1310
1317
  (function () {
1311
1318
  /******/ // define getter functions for harmony exports
1312
- /******/__nested_webpack_require_61476__.d = function (exports, definition) {
1319
+ /******/__nested_webpack_require_61961__.d = function (exports, definition) {
1313
1320
  /******/for (var key in definition) {
1314
- /******/if (__nested_webpack_require_61476__.o(definition, key) && !__nested_webpack_require_61476__.o(exports, key)) {
1321
+ /******/if (__nested_webpack_require_61961__.o(definition, key) && !__nested_webpack_require_61961__.o(exports, key)) {
1315
1322
  /******/Object.defineProperty(exports, key, {
1316
1323
  enumerable: true,
1317
1324
  get: definition[key]
@@ -1328,7 +1335,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1328
1335
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
1329
1336
  /******/
1330
1337
  (function () {
1331
- /******/__nested_webpack_require_61476__.o = function (obj, prop) {
1338
+ /******/__nested_webpack_require_61961__.o = function (obj, prop) {
1332
1339
  return Object.prototype.hasOwnProperty.call(obj, prop);
1333
1340
  };
1334
1341
  /******/
@@ -1338,7 +1345,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1338
1345
  /******/
1339
1346
  (function () {
1340
1347
  /******/ // define __esModule on exports
1341
- /******/__nested_webpack_require_61476__.r = function (exports) {
1348
+ /******/__nested_webpack_require_61961__.r = function (exports) {
1342
1349
  /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1343
1350
  /******/Object.defineProperty(exports, Symbol.toStringTag, {
1344
1351
  value: 'Module'
@@ -1357,7 +1364,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1357
1364
  /******/ /* webpack/runtime/node module decorator */
1358
1365
  /******/
1359
1366
  (function () {
1360
- /******/__nested_webpack_require_61476__.nmd = function (module) {
1367
+ /******/__nested_webpack_require_61961__.nmd = function (module) {
1361
1368
  /******/module.paths = [];
1362
1369
  /******/
1363
1370
  if (!module.children) module.children = [];
@@ -1374,34 +1381,34 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1374
1381
  (function () {
1375
1382
  "use strict";
1376
1383
 
1377
- __nested_webpack_require_61476__.r(__webpack_exports__);
1384
+ __nested_webpack_require_61961__.r(__webpack_exports__);
1378
1385
  /* harmony export */
1379
- __nested_webpack_require_61476__.d(__webpack_exports__, {
1386
+ __nested_webpack_require_61961__.d(__webpack_exports__, {
1380
1387
  /* harmony export */"default": function _default() {
1381
1388
  return __WEBPACK_DEFAULT_EXPORT__;
1382
1389
  }
1383
1390
  /* harmony export */
1384
1391
  });
1385
1392
  /* harmony import */
1386
- var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_61476__(787);
1393
+ var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_61961__(787);
1387
1394
  /* harmony import */
1388
- var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_61476__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1395
+ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_61961__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1389
1396
  /* harmony import */
1390
- var funda_root_portal__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_61476__(909);
1397
+ var funda_root_portal__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_61961__(909);
1391
1398
  /* harmony import */
1392
- var funda_root_portal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_root_portal__WEBPACK_IMPORTED_MODULE_1__);
1399
+ var funda_root_portal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_root_portal__WEBPACK_IMPORTED_MODULE_1__);
1393
1400
  /* harmony import */
1394
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_61476__(85);
1401
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_61961__(85);
1395
1402
  /* harmony import */
1396
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__);
1403
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__);
1397
1404
  /* harmony import */
1398
- var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_61476__(771);
1405
+ var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_61961__(771);
1399
1406
  /* harmony import */
1400
- var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__);
1407
+ var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__);
1401
1408
  /* harmony import */
1402
- var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_61476__(70);
1409
+ var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_61961__(70);
1403
1410
  /* harmony import */
1404
- var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__);
1411
+ var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__);
1405
1412
  function _slicedToArray(arr, i) {
1406
1413
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
1407
1414
  }
@@ -190,7 +190,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
190
190
  var RootPortal = function RootPortal(props) {
191
191
  var containerClassName = props.containerClassName,
192
192
  show = props.show,
193
- children = props.children;
193
+ children = props.children,
194
+ _props$usePortal = props.usePortal,
195
+ usePortal = _props$usePortal === void 0 ? true : _props$usePortal;
194
196
  var containerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
195
197
 
196
198
  // Move HTML templates to tag end body </body>
@@ -201,15 +203,20 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
201
203
  // Use `containerRef.current` to ensure the correctness of the nextjs framework. It may report an error document as undefined
202
204
 
203
205
  (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
204
- containerRef.current = document.createElement('div');
205
- containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
206
- document.body.appendChild(containerRef.current);
206
+ if (usePortal) {
207
+ containerRef.current = document.createElement('div');
208
+ containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
209
+ document.body.appendChild(containerRef.current);
210
+ }
207
211
  return function () {
208
- if (containerRef.current) {
212
+ if (usePortal && containerRef.current) {
209
213
  containerRef.current.remove();
210
214
  }
211
215
  };
212
- }, []);
216
+ }, [usePortal]);
217
+ if (!usePortal) {
218
+ return show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, children) : null;
219
+ }
213
220
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, containerRef.current && show && /*#__PURE__*/(0, react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children, containerRef.current));
214
221
  };
215
222
  /* harmony default export */
@@ -226,8 +233,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
226
233
  /***/
227
234
  },
228
235
 
229
- /***/70: /***/function _(module, exports, __nested_webpack_require_11296__) {
230
- /* module decorator */module = __nested_webpack_require_11296__.nmd(module);
236
+ /***/70: /***/function _(module, exports, __nested_webpack_require_11781__) {
237
+ /* module decorator */module = __nested_webpack_require_11781__.nmd(module);
231
238
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
232
239
  function _typeof(obj) {
233
240
  "@babel/helpers - typeof";
@@ -604,8 +611,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
604
611
  /***/
605
612
  },
606
613
 
607
- /***/85: /***/function _(module, exports, __nested_webpack_require_30872__) {
608
- /* module decorator */module = __nested_webpack_require_30872__.nmd(module);
614
+ /***/85: /***/function _(module, exports, __nested_webpack_require_31357__) {
615
+ /* module decorator */module = __nested_webpack_require_31357__.nmd(module);
609
616
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
610
617
  function _typeof(obj) {
611
618
  "@babel/helpers - typeof";
@@ -617,7 +624,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
617
624
  }, _typeof(obj);
618
625
  }
619
626
  (function webpackUniversalModuleDefinition(root, factory) {
620
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_30872__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_30872__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
627
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_31357__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_31357__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
621
628
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
622
629
  return (/******/function () {
623
630
  // webpackBootstrap
@@ -777,8 +784,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
777
784
  /***/
778
785
  },
779
786
 
780
- /***/771: /***/function _(module, exports, __nested_webpack_require_38960__) {
781
- /* module decorator */module = __nested_webpack_require_38960__.nmd(module);
787
+ /***/771: /***/function _(module, exports, __nested_webpack_require_39445__) {
788
+ /* module decorator */module = __nested_webpack_require_39445__.nmd(module);
782
789
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
783
790
  function _typeof(obj) {
784
791
  "@babel/helpers - typeof";
@@ -790,7 +797,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
790
797
  }, _typeof(obj);
791
798
  }
792
799
  (function webpackUniversalModuleDefinition(root, factory) {
793
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_38960__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_38960__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
800
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_39445__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_39445__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
794
801
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
795
802
  return (/******/function () {
796
803
  // webpackBootstrap
@@ -1252,7 +1259,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1252
1259
  /******/
1253
1260
  /******/ // The require function
1254
1261
  /******/
1255
- function __nested_webpack_require_61476__(moduleId) {
1262
+ function __nested_webpack_require_61961__(moduleId) {
1256
1263
  /******/ // Check if module is in cache
1257
1264
  /******/var cachedModule = __webpack_module_cache__[moduleId];
1258
1265
  /******/
@@ -1271,7 +1278,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1271
1278
  /******/
1272
1279
  /******/ // Execute the module function
1273
1280
  /******/
1274
- __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_61476__);
1281
+ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_61961__);
1275
1282
  /******/
1276
1283
  /******/ // Flag the module as loaded
1277
1284
  /******/
@@ -1288,14 +1295,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1288
1295
  /******/
1289
1296
  (function () {
1290
1297
  /******/ // getDefaultExport function for compatibility with non-harmony modules
1291
- /******/__nested_webpack_require_61476__.n = function (module) {
1298
+ /******/__nested_webpack_require_61961__.n = function (module) {
1292
1299
  /******/var getter = module && module.__esModule ? /******/function () {
1293
1300
  return module['default'];
1294
1301
  } : /******/function () {
1295
1302
  return module;
1296
1303
  };
1297
1304
  /******/
1298
- __nested_webpack_require_61476__.d(getter, {
1305
+ __nested_webpack_require_61961__.d(getter, {
1299
1306
  a: getter
1300
1307
  });
1301
1308
  /******/
@@ -1309,9 +1316,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1309
1316
  /******/
1310
1317
  (function () {
1311
1318
  /******/ // define getter functions for harmony exports
1312
- /******/__nested_webpack_require_61476__.d = function (exports, definition) {
1319
+ /******/__nested_webpack_require_61961__.d = function (exports, definition) {
1313
1320
  /******/for (var key in definition) {
1314
- /******/if (__nested_webpack_require_61476__.o(definition, key) && !__nested_webpack_require_61476__.o(exports, key)) {
1321
+ /******/if (__nested_webpack_require_61961__.o(definition, key) && !__nested_webpack_require_61961__.o(exports, key)) {
1315
1322
  /******/Object.defineProperty(exports, key, {
1316
1323
  enumerable: true,
1317
1324
  get: definition[key]
@@ -1328,7 +1335,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1328
1335
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
1329
1336
  /******/
1330
1337
  (function () {
1331
- /******/__nested_webpack_require_61476__.o = function (obj, prop) {
1338
+ /******/__nested_webpack_require_61961__.o = function (obj, prop) {
1332
1339
  return Object.prototype.hasOwnProperty.call(obj, prop);
1333
1340
  };
1334
1341
  /******/
@@ -1338,7 +1345,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1338
1345
  /******/
1339
1346
  (function () {
1340
1347
  /******/ // define __esModule on exports
1341
- /******/__nested_webpack_require_61476__.r = function (exports) {
1348
+ /******/__nested_webpack_require_61961__.r = function (exports) {
1342
1349
  /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1343
1350
  /******/Object.defineProperty(exports, Symbol.toStringTag, {
1344
1351
  value: 'Module'
@@ -1357,7 +1364,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1357
1364
  /******/ /* webpack/runtime/node module decorator */
1358
1365
  /******/
1359
1366
  (function () {
1360
- /******/__nested_webpack_require_61476__.nmd = function (module) {
1367
+ /******/__nested_webpack_require_61961__.nmd = function (module) {
1361
1368
  /******/module.paths = [];
1362
1369
  /******/
1363
1370
  if (!module.children) module.children = [];
@@ -1374,34 +1381,34 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1374
1381
  (function () {
1375
1382
  "use strict";
1376
1383
 
1377
- __nested_webpack_require_61476__.r(__webpack_exports__);
1384
+ __nested_webpack_require_61961__.r(__webpack_exports__);
1378
1385
  /* harmony export */
1379
- __nested_webpack_require_61476__.d(__webpack_exports__, {
1386
+ __nested_webpack_require_61961__.d(__webpack_exports__, {
1380
1387
  /* harmony export */"default": function _default() {
1381
1388
  return __WEBPACK_DEFAULT_EXPORT__;
1382
1389
  }
1383
1390
  /* harmony export */
1384
1391
  });
1385
1392
  /* harmony import */
1386
- var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_61476__(787);
1393
+ var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_61961__(787);
1387
1394
  /* harmony import */
1388
- var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_61476__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1395
+ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_61961__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1389
1396
  /* harmony import */
1390
- var funda_root_portal__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_61476__(909);
1397
+ var funda_root_portal__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_61961__(909);
1391
1398
  /* harmony import */
1392
- var funda_root_portal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_root_portal__WEBPACK_IMPORTED_MODULE_1__);
1399
+ var funda_root_portal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_root_portal__WEBPACK_IMPORTED_MODULE_1__);
1393
1400
  /* harmony import */
1394
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_61476__(85);
1401
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_61961__(85);
1395
1402
  /* harmony import */
1396
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__);
1403
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2__);
1397
1404
  /* harmony import */
1398
- var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_61476__(771);
1405
+ var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_61961__(771);
1399
1406
  /* harmony import */
1400
- var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__);
1407
+ var funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_useDraggable__WEBPACK_IMPORTED_MODULE_3__);
1401
1408
  /* harmony import */
1402
- var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_61476__(70);
1409
+ var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_61961__(70);
1403
1410
  /* harmony import */
1404
- var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_61476__.n(funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__);
1411
+ var funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_61961__.n(funda_utils_dist_cjs_bodyScrollLock__WEBPACK_IMPORTED_MODULE_4__);
1405
1412
  function _slicedToArray(arr, i) {
1406
1413
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
1407
1414
  }
@@ -1995,7 +2002,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1995
2002
  var RootPortal = function RootPortal(props) {
1996
2003
  var containerClassName = props.containerClassName,
1997
2004
  show = props.show,
1998
- children = props.children;
2005
+ children = props.children,
2006
+ _props$usePortal = props.usePortal,
2007
+ usePortal = _props$usePortal === void 0 ? true : _props$usePortal;
1999
2008
  var containerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
2000
2009
 
2001
2010
  // Move HTML templates to tag end body </body>
@@ -2006,15 +2015,20 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2006
2015
  // Use `containerRef.current` to ensure the correctness of the nextjs framework. It may report an error document as undefined
2007
2016
 
2008
2017
  (0, react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
2009
- containerRef.current = document.createElement('div');
2010
- containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
2011
- document.body.appendChild(containerRef.current);
2018
+ if (usePortal) {
2019
+ containerRef.current = document.createElement('div');
2020
+ containerRef.current.className = "root-portal-container ".concat(containerClassName || '');
2021
+ document.body.appendChild(containerRef.current);
2022
+ }
2012
2023
  return function () {
2013
- if (containerRef.current) {
2024
+ if (usePortal && containerRef.current) {
2014
2025
  containerRef.current.remove();
2015
2026
  }
2016
2027
  };
2017
- }, []);
2028
+ }, [usePortal]);
2029
+ if (!usePortal) {
2030
+ return show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, children) : null;
2031
+ }
2018
2032
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react__WEBPACK_IMPORTED_MODULE_0___default().Fragment, null, containerRef.current && show && /*#__PURE__*/(0, react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(children, containerRef.current));
2019
2033
  };
2020
2034
  /* harmony default export */
@@ -19,6 +19,7 @@ export declare type LiveSearchProps = {
19
19
  appearance?: string;
20
20
  isSearchInput?: boolean;
21
21
  allowSpacingRetrive?: boolean;
22
+ loader?: React.ReactNode;
22
23
  value?: string;
23
24
  label?: React.ReactNode | string;
24
25
  name?: string;