@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.
package/dist/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/sortable",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.2/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.2/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.4/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.4/dist/sortable.umd.css"
8
8
  ],
9
9
  "library": "BuilderSortable"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/sortable"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.2/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.4/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.2/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.2/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.4/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.4/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -58288,7 +58288,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58288
58288
  // ]
58289
58289
  if(options.displayAs === 'split'){
58290
58290
  return [
58291
- "switch-per-page",
58291
+ {
58292
+ "type": "switch-per-page",
58293
+ "visibleOn": "${count >= 20}"
58294
+ },
58292
58295
  {
58293
58296
  "type": "pagination",
58294
58297
  "maxButtons": 5,
@@ -58310,7 +58313,6 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58310
58313
  else {
58311
58314
  if(options && options.isRelated){
58312
58315
  return [
58313
- "statistics",
58314
58316
  {
58315
58317
  "type": "pagination",
58316
58318
  "maxButtons": 10,
@@ -58323,7 +58325,6 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58323
58325
  const no_pagination = mainObject.paging && (mainObject.paging.enabled === false);
58324
58326
  const is_lookup = options.isLookup;
58325
58327
  const commonConfig = [
58326
- "statistics",
58327
58328
  {
58328
58329
  "type": "pagination",
58329
58330
  "maxButtons": 10,
@@ -58334,7 +58335,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58334
58335
  if (no_pagination && is_lookup) {
58335
58336
  return commonConfig;
58336
58337
  } else {
58337
- return ["switch-per-page", ...commonConfig];
58338
+ return [{
58339
+ "type": "switch-per-page",
58340
+ "visibleOn": "${count >= 20}"
58341
+ }, ...commonConfig];
58338
58342
  }
58339
58343
  }
58340
58344
  }