@rxap/material-form-system 22.0.0-dev.0 → 22.0.0-dev.2
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 +39 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +83 -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 +50 -8
- 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 +198 -0
- package/compodoc/miscellaneous/functions.html +132 -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 +951 -742
- 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 +44 -7
- 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 +6 -4
- 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 +31 -28
- 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 +30 -27
- package/docs/wiki/Class.InputClearButtonDirective.md +9 -9
- package/docs/wiki/Class.RequiredDirective.md +5 -5
- package/docs/wiki/Home.md +5 -3
- 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/generators.json +16 -0
- package/package.json +34 -36
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/types/rxap-material-form-system.d.ts +1 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/modules/MaterialFormSystemModule/dependencies.svg +0 -162
- package/compodoc/modules/MaterialFormSystemModule.html +0 -466
- package/theme.css +0 -1
|
@@ -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">
|
|
@@ -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
|
-
|
|
133
|
-
|
|
164
|
+
<table class="table table-sm table-bordered index-table">
|
|
165
|
+
<tbody>
|
|
134
166
|
<tr>
|
|
135
|
-
<td class="col-md-
|
|
167
|
+
<td class="col-md-3">
|
|
136
168
|
<h6><b>Properties</b></h6>
|
|
137
169
|
</td>
|
|
138
|
-
|
|
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 '@angular/core';
|
|
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 '@angular/core';
|
|
296
328
|
import { NgControl } from '@angular/forms';
|
|
297
329
|
import { MatChipEvent } from '@angular/material/chips';
|
|
298
330
|
import { Subscription } from 'rxjs';
|
|
@@ -328,6 +360,7 @@ export class ChipListIteratorDirective implements OnInit, OnDestroy {
|
|
|
328
360
|
private readonly viewContainerRef = inject(ViewContainerRef);
|
|
329
361
|
private readonly ngControl = inject(NgControl);
|
|
330
362
|
private readonly differs = inject(IterableDiffers);
|
|
363
|
+
private readonly cdr = 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 = 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
|
|