@mozaic-ds/vue 0.42.0-beta.2 → 0.42.0-beta.4

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": "@mozaic-ds/vue",
3
- "version": "0.42.0-beta.2",
3
+ "version": "0.42.0-beta.4",
4
4
  "description": "Vue.js implementation of Mozaic Design System",
5
5
  "author": "Adeo - Mozaic Design System",
6
6
  "scripts": {
@@ -207,9 +207,9 @@ function buildOptions(
207
207
  pagerValue,
208
208
  pagingIndex,
209
209
  pagingSize,
210
- sortedColmuns
210
+ sortedColumns
211
211
  ) {
212
- const columnSorters = sortedColmuns.reduce(
212
+ const columnSorters = sortedColumns.reduce(
213
213
  (acc, header) => ({
214
214
  ...acc,
215
215
  [header.sortFieldExpr ?? header.dataFieldExpr]: header.sortOrder,
@@ -237,6 +237,7 @@ const Pager = {
237
237
 
238
238
  const Paging = {
239
239
  defaultOptions: {
240
+ totalPage: null,
240
241
  enabled: false,
241
242
  text: 'sur',
242
243
  index: 1,
@@ -577,6 +578,7 @@ export default {
577
578
  try {
578
579
  const options = buildOptions(
579
580
  this.pagingOptions.enabled,
581
+ this.pagingOptions.totalPage,
580
582
  this.getPageValue,
581
583
  this.getPagingIndex,
582
584
  this.getPagingSize,