@rxap/ngx-material-table-select 18.0.2 → 18.0.3-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.
Files changed (152) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +14 -1
  3. package/compodoc/changelog.html +328 -0
  4. package/compodoc/classes/ExtractTableSelectColumnMapMixin.html +377 -0
  5. package/compodoc/classes/ExtractTableSelectDataSourceMixin.html +315 -0
  6. package/compodoc/classes/ExtractTableSelectToDisplayMixin.html +379 -0
  7. package/compodoc/classes/ExtractTableSelectToValueMixin.html +379 -0
  8. package/compodoc/classes/MockWindowRef.html +642 -0
  9. package/compodoc/components/TableSelectInputComponent.html +1900 -0
  10. package/compodoc/components/TableSelectWindowComponent.html +1192 -0
  11. package/compodoc/components/WindowTestWrapperComponent.html +692 -0
  12. package/compodoc/dependencies.html +233 -0
  13. package/compodoc/directives/OpenTableSelectWindowDirective.html +1460 -0
  14. package/compodoc/directives/TableSelectControlDirective.html +1135 -0
  15. package/compodoc/fonts/ionicons.eot +0 -0
  16. package/compodoc/fonts/ionicons.svg +2090 -0
  17. package/compodoc/fonts/ionicons.ttf +0 -0
  18. package/compodoc/fonts/ionicons.woff +0 -0
  19. package/compodoc/fonts/ionicons.woff2 +0 -0
  20. package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
  21. package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
  22. package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
  23. package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
  24. package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
  25. package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
  26. package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
  27. package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
  28. package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
  29. package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
  30. package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
  31. package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
  32. package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
  33. package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
  34. package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
  35. package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
  36. package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
  37. package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
  38. package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
  39. package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
  40. package/compodoc/graph/dependencies.svg +154 -0
  41. package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
  42. package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
  43. package/compodoc/images/compodoc-vectorise.png +0 -0
  44. package/compodoc/images/compodoc-vectorise.svg +201 -0
  45. package/compodoc/images/favicon.ico +0 -0
  46. package/compodoc/index.html +197 -0
  47. package/compodoc/injectables/OpenTableSelectWindowMethod.html +556 -0
  48. package/compodoc/interfaces/BooleanColumn.html +451 -0
  49. package/compodoc/interfaces/DateColumn.html +496 -0
  50. package/compodoc/interfaces/OpenTableSelectWindowMethodParameters.html +942 -0
  51. package/compodoc/interfaces/SelectColumn.html +559 -0
  52. package/compodoc/js/compodoc.js +14 -0
  53. package/compodoc/js/lazy-load-graphs.js +44 -0
  54. package/compodoc/js/libs/EventDispatcher.js +5 -0
  55. package/compodoc/js/libs/bootstrap-native.js +2 -0
  56. package/compodoc/js/libs/clipboard.min.js +7 -0
  57. package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
  58. package/compodoc/js/libs/custom-elements.min.js +38 -0
  59. package/compodoc/js/libs/d3.v3.min.js +2 -0
  60. package/compodoc/js/libs/deep-iterator.js +2 -0
  61. package/compodoc/js/libs/es6-shim.min.js +12 -0
  62. package/compodoc/js/libs/htmlparser.js +23 -0
  63. package/compodoc/js/libs/innersvg.js +9 -0
  64. package/compodoc/js/libs/lit-html.js +1 -0
  65. package/compodoc/js/libs/prism.js +46 -0
  66. package/compodoc/js/libs/promise.min.js +6 -0
  67. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
  68. package/compodoc/js/libs/tablesort.min.js +6 -0
  69. package/compodoc/js/libs/tablesort.number.min.js +6 -0
  70. package/compodoc/js/libs/vis.min.js +47 -0
  71. package/compodoc/js/libs/zepto.min.js +2 -0
  72. package/compodoc/js/menu-wc.js +216 -0
  73. package/compodoc/js/menu-wc_es5.js +40 -0
  74. package/compodoc/js/menu.js +270 -0
  75. package/compodoc/js/routes.js +301 -0
  76. package/compodoc/js/search/lunr.min.js +6 -0
  77. package/compodoc/js/search/search-lunr.js +67 -0
  78. package/compodoc/js/search/search.js +283 -0
  79. package/compodoc/js/search/search_index.js +4 -0
  80. package/compodoc/js/sourceCode.js +58 -0
  81. package/compodoc/js/svg-pan-zoom.controls.js +53 -0
  82. package/compodoc/js/tabs.js +21 -0
  83. package/compodoc/js/tree.js +147 -0
  84. package/compodoc/license.html +731 -0
  85. package/compodoc/miscellaneous/functions.html +618 -0
  86. package/compodoc/miscellaneous/typealiases.html +277 -0
  87. package/compodoc/miscellaneous/variables.html +370 -0
  88. package/compodoc/modules/TableSelectControlModule/dependencies.svg +154 -0
  89. package/compodoc/modules/TableSelectControlModule.html +465 -0
  90. package/compodoc/modules.html +200 -0
  91. package/compodoc/overview.html +401 -0
  92. package/compodoc/properties.html +195 -0
  93. package/compodoc/styles/bootstrap-card.css +219 -0
  94. package/compodoc/styles/bootstrap.min.css +6 -0
  95. package/compodoc/styles/compodoc.css +1124 -0
  96. package/compodoc/styles/dark.css +121 -0
  97. package/compodoc/styles/ionicons.min.css +11 -0
  98. package/compodoc/styles/laravel.css +113 -0
  99. package/compodoc/styles/material.css +131 -0
  100. package/compodoc/styles/original.css +51 -0
  101. package/compodoc/styles/postmark.css +238 -0
  102. package/compodoc/styles/prism.css +301 -0
  103. package/compodoc/styles/readthedocs.css +117 -0
  104. package/compodoc/styles/reset.css +129 -0
  105. package/compodoc/styles/stripe.css +106 -0
  106. package/compodoc/styles/style.css +7 -0
  107. package/compodoc/styles/tablesort.css +33 -0
  108. package/compodoc/styles/vagrant.css +130 -0
  109. package/docs/.nojekyll +1 -0
  110. package/docs/assets/highlight.css +85 -0
  111. package/docs/assets/icons.js +15 -0
  112. package/docs/assets/icons.svg +1 -0
  113. package/docs/assets/main.js +59 -0
  114. package/docs/assets/navigation.js +1 -0
  115. package/docs/assets/search.js +1 -0
  116. package/docs/assets/style.css +1412 -0
  117. package/docs/classes/ExtractTableSelectColumnMapMixin.html +8 -0
  118. package/docs/classes/ExtractTableSelectDataSourceMixin.html +13 -0
  119. package/docs/classes/ExtractTableSelectToDisplayMixin.html +8 -0
  120. package/docs/classes/ExtractTableSelectToValueMixin.html +8 -0
  121. package/docs/classes/MockWindowRef.html +65 -0
  122. package/docs/classes/OpenTableSelectWindowDirective.html +42 -0
  123. package/docs/classes/OpenTableSelectWindowMethod.html +6 -0
  124. package/docs/classes/TableSelectControlDirective.html +40 -0
  125. package/docs/classes/TableSelectControlModule.html +2 -0
  126. package/docs/classes/TableSelectInputComponent.html +36 -0
  127. package/docs/classes/TableSelectWindowComponent.html +13 -0
  128. package/docs/classes/WindowTestWrapperComponent.html +9 -0
  129. package/docs/documentation.json +22396 -0
  130. package/docs/functions/CreateFilterFormProvider.html +1 -0
  131. package/docs/functions/UseTableSelectColumns.html +1 -0
  132. package/docs/functions/UseTableSelectDataSource.html +1 -0
  133. package/docs/functions/UseTableSelectMethod.html +1 -0
  134. package/docs/functions/UseTableSelectToDisplay.html +1 -0
  135. package/docs/functions/UseTableSelectToValue.html +1 -0
  136. package/docs/hierarchy.html +1 -0
  137. package/docs/index.html +25 -0
  138. package/docs/interfaces/BooleanColumn.html +4 -0
  139. package/docs/interfaces/DateColumn.html +5 -0
  140. package/docs/interfaces/OpenTableSelectWindowMethodParameters.html +17 -0
  141. package/docs/interfaces/SelectColumn.html +4 -0
  142. package/docs/modules.html +32 -0
  143. package/docs/types/TableSelectColumn.html +1 -0
  144. package/docs/types/TableSelectColumnMap.html +1 -0
  145. package/docs/types/TableSelectToDisplayFunction.html +1 -0
  146. package/docs/types/TableSelectToValueFunction.html +1 -0
  147. package/docs/variables/TABLE_SELECT_COLUMN_MAP.html +1 -0
  148. package/docs/variables/TABLE_SELECT_DATA_SOURCE.html +1 -0
  149. package/docs/variables/TABLE_SELECT_METHOD.html +1 -0
  150. package/docs/variables/TABLE_SELECT_TO_DISPLAY.html +1 -0
  151. package/docs/variables/TABLE_SELECT_TO_VALUE.html +1 -0
  152. package/package.json +45 -43
