@rxap/pipes 21.0.1 → 22.0.0-dev.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.
Files changed (101) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +61 -5
  4. package/compodoc/dependencies.html +92 -19
  5. package/compodoc/index.html +46 -5
  6. package/compodoc/js/architecture-graph.js +288 -0
  7. package/compodoc/js/libs/bootstrap-native.js +4 -2
  8. package/compodoc/js/libs/jszip.min.js +13 -0
  9. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  10. package/compodoc/js/libs/tablesort.min.js +3 -3
  11. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  12. package/compodoc/js/libs/vis-network.min.js +78 -0
  13. package/compodoc/js/menu-wc.js +26 -13
  14. package/compodoc/js/menu.js +10 -11
  15. package/compodoc/js/routes/routes_index.js +1 -0
  16. package/compodoc/js/routes.js +142 -34
  17. package/compodoc/js/search/search-lunr.js +6 -8
  18. package/compodoc/js/search/search.js +118 -66
  19. package/compodoc/js/search/search_index.js +2 -2
  20. package/compodoc/js/tabs.js +98 -15
  21. package/compodoc/js/tree.js +44 -7
  22. package/compodoc/license.html +48 -6
  23. package/compodoc/llms.txt +108 -0
  24. package/compodoc/miscellaneous/functions.html +48 -6
  25. package/compodoc/miscellaneous/variables.html +51 -4
  26. package/compodoc/modules.html +44 -3
  27. package/compodoc/overview.html +55 -4
  28. package/compodoc/pipes/DeleteIdentifierPipe.html +89 -12
  29. package/compodoc/pipes/EscapeQuotationMarkPipe.html +89 -11
  30. package/compodoc/pipes/GetFromObjectPipe.html +86 -10
  31. package/compodoc/pipes/JoinPipe.html +86 -10
  32. package/compodoc/pipes/LimitPipe.html +88 -11
  33. package/compodoc/pipes/ReplacePipe.html +87 -10
  34. package/compodoc/pipes/RxapCurrencyPipe.html +87 -10
  35. package/compodoc/pipes/SlicePipe.html +88 -11
  36. package/compodoc/pipes/ToDisplayPipe.html +87 -10
  37. package/compodoc/pipes/TruncatePipe.html +86 -10
  38. package/compodoc/properties.html +45 -4
  39. package/compodoc/routes.html +227 -0
  40. package/compodoc/styles/compodoc.css +365 -44
  41. package/compodoc/styles/dark.css +16 -0
  42. package/compodoc/template-playground/default-templates.json +192 -0
  43. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  44. package/compodoc/template-playground/main.ts +9 -0
  45. package/compodoc/template-playground/template-editor.service.ts +173 -0
  46. package/compodoc/template-playground/template-playground.component.ts +614 -0
  47. package/compodoc/template-playground/template-playground.module.ts +29 -0
  48. package/compodoc/template-playground/zip-export.service.ts +86 -0
  49. package/compodoc/template-playground-app/app.js +1389 -0
  50. package/compodoc/template-playground-app/index.html +462 -0
  51. package/compodoc/todo.html +45 -136
  52. package/docs/documentation.json +196 -120
  53. package/docs/html/assets/highlight.css +1 -1
  54. package/docs/html/assets/icons.js +1 -1
  55. package/docs/html/assets/icons.svg +1 -1
  56. package/docs/html/assets/main.js +5 -5
  57. package/docs/html/assets/search.js +1 -1
  58. package/docs/html/assets/style.css +265 -228
  59. package/docs/html/classes/DeleteIdentifierPipe.html +87 -3
  60. package/docs/html/classes/EscapeQuotationMarkPipe.html +84 -3
  61. package/docs/html/classes/GetFromObjectPipe.html +84 -3
  62. package/docs/html/classes/JoinPipe.html +84 -3
  63. package/docs/html/classes/LimitPipe.html +88 -3
  64. package/docs/html/classes/ReplacePipe.html +85 -3
  65. package/docs/html/classes/RxapCurrencyPipe.html +97 -8
  66. package/docs/html/classes/SlicePipe.html +89 -3
  67. package/docs/html/classes/ToDisplayPipe.html +84 -3
  68. package/docs/html/classes/TruncatePipe.html +85 -3
  69. package/docs/html/hierarchy.html +29 -0
  70. package/docs/html/index.html +40 -4
  71. package/docs/html/modules.html +36 -1
  72. package/docs/markdown/README.md +1 -1
  73. package/docs/markdown/classes/DeleteIdentifierPipe.md +12 -10
  74. package/docs/markdown/classes/EscapeQuotationMarkPipe.md +8 -8
  75. package/docs/markdown/classes/GetFromObjectPipe.md +6 -6
  76. package/docs/markdown/classes/JoinPipe.md +7 -7
  77. package/docs/markdown/classes/LimitPipe.md +9 -7
  78. package/docs/markdown/classes/ReplacePipe.md +6 -6
  79. package/docs/markdown/classes/RxapCurrencyPipe.md +10 -10
  80. package/docs/markdown/classes/SlicePipe.md +10 -8
  81. package/docs/markdown/classes/ToDisplayPipe.md +8 -8
  82. package/docs/markdown/classes/TruncatePipe.md +8 -8
  83. package/docs/markdown/globals.md +2 -2
  84. package/docs/wiki/Class.DeleteIdentifierPipe.md +11 -9
  85. package/docs/wiki/Class.EscapeQuotationMarkPipe.md +7 -7
  86. package/docs/wiki/Class.GetFromObjectPipe.md +5 -5
  87. package/docs/wiki/Class.JoinPipe.md +6 -6
  88. package/docs/wiki/Class.LimitPipe.md +8 -6
  89. package/docs/wiki/Class.ReplacePipe.md +5 -5
  90. package/docs/wiki/Class.RxapCurrencyPipe.md +9 -9
  91. package/docs/wiki/Class.SlicePipe.md +9 -7
  92. package/docs/wiki/Class.ToDisplayPipe.md +7 -7
  93. package/docs/wiki/Class.TruncatePipe.md +7 -7
  94. package/docs/wiki/globals.md +1 -1
  95. package/fesm2022/rxap-pipes-santization.mjs +91 -63
  96. package/fesm2022/rxap-pipes-santization.mjs.map +1 -1
  97. package/fesm2022/rxap-pipes.mjs +399 -223
  98. package/fesm2022/rxap-pipes.mjs.map +1 -1
  99. package/package.json +12 -12
  100. package/types/rxap-pipes-santization.d.ts +17 -18
  101. package/types/rxap-pipes.d.ts +82 -91
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <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>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -92,11 +113,20 @@
92
113
 
