@rxap/material-form-system 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 (111) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +70 -5
  4. package/compodoc/classes/ExtractHideShowMixin.html +95 -21
  5. package/compodoc/classes/RecordViewTuple.html +71 -18
  6. package/compodoc/components/FormControlsComponent.html +269 -165
  7. package/compodoc/dependencies.html +124 -35
  8. package/compodoc/directives/ChipInputAdapterDirective.html +83 -13
  9. package/compodoc/directives/ChipListIteratorDirective.html +98 -23
  10. package/compodoc/directives/CompareWithDirective.html +142 -57
  11. package/compodoc/directives/ControlErrorDirective.html +163 -56
  12. package/compodoc/directives/ControlErrorsDirective.html +120 -26
  13. package/compodoc/directives/FormFieldHideShowDirective.html +122 -33
  14. package/compodoc/directives/InputClearButtonDirective.html +125 -47
  15. package/compodoc/directives/RequiredDirective.html +98 -20
  16. package/compodoc/index.html +46 -5
  17. package/compodoc/interfaces/ChipListTemplateContext.html +155 -95
  18. package/compodoc/interfaces/ControlErrorDirectiveContext.html +149 -94
  19. package/compodoc/interfaces/ControlErrorsDirectiveContext.html +149 -94
  20. package/compodoc/js/architecture-graph.js +288 -0
  21. package/compodoc/js/libs/bootstrap-native.js +4 -2
  22. package/compodoc/js/libs/jszip.min.js +13 -0
  23. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  24. package/compodoc/js/libs/tablesort.min.js +3 -3
  25. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  26. package/compodoc/js/libs/vis-network.min.js +78 -0
  27. package/compodoc/js/menu-wc.js +25 -12
  28. package/compodoc/js/menu.js +10 -11
  29. package/compodoc/js/routes/routes_index.js +1 -0
  30. package/compodoc/js/routes.js +142 -34
  31. package/compodoc/js/search/search-lunr.js +6 -8
  32. package/compodoc/js/search/search.js +118 -66
  33. package/compodoc/js/search/search_index.js +2 -2
  34. package/compodoc/js/tabs.js +98 -15
  35. package/compodoc/js/tree.js +44 -7
  36. package/compodoc/license.html +48 -6
  37. package/compodoc/llms.txt +196 -0
  38. package/compodoc/miscellaneous/functions.html +51 -8
  39. package/compodoc/miscellaneous/variables.html +148 -5
  40. package/compodoc/modules.html +44 -3
  41. package/compodoc/overview.html +54 -3
  42. package/compodoc/properties.html +45 -4
  43. package/compodoc/routes.html +227 -0
  44. package/compodoc/styles/compodoc.css +365 -44
  45. package/compodoc/styles/dark.css +16 -0
  46. package/compodoc/template-playground/default-templates.json +192 -0
  47. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  48. package/compodoc/template-playground/main.ts +9 -0
  49. package/compodoc/template-playground/template-editor.service.ts +173 -0
  50. package/compodoc/template-playground/template-playground.component.ts +614 -0
  51. package/compodoc/template-playground/template-playground.module.ts +29 -0
  52. package/compodoc/template-playground/zip-export.service.ts +86 -0
  53. package/compodoc/template-playground-app/app.js +1389 -0
  54. package/compodoc/template-playground-app/index.html +462 -0
  55. package/docs/documentation.json +944 -739
  56. package/docs/html/assets/hierarchy.js +1 -1
  57. package/docs/html/assets/highlight.css +1 -1
  58. package/docs/html/assets/icons.js +1 -1
  59. package/docs/html/assets/icons.svg +1 -1
  60. package/docs/html/assets/main.js +5 -5
  61. package/docs/html/assets/search.js +1 -1
  62. package/docs/html/assets/style.css +265 -228
  63. package/docs/html/classes/ChipInputAdapterDirective.html +97 -6
  64. package/docs/html/classes/ChipListIteratorDirective.html +109 -7
  65. package/docs/html/classes/CompareWithDirective.html +95 -5
  66. package/docs/html/classes/ControlErrorDirective.html +160 -12
  67. package/docs/html/classes/ControlErrorsDirective.html +154 -11
  68. package/docs/html/classes/ExtractHideShowMixin.html +141 -8
  69. package/docs/html/classes/FormControlsComponent.html +183 -15
  70. package/docs/html/classes/FormFieldHideShowDirective.html +210 -15
  71. package/docs/html/classes/InputClearButtonDirective.html +122 -7
  72. package/docs/html/classes/RequiredDirective.html +81 -4
  73. package/docs/html/hierarchy.html +33 -1
  74. package/docs/html/index.html +40 -4
  75. package/docs/html/interfaces/ChipListTemplateContext.html +61 -3
  76. package/docs/html/interfaces/ControlErrorDirectiveContext.html +61 -3
  77. package/docs/html/interfaces/ControlErrorsDirectiveContext.html +61 -3
  78. package/docs/html/modules.html +40 -1
  79. package/docs/markdown/README.md +1 -1
  80. package/docs/markdown/classes/ChipInputAdapterDirective.md +8 -8
  81. package/docs/markdown/classes/ChipListIteratorDirective.md +8 -8
  82. package/docs/markdown/classes/CompareWithDirective.md +7 -7
  83. package/docs/markdown/classes/ControlErrorDirective.md +18 -16
  84. package/docs/markdown/classes/ControlErrorsDirective.md +17 -15
  85. package/docs/markdown/classes/ExtractHideShowMixin.md +23 -23
  86. package/docs/markdown/classes/FormControlsComponent.md +22 -20
  87. package/docs/markdown/classes/FormFieldHideShowDirective.md +31 -28
  88. package/docs/markdown/classes/InputClearButtonDirective.md +12 -12
  89. package/docs/markdown/classes/RequiredDirective.md +6 -6
  90. package/docs/markdown/globals.md +2 -2
  91. package/docs/markdown/interfaces/ChipListTemplateContext.md +5 -5
  92. package/docs/markdown/interfaces/ControlErrorDirectiveContext.md +4 -4
  93. package/docs/markdown/interfaces/ControlErrorsDirectiveContext.md +4 -4
  94. package/docs/wiki/Class.ChipInputAdapterDirective.md +7 -7
  95. package/docs/wiki/Class.ChipListIteratorDirective.md +7 -7
  96. package/docs/wiki/Class.CompareWithDirective.md +6 -6
  97. package/docs/wiki/Class.ControlErrorDirective.md +17 -15
  98. package/docs/wiki/Class.ControlErrorsDirective.md +16 -14
  99. package/docs/wiki/Class.ExtractHideShowMixin.md +22 -22
  100. package/docs/wiki/Class.FormControlsComponent.md +21 -19
  101. package/docs/wiki/Class.FormFieldHideShowDirective.md +30 -27
  102. package/docs/wiki/Class.InputClearButtonDirective.md +11 -11
  103. package/docs/wiki/Class.RequiredDirective.md +5 -5
  104. package/docs/wiki/Interface.ChipListTemplateContext.md +4 -4
  105. package/docs/wiki/Interface.ControlErrorDirectiveContext.md +3 -3
  106. package/docs/wiki/Interface.ControlErrorsDirectiveContext.md +3 -3
  107. package/docs/wiki/globals.md +1 -1
  108. package/fesm2022/rxap-material-form-system.mjs +544 -265
  109. package/fesm2022/rxap-material-form-system.mjs.map +1 -1
  110. package/package.json +39 -39
  111. package/types/rxap-material-form-system.d.ts +165 -148
