arengibook 2.4.606 → 2.4.607
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 +8 -21
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36067,8 +36067,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
36067
36067
|
case 2:
|
|
36068
36068
|
result = _context.v;
|
|
36069
36069
|
setLoadedOptions(Array.isArray(result.options) ? result.options : []);
|
|
36070
|
-
console.log(loadedOptions);
|
|
36071
|
-
console.log(loadedOptions.length);
|
|
36072
36070
|
_context.n = 4;
|
|
36073
36071
|
break;
|
|
36074
36072
|
case 3:
|
|
@@ -36215,7 +36213,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
36215
36213
|
return _regenerator().w(function (_context2) {
|
|
36216
36214
|
while (1) switch (_context2.n) {
|
|
36217
36215
|
case 0:
|
|
36218
|
-
console.log('onLazyLoad appelé avec :', event);
|
|
36219
36216
|
if (!(!isOptionLoadFunction || loading)) {
|
|
36220
36217
|
_context2.n = 1;
|
|
36221
36218
|
break;
|
|
@@ -36358,24 +36355,14 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
36358
36355
|
optionGroupLabel: 'label',
|
|
36359
36356
|
optionGroupChildren: 'items'
|
|
36360
36357
|
}, (isSelectMeta || isOptionLoadFunction) && {
|
|
36361
|
-
|
|
36362
|
-
|
|
36363
|
-
|
|
36364
|
-
|
|
36365
|
-
|
|
36366
|
-
|
|
36367
|
-
|
|
36368
|
-
}
|
|
36369
|
-
|
|
36370
|
-
/* virtualScrollerOptions: {
|
|
36371
|
-
lazy: true,
|
|
36372
|
-
onLazyLoad: onLazyLoad,
|
|
36373
|
-
itemSize: 0,
|
|
36374
|
-
showLoader: true,
|
|
36375
|
-
loading: false,
|
|
36376
|
-
delay: 0,
|
|
36377
|
-
totalrecords: 0,
|
|
36378
|
-
}, */
|
|
36358
|
+
virtualScrollerOptions: {
|
|
36359
|
+
showLoader: true,
|
|
36360
|
+
onLazyLoad: onLazyLoad,
|
|
36361
|
+
itemSize: 38,
|
|
36362
|
+
totalrecords: loadedOptions.length + 50,
|
|
36363
|
+
loading: loading,
|
|
36364
|
+
lazy: true
|
|
36365
|
+
}
|
|
36379
36366
|
})), name && /*#__PURE__*/React__default.createElement("input", {
|
|
36380
36367
|
type: "hidden",
|
|
36381
36368
|
name: name,
|