@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.
- package/CHANGELOG.md +26 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +70 -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 +944 -739
- 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 +31 -28
- package/docs/markdown/classes/InputClearButtonDirective.md +12 -12
- 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 +11 -11
- 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 +544 -265
- package/fesm2022/rxap-material-form-system.mjs.map +1 -1
- package/package.json +39 -39
- 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"
|
|
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">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,10 +137,19 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#$localize" title="src/lib/form-controls/form-controls.component.ts" ><b>$localize</b> (src/.../form-controls.component.ts)</a>
|
|
140
|
+
<a href="#$localize" title="src/lib/form-controls/form-controls.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>$localize</b> (src/.../form-controls.component.ts)</span></a>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#PRISM_FORM_STYLE" title="src/lib/compare-with.directive.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>PRISM_FORM_STYLE</b> (src/.../compare-with.directive.ts)</span></a>
|
|
116
144
|
</li>
|
|
117
145
|
<li>
|
|
118
|
-
<a href="#
|
|
146
|
+
<a href="#PRISM_FORM_STYLE" title="src/lib/input-clear-button.directive.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>PRISM_FORM_STYLE</b> (src/.../input-clear-button.directive.ts)</span></a>
|
|
147
|
+
</li>
|
|
148
|
+
<li>
|
|
149
|
+
<a href="#PRISM_FORM_STYLE" title="src/lib/required.directive.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>PRISM_FORM_STYLE</b> (src/.../required.directive.ts)</span></a>
|
|
150
|
+
</li>
|
|
151
|
+
<li>
|
|
152
|
+
<a href="#schematic" title="src/generators/init/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>schematic</b> (src/.../index.ts)</span></a>
|
|
119
153
|
</li>
|
|
120
154
|
</ul>
|
|
121
155
|
</td>
|
|
@@ -145,6 +179,93 @@
|
|
|
145
179
|
</tr>
|
|
146
180
|
|
|
147
181
|
|
|
182
|
+
</tbody>
|
|
183
|
+
</table>
|
|
184
|
+
</section>
|
|
185
|
+
<h3>src/lib/compare-with.directive.ts</h3>
|
|
186
|
+
<section data-compodoc="block-properties">
|
|
187
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
188
|
+
<tbody>
|
|
189
|
+
<tr>
|
|
190
|
+
<td class="col-md-4">
|
|
191
|
+
<a name="PRISM_FORM_STYLE"></a>
|
|
192
|
+
<span class="name">
|
|
193
|
+
<span ><b>PRISM_FORM_STYLE</b></span>
|
|
194
|
+
<a href="#PRISM_FORM_STYLE"><span class="icon ion-ios-link"></span></a>
|
|
195
|
+
</span>
|
|
196
|
+
</td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td class="col-md-4">
|
|
200
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
201
|
+
|
|
202
|
+
</td>
|
|
203
|
+
</tr>
|
|
204
|
+
<tr>
|
|
205
|
+
<td class="col-md-4">
|
|
206
|
+
<i>Default value : </i><code>'display: flex; flex-direction: column; gap: 8px; min-width: 280px'</code>
|
|
207
|
+
</td>
|
|
208
|
+
</tr>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
</tbody>
|
|
212
|
+
</table>
|
|
213
|
+
</section>
|
|
214
|
+
<h3>src/lib/input-clear-button.directive.ts</h3>
|
|
215
|
+
<section data-compodoc="block-properties">
|
|
216
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
217
|
+
<tbody>
|
|
218
|
+
<tr>
|
|
219
|
+
<td class="col-md-4">
|
|
220
|
+
<a name="PRISM_FORM_STYLE"></a>
|
|
221
|
+
<span class="name">
|
|
222
|
+
<span ><b>PRISM_FORM_STYLE</b></span>
|
|
223
|
+
<a href="#PRISM_FORM_STYLE"><span class="icon ion-ios-link"></span></a>
|
|
224
|
+
</span>
|
|
225
|
+
</td>
|
|
226
|
+
</tr>
|
|
227
|
+
<tr>
|
|
228
|
+
<td class="col-md-4">
|
|
229
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
230
|
+
|
|
231
|
+
</td>
|
|
232
|
+
</tr>
|
|
233
|
+
<tr>
|
|
234
|
+
<td class="col-md-4">
|
|
235
|
+
<i>Default value : </i><code>'display: flex; flex-direction: column; gap: 8px; min-width: 280px'</code>
|
|
236
|
+
</td>
|
|
237
|
+
</tr>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</tbody>
|
|
241
|
+
</table>
|
|
242
|
+
</section>
|
|
243
|
+
<h3>src/lib/required.directive.ts</h3>
|
|
244
|
+
<section data-compodoc="block-properties">
|
|
245
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
246
|
+
<tbody>
|
|
247
|
+
<tr>
|
|
248
|
+
<td class="col-md-4">
|
|
249
|
+
<a name="PRISM_FORM_STYLE"></a>
|
|
250
|
+
<span class="name">
|
|
251
|
+
<span ><b>PRISM_FORM_STYLE</b></span>
|
|
252
|
+
<a href="#PRISM_FORM_STYLE"><span class="icon ion-ios-link"></span></a>
|
|
253
|
+
</span>
|
|
254
|
+
</td>
|
|
255
|
+
</tr>
|
|
256
|
+
<tr>
|
|
257
|
+
<td class="col-md-4">
|
|
258
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
259
|
+
|
|
260
|
+
</td>
|
|
261
|
+
</tr>
|
|
262
|
+
<tr>
|
|
263
|
+
<td class="col-md-4">
|
|
264
|
+
<i>Default value : </i><code>'display: flex; flex-direction: column; gap: 8px; min-width: 280px'</code>
|
|
265
|
+
</td>
|
|
266
|
+
</tr>
|
|
267
|
+
|
|
268
|
+
|
|
148
269
|
</tbody>
|
|
149
270
|
</table>
|
|
150
271
|
</section>
|
|
@@ -161,6 +282,12 @@
|
|
|
161
282
|
</span>
|
|
162
283
|
</td>
|
|
163
284
|
</tr>
|
|
285
|
+
<tr>
|
|
286
|
+
<td class="col-md-4">
|
|
287
|
+
<i>Type : </i> <code>unknown</code>
|
|
288
|
+
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
164
291
|
<tr>
|
|
165
292
|
<td class="col-md-4">
|
|
166
293
|
<i>Default value : </i><code>convertNxGenerator(generator)</code>
|
|
@@ -206,6 +333,24 @@
|
|
|
206
333
|
|
|
207
334
|
<script>
|
|
208
335
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
336
|
+
var updateDarkModeSwitchOffset = function () {
|
|
337
|
+
var content = document.querySelector('.content');
|
|
338
|
+
var scrollbarWidth = 0;
|
|
339
|
+
|
|
340
|
+
if (content) {
|
|
341
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
document.documentElement.style.setProperty(
|
|
345
|
+
'--content-scrollbar-width',
|
|
346
|
+
scrollbarWidth + 'px'
|
|
347
|
+
);
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
updateDarkModeSwitchOffset();
|
|
351
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
352
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
353
|
+
|
|
209
354
|
checkToggle(darkModeState);
|
|
210
355
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
211
356
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -221,14 +366,12 @@
|
|
|
221
366
|
<script src="../js/libs/lit-html.js"></script>
|
|
222
367
|
|
|
223
368
|
<script src="../js/menu-wc.js" defer></script>
|
|
224
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
225
369
|
|
|
226
370
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
227
371
|
|
|
228
372
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
229
373
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
230
374
|
<script src="../js/libs/promise.min.js"></script>
|
|
231
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
232
375
|
|
|
233
376
|
<script src="../js/compodoc.js"></script>
|
|
234
377
|
|
package/compodoc/modules.html
CHANGED
|
@@ -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">
|
|
@@ -84,6 +105,10 @@
|
|
|
84
105
|
|
|
85
106
|
|
|
86
107
|
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
87
112
|
<ol class="breadcrumb">
|
|
88
113
|
<li class="breadcrumb-item">Modules</li>
|
|
89
114
|
</ol>
|
|
@@ -141,6 +166,24 @@
|
|
|
141
166
|
|
|
142
167
|
<script>
|
|
143
168
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
169
|
+
var updateDarkModeSwitchOffset = function () {
|
|
170
|
+
var content = document.querySelector('.content');
|
|
171
|
+
var scrollbarWidth = 0;
|
|
172
|
+
|
|
173
|
+
if (content) {
|
|
174
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
document.documentElement.style.setProperty(
|
|
178
|
+
'--content-scrollbar-width',
|
|
179
|
+
scrollbarWidth + 'px'
|
|
180
|
+
);
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
updateDarkModeSwitchOffset();
|
|
184
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
185
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
186
|
+
|
|
144
187
|
checkToggle(darkModeState);
|
|
145
188
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
146
189
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -156,14 +199,12 @@
|
|
|
156
199
|
<script src="./js/libs/lit-html.js"></script>
|
|
157
200
|
|
|
158
201
|
<script src="./js/menu-wc.js" defer></script>
|
|
159
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
160
202
|
|
|
161
203
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
162
204
|
|
|
163
205
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
164
206
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
165
207
|
<script src="./js/libs/promise.min.js"></script>
|
|
166
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
167
208
|
|
|
168
209
|
<script src="./js/compodoc.js"></script>
|
|
169
210
|
|
package/compodoc/overview.html
CHANGED
|
@@ -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">
|
|
@@ -83,6 +104,10 @@
|
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
85
106
|
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
86
111
|
<ol class="breadcrumb">
|
|
87
112
|
<li class="breadcrumb-item">Overview</li>
|
|
88
113
|
</ol>
|
|
@@ -121,6 +146,16 @@
|
|
|
121
146
|
</div>
|
|
122
147
|
</div>
|
|
123
148
|
</div>
|
|
149
|
+
<div class="col-sm-3">
|
|
150
|
+
<div class="card text-center">
|
|
151
|
+
<div class="card-block">
|
|
152
|
+
<h4 class="card-title"><span class="icon ion-ios-git-branch"></span></h4>
|
|
153
|
+
<p class="card-text">
|
|
154
|
+
<a href="./routes.html">0 </a>
|
|
155
|
+
</p>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
124
159
|
</div>
|
|
125
160
|
</div>
|
|
126
161
|
<script src="js/libs/svg-pan-zoom.min.js"></script>
|
|
@@ -175,6 +210,24 @@
|
|
|
175
210
|
|
|
176
211
|
<script>
|
|
177
212
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
213
|
+
var updateDarkModeSwitchOffset = function () {
|
|
214
|
+
var content = document.querySelector('.content');
|
|
215
|
+
var scrollbarWidth = 0;
|
|
216
|
+
|
|
217
|
+
if (content) {
|
|
218
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
document.documentElement.style.setProperty(
|
|
222
|
+
'--content-scrollbar-width',
|
|
223
|
+
scrollbarWidth + 'px'
|
|
224
|
+
);
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
updateDarkModeSwitchOffset();
|
|
228
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
229
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
230
|
+
|
|
178
231
|
checkToggle(darkModeState);
|
|
179
232
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
180
233
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -190,14 +243,12 @@
|
|
|
190
243
|
<script src="./js/libs/lit-html.js"></script>
|
|
191
244
|
|
|
192
245
|
<script src="./js/menu-wc.js" defer></script>
|
|
193
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
194
246
|
|
|
195
247
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
196
248
|
|
|
197
249
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
198
250
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
199
251
|
<script src="./js/libs/promise.min.js"></script>
|
|
200
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
201
252
|
|
|
202
253
|
<script src="./js/compodoc.js"></script>
|
|
203
254
|
|
package/compodoc/properties.html
CHANGED
|
@@ -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">
|
|
@@ -97,12 +118,16 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
<ol class="breadcrumb">
|
|
101
126
|
<li class="breadcrumb-item">Properties</li>
|
|
102
127
|
</ol>
|
|
103
128
|
<ul class="properties-list">
|
|
104
129
|
<li>
|
|
105
|
-
<b>Version</b> :
|
|
130
|
+
<b>Version</b> : 22.0.0-dev.1</li>
|
|
106
131
|
<li>
|
|
107
132
|
<b>Description</b> : Provides directives and a module to enhance Angular Material forms. It includes features such as displaying control errors, clearing input fields, handling required fields, and managing form field visibility based on defined conditions. The package also offers a form controls component with built-in reset, cancel, and submit functionalities.
|
|
108
133
|
</li>
|
|
@@ -156,6 +181,24 @@
|
|
|
156
181
|
|
|
157
182
|
<script>
|
|
158
183
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
184
|
+
var updateDarkModeSwitchOffset = function () {
|
|
185
|
+
var content = document.querySelector('.content');
|
|
186
|
+
var scrollbarWidth = 0;
|
|
187
|
+
|
|
188
|
+
if (content) {
|
|
189
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
document.documentElement.style.setProperty(
|
|
193
|
+
'--content-scrollbar-width',
|
|
194
|
+
scrollbarWidth + 'px'
|
|
195
|
+
);
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
updateDarkModeSwitchOffset();
|
|
199
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
200
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
201
|
+
|
|
159
202
|
checkToggle(darkModeState);
|
|
160
203
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
161
204
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -171,14 +214,12 @@
|
|
|
171
214
|
<script src="./js/libs/lit-html.js"></script>
|
|
172
215
|
|
|
173
216
|
<script src="./js/menu-wc.js" defer></script>
|
|
174
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
175
217
|
|
|
176
218
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
177
219
|
|
|
178
220
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
179
221
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
180
222
|
<script src="./js/libs/promise.min.js"></script>
|
|
181
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
182
223
|
|
|
183
224
|
<script src="./js/compodoc.js"></script>
|
|
184
225
|
|