@rxap/components 22.0.0-dev.0 → 22.0.0-dev.2

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 (106) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +5 -3
  3. package/compodoc/architecture.html +222 -0
  4. package/compodoc/changelog.html +81 -5
  5. package/compodoc/components/ConfirmComponent.html +112 -116
  6. package/compodoc/components/CopyToClipboardButtonComponent.html +165 -70
  7. package/compodoc/components/CopyToClipboardComponent.html +205 -176
  8. package/compodoc/components/EmptyRouterOutletComponent.html +86 -22
  9. package/compodoc/components/JsonViewerComponent.html +162 -94
  10. package/compodoc/components/NavigateBackButtonComponent.html +111 -26
  11. package/compodoc/dependencies.html +108 -27
  12. package/compodoc/directives/ConfirmDirective.html +266 -139
  13. package/compodoc/index.html +50 -8
  14. package/compodoc/interfaces/Segment.html +254 -184
  15. package/compodoc/js/architecture-graph.js +288 -0
  16. package/compodoc/js/libs/bootstrap-native.js +4 -2
  17. package/compodoc/js/libs/jszip.min.js +13 -0
  18. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  19. package/compodoc/js/libs/tablesort.min.js +3 -3
  20. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  21. package/compodoc/js/libs/vis-network.min.js +78 -0
  22. package/compodoc/js/menu-wc.js +25 -12
  23. package/compodoc/js/menu.js +10 -11
  24. package/compodoc/js/routes/routes_index.js +1 -0
  25. package/compodoc/js/routes.js +142 -34
  26. package/compodoc/js/search/search-lunr.js +6 -8
  27. package/compodoc/js/search/search.js +118 -66
  28. package/compodoc/js/search/search_index.js +2 -2
  29. package/compodoc/js/tabs.js +98 -15
  30. package/compodoc/js/tree.js +44 -7
  31. package/compodoc/license.html +48 -6
  32. package/compodoc/llms.txt +143 -0
  33. package/compodoc/miscellaneous/functions.html +129 -6
  34. package/compodoc/miscellaneous/variables.html +65 -6
  35. package/compodoc/modules.html +44 -3
  36. package/compodoc/overview.html +54 -3
  37. package/compodoc/properties.html +45 -4
  38. package/compodoc/routes.html +227 -0
  39. package/compodoc/styles/compodoc.css +365 -44
  40. package/compodoc/styles/dark.css +16 -0
  41. package/compodoc/template-playground/default-templates.json +192 -0
  42. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  43. package/compodoc/template-playground/main.ts +9 -0
  44. package/compodoc/template-playground/template-editor.service.ts +173 -0
  45. package/compodoc/template-playground/template-playground.component.ts +614 -0
  46. package/compodoc/template-playground/template-playground.module.ts +29 -0
  47. package/compodoc/template-playground/zip-export.service.ts +86 -0
  48. package/compodoc/template-playground-app/app.js +1389 -0
  49. package/compodoc/template-playground-app/index.html +462 -0
  50. package/docs/documentation.json +464 -318
  51. package/docs/html/assets/highlight.css +1 -1
  52. package/docs/html/assets/icons.js +1 -1
  53. package/docs/html/assets/icons.svg +1 -1
  54. package/docs/html/assets/main.js +5 -5
  55. package/docs/html/assets/search.js +1 -1
  56. package/docs/html/assets/style.css +265 -228
  57. package/docs/html/classes/ConfirmComponent.html +76 -4
  58. package/docs/html/classes/ConfirmDirective.html +209 -17
  59. package/docs/html/classes/CopyToClipboardButtonComponent.html +88 -4
  60. package/docs/html/classes/CopyToClipboardComponent.html +106 -9
  61. package/docs/html/classes/EmptyRouterOutletComponent.html +56 -2
  62. package/docs/html/classes/JsonViewerComponent.html +187 -14
  63. package/docs/html/classes/NavigateBackButtonComponent.html +74 -3
  64. package/docs/html/hierarchy.html +29 -0
  65. package/docs/html/index.html +44 -7
  66. package/docs/html/interfaces/Segment.html +79 -6
  67. package/docs/html/modules.html +44 -1
  68. package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +33 -1
  69. package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +33 -1
  70. package/docs/markdown/README.md +6 -4
  71. package/docs/markdown/classes/ConfirmComponent.md +7 -7
  72. package/docs/markdown/classes/ConfirmDirective.md +30 -28
  73. package/docs/markdown/classes/CopyToClipboardButtonComponent.md +7 -7
  74. package/docs/markdown/classes/CopyToClipboardComponent.md +12 -12
  75. package/docs/markdown/classes/EmptyRouterOutletComponent.md +5 -5
  76. package/docs/markdown/classes/JsonViewerComponent.md +20 -20
  77. package/docs/markdown/classes/NavigateBackButtonComponent.md +6 -6
  78. package/docs/markdown/globals.md +2 -2
  79. package/docs/markdown/interfaces/Segment.md +8 -8
  80. package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
  81. package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
  82. package/docs/wiki/Class.ConfirmComponent.md +6 -6
  83. package/docs/wiki/Class.ConfirmDirective.md +29 -27
  84. package/docs/wiki/Class.CopyToClipboardButtonComponent.md +6 -6
  85. package/docs/wiki/Class.CopyToClipboardComponent.md +11 -11
  86. package/docs/wiki/Class.EmptyRouterOutletComponent.md +4 -4
  87. package/docs/wiki/Class.JsonViewerComponent.md +19 -19
  88. package/docs/wiki/Class.NavigateBackButtonComponent.md +5 -5
  89. package/docs/wiki/Home.md +5 -3
  90. package/docs/wiki/Interface.Segment.md +7 -7
  91. package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
  92. package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
  93. package/docs/wiki/globals.md +1 -1
  94. package/fesm2022/rxap-components.mjs +9 -7
  95. package/fesm2022/rxap-components.mjs.map +1 -1
  96. package/generators.json +16 -0
  97. package/package.json +15 -17
  98. package/src/generators/init/generator.js +120 -0
  99. package/src/generators/init/index.js +6 -0
  100. package/src/generators/init/schema.json +8 -0
  101. package/src/generators/package.json +3 -0
  102. package/compodoc/js/libs/vis.min.js +0 -47
  103. package/compodoc/js/menu-wc_es5.js +0 -40
  104. package/compodoc/modules/ConfirmModule/dependencies.svg +0 -78
  105. package/compodoc/modules/ConfirmModule.html +0 -346
  106. package/theme.css +0 -1
