@rxap/ngx-material-localize 16.0.1-dev.0

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.
@@ -0,0 +1,68 @@
1
+ import { Injectable, } from '@angular/core';
2
+ import { MatDatepickerIntl } from '@angular/material/datepicker';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export class I18nMatDatepickerIntl {
6
+ constructor() {
7
+ /**
8
+ * Stream that emits whenever the labels here are changed. Use this to notify
9
+ * components if the labels have changed after initialization.
10
+ */
11
+ this.changes = new Subject();
12
+ /** A label for the calendar popup (used by screen readers). */
13
+ this.calendarLabel = $localize `:@@calendarLabelMatDatepicker:Calendar`;
14
+ /** A label for the button used to open the calendar popup (used by screen readers). */
15
+ this.openCalendarLabel = $localize `:@@openCalendarLabelMatDatepicker:Open calendar`;
16
+ /** Label for the button used to close the calendar popup. */
17
+ this.closeCalendarLabel = $localize `:@@closeCalendarLabelMatDatepicker:Close calendar`;
18
+ /** A label for the previous month button (used by screen readers). */
19
+ this.prevMonthLabel = $localize `:@@prevMonthLabelMatDatepicker:Previous month`;
20
+ /** A label for the next month button (used by screen readers). */
21
+ this.nextMonthLabel = $localize `:@@nextMonthLabelMatDatepicker:Next month`;
22
+ /** A label for the previous year button (used by screen readers). */
23
+ this.prevYearLabel = $localize `:@@prevYearLabelMatDatepicker:Previous year`;
24
+ /** A label for the next year button (used by screen readers). */
25
+ this.nextYearLabel = $localize `:@@nextYearLabelMatDatepicker:Next year`;
26
+ /** A label for the previous multi-year button (used by screen readers). */
27
+ this.prevMultiYearLabel = $localize `:@@prevMultiYearLabelMatDatepicker:Previous 24 years`;
28
+ /** A label for the next multi-year button (used by screen readers). */
29
+ this.nextMultiYearLabel = $localize `:@@nextMultiYearLabelMatDatepicker:Next 24 years`;
30
+ /** A label for the 'switch to month view' button (used by screen readers). */
31
+ this.switchToMonthViewLabel = $localize `:@@switchToMonthViewLabelMatDatepicker:Choose date`;
32
+ /** A label for the 'switch to year view' button (used by screen readers). */
33
+ this.switchToMultiYearViewLabel = $localize `:@@switchToMultiYearViewLabelMatDatepicker:Choose month and year`;
34
+ /**
35
+ * A label for the first date of a range of dates (used by screen readers).
36
+ * @deprecated Provide your own internationalization string.
37
+ * @breaking-change 17.0.0
38
+ */
39
+ this.startDateLabel = $localize `:@@startDateLabelMatDatepicker:Start date`;
40
+ /**
41
+ * A label for the last date of a range of dates (used by screen readers).
42
+ * @deprecated Provide your own internationalization string.
43
+ * @breaking-change 17.0.0
44
+ */
45
+ this.endDateLabel = $localize `:@@endDateLabelMatDatepicker:End date`;
46
+ }
47
+ /** Formats a range of years (used for visuals). */
48
+ formatYearRange(start, end) {
49
+ return $localize `:@@formatYearRangeMatDatepicker:${start} \u2013 ${end}`;
50
+ }
51
+ /** Formats a label for a range of years (used by screen readers). */
52
+ formatYearRangeLabel(start, end) {
53
+ return $localize `:@@formatYearRangeLabelMatDatepicker:${start} to ${end}`;
54
+ }
55
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
56
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl }); }
57
+ }
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl, decorators: [{
59
+ type: Injectable
60
+ }] });
61
+ export const I18N_MAT_DATEPICKER_INTL_PROVIDER = {
62
+ provide: MatDatepickerIntl,
63
+ useClass: I18nMatDatepickerIntl,
64
+ };
65
+ export function ProvideI18nMatDatepickerIntl() {
66
+ return I18N_MAT_DATEPICKER_INTL_PROVIDER;
67
+ }
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5qcyIsInN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uXG5leHBvcnQgY29uc3QgSTE4Tl9NQVRfREFURVBJQ0tFUl9JTlRMX1BST1ZJREVSOiBTdGF0aWNQcm92aWRlciA9IHtcbiAgcHJvdmlkZTogTWF0RGF0ZXBpY2tlckludGwsXG4gIHVzZUNsYXNzOiBJMThuTWF0RGF0ZXBpY2tlckludGwsXG59O1xuXG5leHBvcnQgZnVuY3Rpb24gUHJvdmlkZUkxOG5NYXREYXRlcGlja2VySW50bCgpIHtcbiAgcmV0dXJuIEkxOE5fTUFUX0RBVEVQSUNLRVJfSU5UTF9QUk9WSURFUjtcbn1cbiJdfQ==
@@ -0,0 +1,43 @@
1
+ import { Injectable, } from '@angular/core';
2
+ import { MatPaginatorIntl } from '@angular/material/paginator';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export class I18nMatPaginatorIntl {
6
+ constructor() {
7
+ this.changes = new Subject();
8
+ /** A label for the page size selector. */
9
+ this.itemsPerPageLabel = $localize `:@@itemsPerPageLabelMatPaginator:Items per page`;
10
+ /** A label for the button that increments the current page. */
11
+ this.nextPageLabel = $localize `:@@nextPageLabelMatPaginator:Next page`;
12
+ /** A label for the button that decrements the current page. */
13
+ this.previousPageLabel = $localize `:@@previousPageLabelMatPaginator:Previous page`;
14
+ /** A label for the button that moves to the first page. */
15
+ this.firstPageLabel = $localize `:@@firstPageLabelMatPaginator:First page`;
16
+ /** A label for the button that moves to the last page. */
17
+ this.lastPageLabel = $localize `:@@lastPageLabelMatPaginator:Last page`;
18
+ /** A label for the range of items within the current page and the length of the whole list. */
19
+ this.getRangeLabel = (page, pageSize, length) => {
20
+ if (length == 0 || pageSize == 0) {
21
+ return $localize `:@@emptyPageRangeLabelMatPaginator:0 of ${length}`;
22
+ }
23
+ length = Math.max(length, 0);
24
+ const startIndex = page * pageSize;
25
+ // If the start index exceeds the list length, do not try and fix the end index to the end.
26
+ const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
27
+ return $localize `:@@pageRangeLabelMatPaginator:${startIndex + 1} – ${endIndex} of ${length}`;
28
+ };
29
+ }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl, decorators: [{
34
+ type: Injectable
35
+ }] });
36
+ export const I18N_MAT_PAGINATOR_INTL_PROVIDER = {
37
+ provide: MatPaginatorIntl,
38
+ useClass: I18nMatPaginatorIntl,
39
+ };
40
+ export function ProvideI18nMatPaginatorIntl() {
41
+ return I18N_MAT_PAGINATOR_INTL_PROVIDER;
42
+ }
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9tYXRlcmlhbC9sb2NhbGl6ZS9zcmMvbGliL3BhZ2luYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsVUFBVSxHQUVYLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSy9CLE1BQU0sT0FBTyxvQkFBb0I7SUFEakM7UUFHRSxZQUFPLEdBQUcsSUFBSSxPQUFPLEVBQVEsQ0FBQztRQUU5QiwwQ0FBMEM7UUFDMUMsc0JBQWlCLEdBQVcsU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YWdlUmFuZ2VMYWJlbE1hdFBhZ2luYXRvcjowIG9mICR7IGxlbmd0aCB9YDtcbiAgICB9XG5cbiAgICBsZW5ndGggPSBNYXRoLm1heChsZW5ndGgsIDApO1xuXG4gICAgY29uc3Qgc3RhcnRJbmRleCA9IHBhZ2UgKiBwYWdlU2l6ZTtcblxuICAgIC8vIElmIHRoZSBzdGFydCBpbmRleCBleGNlZWRzIHRoZSBsaXN0IGxlbmd0aCwgZG8gbm90IHRyeSBhbmQgZml4IHRoZSBlbmQgaW5kZXggdG8gdGhlIGVuZC5cbiAgICBjb25zdCBlbmRJbmRleCA9XG4gICAgICBzdGFydEluZGV4IDwgbGVuZ3RoID8gTWF0aC5taW4oc3RhcnRJbmRleCArIHBhZ2VTaXplLCBsZW5ndGgpIDogc3RhcnRJbmRleCArIHBhZ2VTaXplO1xuXG4gICAgcmV0dXJuICRsb2NhbGl6ZWA6QEBwYWdlUmFuZ2VMYWJlbE1hdFBhZ2luYXRvcjokeyBzdGFydEluZGV4ICsgMSB9IOKAkyAkeyBlbmRJbmRleCB9IG9mICR7IGxlbmd0aCB9YDtcbiAgfTtcblxufVxuXG5leHBvcnQgY29uc3QgSTE4Tl9NQVRfUEFHSU5BVE9SX0lOVExfUFJPVklERVI6IFN0YXRpY1Byb3ZpZGVyID0ge1xuICBwcm92aWRlOiBNYXRQYWdpbmF0b3JJbnRsLFxuICB1c2VDbGFzczogSTE4bk1hdFBhZ2luYXRvckludGwsXG59O1xuXG5leHBvcnQgZnVuY3Rpb24gUHJvdmlkZUkxOG5NYXRQYWdpbmF0b3JJbnRsKCkge1xuICByZXR1cm4gSTE4Tl9NQVRfUEFHSU5BVE9SX0lOVExfUFJPVklERVI7XG59XG4iXX0=
@@ -0,0 +1,11 @@
1
+ import { I18N_MAT_DATEPICKER_INTL_PROVIDER } from './datepicker';
2
+ import { I18N_MAT_PAGINATOR_INTL_PROVIDER } from './paginator';
3
+ import { I18N_MAT_STEPPER_INTL_PROVIDER } from './stepper';
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RFUElDS0VSX0lOVExfUFJPVklERVIsXG4gICAgSTE4Tl9NQVRfUEFHSU5BVE9SX0lOVExfUFJPVklERVIsXG4gICAgSTE4Tl9NQVRfU1RFUFBFUl9JTlRMX1BST1ZJREVSLFxuICBdO1xufVxuIl19
@@ -0,0 +1,32 @@
1
+ import { Injectable, } from '@angular/core';
2
+ import { MatStepperIntl } from '@angular/material/stepper';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export class I18nMatStepperIntl {
6
+ constructor() {
7
+ /**
8
+ * Stream that emits whenever the labels here are changed. Use this to notify
9
+ * components if the labels have changed after initialization.
10
+ */
11
+ this.changes = new Subject();
12
+ /** Label that is rendered below optional steps. */
13
+ this.optionalLabel = $localize `:@@optionalLabelMatStepper:Optional`;
14
+ /** Label that is used to indicate step as completed to screen readers. */
15
+ this.completedLabel = $localize `:@@completedLabelMatStepper:Completed`;
16
+ /** Label that is used to indicate step as editable to screen readers. */
17
+ this.editableLabel = $localize `:@@editableLabelMatStepper:Editable`;
18
+ }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl }); }
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl, decorators: [{
23
+ type: Injectable
24
+ }] });
25
+ export const I18N_MAT_STEPPER_INTL_PROVIDER = {
26
+ provide: MatStepperIntl,
27
+ useClass: I18nMatStepperIntl,
28
+ };
29
+ export function ProvideI18nMatStepperIntl() {
30
+ return I18N_MAT_STEPPER_INTL_PROVIDER;
31
+ }
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci5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sZUxhYmVsOiBzdHJpbmcgPSAkbG9jYWxpemVgOkBAZWRpdGFibGVMYWJlbE1hdFN0ZXBwZXI6RWRpdGFibGVgO1xufVxuXG5leHBvcnQgY29uc3QgSTE4Tl9NQVRfU1RFUFBFUl9JTlRMX1BST1ZJREVSOiBTdGF0aWNQcm92aWRlciA9IHtcbiAgcHJvdmlkZTogTWF0U3RlcHBlckludGwsXG4gIHVzZUNsYXNzOiBJMThuTWF0U3RlcHBlckludGwsXG59O1xuXG5leHBvcnQgZnVuY3Rpb24gUHJvdmlkZUkxOG5NYXRTdGVwcGVySW50bCgpIHtcbiAgcmV0dXJuIEkxOE5fTUFUX1NURVBQRVJfSU5UTF9QUk9WSURFUjtcbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnhhcC1uZ3gtbWF0ZXJpYWwtbG9jYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL21hdGVyaWFsL2xvY2FsaXplL3NyYy9yeGFwLW5neC1tYXRlcmlhbC1sb2NhbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,155 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
+ import { MatDatepickerIntl } from '@angular/material/datepicker';
4
+ import { Subject } from 'rxjs';
5
+ import { MatPaginatorIntl } from '@angular/material/paginator';
6
+ import { MatStepperIntl } from '@angular/material/stepper';
7
+
8
+ class I18nMatDatepickerIntl {
9
+ constructor() {
10
+ /**
11
+ * Stream that emits whenever the labels here are changed. Use this to notify
12
+ * components if the labels have changed after initialization.
13
+ */
14
+ this.changes = new Subject();
15
+ /** A label for the calendar popup (used by screen readers). */
16
+ this.calendarLabel = $localize `:@@calendarLabelMatDatepicker:Calendar`;
17
+ /** A label for the button used to open the calendar popup (used by screen readers). */
18
+ this.openCalendarLabel = $localize `:@@openCalendarLabelMatDatepicker:Open calendar`;
19
+ /** Label for the button used to close the calendar popup. */
20
+ this.closeCalendarLabel = $localize `:@@closeCalendarLabelMatDatepicker:Close calendar`;
21
+ /** A label for the previous month button (used by screen readers). */
22
+ this.prevMonthLabel = $localize `:@@prevMonthLabelMatDatepicker:Previous month`;
23
+ /** A label for the next month button (used by screen readers). */
24
+ this.nextMonthLabel = $localize `:@@nextMonthLabelMatDatepicker:Next month`;
25
+ /** A label for the previous year button (used by screen readers). */
26
+ this.prevYearLabel = $localize `:@@prevYearLabelMatDatepicker:Previous year`;
27
+ /** A label for the next year button (used by screen readers). */
28
+ this.nextYearLabel = $localize `:@@nextYearLabelMatDatepicker:Next year`;
29
+ /** A label for the previous multi-year button (used by screen readers). */
30
+ this.prevMultiYearLabel = $localize `:@@prevMultiYearLabelMatDatepicker:Previous 24 years`;
31
+ /** A label for the next multi-year button (used by screen readers). */
32
+ this.nextMultiYearLabel = $localize `:@@nextMultiYearLabelMatDatepicker:Next 24 years`;
33
+ /** A label for the 'switch to month view' button (used by screen readers). */
34
+ this.switchToMonthViewLabel = $localize `:@@switchToMonthViewLabelMatDatepicker:Choose date`;
35
+ /** A label for the 'switch to year view' button (used by screen readers). */
36
+ this.switchToMultiYearViewLabel = $localize `:@@switchToMultiYearViewLabelMatDatepicker:Choose month and year`;
37
+ /**
38
+ * A label for the first date of a range of dates (used by screen readers).
39
+ * @deprecated Provide your own internationalization string.
40
+ * @breaking-change 17.0.0
41
+ */
42
+ this.startDateLabel = $localize `:@@startDateLabelMatDatepicker:Start date`;
43
+ /**
44
+ * A label for the last date of a range of dates (used by screen readers).
45
+ * @deprecated Provide your own internationalization string.
46
+ * @breaking-change 17.0.0
47
+ */
48
+ this.endDateLabel = $localize `:@@endDateLabelMatDatepicker:End date`;
49
+ }
50
+ /** Formats a range of years (used for visuals). */
51
+ formatYearRange(start, end) {
52
+ return $localize `:@@formatYearRangeMatDatepicker:${start} \u2013 ${end}`;
53
+ }
54
+ /** Formats a label for a range of years (used by screen readers). */
55
+ formatYearRangeLabel(start, end) {
56
+ return $localize `:@@formatYearRangeLabelMatDatepicker:${start} to ${end}`;
57
+ }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
59
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl }); }
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatDatepickerIntl, decorators: [{
62
+ type: Injectable
63
+ }] });
64
+ const I18N_MAT_DATEPICKER_INTL_PROVIDER = {
65
+ provide: MatDatepickerIntl,
66
+ useClass: I18nMatDatepickerIntl,
67
+ };
68
+ function ProvideI18nMatDatepickerIntl() {
69
+ return I18N_MAT_DATEPICKER_INTL_PROVIDER;
70
+ }
71
+
72
+ class I18nMatPaginatorIntl {
73
+ constructor() {
74
+ this.changes = new Subject();
75
+ /** A label for the page size selector. */
76
+ this.itemsPerPageLabel = $localize `:@@itemsPerPageLabelMatPaginator:Items per page`;
77
+ /** A label for the button that increments the current page. */
78
+ this.nextPageLabel = $localize `:@@nextPageLabelMatPaginator:Next page`;
79
+ /** A label for the button that decrements the current page. */
80
+ this.previousPageLabel = $localize `:@@previousPageLabelMatPaginator:Previous page`;
81
+ /** A label for the button that moves to the first page. */
82
+ this.firstPageLabel = $localize `:@@firstPageLabelMatPaginator:First page`;
83
+ /** A label for the button that moves to the last page. */
84
+ this.lastPageLabel = $localize `:@@lastPageLabelMatPaginator:Last page`;
85
+ /** A label for the range of items within the current page and the length of the whole list. */
86
+ this.getRangeLabel = (page, pageSize, length) => {
87
+ if (length == 0 || pageSize == 0) {
88
+ return $localize `:@@emptyPageRangeLabelMatPaginator:0 of ${length}`;
89
+ }
90
+ length = Math.max(length, 0);
91
+ const startIndex = page * pageSize;
92
+ // If the start index exceeds the list length, do not try and fix the end index to the end.
93
+ const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
94
+ return $localize `:@@pageRangeLabelMatPaginator:${startIndex + 1} – ${endIndex} of ${length}`;
95
+ };
96
+ }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
98
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl }); }
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatPaginatorIntl, decorators: [{
101
+ type: Injectable
102
+ }] });
103
+ const I18N_MAT_PAGINATOR_INTL_PROVIDER = {
104
+ provide: MatPaginatorIntl,
105
+ useClass: I18nMatPaginatorIntl,
106
+ };
107
+ function ProvideI18nMatPaginatorIntl() {
108
+ return I18N_MAT_PAGINATOR_INTL_PROVIDER;
109
+ }
110
+
111
+ class I18nMatStepperIntl {
112
+ constructor() {
113
+ /**
114
+ * Stream that emits whenever the labels here are changed. Use this to notify
115
+ * components if the labels have changed after initialization.
116
+ */
117
+ this.changes = new Subject();
118
+ /** Label that is rendered below optional steps. */
119
+ this.optionalLabel = $localize `:@@optionalLabelMatStepper:Optional`;
120
+ /** Label that is used to indicate step as completed to screen readers. */
121
+ this.completedLabel = $localize `:@@completedLabelMatStepper:Completed`;
122
+ /** Label that is used to indicate step as editable to screen readers. */
123
+ this.editableLabel = $localize `:@@editableLabelMatStepper:Editable`;
124
+ }
125
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
126
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl }); }
127
+ }
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: I18nMatStepperIntl, decorators: [{
129
+ type: Injectable
130
+ }] });
131
+ const I18N_MAT_STEPPER_INTL_PROVIDER = {
132
+ provide: MatStepperIntl,
133
+ useClass: I18nMatStepperIntl,
134
+ };
135
+ function ProvideI18nMatStepperIntl() {
136
+ return I18N_MAT_STEPPER_INTL_PROVIDER;
137
+ }
138
+
139
+ function ProvideI18nMatIntl() {
140
+ return [
141
+ I18N_MAT_DATEPICKER_INTL_PROVIDER,
142
+ I18N_MAT_PAGINATOR_INTL_PROVIDER,
143
+ I18N_MAT_STEPPER_INTL_PROVIDER,
144
+ ];
145
+ }
146
+
147
+ // region
148
+ // endregion
149
+
150
+ /**
151
+ * Generated bundle index. Do not edit.
152
+ */
153
+
154
+ export { I18N_MAT_DATEPICKER_INTL_PROVIDER, I18N_MAT_PAGINATOR_INTL_PROVIDER, I18N_MAT_STEPPER_INTL_PROVIDER, I18nMatDatepickerIntl, I18nMatPaginatorIntl, I18nMatStepperIntl, ProvideI18nMatDatepickerIntl, ProvideI18nMatIntl, ProvideI18nMatPaginatorIntl, ProvideI18nMatStepperIntl };
155
+ //# sourceMappingURL=rxap-ngx-material-localize.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rxap-ngx-material-localize.mjs","sources":["../../../../../../packages/angular/material/localize/src/lib/datepicker.ts","../../../../../../packages/angular/material/localize/src/lib/paginator.ts","../../../../../../packages/angular/material/localize/src/lib/stepper.ts","../../../../../../packages/angular/material/localize/src/lib/provide.ts","../../../../../../packages/angular/material/localize/src/index.ts","../../../../../../packages/angular/material/localize/src/rxap-ngx-material-localize.ts"],"sourcesContent":["import {\n Injectable,\n StaticProvider,\n} from '@angular/core';\nimport { MatDatepickerIntl } from '@angular/material/datepicker';\nimport { Subject } from 'rxjs';\n\ndeclare let $localize: any;\n\n@Injectable()\nexport class I18nMatDatepickerIntl implements MatDatepickerIntl {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** A label for the calendar popup (used by screen readers). */\n calendarLabel: string = $localize`:@@calendarLabelMatDatepicker:Calendar`;\n\n /** A label for the button used to open the calendar popup (used by screen readers). */\n openCalendarLabel: string = $localize`:@@openCalendarLabelMatDatepicker:Open calendar`;\n\n /** Label for the button used to close the calendar popup. */\n closeCalendarLabel: string = $localize`:@@closeCalendarLabelMatDatepicker:Close calendar`;\n\n /** A label for the previous month button (used by screen readers). */\n prevMonthLabel: string = $localize`:@@prevMonthLabelMatDatepicker:Previous month`;\n\n /** A label for the next month button (used by screen readers). */\n nextMonthLabel: string = $localize`:@@nextMonthLabelMatDatepicker:Next month`;\n\n /** A label for the previous year button (used by screen readers). */\n prevYearLabel: string = $localize`:@@prevYearLabelMatDatepicker:Previous year`;\n\n /** A label for the next year button (used by screen readers). */\n nextYearLabel: string = $localize`:@@nextYearLabelMatDatepicker:Next year`;\n\n /** A label for the previous multi-year button (used by screen readers). */\n prevMultiYearLabel: string = $localize`:@@prevMultiYearLabelMatDatepicker:Previous 24 years`;\n\n /** A label for the next multi-year button (used by screen readers). */\n nextMultiYearLabel: string = $localize`:@@nextMultiYearLabelMatDatepicker:Next 24 years`;\n\n /** A label for the 'switch to month view' button (used by screen readers). */\n switchToMonthViewLabel: string = $localize`:@@switchToMonthViewLabelMatDatepicker:Choose date`;\n\n /** A label for the 'switch to year view' button (used by screen readers). */\n switchToMultiYearViewLabel: string = $localize`:@@switchToMultiYearViewLabelMatDatepicker:Choose month and year`;\n\n /**\n * A label for the first date of a range of dates (used by screen readers).\n * @deprecated Provide your own internationalization string.\n * @breaking-change 17.0.0\n */\n startDateLabel: string = $localize`:@@startDateLabelMatDatepicker:Start date`;\n\n /**\n * A label for the last date of a range of dates (used by screen readers).\n * @deprecated Provide your own internationalization string.\n * @breaking-change 17.0.0\n */\n endDateLabel: string = $localize`:@@endDateLabelMatDatepicker:End date`;\n\n /** Formats a range of years (used for visuals). */\n formatYearRange(start: string, end: string): string {\n return $localize`:@@formatYearRangeMatDatepicker:${ start } \\u2013 ${ end }`;\n }\n\n /** Formats a label for a range of years (used by screen readers). */\n formatYearRangeLabel(start: string, end: string): string {\n return $localize`:@@formatYearRangeLabelMatDatepicker:${ start } to ${ end }`;\n }\n}\n\nexport const I18N_MAT_DATEPICKER_INTL_PROVIDER: StaticProvider = {\n provide: MatDatepickerIntl,\n useClass: I18nMatDatepickerIntl,\n};\n\nexport function ProvideI18nMatDatepickerIntl() {\n return I18N_MAT_DATEPICKER_INTL_PROVIDER;\n}\n","import {\n Injectable,\n StaticProvider,\n} from '@angular/core';\nimport { MatPaginatorIntl } from '@angular/material/paginator';\nimport { Subject } from 'rxjs';\n\ndeclare let $localize: any;\n\n@Injectable()\nexport class I18nMatPaginatorIntl implements MatPaginatorIntl {\n\n changes = new Subject<void>();\n\n /** A label for the page size selector. */\n itemsPerPageLabel: string = $localize`:@@itemsPerPageLabelMatPaginator:Items per page`;\n\n /** A label for the button that increments the current page. */\n nextPageLabel: string = $localize`:@@nextPageLabelMatPaginator:Next page`;\n\n /** A label for the button that decrements the current page. */\n previousPageLabel: string = $localize`:@@previousPageLabelMatPaginator:Previous page`;\n\n /** A label for the button that moves to the first page. */\n firstPageLabel: string = $localize`:@@firstPageLabelMatPaginator:First page`;\n\n /** A label for the button that moves to the last page. */\n lastPageLabel: string = $localize`:@@lastPageLabelMatPaginator:Last page`;\n\n /** A label for the range of items within the current page and the length of the whole list. */\n getRangeLabel: (page: number, pageSize: number, length: number) => string = (\n page: number,\n pageSize: number,\n length: number,\n ) => {\n if (length == 0 || pageSize == 0) {\n return $localize`:@@emptyPageRangeLabelMatPaginator:0 of ${ length }`;\n }\n\n length = Math.max(length, 0);\n\n const startIndex = page * pageSize;\n\n // If the start index exceeds the list length, do not try and fix the end index to the end.\n const endIndex =\n startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;\n\n return $localize`:@@pageRangeLabelMatPaginator:${ startIndex + 1 } – ${ endIndex } of ${ length }`;\n };\n\n}\n\nexport const I18N_MAT_PAGINATOR_INTL_PROVIDER: StaticProvider = {\n provide: MatPaginatorIntl,\n useClass: I18nMatPaginatorIntl,\n};\n\nexport function ProvideI18nMatPaginatorIntl() {\n return I18N_MAT_PAGINATOR_INTL_PROVIDER;\n}\n","import {\n Injectable,\n StaticProvider,\n} from '@angular/core';\nimport { MatStepperIntl } from '@angular/material/stepper';\nimport { Subject } from 'rxjs';\n\ndeclare let $localize: any;\n\n@Injectable()\nexport class I18nMatStepperIntl implements MatStepperIntl {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** Label that is rendered below optional steps. */\n optionalLabel: string = $localize`:@@optionalLabelMatStepper:Optional`;\n\n /** Label that is used to indicate step as completed to screen readers. */\n completedLabel: string = $localize`:@@completedLabelMatStepper:Completed`;\n\n /** Label that is used to indicate step as editable to screen readers. */\n editableLabel: string = $localize`:@@editableLabelMatStepper:Editable`;\n}\n\nexport const I18N_MAT_STEPPER_INTL_PROVIDER: StaticProvider = {\n provide: MatStepperIntl,\n useClass: I18nMatStepperIntl,\n};\n\nexport function ProvideI18nMatStepperIntl() {\n return I18N_MAT_STEPPER_INTL_PROVIDER;\n}\n","import { I18N_MAT_DATEPICKER_INTL_PROVIDER } from './datepicker';\nimport { I18N_MAT_PAGINATOR_INTL_PROVIDER } from './paginator';\nimport { I18N_MAT_STEPPER_INTL_PROVIDER } from './stepper';\n\nexport function ProvideI18nMatIntl() {\n return [\n I18N_MAT_DATEPICKER_INTL_PROVIDER,\n I18N_MAT_PAGINATOR_INTL_PROVIDER,\n I18N_MAT_STEPPER_INTL_PROVIDER,\n ];\n}\n","// region \nexport * from './lib/datepicker';\nexport * from './lib/paginator';\nexport * from './lib/provide';\nexport * from './lib/stepper';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAUa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAEE;;;AAGG;AACM,QAAA,IAAA,CAAA,OAAO,GAAkB,IAAI,OAAO,EAAQ,CAAC;;AAGtD,QAAA,IAAA,CAAA,aAAa,GAAW,SAAS,CAAA,CAAA,sCAAA,CAAwC,CAAC;;AAG1E,QAAA,IAAA,CAAA,iBAAiB,GAAW,SAAS,CAAA,CAAA,+CAAA,CAAiD,CAAC;;AAGvF,QAAA,IAAA,CAAA,kBAAkB,GAAW,SAAS,CAAA,CAAA,iDAAA,CAAmD,CAAC;;AAG1F,QAAA,IAAA,CAAA,cAAc,GAAW,SAAS,CAAA,CAAA,6CAAA,CAA+C,CAAC;;AAGlF,QAAA,IAAA,CAAA,cAAc,GAAW,SAAS,CAAA,CAAA,yCAAA,CAA2C,CAAC;;AAG9E,QAAA,IAAA,CAAA,aAAa,GAAW,SAAS,CAAA,CAAA,2CAAA,CAA6C,CAAC;;AAG/E,QAAA,IAAA,CAAA,aAAa,GAAW,SAAS,CAAA,CAAA,uCAAA,CAAyC,CAAC;;AAG3E,QAAA,IAAA,CAAA,kBAAkB,GAAW,SAAS,CAAA,CAAA,oDAAA,CAAsD,CAAC;;AAG7F,QAAA,IAAA,CAAA,kBAAkB,GAAW,SAAS,CAAA,CAAA,gDAAA,CAAkD,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AQ,EAAE,oBAAoB;EAC9B;SAEc,2BAA2B,GAAA;AACzC,IAAA,OAAO,gCAAgC,CAAC;AAC1C;;MCjDa,kBAAkB,CAAA;AAD/B,IAAA,WAAA,GAAA;AAEE;;;AAGG;AACM,QAAA,IAAA,CAAA,OAAO,GAAkB,IAAI,OAAO,EAAQ,CAAC;;AAGtD,QAAA,IAAA,CAAA,aAAa,GAAW,SAAS,CAAA,CAAA,mCAAA,CAAqC,CAAC;;AAGvE,QAAA,IAAA,CAAA,cAAc,GAAW,SAAS,CAAA,CAAA,qCAAA,CAAuC,CAAC;;AAG1E,QAAA,IAAA,CAAA,aAAa,GAAW,SAAS,CAAA,CAAA,mCAAA,CAAqC,CAAC;AACxE,KAAA;8GAfY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAAlB,kBAAkB,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,UAAU;;AAkBE,MAAA,8BAA8B,GAAmB;AAC5D,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,QAAQ,EAAE,kBAAkB;EAC5B;SAEc,yBAAyB,GAAA;AACvC,IAAA,OAAO,8BAA8B,CAAC;AACxC;;SC9BgB,kBAAkB,GAAA;IAChC,OAAO;QACL,iCAAiC;QACjC,gCAAgC;QAChC,8BAA8B;KAC/B,CAAC;AACJ;;ACVA;AAKA;;ACLA;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from './lib/datepicker';
2
+ export * from './lib/paginator';
3
+ export * from './lib/provide';
4
+ export * from './lib/stepper';
@@ -0,0 +1,53 @@
1
+ import { StaticProvider } from '@angular/core';
2
+ import { MatDatepickerIntl } from '@angular/material/datepicker';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class I18nMatDatepickerIntl implements MatDatepickerIntl {
6
+ /**
7
+ * Stream that emits whenever the labels here are changed. Use this to notify
8
+ * components if the labels have changed after initialization.
9
+ */
10
+ readonly changes: Subject<void>;
11
+ /** A label for the calendar popup (used by screen readers). */
12
+ calendarLabel: string;
13
+ /** A label for the button used to open the calendar popup (used by screen readers). */
14
+ openCalendarLabel: string;
15
+ /** Label for the button used to close the calendar popup. */
16
+ closeCalendarLabel: string;
17
+ /** A label for the previous month button (used by screen readers). */
18
+ prevMonthLabel: string;
19
+ /** A label for the next month button (used by screen readers). */
20
+ nextMonthLabel: string;
21
+ /** A label for the previous year button (used by screen readers). */
22
+ prevYearLabel: string;
23
+ /** A label for the next year button (used by screen readers). */
24
+ nextYearLabel: string;
25
+ /** A label for the previous multi-year button (used by screen readers). */
26
+ prevMultiYearLabel: string;
27
+ /** A label for the next multi-year button (used by screen readers). */
28
+ nextMultiYearLabel: string;
29
+ /** A label for the 'switch to month view' button (used by screen readers). */
30
+ switchToMonthViewLabel: string;
31
+ /** A label for the 'switch to year view' button (used by screen readers). */
32
+ switchToMultiYearViewLabel: string;
33
+ /**
34
+ * A label for the first date of a range of dates (used by screen readers).
35
+ * @deprecated Provide your own internationalization string.
36
+ * @breaking-change 17.0.0
37
+ */
38
+ startDateLabel: string;
39
+ /**
40
+ * A label for the last date of a range of dates (used by screen readers).
41
+ * @deprecated Provide your own internationalization string.
42
+ * @breaking-change 17.0.0
43
+ */
44
+ endDateLabel: string;
45
+ /** Formats a range of years (used for visuals). */
46
+ formatYearRange(start: string, end: string): string;
47
+ /** Formats a label for a range of years (used by screen readers). */
48
+ formatYearRangeLabel(start: string, end: string): string;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nMatDatepickerIntl, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<I18nMatDatepickerIntl>;
51
+ }
52
+ export declare const I18N_MAT_DATEPICKER_INTL_PROVIDER: StaticProvider;
53
+ export declare function ProvideI18nMatDatepickerIntl(): StaticProvider;
@@ -0,0 +1,23 @@
1
+ import { StaticProvider } from '@angular/core';
2
+ import { MatPaginatorIntl } from '@angular/material/paginator';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class I18nMatPaginatorIntl implements MatPaginatorIntl {
6
+ changes: Subject<void>;
7
+ /** A label for the page size selector. */
8
+ itemsPerPageLabel: string;
9
+ /** A label for the button that increments the current page. */
10
+ nextPageLabel: string;
11
+ /** A label for the button that decrements the current page. */
12
+ previousPageLabel: string;
13
+ /** A label for the button that moves to the first page. */
14
+ firstPageLabel: string;
15
+ /** A label for the button that moves to the last page. */
16
+ lastPageLabel: string;
17
+ /** A label for the range of items within the current page and the length of the whole list. */
18
+ getRangeLabel: (page: number, pageSize: number, length: number) => string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nMatPaginatorIntl, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<I18nMatPaginatorIntl>;
21
+ }
22
+ export declare const I18N_MAT_PAGINATOR_INTL_PROVIDER: StaticProvider;
23
+ export declare function ProvideI18nMatPaginatorIntl(): StaticProvider;
@@ -0,0 +1 @@
1
+ export declare function ProvideI18nMatIntl(): import("@angular/core").StaticProvider[];
@@ -0,0 +1,21 @@
1
+ import { StaticProvider } from '@angular/core';
2
+ import { MatStepperIntl } from '@angular/material/stepper';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class I18nMatStepperIntl implements MatStepperIntl {
6
+ /**
7
+ * Stream that emits whenever the labels here are changed. Use this to notify
8
+ * components if the labels have changed after initialization.
9
+ */
10
+ readonly changes: Subject<void>;
11
+ /** Label that is rendered below optional steps. */
12
+ optionalLabel: string;
13
+ /** Label that is used to indicate step as completed to screen readers. */
14
+ completedLabel: string;
15
+ /** Label that is used to indicate step as editable to screen readers. */
16
+ editableLabel: string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nMatStepperIntl, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<I18nMatStepperIntl>;
19
+ }
20
+ export declare const I18N_MAT_STEPPER_INTL_PROVIDER: StaticProvider;
21
+ export declare function ProvideI18nMatStepperIntl(): StaticProvider;
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@rxap/ngx-material-localize",
3
+ "version": "16.0.1-dev.0",
4
+ "peerDependencies": {
5
+ "@angular/core": "^16.1.4",
6
+ "@angular/material": "^16.1.4",
7
+ "rxjs": "^7.8.0"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "publishConfig": {
14
+ "access": "public",
15
+ "directory": "../../../../dist/packages/angular/material/localize"
16
+ },
17
+ "keywords": [
18
+ "rxap",
19
+ "angular",
20
+ "ngx",
21
+ "packages",
22
+ "material",
23
+ "angular-material-localize"
24
+ ],
25
+ "homepage": "https:/gitlab.com/rxap/packages/packages/angular/material/localize",
26
+ "bugs": {
27
+ "url": "https://gitlab.com/rxap/packages/-/issues",
28
+ "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
29
+ },
30
+ "license": "GPL-3.0-or-later",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://gitlab.com/rxap/packages.git",
34
+ "directory": "packages/angular/material/localize"
35
+ },
36
+ "author": {
37
+ "name": "Merzough Münker",
38
+ "email": "mmuenker@digitaix.com"
39
+ },
40
+ "gitHead": "fc1acb11495b593188b17bc33d147bc46100ed18",
41
+ "module": "fesm2022/rxap-ngx-material-localize.mjs",
42
+ "typings": "index.d.ts",
43
+ "exports": {
44
+ "./package.json": {
45
+ "default": "./package.json"
46
+ },
47
+ ".": {
48
+ "types": "./index.d.ts",
49
+ "esm2022": "./esm2022/rxap-ngx-material-localize.mjs",
50
+ "esm": "./esm2022/rxap-ngx-material-localize.mjs",
51
+ "default": "./fesm2022/rxap-ngx-material-localize.mjs"
52
+ },
53
+ "./theme": "./theme.css"
54
+ }
55
+ }
package/theme.css ADDED
File without changes