@acorex/components 21.0.0-next.47 → 21.0.0-next.49

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.
@@ -79,11 +79,11 @@ class AXDataPagerInfoComponent extends AXDataPagerChild {
79
79
  const info = this._parent.displayInfo;
80
80
  if ([info.range, info.range.from, info.totalItems].every((c) => c != undefined)) {
81
81
  this._textFormatted = (await this.translateService.translateAsync(this.text ?? '@acorex:datapager.info.text'))
82
- .replace('[from]', info.range.from.toString())
83
- .replace('[to]', info.range.to.toString())
84
- .replace('[totalItems]', info.totalItems.toString())
85
- .replace('[page]', info.page.toString())
86
- .replace('[totalPages]', info.totalPages.toString());
82
+ .replace('[from]', info.range.from.toLocaleString())
83
+ .replace('[to]', info.range.to.toLocaleString())
84
+ .replace('[totalItems]', info.totalItems.toLocaleString())
85
+ .replace('[page]', info.page.toLocaleString())
86
+ .replace('[totalPages]', info.totalPages.toLocaleString());
87
87
  this.cdr.markForCheck();
88
88
  }
89
89
  }
@@ -364,7 +364,7 @@ class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
364
364
  // Add page number buttons
365
365
  for (let i = start; i <= end; i++) {
366
366
  this._items.push({
367
- text: i.toString(),
367
+ text: i.toLocaleString(),
368
368
  data: i,
369
369
  });
370
370
  }
@@ -375,6 +375,7 @@ class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
375
375
  data: end + 1,
376
376
  });
377
377
  }
378
+ console.log(this._items);
378
379
  this.cdr.detectChanges();
379
380
  }
380
381
  /**