una-nuxt-module 2.1.36 → 2.1.37

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.
@@ -7,7 +7,7 @@ export const usePagination = (params) => {
7
7
  const { page, itemsPerPage, totalPages, totalElements } = params;
8
8
  const pagination = computed(() => {
9
9
  return {
10
- page: page.value - 1,
10
+ page: page.value,
11
11
  size: itemsPerPage.value
12
12
  };
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "2.1.36",
3
+ "version": "2.1.37",
4
4
  "description": "Módulo Nuxt para desarrollo CGI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,6 +42,21 @@
42
42
  ".nuxt/templates.css",
43
43
  "dist"
44
44
  ],
45
+ "scripts": {
46
+ "prepack": "nuxt-module-build build",
47
+ "dev": "npm run dev:prepare && nuxi dev playground",
48
+ "dev:https": "npm run dev:prepare && cd playground && npm run dev:https",
49
+ "dev:build": "nuxi build playground",
50
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
51
+ "release:major": "npm run test && npm run prepack && changelogen --release --major && npm publish && git push --follow-tags",
52
+ "release:minor": "npm run test && npm run prepack && changelogen --release --minor && npm publish && git push --follow-tags",
53
+ "release:patch": "npm run test && npm run prepack && changelogen --release --patch && npm publish && git push --follow-tags",
54
+ "lint": "eslint .",
55
+ "lint:fix": "eslint . --fix",
56
+ "test": "vitest run",
57
+ "test:watch": "vitest watch",
58
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
59
+ },
45
60
  "dependencies": {
46
61
  "@asgardeo/auth-spa": "3.3.2",
47
62
  "@nuxt/fonts": "0.11.4",
@@ -96,19 +111,5 @@
96
111
  "bugs": {
97
112
  "url": "https://github.com/una-cgi/una-nuxt-module/issues"
98
113
  },
99
- "homepage": "https://github.com/una-cgi/una-nuxt-module#readme",
100
- "scripts": {
101
- "dev": "npm run dev:prepare && nuxi dev playground",
102
- "dev:https": "npm run dev:prepare && cd playground && npm run dev:https",
103
- "dev:build": "nuxi build playground",
104
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
105
- "release:major": "npm run test && npm run prepack && changelogen --release --major && npm publish && git push --follow-tags",
106
- "release:minor": "npm run test && npm run prepack && changelogen --release --minor && npm publish && git push --follow-tags",
107
- "release:patch": "npm run test && npm run prepack && changelogen --release --patch && npm publish && git push --follow-tags",
108
- "lint": "eslint .",
109
- "lint:fix": "eslint . --fix",
110
- "test": "vitest run",
111
- "test:watch": "vitest watch",
112
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
113
- }
114
- }
114
+ "homepage": "https://github.com/una-cgi/una-nuxt-module#readme"
115
+ }