@rxap/pipes 19.1.3 → 19.2.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 +27 -0
- package/compodoc/changelog.html +24 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/js/menu-wc.js +5 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/compodoc/todo.html +308 -0
- package/docs/documentation.json +35 -35
- package/docs/html/classes/CurrencyPipeModule.html +2 -2
- 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/CurrencyPipeModule.md +2 -2
- 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 -4
- 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 -2
- package/docs/wiki/Class.CurrencyPipeModule.md +1 -1
- 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 -3
- 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/globals.md +1 -1
- package/fesm2022/rxap-pipes-santization.mjs +6 -6
- package/fesm2022/rxap-pipes-santization.mjs.map +1 -1
- package/fesm2022/rxap-pipes.mjs +34 -34
- package/fesm2022/rxap-pipes.mjs.map +1 -1
- package/package.json +7 -8
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> : 19.
|
|
105
|
+
<b>Version</b> : 19.2.0</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>
|
|
@@ -0,0 +1,308 @@
|
|
|
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 getting-started">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
<h1>TODO: Angular Pipes Package Audit & Improvements</h1>
|
|
86
|
+
<p>This document lists the findings and recommended fixes resulting from the audit of the <code>@rxap/pipes</code> package (located at <code>packages/angular/pipes</code>). </p>
|
|
87
|
+
<hr>
|
|
88
|
+
<h2>🚨 Critical Functional Bugs & Logic Errors</h2>
|
|
89
|
+
<h3>1. Runtime Crash Risks (Null/Undefined Vulnerabilities)</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>Files:</strong> <ul>
|
|
92
|
+
<li><a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/join.pipe.ts#L13-L15">join.pipe.ts</a></li>
|
|
93
|
+
<li><a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/limit.pipe.ts#L12-L14">limit.pipe.ts</a></li>
|
|
94
|
+
<li><a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/slice.pipe.ts#L12-L14">slice.pipe.ts</a></li>
|
|
95
|
+
</ul>
|
|
96
|
+
</li>
|
|
97
|
+
<li><strong>Problem:</strong>
|
|
98
|
+
These pipes directly call prototype methods (<code>list.join()</code>, <code>value.slice()</code>) without guarding against <code>null</code> or <code>undefined</code> inputs.</li>
|
|
99
|
+
<li><strong>Impact:</strong>
|
|
100
|
+
Since Angular templates often deal with asynchronous data streams (e.g., <code>observable$ | async | join</code>), values can start as <code>null</code> or <code>undefined</code> before resolving. These pipes will cause immediate runtime application crashes.</li>
|
|
101
|
+
<li><strong>Recommended Fix:</strong>
|
|
102
|
+
Implement safe optional-chaining and fallbacks:<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">// join.pipe.ts
|
|
103
|
+
transform(list: any[] | null | undefined, separator?: string): string {
|
|
104
|
+
return list ? list.join(separator) : '';
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// limit.pipe.ts & slice.pipe.ts
|
|
108
|
+
transform<T>(value: readonly T[] | null | undefined, limit: number): T[] {
|
|
109
|
+
return value ? value.slice(0, limit) : [];
|
|
110
|
+
}</code></pre></div></li>
|
|
111
|
+
</ul>
|
|
112
|
+
<hr>
|
|
113
|
+
<h2>🏛️ Architectural Debt & Design Patterns</h2>
|
|
114
|
+
<h3>1. Missing DI Provider in Standalone <code>RxapCurrencyPipe</code></h3>
|
|
115
|
+
<ul>
|
|
116
|
+
<li><strong>File:</strong> <a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/currency.pipe.ts#L12-L68">currency.pipe.ts</a></li>
|
|
117
|
+
<li><strong>Problem:</strong>
|
|
118
|
+
<code>RxapCurrencyPipe</code> is marked as a standalone pipe and injects <code>CurrencyPipe</code> (from <code>@angular/common</code>) into its constructor. However, <code>CurrencyPipe</code> is only registered in the <code>providers</code> array of <code>CurrencyPipeModule</code>.</li>
|
|
119
|
+
<li><strong>Impact:</strong>
|
|
120
|
+
If a developer attempts to import <code>RxapCurrencyPipe</code> directly into a standalone component (the modern Angular 19 convention), the application will crash with a runtime DI error: <code>No provider for CurrencyPipe!</code>.</li>
|
|
121
|
+
<li><strong>Recommended Fix:</strong>
|
|
122
|
+
Add <code>CurrencyPipe</code> directly to the <code>providers</code> of the pipe's <code>@Pipe</code> decorator:<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">@Pipe({
|
|
123
|
+
name: 'currency',
|
|
124
|
+
standalone: true,
|
|
125
|
+
providers: [ CurrencyPipe ] // Ensure it is provided locally
|
|
126
|
+
})
|
|
127
|
+
export class RxapCurrencyPipe implements PipeTransform { ... }</code></pre></div></li>
|
|
128
|
+
</ul>
|
|
129
|
+
<h3>2. Duplicate & Conflicting Pipe Name (<code>slice</code>)</h3>
|
|
130
|
+
<ul>
|
|
131
|
+
<li><strong>File:</strong> <a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/slice.pipe.ts#L7">slice.pipe.ts</a></li>
|
|
132
|
+
<li><strong>Problem:</strong>
|
|
133
|
+
This pipe is registered with the selector name <code>slice</code>. However, Angular's <code>@angular/common</code> package already includes a standard <code>SlicePipe</code> registered as <code>slice</code>.</li>
|
|
134
|
+
<li><strong>Impact:</strong>
|
|
135
|
+
Name clashes in templates make imports and template compilation extremely confusing and error-prone. Additionally, Angular's built-in <code>slice</code> supports both arrays and strings, while this custom one only types <code>readonly T[]</code>.</li>
|
|
136
|
+
<li><strong>Recommended Fix:</strong>
|
|
137
|
+
Either rename the pipe selector to a unique name (e.g., <code>rxapSlice</code>), or deprecate and remove the pipe if it is redundant with the standard Angular <code>slice</code> pipe.</li>
|
|
138
|
+
</ul>
|
|
139
|
+
<h3>3. Typo in Public API Sub-Package (<code>santization</code>)</h3>
|
|
140
|
+
<ul>
|
|
141
|
+
<li><strong>Files/Directories:</strong> <ul>
|
|
142
|
+
<li><code>packages/angular/pipes/santization</code></li>
|
|
143
|
+
<li><code>santization.pipe.ts</code></li>
|
|
144
|
+
<li><code>santization.service.ts</code></li>
|
|
145
|
+
<li><code>SantizationService</code> / <code>SantizationPipe</code></li>
|
|
146
|
+
</ul>
|
|
147
|
+
</li>
|
|
148
|
+
<li><strong>Problem:</strong>
|
|
149
|
+
The word <strong>Sanitization</strong> is misspelled as <strong>Santization</strong> (missing the "i" after "t") across all directory names, filenames, class names, and selectors.</li>
|
|
150
|
+
<li><strong>Impact:</strong>
|
|
151
|
+
This affects the public entry point import: <code>@rxap/pipes/santization</code>. Misspelled APIs lead to a poor developer experience and autocomplete confusion.</li>
|
|
152
|
+
<li><strong>Recommended Fix:</strong>
|
|
153
|
+
Rename the package entrypoint, classes, and files to <code>sanitization</code>. To prevent breaking downstream users:<ol>
|
|
154
|
+
<li>Create a deprecated entry point / alias <code>santization</code> pointing to <code>sanitization</code>.</li>
|
|
155
|
+
<li>Deprecate the old names and plan to remove them in the next major version.</li>
|
|
156
|
+
</ol>
|
|
157
|
+
</li>
|
|
158
|
+
</ul>
|
|
159
|
+
<h3>4. Direct Pipe Instantiation Anti-pattern</h3>
|
|
160
|
+
<ul>
|
|
161
|
+
<li><strong>File:</strong> <a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts#L15-L17">escape-quotation-mark.pipe.ts</a></li>
|
|
162
|
+
<li><strong>Problem:</strong>
|
|
163
|
+
<code>EscapeQuotationMarkPipe</code> instantiates <code>new ReplacePipe()</code> directly inside its <code>transform</code> method on every call. </li>
|
|
164
|
+
<li><strong>Impact:</strong>
|
|
165
|
+
Bypasses Angular's DI system and is highly inefficient during rapid template change detection cycles.</li>
|
|
166
|
+
<li><strong>Recommended Fix:</strong>
|
|
167
|
+
Replace direct instantiation with standard string replacement or utility calls, or inject the <code>ReplacePipe</code> properly if needed.</li>
|
|
168
|
+
</ul>
|
|
169
|
+
<h3>5. <code>SantizationService</code> Input Checks</h3>
|
|
170
|
+
<ul>
|
|
171
|
+
<li><strong>File:</strong> <a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/santization/src/lib/santization.service.ts#L23-L25">santization.service.ts</a></li>
|
|
172
|
+
<li><strong>Problem:</strong>
|
|
173
|
+
The service guards against <code>value === null</code> but does not handle <code>undefined</code>. If <code>value</code> is <code>undefined</code>, it bypasses the null-check and attempts to call <code>bypassSecurityTrust...</code> on an undefined value.</li>
|
|
174
|
+
<li><strong>Recommended Fix:</strong>
|
|
175
|
+
Ensure both <code>null</code> and <code>undefined</code> are caught and early-returned as <code>null</code>:<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">if (value === null || value === undefined) {
|
|
176
|
+
return null;
|
|
177
|
+
}</code></pre></div></li>
|
|
178
|
+
</ul>
|
|
179
|
+
<hr>
|
|
180
|
+
<h2>🧪 Test Coverage & Test Suite Quality</h2>
|
|
181
|
+
<h3>1. Extremely Low Test Coverage</h3>
|
|
182
|
+
<ul>
|
|
183
|
+
<li><strong>Status:</strong>
|
|
184
|
+
Out of 11 pipes/services, <strong>only 4 have spec files</strong>.</li>
|
|
185
|
+
<li><strong>Uncovered Code:</strong> <ul>
|
|
186
|
+
<li><code>currency.pipe.ts</code> (0% coverage)</li>
|
|
187
|
+
<li><code>get-from-object.pipe.ts</code> (0% coverage)</li>
|
|
188
|
+
<li><code>join.pipe.ts</code> (0% coverage)</li>
|
|
189
|
+
<li><code>limit.pipe.ts</code> (0% coverage)</li>
|
|
190
|
+
<li><code>slice.pipe.ts</code> (0% coverage)</li>
|
|
191
|
+
<li><code>truncate.pipe.ts</code> (0% coverage)</li>
|
|
192
|
+
<li><code>santization</code> (both Pipe and Service have 0% coverage)</li>
|
|
193
|
+
</ul>
|
|
194
|
+
</li>
|
|
195
|
+
<li><strong>Action Required:</strong>
|
|
196
|
+
Write basic tests for all untargeted files, particularly verifying edge cases like <code>null</code>, <code>undefined</code>, empty inputs, and standard transforms.</li>
|
|
197
|
+
</ul>
|
|
198
|
+
<h3>2. Copy-Paste Error in Test Descriptions</h3>
|
|
199
|
+
<ul>
|
|
200
|
+
<li><strong>File:</strong> <a href="file:///mnt/mmuenker/Projects/rxap/packages/packages/angular/pipes/src/lib/replace.pipe.spec.ts#L3">replace.pipe.spec.ts</a></li>
|
|
201
|
+
<li><strong>Problem:</strong>
|
|
202
|
+
The test suite is described as <code>describe('EscapePipe', ...)</code> instead of <code>describe('ReplacePipe', ...)</code>.</li>
|
|
203
|
+
<li><strong>Action Required:</strong>
|
|
204
|
+
Update the description string to match the class under test.</li>
|
|
205
|
+
</ul>
|
|
206
|
+
<hr>
|
|
207
|
+
<h2>📋 Comprehensive Checklist for Next Steps</h2>
|
|
208
|
+
<ul>
|
|
209
|
+
<li><input disabled="" type="checkbox"> <strong>Add Null guards in pipes:</strong> Add safety checks in <code>JoinPipe</code>, <code>LimitPipe</code>, and <code>SlicePipe</code>.</li>
|
|
210
|
+
<li><input disabled="" type="checkbox"> <strong>Add DI providers in CurrencyPipe:</strong> Put <code>CurrencyPipe</code> under <code>providers</code> of <code>RxapCurrencyPipe</code>.</li>
|
|
211
|
+
<li><input disabled="" type="checkbox"> <strong>Rename/Deprecate <code>slice</code> pipe:</strong> Resolve naming collision with standard Angular <code>slice</code> pipe.</li>
|
|
212
|
+
<li><input disabled="" type="checkbox"> <strong>Initiate API Renaming of <code>santization</code>:</strong> Transition public APIs to <code>sanitization</code>.</li>
|
|
213
|
+
<li><input disabled="" type="checkbox"> <strong>Improve test coverage:</strong> Add <code>.spec.ts</code> files for the remaining 7 uncovered files and write positive/negative/edge cases.</li>
|
|
214
|
+
<li><input disabled="" type="checkbox"> <strong>Fix test description typo:</strong> Update <code>replace.pipe.spec.ts</code> description.</li>
|
|
215
|
+
</ul>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
</div><div class="search-results">
|
|
238
|
+
<div class="has-results">
|
|
239
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
240
|
+
<ul class="search-results-list"></ul>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="no-results">
|
|
243
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
<!-- END CONTENT -->
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
<label class="dark-mode-switch">
|
|
252
|
+
<input type="checkbox">
|
|
253
|
+
<span class="slider">
|
|
254
|
+
<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">
|
|
255
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
256
|
+
</svg>
|
|
257
|
+
</span>
|
|
258
|
+
</label>
|
|
259
|
+
|
|
260
|
+
<script>
|
|
261
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
262
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'getting-started';
|
|
263
|
+
var COMPODOC_CURRENT_PAGE_URL = 'todo.html';
|
|
264
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
265
|
+
</script>
|
|
266
|
+
|
|
267
|
+
<script>
|
|
268
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
269
|
+
checkToggle(darkModeState);
|
|
270
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
271
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
272
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
273
|
+
darkModeState = !darkModeState;
|
|
274
|
+
toggleDarkMode(darkModeState);
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
</script>
|
|
279
|
+
|
|
280
|
+
<script src="./js/libs/custom-elements.min.js"></script>
|
|
281
|
+
<script src="./js/libs/lit-html.js"></script>
|
|
282
|
+
|
|
283
|
+
<script src="./js/menu-wc.js" defer></script>
|
|
284
|
+
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
285
|
+
|
|
286
|
+
<script src="./js/libs/bootstrap-native.js"></script>
|
|
287
|
+
|
|
288
|
+
<script src="./js/libs/es6-shim.min.js"></script>
|
|
289
|
+
<script src="./js/libs/EventDispatcher.js"></script>
|
|
290
|
+
<script src="./js/libs/promise.min.js"></script>
|
|
291
|
+
<script src="./js/libs/zepto.min.js"></script>
|
|
292
|
+
|
|
293
|
+
<script src="./js/compodoc.js"></script>
|
|
294
|
+
|
|
295
|
+
<script src="./js/tabs.js"></script>
|
|
296
|
+
<script src="./js/menu.js"></script>
|
|
297
|
+
<script src="./js/libs/clipboard.min.js"></script>
|
|
298
|
+
<script src="./js/libs/prism.js"></script>
|
|
299
|
+
<script src="./js/sourceCode.js"></script>
|
|
300
|
+
<script src="./js/search/search.js"></script>
|
|
301
|
+
<script src="./js/search/lunr.min.js"></script>
|
|
302
|
+
<script src="./js/search/search-lunr.js"></script>
|
|
303
|
+
<script src="./js/search/search_index.js"></script>
|
|
304
|
+
<script src="./js/lazy-load-graphs.js"></script>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</body>
|
|
308
|
+
</html>
|
package/docs/documentation.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"fileName": "currency.pipe.ts",
|
|
49
49
|
"line": 67,
|
|
50
50
|
"character": 13,
|
|
51
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L67"
|
|
52
52
|
}
|
|
53
53
|
]
|
|
54
54
|
},
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"fileName": "delete-identifier.pipe.ts",
|
|
95
95
|
"line": 18,
|
|
96
96
|
"character": 9,
|
|
97
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
97
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/delete-identifier.pipe.ts#L18"
|
|
98
98
|
}
|
|
99
99
|
],
|
|
100
100
|
"signatures": [
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"fileName": "delete-identifier.pipe.ts",
|
|
110
110
|
"line": 18,
|
|
111
111
|
"character": 9,
|
|
112
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
112
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/delete-identifier.pipe.ts#L18"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
115
|
"typeParameters": [
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"fileName": "delete-identifier.pipe.ts",
|
|
193
193
|
"line": 16,
|
|
194
194
|
"character": 13,
|
|
195
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
195
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/delete-identifier.pipe.ts#L16"
|
|
196
196
|
}
|
|
197
197
|
],
|
|
198
198
|
"implementedTypes": [
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"fileName": "escape-quotation-mark.pipe.ts",
|
|
250
250
|
"line": 13,
|
|
251
251
|
"character": 9,
|
|
252
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
252
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts#L13"
|
|
253
253
|
}
|
|
254
254
|
],
|
|
255
255
|
"signatures": [
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"fileName": "escape-quotation-mark.pipe.ts",
|
|
265
265
|
"line": 13,
|
|
266
266
|
"character": 9,
|
|
267
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
267
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts#L13"
|
|
268
268
|
}
|
|
269
269
|
],
|
|
270
270
|
"parameters": [
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"fileName": "escape-quotation-mark.pipe.ts",
|
|
330
330
|
"line": 11,
|
|
331
331
|
"character": 13,
|
|
332
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
332
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/escape-quotation-mark.pipe.ts#L11"
|
|
333
333
|
}
|
|
334
334
|
],
|
|
335
335
|
"implementedTypes": [
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
"fileName": "get-from-object.pipe.ts",
|
|
385
385
|
"line": 12,
|
|
386
386
|
"character": 2,
|
|
387
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
387
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/get-from-object.pipe.ts#L12"
|
|
388
388
|
}
|
|
389
389
|
],
|
|
390
390
|
"signatures": [
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"fileName": "get-from-object.pipe.ts",
|
|
400
400
|
"line": 12,
|
|
401
401
|
"character": 2,
|
|
402
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
402
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/get-from-object.pipe.ts#L12"
|
|
403
403
|
}
|
|
404
404
|
],
|
|
405
405
|
"parameters": [
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"fileName": "get-from-object.pipe.ts",
|
|
464
464
|
"line": 11,
|
|
465
465
|
"character": 13,
|
|
466
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
466
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/get-from-object.pipe.ts#L11"
|
|
467
467
|
}
|
|
468
468
|
],
|
|
469
469
|
"implementedTypes": [
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"fileName": "join.pipe.ts",
|
|
519
519
|
"line": 13,
|
|
520
520
|
"character": 2,
|
|
521
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
521
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/join.pipe.ts#L13"
|
|
522
522
|
}
|
|
523
523
|
],
|
|
524
524
|
"signatures": [
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"fileName": "join.pipe.ts",
|
|
534
534
|
"line": 13,
|
|
535
535
|
"character": 2,
|
|
536
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
536
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/join.pipe.ts#L13"
|
|
537
537
|
}
|
|
538
538
|
],
|
|
539
539
|
"parameters": [
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"fileName": "join.pipe.ts",
|
|
603
603
|
"line": 11,
|
|
604
604
|
"character": 13,
|
|
605
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
605
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/join.pipe.ts#L11"
|
|
606
606
|
}
|
|
607
607
|
],
|
|
608
608
|
"implementedTypes": [
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
"fileName": "limit.pipe.ts",
|
|
658
658
|
"line": 12,
|
|
659
659
|
"character": 2,
|
|
660
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
660
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/limit.pipe.ts#L12"
|
|
661
661
|
}
|
|
662
662
|
],
|
|
663
663
|
"signatures": [
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
"fileName": "limit.pipe.ts",
|
|
673
673
|
"line": 12,
|
|
674
674
|
"character": 2,
|
|
675
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
675
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/limit.pipe.ts#L12"
|
|
676
676
|
}
|
|
677
677
|
],
|
|
678
678
|
"typeParameters": [
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
"fileName": "limit.pipe.ts",
|
|
762
762
|
"line": 10,
|
|
763
763
|
"character": 13,
|
|
764
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
764
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/limit.pipe.ts#L10"
|
|
765
765
|
}
|
|
766
766
|
],
|
|
767
767
|
"implementedTypes": [
|
|
@@ -818,7 +818,7 @@
|
|
|
818
818
|
"fileName": "replace.pipe.ts",
|
|
819
819
|
"line": 12,
|
|
820
820
|
"character": 9,
|
|
821
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
821
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/replace.pipe.ts#L12"
|
|
822
822
|
}
|
|
823
823
|
],
|
|
824
824
|
"signatures": [
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
"fileName": "replace.pipe.ts",
|
|
834
834
|
"line": 12,
|
|
835
835
|
"character": 9,
|
|
836
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
836
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/replace.pipe.ts#L12"
|
|
837
837
|
}
|
|
838
838
|
],
|
|
839
839
|
"parameters": [
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
"fileName": "replace.pipe.ts",
|
|
914
914
|
"line": 10,
|
|
915
915
|
"character": 13,
|
|
916
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
916
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/replace.pipe.ts#L10"
|
|
917
917
|
}
|
|
918
918
|
],
|
|
919
919
|
"implementedTypes": [
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
"fileName": "currency.pipe.ts",
|
|
947
947
|
"line": 14,
|
|
948
948
|
"character": 2,
|
|
949
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
949
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L14"
|
|
950
950
|
}
|
|
951
951
|
],
|
|
952
952
|
"signatures": [
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
"fileName": "currency.pipe.ts",
|
|
962
962
|
"line": 14,
|
|
963
963
|
"character": 2,
|
|
964
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
964
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L14"
|
|
965
965
|
}
|
|
966
966
|
],
|
|
967
967
|
"parameters": [
|
|
@@ -974,7 +974,7 @@
|
|
|
974
974
|
"type": {
|
|
975
975
|
"type": "reference",
|
|
976
976
|
"target": {
|
|
977
|
-
"sourceFileName": "node_modules/@angular/common/
|
|
977
|
+
"sourceFileName": "node_modules/@angular/common/common_module.d-NEF7UaHr.d.ts",
|
|
978
978
|
"qualifiedName": "CurrencyPipe"
|
|
979
979
|
},
|
|
980
980
|
"name": "CurrencyPipe",
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
"fileName": "currency.pipe.ts",
|
|
1005
1005
|
"line": 50,
|
|
1006
1006
|
"character": 9,
|
|
1007
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1007
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L50"
|
|
1008
1008
|
}
|
|
1009
1009
|
],
|
|
1010
1010
|
"signatures": [
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
"fileName": "currency.pipe.ts",
|
|
1020
1020
|
"line": 50,
|
|
1021
1021
|
"character": 9,
|
|
1022
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1022
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L50"
|
|
1023
1023
|
}
|
|
1024
1024
|
],
|
|
1025
1025
|
"parameters": [
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
"fileName": "currency.pipe.ts",
|
|
1351
1351
|
"line": 12,
|
|
1352
1352
|
"character": 13,
|
|
1353
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1353
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/currency.pipe.ts#L12"
|
|
1354
1354
|
}
|
|
1355
1355
|
],
|
|
1356
1356
|
"implementedTypes": [
|
|
@@ -1405,7 +1405,7 @@
|
|
|
1405
1405
|
"fileName": "slice.pipe.ts",
|
|
1406
1406
|
"line": 12,
|
|
1407
1407
|
"character": 2,
|
|
1408
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1408
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/slice.pipe.ts#L12"
|
|
1409
1409
|
}
|
|
1410
1410
|
],
|
|
1411
1411
|
"signatures": [
|
|
@@ -1420,7 +1420,7 @@
|
|
|
1420
1420
|
"fileName": "slice.pipe.ts",
|
|
1421
1421
|
"line": 12,
|
|
1422
1422
|
"character": 2,
|
|
1423
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1423
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/slice.pipe.ts#L12"
|
|
1424
1424
|
}
|
|
1425
1425
|
],
|
|
1426
1426
|
"typeParameters": [
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
"fileName": "slice.pipe.ts",
|
|
1523
1523
|
"line": 10,
|
|
1524
1524
|
"character": 13,
|
|
1525
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1525
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/slice.pipe.ts#L10"
|
|
1526
1526
|
}
|
|
1527
1527
|
],
|
|
1528
1528
|
"implementedTypes": [
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
"fileName": "to-display.pipe.ts",
|
|
1580
1580
|
"line": 16,
|
|
1581
1581
|
"character": 9,
|
|
1582
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1582
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/to-display.pipe.ts#L16"
|
|
1583
1583
|
}
|
|
1584
1584
|
],
|
|
1585
1585
|
"signatures": [
|
|
@@ -1594,7 +1594,7 @@
|
|
|
1594
1594
|
"fileName": "to-display.pipe.ts",
|
|
1595
1595
|
"line": 16,
|
|
1596
1596
|
"character": 9,
|
|
1597
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1597
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/to-display.pipe.ts#L16"
|
|
1598
1598
|
}
|
|
1599
1599
|
],
|
|
1600
1600
|
"parameters": [
|
|
@@ -1664,7 +1664,7 @@
|
|
|
1664
1664
|
"fileName": "to-display.pipe.ts",
|
|
1665
1665
|
"line": 12,
|
|
1666
1666
|
"character": 13,
|
|
1667
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1667
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/to-display.pipe.ts#L12"
|
|
1668
1668
|
}
|
|
1669
1669
|
],
|
|
1670
1670
|
"implementedTypes": [
|
|
@@ -1719,7 +1719,7 @@
|
|
|
1719
1719
|
"fileName": "truncate.pipe.ts",
|
|
1720
1720
|
"line": 12,
|
|
1721
1721
|
"character": 2,
|
|
1722
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1722
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/truncate.pipe.ts#L12"
|
|
1723
1723
|
}
|
|
1724
1724
|
],
|
|
1725
1725
|
"signatures": [
|
|
@@ -1734,7 +1734,7 @@
|
|
|
1734
1734
|
"fileName": "truncate.pipe.ts",
|
|
1735
1735
|
"line": 12,
|
|
1736
1736
|
"character": 2,
|
|
1737
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1737
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/truncate.pipe.ts#L12"
|
|
1738
1738
|
}
|
|
1739
1739
|
],
|
|
1740
1740
|
"parameters": [
|
|
@@ -1822,7 +1822,7 @@
|
|
|
1822
1822
|
"fileName": "truncate.pipe.ts",
|
|
1823
1823
|
"line": 10,
|
|
1824
1824
|
"character": 13,
|
|
1825
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
1825
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/pipes/src/lib/truncate.pipe.ts#L10"
|
|
1826
1826
|
}
|
|
1827
1827
|
],
|
|
1828
1828
|
"implementedTypes": [
|
|
@@ -1857,7 +1857,7 @@
|
|
|
1857
1857
|
}
|
|
1858
1858
|
],
|
|
1859
1859
|
"packageName": "@rxap/pipes",
|
|
1860
|
-
"packageVersion": "19.
|
|
1860
|
+
"packageVersion": "19.2.0",
|
|
1861
1861
|
"readme": [
|
|
1862
1862
|
{
|
|
1863
1863
|
"kind": "text",
|