quasar-ui-sellmate-ui-kit 3.2.13 → 3.2.15

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": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.2.13",
3
+ "version": "3.2.15",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -129,14 +129,14 @@
129
129
  paginationInfo.value.startPage = 1;
130
130
  paginationInfo.value.currentPage = 1;
131
131
  } else if (val === 'goLeft') {
132
- const newPage = Math.max(1, paginationInfo.value.currentPage - 1);
132
+ const newPage = Math.max(1, paginationInfo.value.currentPage - props.perPage);
133
133
  paginationInfo.value.currentPage = newPage;
134
134
  if (newPage < paginationInfo.value.startPage) {
135
135
  paginationInfo.value.startPage = Math.max(1, newPage - props.perPage + 1);
136
136
  }
137
137
  } else if (val === 'goRight') {
138
138
  const newPage = Math.min(
139
- paginationInfo.value.currentPage + 1,
139
+ paginationInfo.value.currentPage + props.perPage,
140
140
  paginationInfo.value.lastPage,
141
141
  );
142
142
  paginationInfo.value.currentPage = newPage;
@@ -217,6 +217,8 @@
217
217
  display: flex;
218
218
  justify-content: center;
219
219
  align-items: center;
220
+ min-height: 58px;
221
+
220
222
  .q-btn {
221
223
  min-height: $pagination-size;
222
224
  height: $pagination-size;
@@ -104,7 +104,7 @@
104
104
  v-if="paginationModel.rowsPerPage !== 0 && ((!hideBottom && pagesNumber > 1) || showBottom)"
105
105
  v-model="paginationModel.page"
106
106
  :lastPage="pagesNumber"
107
- class="q-mt-md"
107
+ class="bg-Grey_Lighten-6 s-border-radius-sm s-border-top-none s-border-Grey_Lighten-3"
108
108
  @update:modelValue="updatePagination"
109
109
  />
110
110
  </template>