@rxap/pipes 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.
Files changed (116) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +392 -0
  4. package/compodoc/dependencies.html +199 -0
  5. package/compodoc/fonts/ionicons.eot +0 -0
  6. package/compodoc/fonts/ionicons.svg +2090 -0
  7. package/compodoc/fonts/ionicons.ttf +0 -0
  8. package/compodoc/fonts/ionicons.woff +0 -0
  9. package/compodoc/fonts/ionicons.woff2 +0 -0
  10. package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
  11. package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
  12. package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
  13. package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
  14. package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
  15. package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
  16. package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
  17. package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
  18. package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
  19. package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
  20. package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
  21. package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
  22. package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
  23. package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
  24. package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
  25. package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
  26. package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
  27. package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
  28. package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
  29. package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
  30. package/compodoc/graph/dependencies.svg +66 -0
  31. package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
  32. package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
  33. package/compodoc/images/compodoc-vectorise.png +0 -0
  34. package/compodoc/images/compodoc-vectorise.svg +201 -0
  35. package/compodoc/images/favicon.ico +0 -0
  36. package/compodoc/index.html +193 -0
  37. package/compodoc/js/compodoc.js +14 -0
  38. package/compodoc/js/lazy-load-graphs.js +44 -0
  39. package/compodoc/js/libs/EventDispatcher.js +5 -0
  40. package/compodoc/js/libs/bootstrap-native.js +2 -0
  41. package/compodoc/js/libs/clipboard.min.js +7 -0
  42. package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
  43. package/compodoc/js/libs/custom-elements.min.js +38 -0
  44. package/compodoc/js/libs/d3.v3.min.js +2 -0
  45. package/compodoc/js/libs/deep-iterator.js +2 -0
  46. package/compodoc/js/libs/es6-shim.min.js +12 -0
  47. package/compodoc/js/libs/htmlparser.js +23 -0
  48. package/compodoc/js/libs/innersvg.js +9 -0
  49. package/compodoc/js/libs/lit-html.js +1 -0
  50. package/compodoc/js/libs/prism.js +46 -0
  51. package/compodoc/js/libs/promise.min.js +6 -0
  52. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
  53. package/compodoc/js/libs/tablesort.min.js +6 -0
  54. package/compodoc/js/libs/tablesort.number.min.js +6 -0
  55. package/compodoc/js/libs/vis.min.js +47 -0
  56. package/compodoc/js/libs/zepto.min.js +2 -0
  57. package/compodoc/js/menu-wc.js +126 -0
  58. package/compodoc/js/menu-wc_es5.js +40 -0
  59. package/compodoc/js/menu.js +270 -0
  60. package/compodoc/js/routes.js +301 -0
  61. package/compodoc/js/search/lunr.min.js +6 -0
  62. package/compodoc/js/search/search-lunr.js +67 -0
  63. package/compodoc/js/search/search.js +283 -0
  64. package/compodoc/js/search/search_index.js +4 -0
  65. package/compodoc/js/sourceCode.js +58 -0
  66. package/compodoc/js/svg-pan-zoom.controls.js +53 -0
  67. package/compodoc/js/tabs.js +21 -0
  68. package/compodoc/js/tree.js +147 -0
  69. package/compodoc/license.html +731 -0
  70. package/compodoc/modules/CurrencyPipeModule/dependencies.svg +66 -0
  71. package/compodoc/modules/CurrencyPipeModule.html +390 -0
  72. package/compodoc/modules.html +200 -0
  73. package/compodoc/overview.html +281 -0
  74. package/compodoc/pipes/DeleteIdentifierPipe.html +350 -0
  75. package/compodoc/pipes/EscapeQuotationMarkPipe.html +349 -0
  76. package/compodoc/pipes/GetFromObjectPipe.html +336 -0
  77. package/compodoc/pipes/ReplacePipe.html +351 -0
  78. package/compodoc/pipes/RxapCurrencyPipe.html +503 -0
  79. package/compodoc/pipes/ToDisplayPipe.html +349 -0
  80. package/compodoc/properties.html +197 -0
  81. package/compodoc/styles/bootstrap-card.css +219 -0
  82. package/compodoc/styles/bootstrap.min.css +6 -0
  83. package/compodoc/styles/compodoc.css +1124 -0
  84. package/compodoc/styles/dark.css +121 -0
  85. package/compodoc/styles/ionicons.min.css +11 -0
  86. package/compodoc/styles/laravel.css +113 -0
  87. package/compodoc/styles/material.css +131 -0
  88. package/compodoc/styles/original.css +51 -0
  89. package/compodoc/styles/postmark.css +238 -0
  90. package/compodoc/styles/prism.css +301 -0
  91. package/compodoc/styles/readthedocs.css +117 -0
  92. package/compodoc/styles/reset.css +129 -0
  93. package/compodoc/styles/stripe.css +106 -0
  94. package/compodoc/styles/style.css +7 -0
  95. package/compodoc/styles/tablesort.css +33 -0
  96. package/compodoc/styles/vagrant.css +130 -0
  97. package/docs/.nojekyll +1 -0
  98. package/docs/assets/highlight.css +43 -0
  99. package/docs/assets/icons.js +15 -0
  100. package/docs/assets/icons.svg +1 -0
  101. package/docs/assets/main.js +59 -0
  102. package/docs/assets/navigation.js +1 -0
  103. package/docs/assets/search.js +1 -0
  104. package/docs/assets/style.css +1412 -0
  105. package/docs/classes/CurrencyPipeModule.html +2 -0
  106. package/docs/classes/DeleteIdentifierPipe.html +3 -0
  107. package/docs/classes/EscapeQuotationMarkPipe.html +3 -0
  108. package/docs/classes/GetFromObjectPipe.html +3 -0
  109. package/docs/classes/ReplacePipe.html +3 -0
  110. package/docs/classes/RxapCurrencyPipe.html +37 -0
  111. package/docs/classes/ToDisplayPipe.html +4 -0
  112. package/docs/documentation.json +1460 -0
  113. package/docs/index.html +19 -0
  114. package/docs/modules.html +8 -0
  115. package/package.json +4 -4
  116. package/theme.css +1 -1
