@rxap/material-form-system 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.
- package/CHANGELOG.md +19 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +64 -5
- package/compodoc/classes/ExtractHideShowMixin.html +95 -21
- package/compodoc/classes/RecordViewTuple.html +71 -18
- package/compodoc/components/FormControlsComponent.html +269 -165
- package/compodoc/dependencies.html +124 -35
- package/compodoc/directives/ChipInputAdapterDirective.html +83 -13
- package/compodoc/directives/ChipListIteratorDirective.html +98 -23
- package/compodoc/directives/CompareWithDirective.html +142 -57
- package/compodoc/directives/ControlErrorDirective.html +163 -56
- package/compodoc/directives/ControlErrorsDirective.html +120 -26
- package/compodoc/directives/FormFieldHideShowDirective.html +122 -33
- package/compodoc/directives/InputClearButtonDirective.html +125 -47
- package/compodoc/directives/RequiredDirective.html +98 -20
- package/compodoc/index.html +46 -5
- package/compodoc/interfaces/ChipListTemplateContext.html +155 -95
- package/compodoc/interfaces/ControlErrorDirectiveContext.html +149 -94
- package/compodoc/interfaces/ControlErrorsDirectiveContext.html +149 -94
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +196 -0
- package/compodoc/miscellaneous/functions.html +51 -8
- package/compodoc/miscellaneous/variables.html +148 -5
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +921 -736
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/ChipInputAdapterDirective.html +97 -6
- package/docs/html/classes/ChipListIteratorDirective.html +109 -7
- package/docs/html/classes/CompareWithDirective.html +95 -5
- package/docs/html/classes/ControlErrorDirective.html +160 -12
- package/docs/html/classes/ControlErrorsDirective.html +154 -11
- package/docs/html/classes/ExtractHideShowMixin.html +141 -8
- package/docs/html/classes/FormControlsComponent.html +183 -15
- package/docs/html/classes/FormFieldHideShowDirective.html +210 -15
- package/docs/html/classes/InputClearButtonDirective.html +122 -7
- package/docs/html/classes/RequiredDirective.html +81 -4
- package/docs/html/hierarchy.html +33 -1
- package/docs/html/index.html +40 -4
- package/docs/html/interfaces/ChipListTemplateContext.html +61 -3
- package/docs/html/interfaces/ControlErrorDirectiveContext.html +61 -3
- package/docs/html/interfaces/ControlErrorsDirectiveContext.html +61 -3
- package/docs/html/modules.html +40 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ChipInputAdapterDirective.md +8 -8
- package/docs/markdown/classes/ChipListIteratorDirective.md +8 -8
- package/docs/markdown/classes/CompareWithDirective.md +7 -7
- package/docs/markdown/classes/ControlErrorDirective.md +18 -16
- package/docs/markdown/classes/ControlErrorsDirective.md +17 -15
- package/docs/markdown/classes/ExtractHideShowMixin.md +23 -23
- package/docs/markdown/classes/FormControlsComponent.md +22 -20
- package/docs/markdown/classes/FormFieldHideShowDirective.md +30 -27
- package/docs/markdown/classes/InputClearButtonDirective.md +10 -10
- package/docs/markdown/classes/RequiredDirective.md +6 -6
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ChipListTemplateContext.md +5 -5
- package/docs/markdown/interfaces/ControlErrorDirectiveContext.md +4 -4
- package/docs/markdown/interfaces/ControlErrorsDirectiveContext.md +4 -4
- package/docs/wiki/Class.ChipInputAdapterDirective.md +7 -7
- package/docs/wiki/Class.ChipListIteratorDirective.md +7 -7
- package/docs/wiki/Class.CompareWithDirective.md +6 -6
- package/docs/wiki/Class.ControlErrorDirective.md +17 -15
- package/docs/wiki/Class.ControlErrorsDirective.md +16 -14
- package/docs/wiki/Class.ExtractHideShowMixin.md +22 -22
- package/docs/wiki/Class.FormControlsComponent.md +21 -19
- package/docs/wiki/Class.FormFieldHideShowDirective.md +29 -26
- package/docs/wiki/Class.InputClearButtonDirective.md +9 -9
- package/docs/wiki/Class.RequiredDirective.md +5 -5
- package/docs/wiki/Interface.ChipListTemplateContext.md +4 -4
- package/docs/wiki/Interface.ControlErrorDirectiveContext.md +3 -3
- package/docs/wiki/Interface.ControlErrorsDirectiveContext.md +3 -3
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-material-form-system.mjs +793 -754
- package/fesm2022/rxap-material-form-system.mjs.map +1 -1
- package/package.json +31 -31
- package/types/rxap-material-form-system.d.ts +1 -0
|
@@ -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"
|
|
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>×</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
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
>
|
|
146
|
-
|
|
147
|
-
|
|
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
|
-
|
|
183
|
-
|
|
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
|
-
|
|
187
|
-
|
|
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
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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
|
-
|
|
216
|
-
|
|
248
|
+
</td>
|
|
249
|
+
</tr>
|
|
217
250
|
|
|
218
251
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
224
|
-
|
|
256
|
+
</td>
|
|
257
|
+
</tr>
|
|
225
258
|
|
|
226
259
|
|
|
227
260
|
|
|
228
261
|
|
|
229
262
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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 '@angular/core';
|
|
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 '@angular/core';
|
|
238
277
|
import { NgControl } from '@angular/forms';
|
|
239
278
|
import { MatChipEvent } from '@angular/material/chips';
|
|
240
279
|
import { Subscription } from 'rxjs';
|
|
@@ -270,6 +309,7 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
|
|
|
270
309
|
private readonly viewContainerRef = inject(ViewContainerRef);
|
|
271
310
|
private readonly ngControl = inject(NgControl);
|
|
272
311
|
private readonly differs = inject(IterableDiffers);
|
|
312
|
+
private readonly cdr = 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 = 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
|
|