@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">
|
|
@@ -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
|
ControlErrorDirectiveContext</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/control-error.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,119 +154,122 @@
|
|
|
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/control-error.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="#control" class="reference-link ">
|
|
179
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">control</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="#control"
|
|
151
|
-
>
|
|
152
|
-
control
|
|
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://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</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://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</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://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
185
216
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</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/control-error.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="control"></a>
|
|
237
|
+
<span class="name "><b>control</b>
|
|
238
|
+
<a href="#control">
|
|
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>control: <code><a href="https://angular.dev/api/forms/AbstractControl" target="_blank" >AbstractControl</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://angular.dev/api/forms/AbstractControl" target="_blank" >AbstractControl</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/control-error.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">
|
|
@@ -354,6 +393,24 @@ export class ControlErrorDirective implements AfterContentInit, OnDestroy {
|
|
|
354
393
|
|
|
355
394
|
<script>
|
|
356
395
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
396
|
+
var updateDarkModeSwitchOffset = function () {
|
|
397
|
+
var content = document.querySelector('.content');
|
|
398
|
+
var scrollbarWidth = 0;
|
|
399
|
+
|
|
400
|
+
if (content) {
|
|
401
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
document.documentElement.style.setProperty(
|
|
405
|
+
'--content-scrollbar-width',
|
|
406
|
+
scrollbarWidth + 'px'
|
|
407
|
+
);
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
updateDarkModeSwitchOffset();
|
|
411
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
412
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
413
|
+
|
|
357
414
|
checkToggle(darkModeState);
|
|
358
415
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
359
416
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -369,14 +426,12 @@ export class ControlErrorDirective implements AfterContentInit, OnDestroy {
|
|
|
369
426
|
<script src="../js/libs/lit-html.js"></script>
|
|
370
427
|
|
|
371
428
|
<script src="../js/menu-wc.js" defer></script>
|
|
372
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
373
429
|
|
|
374
430
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
375
431
|
|
|
376
432
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
377
433
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
378
434
|
<script src="../js/libs/promise.min.js"></script>
|
|
379
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
380
435
|
|
|
381
436
|
<script src="../js/compodoc.js"></script>
|
|
382
437
|
|
|
@@ -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
|
ControlErrorsDirectiveContext</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/control-errors.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,119 +154,122 @@
|
|
|
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/control-errors.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="#control" class="reference-link ">
|
|
179
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">control</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="#control"
|
|
151
|
-
>
|
|
152
|
-
control
|
|
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>ValidationErrors</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://angular.dev/api/forms/ValidationErrors" target="_blank" >ValidationErrors</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://angular.dev/api/forms/ValidationErrors" target="_blank" >ValidationErrors</a></code>
|
|
185
216
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<i>Type : </i> <code>ValidationErrors</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="15" class="link-to-prism">src/lib/control-errors.directive.ts:15</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="control"></a>
|
|
237
|
+
<span class="name "><b>control</b>
|
|
238
|
+
<a href="#control">
|
|
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>control: <code><a href="https://angular.dev/api/forms/AbstractControl" target="_blank" >AbstractControl</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://angular.dev/api/forms/AbstractControl" target="_blank" >AbstractControl</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="16" class="link-to-prism">src/lib/control-errors.directive.ts:16</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">
|
|
@@ -347,6 +386,24 @@ export class ControlErrorsDirective implements AfterContentInit, OnDestroy {
|
|
|
347
386
|
|
|
348
387
|
<script>
|
|
349
388
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
389
|
+
var updateDarkModeSwitchOffset = function () {
|
|
390
|
+
var content = document.querySelector('.content');
|
|
391
|
+
var scrollbarWidth = 0;
|
|
392
|
+
|
|
393
|
+
if (content) {
|
|
394
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
document.documentElement.style.setProperty(
|
|
398
|
+
'--content-scrollbar-width',
|
|
399
|
+
scrollbarWidth + 'px'
|
|
400
|
+
);
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
updateDarkModeSwitchOffset();
|
|
404
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
405
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
406
|
+
|
|
350
407
|
checkToggle(darkModeState);
|
|
351
408
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
352
409
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -362,14 +419,12 @@ export class ControlErrorsDirective implements AfterContentInit, OnDestroy {
|
|
|
362
419
|
<script src="../js/libs/lit-html.js"></script>
|
|
363
420
|
|
|
364
421
|
<script src="../js/menu-wc.js" defer></script>
|
|
365
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
366
422
|
|
|
367
423
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
368
424
|
|
|
369
425
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
370
426
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
371
427
|
<script src="../js/libs/promise.min.js"></script>
|
|
372
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
373
428
|
|
|
374
429
|
<script src="../js/compodoc.js"></script>
|
|
375
430
|
|