@steedos-widgets/sortable 3.6.2-beta.3 → 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.3/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.3/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.3/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.3/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.2-beta.3/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,
@@ -58332,7 +58335,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58332
58335
  if (no_pagination && is_lookup) {
58333
58336
  return commonConfig;
58334
58337
  } else {
58335
- return ["switch-per-page", ...commonConfig];
58338
+ return [{
58339
+ "type": "switch-per-page",
58340
+ "visibleOn": "${count >= 20}"
58341
+ }, ...commonConfig];
58336
58342
  }
58337
58343
  }
58338
58344
  }