@weni/unnnic-system 1.24.19 → 1.24.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "1.24.19",
3
+ "version": "1.24.21",
4
4
  "main": "./dist/unnnic.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -33,7 +33,7 @@
33
33
  :target="row.link.target || '_blank'"
34
34
  >
35
35
  <TableBodyCell
36
- v-for="(cell, index) of row.content"
36
+ v-for="cell of row.content"
37
37
  :key="cell + index"
38
38
  class="unnnic-table-next__body-cell"
39
39
  :cell="cell"
@@ -41,7 +41,7 @@
41
41
  </a>
42
42
  <template v-else>
43
43
  <TableBodyCell
44
- v-for="(cell, index) of row.content"
44
+ v-for="cell of row.content"
45
45
  :key="cell + index"
46
46
  class="unnnic-table-next__body-cell"
47
47
  :cell="cell"
@@ -61,7 +61,7 @@
61
61
  :value="pagination"
62
62
  @input="$emit('update:pagination', $event)"
63
63
  :total="treatedPaginationTotal"
64
- :interval="rows.length"
64
+ :interval="paginationInterval"
65
65
  />
66
66
  </table>
67
67
  </template>
@@ -123,6 +123,10 @@ export default {
123
123
  type: Number,
124
124
  default: 1,
125
125
  },
126
+ paginationInterval: {
127
+ type: Number,
128
+ default: 1,
129
+ },
126
130
  isLoading: {
127
131
  type: Boolean,
128
132
  default: false,
@@ -19,6 +19,7 @@ const Template = (args, { argTypes }) => ({
19
19
  :rows="$props.rows || table.rows"
20
20
  :pagination.sync="pagination"
21
21
  :paginationTotal="125"
22
+ :paginationInterval="5"
22
23
  />
23
24
  `,
24
25