@rxap/material-form-system 21.0.1-dev.0 → 21.0.1-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/changelog.html +18 -0
- package/compodoc/classes/ExtractHideShowMixin.html +14 -28
- package/compodoc/classes/RecordViewTuple.html +9 -23
- package/compodoc/components/FormControlsComponent.html +146 -352
- package/compodoc/dependencies.html +5 -5
- package/compodoc/directives/ChipInputAdapterDirective.html +7 -53
- package/compodoc/directives/ChipListIteratorDirective.html +8 -106
- package/compodoc/directives/CompareWithDirective.html +44 -90
- package/compodoc/directives/ControlErrorDirective.html +150 -151
- package/compodoc/directives/ControlErrorsDirective.html +123 -109
- package/compodoc/directives/FormFieldHideShowDirective.html +11 -97
- package/compodoc/directives/InputClearButtonDirective.html +15 -251
- package/compodoc/directives/RequiredDirective.html +2 -58
- package/compodoc/graph/dependencies.svg +15 -153
- package/compodoc/interfaces/ChipListTemplateContext.html +6 -20
- package/compodoc/interfaces/ControlErrorDirectiveContext.html +8 -28
- package/compodoc/interfaces/ControlErrorsDirectiveContext.html +6 -21
- package/compodoc/js/menu-wc.js +0 -41
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +1 -185
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +774 -1578
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ChipInputAdapterDirective.html +4 -4
- package/docs/html/classes/ChipListIteratorDirective.html +4 -4
- package/docs/html/classes/CompareWithDirective.html +3 -3
- package/docs/html/classes/ControlErrorDirective.html +4 -4
- package/docs/html/classes/ControlErrorsDirective.html +4 -4
- package/docs/html/classes/ExtractHideShowMixin.html +2 -2
- package/docs/html/classes/FormControlsComponent.html +6 -7
- package/docs/html/classes/FormFieldHideShowDirective.html +5 -5
- package/docs/html/classes/InputClearButtonDirective.html +2 -2
- package/docs/html/classes/RequiredDirective.html +3 -3
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ChipListTemplateContext.html +2 -2
- package/docs/html/interfaces/ControlErrorDirectiveContext.html +2 -2
- package/docs/html/interfaces/ControlErrorsDirectiveContext.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ChipInputAdapterDirective.md +6 -16
- package/docs/markdown/classes/ChipListIteratorDirective.md +6 -26
- package/docs/markdown/classes/CompareWithDirective.md +6 -14
- package/docs/markdown/classes/ControlErrorDirective.md +12 -32
- package/docs/markdown/classes/ControlErrorsDirective.md +10 -30
- package/docs/markdown/classes/ExtractHideShowMixin.md +8 -8
- package/docs/markdown/classes/FormControlsComponent.md +24 -74
- package/docs/markdown/classes/FormFieldHideShowDirective.md +12 -28
- package/docs/markdown/classes/InputClearButtonDirective.md +8 -16
- package/docs/markdown/classes/RequiredDirective.md +4 -12
- package/docs/markdown/globals.md +2 -3
- package/docs/markdown/interfaces/ChipListTemplateContext.md +4 -4
- package/docs/markdown/interfaces/ControlErrorDirectiveContext.md +4 -4
- package/docs/markdown/interfaces/ControlErrorsDirectiveContext.md +4 -4
- package/docs/wiki/Class.ChipInputAdapterDirective.md +5 -15
- package/docs/wiki/Class.ChipListIteratorDirective.md +5 -25
- package/docs/wiki/Class.CompareWithDirective.md +5 -13
- package/docs/wiki/Class.ControlErrorDirective.md +11 -31
- package/docs/wiki/Class.ControlErrorsDirective.md +9 -29
- package/docs/wiki/Class.ExtractHideShowMixin.md +7 -7
- package/docs/wiki/Class.FormControlsComponent.md +23 -73
- package/docs/wiki/Class.FormFieldHideShowDirective.md +11 -27
- package/docs/wiki/Class.InputClearButtonDirective.md +7 -15
- package/docs/wiki/Class.RequiredDirective.md +3 -11
- package/docs/wiki/Interface.ChipListTemplateContext.md +3 -3
- package/docs/wiki/Interface.ControlErrorDirectiveContext.md +3 -3
- package/docs/wiki/Interface.ControlErrorsDirectiveContext.md +3 -3
- package/docs/wiki/_Sidebar.md +0 -1
- package/docs/wiki/globals.md +1 -2
- package/fesm2022/rxap-material-form-system.mjs +92 -215
- package/fesm2022/rxap-material-form-system.mjs.map +1 -1
- package/package.json +23 -23
- package/types/rxap-material-form-system.d.ts +19 -40
- package/docs/html/classes/MaterialFormSystemModule.html +0 -2
- package/docs/markdown/classes/MaterialFormSystemModule.md +0 -19
- package/docs/wiki/Class.MaterialFormSystemModule.md +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 21.0.1-dev.1 (2026-11-22)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **angular:** add ng-prism styleguide targets and environment showcase
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated angular-form-system to 21.0.1-dev.1
|
|
10
|
+
- Updated reflect-metadata to 1.0.18-dev.1
|
|
11
|
+
- Updated angular-forms to 21.0.1-dev.1
|
|
12
|
+
- Updated utilities to 16.5.2-dev.1
|
|
13
|
+
- Updated mixin to 16.0.17-dev.1
|
|
14
|
+
|
|
15
|
+
### ❤️ Thank You
|
|
16
|
+
|
|
17
|
+
- Claude Opus 5.5
|
|
18
|
+
- Merzough Münker
|
|
19
|
+
|
|
1
20
|
## 21.0.1-dev.0 (2026-11-20)
|
|
2
21
|
|
|
3
22
|
### 🩹 Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -82,6 +82,24 @@
|
|
|
82
82
|
<div class="content getting-started">
|
|
83
83
|
<div class="content-data">
|
|
84
84
|
|
|
85
|
+
<h2>21.0.1-dev.1 (2026-11-22)</h2>
|
|
86
|
+
<h3>🚀 Features</h3>
|
|
87
|
+
<ul>
|
|
88
|
+
<li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
|
|
89
|
+
</ul>
|
|
90
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
91
|
+
<ul>
|
|
92
|
+
<li>Updated angular-form-system to 21.0.1-dev.1</li>
|
|
93
|
+
<li>Updated reflect-metadata to 1.0.18-dev.1</li>
|
|
94
|
+
<li>Updated angular-forms to 21.0.1-dev.1</li>
|
|
95
|
+
<li>Updated utilities to 16.5.2-dev.1</li>
|
|
96
|
+
<li>Updated mixin to 16.0.17-dev.1</li>
|
|
97
|
+
</ul>
|
|
98
|
+
<h3>❤️ Thank You</h3>
|
|
99
|
+
<ul>
|
|
100
|
+
<li>Claude Opus 5.5</li>
|
|
101
|
+
<li>Merzough Münker</li>
|
|
102
|
+
</ul>
|
|
85
103
|
<h2>21.0.1-dev.0 (2026-11-20)</h2>
|
|
86
104
|
<h3>🩹 Fixes</h3>
|
|
87
105
|
<ul>
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
</tr>
|
|
216
216
|
<tr>
|
|
217
217
|
<td class="col-md-4">
|
|
218
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
218
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/form-field-hide-show.directive.ts:33</a></div>
|
|
219
219
|
</td>
|
|
220
220
|
</tr>
|
|
221
221
|
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
</tr>
|
|
243
243
|
<tr>
|
|
244
244
|
<td class="col-md-4">
|
|
245
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
245
|
+
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/form-field-hide-show.directive.ts:32</a></div>
|
|
246
246
|
</td>
|
|
247
247
|
</tr>
|
|
248
248
|
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
</tr>
|
|
270
270
|
<tr>
|
|
271
271
|
<td class="col-md-4">
|
|
272
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
272
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/form-field-hide-show.directive.ts:34</a></div>
|
|
273
273
|
</td>
|
|
274
274
|
</tr>
|
|
275
275
|
|
|
@@ -305,8 +305,8 @@
|
|
|
305
305
|
|
|
306
306
|
<tr>
|
|
307
307
|
<td class="col-md-4">
|
|
308
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
309
|
-
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:
|
|
308
|
+
<div class="io-line">Defined in <a href="" data-line="53"
|
|
309
|
+
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:53</a></div>
|
|
310
310
|
</td>
|
|
311
311
|
</tr>
|
|
312
312
|
|
|
@@ -393,8 +393,8 @@
|
|
|
393
393
|
|
|
394
394
|
<tr>
|
|
395
395
|
<td class="col-md-4">
|
|
396
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
397
|
-
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:
|
|
396
|
+
<div class="io-line">Defined in <a href="" data-line="36"
|
|
397
|
+
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:36</a></div>
|
|
398
398
|
</td>
|
|
399
399
|
</tr>
|
|
400
400
|
|
|
@@ -481,8 +481,8 @@
|
|
|
481
481
|
|
|
482
482
|
<tr>
|
|
483
483
|
<td class="col-md-4">
|
|
484
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
485
|
-
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:
|
|
484
|
+
<div class="io-line">Defined in <a href="" data-line="70"
|
|
485
|
+
class="link-to-prism">src/lib/form-field-hide-show.directive.ts:70</a></div>
|
|
486
486
|
</td>
|
|
487
487
|
</tr>
|
|
488
488
|
|
|
@@ -557,15 +557,7 @@
|
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
560
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
561
|
-
AfterContentInit,
|
|
562
|
-
Directive,
|
|
563
|
-
ElementRef,
|
|
564
|
-
Inject,
|
|
565
|
-
OnDestroy,
|
|
566
|
-
OnInit,
|
|
567
|
-
Renderer2,
|
|
568
|
-
} from '@angular/core';
|
|
560
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AfterContentInit, Directive, ElementRef, OnDestroy, OnInit, Renderer2, inject } from '@angular/core';
|
|
569
561
|
import {
|
|
570
562
|
MAT_FORM_FIELD,
|
|
571
563
|
MatFormField,
|
|
@@ -665,22 +657,16 @@ export interface FormFieldHideShowDirective extends ExtractHideShowMixin, Extrac
|
|
|
665
657
|
standalone: true,
|
|
666
658
|
})
|
|
667
659
|
export class FormFieldHideShowDirective implements AfterContentInit, OnDestroy {
|
|
660
|
+
private readonly formField = inject<MatFormField>(MAT_FORM_FIELD);
|
|
661
|
+
private readonly renderer = inject<Renderer2>(Renderer2);
|
|
662
|
+
private readonly elementRef = inject<ElementRef>(ElementRef);
|
|
663
|
+
|
|
668
664
|
|
|
669
665
|
public controlId!: string;
|
|
670
666
|
public formDefinition!: FormDefinition;
|
|
671
667
|
public control!: RxapFormControl;
|
|
672
668
|
private subscription = new Subscription();
|
|
673
669
|
|
|
674
|
-
constructor(
|
|
675
|
-
@Inject(MAT_FORM_FIELD)
|
|
676
|
-
private readonly formField: MatFormField,
|
|
677
|
-
@Inject(Renderer2)
|
|
678
|
-
private readonly renderer: Renderer2,
|
|
679
|
-
@Inject(ElementRef)
|
|
680
|
-
private readonly elementRef: ElementRef,
|
|
681
|
-
) {
|
|
682
|
-
}
|
|
683
|
-
|
|
684
670
|
public ngAfterContentInit() {
|
|
685
671
|
const control = this.formField._control.ngControl?.control;
|
|
686
672
|
if (!control) {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
</tr>
|
|
172
172
|
<tr>
|
|
173
173
|
<td class="col-md-4">
|
|
174
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
174
|
+
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/chip-list-iterator.directive.ts:20</a></div>
|
|
175
175
|
</td>
|
|
176
176
|
</tr>
|
|
177
177
|
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
</tr>
|
|
247
247
|
<tr>
|
|
248
248
|
<td class="col-md-4">
|
|
249
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
249
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/chip-list-iterator.directive.ts:22</a></div>
|
|
250
250
|
</td>
|
|
251
251
|
</tr>
|
|
252
252
|
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
</tr>
|
|
274
274
|
<tr>
|
|
275
275
|
<td class="col-md-4">
|
|
276
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
276
|
+
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/chip-list-iterator.directive.ts:23</a></div>
|
|
277
277
|
</td>
|
|
278
278
|
</tr>
|
|
279
279
|
|
|
@@ -292,18 +292,7 @@
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
295
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
296
|
-
Directive,
|
|
297
|
-
EmbeddedViewRef,
|
|
298
|
-
IterableChangeRecord,
|
|
299
|
-
IterableChanges,
|
|
300
|
-
IterableDiffer,
|
|
301
|
-
IterableDiffers,
|
|
302
|
-
OnDestroy,
|
|
303
|
-
OnInit,
|
|
304
|
-
TemplateRef,
|
|
305
|
-
ViewContainerRef,
|
|
306
|
-
} from '@angular/core';
|
|
295
|
+
<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';
|
|
307
296
|
import { NgControl } from '@angular/forms';
|
|
308
297
|
import { MatChipEvent } from '@angular/material/chips';
|
|
309
298
|
import { Subscription } from 'rxjs';
|
|
@@ -335,19 +324,16 @@ class RecordViewTuple {
|
|
|
335
324
|
standalone: true,
|
|
336
325
|
})
|
|
337
326
|
export class ChipListIteratorDirective implements OnInit, OnDestroy {
|
|
327
|
+
private readonly template = inject<TemplateRef<ChipListTemplateContext>>(TemplateRef);
|
|
328
|
+
private readonly viewContainerRef = inject(ViewContainerRef);
|
|
329
|
+
private readonly ngControl = inject(NgControl);
|
|
330
|
+
private readonly differs = inject(IterableDiffers);
|
|
331
|
+
|
|
338
332
|
private _subscription?: Subscription;
|
|
339
333
|
|
|
340
334
|
private _dirty = true;
|
|
341
335
|
private _differ: IterableDiffer<string> | null = null;
|
|
342
336
|
|
|
343
|
-
constructor(
|
|
344
|
-
private readonly template: TemplateRef<ChipListTemplateContext>,
|
|
345
|
-
private readonly viewContainerRef: ViewContainerRef,
|
|
346
|
-
private readonly ngControl: NgControl,
|
|
347
|
-
private readonly differs: IterableDiffers,
|
|
348
|
-
) {
|
|
349
|
-
}
|
|
350
|
-
|
|
351
337
|
public ngOnInit() {
|
|
352
338
|
this._subscription = this.ngControl.valueChanges
|
|
353
339
|
?.pipe(
|