@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">
@@ -79,9 +100,10 @@
79
100
  <compodoc-menu mode="normal"></compodoc-menu>
80
101
  </div>
81
102
  <!-- START CONTENT -->
82
- <div class="content getting-started">
103
+ <div class="content readme">
83
104
  <div class="content-data">
84
105
 
106
+
85
107
  <p>This package provides a set of reusable Angular components, including a navigate back button, a JSON viewer, an empty router outlet, a copy-to-clipboard button and component, and a confirmation dialog with directive and module. These components are designed to simplify common UI tasks and improve the user experience in Angular applications. The package also includes an init generator for use with Nx workspaces.</p>
86
108
  <p><a href="https://www.npmjs.com/package/@rxap/components"><img src="https://img.shields.io/npm/v/@rxap/components?style=flat-square" alt="npm version" class="img-responsive"></a>
87
109
  <a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly" class="img-responsive"></a>
@@ -123,6 +145,9 @@
123
145
 
124
146
 
125
147
 
148
+
149
+
150
+
126
151
 
127
152
 
128
153
 
@@ -151,13 +176,31 @@
151
176
 
152
177
  <script>
153
178
  var COMPODOC_CURRENT_PAGE_DEPTH = 0;
154
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'getting-started';
179
+ var COMPODOC_CURRENT_PAGE_CONTEXT = 'readme';
155
180
  var COMPODOC_CURRENT_PAGE_URL = 'index.html';
156
181
  var MAX_SEARCH_RESULTS = 15;
157
182
  </script>
158
183
 
159
184
  <script>
160
185
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
186
+ var updateDarkModeSwitchOffset = function () {
187
+ var content = document.querySelector('.content');
188
+ var scrollbarWidth = 0;
189
+
190
+ if (content) {
191
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
192
+ }
193
+
194
+ document.documentElement.style.setProperty(
195
+ '--content-scrollbar-width',
196
+ scrollbarWidth + 'px'
197
+ );
198
+ };
199
+
200
+ updateDarkModeSwitchOffset();
201
+ requestAnimationFrame(updateDarkModeSwitchOffset);
202
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
203
+
161
204
  checkToggle(darkModeState);
162
205
  if ($darkModeToggleSwitchers.length > 0) {
163
206
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -173,14 +216,12 @@
173
216
  <script src="./js/libs/lit-html.js"></script>
174
217
 
175
218
  <script src="./js/menu-wc.js" defer></script>
176
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
177
219
 
178
220
  <script src="./js/libs/bootstrap-native.js"></script>
179
221
 
180
222
  <script src="./js/libs/es6-shim.min.js"></script>
181
223
  <script src="./js/libs/EventDispatcher.js"></script>
182
224
  <script src="./js/libs/promise.min.js"></script>
183
- <script src="./js/libs/zepto.min.js"></script>
184
225
 
185
226
  <script src="./js/compodoc.js"></script>
186
227