@@ -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">
@@ -85,6 +106,10 @@
85
106
 
86
107
 
87
108
 
109
+
110
+
111
+
112
+
88
113
  <ol class="breadcrumb">
89
114
  <li class="breadcrumb-item">Components</li>
90
115
  <li class="breadcrumb-item"
@@ -92,11 +117,20 @@
92
117
  NavigateBackButtonComponent</li>
93
118
  </ol>
94
119
 
120
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
121
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
122
+ <code>src/lib/navigate-back-button/navigate-back-button.component.ts</code>
123
+ </div>
124
+
95
125
  <ul class="nav nav-tabs" role="tablist">
96
126
  <li class="nav-item">
97
127
  <a href="#info" class="nav-link active"
98
128
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
99
129
  </li>
130
+ <li class="nav-item">
131
+ <a href="#api" class="nav-link"
132
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
133
+ </li>
100
134
  <li class="nav-item">
101
135
  <a href="#source" class="nav-link"
102
136
  role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
@@ -116,14 +150,7 @@
116
150
  </ul>
117
151
 
118
152
  <div class="tab-content">
119
- <div class="tab-pane fade active in" id="info"><p class="comment">
120
- <h3>File</h3>
121
- </p>
122
- <p class="comment">
123
- <code>src/lib/navigate-back-button/navigate-back-button.component.ts</code>
124
- </p>
125
-
126
-
153
+ <div class="tab-pane fade active in" id="info">
127
154
 
