@rxap/components 22.0.0-dev.0 → 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 (94) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +65 -5
  4. package/compodoc/components/ConfirmComponent.html +112 -116
  5. package/compodoc/components/CopyToClipboardButtonComponent.html +165 -70
  6. package/compodoc/components/CopyToClipboardComponent.html +205 -176
  7. package/compodoc/components/EmptyRouterOutletComponent.html +86 -22
  8. package/compodoc/components/JsonViewerComponent.html +162 -94
  9. package/compodoc/components/NavigateBackButtonComponent.html +111 -26
  10. package/compodoc/dependencies.html +108 -27
  11. package/compodoc/directives/ConfirmDirective.html +266 -139
  12. package/compodoc/index.html +46 -5
  13. package/compodoc/interfaces/Segment.html +254 -184
  14. package/compodoc/js/architecture-graph.js +288 -0
  15. package/compodoc/js/libs/bootstrap-native.js +4 -2
  16. package/compodoc/js/libs/jszip.min.js +13 -0
  17. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  18. package/compodoc/js/libs/tablesort.min.js +3 -3
  19. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  20. package/compodoc/js/libs/vis-network.min.js +78 -0
  21. package/compodoc/js/menu-wc.js +25 -12
  22. package/compodoc/js/menu.js +10 -11
  23. package/compodoc/js/routes/routes_index.js +1 -0
  24. package/compodoc/js/routes.js +142 -34
  25. package/compodoc/js/search/search-lunr.js +6 -8
  26. package/compodoc/js/search/search.js +118 -66
  27. package/compodoc/js/search/search_index.js +2 -2
  28. package/compodoc/js/tabs.js +98 -15
  29. package/compodoc/js/tree.js +44 -7
  30. package/compodoc/license.html +48 -6
  31. package/compodoc/llms.txt +141 -0
  32. package/compodoc/miscellaneous/functions.html +48 -6
  33. package/compodoc/miscellaneous/variables.html +65 -6
  34. package/compodoc/modules.html +44 -3
  35. package/compodoc/overview.html +54 -3
  36. package/compodoc/properties.html +45 -4
  37. package/compodoc/routes.html +227 -0
  38. package/compodoc/styles/compodoc.css +365 -44
  39. package/compodoc/styles/dark.css +16 -0
  40. package/compodoc/template-playground/default-templates.json +192 -0
  41. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  42. package/compodoc/template-playground/main.ts +9 -0
  43. package/compodoc/template-playground/template-editor.service.ts +173 -0
  44. package/compodoc/template-playground/template-playground.component.ts +614 -0
  45. package/compodoc/template-playground/template-playground.module.ts +29 -0
  46. package/compodoc/template-playground/zip-export.service.ts +86 -0
  47. package/compodoc/template-playground-app/app.js +1389 -0
  48. package/compodoc/template-playground-app/index.html +462 -0
  49. package/docs/documentation.json +436 -314
  50. package/docs/html/assets/highlight.css +1 -1
  51. package/docs/html/assets/icons.js +1 -1
  52. package/docs/html/assets/icons.svg +1 -1
  53. package/docs/html/assets/main.js +5 -5
  54. package/docs/html/assets/search.js +1 -1
  55. package/docs/html/assets/style.css +265 -228
  56. package/docs/html/classes/ConfirmComponent.html +76 -4
  57. package/docs/html/classes/ConfirmDirective.html +209 -17
  58. package/docs/html/classes/CopyToClipboardButtonComponent.html +88 -4
  59. package/docs/html/classes/CopyToClipboardComponent.html +106 -9
  60. package/docs/html/classes/EmptyRouterOutletComponent.html +56 -2
  61. package/docs/html/classes/JsonViewerComponent.html +187 -14
  62. package/docs/html/classes/NavigateBackButtonComponent.html +74 -3
  63. package/docs/html/hierarchy.html +29 -0
  64. package/docs/html/index.html +40 -4
  65. package/docs/html/interfaces/Segment.html +79 -6
  66. package/docs/html/modules.html +44 -1
  67. package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +33 -1
  68. package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +33 -1
  69. package/docs/markdown/README.md +1 -1
  70. package/docs/markdown/classes/ConfirmComponent.md +7 -7
  71. package/docs/markdown/classes/ConfirmDirective.md +30 -28
  72. package/docs/markdown/classes/CopyToClipboardButtonComponent.md +7 -7
  73. package/docs/markdown/classes/CopyToClipboardComponent.md +12 -12
  74. package/docs/markdown/classes/EmptyRouterOutletComponent.md +5 -5
  75. package/docs/markdown/classes/JsonViewerComponent.md +20 -20
  76. package/docs/markdown/classes/NavigateBackButtonComponent.md +6 -6
  77. package/docs/markdown/globals.md +2 -2
  78. package/docs/markdown/interfaces/Segment.md +8 -8
  79. package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
  80. package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
  81. package/docs/wiki/Class.ConfirmComponent.md +6 -6
  82. package/docs/wiki/Class.ConfirmDirective.md +29 -27
  83. package/docs/wiki/Class.CopyToClipboardButtonComponent.md +6 -6
  84. package/docs/wiki/Class.CopyToClipboardComponent.md +11 -11
  85. package/docs/wiki/Class.EmptyRouterOutletComponent.md +4 -4
  86. package/docs/wiki/Class.JsonViewerComponent.md +19 -19
  87. package/docs/wiki/Class.NavigateBackButtonComponent.md +5 -5
  88. package/docs/wiki/Interface.Segment.md +7 -7
  89. package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
  90. package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
  91. package/docs/wiki/globals.md +1 -1
  92. package/fesm2022/rxap-components.mjs +9 -7
  93. package/fesm2022/rxap-components.mjs.map +1 -1
  94. package/package.json +12 -12
