@rxap/pipes 21.0.1-dev.0 → 21.0.1
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 +12 -0
- package/compodoc/changelog.html +10 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/graph/dependencies.svg +4 -46
- package/compodoc/js/menu-wc.js +0 -29
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +1 -89
- package/compodoc/pipes/RxapCurrencyPipe.html +4 -17
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +207 -305
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/DeleteIdentifierPipe.html +2 -2
- package/docs/html/classes/EscapeQuotationMarkPipe.html +2 -2
- package/docs/html/classes/GetFromObjectPipe.html +2 -2
- package/docs/html/classes/JoinPipe.html +2 -2
- package/docs/html/classes/LimitPipe.html +2 -2
- package/docs/html/classes/ReplacePipe.html +2 -2
- package/docs/html/classes/RxapCurrencyPipe.html +3 -3
- package/docs/html/classes/SlicePipe.html +2 -2
- package/docs/html/classes/ToDisplayPipe.html +2 -2
- package/docs/html/classes/TruncatePipe.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/DeleteIdentifierPipe.md +3 -3
- package/docs/markdown/classes/EscapeQuotationMarkPipe.md +3 -3
- package/docs/markdown/classes/GetFromObjectPipe.md +3 -3
- package/docs/markdown/classes/JoinPipe.md +3 -3
- package/docs/markdown/classes/LimitPipe.md +3 -3
- package/docs/markdown/classes/ReplacePipe.md +3 -3
- package/docs/markdown/classes/RxapCurrencyPipe.md +4 -12
- package/docs/markdown/classes/SlicePipe.md +3 -3
- package/docs/markdown/classes/ToDisplayPipe.md +3 -3
- package/docs/markdown/classes/TruncatePipe.md +3 -3
- package/docs/markdown/globals.md +2 -3
- package/docs/wiki/Class.DeleteIdentifierPipe.md +2 -2
- package/docs/wiki/Class.EscapeQuotationMarkPipe.md +2 -2
- package/docs/wiki/Class.GetFromObjectPipe.md +2 -2
- package/docs/wiki/Class.JoinPipe.md +2 -2
- package/docs/wiki/Class.LimitPipe.md +2 -2
- package/docs/wiki/Class.ReplacePipe.md +2 -2
- package/docs/wiki/Class.RxapCurrencyPipe.md +3 -11
- package/docs/wiki/Class.SlicePipe.md +2 -2
- package/docs/wiki/Class.ToDisplayPipe.md +2 -2
- package/docs/wiki/Class.TruncatePipe.md +2 -2
- package/docs/wiki/_Sidebar.md +0 -1
- package/docs/wiki/globals.md +1 -2
- package/fesm2022/rxap-pipes-santization.mjs +9 -13
- package/fesm2022/rxap-pipes-santization.mjs.map +1 -1
- package/fesm2022/rxap-pipes.mjs +5 -19
- package/fesm2022/rxap-pipes.mjs.map +1 -1
- package/package.json +3 -3
- package/types/rxap-pipes-santization.d.ts +8 -10
- package/types/rxap-pipes.d.ts +1 -8
- package/docs/html/classes/CurrencyPipeModule.html +0 -2
- package/docs/markdown/classes/CurrencyPipeModule.md +0 -19
- package/docs/wiki/Class.CurrencyPipeModule.md +0 -15
package/compodoc/modules.html
CHANGED
|
@@ -89,23 +89,6 @@
|
|
|
89
89
|
</ol>
|
|
90
90
|
<div class="container-fluid modules">
|
|
91
91
|
<div class="row">
|
|
92
|
-
<div class="col-md-6 col-lg-4">
|
|
93
|
-
<div class="card card-module">
|
|
94
|
-
<div class="card-header">
|
|
95
|
-
<h4 class="card-title">CurrencyPipeModule</h4>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="card-block">
|
|
98
|
-
<p>
|
|
99
|
-
<object id="demo-svg" type="image/svg+xml" lazy="./modules/CurrencyPipeModule/dependencies.svg" style="width: 100%; height: 175px;">
|
|
100
|
-
Your browser does not support SVG
|
|
101
|
-
</object>
|
|
102
|
-
</p>
|
|
103
|
-
<footer class="text-center">
|
|
104
|
-
<a href="./modules/CurrencyPipeModule.html" class="btn btn-default">Browse</a>
|
|
105
|
-
</footer>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
92
|
</div>
|
|
110
93
|
</div>
|
|
111
94
|
|
package/compodoc/overview.html
CHANGED
|
@@ -86,97 +86,9 @@
|
|
|
86
86
|
<ol class="breadcrumb">
|
|
87
87
|
<li class="breadcrumb-item">Overview</li>
|
|
88
88
|
</ol>
|
|
89
|
-
|
|
90
|
-
<div class="text-center module-graph-container">
|
|
91
|
-
<div id="module-graph-svg">
|
|
92
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
93
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
94
|
-
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
95
|
-
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
|
|
96
|
-
-->
|
|
97
|
-
<!-- Title: dependencies Pages: 1 -->
|
|
98
|
-
<svg width="504pt" height="284pt"
|
|
99
|
-
viewBox="0.00 0.00 504.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
100
|
-
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
|
|
101
|
-
<title>dependencies</title>
|
|
102
|
-
<polygon fill="white" stroke="transparent" points="-4,4 -4,-280 500,-280 500,4 -4,4"/>
|
|
103
|
-
<text text-anchor="start" x="227.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
|
|
104
|
-
<polygon fill="#ffffb3" stroke="transparent" points="14,-10 14,-30 34,-30 34,-10 14,-10"/>
|
|
105
|
-
<text text-anchor="start" x="37.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
|
|
106
|
-
<polygon fill="#8dd3c7" stroke="transparent" points="127,-10 127,-30 147,-30 147,-10 127,-10"/>
|
|
107
|
-
<text text-anchor="start" x="150.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
|
|
108
|
-
<polygon fill="#80b1d3" stroke="transparent" points="213,-10 213,-30 233,-30 233,-10 213,-10"/>
|
|
109
|
-
<text text-anchor="start" x="236.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
|
|
110
|
-
<polygon fill="#fdb462" stroke="transparent" points="310,-10 310,-30 330,-30 330,-10 310,-10"/>
|
|
111
|
-
<text text-anchor="start" x="333.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
|
|
112
|
-
<polygon fill="#fb8072" stroke="transparent" points="406,-10 406,-30 426,-30 426,-10 406,-10"/>
|
|
113
|
-
<text text-anchor="start" x="429.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
|
|
114
|
-
<g id="clust1" class="cluster">
|
|
115
|
-
<title>cluster_CurrencyPipeModule</title>
|
|
116
|
-
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="169,-70 169,-268 327,-268 327,-70 169,-70"/>
|
|
117
|
-
</g>
|
|
118
|
-
<g id="clust3" class="cluster">
|
|
119
|
-
<title>cluster_CurrencyPipeModule_imports</title>
|
|
120
|
-
<polygon fill="none" stroke="black" points="179,-78 179,-130 317,-130 317,-78 179,-78"/>
|
|
121
|
-
</g>
|
|
122
|
-
<g id="clust4" class="cluster">
|
|
123
|
-
<title>cluster_CurrencyPipeModule_exports</title>
|
|
124
|
-
<polygon fill="none" stroke="black" points="177,-208 177,-260 319,-260 319,-208 177,-208"/>
|
|
125
|
-
</g>
|
|
126
|
-
<!-- RxapCurrencyPipe -->
|
|
127
|
-
<g id="node1" class="node">
|
|
128
|
-
<title>RxapCurrencyPipe</title>
|
|
129
|
-
<polygon fill="#8dd3c7" stroke="black" points="309.03,-122 306.03,-126 285.03,-126 282.03,-122 186.97,-122 186.97,-86 309.03,-86 309.03,-122"/>
|
|
130
|
-
<text text-anchor="middle" x="248" y="-99.8" font-family="Times,serif" font-size="14.00">RxapCurrencyPipe</text>
|
|
131
|
-
</g>
|
|
132
|
-
<!-- CurrencyPipeModule -->
|
|
133
|
-
<g id="node2" class="node">
|
|
134
|
-
<title>CurrencyPipeModule</title>
|
|
135
|
-
<polygon fill="#8dd3c7" stroke="black" points="316.03,-187 313.03,-191 292.03,-191 289.03,-187 179.97,-187 179.97,-151 316.03,-151 316.03,-187"/>
|
|
136
|
-
<text text-anchor="middle" x="248" y="-164.8" font-family="Times,serif" font-size="14.00">CurrencyPipeModule</text>
|
|
137
|
-
</g>
|
|
138
|
-
<!-- RxapCurrencyPipe->CurrencyPipeModule -->
|
|
139
|
-
<g id="edge1" class="edge">
|
|
140
|
-
<title>RxapCurrencyPipe->CurrencyPipeModule</title>
|
|
141
|
-
<path fill="none" stroke="black" d="M248,-122.11C248,-122.11 248,-140.99 248,-140.99"/>
|
|
142
|
-
<polygon fill="black" stroke="black" points="244.5,-140.99 248,-150.99 251.5,-140.99 244.5,-140.99"/>
|
|
143
|
-
</g>
|
|
144
|
-
<!-- RxapCurrencyPipe -->
|
|
145
|
-
<g id="node3" class="node">
|
|
146
|
-
<title>RxapCurrencyPipe </title>
|
|
147
|
-
<polygon fill="#fb8072" stroke="black" points="311.03,-252 184.97,-252 184.97,-216 311.03,-216 311.03,-252"/>
|
|
148
|
-
<text text-anchor="middle" x="248" y="-229.8" font-family="Times,serif" font-size="14.00">RxapCurrencyPipe </text>
|
|
149
|
-
</g>
|
|
150
|
-
<!-- CurrencyPipeModule->RxapCurrencyPipe -->
|
|
151
|
-
<g id="edge2" class="edge">
|
|
152
|
-
<title>CurrencyPipeModule->RxapCurrencyPipe </title>
|
|
153
|
-
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M248,-187.11C248,-187.11 248,-205.99 248,-205.99"/>
|
|
154
|
-
<polygon fill="black" stroke="black" points="244.5,-205.99 248,-215.99 251.5,-205.99 244.5,-205.99"/>
|
|
155
|
-
</g>
|
|
156
|
-
</g>
|
|
157
|
-
</svg>
|
|
158
|
-
|
|
159
|
-
</div>
|
|
160
|
-
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
|
|
161
|
-
<div class="btn-group size-buttons">
|
|
162
|
-
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
|
|
163
|
-
<button id="reset" class="btn btn-default btn-sm">Reset</button>
|
|
164
|
-
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
|
|
89
|
+
|
|
168
90
|
<div class="tab-content overview">
|
|
169
91
|
<div class="row">
|
|
170
|
-
<div class="col-sm-3">
|
|
171
|
-
<div class="card text-center">
|
|
172
|
-
<div class="card-block">
|
|
173
|
-
<h4 class="card-title"><span class="icon ion-ios-archive"></span></h4>
|
|
174
|
-
<p class="card-text">
|
|
175
|
-
<a href="./modules.html">1 Module</a>
|
|
176
|
-
</p>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
92
|
<div class="col-sm-3">
|
|
181
93
|
<div class="card text-center">
|
|
182
94
|
<div class="card-block">
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
|
|
169
169
|
<tr>
|
|
170
170
|
<td class="col-md-4">
|
|
171
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
172
|
-
class="link-to-prism">src/lib/currency.pipe.ts:
|
|
171
|
+
<div class="io-line">Defined in <a href="" data-line="45"
|
|
172
|
+
class="link-to-prism">src/lib/currency.pipe.ts:45</a></div>
|
|
173
173
|
</td>
|
|
174
174
|
</tr>
|
|
175
175
|
|
|
@@ -347,11 +347,7 @@ See <a href="guide/i18n#setting-up-the-locale-of-your-app">Setting your app loca
|
|
|
347
347
|
|
|
348
348
|
|
|
349
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 '@angular/core';
|
|
350
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DEFAULT_CURRENCY_CODE, LOCALE_ID, Pipe, PipeTransform, inject } from '@angular/core';
|
|
355
351
|
import { CurrencyPipe } from '@angular/common';
|
|
356
352
|
|
|
357
353
|
@Pipe({
|
|
@@ -359,9 +355,8 @@ import { CurrencyPipe } from '@angular/common';
|
|
|
359
355
|
standalone: true,
|
|
360
356
|
})
|
|
361
357
|
export class RxapCurrencyPipe implements PipeTransform {
|
|
358
|
+
private readonly currency = new CurrencyPipe(inject(LOCALE_ID), inject(DEFAULT_CURRENCY_CODE, { optional: true }) ?? undefined);
|
|
362
359
|
|
|
363
|
-
constructor(private readonly currency: CurrencyPipe) {
|
|
364
|
-
}
|
|
365
360
|
|
|
366
361
|
/**
|
|
367
362
|
*
|
|
@@ -407,14 +402,6 @@ export class RxapCurrencyPipe implements PipeTransform {
|
|
|
407
402
|
}
|
|
408
403
|
|
|
409
404
|
}
|
|
410
|
-
|
|
411
|
-
@NgModule({
|
|
412
|
-
imports: [ RxapCurrencyPipe ],
|
|
413
|
-
exports: [ RxapCurrencyPipe ],
|
|
414
|
-
providers: [ CurrencyPipe ],
|
|
415
|
-
})
|
|
416
|
-
export class CurrencyPipeModule {
|
|
417
|
-
}
|
|
418
405
|
</code></pre>
|
|
419
406
|
</div>
|
|
420
407
|
|
package/compodoc/properties.html
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</ol>
|
|
103
103
|
<ul class="properties-list">
|
|
104
104
|
<li>
|
|
105
|
-
<b>Version</b> : 21.0.1
|
|
105
|
+
<b>Version</b> : 21.0.1</li>
|
|
106
106
|
<li>
|
|
107
107
|
<b>Description</b> : Provides a set of Angular pipes for common data transformations, including currency formatting, string manipulation, and object property access. These pipes offer standalone functionality for easy integration into Angular templates. The package includes pipes for escaping quotation marks, joining arrays, limiting array length, replacing substrings, slicing arrays, truncating strings, and deleting identifier properties from objects.
|
|
108
108
|
</li>
|