128
155
 
129
156
 
@@ -161,8 +188,10 @@
161
188
  <tr>
162
189
  <td class="col-md-3">imports</td>
163
190
  <td class="col-md-9">
164
- <code>MatButtonModule</code>
165
- <code>MatIconModule</code>
191
+ <div> <code>MatButtonModule</code>
192
+ </div>
193
+ <div> <code>MatIconModule</code>
194
+ </div>
166
195
  </td>
167
196
  </tr>
168
197
 
@@ -173,6 +202,7 @@
173
202
 
174
203
 
175
204
 
205
+
176
206
  <tr>
177
207
  <td class="col-md-3">templateUrl</td>
178
208
  <td class="col-md-9"><code>./navigate-back-button.component.html</code></td>
@@ -189,33 +219,56 @@
189
219
  </table>
190
220
  </section>
191
221
 
192
- <section data-compodoc="block-index">
222
+ <section data-compodoc="block-relationships">
223
+ <h3>Relationships</h3>
224
+
225
+ <div class="row pt-3">
226
+ <div class="col-sm-6">
227
+ <h4>Used by</h4>
228
+ <p class="comment"><i>No results matching.</i></p>
229
+ </div>
230
+
231
+ <div class="col-sm-6">
232
+ <h4>Depends on</h4>
233
+ <ul class="list-unstyled relationships-list">
234
+ <li>
235
+ <code>MatButtonModule</code>
236
+ </li>
237
+ <li>
238
+ <code>MatIconModule</code>
239
+ </li>
240
+ </ul>
241
+ </div>
242
+ </div>
243
+ </section>
244
+ </div>
245
+
246
+ <div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
193
247
  <h3 id="index">Index</h3>
194
- <table class="table table-sm table-bordered index-table">
195
- <tbody>
196
248
 
249
+ <table class="table table-sm table-bordered index-table">
250
+ <tbody>
197
251
  <tr>
198
- <td class="col-md-4">
252
+ <td class="col-md-3">
199
253
  <h6><b>Methods</b></h6>
200
254
  </td>
201
- </tr>
202
- <tr>
203
- <td class="col-md-4">
255
+ <td class="col-md-9">
204
256
  <ul class="index-list">
205
257
  <li>
258
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
206
259
  <span class="modifier">Public</span>
207
260
  <a href="#navigateBack" >navigateBack</a>
208
261
  </li>
209
262
  </ul>
210
263
  </td>
211
264
  </tr>
265
+ </tbody>
266
+ </table>
212
267
 
213
268
 
214
269
 
215
270
 
216
271
 
217
- </tbody>
218
- </table>
219
272
  </section>
220
273
 
221
274
 
@@ -250,8 +303,8 @@
250
303
 
251
304
  <tr>
252
305
  <td class="col-md-4">
253
- <div class="io-line">Defined in <a href="" data-line="19"
254
- class="link-to-prism">src/lib/navigate-back-button/navigate-back-button.component.ts:19</a></div>
306
+ <div class="io-line">Defined in <a href="" data-line="34"
307
+ class="link-to-prism">src/lib/navigate-back-button/navigate-back-button.component.ts:34</a></div>
255
308
  </td>
256
309
  </tr>
257
310
 
@@ -269,6 +322,7 @@
269
322
  </table>
270
323
  </section>
271
324
 
325
+
272
326
  </div>
273
327
 
274
328
 
@@ -279,7 +333,22 @@
279
333
  } from &#x27;@angular/core&#x27;;
280
334
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
281
335
  import { MatIconModule } from &#x27;@angular/material/icon&#x27;;