@@ -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">
@@ -94,6 +115,10 @@
94
115
 
95
116
 
96
117
 
118
+
119
+
120
+
121
+
97
122
  <ol class="breadcrumb">
98
123
  <li class="breadcrumb-item">Interfaces</li>
99
124
  <li class="breadcrumb-item"
@@ -101,6 +126,11 @@
101
126
  ChipListTemplateContext</li>
102
127
  </ol>
103
128
 
129
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
130
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
131
+ <code>src/lib/chip-list-iterator.directive.ts</code>
132
+ </div>
133
+
104
134
  <ul class="nav nav-tabs" role="tablist">
105
135
  <li class="nav-item">
106
136
  <a href="#info"
@@ -108,6 +138,12 @@
108
138
  class="nav-link active"
109
139
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
110
140
  </li>
141
+ <li class="nav-item">
142
+ <a href="#api"
143
+ class="nav-link"
144
+
145
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
146
+ </li>
111
147
  <li class="nav-item">
112
148
  <a href="#source"
113
149
  class="nav-link"
@@ -118,123 +154,126 @@
118
154
 
119
155
  <div class="tab-content">
120
156
  <div class="tab-pane fade active in" id="info">
121
- <p class="comment">
122
- <h3>File</h3>
123
- </p>
124
- <p class="comment">
125
- <code>src/lib/chip-list-iterator.directive.ts</code>
126
- </p>
127
-
128
157
 
