@rxap/ngx-material-localize 18.0.2 → 18.0.3-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.
- package/CHANGELOG.md +4 -0
- package/compodoc/changelog.html +234 -0
- package/compodoc/dependencies.html +197 -0
- package/compodoc/fonts/ionicons.eot +0 -0
- package/compodoc/fonts/ionicons.svg +2090 -0
- package/compodoc/fonts/ionicons.ttf +0 -0
- package/compodoc/fonts/ionicons.woff +0 -0
- package/compodoc/fonts/ionicons.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
- package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
- package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
- package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
- package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/compodoc/graph/dependencies.svg +24 -0
- package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
- package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
- package/compodoc/images/compodoc-vectorise.png +0 -0
- package/compodoc/images/compodoc-vectorise.svg +201 -0
- package/compodoc/images/favicon.ico +0 -0
- package/compodoc/index.html +190 -0
- package/compodoc/injectables/I18nMatDatepickerIntl.html +1091 -0
- package/compodoc/injectables/I18nMatPaginatorIntl.html +579 -0
- package/compodoc/injectables/I18nMatStepperIntl.html +449 -0
- package/compodoc/js/compodoc.js +14 -0
- package/compodoc/js/lazy-load-graphs.js +44 -0
- package/compodoc/js/libs/EventDispatcher.js +5 -0
- package/compodoc/js/libs/bootstrap-native.js +2 -0
- package/compodoc/js/libs/clipboard.min.js +7 -0
- package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
- package/compodoc/js/libs/custom-elements.min.js +38 -0
- package/compodoc/js/libs/d3.v3.min.js +2 -0
- package/compodoc/js/libs/deep-iterator.js +2 -0
- package/compodoc/js/libs/es6-shim.min.js +12 -0
- package/compodoc/js/libs/htmlparser.js +23 -0
- package/compodoc/js/libs/innersvg.js +9 -0
- package/compodoc/js/libs/lit-html.js +1 -0
- package/compodoc/js/libs/prism.js +46 -0
- package/compodoc/js/libs/promise.min.js +6 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
- package/compodoc/js/libs/tablesort.min.js +6 -0
- package/compodoc/js/libs/tablesort.number.min.js +6 -0
- package/compodoc/js/libs/vis.min.js +47 -0
- package/compodoc/js/libs/zepto.min.js +2 -0
- package/compodoc/js/menu-wc.js +104 -0
- package/compodoc/js/menu-wc_es5.js +40 -0
- package/compodoc/js/menu.js +270 -0
- package/compodoc/js/routes.js +301 -0
- package/compodoc/js/search/lunr.min.js +6 -0
- package/compodoc/js/search/search-lunr.js +67 -0
- package/compodoc/js/search/search.js +283 -0
- package/compodoc/js/search/search_index.js +4 -0
- package/compodoc/js/sourceCode.js +58 -0
- package/compodoc/js/svg-pan-zoom.controls.js +53 -0
- package/compodoc/js/tabs.js +21 -0
- package/compodoc/js/tree.js +147 -0
- package/compodoc/license.html +731 -0
- package/compodoc/miscellaneous/functions.html +303 -0
- package/compodoc/miscellaneous/variables.html +372 -0
- package/compodoc/modules.html +183 -0
- package/compodoc/overview.html +193 -0
- package/compodoc/properties.html +195 -0
- package/compodoc/styles/bootstrap-card.css +219 -0
- package/compodoc/styles/bootstrap.min.css +6 -0
- package/compodoc/styles/compodoc.css +1124 -0
- package/compodoc/styles/dark.css +121 -0
- package/compodoc/styles/ionicons.min.css +11 -0
- package/compodoc/styles/laravel.css +113 -0
- package/compodoc/styles/material.css +131 -0
- package/compodoc/styles/original.css +51 -0
- package/compodoc/styles/postmark.css +238 -0
- package/compodoc/styles/prism.css +301 -0
- package/compodoc/styles/readthedocs.css +117 -0
- package/compodoc/styles/reset.css +129 -0
- package/compodoc/styles/stripe.css +106 -0
- package/compodoc/styles/style.css +7 -0
- package/compodoc/styles/tablesort.css +33 -0
- package/compodoc/styles/vagrant.css +130 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +43 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1412 -0
- package/docs/classes/I18nMatDatepickerIntl.html +39 -0
- package/docs/classes/I18nMatPaginatorIntl.html +15 -0
- package/docs/classes/I18nMatStepperIntl.html +11 -0
- package/docs/documentation.json +1840 -0
- package/docs/functions/ProvideI18nMatDatepickerIntl.html +1 -0
- package/docs/functions/ProvideI18nMatIntl.html +1 -0
- package/docs/functions/ProvideI18nMatPaginatorIntl.html +1 -0
- package/docs/functions/ProvideI18nMatStepperIntl.html +1 -0
- package/docs/index.html +16 -0
- package/docs/modules.html +11 -0
- package/docs/variables/I18N_MAT_DATEPICKER_INTL_PROVIDER.html +1 -0
- package/docs/variables/I18N_MAT_PAGINATOR_INTL_PROVIDER.html +1 -0
- package/docs/variables/I18N_MAT_STEPPER_INTL_PROVIDER.html +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>angular-material-localize</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">angular-material-localize</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content injectable">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
<ol class="breadcrumb">
|
|
93
|
+
<li class="breadcrumb-item">Injectables</li>
|
|
94
|
+
<li class="breadcrumb-item" >I18nMatPaginatorIntl</li>
|
|
95
|
+
</ol>
|
|
96
|
+
|
|
97
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
98
|
+
<li class="nav-item">
|
|
99
|
+
<a href="#info"
|
|
100
|
+
class="nav-link"
|
|
101
|
+
class="nav-link active"
|
|
102
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
|
+
</li>
|
|
104
|
+
<li class="nav-item">
|
|
105
|
+
<a href="#source"
|
|
106
|
+
class="nav-link"
|
|
107
|
+
|
|
108
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
109
|
+
</li>
|
|
110
|
+
</ul>
|
|
111
|
+
|
|
112
|
+
<div class="tab-content">
|
|
113
|
+
<div class="tab-pane fade active in" id="info">
|
|
114
|
+
<p class="comment">
|
|
115
|
+
<h3>File</h3>
|
|
116
|
+
</p>
|
|
117
|
+
<p class="comment">
|
|
118
|
+
<code>src/lib/paginator.ts</code>
|
|
119
|
+
</p>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<section data-compodoc="block-index">
|
|
126
|
+
<h3 id="index">Index</h3>
|
|
127
|
+
<table class="table table-sm table-bordered index-table">
|
|
128
|
+
<tbody>
|
|
129
|
+
<tr>
|
|
130
|
+
<td class="col-md-4">
|
|
131
|
+
<h6><b>Properties</b></h6>
|
|
132
|
+
</td>
|
|
133
|
+
</tr>
|
|
134
|
+
<tr>
|
|
135
|
+
<td class="col-md-4">
|
|
136
|
+
<ul class="index-list">
|
|
137
|
+
<li>
|
|
138
|
+
<a href="#changes" >changes</a>
|
|
139
|
+
</li>
|
|
140
|
+
<li>
|
|
141
|
+
<a href="#firstPageLabel" >firstPageLabel</a>
|
|
142
|
+
</li>
|
|
143
|
+
<li>
|
|
144
|
+
<a href="#getRangeLabel" >getRangeLabel</a>
|
|
145
|
+
</li>
|
|
146
|
+
<li>
|
|
147
|
+
<a href="#itemsPerPageLabel" >itemsPerPageLabel</a>
|
|
148
|
+
</li>
|
|
149
|
+
<li>
|
|
150
|
+
<a href="#lastPageLabel" >lastPageLabel</a>
|
|
151
|
+
</li>
|
|
152
|
+
<li>
|
|
153
|
+
<a href="#nextPageLabel" >nextPageLabel</a>
|
|
154
|
+
</li>
|
|
155
|
+
<li>
|
|
156
|
+
<a href="#previousPageLabel" >previousPageLabel</a>
|
|
157
|
+
</li>
|
|
158
|
+
</ul>
|
|
159
|
+
</td>
|
|
160
|
+
</tr>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
</tbody>
|
|
168
|
+
</table>
|
|
169
|
+
</section>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<section data-compodoc="block-properties">
|
|
174
|
+
|
|
175
|
+
<h3 id="inputs">
|
|
176
|
+
Properties
|
|
177
|
+
</h3>
|
|
178
|
+
<table class="table table-sm table-bordered">
|
|
179
|
+
<tbody>
|
|
180
|
+
<tr>
|
|
181
|
+
<td class="col-md-4">
|
|
182
|
+
<a name="changes"></a>
|
|
183
|
+
<span class="name">
|
|
184
|
+
<span ><b>changes</b></span>
|
|
185
|
+
<a href="#changes"><span class="icon ion-ios-link"></span></a>
|
|
186
|
+
</span>
|
|
187
|
+
</td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<td class="col-md-4">
|
|
191
|
+
<i>Default value : </i><code>new Subject<void>()</code>
|
|
192
|
+
</td>
|
|
193
|
+
</tr>
|
|
194
|
+
<tr>
|
|
195
|
+
<td class="col-md-4">
|
|
196
|
+
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/lib/paginator.ts:13</a></div>
|
|
197
|
+
</td>
|
|
198
|
+
</tr>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
</tbody>
|
|
202
|
+
</table>
|
|
203
|
+
<table class="table table-sm table-bordered">
|
|
204
|
+
<tbody>
|
|
205
|
+
<tr>
|
|
206
|
+
<td class="col-md-4">
|
|
207
|
+
<a name="firstPageLabel"></a>
|
|
208
|
+
<span class="name">
|
|
209
|
+
<span ><b>firstPageLabel</b></span>
|
|
210
|
+
<a href="#firstPageLabel"><span class="icon ion-ios-link"></span></a>
|
|
211
|
+
</span>
|
|
212
|
+
</td>
|
|
213
|
+
</tr>
|
|
214
|
+
<tr>
|
|
215
|
+
<td class="col-md-4">
|
|
216
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
217
|
+
|
|
218
|
+
</td>
|
|
219
|
+
</tr>
|
|
220
|
+
<tr>
|
|
221
|
+
<td class="col-md-4">
|
|
222
|
+
<i>Default value : </i><code>$localize`:@@firstPageLabelMatPaginator:First page`</code>
|
|
223
|
+
</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td class="col-md-4">
|
|
227
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/paginator.ts:25</a></div>
|
|
228
|
+
</td>
|
|
229
|
+
</tr>
|
|
230
|
+
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<div class="io-description"><p>A label for the button that moves to the first page.</p>
|
|
234
|
+
</div>
|
|
235
|
+
</td>
|
|
236
|
+
</tr>
|
|
237
|
+
|
|
238
|
+
</tbody>
|
|
239
|
+
</table>
|
|
240
|
+
<table class="table table-sm table-bordered">
|
|
241
|
+
<tbody>
|
|
242
|
+
<tr>
|
|
243
|
+
<td class="col-md-4">
|
|
244
|
+
<a name="getRangeLabel"></a>
|
|
245
|
+
<span class="name">
|
|
246
|
+
<span ><b>getRangeLabel</b></span>
|
|
247
|
+
<a href="#getRangeLabel"><span class="icon ion-ios-link"></span></a>
|
|
248
|
+
</span>
|
|
249
|
+
</td>
|
|
250
|
+
</tr>
|
|
251
|
+
<tr>
|
|
252
|
+
<td class="col-md-4">
|
|
253
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
254
|
+
|
|
255
|
+
</td>
|
|
256
|
+
</tr>
|
|
257
|
+
<tr>
|
|
258
|
+
<td class="col-md-4">
|
|
259
|
+
<i>Default value : </i><code>() => {...}</code>
|
|
260
|
+
</td>
|
|
261
|
+
</tr>
|
|
262
|
+
<tr>
|
|
263
|
+
<td class="col-md-4">
|
|
264
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/paginator.ts:31</a></div>
|
|
265
|
+
</td>
|
|
266
|
+
</tr>
|
|
267
|
+
|
|
268
|
+
<tr>
|
|
269
|
+
<td class="col-md-4">
|
|
270
|
+
<div class="io-description"><p>A label for the range of items within the current page and the length of the whole list.</p>
|
|
271
|
+
</div>
|
|
272
|
+
</td>
|
|
273
|
+
</tr>
|
|
274
|
+
|
|
275
|
+
</tbody>
|
|
276
|
+
</table>
|
|
277
|
+
<table class="table table-sm table-bordered">
|
|
278
|
+
<tbody>
|
|
279
|
+
<tr>
|
|
280
|
+
<td class="col-md-4">
|
|
281
|
+
<a name="itemsPerPageLabel"></a>
|
|
282
|
+
<span class="name">
|
|
283
|
+
<span ><b>itemsPerPageLabel</b></span>
|
|
284
|
+
<a href="#itemsPerPageLabel"><span class="icon ion-ios-link"></span></a>
|
|
285
|
+
</span>
|
|
286
|
+
</td>
|
|
287
|
+
</tr>
|
|
288
|
+
<tr>
|
|
289
|
+
<td class="col-md-4">
|
|
290
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
291
|
+
|
|
292
|
+
</td>
|
|
293
|
+
</tr>
|
|
294
|
+
<tr>
|
|
295
|
+
<td class="col-md-4">
|
|
296
|
+
<i>Default value : </i><code>$localize`:@@itemsPerPageLabelMatPaginator:Items per page`</code>
|
|
297
|
+
</td>
|
|
298
|
+
</tr>
|
|
299
|
+
<tr>
|
|
300
|
+
<td class="col-md-4">
|
|
301
|
+
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/lib/paginator.ts:16</a></div>
|
|
302
|
+
</td>
|
|
303
|
+
</tr>
|
|
304
|
+
|
|
305
|
+
<tr>
|
|
306
|
+
<td class="col-md-4">
|
|
307
|
+
<div class="io-description"><p>A label for the page size selector.</p>
|
|
308
|
+
</div>
|
|
309
|
+
</td>
|
|
310
|
+
</tr>
|
|
311
|
+
|
|
312
|
+
</tbody>
|
|
313
|
+
</table>
|
|
314
|
+
<table class="table table-sm table-bordered">
|
|
315
|
+
<tbody>
|
|
316
|
+
<tr>
|
|
317
|
+
<td class="col-md-4">
|
|
318
|
+
<a name="lastPageLabel"></a>
|
|
319
|
+
<span class="name">
|
|
320
|
+
<span ><b>lastPageLabel</b></span>
|
|
321
|
+
<a href="#lastPageLabel"><span class="icon ion-ios-link"></span></a>
|
|
322
|
+
</span>
|
|
323
|
+
</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td class="col-md-4">
|
|
327
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
328
|
+
|
|
329
|
+
</td>
|
|
330
|
+
</tr>
|
|
331
|
+
<tr>
|
|
332
|
+
<td class="col-md-4">
|
|
333
|
+
<i>Default value : </i><code>$localize`:@@lastPageLabelMatPaginator:Last page`</code>
|
|
334
|
+
</td>
|
|
335
|
+
</tr>
|
|
336
|
+
<tr>
|
|
337
|
+
<td class="col-md-4">
|
|
338
|
+
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/paginator.ts:28</a></div>
|
|
339
|
+
</td>
|
|
340
|
+
</tr>
|
|
341
|
+
|
|
342
|
+
<tr>
|
|
343
|
+
<td class="col-md-4">
|
|
344
|
+
<div class="io-description"><p>A label for the button that moves to the last page.</p>
|
|
345
|
+
</div>
|
|
346
|
+
</td>
|
|
347
|
+
</tr>
|
|
348
|
+
|
|
349
|
+
</tbody>
|
|
350
|
+
</table>
|
|
351
|
+
<table class="table table-sm table-bordered">
|
|
352
|
+
<tbody>
|
|
353
|
+
<tr>
|
|
354
|
+
<td class="col-md-4">
|
|
355
|
+
<a name="nextPageLabel"></a>
|
|
356
|
+
<span class="name">
|
|
357
|
+
<span ><b>nextPageLabel</b></span>
|
|
358
|
+
<a href="#nextPageLabel"><span class="icon ion-ios-link"></span></a>
|
|
359
|
+
</span>
|
|
360
|
+
</td>
|
|
361
|
+
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td class="col-md-4">
|
|
364
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
365
|
+
|
|
366
|
+
</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td class="col-md-4">
|
|
370
|
+
<i>Default value : </i><code>$localize`:@@nextPageLabelMatPaginator:Next page`</code>
|
|
371
|
+
</td>
|
|
372
|
+
</tr>
|
|
373
|
+
<tr>
|
|
374
|
+
<td class="col-md-4">
|
|
375
|
+
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/paginator.ts:19</a></div>
|
|
376
|
+
</td>
|
|
377
|
+
</tr>
|
|
378
|
+
|
|
379
|
+
<tr>
|
|
380
|
+
<td class="col-md-4">
|
|
381
|
+
<div class="io-description"><p>A label for the button that increments the current page.</p>
|
|
382
|
+
</div>
|
|
383
|
+
</td>
|
|
384
|
+
</tr>
|
|
385
|
+
|
|
386
|
+
</tbody>
|
|
387
|
+
</table>
|
|
388
|
+
<table class="table table-sm table-bordered">
|
|
389
|
+
<tbody>
|
|
390
|
+
<tr>
|
|
391
|
+
<td class="col-md-4">
|
|
392
|
+
<a name="previousPageLabel"></a>
|
|
393
|
+
<span class="name">
|
|
394
|
+
<span ><b>previousPageLabel</b></span>
|
|
395
|
+
<a href="#previousPageLabel"><span class="icon ion-ios-link"></span></a>
|
|
396
|
+
</span>
|
|
397
|
+
</td>
|
|
398
|
+
</tr>
|
|
399
|
+
<tr>
|
|
400
|
+
<td class="col-md-4">
|
|
401
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
402
|
+
|
|
403
|
+
</td>
|
|
404
|
+
</tr>
|
|
405
|
+
<tr>
|
|
406
|
+
<td class="col-md-4">
|
|
407
|
+
<i>Default value : </i><code>$localize`:@@previousPageLabelMatPaginator:Previous page`</code>
|
|
408
|
+
</td>
|
|
409
|
+
</tr>
|
|
410
|
+
<tr>
|
|
411
|
+
<td class="col-md-4">
|
|
412
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/paginator.ts:22</a></div>
|
|
413
|
+
</td>
|
|
414
|
+
</tr>
|
|
415
|
+
|
|
416
|
+
<tr>
|
|
417
|
+
<td class="col-md-4">
|
|
418
|
+
<div class="io-description"><p>A label for the button that decrements the current page.</p>
|
|
419
|
+
</div>
|
|
420
|
+
</td>
|
|
421
|
+
</tr>
|
|
422
|
+
|
|
423
|
+
</tbody>
|
|
424
|
+
</table>
|
|
425
|
+
</section>
|
|
426
|
+
|
|
427
|
+
</div>
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
431
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
432
|
+
Injectable,
|
|
433
|
+
StaticProvider,
|
|
434
|
+
} from '@angular/core';
|
|
435
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
436
|
+
import { Subject } from 'rxjs';
|
|
437
|
+
|
|
438
|
+
declare let $localize: any;
|
|
439
|
+
|
|
440
|
+
@Injectable()
|
|
441
|
+
export class I18nMatPaginatorIntl implements MatPaginatorIntl {
|
|
442
|
+
|
|
443
|
+
changes = new Subject<void>();
|
|
444
|
+
|
|
445
|
+
/** A label for the page size selector. */
|
|
446
|
+
itemsPerPageLabel: string = $localize`:@@itemsPerPageLabelMatPaginator:Items per page`;
|
|
447
|
+
|
|
448
|
+
/** A label for the button that increments the current page. */
|
|
449
|
+
nextPageLabel: string = $localize`:@@nextPageLabelMatPaginator:Next page`;
|
|
450
|
+
|
|
451
|
+
/** A label for the button that decrements the current page. */
|
|
452
|
+
previousPageLabel: string = $localize`:@@previousPageLabelMatPaginator:Previous page`;
|
|
453
|
+
|
|
454
|
+
/** A label for the button that moves to the first page. */
|
|
455
|
+
firstPageLabel: string = $localize`:@@firstPageLabelMatPaginator:First page`;
|
|
456
|
+
|
|
457
|
+
/** A label for the button that moves to the last page. */
|
|
458
|
+
lastPageLabel: string = $localize`:@@lastPageLabelMatPaginator:Last page`;
|
|
459
|
+
|
|
460
|
+
/** A label for the range of items within the current page and the length of the whole list. */
|
|
461
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string = (
|
|
462
|
+
page: number,
|
|
463
|
+
pageSize: number,
|
|
464
|
+
length: number,
|
|
465
|
+
) => {
|
|
466
|
+
if (length == 0 || pageSize == 0) {
|
|
467
|
+
return $localize`:@@emptyPageRangeLabelMatPaginator:0 of ${ length }`;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
length = Math.max(length, 0);
|
|
471
|
+
|
|
472
|
+
const startIndex = page * pageSize;
|
|
473
|
+
|
|
474
|
+
// If the start index exceeds the list length, do not try and fix the end index to the end.
|
|
475
|
+
const endIndex =
|
|
476
|
+
startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
|
|
477
|
+
|
|
478
|
+
return $localize`:@@pageRangeLabelMatPaginator:${ startIndex + 1 } – ${ endIndex } of ${ length }`;
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
export const I18N_MAT_PAGINATOR_INTL_PROVIDER: StaticProvider = {
|
|
484
|
+
provide: MatPaginatorIntl,
|
|
485
|
+
useClass: I18nMatPaginatorIntl,
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
export function ProvideI18nMatPaginatorIntl() {
|
|
489
|
+
return I18N_MAT_PAGINATOR_INTL_PROVIDER;
|
|
490
|
+
}
|
|
491
|
+
</code></pre>
|
|
492
|
+
</div>
|
|
493
|
+
|
|
494
|
+
</div>
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
</div><div class="search-results">
|
|
509
|
+
<div class="has-results">
|
|
510
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
511
|
+
<ul class="search-results-list"></ul>
|
|
512
|
+
</div>
|
|
513
|
+
<div class="no-results">
|
|
514
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
515
|
+
</div>
|
|
516
|
+
</div>
|
|
517
|
+
</div>
|
|
518
|
+
<!-- END CONTENT -->
|
|
519
|
+
</div>
|
|
520
|
+
</div>
|
|
521
|
+
|
|
522
|
+
<label class="dark-mode-switch">
|
|
523
|
+
<input type="checkbox">
|
|
524
|
+
<span class="slider">
|
|
525
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
526
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
527
|
+
</svg>
|
|
528
|
+
</span>
|
|
529
|
+
</label>
|
|
530
|
+
|
|
531
|
+
<script>
|
|
532
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
533
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'injectable';
|
|
534
|
+
var COMPODOC_CURRENT_PAGE_URL = 'I18nMatPaginatorIntl.html';
|
|
535
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
536
|
+
</script>
|
|
537
|
+
|
|
538
|
+
<script>
|
|
539
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
540
|
+
checkToggle(darkModeState);
|
|
541
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
542
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
543
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
544
|
+
darkModeState = !darkModeState;
|
|
545
|
+
toggleDarkMode(darkModeState);
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
</script>
|
|
550
|
+
|
|
551
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
552
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
553
|
+
|
|
554
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
555
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
556
|
+
|
|
557
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
558
|
+
|
|
559
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
560
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
561
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
562
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
563
|
+
|
|
564
|
+
<script src="../js/compodoc.js"></script>
|
|
565
|
+
|
|
566
|
+
<script src="../js/tabs.js"></script>
|
|
567
|
+
<script src="../js/menu.js"></script>
|
|
568
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
569
|
+
<script src="../js/libs/prism.js"></script>
|
|
570
|
+
<script src="../js/sourceCode.js"></script>
|
|
571
|
+
<script src="../js/search/search.js"></script>
|
|
572
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
573
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
574
|
+
<script src="../js/search/search_index.js"></script>
|
|
575
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
</body>
|
|
579
|
+
</html>
|