erp-blocks 1.0.3 → 1.0.5

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": "erp-blocks",
3
3
  "configKey": "erp",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1 +1 @@
1
- @import "tailwindcss";@import "@nuxt/ui";@source "../../runtime/";@theme{--color-scn-secondary:#f5f5f5;--color-scn-sidebar:240 5.9% 10%;--color-scn-sidebar-border:#e5e5e5;--animate-collapsible-right:collapsible-right 200ms ease-out;--animate-collapsible-left:collapsible-left 200ms ease-in-out;@keyframes collapsible-right{0%{opacity:0;width:0}to{opacity:1;width:100%}}@keyframes collapsible-left{0%{opacity:1;width:100%}to{opacity:0;width:0}}}@variant dark{--color-scn-secondary:oklch(12.9% 0 0)}
1
+ @import "tailwindcss";@import "@nuxt/ui";@source "../../../runtime/";@theme{--color-scn-secondary:#f5f5f5;--color-scn-sidebar:240 5.9% 10%;--color-scn-sidebar-border:#e5e5e5;--animate-collapsible-right:collapsible-right 200ms ease-out;--animate-collapsible-left:collapsible-left 200ms ease-in-out;@keyframes collapsible-right{0%{opacity:0;width:0}to{opacity:1;width:100%}}@keyframes collapsible-left{0%{opacity:1;width:100%}to{opacity:0;width:0}}}@variant dark{--color-scn-secondary:oklch(12.9% 0 0)}
@@ -18,8 +18,11 @@ const page = defineModel("page", { type: Number });
18
18
  class="flex-1 border border-default rounded-lg grow"
19
19
  />
20
20
  <div class="flex items-center justify-between">
21
- <span class="text-base text-dimmed">
22
- {{ data?.length ?? 0 }} of {{ totalRows ?? 0 }} rows
21
+ <span
22
+ v-if="data && totalRows"
23
+ class="text-base text-dimmed"
24
+ >
25
+ {{ data.length }} of {{ totalRows }} rows
23
26
  </span>
24
27
  <UPagination
25
28
  v-model:page="page"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erp-blocks",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Ready-to-use UI layouts and components designed as ERP system elements ",
5
5
  "repository": {
6
6
  "type": "git",