@steedos-widgets/sortable 3.6.2-beta.2 → 3.6.2-beta.4

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.
@@ -58284,7 +58284,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58284
58284
  // ]
58285
58285
  if(options.displayAs === 'split'){
58286
58286
  return [
58287
- "switch-per-page",
58287
+ {
58288
+ "type": "switch-per-page",
58289
+ "visibleOn": "${count >= 20}"
58290
+ },
58288
58291
  {
58289
58292
  "type": "pagination",
58290
58293
  "maxButtons": 5,
@@ -58306,7 +58309,6 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58306
58309
  else {
58307
58310
  if(options && options.isRelated){
58308
58311
  return [
58309
- "statistics",
58310
58312
  {
58311
58313
  "type": "pagination",
58312
58314
  "maxButtons": 10,
@@ -58319,7 +58321,6 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58319
58321
  const no_pagination = mainObject.paging && (mainObject.paging.enabled === false);
58320
58322
  const is_lookup = options.isLookup;
58321
58323
  const commonConfig = [
58322
- "statistics",
58323
58324
  {
58324
58325
  "type": "pagination",
58325
58326
  "maxButtons": 10,
@@ -58330,7 +58331,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58330
58331
  if (no_pagination && is_lookup) {
58331
58332
  return commonConfig;
58332
58333
  } else {
58333
- return ["switch-per-page", ...commonConfig];
58334
+ return [{
58335
+ "type": "switch-per-page",
58336
+ "visibleOn": "${count >= 20}"
58337
+ }, ...commonConfig];
58334
58338
  }
58335
58339
  }
58336
58340
  }