@@ -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,6 +117,11 @@
92
117
  EmptyRouterOutletComponent</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/empty-router-outlet/empty-router-outlet.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"
@@ -112,14 +142,7 @@
112
142
  </ul>
113
143
 
114
144
  <div class="tab-content">
115
- <div class="tab-pane fade active in" id="info"><p class="comment">
116
- <h3>File</h3>
117
- </p>
118
- <p class="comment">
119
- <code>src/lib/empty-router-outlet/empty-router-outlet.component.ts</code>
120
- </p>
121
-
122
-
145
+ <div class="tab-pane fade active in" id="info">
123
146
 
124
147
 
125
148
 
@@ -153,13 +176,15 @@
153
176
  <tr>
154
177
  <td class="col-md-3">imports</td>
155
178
  <td class="col-md-9">
156
- <code>RouterOutlet</code>
179
+ <div> <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
180
+ </div>
157
181
  </td>
158
182
  </tr>
159
183
 
160
184
 
161
185
 
162
186
 
187
+
163
188
  <tr>
164
189
  <td class="col-md-3">templateUrl</td>
165
190
  <td class="col-md-9"><code>./empty-router-outlet.component.html</code></td>
@@ -176,24 +201,47 @@
176
201
  </table>
177
202
  </section>
178
203
 
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
204
+ <section data-compodoc="block-relationships">
205
+ <h3>Relationships</h3>
206
+
207
+ <div class="row pt-3">
208
+ <div class="col-sm-6">
209
+ <h4>Used by</h4>
210
+ <p class="comment"><i>No results matching.</i></p>
211
+ </div>
212
+
213
+ <div class="col-sm-6">
214
+ <h4>Depends on</h4>
215
+ <ul class="list-unstyled relationships-list">
216
+ <li>
217
+ <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
218
+ </li>
219
+ </ul>
220
+ </div>
221
+ </div>
222
+ </section>
187
223
  </div>
188
224
 
189
225
 
226
+
190
227
  <div class="tab-pane fade tab-source-code" id="source">
191
228
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
192
229
  ChangeDetectionStrategy,
193
230
  Component,
194
231
  } from &#x27;@angular/core&#x27;;
195
232
  import { RouterOutlet } from &#x27;@angular/router&#x27;;