129
158
 
130
159
 
131
- <section data-compodoc="block-index">
132
- <h3 id="index">Index</h3>
133
- <table class="table table-sm table-bordered index-table">
160
+ </div>
161
+
162
+ <div class="tab-pane fade " id="api"><section data-compodoc="block-index">
163
+ <h3 id="index">Index</h3>
164
+ <table class="table table-sm table-bordered index-table">
165
+ <tbody>
166
+ <tr>
167
+ <td class="col-md-3">
168
+ <h6><b>Properties</b></h6>
169
+ </td>
170
+ <td class="col-md-9">
171
+ <ul class="index-list">
172
+ <li>
173
+ <a href="#$implicit" class="reference-link ">
174
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">$implicit</span>
175
+ </a>
176
+ </li>
177
+ <li>
178
+ <a href="#onRemoved" class="reference-link ">
179
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">onRemoved</span>
180
+ </a>
181
+ </li>
182
+ </ul>
183
+ </td>
184
+ </tr>
185
+ </tbody>
186
+ </table>
187
+ </section>
188
+
189
+
190
+
191
+ <section data-compodoc="block-properties">
192
+ <h3 id="inputs">Properties</h3>
193
+ <table class="table table-sm table-bordered">
134
194
  <tbody>
135
- <tr>
136
- <td class="col-md-4">
137
- <h6><b>Properties</b></h6>
138
- </td>
139
- </tr>
140
- <tr>
141
- <td class="col-md-4">
142
- <ul class="index-list">
143
- <li>
144
- <a href="#$implicit"
145
- >
146
- $implicit
147
- </a>
148
- </li>
149
- <li>
150
- <a href="#onRemoved"
151
- >
152
- onRemoved
153
- </a>
154
- </li>
155
- </ul>
156
- </td>
157
- </tr>
158
- </tbody>
159
- </table>
160
- </section>
161
-
162
-
163
-
164
- <section data-compodoc="block-properties">
165
- <h3 id="inputs">Properties</h3>
166
- <table class="table table-sm table-bordered">
167
- <tbody>
168
- <tr>
169
- <td class="col-md-4">
170
- <a name="$implicit"></a>
171
- <span class="name "><b>$implicit</b>
172
- <a href="#$implicit">
173
- <span class="icon ion-ios-link"></span>
174
- </a>
175
- </span>
176
- </td>
177
- </tr>
178
- <tr>
179
- <td class="col-md-4">
180
- <code>$implicit: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
195
+ <tr>
196
+ <td class="col-md-4">
197
+ <a name="$implicit"></a>
198
+ <span class="name "><b>$implicit</b>
199
+ <a href="#$implicit">
200
+ <span class="icon ion-ios-link"></span>
201
+ </a>
202
+ </span>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <td class="col-md-4">
207
+ <code>$implicit: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
181
208
  </code>
182
- </td>
183
- </tr>
209
+ </td>
210
+ </tr>
211
+
184
212
 
213
+ <tr>
214
+ <td class="col-md-4">
215
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
185
216
 
186
- <tr>
187
- <td class="col-md-4">
188
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
217
+ </td>
218
+ </tr>
189
219
 
190
- </td>
191
- </tr>
192
220
 
193
221
 
194
222
 
195
223
 
224
+ <tr>
225
+ <td class="col-md-4">
226
+ <div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/lib/chip-list-iterator.directive.ts:16</a></div>
227
+ </td>
228
+ </tr>
196
229
 