93
114
 
94
115
 
116
+
117
+
118
+
119
+
95
120
  <ol class="breadcrumb">
96
121
  <li class="breadcrumb-item">Pipes</li>
97
122
  <li class="breadcrumb-item" >RxapCurrencyPipe</li>
98
123
  </ol>
99
124
 
125
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
126
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
127
+ <code>src/lib/currency.pipe.ts</code>
128
+ </div>
129
+
100
130
  <ul class="nav nav-tabs" role="tablist">
101
131
  <li class="nav-item">
102
132
  <a href="#info"
@@ -104,6 +134,12 @@
104
134
  class="nav-link active"
105
135
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
106
136
  </li>
137
+ <li class="nav-item">
138
+ <a href="#api"
139
+ class="nav-link"
140
+
141
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
142
+ </li>
107
143
  <li class="nav-item">
108
144
  <a href="#source"
109
145
  class="nav-link"
@@ -115,13 +151,6 @@
115
151
  <div class="tab-content">
116
152
  <div class="tab-pane fade active in" id="info">
117
153
 
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
154
 
126
155
 
127
156
 
@@ -141,6 +170,38 @@
141
170
  </table>
142
171
  </section>
143
172
 
173
+
174
+ </div>
175
+
176
+ <div class="tab-pane fade " id="api">
177
+ <section data-compodoc="block-index">
178
+ <h3 id="index">Index</h3>
179
+
180
+ <table class="table table-sm table-bordered index-table">
181
+ <tbody>
182
+ <tr>
183
+ <td class="col-md-3">
184
+ <h6><b>Methods</b></h6>
185
+ </td>
186
+ <td class="col-md-9">
187
+ <ul class="index-list">
188
+ <li>
189
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
190
+ <span class="modifier">Public</span>
191
+ <a href="#transform" >transform</a>
192
+ </li>
193
+ </ul>
194
+ </td>
195
+ </tr>
196
+ </tbody>
197
+ </table>
198
+
199
+
200
+
201
+
202
+
203
+ </section>
204
+
144
205
  <section data-compodoc="block-methods">
145
206
 
146
207
  <h3 id="methods">
