@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.
- package/fesm2022/acorex-components-data-pager.mjs +7 -6
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +2 -2
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +26 -19
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +2 -2
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +65 -8
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +2 -2
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/media-viewer/index.d.ts +5 -2
- package/package.json +15 -15
- package/tree-view/index.d.ts +20 -1
|
@@ -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.
|
|
83
|
-
.replace('[to]', info.range.to.
|
|
84
|
-
.replace('[totalItems]', info.totalItems.
|
|
85
|
-
.replace('[page]', info.page.
|
|
86
|
-
.replace('[totalPages]', info.totalPages.
|
|
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.
|
|
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
|
/**
|