197
- </tbody>
198
- </table>
199
- <table class="table table-sm table-bordered">
200
- <tbody>
201
- <tr>
202
- <td class="col-md-4">
203
- <a name="onRemoved"></a>
204
- <span class="name "><b>onRemoved</b>
205
- <a href="#onRemoved">
206
- <span class="icon ion-ios-link"></span>
207
- </a>
208
- </span>
209
- </td>
210
- </tr>
211
- <tr>
212
- <td class="col-md-4">
213
- <code>onRemoved: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
230
+ </tbody>
231
+ </table>
232
+ <table class="table table-sm table-bordered">
233
+ <tbody>
234
+ <tr>
235
+ <td class="col-md-4">
236
+ <a name="onRemoved"></a>
237
+ <span class="name "><b>onRemoved</b>
238
+ <a href="#onRemoved">
239
+ <span class="icon ion-ios-link"></span>
240
+ </a>
241
+ </span>
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td class="col-md-4">
246
+ <code>onRemoved: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
214
247
  </code>
215
- </td>
216
- </tr>
248
+ </td>
249
+ </tr>
217
250
 
218
251
 
219
- <tr>
220
- <td class="col-md-4">
221
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
252
+ <tr>
253
+ <td class="col-md-4">
254
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
222
255
 
223
- </td>
224
- </tr>
256
+ </td>
257
+ </tr>
225
258
 
226
259
 
227
260
 
228
261
 
229
262
 
230
- </tbody>
231
- </table>
232
- </section>
233
- </div>
263
+ <tr>
264
+ <td class="col-md-4">
265
+ <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/lib/chip-list-iterator.directive.ts:17</a></div>
266
+ </td>
267
+ </tr>
268
+
269
+ </tbody>
270
+ </table>
271
+ </section>
272
+ </div>
234
273
 
235
274
 
236
275
  <div class="tab-pane fade tab-source-code" id="source">
237
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, EmbeddedViewRef, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDiffers, OnDestroy, OnInit, TemplateRef, ViewContainerRef, inject } from &#x27;@angular/core&#x27;;
276
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectorRef, Directive, EmbeddedViewRef, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDiffers, OnDestroy, OnInit, TemplateRef, ViewContainerRef, inject } from &#x27;@angular/core&#x27;;
238
277
  import { NgControl } from &#x27;@angular/forms&#x27;;
239
278
  import { MatChipEvent } from &#x27;@angular/material/chips&#x27;;
240
279
  import { Subscription } from &#x27;rxjs&#x27;;
@@ -270,6 +309,7 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
270
309
  private readonly viewContainerRef &#x3D; inject(ViewContainerRef);
271
310
  private readonly ngControl &#x3D; inject(NgControl);
272
311
  private readonly differs &#x3D; inject(IterableDiffers);
312
+ private readonly cdr &#x3D; inject(ChangeDetectorRef);
273
313
 
274
314
  private _subscription?: Subscription;
275
315
 
@@ -300,6 +340,10 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
300
340
  const changes &#x3D; this._differ.diff(items);
301
341
  if (changes) {
302
342
  this.applyChanges(changes);
343
+ // the values can change outside of an Angular tracked event (e.g. a
344
+ // programmatic setValue after an async load). Without zone.js the
345
+ // created/updated embedded views must be marked for a refresh explicitly.
346
+ this.cdr.markForCheck();
303
347
  }
304
348
  }
305
349
  }),
@@ -421,6 +465,24 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
421
465
 
422
466
  <script>
423
467
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
468
+ var updateDarkModeSwitchOffset = function () {
469
+ var content = document.querySelector('.content');
470
+ var scrollbarWidth = 0;
471
+
472
+ if (content) {
473
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
474
+ }
475
+
476
+ document.documentElement.style.setProperty(
477
+ '--content-scrollbar-width',
478
+ scrollbarWidth + 'px'
479
+ );
480
+ };
481
+
482
+ updateDarkModeSwitchOffset();
483
+ requestAnimationFrame(updateDarkModeSwitchOffset);
484
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
485
+
424
486
  checkToggle(darkModeState);
425
487
  if ($darkModeToggleSwitchers.length > 0) {
426
488
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -436,14 +498,12 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
436
498
  <script src="../js/libs/lit-html.js"></script>
437
499
 
438
500
  <script src="../js/menu-wc.js" defer></script>
439
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
440
501
 
441
502
  <script src="../js/libs/bootstrap-native.js"></script>
442
503
 
443
504
  <script src="../js/libs/es6-shim.min.js"></script>
444
505
  <script src="../js/libs/EventDispatcher.js"></script>
445
506
  <script src="../js/libs/promise.min.js"></script>
446
- <script src="../js/libs/zepto.min.js"></script>
447
507
 
448
508
  <script src="../js/compodoc.js"></script>
449
509