@@ -448,6 +509,24 @@ export class RxapCurrencyPipe implements PipeTransform {
448
509
 
449
510
  <script>
450
511
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
512
+ var updateDarkModeSwitchOffset = function () {
513
+ var content = document.querySelector('.content');
514
+ var scrollbarWidth = 0;
515
+
516
+ if (content) {
517
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
518
+ }
519
+
520
+ document.documentElement.style.setProperty(
521
+ '--content-scrollbar-width',
522
+ scrollbarWidth + 'px'
523
+ );
524
+ };
525
+
526
+ updateDarkModeSwitchOffset();
527
+ requestAnimationFrame(updateDarkModeSwitchOffset);
528
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
529
+
451
530
  checkToggle(darkModeState);
452
531
  if ($darkModeToggleSwitchers.length > 0) {
453
532
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -463,14 +542,12 @@ export class RxapCurrencyPipe implements PipeTransform {
463
542
  <script src="../js/libs/lit-html.js"></script>
464
543
 
465
544
  <script src="../js/menu-wc.js" defer></script>
466
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
467
545
 
468
546
  <script src="../js/libs/bootstrap-native.js"></script>
469
547
 
470
548
  <script src="../js/libs/es6-shim.min.js"></script>
471
549
  <script src="../js/libs/EventDispatcher.js"></script>
472
550
  <script src="../js/libs/promise.min.js"></script>
473
- <script src="../js/libs/zepto.min.js"></script>
474
551
 
475
552
  <script src="../js/compodoc.js"></script>
476
553
 
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <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>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -92,11 +113,20 @@
92
113
 
93
114
 
94
115
 
116
+
117
+
118
+
119
+
95
120
  <ol class="breadcrumb">
96
121
  <li class="breadcrumb-item">Pipes</li>
97
122
  <li class="breadcrumb-item" >SlicePipe</li>
98
123
  </ol>
99
124
 
125
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
126
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
127
+ <code>src/lib/slice.pipe.ts</code>
128
+ </div>
129
+
100
130
  <ul class="nav nav-tabs" role="tablist">
101
131
  <li class="nav-item">
102
132
  <a href="#info"
@@ -104,6 +134,12 @@
104
134
  class="nav-link active"
105
135
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
106
136
  </li>
137
+ <li class="nav-item">
138
+ <a href="#api"
139
+ class="nav-link"
140
+
141
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
142
+ </li>
107
143
  <li class="nav-item">
108
144
  <a href="#source"
109
145
  class="nav-link"
@@ -115,13 +151,6 @@
115
151
  <div class="tab-content">
116
152
  <div class="tab-pane fade active in" id="info">
117
153
 
118
- <p class="comment">
119
- <h3>File</h3>
120
- </p>
121
- <p class="comment">
122
- <code>src/lib/slice.pipe.ts</code>
123
- </p>
124
-
125
154
 
126
155
 
127
156
 
@@ -141,6 +170,37 @@
141
170
  </table>
142
171
  </section>
143
172
 
173
+
174
+ </div>
175
+
176
+ <div class="tab-pane fade " id="api">
177
+ <section data-compodoc="block-index">
178
+ <h3 id="index">Index</h3>
179
+
180
+ <table class="table table-sm table-bordered index-table">
181
+ <tbody>
182
+ <tr>
183
+ <td class="col-md-3">
184
+ <h6><b>Methods</b></h6>
185
+ </td>
186
+ <td class="col-md-9">
187
+ <ul class="index-list">
188
+ <li>
189
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
190
+ <a href="#transform" >transform</a>
191
+ </li>
192
+ </ul>
193
+ </td>
194
+ </tr>
195
+ </tbody>
196
+ </table>
197
+
198
+
199
+
200
+
201
+
202
+ </section>
203
+
144
204
  <section data-compodoc="block-methods">
145
205
 
146
206
  <h3 id="methods">
@@ -159,7 +219,7 @@
159
219
  </tr>
160
220
  <tr>
161
221
  <td class="col-md-4">
162
- <code>transform(value, start: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, end?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code>
222
+ <code>transform&lt;T&gt;(value: {}, start: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, end?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code>
163
223
  </td>
164
224
  </tr>
165
225
 
@@ -198,6 +258,7 @@
198
258
  <tr>
199
259
  <td>value</td>
200
260
  <td>
261
+ <code>{}</code>
201
262
  </td>
202
263
 
203
264
  <td>
@@ -312,6 +373,24 @@ export class SlicePipe implements PipeTransform {
312
373
 
313
374
  <script>
314
375
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
376
+ var updateDarkModeSwitchOffset = function () {
377
+ var content = document.querySelector('.content');
378
+ var scrollbarWidth = 0;
379
+
380
+ if (content) {
381
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
382
+ }
383
+
384
+ document.documentElement.style.setProperty(
385
+ '--content-scrollbar-width',
386
+ scrollbarWidth + 'px'
387
+ );
388
+ };
389
+
390
+ updateDarkModeSwitchOffset();
391
+ requestAnimationFrame(updateDarkModeSwitchOffset);
392
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
393
+
315
394
  checkToggle(darkModeState);
316
395
  if ($darkModeToggleSwitchers.length > 0) {
317
396
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -327,14 +406,12 @@ export class SlicePipe implements PipeTransform {
327
406
  <script src="../js/libs/lit-html.js"></script>
328
407
 
329
408
  <script src="../js/menu-wc.js" defer></script>
330
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
331
409
 
332
410
  <script src="../js/libs/bootstrap-native.js"></script>
333
411
 
334
412
  <script src="../js/libs/es6-shim.min.js"></script>
335
413
  <script src="../js/libs/EventDispatcher.js"></script>
336
414
  <script src="../js/libs/promise.min.js"></script>
337
- <script src="../js/libs/zepto.min.js"></script>
338
415
 
339
416
  <script src="../js/compodoc.js"></script>
340
417
 
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <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>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -92,11 +113,20 @@
92
113
 
93
114
 
94
115
 
116
+
117
+
118
+
119
+
95
120
  <ol class="breadcrumb">
96
121
  <li class="breadcrumb-item">Pipes</li>
97
122
  <li class="breadcrumb-item" >ToDisplayPipe</li>
98
123
  </ol>
99
124
 
125
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
126
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
127
+ <code>src/lib/to-display.pipe.ts</code>
128
+ </div>
129
+
100
130
  <ul class="nav nav-tabs" role="tablist">
101
131
  <li class="nav-item">
102
132
  <a href="#info"
@@ -104,6 +134,12 @@
104
134
  class="nav-link active"
105
135
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
106
136
  </li>
137
+ <li class="nav-item">
138
+ <a href="#api"
139
+ class="nav-link"
140
+
141
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
142
+ </li>
107
143
  <li class="nav-item">
108
144
  <a href="#source"
109
145
  class="nav-link"
@@ -115,13 +151,6 @@
115
151
  <div class="tab-content">
116
152
  <div class="tab-pane fade active in" id="info">
117
153
 
118
- <p class="comment">
119
- <h3>File</h3>
120
- </p>
121
- <p class="comment">
122
- <code>src/lib/to-display.pipe.ts</code>
123
- </p>
124
-
125
154
 
126
155
 
127
156
 
@@ -141,6 +170,38 @@
141
170
  </table>
142
171
  </section>
143
172
 
173
+
174
+ </div>
175
+
176
+ <div class="tab-pane fade " id="api">
177
+ <section data-compodoc="block-index">
178
+ <h3 id="index">Index</h3>
179
+
180
+ <table class="table table-sm table-bordered index-table">
181
+ <tbody>
182
+ <tr>
183
+ <td class="col-md-3">
184
+ <h6><b>Methods</b></h6>
185
+ </td>
186
+ <td class="col-md-9">
187
+ <ul class="index-list">
188
+ <li>
189
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
190
+ <span class="modifier">Public</span>
191
+ <a href="#transform" >transform</a>
192
+ </li>
193
+ </ul>
194
+ </td>
195
+ </tr>
196
+ </tbody>
197
+ </table>
198
+
199
+
200
+
201
+
202
+
203
+ </section>
204
+
144
205
  <section data-compodoc="block-methods">
145
206
 
146
207
  <h3 id="methods">
@@ -307,6 +368,24 @@ export class ToDisplayPipe implements PipeTransform {
307
368
 
308
369
  <script>
309
370
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
371
+ var updateDarkModeSwitchOffset = function () {
372
+ var content = document.querySelector('.content');
373
+ var scrollbarWidth = 0;
374
+
375
+ if (content) {
376
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
377
+ }
378
+
379
+ document.documentElement.style.setProperty(
380
+ '--content-scrollbar-width',
381
+ scrollbarWidth + 'px'
382
+ );
383
+ };
384
+
385
+ updateDarkModeSwitchOffset();
386
+ requestAnimationFrame(updateDarkModeSwitchOffset);
387
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
388
+
310
389
  checkToggle(darkModeState);
311
390
  if ($darkModeToggleSwitchers.length > 0) {
312
391
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -322,14 +401,12 @@ export class ToDisplayPipe implements PipeTransform {
322
401
  <script src="../js/libs/lit-html.js"></script>
323
402
 
324
403
  <script src="../js/menu-wc.js" defer></script>
325
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
326
404
 
327
405
  <script src="../js/libs/bootstrap-native.js"></script>
328
406
 
329
407
  <script src="../js/libs/es6-shim.min.js"></script>
330
408
  <script src="../js/libs/EventDispatcher.js"></script>
331
409
  <script src="../js/libs/promise.min.js"></script>
332
- <script src="../js/libs/zepto.min.js"></script>
333
410
 
334
411
  <script src="../js/compodoc.js"></script>
335
412
 
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <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>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -92,11 +113,20 @@
92
113
 
93
114
 
94
115
 
116
+
117
+
118
+
119
+
95
120
  <ol class="breadcrumb">
96
121
  <li class="breadcrumb-item">Pipes</li>
97
122
  <li class="breadcrumb-item" >TruncatePipe</li>
98
123
  </ol>
99
124
 
125
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
126
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
127
+ <code>src/lib/truncate.pipe.ts</code>
128
+ </div>
129
+
100
130
  <ul class="nav nav-tabs" role="tablist">
101
131
  <li class="nav-item">
102
132
  <a href="#info"
@@ -104,6 +134,12 @@
104
134
  class="nav-link active"
105
135
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
106
136
  </li>
137
+ <li class="nav-item">
138
+ <a href="#api"
139
+ class="nav-link"
140
+
141
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
142
+ </li>
107
143
  <li class="nav-item">
108
144
  <a href="#source"
109
145
  class="nav-link"
@@ -115,13 +151,6 @@
115
151
  <div class="tab-content">
116
152
  <div class="tab-pane fade active in" id="info">
117
153
 
118
- <p class="comment">
119
- <h3>File</h3>
120
- </p>
121
- <p class="comment">
122
- <code>src/lib/truncate.pipe.ts</code>
123
- </p>
124
-
125
154
 
126
155
 
127
156
 
@@ -141,6 +170,37 @@
141
170
  </table>
142
171
  </section>
143
172
 
173
+
174
+ </div>
175
+
176
+ <div class="tab-pane fade " id="api">
177
+ <section data-compodoc="block-index">
178
+ <h3 id="index">Index</h3>
179
+
180
+ <table class="table table-sm table-bordered index-table">
181
+ <tbody>
182
+ <tr>
183
+ <td class="col-md-3">
184
+ <h6><b>Methods</b></h6>
185
+ </td>
186
+ <td class="col-md-9">
187
+ <ul class="index-list">
188
+ <li>
189
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
190
+ <a href="#transform" >transform</a>
191
+ </li>
192
+ </ul>
193
+ </td>
194
+ </tr>
195
+ </tbody>
196
+ </table>
197
+
198
+
199
+
200
+
201
+
202
+ </section>
203
+
144
204
  <section data-compodoc="block-methods">
145
205
 
146
206
  <h3 id="methods">
@@ -320,6 +380,24 @@ export class TruncatePipe implements PipeTransform {
320
380
 
321
381
  <script>
322
382
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
383
+ var updateDarkModeSwitchOffset = function () {
384
+ var content = document.querySelector('.content');
385
+ var scrollbarWidth = 0;
386
+
387
+ if (content) {
388
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
389
+ }
390
+
391
+ document.documentElement.style.setProperty(
392
+ '--content-scrollbar-width',
393
+ scrollbarWidth + 'px'
394
+ );
395
+ };
396
+
397
+ updateDarkModeSwitchOffset();
398
+ requestAnimationFrame(updateDarkModeSwitchOffset);
399
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
400
+
323
401
  checkToggle(darkModeState);
324
402
  if ($darkModeToggleSwitchers.length > 0) {
325
403
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -335,14 +413,12 @@ export class TruncatePipe implements PipeTransform {
335
413
  <script src="../js/libs/lit-html.js"></script>
336
414
 
337
415
  <script src="../js/menu-wc.js" defer></script>
338
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
339
416
 
340
417
  <script src="../js/libs/bootstrap-native.js"></script>
341
418
 
342
419
  <script src="../js/libs/es6-shim.min.js"></script>
343
420
  <script src="../js/libs/EventDispatcher.js"></script>
344
421
  <script src="../js/libs/promise.min.js"></script>
345
- <script src="../js/libs/zepto.min.js"></script>
346
422
 
347
423
  <script src="../js/compodoc.js"></script>
348
424