@rxap/form-system 19.0.0-dev.1 → 19.0.0
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 +8 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +45 -0
- package/compodoc/classes/ExtractFunctionMixin.html +466 -0
- package/compodoc/classes/ExtractFunctionsMixin.html +434 -0
- package/compodoc/classes/ExtractIsValueFunctionMixin.html +407 -0
- package/compodoc/classes/ExtractToDisplayFunctionMixin.html +407 -0
- package/compodoc/dependencies.html +16 -16
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +162 -181
- package/compodoc/directives/OptionsFromMethodDirective.html +20 -19
- package/compodoc/index.html +1 -1
- package/compodoc/injectables/NoopResolveMethod.html +622 -0
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +95 -18
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +95 -18
- package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +95 -18
- package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +2 -1
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +2 -1
- package/compodoc/interfaces/UseFunctionConfig.html +360 -0
- package/compodoc/interfaces/UseFunctionDefinition.html +399 -0
- package/compodoc/js/menu-wc.js +21 -0
- package/compodoc/js/menu-wc_es5.js +2 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +738 -30
- package/compodoc/miscellaneous/typealiases.html +59 -0
- package/compodoc/miscellaneous/variables.html +96 -0
- package/compodoc/overview.html +3 -3
- package/compodoc/properties.html +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AutocompleteOptionsFromMethodDirective.html +44 -0
- package/docs/classes/ControlDataSource.html +12 -12
- package/docs/classes/ControlHideShowDirective.html +2 -2
- package/docs/classes/ExtractControlFromParentMixin.html +2 -2
- package/docs/classes/ExtractControlMixin.html +2 -2
- package/docs/classes/ExtractDataSourcesMixin.html +2 -2
- package/docs/classes/ExtractFormDefinitionMixin.html +2 -2
- package/docs/classes/ExtractFunctionMixin.html +5 -0
- package/docs/classes/ExtractFunctionsMixin.html +3 -0
- package/docs/classes/ExtractIsValueFunctionMixin.html +11 -0
- package/docs/classes/ExtractMethodMixin.html +2 -2
- package/docs/classes/ExtractMethodsMixin.html +2 -2
- package/docs/classes/ExtractOptionsDataSourceMixin.html +2 -2
- package/docs/classes/ExtractOptionsMethodMixin.html +2 -2
- package/docs/classes/ExtractRemoteMethodsMixin.html +2 -2
- package/docs/classes/ExtractResolveMethodMixin.html +2 -2
- package/docs/classes/ExtractToDisplayFunctionMixin.html +11 -0
- package/docs/classes/ForFormArrayItemsDirective.html +2 -2
- package/docs/classes/FormArrayAddItemButtonDirective.html +2 -2
- package/docs/classes/FormArrayItemButton.html +3 -2
- package/docs/classes/FormArrayItemRemoveButtonDirective.html +7 -2
- package/docs/classes/FormArrayItemRestoreButtonDirective.html +3 -2
- package/docs/classes/FormArrayRemovableDirective.html +3 -3
- package/docs/classes/FormSystemControlDirective.html +3 -3
- package/docs/classes/FormSystemDirectivesModule.html +1 -1
- package/docs/classes/InputSelectOptionsDirective.html +3 -3
- package/docs/classes/IsEqualToDirective.html +3 -3
- package/docs/classes/IsSelectableValueDirective.html +2 -2
- package/docs/classes/NoopResolveMethod.html +3 -0
- package/docs/classes/OptionsFromMethodDirective.html +3 -3
- package/docs/classes/OptionsFromRemoteMethodDirective.html +3 -3
- package/docs/classes/RxapFormSystemError.html +5 -15
- package/docs/classes/SubmitContextFormAdapter.html +9 -9
- package/docs/classes/TestNgControl.html +24 -24
- package/docs/documentation.json +17918 -8072
- package/docs/enums/FormSystemMetadataKeys.html +2 -2
- package/docs/functions/ApplyUseFunctionAdapters.html +1 -0
- package/docs/functions/ApplyUseMethodAdapters.html +1 -1
- package/docs/functions/ComposeOptionsTransformers.html +1 -1
- package/docs/functions/FormContextFromActivatedRouteFactory.html +1 -1
- package/docs/functions/ResolveByUuidParameter.html +1 -1
- package/docs/functions/ResolveByUuidResultFactory.html +1 -1
- package/docs/functions/SubmitContextFormAdapterFactory.html +1 -1
- package/docs/functions/UseAutocompleteIsValueFunction.html +1 -0
- package/docs/functions/UseAutocompleteOptionsMethod.html +1 -0
- package/docs/functions/UseAutocompleteResolveMethod.html +1 -0
- package/docs/functions/UseAutocompleteToDisplayFunction.html +1 -0
- package/docs/functions/UseComponent.html +1 -1
- package/docs/functions/UseDataSource.html +1 -1
- package/docs/functions/UseFormComponent.html +1 -1
- package/docs/functions/UseFunction.html +1 -0
- package/docs/functions/UseHideFunction.html +1 -1
- package/docs/functions/UseIsValueFunction.html +1 -0
- package/docs/functions/UseMethod.html +1 -1
- package/docs/functions/UseOptionsDataSource.html +1 -1
- package/docs/functions/UseOptionsMethod.html +1 -1
- package/docs/functions/UseOptionsRemoteMethod.html +1 -1
- package/docs/functions/UseRemoteMethod.html +1 -1
- package/docs/functions/UseResolveMethod.html +1 -1
- package/docs/functions/UseShowFunction.html +1 -1
- package/docs/functions/UseToDisplayFunction.html +1 -0
- package/docs/functions/controlDataSource-1.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +2 -0
- package/docs/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +2 -0
- package/docs/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +2 -0
- package/docs/interfaces/ControlHideShowOptions.html +2 -2
- package/docs/interfaces/ControlWithDataSource.html +2 -2
- package/docs/interfaces/ForFormArrayItemsDirectiveContext.html +2 -2
- package/docs/interfaces/InputSelectOptionsSettings.html +4 -4
- package/docs/interfaces/InputSelectOptionsTemplateContext.html +2 -2
- package/docs/interfaces/OptionsFromMethodDirectiveSettings.html +1 -1
- package/docs/interfaces/OptionsFromMethodTemplateContext.html +2 -2
- package/docs/interfaces/OptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/interfaces/UseDataSourceSettings.html +2 -2
- package/docs/interfaces/UseDataSourceValue.html +3 -3
- package/docs/interfaces/UseFunctionConfig.html +2 -0
- package/docs/interfaces/UseFunctionDefinition.html +3 -0
- package/docs/interfaces/UseMethodConfig.html +2 -2
- package/docs/interfaces/UseMethodDefinition.html +2 -2
- package/docs/modules.html +28 -3
- package/docs/types/ControlHideShowFunction.html +1 -1
- package/docs/types/FunctionParameterAdapterFunction.html +1 -0
- package/docs/types/FunctionResultAdapterFunction.html +1 -0
- package/docs/types/MethodParameterAdapterFunction.html +1 -1
- package/docs/types/MethodResultAdapterFunction.html +1 -1
- package/docs/types/UseFunctionType.html +1 -0
- package/docs/types/UseOptionsDataSourceSettings.html +1 -1
- package/docs/variables/DATA_SOURCE_NAME.html +1 -1
- package/docs/variables/IS_VALUE_FUNCTION_NAME.html +1 -0
- package/docs/variables/OPTIONS_METHOD_NAME.html +1 -1
- package/docs/variables/REMOTE_METHOD_NAME.html +1 -1
- package/docs/variables/RESOLVE_METHOD_NAME.html +1 -1
- package/docs/variables/RXAP_FORM_CONTROL_SOURCE.html +1 -1
- package/docs/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.html +1 -1
- package/docs/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.html +1 -1
- package/docs/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.html +1 -1
- package/docs/variables/RXAP_USE_FUNCTION.html +1 -0
- package/docs/variables/RXAP_USE_METHOD.html +1 -1
- package/docs/variables/RXAP_USE_REMOTE_METHOD.html +1 -1
- package/docs/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.html +1 -1
- package/docs/variables/TO_DISPLAY_FUNCTION_NAME.html +1 -0
- package/package.json +42 -43
- package/theme.css +177 -1
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>angular-form-system</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">angular-form-system</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content class">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
<ol class="breadcrumb">
|
|
97
|
+
<li class="breadcrumb-item">Classes</li>
|
|
98
|
+
<li class="breadcrumb-item" >ExtractIsValueFunctionMixin</li>
|
|
99
|
+
</ol>
|
|
100
|
+
|
|
101
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
102
|
+
<li class="nav-item">
|
|
103
|
+
<a href="#info"
|
|
104
|
+
class="nav-link"
|
|
105
|
+
class="nav-link active"
|
|
106
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
107
|
+
</li>
|
|
108
|
+
<li class="nav-item">
|
|
109
|
+
<a href="#source"
|
|
110
|
+
class="nav-link"
|
|
111
|
+
|
|
112
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
113
|
+
</li>
|
|
114
|
+
</ul>
|
|
115
|
+
|
|
116
|
+
<div class="tab-content">
|
|
117
|
+
<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/mixins/extract-is-value-function.mixin.ts</code>
|
|
123
|
+
</p>
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
<section data-compodoc="block-index">
|
|
131
|
+
<h3 id="index">Index</h3>
|
|
132
|
+
<table class="table table-sm table-bordered index-table">
|
|
133
|
+
<tbody>
|
|
134
|
+
|
|
135
|
+
<tr>
|
|
136
|
+
<td class="col-md-4">
|
|
137
|
+
<h6><b>Methods</b></h6>
|
|
138
|
+
</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td class="col-md-4">
|
|
142
|
+
<ul class="index-list">
|
|
143
|
+
<li>
|
|
144
|
+
<span class="modifier">Protected</span>
|
|
145
|
+
<a href="#extractIsValueFunction" >extractIsValueFunction</a>
|
|
146
|
+
</li>
|
|
147
|
+
</ul>
|
|
148
|
+
</td>
|
|
149
|
+
</tr>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</tbody>
|
|
156
|
+
</table>
|
|
157
|
+
</section>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
<section data-compodoc="block-methods">
|
|
162
|
+
|
|
163
|
+
<h3 id="methods">
|
|
164
|
+
Methods
|
|
165
|
+
</h3>
|
|
166
|
+
<table class="table table-sm table-bordered">
|
|
167
|
+
<tbody>
|
|
168
|
+
<tr>
|
|
169
|
+
<td class="col-md-4">
|
|
170
|
+
<a name="extractIsValueFunction"></a>
|
|
171
|
+
<span class="name">
|
|
172
|
+
<span class="modifier">Protected</span>
|
|
173
|
+
<span ><b>extractIsValueFunction</b></span>
|
|
174
|
+
<a href="#extractIsValueFunction"><span class="icon ion-ios-link"></span></a>
|
|
175
|
+
</span>
|
|
176
|
+
</td>
|
|
177
|
+
</tr>
|
|
178
|
+
<tr>
|
|
179
|
+
<td class="col-md-4">
|
|
180
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
181
|
+
<code>extractIsValueFunction(defaultFunction: <a href="../undefineds/UseFunction.html" target="_self">UseFunctionType< | boolean> | null</a>, control: RxapFormControl, formDefinition)</code>
|
|
182
|
+
</td>
|
|
183
|
+
</tr>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<tr>
|
|
187
|
+
<td class="col-md-4">
|
|
188
|
+
<div class="io-line">Defined in <a href="" data-line="38"
|
|
189
|
+
class="link-to-prism">src/lib/mixins/extract-is-value-function.mixin.ts:38</a></div>
|
|
190
|
+
</td>
|
|
191
|
+
</tr>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<tr>
|
|
195
|
+
<td class="col-md-4">
|
|
196
|
+
|
|
197
|
+
<div class="io-description">
|
|
198
|
+
<b>Parameters :</b>
|
|
199
|
+
|
|
200
|
+
<table class="params">
|
|
201
|
+
<thead>
|
|
202
|
+
<tr>
|
|
203
|
+
<td>Name</td>
|
|
204
|
+
<td>Type</td>
|
|
205
|
+
<td>Optional</td>
|
|
206
|
+
<td>Default value</td>
|
|
207
|
+
</tr>
|
|
208
|
+
</thead>
|
|
209
|
+
<tbody>
|
|
210
|
+
<tr>
|
|
211
|
+
<td>defaultFunction</td>
|
|
212
|
+
<td>
|
|
213
|
+
<code><a href="../miscellaneous/functions.html#UseFunction" target="_self" >UseFunctionType< | boolean> | null</a></code>
|
|
214
|
+
</td>
|
|
215
|
+
|
|
216
|
+
<td>
|
|
217
|
+
No
|
|
218
|
+
</td>
|
|
219
|
+
|
|
220
|
+
<td>
|
|
221
|
+
<code>null</code>
|
|
222
|
+
</td>
|
|
223
|
+
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td>control</td>
|
|
227
|
+
<td>
|
|
228
|
+
<code>RxapFormControl</code>
|
|
229
|
+
</td>
|
|
230
|
+
|
|
231
|
+
<td>
|
|
232
|
+
No
|
|
233
|
+
</td>
|
|
234
|
+
|
|
235
|
+
<td>
|
|
236
|
+
<code>this.extractControl()</code>
|
|
237
|
+
</td>
|
|
238
|
+
|
|
239
|
+
</tr>
|
|
240
|
+
<tr>
|
|
241
|
+
<td>formDefinition</td>
|
|
242
|
+
<td>
|
|
243
|
+
</td>
|
|
244
|
+
|
|
245
|
+
<td>
|
|
246
|
+
No
|
|
247
|
+
</td>
|
|
248
|
+
|
|
249
|
+
<td>
|
|
250
|
+
<code>this.extractFormDefinition(control)</code>
|
|
251
|
+
</td>
|
|
252
|
+
|
|
253
|
+
</tr>
|
|
254
|
+
</tbody>
|
|
255
|
+
</table>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="io-description">
|
|
258
|
+
<b>Returns : </b> <code><a href="../miscellaneous/functions.html#UseFunction" target="_self" >UseFunctionType<, boolean></a></code>
|
|
259
|
+
|
|
260
|
+
</div>
|
|
261
|
+
<div class="io-description">
|
|
262
|
+
|
|
263
|
+
</div>
|
|
264
|
+
</td>
|
|
265
|
+
</tr>
|
|
266
|
+
</tbody>
|
|
267
|
+
</table>
|
|
268
|
+
</section>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
278
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { RxapFormControl } from '@rxap/forms';
|
|
279
|
+
import { Mixin } from '@rxap/mixin';
|
|
280
|
+
import { ExtractControlMixin } from './extract-control.mixin';
|
|
281
|
+
import { ExtractFormDefinitionMixin } from './extract-form-definition.mixin';
|
|
282
|
+
import { ExtractFunctionMixin } from './extract-function.mixin';
|
|
283
|
+
import {
|
|
284
|
+
UseFunction,
|
|
285
|
+
UseFunctionConfig,
|
|
286
|
+
UseFunctionType,
|
|
287
|
+
} from './extract-functions.mixin';
|
|
288
|
+
import { UseMethodConfig } from './extract-methods.mixin';
|
|
289
|
+
|
|
290
|
+
export const IS_VALUE_FUNCTION_NAME = 'is-value';
|
|
291
|
+
|
|
292
|
+
export function UseIsValueFunction(
|
|
293
|
+
fnc: UseFunctionType<[any], boolean>,
|
|
294
|
+
): any;
|
|
295
|
+
export function UseIsValueFunction(
|
|
296
|
+
fnc: UseFunctionType<any[], any>,
|
|
297
|
+
config: UseFunctionConfig<boolean, any[], any, [any]>,
|
|
298
|
+
): any;
|
|
299
|
+
export function UseIsValueFunction(
|
|
300
|
+
fnc: UseFunctionType<[any], boolean>,
|
|
301
|
+
config?: UseMethodConfig,
|
|
302
|
+
) {
|
|
303
|
+
return function (target: any, propertyKey: string) {
|
|
304
|
+
UseFunction(fnc, IS_VALUE_FUNCTION_NAME, config)(target, propertyKey);
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface ExtractIsValueFunctionMixin extends ExtractFormDefinitionMixin, ExtractFunctionMixin,
|
|
309
|
+
ExtractControlMixin {
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@Mixin(ExtractFormDefinitionMixin, ExtractFunctionMixin, ExtractControlMixin)
|
|
313
|
+
export class ExtractIsValueFunctionMixin {
|
|
314
|
+
|
|
315
|
+
protected extractIsValueFunction(
|
|
316
|
+
defaultFunction: UseFunctionType<[any], boolean> | null = null,
|
|
317
|
+
control: RxapFormControl = this.extractControl(),
|
|
318
|
+
formDefinition = this.extractFormDefinition(control),
|
|
319
|
+
): UseFunctionType<[any], boolean> {
|
|
320
|
+
return this.extractFunction(defaultFunction, formDefinition, control.controlId, IS_VALUE_FUNCTION_NAME);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
}
|
|
324
|
+
</code></pre>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
</div><div class="search-results">
|
|
337
|
+
<div class="has-results">
|
|
338
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
339
|
+
<ul class="search-results-list"></ul>
|
|
340
|
+
</div>
|
|
341
|
+
<div class="no-results">
|
|
342
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
343
|
+
</div>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
<!-- END CONTENT -->
|
|
347
|
+
</div>
|
|
348
|
+
</div>
|
|
349
|
+
|
|
350
|
+
<label class="dark-mode-switch">
|
|
351
|
+
<input type="checkbox">
|
|
352
|
+
<span class="slider">
|
|
353
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
354
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
355
|
+
</svg>
|
|
356
|
+
</span>
|
|
357
|
+
</label>
|
|
358
|
+
|
|
359
|
+
<script>
|
|
360
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
361
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
|
|
362
|
+
var COMPODOC_CURRENT_PAGE_URL = 'ExtractIsValueFunctionMixin.html';
|
|
363
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
364
|
+
</script>
|
|
365
|
+
|
|
366
|
+
<script>
|
|
367
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
368
|
+
checkToggle(darkModeState);
|
|
369
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
370
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
371
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
372
|
+
darkModeState = !darkModeState;
|
|
373
|
+
toggleDarkMode(darkModeState);
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
</script>
|
|
378
|
+
|
|
379
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
380
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
381
|
+
|
|
382
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
383
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
384
|
+
|
|
385
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
386
|
+
|
|
387
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
388
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
389
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
390
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
391
|
+
|
|
392
|
+
<script src="../js/compodoc.js"></script>
|
|
393
|
+
|
|
394
|
+
<script src="../js/tabs.js"></script>
|
|
395
|
+
<script src="../js/menu.js"></script>
|
|
396
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
397
|
+
<script src="../js/libs/prism.js"></script>
|
|
398
|
+
<script src="../js/sourceCode.js"></script>
|
|
399
|
+
<script src="../js/search/search.js"></script>
|
|
400
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
401
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
402
|
+
<script src="../js/search/search_index.js"></script>
|
|
403
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
</body>
|
|
407
|
+
</html>
|