282
-
336
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
337
+
338
+ @Showcase&lt;NavigateBackButtonComponent&gt;({
339
+ title: &#x27;Navigate Back Button&#x27;,
340
+ category: &#x27;Components&#x27;,
341
+ description: &#x27;Stroked button that navigates one step back in the browser history. Content can be projected next to the button.&#x27;,
342
+ status: &#x27;stable&#x27;,
343
+ variants: [
344
+ { name: &#x27;Default&#x27; },
345
+ { name: &#x27;With content&#x27;, description: &#x27;The projected content is shown right of the button.&#x27;, content: &#x27;&lt;span&gt;Back to the overview&lt;/span&gt;&#x27; },
346
+ ],
347
+ states: [
348
+ { name: &#x27;Hover&#x27;, pseudo: { hover: &#x27;button&#x27; } },
349
+ { name: &#x27;Focus visible&#x27;, pseudo: { &#x27;focus-visible&#x27;: &#x27;button&#x27; } },
350
+ ],
351
+ })
283
352
  @Component({
284
353
  selector: &#x27;rxap-navigate-back-button&#x27;,
285
354
  templateUrl: &#x27;./navigate-back-button.component.html&#x27;,
@@ -346,7 +415,7 @@ export class NavigateBackButtonComponent {
346
415
 
347
416
  </div>
348
417
 
349
- <script src="../js/libs/vis.min.js"></script>
418
+ <script src="../js/libs/vis-network.min.js"></script>
350
419
  <script src="../js/libs/htmlparser.js"></script>
351
420
  <script src="../js/libs/deep-iterator.js"></script>
352
421
  <script>
@@ -405,6 +474,24 @@ export class NavigateBackButtonComponent {
405
474
 
406
475
  <script>
407
476
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
477
+ var updateDarkModeSwitchOffset = function () {
478
+ var content = document.querySelector('.content');
479
+ var scrollbarWidth = 0;
480
+
481
+ if (content) {
482
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
483
+ }
484
+
485
+ document.documentElement.style.setProperty(
486
+ '--content-scrollbar-width',
487
+ scrollbarWidth + 'px'
488
+ );
489
+ };
490
+
491
+ updateDarkModeSwitchOffset();
492
+ requestAnimationFrame(updateDarkModeSwitchOffset);
493
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
494
+
408
495
  checkToggle(darkModeState);
409
496
  if ($darkModeToggleSwitchers.length > 0) {
410
497
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -420,14 +507,12 @@ export class NavigateBackButtonComponent {
420
507
  <script src="../js/libs/lit-html.js"></script>
421
508
 
422
509
  <script src="../js/menu-wc.js" defer></script>
423
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
424
510
 
425
511
  <script src="../js/libs/bootstrap-native.js"></script>
426
512
 
427
513
  <script src="../js/libs/es6-shim.min.js"></script>
428
514
  <script src="../js/libs/EventDispatcher.js"></script>
429
515
  <script src="../js/libs/promise.min.js"></script>
430
- <script src="../js/libs/zepto.min.js"></script>
431
516
 
432
517
  <script src="../js/compodoc.js"></script>
433
518
 
@@ -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">
@@ -96,39 +117,83 @@
96
117
 
97
118
 
98
119
 
120
+
121
+
122
+
123
+
99
124
  <ol class="breadcrumb">
100
125
  <li class="breadcrumb-item">Dependencies</li>
101
126
  </ol>
102
- <ul class="dependencies-list">
103
- <li>
104
- <b>@nx/devkit</b> : 24.0.6</li>
105
- <li>
106
- <b>tslib</b> : 2.6.2</li>
107
- </ul>
127
+ <div class="dependencies-table-wrapper">
128
+ <table class="table table-sm table-bordered dependencies-table">
129
+ <thead>
130
+ <tr>
131
+ <th>Name</th>
132
+ <th>Version</th>
133
+ </tr>
134
+ </thead>
135
+ <tbody>
136
+ <tr>
137
+ <td><b>@nx/devkit</b></td>
138
+ <td>24.0.6</td>
139
+ </tr>
140
+ <tr>
141
+ <td><b>tslib</b></td>
142
+ <td>2.9.1</td>
143
+ </tr>
144
+ </tbody>
145
+ </table>
146
+ </div>
108
147
 
109
148
 
110
149
  <br/>
111
150
  <ol class="breadcrumb">
112
151
  <li class="breadcrumb-item">Peer dependencies</li>
113
152
  </ol>
114
- <ul class="dependencies-list">
115
- <li>
116
- <b>@angular/cdk</b> : ^22.3.0</li>
117
- <li>
118
- <b>@angular/common</b> : ^22.3.0</li>
119
- <li>
120
- <b>@angular/core</b> : ^22.3.0</li>
121
- <li>
122
- <b>@angular/material</b> : ^22.3.0</li>
123
- <li>
124
- <b>@angular/router</b> : ^22.3.0</li>
125
- <li>
126
- <b>@rxap/rxjs</b> : ^1.1.18</li>
127
- <li>
128
- <b>@rxap/utilities</b> : ^16.5.2</li>
129
- <li>
130
- <b>rxjs</b> : ^7.8.2</li>
131
- </ul>
153
+ <div class="dependencies-table-wrapper">
154
+ <table class="table table-sm table-bordered dependencies-table">
155
+ <thead>
156
+ <tr>
157
+ <th>Name</th>
158
+ <th>Version</th>
159
+ </tr>
160
+ </thead>
161
+ <tbody>
162
+ <tr>
163
+ <td><b>@angular/cdk</b></td>
164
+ <td>^22.0.0</td>
165
+ </tr>
166
+ <tr>
167
+ <td><b>@angular/common</b></td>
168
+ <td>^22.0.0</td>
169
+ </tr>
170
+ <tr>
171
+ <td><b>@angular/core</b></td>
172
+ <td>^22.0.0</td>
173
+ </tr>
174
+ <tr>
175
+ <td><b>@angular/material</b></td>
176
+ <td>^22.0.0</td>
177
+ </tr>
178
+ <tr>
179
+ <td><b>@angular/router</b></td>
180
+ <td>^22.0.0</td>
181
+ </tr>
182
+ <tr>
183
+ <td><b>@rxap/rxjs</b></td>
184
+ <td>^1.1.19-dev.1</td>
185
+ </tr>
186
+ <tr>
187
+ <td><b>@rxap/utilities</b></td>
188
+ <td>^16.5.3-dev.1</td>
189
+ </tr>
190
+ <tr>
191
+ <td><b>rxjs</b></td>
192
+ <td>^7.0.0</td>
193
+ </tr>
194
+ </tbody>
195
+ </table>
196
+ </div>
132
197
 
133
198
 
134
199
 
@@ -167,6 +232,24 @@
167
232
 
168
233
  <script>
169
234
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
235
+ var updateDarkModeSwitchOffset = function () {
236
+ var content = document.querySelector('.content');
237
+ var scrollbarWidth = 0;
238
+
239
+ if (content) {
240
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
241
+ }
242
+
243
+ document.documentElement.style.setProperty(
244
+ '--content-scrollbar-width',
245
+ scrollbarWidth + 'px'
246
+ );
247
+ };
248
+
249
+ updateDarkModeSwitchOffset();
250
+ requestAnimationFrame(updateDarkModeSwitchOffset);
251
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
252
+
170
253
  checkToggle(darkModeState);
171
254
  if ($darkModeToggleSwitchers.length > 0) {
172
255
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -182,14 +265,12 @@
182
265
  <script src="./js/libs/lit-html.js"></script>
183
266
 
184
267
  <script src="./js/menu-wc.js" defer></script>
185
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
186
268
 
187
269
  <script src="./js/libs/bootstrap-native.js"></script>
188
270
 
189
271
  <script src="./js/libs/es6-shim.min.js"></script>
190
272
  <script src="./js/libs/EventDispatcher.js"></script>
191
273
  <script src="./js/libs/promise.min.js"></script>
192
- <script src="./js/libs/zepto.min.js"></script>
193
274
 
194
275
  <script src="./js/compodoc.js"></script>
195
276