@katlux/preset-modern 0.1.1-alpha.102 → 0.1.1-alpha.104

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@katlux/preset-modern",
3
3
  "configKey": "katluxTemplateModern",
4
- "version": "0.1.1-alpha.102",
4
+ "version": "0.1.1-alpha.104",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -291,7 +291,10 @@ const datatableItems = computed(() => {
291
291
  const currentRows = pageRows.value;
292
292
  const dp = props.dataProvider;
293
293
  if (props.virtualScroll) {
294
- if (Array.isArray(virtualRows?.value)) return virtualRows.value;
294
+ if (dp?.isEncryptionEnabled && (dp?.pageSize > 0 || isRef(dp?.pageSize) && dp.pageSize.value > 0)) {
295
+ return currentRows;
296
+ }
297
+ if (Array.isArray(virtualRows?.value) && virtualRows.value.length > 0) return virtualRows.value;
295
298
  if (Array.isArray(dp?.rowMap)) return dp.rowMap;
296
299
  if (Array.isArray(dp?.rowMap?.value)) return dp.rowMap.value;
297
300
  if (Array.isArray(dp?.allVisibleRows)) return dp.allVisibleRows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/preset-modern",
3
- "version": "0.1.1-alpha.102",
3
+ "version": "0.1.1-alpha.104",
4
4
  "description": "Modern default design preset and styling variables for Katlux components",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",
@@ -25,7 +25,7 @@
25
25
  "**/*.sass"
26
26
  ],
27
27
  "dependencies": {
28
- "@katlux/toolkit": "^0.1.1-alpha.126",
28
+ "@katlux/toolkit": "^0.1.1-alpha.128",
29
29
  "@nuxt/kit": "^3.12.0"
30
30
  },
31
31
  "files": [