@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">
@@ -93,11 +114,20 @@
93
114
 
94
115
 
95
116
 
117
+
118
+
119
+
120
+
96
121
  <ol class="breadcrumb">
97
122
  <li class="breadcrumb-item">Classes</li>
98
123
  <li class="breadcrumb-item" >RecordViewTuple</li>
99
124
  </ol>
100
125
 
126
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
127
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
128
+ <code>src/lib/chip-list-iterator.directive.ts</code>
129
+ </div>
130
+
101
131
  <ul class="nav nav-tabs" role="tablist">
102
132
  <li class="nav-item">
103
133
  <a href="#info"
@@ -105,6 +135,12 @@
105
135
  class="nav-link active"
106
136
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
107
137
  </li>
138
+ <li class="nav-item">
139
+ <a href="#api"
140
+ class="nav-link"
141
+
142
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
143
+ </li>
108
144
  <li class="nav-item">
109
145
  <a href="#source"
110
146
  class="nav-link"
@@ -115,49 +151,45 @@
115
151
 
116
152
  <div class="tab-content">
117
153
  <div class="tab-pane fade active in" id="info">
118
- <p class="comment">
119
- <h3>File</h3>
120
- </p>
121
- <p class="comment">
122
- <code>src/lib/chip-list-iterator.directive.ts</code>
123
- </p>
124
154
 
125
155
 
126
156
 
127
157
 
128
158
 
159
+ </div>
129
160
 
161
+ <div class="tab-pane fade " id="api">
130
162
  <section data-compodoc="block-index">
131
163
  <h3 id="index">Index</h3>
132
- <table class="table table-sm table-bordered index-table">
133
- <tbody>
164
+ <table class="table table-sm table-bordered index-table">
165
+ <tbody>
134
166
  <tr>
135
- <td class="col-md-4">
167
+ <td class="col-md-3">
136
168
  <h6><b>Properties</b></h6>
137
169
  </td>
138
- </tr>
139
- <tr>
140
- <td class="col-md-4">
170
+ <td class="col-md-9">
141
171
  <ul class="index-list">
142
172
  <li>
173
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
143
174
  <span class="modifier">Public</span>
144
175
  <a href="#record" >record</a>
145
176
  </li>
146
177
  <li>
178
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
147
179
  <span class="modifier">Public</span>
148
180
  <a href="#view" >view</a>
149
181
  </li>
150
182
  </ul>
151
183
  </td>
152
184
  </tr>
185
+ </tbody>
186
+ </table>
153
187
 
154
188
 
155
189
 
156
190
 
157
191
 
158
192
 
159
- </tbody>
160
- </table>
161
193
  </section>
162
194
 
163
195
  <section data-compodoc="block-constructor">
@@ -292,7 +324,7 @@
292
324
 
293
325
 
294
326
  <div class="tab-pane fade tab-source-code" id="source">
295
- <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;;
327
+ <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;;
296
328
  import { NgControl } from &#x27;@angular/forms&#x27;;
297
329
  import { MatChipEvent } from &#x27;@angular/material/chips&#x27;;
298
330
  import { Subscription } from &#x27;rxjs&#x27;;
@@ -328,6 +360,7 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
328
360
  private readonly viewContainerRef &#x3D; inject(ViewContainerRef);
329
361
  private readonly ngControl &#x3D; inject(NgControl);
330
362
  private readonly differs &#x3D; inject(IterableDiffers);
363
+ private readonly cdr &#x3D; inject(ChangeDetectorRef);
331
364
 
332
365
  private _subscription?: Subscription;
333
366
 
@@ -358,6 +391,10 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
358
391
  const changes &#x3D; this._differ.diff(items);
359
392
  if (changes) {
360
393
  this.applyChanges(changes);
394
+ // the values can change outside of an Angular tracked event (e.g. a
395
+ // programmatic setValue after an async load). Without zone.js the
396
+ // created/updated embedded views must be marked for a refresh explicitly.
397
+ this.cdr.markForCheck();
361
398
  }
362
399
  }
363
400
  }),
@@ -480,6 +517,24 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
480
517
 
481
518
  <script>
482
519
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
520
+ var updateDarkModeSwitchOffset = function () {
521
+ var content = document.querySelector('.content');
522
+ var scrollbarWidth = 0;
523
+
524
+ if (content) {
525
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
526
+ }
527
+
528
+ document.documentElement.style.setProperty(
529
+ '--content-scrollbar-width',
530
+ scrollbarWidth + 'px'
531
+ );
532
+ };
533
+
534
+ updateDarkModeSwitchOffset();
535
+ requestAnimationFrame(updateDarkModeSwitchOffset);
536
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
537
+
483
538
  checkToggle(darkModeState);
484
539
  if ($darkModeToggleSwitchers.length > 0) {
485
540
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -495,14 +550,12 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
495
550
  <script src="../js/libs/lit-html.js"></script>
496
551
 
497
552
  <script src="../js/menu-wc.js" defer></script>
498
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
499
553
 
500
554
  <script src="../js/libs/bootstrap-native.js"></script>
501
555
 
502
556
  <script src="../js/libs/es6-shim.min.js"></script>
503
557
  <script src="../js/libs/EventDispatcher.js"></script>
504
558
  <script src="../js/libs/promise.min.js"></script>
505
- <script src="../js/libs/zepto.min.js"></script>
506
559
 
507
560
  <script src="../js/compodoc.js"></script>
508
561