@@ -0,0 +1,1135 @@
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-material-table-select</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-material-table-select</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 directive">
83
+ <div class="content-data">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <ol class="breadcrumb">
92
+ <li class="breadcrumb-item">Directives</li>
93
+ <li class="breadcrumb-item" >TableSelectControlDirective</li>
94
+ </ol>
95
+
96
+ <ul class="nav nav-tabs" role="tablist">
97
+ <li class="nav-item">
98
+ <a href="#info"
99
+ class="nav-link"
100
+ class="nav-link active"
101
+ role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
102
+ </li>
103
+ <li class="nav-item">
104
+ <a href="#source"
105
+ class="nav-link"
106
+
107
+ role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
108
+ </li>
109
+ </ul>
110
+
111
+ <div class="tab-content">
112
+ <div class="tab-pane fade active in" id="info">
113
+ <p class="comment">
114
+ <h3>File</h3>
115
+ </p>
116
+ <p class="comment">
117
+ <code>src/lib/table-select-control.directive.ts</code>
118
+ </p>
119
+
120
+
121
+
122
+ <p class="comment">
123
+ <h3>Extends</h3>
124
+ </p>
125
+ <p class="comment">
126
+ <code><a href="../classes/ExtractTableSelectDataSourceMixin.html" target="_self" >ExtractTableSelectDataSourceMixin</a></code>
127
+ <code><a href="../classes/ExtractTableSelectToValueMixin.html" target="_self" >ExtractTableSelectToValueMixin</a></code>
128
+ <code><a href="../classes/ExtractTableSelectToDisplayMixin.html" target="_self" >ExtractTableSelectToDisplayMixin</a></code>
129
+ <code><a href="../classes/ExtractTableSelectColumnMapMixin.html" target="_self" >ExtractTableSelectColumnMapMixin</a></code>
130
+ </p>
131
+
132
+ <p class="comment">
133
+ <h3>Implements</h3>
134
+ </p>
135
+ <p class="comment">
136
+ <code>AfterViewInit</code>
137
+ <code>AfterContentInit</code>
138
+ <code>OnChanges</code>
139
+ <code>OnDestroy</code>
140
+ </p>
141
+
142
+
143
+ <section data-compodoc="block-metadata">
144
+ <h3>Metadata</h3>
145
+ <table class="table table-sm table-hover metadata">
146
+ <tbody>
147
+
148
+ <tr>
149
+ <td class="col-md-3">Selector</td>
150
+ <td class="col-md-9"><code>mat-form-field[rxapTableSelectControl]</code></td>
151
+ </tr>
152
+
153
+ <tr>
154
+ <td class="col-md-3">Standalone</td>
155
+ <td class="col-md-9"><code>true</code></td>
156
+ </tr>
157
+
158
+
159
+
160
+ </tbody>
161
+ </table>
162
+ </section>
163
+
164
+ <section data-compodoc="block-index">
165
+ <h3 id="index">Index</h3>
166
+ <table class="table table-sm table-bordered index-table">
167
+ <tbody>
168
+ <tr>
169
+ <td class="col-md-4">
170
+ <h6><b>Properties</b></h6>
171
+ </td>
172
+ </tr>
173
+ <tr>
174
+ <td class="col-md-4">
175
+ <ul class="index-list">
176
+ <li>
177
+ <span class="modifier">Public</span>
178
+ <a href="#control" >control</a>
179
+ </li>
180
+ <li>
181
+ <span class="modifier">Public</span>
182
+ <span class="modifier">Readonly</span>
183
+ <a href="#dataSourceLoader" >dataSourceLoader</a>
184
+ </li>
185
+ <li>
186
+ <span class="modifier">Protected</span>
187
+ <a href="#disabled" >disabled</a>
188
+ </li>
189
+ <li>
190
+ <span class="modifier">Public</span>
191
+ <span class="modifier">Readonly</span>
192
+ <a href="#injector" >injector</a>
193
+ </li>
194
+ <li>
195
+ <span class="modifier">Protected</span>
196
+ <a href="#matFormField" >matFormField</a>
197
+ </li>
198
+ <li>
199
+ <span class="modifier"></span>
200
+ <span class="modifier">Public</span>
201
+ <span class="modifier">Optional</span>
202
+ <a href="#matLabel" >matLabel</a>
203
+ </li>
204
+ <li>
205
+ <span class="modifier">Public</span>
206
+ <a href="#ngControl" >ngControl</a>
207
+ </li>
208
+ <li>
209
+ <span class="modifier"></span>
210
+ <span class="modifier">Public</span>
211
+ <a href="#openTableSelectWindow" >openTableSelectWindow</a>
212
+ </li>
213
+ <li>
214
+ <span class="modifier"></span>
215
+ <span class="modifier">Public</span>
216
+ <a href="#tableSelectInput" >tableSelectInput</a>
217
+ </li>
218
+ <li>
219
+ <span class="modifier">Public</span>
220
+ <a href="#value" >value</a>
221
+ </li>
222
+ </ul>
223
+ </td>
224
+ </tr>
225
+
226
+ <tr>
227
+ <td class="col-md-4">
228
+ <h6><b>Methods</b></h6>
229
+ </td>
230
+ </tr>
231
+ <tr>
232
+ <td class="col-md-4">
233
+ <ul class="index-list">
234
+ <li>
235
+ <span class="modifier">Protected</span>
236
+ <a href="#extractTableSelectDataSource" >extractTableSelectDataSource</a>
237
+ </li>
238
+ </ul>
239
+ </td>
240
+ </tr>
241
+
242
+ <tr>
243
+ <td class="col-md-4">
244
+ <h6><b>Inputs</b></h6>
245
+ </td>
246
+ </tr>
247
+ <tr>
248
+ <td class="col-md-4">
249
+ <ul class="index-list">
250
+ <li>
251
+ <a href="#columns" >columns</a>
252
+ </li>
253
+ <li>
254
+ <a href="#data" >data</a>
255
+ </li>
256
+ <li>
257
+ <a href="#multiple" >multiple</a>
258
+ </li>
259
+ <li>
260
+ <a href="#openMethod" >openMethod</a>
261
+ </li>
262
+ <li>
263
+ <a href="#toDisplay" >toDisplay</a>
264
+ </li>
265
+ <li>
266
+ <a href="#toValue" >toValue</a>
267
+ </li>
268
+ </ul>
269
+ </td>
270
+ </tr>
271
+
272
+
273
+
274
+
275
+ <tr>
276
+ <td class="col-md-4">
277
+ <h6><b>Accessors</b></h6>
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <td class="col-md-4">
282
+ <ul class="index-list">
283
+ <li>
284
+ <a href="#selected" >selected</a>
285
+ </li>
286
+ </ul>
287
+ </td>
288
+ </tr>
289
+ </tbody>
290
+ </table>
291
+ </section>
292
+
293
+
294
+ <section data-compodoc="block-inputs">
295
+ <h3 id="inputs">Inputs</h3>
296
+ <table class="table table-sm table-bordered">
297
+ <tbody>
298
+ <tr>
299
+ <td class="col-md-4">
300
+ <a name="columns"></a>
301
+ <b>columns</b>
302
+ </td>
303
+ </tr>
304
+ <tr>
305
+ <td class="col-md-4">
306
+ <i>Type : </i> <code><a href="../interfaces/SelectColumn.html" target="_self" >Map&lt;string | TableSelectColumn&gt; | Record&lt;string | TableSelectColumn&gt;</a></code>
307
+
308
+ </td>
309
+ </tr>
310
+ <tr>
311
+ <td class="col-md-2" colspan="2">
312
+ <div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/table-select-control.directive.ts:67</a></div>
313
+ </td>
314
+ </tr>
315
+ </tbody>
316
+ </table>
317
+ <table class="table table-sm table-bordered">
318
+ <tbody>
319
+ <tr>
320
+ <td class="col-md-4">
321
+ <a name="data"></a>
322
+ <b>data</b>
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td class="col-md-4">
327
+ <i>Type : </i> <code>Data[] | BaseDataSource&lt;Data[]&gt; | AbstractTableDataSource&lt;Data&gt;</code>
328
+
329
+ </td>
330
+ </tr>
331
+ <tr>
332
+ <td class="col-md-2" colspan="2">
333
+ <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/table-select-control.directive.ts:64</a></div>
334
+ </td>
335
+ </tr>
336
+ </tbody>
337
+ </table>
338
+ <table class="table table-sm table-bordered">
339
+ <tbody>
340
+ <tr>
341
+ <td class="col-md-4">
342
+ <a name="multiple"></a>
343
+ <b>multiple</b>
344
+ </td>
345
+ </tr>
346
+ <tr>
347
+ <td class="col-md-4">
348
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
349
+
350
+ </td>
351
+ </tr>
352
+ <tr>
353
+ <td class="col-md-2" colspan="2">
354
+ <div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/lib/table-select-control.directive.ts:58</a></div>
355
+ </td>
356
+ </tr>
357
+ </tbody>
358
+ </table>
359
+ <table class="table table-sm table-bordered">
360
+ <tbody>
361
+ <tr>
362
+ <td class="col-md-4">
363
+ <a name="openMethod"></a>
364
+ <b>openMethod</b>
365
+ </td>
366
+ </tr>
367
+ <tr>
368
+ <td class="col-md-4">
369
+ <i>Type : </i> <code>Method&lt;Data[] | WindowTableSelectOptions&lt;Data&gt;&gt;</code>
370
+
371
+ </td>
372
+ </tr>
373
+ <tr>
374
+ <td class="col-md-2" colspan="2">
375
+ <div class="io-line">Defined in <a href="" data-line="61" class="link-to-prism">src/lib/table-select-control.directive.ts:61</a></div>
376
+ </td>
377
+ </tr>
378
+ </tbody>
379
+ </table>
380
+ <table class="table table-sm table-bordered">
381
+ <tbody>
382
+ <tr>
383
+ <td class="col-md-4">
384
+ <a name="toDisplay"></a>
385
+ <b>toDisplay</b>
386
+ </td>
387
+ </tr>
388
+ <tr>
389
+ <td class="col-md-4">
390
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
391
+
392
+ </td>
393
+ </tr>
394
+ <tr>
395
+ <td class="col-md-4">
396
+ <i>Default value : </i><code>value &#x3D;&gt; value as any</code>
397
+ </td>
398
+ </tr>
399
+ <tr>
400
+ <td class="col-md-2" colspan="2">
401
+ <div class="io-line">Defined in <a href="" data-line="97" class="link-to-prism">src/lib/table-select-control.directive.ts:97</a></div>
402
+ </td>
403
+ </tr>
404
+ </tbody>
405
+ </table>
406
+ <table class="table table-sm table-bordered">
407
+ <tbody>
408
+ <tr>
409
+ <td class="col-md-4">
410
+ <a name="toValue"></a>
411
+ <b>toValue</b>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td class="col-md-4">
416
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
417
+
418
+ </td>
419
+ </tr>
420
+ <tr>
421
+ <td class="col-md-2" colspan="2">
422
+ <div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/table-select-control.directive.ts:84</a></div>
423
+ </td>
424
+ </tr>
425
+ </tbody>
426
+ </table>
427
+ </section>
428
+
429
+
430
+
431
+ <section data-compodoc="block-methods">
432
+
433
+ <h3 id="methods">
434
+ Methods
435
+ </h3>
436
+ <table class="table table-sm table-bordered">
437
+ <tbody>
438
+ <tr>
439
+ <td class="col-md-4">
440
+ <a name="extractTableSelectDataSource"></a>
441
+ <span class="name">
442
+ <span class="modifier">Protected</span>
443
+ <span ><b>extractTableSelectDataSource</b></span>
444
+ <a href="#extractTableSelectDataSource"><span class="icon ion-ios-link"></span></a>
445
+ </span>
446
+ </td>
447
+ </tr>
448
+ <tr>
449
+ <td class="col-md-4">
450
+ <span class="modifier-icon icon ion-ios-reset"></span>
451
+ <code>extractTableSelectDataSource()</code>
452
+ </td>
453
+ </tr>
454
+
455
+
456
+ <tr>
457
+ <td class="col-md-4">
458
+ <div class="io-line">Inherited from <code><a href="../classes/ExtractTableSelectDataSourceMixin.html" target="_self" >ExtractTableSelectDataSourceMixin</a></code>
459
+ </div>
460
+ </td>
461
+ </tr>
462
+ <tr>
463
+ <td class="col-md-4">
464
+ <div class="io-line">Defined in <code><a href="../classes/ExtractTableSelectDataSourceMixin.html#source" target="_self" >ExtractTableSelectDataSourceMixin:13</a></code>
465
+ </div>
466
+ </td>
467
+ </tr>
468
+
469
+
470
+ <tr>
471
+ <td class="col-md-4">
472
+
473
+ <div class="io-description">
474
+ <b>Returns : </b> <code>BaseDataSource&lt;Data[]&gt;</code>
475
+
476
+ </div>
477
+ </td>
478
+ </tr>
479
+ </tbody>
480
+ </table>
481
+ </section>
482
+ <section data-compodoc="block-properties">
483
+
484
+ <h3 id="inputs">
485
+ Properties
486
+ </h3>
487
+ <table class="table table-sm table-bordered">
488
+ <tbody>
489
+ <tr>
490
+ <td class="col-md-4">
491
+ <a name="control"></a>
492
+ <span class="name">
493
+ <span class="modifier">Public</span>
494
+ <span ><b>control</b></span>
495
+ <a href="#control"><span class="icon ion-ios-link"></span></a>
496
+ </span>
497
+ </td>
498
+ </tr>
499
+ <tr>
500
+ <td class="col-md-4">
501
+ <i>Type : </i> <code>RxapFormControl</code>
502
+
503
+ </td>
504
+ </tr>
505
+ <tr>
506
+ <td class="col-md-4">
507
+ <div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/table-select-control.directive.ts:73</a></div>
508
+ </td>
509
+ </tr>
510
+
511
+
512
+ </tbody>
513
+ </table>
514
+ <table class="table table-sm table-bordered">
515
+ <tbody>
516
+ <tr>
517
+ <td class="col-md-4">
518
+ <a name="dataSourceLoader"></a>
519
+ <span class="name">
520
+ <span class="modifier">Public</span>
521
+ <span class="modifier">Readonly</span>
522
+ <span ><b>dataSourceLoader</b></span>
523
+ <a href="#dataSourceLoader"><span class="icon ion-ios-link"></span></a>
524
+ </span>
525
+ </td>
526
+ </tr>
527
+ <tr>
528
+ <td class="col-md-4">
529
+ <i>Default value : </i><code>inject(DataSourceLoader)</code>
530
+ </td>
531
+ </tr>
532
+ <tr>
533
+ <td class="col-md-4">
534
+ <div class="io-line">Defined in <a href="" data-line="87" class="link-to-prism">src/lib/table-select-control.directive.ts:87</a></div>
535
+ </td>
536
+ </tr>
537
+
538
+
539
+ </tbody>
540
+ </table>
541
+ <table class="table table-sm table-bordered">
542
+ <tbody>
543
+ <tr>
544
+ <td class="col-md-4">
545
+ <a name="disabled"></a>
546
+ <span class="name">
547
+ <span class="modifier">Protected</span>
548
+ <span ><b>disabled</b></span>
549
+ <a href="#disabled"><span class="icon ion-ios-link"></span></a>
550
+ </span>
551
+ </td>
552
+ </tr>
553
+ <tr>
554
+ <td class="col-md-4">
555
+ <i>Default value : </i><code>false</code>
556
+ </td>
557
+ </tr>
558
+ <tr>
559
+ <td class="col-md-4">
560
+ <div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/table-select-control.directive.ts:88</a></div>
561
+ </td>
562
+ </tr>
563
+
564
+
565
+ </tbody>
566
+ </table>
567
+ <table class="table table-sm table-bordered">
568
+ <tbody>
569
+ <tr>
570
+ <td class="col-md-4">
571
+ <a name="injector"></a>
572
+ <span class="name">
573
+ <span class="modifier">Public</span>
574
+ <span class="modifier">Readonly</span>
575
+ <span ><b>injector</b></span>
576
+ <a href="#injector"><span class="icon ion-ios-link"></span></a>
577
+ </span>
578
+ </td>
579
+ </tr>
580
+ <tr>
581
+ <td class="col-md-4">
582
+ <i>Type : </i> <code>Injector</code>
583
+
584
+ </td>
585
+ </tr>
586
+ <tr>
587
+ <td class="col-md-4">
588
+ <i>Default value : </i><code>inject(INJECTOR)</code>
589
+ </td>
590
+ </tr>
591
+ <tr>
592
+ <td class="col-md-4">
593
+ <div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/table-select-control.directive.ts:85</a></div>
594
+ </td>
595
+ </tr>
596
+
597
+
598
+ </tbody>
599
+ </table>
600
+ <table class="table table-sm table-bordered">
601
+ <tbody>
602
+ <tr>
603
+ <td class="col-md-4">
604
+ <a name="matFormField"></a>
605
+ <span class="name">
606
+ <span class="modifier">Protected</span>
607
+ <span ><b>matFormField</b></span>
608
+ <a href="#matFormField"><span class="icon ion-ios-link"></span></a>
609
+ </span>
610
+ </td>
611
+ </tr>
612
+ <tr>
613
+ <td class="col-md-4">
614
+ <i>Type : </i> <code>MatFormField | null</code>
615
+
616
+ </td>
617
+ </tr>
618
+ <tr>
619
+ <td class="col-md-4">
620
+ <i>Default value : </i><code>null</code>
621
+ </td>
622
+ </tr>
623
+ <tr>
624
+ <td class="col-md-4">
625
+ <div class="io-line">Defined in <a href="" data-line="89" class="link-to-prism">src/lib/table-select-control.directive.ts:89</a></div>
626
+ </td>
627
+ </tr>
628
+
629
+
630
+ </tbody>
631
+ </table>
632
+ <table class="table table-sm table-bordered">
633
+ <tbody>
634
+ <tr>
635
+ <td class="col-md-4">
636
+ <a name="matLabel"></a>
637
+ <span class="name">
638
+ <span class="modifier"></span>
639
+ <span class="modifier">Public</span>
640
+ <span class="modifier">Optional</span>
641
+ <span ><b>matLabel</b></span>
642
+ <a href="#matLabel"><span class="icon ion-ios-link"></span></a>
643
+ </span>
644
+ </td>
645
+ </tr>
646
+ <tr>
647
+ <td class="col-md-4">
648
+ <i>Type : </i> <code>ElementRef</code>
649
+
650
+ </td>
651
+ </tr>
652
+ <tr>
653
+ <td class="col-md-4">
654
+ <b>Decorators : </b>
655
+ <br />
656
+ <code>
657
+ @ContentChild(&#x27;mat-label&#x27;)<br />
658
+ </code>
659
+ </td>
660
+ </tr>
661
+ <tr>
662
+ <td class="col-md-4">
663
+ <div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/lib/table-select-control.directive.ts:82</a></div>
664
+ </td>
665
+ </tr>
666
+
667
+
668
+ </tbody>
669
+ </table>
670
+ <table class="table table-sm table-bordered">
671
+ <tbody>
672
+ <tr>
673
+ <td class="col-md-4">
674
+ <a name="ngControl"></a>
675
+ <span class="name">
676
+ <span class="modifier">Public</span>
677
+ <span ><b>ngControl</b></span>
678
+ <a href="#ngControl"><span class="icon ion-ios-link"></span></a>
679
+ </span>
680
+ </td>
681
+ </tr>
682
+ <tr>
683
+ <td class="col-md-4">
684
+ <i>Type : </i> <code>NgControl | null</code>
685
+
686
+ </td>
687
+ </tr>
688
+ <tr>
689
+ <td class="col-md-4">
690
+ <i>Default value : </i><code>null</code>
691
+ </td>
692
+ </tr>
693
+ <tr>
694
+ <td class="col-md-4">
695
+ <div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/table-select-control.directive.ts:69</a></div>
696
+ </td>
697
+ </tr>
698
+
699
+
700
+ </tbody>
701
+ </table>
702
+ <table class="table table-sm table-bordered">
703
+ <tbody>
704
+ <tr>
705
+ <td class="col-md-4">
706
+ <a name="openTableSelectWindow"></a>
707
+ <span class="name">
708
+ <span class="modifier"></span>
709
+ <span class="modifier">Public</span>
710
+ <span ><b>openTableSelectWindow</b></span>
711
+ <a href="#openTableSelectWindow"><span class="icon ion-ios-link"></span></a>
712
+ </span>
713
+ </td>
714
+ </tr>
715
+ <tr>
716
+ <td class="col-md-4">
717
+ <i>Type : </i> <code><a href="../directives/OpenTableSelectWindowDirective.html" target="_self" >QueryList&lt;OpenTableSelectWindowDirective&lt;Data&gt;&gt;</a></code>
718
+
719
+ </td>
720
+ </tr>
721
+ <tr>
722
+ <td class="col-md-4">
723
+ <b>Decorators : </b>
724
+ <br />
725
+ <code>
726
+ @ContentChildren(OpenTableSelectWindowDirective)<br />
727
+ </code>
728
+ </td>
729
+ </tr>
730
+ <tr>
731
+ <td class="col-md-4">
732
+ <div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/lib/table-select-control.directive.ts:76</a></div>
733
+ </td>
734
+ </tr>
735
+
736
+
737
+ </tbody>
738
+ </table>
739
+ <table class="table table-sm table-bordered">
740
+ <tbody>
741
+ <tr>
742
+ <td class="col-md-4">
743
+ <a name="tableSelectInput"></a>
744
+ <span class="name">
745
+ <span class="modifier"></span>
746
+ <span class="modifier">Public</span>
747
+ <span ><b>tableSelectInput</b></span>
748
+ <a href="#tableSelectInput"><span class="icon ion-ios-link"></span></a>
749
+ </span>
750
+ </td>
751
+ </tr>
752
+ <tr>
753
+ <td class="col-md-4">
754
+ <i>Type : </i> <code><a href="../components/TableSelectInputComponent.html" target="_self" >TableSelectInputComponent</a></code>
755
+
756
+ </td>
757
+ </tr>
758
+ <tr>
759
+ <td class="col-md-4">
760
+ <b>Decorators : </b>
761
+ <br />
762
+ <code>
763
+ @ContentChild(TableSelectInputComponent)<br />
764
+ </code>
765
+ </td>
766
+ </tr>
767
+ <tr>
768
+ <td class="col-md-4">
769
+ <div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/lib/table-select-control.directive.ts:79</a></div>
770
+ </td>
771
+ </tr>
772
+
773
+
774
+ </tbody>
775
+ </table>
776
+ <table class="table table-sm table-bordered">
777
+ <tbody>
778
+ <tr>
779
+ <td class="col-md-4">
780
+ <a name="value"></a>
781
+ <span class="name">
782
+ <span class="modifier">Public</span>
783
+ <span ><b>value</b></span>
784
+ <a href="#value"><span class="icon ion-ios-link"></span></a>
785
+ </span>
786
+ </td>
787
+ </tr>
788
+ <tr>
789
+ <td class="col-md-4">
790
+ <i>Type : </i> <code>Data | null</code>
791
+
792
+ </td>
793
+ </tr>
794
+ <tr>
795
+ <td class="col-md-4">
796
+ <i>Default value : </i><code>null</code>
797
+ </td>
798
+ </tr>
799
+ <tr>
800
+ <td class="col-md-4">
801
+ <div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/lib/table-select-control.directive.ts:71</a></div>
802
+ </td>
803
+ </tr>
804
+
805
+
806
+ </tbody>
807
+ </table>
808
+ </section>
809
+
810
+ <section data-compodoc="block-accessors">
811
+ <h3 id="accessors">
812
+ Accessors
813
+ </h3>
814
+ <table class="table table-sm table-bordered">
815
+ <tbody>
816
+ <tr>
817
+ <td class="col-md-4">
818
+ <a name="selected"></a>
819
+ <span class="name"><b>selected</b><a href="#selected"><span class="icon ion-ios-link"></span></a></span>
820
+ </td>
821
+ </tr>
822
+
823
+ <tr>
824
+ <td class="col-md-4">
825
+ <span class="accessor"><b>get</b><code>selected()</code></span>
826
+ </td>
827
+ </tr>
828
+ <tr>
829
+ <td class="col-md-4">
830
+ <div class="io-line">Defined in <a href="" data-line="92" class="link-to-prism">src/lib/table-select-control.directive.ts:92</a></div>
831
+ </td>
832
+ </tr>
833
+
834
+ </tbody>
835
+ </table>
836
+ </section>
837
+
838
+ </div>
839
+
840
+
841
+ <div class="tab-pane fade tab-source-code" id="source">
842
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
843
+ AfterContentInit,
844
+ AfterViewInit,
845
+ ContentChild,
846
+ ContentChildren,
847
+ Directive,
848
+ ElementRef,
849
+ inject,
850
+ INJECTOR,
851
+ Injector,
852
+ Input,
853
+ isDevMode,
854
+ OnChanges,
855
+ OnDestroy,
856
+ QueryList,
857
+ SimpleChanges,
858
+ } from &#x27;@angular/core&#x27;;
859
+ import { NgControl } from &#x27;@angular/forms&#x27;;
860
+ import { MatFormField } from &#x27;@angular/material/form-field&#x27;;
861
+ import &#x27;@rxap/rxjs&#x27;;
862
+ import {
863
+ BaseDataSource,
864
+ DataSourceLoader,
865
+ } from &#x27;@rxap/data-source&#x27;;
866
+ import { AbstractTableDataSource } from &#x27;@rxap/data-source/table&#x27;;
867
+ import { RxapFormControl } from &#x27;@rxap/forms&#x27;;
868
+ import { WindowTableSelectOptions } from &#x27;@rxap/material-table-window-system&#x27;;
869
+ import { Mixin } from &#x27;@rxap/mixin&#x27;;
870
+ import { Method } from &#x27;@rxap/pattern&#x27;;
871
+ import { coerceArray } from &#x27;@rxap/utilities&#x27;;
872
+ import { Subscription } from &#x27;rxjs&#x27;;
873
+ import { tap } from &#x27;rxjs/operators&#x27;;
874
+ import { ExtractTableSelectColumnMapMixin } from &#x27;./extract-table-select-column-map.mixin&#x27;;
875
+ import { ExtractTableSelectDataSourceMixin } from &#x27;./extract-table-select-data-source.mixin&#x27;;
876
+ import { ExtractTableSelectToDisplayMixin } from &#x27;./extract-table-select-to-display.mixin&#x27;;
877
+ import { ExtractTableSelectToValueMixin } from &#x27;./extract-table-select-to-value.mixin&#x27;;
878
+ import { OpenTableSelectWindowDirective } from &#x27;./open-table-select-window.directive&#x27;;
879
+ import { TableSelectColumn } from &#x27;./open-table-select-window.method&#x27;;
880
+ import { TableSelectInputComponent } from &#x27;./table-select-input/table-select-input.component&#x27;;
881
+
882
+ export interface TableSelectControlDirective&lt;Data extends Record&lt;string, any&gt;&gt;
883
+ extends ExtractTableSelectDataSourceMixin&lt;Data&gt;, ExtractTableSelectToValueMixin, ExtractTableSelectToDisplayMixin,
884
+ ExtractTableSelectColumnMapMixin {
885
+ }
886
+
887
+ @Mixin(ExtractTableSelectDataSourceMixin,
888
+ ExtractTableSelectToValueMixin,
889
+ ExtractTableSelectToDisplayMixin,
890
+ ExtractTableSelectColumnMapMixin)
891
+ @Directive({
892
+ selector: &#x27;mat-form-field[rxapTableSelectControl]&#x27;,
893
+ standalone: true,
894
+ })
895
+ export class TableSelectControlDirective&lt;Data extends Record&lt;string, any&gt; &#x3D; Record&lt;string, any&gt;&gt;
896
+ implements AfterViewInit, AfterContentInit, OnChanges, OnDestroy {
897
+
898
+ @Input()
899
+ public multiple?: boolean;
900
+
901
+ @Input()
902
+ public openMethod!: Method&lt;Data[], WindowTableSelectOptions&lt;Data&gt;&gt;;
903
+
904
+ @Input()
905
+ public data?: Data[] | BaseDataSource&lt;Data[]&gt; | AbstractTableDataSource&lt;Data&gt;;
906
+
907
+ @Input()
908
+ public columns?: Map&lt;string, TableSelectColumn&gt; | Record&lt;string, TableSelectColumn&gt;;
909
+
910
+ public ngControl: NgControl | null &#x3D; null;
911
+
912
+ public value: Data | null &#x3D; null;
913
+
914
+ public control!: RxapFormControl;
915
+
916
+ @ContentChildren(OpenTableSelectWindowDirective)
917
+ public openTableSelectWindow!: QueryList&lt;OpenTableSelectWindowDirective&lt;Data&gt;&gt;;
918
+
919
+ @ContentChild(TableSelectInputComponent)
920
+ public tableSelectInput!: TableSelectInputComponent;
921
+
922
+ @ContentChild(&#x27;mat-label&#x27;)
923
+ public matLabel?: ElementRef;
924
+ @Input()
925
+ public toValue?: (value: Data) &#x3D;&gt; unknown | Promise&lt;unknown&gt;;
926
+ public readonly injector: Injector &#x3D; inject(INJECTOR);
927
+ // required for the use mixin ExtractDatasourceMixin
928
+ public readonly dataSourceLoader &#x3D; inject(DataSourceLoader);
929
+ protected disabled &#x3D; false;
930
+ protected matFormField: MatFormField | null &#x3D; null;
931
+ private readonly _subscription &#x3D; new Subscription();
932
+
933
+ public get selected(): Data[] {
934
+ return this.value !&#x3D;&#x3D; null ? [ this.value ] : [];
935
+ }
936
+
937
+ @Input()
938
+ public toDisplay: (value: Data) &#x3D;&gt; string | Promise&lt;string&gt; &#x3D; value &#x3D;&gt; value as any;
939
+
940
+ public ngOnChanges(changes: SimpleChanges) {
941
+ const columnsChange &#x3D; changes[&#x27;columns&#x27;];
942
+ const dataChange &#x3D; changes[&#x27;data&#x27;];
943
+ if (this.openTableSelectWindow) {
944
+ if (columnsChange || dataChange) {
945
+ this.updateOpenTableSelectWindow();
946
+ }
947
+ }
948
+ }
949
+
950
+ public ngAfterViewInit() {
951
+ this.matFormField &#x3D; this.injector.get(MatFormField, null);
952
+ if (!this.matFormField) {
953
+ throw new Error(&#x27;The mat form field could not be injected&#x27;);
954
+ }
955
+ this.ngControl &#x3D; this.matFormField._control.ngControl as NgControl;
956
+ if (this.ngControl) {
957
+ if (this.ngControl.control instanceof RxapFormControl) {
958
+ this.data &#x3D; this.extractTableSelectDataSource();
959
+ this.toDisplay &#x3D; this.extractTableSelectToDisplay() ?? this.toDisplay;
960
+ this.toValue &#x3D; this.extractTableSelectToValue() ?? this.toValue;
961
+ this.columns &#x3D; this.extractTableSelectColumnMap();
962
+ }
963
+ this.updateOpenTableSelectWindow();
964
+ if (this.ngControl.control instanceof RxapFormControl) {
965
+ this._subscription?.add(this.control.disabled$.pipe(
966
+ tap(disabled &#x3D;&gt; this.disabled &#x3D; disabled),
967
+ tap(() &#x3D;&gt; this.updateOpenTableSelectWindowDisabledState()),
968
+ ).subscribe());
969
+ }
970
+ } else {
971
+ if (isDevMode()) {
972
+ console.log(&#x27;standalone mode&#x27;);
973
+ }
974
+ }
975
+ this.updateTableSelectInput();
976
+ }
977
+
978
+ public ngAfterContentInit() {
979
+ this.updateOpenTableSelectWindow();
980
+ for (const openTableSelectWindow of this.openTableSelectWindow) {
981
+ this._subscription.add(openTableSelectWindow.selectedChange.pipe(
982
+ tap($event &#x3D;&gt; this.onSelected($event)),
983
+ ).subscribe());
984
+ }
985
+
986
+ }
987
+
988
+ public ngOnDestroy() {
989
+ this._subscription?.unsubscribe();
990
+ }
991
+
992
+ private updateTableSelectInput() {
993
+ if (this.toDisplay) {
994
+ this.tableSelectInput.toDisplay &#x3D; this.toDisplay.bind(this);
995
+ }
996
+ }
997
+
998
+ private updateOpenTableSelectWindowDisabledState() {
999
+ for (const openTableSelectWindow of this.openTableSelectWindow) {
1000
+ openTableSelectWindow.disabled &#x3D; this.disabled;
1001
+ openTableSelectWindow.checkInputs();
1002
+ }
1003
+ }
1004
+
1005
+ private updateOpenTableSelectWindow() {
1006
+ for (const openTableSelectWindow of this.openTableSelectWindow) {
1007
+ openTableSelectWindow.disabled &#x3D; this.disabled;
1008
+ if (this.columns) {
1009
+ openTableSelectWindow.columns &#x3D; this.columns;
1010
+ }
1011
+ if (this.data) {
1012
+ openTableSelectWindow.data &#x3D; this.data;
1013
+ }
1014
+ if (this.toValue) {
1015
+ openTableSelectWindow.compareWith &#x3D; ((o1: Data, o2: Data) &#x3D;&gt; {
1016
+ if (this.toValue) {
1017
+ return this.toValue(o1) &#x3D;&#x3D;&#x3D; this.toValue(o2);
1018
+ }
1019
+ return o1 &#x3D;&#x3D;&#x3D; o2;
1020
+ });
1021
+ }
1022
+ if (this.matLabel) {
1023
+ openTableSelectWindow.label &#x3D; this.matLabel?.nativeElement.innerText;
1024
+ }
1025
+ if (this.ngControl) {
1026
+ const control &#x3D; this.ngControl.control;
1027
+ if (control?.value) {
1028
+ openTableSelectWindow.selected &#x3D; coerceArray(control.value);
1029
+ }
1030
+ }
1031
+ openTableSelectWindow.checkInputs();
1032
+ }
1033
+ }
1034
+
1035
+ private async onSelected($event: Data[]) {
1036
+ if ($event?.length) {
1037
+ this.tableSelectInput.display &#x3D; await this.toDisplay($event[0]);
1038
+ this.value &#x3D; $event[0];
1039
+ this.tableSelectInput.setValue(this.value);
1040
+ } else {
1041
+ this.value &#x3D; null;
1042
+ }
1043
+ }
1044
+
1045
+ }
1046
+ </code></pre>
1047
+ </div>
1048
+
1049
+ </div>
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+ </div><div class="search-results">
1065
+ <div class="has-results">
1066
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
1067
+ <ul class="search-results-list"></ul>
1068
+ </div>
1069
+ <div class="no-results">
1070
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
1071
+ </div>
1072
+ </div>
1073
+ </div>
1074
+ <!-- END CONTENT -->
1075
+ </div>
1076
+ </div>
1077
+
1078
+ <label class="dark-mode-switch">
1079
+ <input type="checkbox">
1080
+ <span class="slider">
1081
+ <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">
1082
+ <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
1083
+ </svg>
1084
+ </span>
1085
+ </label>
1086
+
1087
+ <script>
1088
+ var COMPODOC_CURRENT_PAGE_DEPTH = 1;
1089
+ var COMPODOC_CURRENT_PAGE_CONTEXT = 'directive';
1090
+ var COMPODOC_CURRENT_PAGE_URL = 'TableSelectControlDirective.html';
1091
+ var MAX_SEARCH_RESULTS = 15;
1092
+ </script>
1093
+
1094
+ <script>
1095
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
1096
+ checkToggle(darkModeState);
1097
+ if ($darkModeToggleSwitchers.length > 0) {
1098
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
1099
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
1100
+ darkModeState = !darkModeState;
1101
+ toggleDarkMode(darkModeState);
1102
+ });
1103
+ }
1104
+ }
1105
+ </script>
1106
+
1107
+ <script src="../js/libs/custom-elements.min.js"></script>
1108
+ <script src="../js/libs/lit-html.js"></script>
1109
+
1110
+ <script src="../js/menu-wc.js" defer></script>
1111
+ <script nomodule src="../js/menu-wc_es5.js" defer></script>
1112
+
1113
+ <script src="../js/libs/bootstrap-native.js"></script>
1114
+
1115
+ <script src="../js/libs/es6-shim.min.js"></script>
1116
+ <script src="../js/libs/EventDispatcher.js"></script>
1117
+ <script src="../js/libs/promise.min.js"></script>
1118
+ <script src="../js/libs/zepto.min.js"></script>
1119
+
1120
+ <script src="../js/compodoc.js"></script>
1121
+
1122
+ <script src="../js/tabs.js"></script>
1123
+ <script src="../js/menu.js"></script>
1124
+ <script src="../js/libs/clipboard.min.js"></script>
1125
+ <script src="../js/libs/prism.js"></script>
1126
+ <script src="../js/sourceCode.js"></script>
1127
+ <script src="../js/search/search.js"></script>
1128
+ <script src="../js/search/lunr.min.js"></script>
1129
+ <script src="../js/search/search-lunr.js"></script>
1130
+ <script src="../js/search/search_index.js"></script>
1131
+ <script src="../js/lazy-load-graphs.js"></script>
1132
+
1133
+
1134
+ </body>
1135
+ </html>