@@ -0,0 +1,503 @@
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-pipes</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-pipes</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 pipe">
83
+ <div class="content-data">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <ol class="breadcrumb">
96
+ <li class="breadcrumb-item">Pipes</li>
97
+ <li class="breadcrumb-item" >RxapCurrencyPipe</li>
98
+ </ol>
99
+
100
+ <ul class="nav nav-tabs" role="tablist">
101
+ <li class="nav-item">
102
+ <a href="#info"
103
+ class="nav-link"
104
+ class="nav-link active"
105
+ role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
106
+ </li>
107
+ <li class="nav-item">
108
+ <a href="#source"
109
+ class="nav-link"
110
+
111
+ role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
112
+ </li>
113
+ </ul>
114
+
115
+ <div class="tab-content">
116
+ <div class="tab-pane fade active in" id="info">
117
+
118
+ <p class="comment">
119
+ <h3>File</h3>
120
+ </p>
121
+ <p class="comment">
122
+ <code>src/lib/currency.pipe.ts</code>
123
+ </p>
124
+
125
+
126
+
127
+
128
+ <section data-compodoc="block-metadata">
129
+ <h3>Metadata</h3>
130
+ <table class="table table-sm table-hover metadata">
131
+ <tbody>
132
+ <tr>
133
+ <td class="col-md-3">Name</td>
134
+ <td class="col-md-9">currency</td>
135
+ </tr>
136
+ <tr>
137
+ <td class="col-md-3">Standalone</td>
138
+ <td class="col-md-9"><code>true</code></td>
139
+ </tr>
140
+ </tbody>
141
+ </table>
142
+ </section>
143
+
144
+ <section data-compodoc="block-methods">
145
+
146
+ <h3 id="methods">
147
+ Methods
148
+ </h3>
149
+ <table class="table table-sm table-bordered">
150
+ <tbody>
151
+ <tr>
152
+ <td class="col-md-4">
153
+ <a name="transform"></a>
154
+ <span class="name">
155
+ <span class="modifier">Public</span>
156
+ <span ><b>transform</b></span>
157
+ <a href="#transform"><span class="icon ion-ios-link"></span></a>
158
+ </span>
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <td class="col-md-4">
163
+ <span class="modifier-icon icon ion-ios-reset"></span>
164
+ <code>transform(value: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, currencyCode?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, display?: "code" | "symbol" | "symbol-narrow" | string | boolean, digitsInfo?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, locale?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
165
+ </td>
166
+ </tr>
167
+
168
+
169
+ <tr>
170
+ <td class="col-md-4">
171
+ <div class="io-line">Defined in <a href="" data-line="50"
172
+ class="link-to-prism">src/lib/currency.pipe.ts:50</a></div>
173
+ </td>
174
+ </tr>
175
+
176
+
177
+ <tr>
178
+ <td class="col-md-4">
179
+ <div class="io-description"><p>such as <code>USD</code> for the US dollar and <code>EUR</code> for the euro. The default currency code can be
180
+ configured using the <code>DEFAULT_CURRENCY_CODE</code> injection token.</p>
181
+ <ul>
182
+ <li><code>code</code>: Show the code (such as <code>USD</code>).</li>
183
+ <li><code>symbol</code>(default): Show the symbol (such as <code>$</code>).</li>
184
+ <li><code>symbol-narrow</code>: Use the narrow symbol for locales that have two symbols for their
185
+ currency.
186
+ For example, the Canadian dollar CAD has the symbol <code>CA$</code> and the symbol-narrow <code>$</code>. If the
187
+ locale has no narrow symbol, uses the standard symbol for the locale.</li>
188
+ <li>String: Use the given string value instead of a code or a symbol.
189
+ For example, an empty string will suppress the currency &amp; symbol.</li>
190
+ <li>Boolean (marked deprecated in v5): <code>true</code> for symbol and false for <code>code</code>.</li>
191
+ </ul>
192
+ <p>in the following format:<br>
193
+ <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.</p>
194
+ <ul>
195
+ <li><code>minIntegerDigits</code>: The minimum number of integer digits before the decimal point.
196
+ Default is <code>1</code>.</li>
197
+ <li><code>minFractionDigits</code>: The minimum number of digits after the decimal point.
198
+ Default is <code>2</code>.</li>
199
+ <li><code>maxFractionDigits</code>: The maximum number of digits after the decimal point.
200
+ Default is <code>2</code>.
201
+ If not provided, the number will be formatted with the proper amount of digits,
202
+ depending on what the <a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a> specifies.
203
+ For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.
204
+ When not supplied, uses the value of <code>LOCALE_ID</code>, which is <code>en-US</code> by default.
205
+ See <a href="guide/i18n#setting-up-the-locale-of-your-app">Setting your app locale</a>.</li>
206
+ </ul>
207
+ </div>
208
+
209
+ <div class="io-description">
210
+ <b>Parameters :</b>
211
+
212
+ <table class="params">
213
+ <thead>
214
+ <tr>
215
+ <td>Name</td>
216
+ <td>Type</td>
217
+ <td>Optional</td>
218
+ <td>Description</td>
219
+ </tr>
220
+ </thead>
221
+ <tbody>
222
+ <tr>
223
+ <td>value</td>
224
+ <td>
225
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
226
+ </td>
227
+
228
+ <td>
229
+ No
230
+ </td>
231
+
232
+
233
+ <td>
234
+ <p>The number to be formatted as currency.</p>
235
+
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td>currencyCode</td>
240
+ <td>
241
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
242
+ </td>
243
+
244
+ <td>
245
+ Yes
246
+ </td>
247
+
248
+
249
+ <td>
250
+ <p>The <a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a> currency code,
251
+ such as <code>USD</code> for the US dollar and <code>EUR</code> for the euro. The default currency code can be
252
+ configured using the <code>DEFAULT_CURRENCY_CODE</code> injection token.</p>
253
+
254
+ </td>
255
+ </tr>
256
+ <tr>
257
+ <td>display</td>
258
+ <td>
259
+ <code>&quot;code&quot; | &quot;symbol&quot; | &quot;symbol-narrow&quot; | string | boolean</code>
260
+ </td>
261
+
262
+ <td>
263
+ Yes
264
+ </td>
265
+
266
+
267
+ <td>
268
+ <p>The format for the currency indicator. One of the following:</p>
269
+ <ul>
270
+ <li><code>code</code>: Show the code (such as <code>USD</code>).</li>
271
+ <li><code>symbol</code>(default): Show the symbol (such as <code>$</code>).</li>
272
+ <li><code>symbol-narrow</code>: Use the narrow symbol for locales that have two symbols for their
273
+ currency.
274
+ For example, the Canadian dollar CAD has the symbol <code>CA$</code> and the symbol-narrow <code>$</code>. If the
275
+ locale has no narrow symbol, uses the standard symbol for the locale.</li>
276
+ <li>String: Use the given string value instead of a code or a symbol.
277
+ For example, an empty string will suppress the currency &amp; symbol.</li>
278
+ <li>Boolean (marked deprecated in v5): <code>true</code> for symbol and false for <code>code</code>.</li>
279
+ </ul>
280
+
281
+ </td>
282
+ </tr>
283
+ <tr>
284
+ <td>digitsInfo</td>
285
+ <td>
286
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
287
+ </td>
288
+
289
+ <td>
290
+ Yes
291
+ </td>
292
+
293
+
294
+ <td>
295
+ <p>Decimal representation options, specified by a string
296
+ in the following format:<br>
297
+ <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.</p>
298
+ <ul>
299
+ <li><code>minIntegerDigits</code>: The minimum number of integer digits before the decimal point.
300
+ Default is <code>1</code>.</li>
301
+ <li><code>minFractionDigits</code>: The minimum number of digits after the decimal point.
302
+ Default is <code>2</code>.</li>
303
+ <li><code>maxFractionDigits</code>: The maximum number of digits after the decimal point.
304
+ Default is <code>2</code>.
305
+ If not provided, the number will be formatted with the proper amount of digits,
306
+ depending on what the <a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a> specifies.
307
+ For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.</li>
308
+ </ul>
309
+
310
+ </td>
311
+ </tr>
312
+ <tr>
313
+ <td>locale</td>
314
+ <td>
315
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
316
+ </td>
317
+
318
+ <td>
319
+ Yes
320
+ </td>
321
+
322
+
323
+ <td>
324
+ <p>A locale code for the locale format rules to use.
325
+ When not supplied, uses the value of <code>LOCALE_ID</code>, which is <code>en-US</code> by default.
326
+ See <a href="guide/i18n#setting-up-the-locale-of-your-app">Setting your app locale</a>.</p>
327
+
328
+ </td>
329
+ </tr>
330
+ </tbody>
331
+ </table>
332
+ </div>
333
+ <div class="io-description">
334
+ <b>Returns : </b> <code>string | null</code>
335
+
336
+ </div>
337
+ <div class="io-description">
338
+
339
+ </div>
340
+ </td>
341
+ </tr>
342
+ </tbody>
343
+ </table>
344
+ </section>
345
+
346
+ </div>
347
+
348
+
349
+ <div class="tab-pane fade tab-source-code" id="source">
350
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
351
+ NgModule,
352
+ Pipe,
353
+ PipeTransform,
354
+ } from &#x27;@angular/core&#x27;;
355
+ import { CurrencyPipe } from &#x27;@angular/common&#x27;;
356
+
357
+ @Pipe({
358
+ name: &#x27;currency&#x27;,
359
+ standalone: true,
360
+ })
361
+ export class RxapCurrencyPipe implements PipeTransform {
362
+
363
+ constructor(private readonly currency: CurrencyPipe) {
364
+ }
365
+
366
+ /**
367
+ *
368
+ * @param value The number to be formatted as currency.
369
+ * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,
370
+ * such as &#x60;USD&#x60; for the US dollar and &#x60;EUR&#x60; for the euro. The default currency code can be
371
+ * configured using the &#x60;DEFAULT_CURRENCY_CODE&#x60; injection token.
372
+ * @param display The format for the currency indicator. One of the following:
373
+ * - &#x60;code&#x60;: Show the code (such as &#x60;USD&#x60;).
374
+ * - &#x60;symbol&#x60;(default): Show the symbol (such as &#x60;$&#x60;).
375
+ * - &#x60;symbol-narrow&#x60;: Use the narrow symbol for locales that have two symbols for their
376
+ * currency.
377
+ * For example, the Canadian dollar CAD has the symbol &#x60;CA$&#x60; and the symbol-narrow &#x60;$&#x60;. If the
378
+ * locale has no narrow symbol, uses the standard symbol for the locale.
379
+ * - String: Use the given string value instead of a code or a symbol.
380
+ * For example, an empty string will suppress the currency &amp; symbol.
381
+ * - Boolean (marked deprecated in v5): &#x60;true&#x60; for symbol and false for &#x60;code&#x60;.
382
+ *
383
+ * @param digitsInfo Decimal representation options, specified by a string
384
+ * in the following format:&lt;br&gt;
385
+ * &lt;code&gt;{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}&lt;/code&gt;.
386
+ * - &#x60;minIntegerDigits&#x60;: The minimum number of integer digits before the decimal point.
387
+ * Default is &#x60;1&#x60;.
388
+ * - &#x60;minFractionDigits&#x60;: The minimum number of digits after the decimal point.
389
+ * Default is &#x60;2&#x60;.
390
+ * - &#x60;maxFractionDigits&#x60;: The maximum number of digits after the decimal point.
391
+ * Default is &#x60;2&#x60;.
392
+ * If not provided, the number will be formatted with the proper amount of digits,
393
+ * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.
394
+ * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.
395
+ * @param locale A locale code for the locale format rules to use.
396
+ * When not supplied, uses the value of &#x60;LOCALE_ID&#x60;, which is &#x60;en-US&#x60; by default.
397
+ * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).
398
+ */
399
+ public transform(
400
+ value: number,
401
+ currencyCode?: string,
402
+ display?: &#x27;code&#x27; | &#x27;symbol&#x27; | &#x27;symbol-narrow&#x27; | string | boolean,
403
+ digitsInfo?: string,
404
+ locale?: string,
405
+ ): string | null {
406
+ return this.currency.transform(value / 100, currencyCode, display, digitsInfo, locale);
407
+ }
408
+
409
+ }
410
+
411
+ @NgModule({
412
+ imports: [ RxapCurrencyPipe ],
413
+ exports: [ RxapCurrencyPipe ],
414
+ providers: [ CurrencyPipe ],
415
+ })
416
+ export class CurrencyPipeModule {
417
+ }
418
+ </code></pre>
419
+ </div>
420
+
421
+ </div>
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+ </div><div class="search-results">
433
+ <div class="has-results">
434
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
435
+ <ul class="search-results-list"></ul>
436
+ </div>
437
+ <div class="no-results">
438
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
439
+ </div>
440
+ </div>
441
+ </div>
442
+ <!-- END CONTENT -->
443
+ </div>
444
+ </div>
445
+
446
+ <label class="dark-mode-switch">
447
+ <input type="checkbox">
448
+ <span class="slider">
449
+ <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">
450
+ <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
451
+ </svg>
452
+ </span>
453
+ </label>
454
+
455
+ <script>
456
+ var COMPODOC_CURRENT_PAGE_DEPTH = 1;
457
+ var COMPODOC_CURRENT_PAGE_CONTEXT = 'pipe';
458
+ var COMPODOC_CURRENT_PAGE_URL = 'RxapCurrencyPipe.html';
459
+ var MAX_SEARCH_RESULTS = 15;
460
+ </script>
461
+
462
+ <script>
463
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
464
+ checkToggle(darkModeState);
465
+ if ($darkModeToggleSwitchers.length > 0) {
466
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
467
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
468
+ darkModeState = !darkModeState;
469
+ toggleDarkMode(darkModeState);
470
+ });
471
+ }
472
+ }
473
+ </script>
474
+
475
+ <script src="../js/libs/custom-elements.min.js"></script>
476
+ <script src="../js/libs/lit-html.js"></script>
477
+
478
+ <script src="../js/menu-wc.js" defer></script>
479
+ <script nomodule src="../js/menu-wc_es5.js" defer></script>
480
+
481
+ <script src="../js/libs/bootstrap-native.js"></script>
482
+
483
+ <script src="../js/libs/es6-shim.min.js"></script>
484
+ <script src="../js/libs/EventDispatcher.js"></script>
485
+ <script src="../js/libs/promise.min.js"></script>
486
+ <script src="../js/libs/zepto.min.js"></script>
487
+
488
+ <script src="../js/compodoc.js"></script>
489
+
490
+ <script src="../js/tabs.js"></script>
491
+ <script src="../js/menu.js"></script>
492
+ <script src="../js/libs/clipboard.min.js"></script>
493
+ <script src="../js/libs/prism.js"></script>
494
+ <script src="../js/sourceCode.js"></script>
495
+ <script src="../js/search/search.js"></script>
496
+ <script src="../js/search/lunr.min.js"></script>
497
+ <script src="../js/search/search-lunr.js"></script>
498
+ <script src="../js/search/search_index.js"></script>
499
+ <script src="../js/lazy-load-graphs.js"></script>
500
+
501
+
502
+ </body>
503
+ </html>