196
-
233
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
234
+
235
+ @Showcase&lt;EmptyRouterOutletComponent&gt;({
236
+ title: &#x27;Empty Router Outlet&#x27;,
237
+ category: &#x27;Components&#x27;,
238
+ description: &#x27;Component that only renders a &#x60;router-outlet&#x60;. It is used as parent route component to group child routes. Without an activated child route it renders nothing, the dashed frame is only part of the showcase.&#x27;,
239
+ status: &#x27;stable&#x27;,
240
+ host: { template: &#x27;&lt;div style&#x3D;&quot;min-width: 240px; min-height: 48px; padding: 8px; border: 1px dashed currentColor&quot;&gt;&lt;rxap-empty-router-outlet /&gt;&lt;/div&gt;&#x27; },
241
+ variants: [
242
+ { name: &#x27;Default&#x27; },
243
+ ],
244
+ })
197
245
  @Component({
198
246
  // the selector is required to prevent a component ID collision with the component ɵEmptyOutletComponent from the @angular/router package
199
247
  selector: &#x27;rxap-empty-router-outlet&#x27;,
@@ -233,7 +281,7 @@ export class EmptyRouterOutletComponent {
233
281
 
234
282
  </div>
235
283
 
236
- <script src="../js/libs/vis.min.js"></script>
284
+ <script src="../js/libs/vis-network.min.js"></script>
237
285
  <script src="../js/libs/htmlparser.js"></script>
238
286
  <script src="../js/libs/deep-iterator.js"></script>
239
287
  <script>
@@ -292,6 +340,24 @@ export class EmptyRouterOutletComponent {
292
340
 
293
341
  <script>
294
342
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
343
+ var updateDarkModeSwitchOffset = function () {
344
+ var content = document.querySelector('.content');
345
+ var scrollbarWidth = 0;
346
+
347
+ if (content) {
348
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
349
+ }
350
+
351
+ document.documentElement.style.setProperty(
352
+ '--content-scrollbar-width',
353
+ scrollbarWidth + 'px'
354
+ );
355
+ };
356
+
357
+ updateDarkModeSwitchOffset();
358
+ requestAnimationFrame(updateDarkModeSwitchOffset);
359
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
360
+
295
361
  checkToggle(darkModeState);
296
362
  if ($darkModeToggleSwitchers.length > 0) {
297
363
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -307,14 +373,12 @@ export class EmptyRouterOutletComponent {
307
373
  <script src="../js/libs/lit-html.js"></script>
308
374
 
309
375
  <script src="../js/menu-wc.js" defer></script>
310
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
311
376
 
312
377
  <script src="../js/libs/bootstrap-native.js"></script>
313
378
 
314
379
  <script src="../js/libs/es6-shim.min.js"></script>
315
380
  <script src="../js/libs/EventDispatcher.js"></script>
316
381
  <script src="../js/libs/promise.min.js"></script>
317
- <script src="../js/libs/zepto.min.js"></script>
318
382
 
319
383
  <script src="../js/compodoc.js"></script>
320
384
 
@@ -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
  JsonViewerComponent</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/json-viewer/json-viewer.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/json-viewer/json-viewer.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>NgClass</code>
165
- <code><a href="../components/JsonViewerComponent.html" target="_self" >forwardRef(() &#x3D;&gt; JsonViewerComponent)</a></code>
191
+ <div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
192
+ </div>
193
+ <div> <code><a href="../components/JsonViewerComponent.html" target="_self" >forwardRef(() &#x3D;&gt; JsonViewerComponent)</a></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>./json-viewer.component.html</code></td>
@@ -189,106 +219,135 @@
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><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
236
+ </li>
237
+ <li>
238
+ <code><a href="../components/JsonViewerComponent.html" target="_self" >forwardRef(() &#x3D;&gt; JsonViewerComponent)</a></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>
248
+ <table class="table table-sm table-bordered index-table">
249
+ <tbody>
196
250
  <tr>
197
- <td class="col-md-4">
251
+ <td class="col-md-3">
198
252
  <h6><b>Properties</b></h6>
199
253
  </td>
200
- </tr>
201
- <tr>
202
- <td class="col-md-4">
254
+ <td class="col-md-9">
203
255
  <ul class="index-list">
204
256
  <li>
205
- <span class="modifier">Public</span>
206
- <span class="modifier">Readonly</span>
207
- <a href="#expanded" >expanded</a>
208
- </li>
209
- <li>
257
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
210
258
  <span class="modifier">Public</span>
211
259
  <a href="#ignoredProperties" >ignoredProperties</a>
212
260
  </li>
213
261
  <li>
262
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
214
263
  <span class="modifier">Public</span>
215
264
  <a href="#ignoredTypes" >ignoredTypes</a>
216
265
  </li>
217
266
  <li>
267
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
218
268
  <span class="modifier">Public</span>
219
269
  <span class="modifier">Readonly</span>
220
270
  <a href="#inspectValue" >inspectValue</a>
221
271
  </li>
222
272
  <li>
223
- <span class="modifier">Public</span>
224
- <span class="modifier">Readonly</span>
225
- <a href="#json" >json</a>
226
- </li>
227
- <li>
273
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
228
274
  <span class="modifier">Public</span>
229
275
  <span class="modifier">Readonly</span>
230
276
  <a href="#segments" >segments</a>
231
277
  </li>
232
278
  <li>
279
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
233
280
  <span class="modifier">Public</span>
234
281
  <a href="#subscriptions" >subscriptions</a>
235
282
  </li>
236
283
  </ul>
237
284
  </td>
238
285
  </tr>
286
+ </tbody>
287
+ </table>
239
288
 
289
+ <table class="table table-sm table-bordered index-table">
290
+ <tbody>
240
291
  <tr>
241
- <td class="col-md-4">
292
+ <td class="col-md-3">
242
293
  <h6><b>Methods</b></h6>
243
294
  </td>
244
- </tr>
245
- <tr>
246
- <td class="col-md-4">
295
+ <td class="col-md-9">
247
296
  <ul class="index-list">
248
297
  <li>
298
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
249
299
  <span class="modifier">Public</span>
250
300
  <a href="#buildSegments" >buildSegments</a>
251
301
  </li>
252
302
  <li>
303
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
253
304
  <span class="modifier">Public</span>
254
305
  <a href="#cleanObject" >cleanObject</a>
255
306
  </li>
256
307
  <li>
308
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
257
309
  <span class="modifier">Public</span>
258
310
  <a href="#isExpandable" >isExpandable</a>
259
311
  </li>
260
312
  <li>
313
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
261
314
  <span class="modifier">Public</span>
262
315
  <a href="#setInspectValue" >setInspectValue</a>
263
316
  </li>
264
317
  <li>
318
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
265
319
  <span class="modifier">Public</span>
266
320
  <a href="#toggle" >toggle</a>
267
321
  </li>
268
322
  </ul>
269
323
  </td>
270
324
  </tr>
325
+ </tbody>
326
+ </table>
271
327
 
328
+ <table class="table table-sm table-bordered index-table">
329
+ <tbody>
272
330
  <tr>
273
- <td class="col-md-4">
331
+ <td class="col-md-3">
274
332
  <h6><b>Inputs</b></h6>
275
333
  </td>
276
- </tr>
277
- <tr>
278
- <td class="col-md-4">
334
+ <td class="col-md-9">
279
335
  <ul class="index-list">
280
336
  <li>
281
- <a href="#expanded" >expanded</a>
337
+ <span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#expanded" >expanded</a>
338
+ </li>
339
+ <li>
340
+ <span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#json" >json</a>
282
341
  </li>
283
342
  </ul>
284
343
  </td>
285
344
  </tr>
345
+ </tbody>
346
+ </table>
286
347
 
287
348
 
288
349
 
289
350
 
290
- </tbody>
291
- </table>
292
351
  </section>
293
352
 
294
353
  <section data-compodoc="block-constructor">
@@ -320,6 +379,12 @@
320
379
  <b>expanded</b>
321
380
  </td>
322
381
  </tr>
382
+ <tr>
383
+ <td class="col-md-4">
384
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
385
+
386
+ </td>
387
+ </tr>
323
388
  <tr>
324
389
  <td class="col-md-4">
325
390
  <i>Default value : </i><code>false</code>
@@ -332,10 +397,32 @@
332
397
  </tr>
333
398
  </tbody>
334
399
  </table>
400
+ <table class="table table-sm table-bordered">
401
+ <tbody>
402
+ <tr>
403
+ <td class="col-md-4">
404
+ <a name="json"></a>
405
+ <b>json</b>
406
+ </td>
407
+ </tr>
408
+ <tr>
409
+ <td class="col-md-4">
410
+ <i>Type : </i> <code>object | Record&lt;string | number | symbol, unknown&gt;</code>
411
+
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td class="col-md-2" colspan="2">
416
+ <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/json-viewer/json-viewer.component.ts:43</a></div>
417
+ </td>
418
+ </tr>
419
+ </tbody>
420
+ </table>
335
421
  </section>
336
422
 
337
423
 
338
424
 
425
+
339
426
  <section data-compodoc="block-methods">
340
427
 
341
428
  <h3 id="methods">
@@ -705,38 +792,12 @@
705
792
  </tbody>
706
793
  </table>
707
794
  </section>
795
+
708
796
  <section data-compodoc="block-properties">
709
797
 
710
798
  <h3 id="inputs">
711
799
  Properties
712
800
  </h3>
713
- <table class="table table-sm table-bordered">
714
- <tbody>
715
- <tr>
716
- <td class="col-md-4">
717
- <a name="expanded"></a>
718
- <span class="name">
719
- <span class="modifier">Public</span>
720
- <span class="modifier">Readonly</span>
721
- <span ><b>expanded</b></span>
722
- <a href="#expanded"><span class="icon ion-ios-link"></span></a>
723
- </span>
724
- </td>
725
- </tr>
726
- <tr>
727
- <td class="col-md-4">
728
- <i>Default value : </i><code>false</code>
729
- </td>
730
- </tr>
731
- <tr>
732
- <td class="col-md-4">
733
- <div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/json-viewer/json-viewer.component.ts:44</a></div>
734
- </td>
735
- </tr>
736
-
737
-
738
- </tbody>
739
- </table>
740
801
  <table class="table table-sm table-bordered">
741
802
  <tbody>
742
803
  <tr>
@@ -816,39 +877,18 @@
816
877
  </tr>
817
878
  <tr>
818
879
  <td class="col-md-4">
819
- <i>Default value : </i><code>signal&lt;any&gt;(undefined)</code>
880
+ <i>Type : </i> <code>unknown</code>
881
+
820
882
  </td>
821
883
  </tr>
822
- <tr>
823
- <td class="col-md-4">
824
- <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/json-viewer/json-viewer.component.ts:46</a></div>
825
- </td>
826
- </tr>
827
-
828
-
829
- </tbody>
830
- </table>
831
- <table class="table table-sm table-bordered">
832
- <tbody>
833
- <tr>
834
- <td class="col-md-4">
835
- <a name="json"></a>
836
- <span class="name">
837
- <span class="modifier">Public</span>
838
- <span class="modifier">Readonly</span>
839
- <span ><b>json</b></span>
840
- <a href="#json"><span class="icon ion-ios-link"></span></a>
841
- </span>
842
- </td>
843
- </tr>
844
884
  <tr>
845
885
  <td class="col-md-4">
846
- <i>Default value : </i><code>input&lt;object | Record&lt;string | number | symbol, unknown&gt;&gt;({})</code>
886
+ <i>Default value : </i><code>signal&lt;any&gt;(undefined)</code>
847
887
  </td>
848
888
  </tr>
849
889
  <tr>
850
890
  <td class="col-md-4">
851
- <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/json-viewer/json-viewer.component.ts:43</a></div>
891
+ <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/json-viewer/json-viewer.component.ts:46</a></div>
852
892
  </td>
853
893
  </tr>
854
894
 
@@ -868,6 +908,12 @@
868
908
  </span>
869
909
  </td>
870
910
  </tr>
911
+ <tr>
912
+ <td class="col-md-4">
913
+ <i>Type : </i> <code>unknown</code>
914
+
915
+ </td>
916
+ </tr>
871
917
  <tr>
872
918
  <td class="col-md-4">
873
919
  <i>Default value : </i><code>signal&lt;Segment[]&gt;([])</code>
@@ -894,6 +940,12 @@
894
940
  </span>
895
941
  </td>
896
942
  </tr>
943
+ <tr>
944
+ <td class="col-md-4">
945
+ <i>Type : </i> <code>unknown</code>
946
+
947
+ </td>
948
+ </tr>
897
949
  <tr>
898
950
  <td class="col-md-4">
899
951
  <i>Default value : </i><code>new Subscription()</code>
@@ -1299,7 +1351,7 @@ export class JsonViewerComponent {
1299
1351
 
1300
1352
  </div>
1301
1353
 
1302
- <script src="../js/libs/vis.min.js"></script>
1354
+ <script src="../js/libs/vis-network.min.js"></script>
1303
1355
  <script src="../js/libs/htmlparser.js"></script>
1304
1356
  <script src="../js/libs/deep-iterator.js"></script>
1305
1357
  <script>
@@ -1358,6 +1410,24 @@ export class JsonViewerComponent {
1358
1410
 
1359
1411
  <script>
1360
1412
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
1413
+ var updateDarkModeSwitchOffset = function () {
1414
+ var content = document.querySelector('.content');
1415
+ var scrollbarWidth = 0;
1416
+
1417
+ if (content) {
1418
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
1419
+ }
1420
+
1421
+ document.documentElement.style.setProperty(
1422
+ '--content-scrollbar-width',
1423
+ scrollbarWidth + 'px'
1424
+ );
1425
+ };
1426
+
1427
+ updateDarkModeSwitchOffset();
1428
+ requestAnimationFrame(updateDarkModeSwitchOffset);
1429
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
1430
+
1361
1431
  checkToggle(darkModeState);
1362
1432
  if ($darkModeToggleSwitchers.length > 0) {
1363
1433
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -1373,14 +1443,12 @@ export class JsonViewerComponent {
1373
1443
  <script src="../js/libs/lit-html.js"></script>
1374
1444
 
1375
1445
  <script src="../js/menu-wc.js" defer></script>
1376
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
1377
1446
 
1378
1447
  <script src="../js/libs/bootstrap-native.js"></script>
1379
1448
 
1380
1449
  <script src="../js/libs/es6-shim.min.js"></script>
1381
1450
  <script src="../js/libs/EventDispatcher.js"></script>
1382
1451
  <script src="../js/libs/promise.min.js"></script>
1383
- <script src="../js/libs/zepto.min.js"></script>
1384
1452
 
1385
1453
  <script src="../js/compodoc.js"></script>
1386
1454