@rxap/form-system 19.2.0 → 21.0.1-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 (400) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/compodoc/changelog.html +38 -0
  3. package/compodoc/classes/ExtractOptionsDataSourceMixin.html +24 -80
  4. package/compodoc/classes/ExtractRemoteMethodsMixin.html +36 -52
  5. package/compodoc/dependencies.html +17 -17
  6. package/compodoc/directives/AbstractOptionsFromMethodDirective.html +1354 -0
  7. package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +376 -229
  8. package/compodoc/directives/ControlHideShowDirective.html +43 -152
  9. package/compodoc/directives/ForFormArrayItemsDirective.html +6 -101
  10. package/compodoc/directives/FormArrayAddItemButtonDirective.html +84 -222
  11. package/compodoc/directives/FormArrayItemButton.html +182 -200
  12. package/compodoc/directives/FormArrayItemRemoveButtonDirective.html +230 -211
  13. package/compodoc/directives/FormArrayItemRestoreButtonDirective.html +188 -158
  14. package/compodoc/directives/FormArrayRemovableDirective.html +39 -61
  15. package/compodoc/directives/FormSystemControlDirective.html +64 -148
  16. package/compodoc/directives/InputSelectOptionsDirective.html +390 -268
  17. package/compodoc/directives/IsEqualToDirective.html +61 -117
  18. package/compodoc/directives/IsSelectableValueDirective.html +50 -204
  19. package/compodoc/directives/OptionsFromMethodDirective.html +380 -164
  20. package/compodoc/directives/OptionsFromRemoteMethodDirective.html +123 -212
  21. package/compodoc/graph/dependencies.svg +4 -70
  22. package/compodoc/injectables/ControlDataSource.html +4 -10
  23. package/compodoc/injectables/NoopResolveMethod.html +48 -40
  24. package/compodoc/injectables/SubmitContextFormAdapter.html +4 -9
  25. package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +46 -38
  26. package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +46 -38
  27. package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +46 -38
  28. package/compodoc/interfaces/ControlHideShowOptions.html +10 -30
  29. package/compodoc/interfaces/ForFormArrayItemsDirectiveContext.html +6 -17
  30. package/compodoc/interfaces/InputSelectOptionsSettings.html +26 -49
  31. package/compodoc/interfaces/InputSelectOptionsTemplateContext.html +26 -49
  32. package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +63 -45
  33. package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +63 -45
  34. package/compodoc/interfaces/OptionsFromRemoteMethodTemplateContext.html +34 -50
  35. package/compodoc/js/menu-wc.js +3 -32
  36. package/compodoc/js/menu-wc_es5.js +1 -1
  37. package/compodoc/js/search/search_index.js +2 -2
  38. package/compodoc/modules.html +0 -17
  39. package/compodoc/overview.html +2 -114
  40. package/compodoc/properties.html +1 -1
  41. package/docs/documentation.json +9603 -7779
  42. package/docs/html/assets/hierarchy.js +1 -1
  43. package/docs/html/assets/navigation.js +1 -1
  44. package/docs/html/assets/search.js +1 -1
  45. package/docs/html/classes/AbstractOptionsFromMethodDirective.html +38 -0
  46. package/docs/html/classes/AutocompleteOptionsFromMethodDirective.html +19 -16
  47. package/docs/html/classes/ControlDataSource.html +13 -13
  48. package/docs/html/classes/ControlHideShowDirective.html +5 -5
  49. package/docs/html/classes/ExtractControlFromParentMixin.html +2 -2
  50. package/docs/html/classes/ExtractControlMixin.html +2 -2
  51. package/docs/html/classes/ExtractDataSourcesMixin.html +2 -2
  52. package/docs/html/classes/ExtractFormDefinitionMixin.html +2 -2
  53. package/docs/html/classes/ExtractFunctionMixin.html +2 -2
  54. package/docs/html/classes/ExtractFunctionsMixin.html +2 -2
  55. package/docs/html/classes/ExtractIsValueFunctionMixin.html +2 -2
  56. package/docs/html/classes/ExtractMethodMixin.html +2 -2
  57. package/docs/html/classes/ExtractMethodsMixin.html +2 -2
  58. package/docs/html/classes/ExtractOptionsDataSourceMixin.html +2 -4
  59. package/docs/html/classes/ExtractOptionsMethodMixin.html +2 -2
  60. package/docs/html/classes/ExtractRemoteMethodsMixin.html +2 -2
  61. package/docs/html/classes/ExtractResolveMethodMixin.html +2 -2
  62. package/docs/html/classes/ExtractToDisplayFunctionMixin.html +2 -2
  63. package/docs/html/classes/ForFormArrayItemsDirective.html +4 -4
  64. package/docs/html/classes/FormArrayAddItemButtonDirective.html +4 -4
  65. package/docs/html/classes/FormArrayItemButton.html +4 -4
  66. package/docs/html/classes/FormArrayItemRemoveButtonDirective.html +5 -5
  67. package/docs/html/classes/FormArrayItemRestoreButtonDirective.html +4 -4
  68. package/docs/html/classes/FormArrayRemovableDirective.html +4 -4
  69. package/docs/html/classes/FormSystemControlDirective.html +8 -8
  70. package/docs/html/classes/InputSelectOptionsDirective.html +10 -7
  71. package/docs/html/classes/IsEqualToDirective.html +5 -5
  72. package/docs/html/classes/IsSelectableValueDirective.html +4 -5
  73. package/docs/html/classes/NoopResolveMethod.html +2 -2
  74. package/docs/html/classes/OptionsFromMethodDirective.html +24 -24
  75. package/docs/html/classes/OptionsFromRemoteMethodDirective.html +5 -11
  76. package/docs/html/classes/RxapFormSystemError.html +6 -5
  77. package/docs/html/classes/SubmitContextFormAdapter.html +10 -10
  78. package/docs/html/classes/TestNgControl.html +26 -26
  79. package/docs/html/enums/FormSystemMetadataKeys.html +2 -2
  80. package/docs/html/functions/ApplyUseFunctionAdapters.html +1 -1
  81. package/docs/html/functions/ApplyUseMethodAdapters.html +1 -1
  82. package/docs/html/functions/ComposeOptionsTransformers.html +1 -1
  83. package/docs/html/functions/FormContextFromActivatedRouteFactory.html +1 -1
  84. package/docs/html/functions/ResolveByUuidParameter.html +1 -1
  85. package/docs/html/functions/ResolveByUuidResultFactory.html +1 -1
  86. package/docs/html/functions/SubmitContextFormAdapterFactory.html +1 -1
  87. package/docs/html/functions/UseAutocompleteIsValueFunction.html +1 -1
  88. package/docs/html/functions/UseAutocompleteOptionsMethod.html +1 -1
  89. package/docs/html/functions/UseAutocompleteResolveMethod.html +1 -1
  90. package/docs/html/functions/UseAutocompleteToDisplayFunction.html +1 -1
  91. package/docs/html/functions/UseComponent.html +1 -1
  92. package/docs/html/functions/UseDataSource.html +1 -1
  93. package/docs/html/functions/UseFormComponent.html +2 -2
  94. package/docs/html/functions/UseFunction.html +1 -1
  95. package/docs/html/functions/UseHideFunction.html +1 -1
  96. package/docs/html/functions/UseIsValueFunction.html +1 -1
  97. package/docs/html/functions/UseMethod.html +1 -1
  98. package/docs/html/functions/UseOptionsDataSource.html +1 -1
  99. package/docs/html/functions/UseOptionsMethod.html +1 -1
  100. package/docs/html/functions/UseOptionsRemoteMethod.html +1 -1
  101. package/docs/html/functions/UseRemoteMethod.html +1 -1
  102. package/docs/html/functions/UseResolveMethod.html +1 -1
  103. package/docs/html/functions/UseShowFunction.html +1 -1
  104. package/docs/html/functions/UseToDisplayFunction.html +1 -1
  105. package/docs/html/functions/controlDataSource-1.html +1 -1
  106. package/docs/html/hierarchy.html +1 -1
  107. package/docs/html/index.html +2 -2
  108. package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +2 -2
  109. package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +2 -2
  110. package/docs/html/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +2 -2
  111. package/docs/html/interfaces/ControlHideShowOptions.html +2 -2
  112. package/docs/html/interfaces/ControlWithDataSource.html +2 -2
  113. package/docs/html/interfaces/ForFormArrayItemsDirectiveContext.html +2 -2
  114. package/docs/html/interfaces/InputSelectOptionsSettings.html +4 -4
  115. package/docs/html/interfaces/InputSelectOptionsTemplateContext.html +2 -2
  116. package/docs/html/interfaces/OptionsFromMethodDirectiveSettings.html +1 -1
  117. package/docs/html/interfaces/OptionsFromMethodTemplateContext.html +2 -2
  118. package/docs/html/interfaces/OptionsFromRemoteMethodTemplateContext.html +2 -2
  119. package/docs/html/interfaces/UseDataSourceSettings.html +2 -2
  120. package/docs/html/interfaces/UseDataSourceValue.html +3 -3
  121. package/docs/html/interfaces/UseFunctionConfig.html +2 -2
  122. package/docs/html/interfaces/UseFunctionDefinition.html +2 -2
  123. package/docs/html/interfaces/UseMethodConfig.html +2 -2
  124. package/docs/html/interfaces/UseMethodDefinition.html +2 -2
  125. package/docs/html/modules.html +1 -1
  126. package/docs/html/types/ControlHideShowFunction.html +1 -1
  127. package/docs/html/types/FunctionParameterAdapterFunction.html +1 -1
  128. package/docs/html/types/FunctionResultAdapterFunction.html +1 -1
  129. package/docs/html/types/MethodParameterAdapterFunction.html +1 -1
  130. package/docs/html/types/MethodResultAdapterFunction.html +1 -1
  131. package/docs/html/types/OptionsMethod.html +1 -1
  132. package/docs/html/types/UseFunctionType.html +1 -1
  133. package/docs/html/types/UseOptionsDataSourceSettings.html +1 -1
  134. package/docs/html/variables/DATA_SOURCE_NAME.html +1 -1
  135. package/docs/html/variables/IS_VALUE_FUNCTION_NAME.html +1 -1
  136. package/docs/html/variables/OPTIONS_METHOD_NAME.html +1 -1
  137. package/docs/html/variables/REMOTE_METHOD_NAME.html +1 -1
  138. package/docs/html/variables/RESOLVE_METHOD_NAME.html +1 -1
  139. package/docs/html/variables/RXAP_FORM_CONTROL_SOURCE.html +1 -1
  140. package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.html +1 -1
  141. package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.html +1 -1
  142. package/docs/html/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.html +1 -1
  143. package/docs/html/variables/RXAP_USE_FUNCTION.html +1 -1
  144. package/docs/html/variables/RXAP_USE_METHOD.html +1 -1
  145. package/docs/html/variables/RXAP_USE_REMOTE_METHOD.html +1 -1
  146. package/docs/html/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.html +1 -1
  147. package/docs/html/variables/TO_DISPLAY_FUNCTION_NAME.html +1 -1
  148. package/docs/markdown/README.md +1 -1
  149. package/docs/markdown/classes/AbstractOptionsFromMethodDirective.md +436 -0
  150. package/docs/markdown/classes/AutocompleteOptionsFromMethodDirective.md +131 -124
  151. package/docs/markdown/classes/ControlDataSource.md +51 -51
  152. package/docs/markdown/classes/ControlHideShowDirective.md +11 -31
  153. package/docs/markdown/classes/ExtractControlFromParentMixin.md +3 -3
  154. package/docs/markdown/classes/ExtractControlMixin.md +6 -6
  155. package/docs/markdown/classes/ExtractDataSourcesMixin.md +3 -3
  156. package/docs/markdown/classes/ExtractFormDefinitionMixin.md +3 -3
  157. package/docs/markdown/classes/ExtractFunctionMixin.md +5 -5
  158. package/docs/markdown/classes/ExtractFunctionsMixin.md +3 -3
  159. package/docs/markdown/classes/ExtractIsValueFunctionMixin.md +11 -11
  160. package/docs/markdown/classes/ExtractMethodMixin.md +5 -5
  161. package/docs/markdown/classes/ExtractMethodsMixin.md +3 -3
  162. package/docs/markdown/classes/ExtractOptionsDataSourceMixin.md +20 -32
  163. package/docs/markdown/classes/ExtractOptionsMethodMixin.md +12 -12
  164. package/docs/markdown/classes/ExtractRemoteMethodsMixin.md +3 -3
  165. package/docs/markdown/classes/ExtractResolveMethodMixin.md +11 -11
  166. package/docs/markdown/classes/ExtractToDisplayFunctionMixin.md +11 -11
  167. package/docs/markdown/classes/ForFormArrayItemsDirective.md +5 -25
  168. package/docs/markdown/classes/FormArrayAddItemButtonDirective.md +14 -26
  169. package/docs/markdown/classes/FormArrayItemButton.md +21 -41
  170. package/docs/markdown/classes/FormArrayItemRemoveButtonDirective.md +28 -58
  171. package/docs/markdown/classes/FormArrayItemRestoreButtonDirective.md +25 -45
  172. package/docs/markdown/classes/FormArrayRemovableDirective.md +10 -18
  173. package/docs/markdown/classes/FormSystemControlDirective.md +14 -38
  174. package/docs/markdown/classes/InputSelectOptionsDirective.md +51 -76
  175. package/docs/markdown/classes/IsEqualToDirective.md +9 -19
  176. package/docs/markdown/classes/IsSelectableValueDirective.md +24 -48
  177. package/docs/markdown/classes/NoopResolveMethod.md +3 -3
  178. package/docs/markdown/classes/OptionsFromMethodDirective.md +140 -87
  179. package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +15 -70
  180. package/docs/markdown/classes/RxapFormSystemError.md +25 -13
  181. package/docs/markdown/classes/SubmitContextFormAdapter.md +32 -32
  182. package/docs/markdown/classes/TestNgControl.md +29 -29
  183. package/docs/markdown/enumerations/FormSystemMetadataKeys.md +6 -6
  184. package/docs/markdown/functions/ApplyUseFunctionAdapters.md +2 -2
  185. package/docs/markdown/functions/ApplyUseMethodAdapters.md +2 -2
  186. package/docs/markdown/functions/ComposeOptionsTransformers.md +2 -2
  187. package/docs/markdown/functions/FormContextFromActivatedRouteFactory.md +2 -2
  188. package/docs/markdown/functions/ResolveByUuidParameter.md +2 -2
  189. package/docs/markdown/functions/ResolveByUuidResultFactory.md +2 -2
  190. package/docs/markdown/functions/SubmitContextFormAdapterFactory.md +2 -2
  191. package/docs/markdown/functions/UseAutocompleteIsValueFunction.md +2 -2
  192. package/docs/markdown/functions/UseAutocompleteOptionsMethod.md +4 -4
  193. package/docs/markdown/functions/UseAutocompleteResolveMethod.md +2 -2
  194. package/docs/markdown/functions/UseAutocompleteToDisplayFunction.md +2 -2
  195. package/docs/markdown/functions/UseComponent.md +2 -2
  196. package/docs/markdown/functions/UseDataSource.md +2 -2
  197. package/docs/markdown/functions/UseFormComponent.md +2 -2
  198. package/docs/markdown/functions/UseFunction.md +2 -2
  199. package/docs/markdown/functions/UseHideFunction.md +2 -2
  200. package/docs/markdown/functions/UseIsValueFunction.md +3 -3
  201. package/docs/markdown/functions/UseMethod.md +2 -2
  202. package/docs/markdown/functions/UseOptionsDataSource.md +2 -2
  203. package/docs/markdown/functions/UseOptionsMethod.md +2 -2
  204. package/docs/markdown/functions/UseOptionsRemoteMethod.md +2 -2
  205. package/docs/markdown/functions/UseRemoteMethod.md +2 -2
  206. package/docs/markdown/functions/UseResolveMethod.md +3 -3
  207. package/docs/markdown/functions/UseShowFunction.md +2 -2
  208. package/docs/markdown/functions/UseToDisplayFunction.md +3 -3
  209. package/docs/markdown/functions/controlDataSource.md +2 -2
  210. package/docs/markdown/globals.md +3 -3
  211. package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.md +3 -3
  212. package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.md +3 -3
  213. package/docs/markdown/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.md +3 -3
  214. package/docs/markdown/interfaces/ControlHideShowOptions.md +3 -3
  215. package/docs/markdown/interfaces/ControlWithDataSource.md +3 -3
  216. package/docs/markdown/interfaces/ForFormArrayItemsDirectiveContext.md +9 -9
  217. package/docs/markdown/interfaces/InputSelectOptionsSettings.md +6 -6
  218. package/docs/markdown/interfaces/InputSelectOptionsTemplateContext.md +3 -3
  219. package/docs/markdown/interfaces/OptionsFromMethodDirectiveSettings.md +2 -2
  220. package/docs/markdown/interfaces/OptionsFromMethodTemplateContext.md +3 -3
  221. package/docs/markdown/interfaces/OptionsFromRemoteMethodTemplateContext.md +3 -3
  222. package/docs/markdown/interfaces/UseDataSourceSettings.md +3 -3
  223. package/docs/markdown/interfaces/UseDataSourceValue.md +5 -5
  224. package/docs/markdown/interfaces/UseFunctionConfig.md +3 -3
  225. package/docs/markdown/interfaces/UseFunctionDefinition.md +4 -4
  226. package/docs/markdown/interfaces/UseMethodConfig.md +3 -3
  227. package/docs/markdown/interfaces/UseMethodDefinition.md +4 -4
  228. package/docs/markdown/type-aliases/ControlHideShowFunction.md +2 -2
  229. package/docs/markdown/type-aliases/FunctionParameterAdapterFunction.md +2 -2
  230. package/docs/markdown/type-aliases/FunctionResultAdapterFunction.md +2 -2
  231. package/docs/markdown/type-aliases/MethodParameterAdapterFunction.md +2 -2
  232. package/docs/markdown/type-aliases/MethodResultAdapterFunction.md +2 -2
  233. package/docs/markdown/type-aliases/OptionsMethod.md +2 -2
  234. package/docs/markdown/type-aliases/UseFunctionType.md +2 -2
  235. package/docs/markdown/type-aliases/UseOptionsDataSourceSettings.md +2 -2
  236. package/docs/markdown/variables/DATA_SOURCE_NAME.md +2 -2
  237. package/docs/markdown/variables/IS_VALUE_FUNCTION_NAME.md +2 -2
  238. package/docs/markdown/variables/OPTIONS_METHOD_NAME.md +2 -2
  239. package/docs/markdown/variables/REMOTE_METHOD_NAME.md +2 -2
  240. package/docs/markdown/variables/RESOLVE_METHOD_NAME.md +2 -2
  241. package/docs/markdown/variables/RXAP_FORM_CONTROL_SOURCE.md +2 -2
  242. package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.md +2 -2
  243. package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +2 -2
  244. package/docs/markdown/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.md +2 -2
  245. package/docs/markdown/variables/RXAP_USE_FUNCTION.md +2 -2
  246. package/docs/markdown/variables/RXAP_USE_METHOD.md +2 -2
  247. package/docs/markdown/variables/RXAP_USE_REMOTE_METHOD.md +2 -2
  248. package/docs/markdown/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +2 -2
  249. package/docs/markdown/variables/TO_DISPLAY_FUNCTION_NAME.md +2 -2
  250. package/docs/wiki/Class.AbstractOptionsFromMethodDirective.md +432 -0
  251. package/docs/wiki/Class.AutocompleteOptionsFromMethodDirective.md +130 -123
  252. package/docs/wiki/Class.ControlDataSource.md +50 -50
  253. package/docs/wiki/Class.ControlHideShowDirective.md +10 -30
  254. package/docs/wiki/Class.ExtractControlFromParentMixin.md +2 -2
  255. package/docs/wiki/Class.ExtractControlMixin.md +5 -5
  256. package/docs/wiki/Class.ExtractDataSourcesMixin.md +2 -2
  257. package/docs/wiki/Class.ExtractFormDefinitionMixin.md +2 -2
  258. package/docs/wiki/Class.ExtractFunctionMixin.md +4 -4
  259. package/docs/wiki/Class.ExtractFunctionsMixin.md +2 -2
  260. package/docs/wiki/Class.ExtractIsValueFunctionMixin.md +10 -10
  261. package/docs/wiki/Class.ExtractMethodMixin.md +4 -4
  262. package/docs/wiki/Class.ExtractMethodsMixin.md +2 -2
  263. package/docs/wiki/Class.ExtractOptionsDataSourceMixin.md +19 -31
  264. package/docs/wiki/Class.ExtractOptionsMethodMixin.md +11 -11
  265. package/docs/wiki/Class.ExtractRemoteMethodsMixin.md +2 -2
  266. package/docs/wiki/Class.ExtractResolveMethodMixin.md +10 -10
  267. package/docs/wiki/Class.ExtractToDisplayFunctionMixin.md +10 -10
  268. package/docs/wiki/Class.ForFormArrayItemsDirective.md +4 -24
  269. package/docs/wiki/Class.FormArrayAddItemButtonDirective.md +13 -25
  270. package/docs/wiki/Class.FormArrayItemButton.md +20 -40
  271. package/docs/wiki/Class.FormArrayItemRemoveButtonDirective.md +27 -57
  272. package/docs/wiki/Class.FormArrayItemRestoreButtonDirective.md +24 -44
  273. package/docs/wiki/Class.FormArrayRemovableDirective.md +9 -17
  274. package/docs/wiki/Class.FormSystemControlDirective.md +13 -37
  275. package/docs/wiki/Class.InputSelectOptionsDirective.md +50 -75
  276. package/docs/wiki/Class.IsEqualToDirective.md +8 -18
  277. package/docs/wiki/Class.IsSelectableValueDirective.md +23 -47
  278. package/docs/wiki/Class.NoopResolveMethod.md +2 -2
  279. package/docs/wiki/Class.OptionsFromMethodDirective.md +139 -86
  280. package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +14 -69
  281. package/docs/wiki/Class.RxapFormSystemError.md +24 -12
  282. package/docs/wiki/Class.SubmitContextFormAdapter.md +31 -31
  283. package/docs/wiki/Class.TestNgControl.md +28 -28
  284. package/docs/wiki/Enumeration.FormSystemMetadataKeys.md +5 -5
  285. package/docs/wiki/Function.ApplyUseFunctionAdapters.md +1 -1
  286. package/docs/wiki/Function.ApplyUseMethodAdapters.md +1 -1
  287. package/docs/wiki/Function.ComposeOptionsTransformers.md +1 -1
  288. package/docs/wiki/Function.FormContextFromActivatedRouteFactory.md +1 -1
  289. package/docs/wiki/Function.ResolveByUuidParameter.md +1 -1
  290. package/docs/wiki/Function.ResolveByUuidResultFactory.md +1 -1
  291. package/docs/wiki/Function.SubmitContextFormAdapterFactory.md +1 -1
  292. package/docs/wiki/Function.UseAutocompleteIsValueFunction.md +1 -1
  293. package/docs/wiki/Function.UseAutocompleteOptionsMethod.md +3 -3
  294. package/docs/wiki/Function.UseAutocompleteResolveMethod.md +1 -1
  295. package/docs/wiki/Function.UseAutocompleteToDisplayFunction.md +1 -1
  296. package/docs/wiki/Function.UseComponent.md +1 -1
  297. package/docs/wiki/Function.UseDataSource.md +1 -1
  298. package/docs/wiki/Function.UseFormComponent.md +1 -1
  299. package/docs/wiki/Function.UseFunction.md +1 -1
  300. package/docs/wiki/Function.UseHideFunction.md +1 -1
  301. package/docs/wiki/Function.UseIsValueFunction.md +2 -2
  302. package/docs/wiki/Function.UseMethod.md +1 -1
  303. package/docs/wiki/Function.UseOptionsDataSource.md +1 -1
  304. package/docs/wiki/Function.UseOptionsMethod.md +1 -1
  305. package/docs/wiki/Function.UseOptionsRemoteMethod.md +1 -1
  306. package/docs/wiki/Function.UseRemoteMethod.md +1 -1
  307. package/docs/wiki/Function.UseResolveMethod.md +2 -2
  308. package/docs/wiki/Function.UseShowFunction.md +1 -1
  309. package/docs/wiki/Function.UseToDisplayFunction.md +2 -2
  310. package/docs/wiki/Function.controlDataSource.md +1 -1
  311. package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveParameters.md +2 -2
  312. package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveSettings.md +2 -2
  313. package/docs/wiki/Interface.AutocompleteOptionsFromRemoteMethodTemplateContext.md +2 -2
  314. package/docs/wiki/Interface.ControlHideShowOptions.md +2 -2
  315. package/docs/wiki/Interface.ControlWithDataSource.md +2 -2
  316. package/docs/wiki/Interface.ForFormArrayItemsDirectiveContext.md +8 -8
  317. package/docs/wiki/Interface.InputSelectOptionsSettings.md +5 -5
  318. package/docs/wiki/Interface.InputSelectOptionsTemplateContext.md +2 -2
  319. package/docs/wiki/Interface.OptionsFromMethodDirectiveSettings.md +1 -1
  320. package/docs/wiki/Interface.OptionsFromMethodTemplateContext.md +2 -2
  321. package/docs/wiki/Interface.OptionsFromRemoteMethodTemplateContext.md +2 -2
  322. package/docs/wiki/Interface.UseDataSourceSettings.md +2 -2
  323. package/docs/wiki/Interface.UseDataSourceValue.md +4 -4
  324. package/docs/wiki/Interface.UseFunctionConfig.md +2 -2
  325. package/docs/wiki/Interface.UseFunctionDefinition.md +3 -3
  326. package/docs/wiki/Interface.UseMethodConfig.md +2 -2
  327. package/docs/wiki/Interface.UseMethodDefinition.md +3 -3
  328. package/docs/wiki/TypeAlias.ControlHideShowFunction.md +1 -1
  329. package/docs/wiki/TypeAlias.FunctionParameterAdapterFunction.md +1 -1
  330. package/docs/wiki/TypeAlias.FunctionResultAdapterFunction.md +1 -1
  331. package/docs/wiki/TypeAlias.MethodParameterAdapterFunction.md +1 -1
  332. package/docs/wiki/TypeAlias.MethodResultAdapterFunction.md +1 -1
  333. package/docs/wiki/TypeAlias.OptionsMethod.md +1 -1
  334. package/docs/wiki/TypeAlias.UseFunctionType.md +1 -1
  335. package/docs/wiki/TypeAlias.UseOptionsDataSourceSettings.md +1 -1
  336. package/docs/wiki/Variable.DATA_SOURCE_NAME.md +1 -1
  337. package/docs/wiki/Variable.IS_VALUE_FUNCTION_NAME.md +1 -1
  338. package/docs/wiki/Variable.OPTIONS_METHOD_NAME.md +1 -1
  339. package/docs/wiki/Variable.REMOTE_METHOD_NAME.md +1 -1
  340. package/docs/wiki/Variable.RESOLVE_METHOD_NAME.md +1 -1
  341. package/docs/wiki/Variable.RXAP_FORM_CONTROL_SOURCE.md +1 -1
  342. package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_METADATA.md +1 -1
  343. package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +1 -1
  344. package/docs/wiki/Variable.RXAP_FORM_SYSTEM_SHOW_METADATA.md +1 -1
  345. package/docs/wiki/Variable.RXAP_USE_FUNCTION.md +1 -1
  346. package/docs/wiki/Variable.RXAP_USE_METHOD.md +1 -1
  347. package/docs/wiki/Variable.RXAP_USE_REMOTE_METHOD.md +1 -1
  348. package/docs/wiki/Variable.SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +1 -1
  349. package/docs/wiki/Variable.TO_DISPLAY_FUNCTION_NAME.md +1 -1
  350. package/docs/wiki/_Sidebar.md +1 -1
  351. package/docs/wiki/globals.md +2 -2
  352. package/fesm2022/rxap-form-system.mjs +304 -450
  353. package/fesm2022/rxap-form-system.mjs.map +1 -1
  354. package/package.json +49 -44
  355. package/types/rxap-form-system.d.ts +628 -0
  356. package/docs/html/classes/FormSystemDirectivesModule.html +0 -2
  357. package/docs/markdown/classes/FormSystemDirectivesModule.md +0 -19
  358. package/docs/wiki/Class.FormSystemDirectivesModule.md +0 -15
  359. package/index.d.ts +0 -41
  360. package/lib/control-data-source.d.ts +0 -13
  361. package/lib/control-with-data-source.d.ts +0 -5
  362. package/lib/decorators/metadata-keys.d.ts +0 -6
  363. package/lib/decorators/use-component.d.ts +0 -3
  364. package/lib/decorators/use-data-source.d.ts +0 -14
  365. package/lib/decorators/use-form-component.d.ts +0 -7
  366. package/lib/directives/array/for-form-array-items.directive.d.ts +0 -26
  367. package/lib/directives/array/form-array-add-item-button.directive.d.ts +0 -20
  368. package/lib/directives/array/form-array-item-button.d.ts +0 -30
  369. package/lib/directives/array/form-array-item-remove-button.directive.d.ts +0 -16
  370. package/lib/directives/array/form-array-item-restore-button.directive.d.ts +0 -9
  371. package/lib/directives/array/form-array-removable.directive.d.ts +0 -19
  372. package/lib/directives/autocomplete-options-from-method.directive.d.ts +0 -76
  373. package/lib/directives/control-hide-show.directive.d.ts +0 -40
  374. package/lib/directives/form-directives.module.d.ts +0 -8
  375. package/lib/directives/input-select-options.directive.d.ts +0 -74
  376. package/lib/directives/options-from-method.directive.d.ts +0 -39
  377. package/lib/directives/options-from-remote-method.directive.d.ts +0 -38
  378. package/lib/directives/test-ng-control.d.ts +0 -7
  379. package/lib/error.d.ts +0 -4
  380. package/lib/form-context-from-activated-route.factory.d.ts +0 -2
  381. package/lib/form-system-control.directive.d.ts +0 -37
  382. package/lib/mixins/adapters.d.ts +0 -9
  383. package/lib/mixins/apply-use-function.adapters.d.ts +0 -3
  384. package/lib/mixins/apply-use-method.adapters.d.ts +0 -4
  385. package/lib/mixins/extract-control-from-parent.mixin.d.ts +0 -5
  386. package/lib/mixins/extract-control.mixin.d.ts +0 -9
  387. package/lib/mixins/extract-data-sources.mixin.d.ts +0 -5
  388. package/lib/mixins/extract-form-definition.mixin.d.ts +0 -4
  389. package/lib/mixins/extract-function.mixin.d.ts +0 -9
  390. package/lib/mixins/extract-functions.mixin.d.ts +0 -19
  391. package/lib/mixins/extract-is-value-function.mixin.d.ts +0 -13
  392. package/lib/mixins/extract-method.mixin.d.ts +0 -9
  393. package/lib/mixins/extract-methods.mixin.d.ts +0 -20
  394. package/lib/mixins/extract-options-data-source.mixin.d.ts +0 -26
  395. package/lib/mixins/extract-options-method.mixin.d.ts +0 -17
  396. package/lib/mixins/extract-resolve-method.mixin.d.ts +0 -16
  397. package/lib/mixins/extract-to-display-function.mixin.d.ts +0 -13
  398. package/lib/submit-context-form-adapter.factory.d.ts +0 -13
  399. package/lib/validators/is-equal-to.d.ts +0 -17
  400. package/lib/validators/is-selectable-value.directive.d.ts +0 -16
@@ -170,14 +170,52 @@
170
170
  <tr>
171
171
  <td class="col-md-4">
172
172
  <ul class="index-list">
173
+ <li>
174
+ <span class="modifier">Protected</span>
175
+ <span class="modifier">Readonly</span>
176
+ <a href="#cdr" >cdr</a>
177
+ </li>
173
178
  <li>
174
179
  <span class="modifier">Protected</span>
175
180
  <a href="#control" >control</a>
176
181
  </li>
182
+ <li>
183
+ <span class="modifier">Protected</span>
184
+ <span class="modifier">Readonly</span>
185
+ <a href="#currentViewer" >currentViewer</a>
186
+ </li>
177
187
  <li>
178
188
  <span class="modifier">Protected</span>
179
189
  <a href="#dataSource" >dataSource</a>
180
190
  </li>
191
+ <li>
192
+ <span class="modifier">Protected</span>
193
+ <span class="modifier">Readonly</span>
194
+ <a href="#dataSourceLoader" >dataSourceLoader</a>
195
+ </li>
196
+ <li>
197
+ <span class="modifier">Protected</span>
198
+ <span class="modifier">Readonly</span>
199
+ <a href="#injector" >injector</a>
200
+ </li>
201
+ <li>
202
+ <span class="modifier">Public</span>
203
+ <span class="modifier">Readonly</span>
204
+ <a href="#matAutocomplete" >matAutocomplete</a>
205
+ </li>
206
+ <li>
207
+ <span class="modifier">Protected</span>
208
+ <a href="#matFormField" >matFormField</a>
209
+ </li>
210
+ <li>
211
+ <span class="modifier">Public</span>
212
+ <span class="modifier">Readonly</span>
213
+ <a href="#metadata" >metadata</a>
214
+ </li>
215
+ <li>
216
+ <span class="modifier">Protected</span>
217
+ <a href="#ngControl" >ngControl</a>
218
+ </li>
181
219
  <li>
182
220
  <span class="modifier">Protected</span>
183
221
  <a href="#options" >options</a>
@@ -192,25 +230,20 @@
192
230
  <span class="modifier">Readonly</span>
193
231
  <a href="#subscription" >subscription</a>
194
232
  </li>
195
- </ul>
196
- </td>
197
- </tr>
198
-
199
- <tr>
200
- <td class="col-md-4">
201
- <h6><b>Methods</b></h6>
202
- </td>
203
- </tr>
204
- <tr>
205
- <td class="col-md-4">
206
- <ul class="index-list">
207
233
  <li>
208
234
  <span class="modifier">Protected</span>
209
- <a href="#renderTemplate" >renderTemplate</a>
235
+ <span class="modifier">Readonly</span>
236
+ <a href="#template" >template</a>
237
+ </li>
238
+ <li>
239
+ <span class="modifier">Protected</span>
240
+ <span class="modifier">Readonly</span>
241
+ <a href="#viewContainerRef" >viewContainerRef</a>
210
242
  </li>
211
243
  <li>
212
244
  <span class="modifier">Public</span>
213
- <a href="#toDisplay" >toDisplay</a>
245
+ <span class="modifier">Readonly</span>
246
+ <a href="#viewer" >viewer</a>
214
247
  </li>
215
248
  </ul>
216
249
  </td>
@@ -218,20 +251,19 @@
218
251
 
219
252
  <tr>
220
253
  <td class="col-md-4">
221
- <h6><b>Inputs</b></h6>
254
+ <h6><b>Methods</b></h6>
222
255
  </td>
223
256
  </tr>
224
257
  <tr>
225
258
  <td class="col-md-4">
226
259
  <ul class="index-list">
227
260
  <li>
228
- <a href="#rxapInputSelectOptionsMatAutocomplete" >rxapInputSelectOptionsMatAutocomplete</a>
229
- </li>
230
- <li>
231
- <a href="#rxapInputSelectOptionsMetadata" >rxapInputSelectOptionsMetadata</a>
261
+ <span class="modifier">Protected</span>
262
+ <a href="#renderTemplate" >renderTemplate</a>
232
263
  </li>
233
264
  <li>
234
- <a href="#rxapInputSelectOptionsViewer" >rxapInputSelectOptionsViewer</a>
265
+ <span class="modifier">Public</span>
266
+ <a href="#toDisplay" >toDisplay</a>
235
267
  </li>
236
268
  </ul>
237
269
  </td>
@@ -240,202 +272,13 @@
240
272
 
241
273
 
242
274
 
275
+
243
276
  </tbody>
244
277
  </table>
245
278
  </section>
246
279
 
247
- <section data-compodoc="block-constructor">
248
- <h3 id="constructor">Constructor</h3>
249
- <table class="table table-sm table-bordered">
250
- <tbody>
251
- <tr>
252
- <td class="col-md-4">
253
- <code>constructor(template: <a href="../interfaces/InputSelectOptionsTemplateContext.html" target="_self">TemplateRef&lt;InputSelectOptionsTemplateContext&gt;</a>, dataSourceLoader: DataSourceLoader, viewContainerRef: ViewContainerRef, injector: Injector, cdr: ChangeDetectorRef, ngControl: NgControl | null, matFormField: MatFormField | null)</code>
254
- </td>
255
- </tr>
256
- <tr>
257
- <td class="col-md-4">
258
- <div class="io-line">Defined in <a href="" data-line="122" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:122</a></div>
259
- </td>
260
- </tr>
261
280
 
262
- <tr>
263
- <td class="col-md-4">
264
- <div>
265
- <b>Parameters :</b>
266
- <table class="params">
267
- <thead>
268
- <tr>
269
- <td>Name</td>
270
- <td>Type</td>
271
- <td>Optional</td>
272
- </tr>
273
- </thead>
274
- <tbody>
275
- <tr>
276
- <td>template</td>
277
-
278
- <td>
279
- <code><a href="../interfaces/InputSelectOptionsTemplateContext.html" target="_self" >TemplateRef&lt;InputSelectOptionsTemplateContext&gt;</a></code>
280
- </td>
281
-
282
- <td>
283
- No
284
- </td>
285
-
286
- </tr>
287
- <tr>
288
- <td>dataSourceLoader</td>
289
-
290
- <td>
291
- <code>DataSourceLoader</code>
292
- </td>
293
-
294
- <td>
295
- No
296
- </td>
297
-
298
- </tr>
299
- <tr>
300
- <td>viewContainerRef</td>
301
-
302
- <td>
303
- <code>ViewContainerRef</code>
304
- </td>
305
-
306
- <td>
307
- No
308
- </td>
309
-
310
- </tr>
311
- <tr>
312
- <td>injector</td>
313
-
314
- <td>
315
- <code>Injector</code>
316
- </td>
317
-
318
- <td>
319
- No
320
- </td>
321
-
322
- </tr>
323
- <tr>
324
- <td>cdr</td>
325
-
326
- <td>
327
- <code>ChangeDetectorRef</code>
328
- </td>
329
-
330
- <td>
331
- No
332
- </td>
333
-
334
- </tr>
335
- <tr>
336
- <td>ngControl</td>
337
-
338
- <td>
339
- <code>NgControl | null</code>
340
- </td>
341
-
342
- <td>
343
- No
344
- </td>
345
-
346
- </tr>
347
- <tr>
348
- <td>matFormField</td>
349
-
350
- <td>
351
- <code>MatFormField | null</code>
352
- </td>
353
-
354
- <td>
355
- No
356
- </td>
357
-
358
- </tr>
359
- </tbody>
360
- </table>
361
- </div>
362
- </td>
363
- </tr>
364
- </tbody>
365
- </table>
366
- </section>
367
-
368
- <section data-compodoc="block-inputs">
369
- <h3 id="inputs">Inputs</h3>
370
- <table class="table table-sm table-bordered">
371
- <tbody>
372
- <tr>
373
- <td class="col-md-4">
374
- <a name="rxapInputSelectOptionsMatAutocomplete"></a>
375
- <b>rxapInputSelectOptionsMatAutocomplete</b>
376
- </td>
377
- </tr>
378
- <tr>
379
- <td class="col-md-4">
380
- <i>Type : </i> <code>MatAutocomplete</code>
381
-
382
- </td>
383
- </tr>
384
- <tr>
385
- <td class="col-md-2" colspan="2">
386
- <div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:103</a></div>
387
- </td>
388
- </tr>
389
- </tbody>
390
- </table>
391
- <table class="table table-sm table-bordered">
392
- <tbody>
393
- <tr>
394
- <td class="col-md-4">
395
- <a name="rxapInputSelectOptionsMetadata"></a>
396
- <b>rxapInputSelectOptionsMetadata</b>
397
- </td>
398
- </tr>
399
- <tr>
400
- <td class="col-md-4">
401
- <i>Type : </i> <code>BaseDataSourceMetadata</code>
402
-
403
- </td>
404
- </tr>
405
- <tr>
406
- <td class="col-md-2" colspan="2">
407
- <div class="io-line">Defined in <a href="" data-line="100" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:100</a></div>
408
- </td>
409
- </tr>
410
- </tbody>
411
- </table>
412
- <table class="table table-sm table-bordered">
413
- <tbody>
414
- <tr>
415
- <td class="col-md-4">
416
- <a name="rxapInputSelectOptionsViewer"></a>
417
- <b>rxapInputSelectOptionsViewer</b>
418
- </td>
419
- </tr>
420
- <tr>
421
- <td class="col-md-4">
422
- <i>Type : </i> <code>BaseDataSourceViewer</code>
423
281
 
424
- </td>
425
- </tr>
426
- <tr>
427
- <td class="col-md-4">
428
- <i>Default value : </i><code>{ id: &#x27;[rxapInputSelectOptions]&#x27; }</code>
429
- </td>
430
- </tr>
431
- <tr>
432
- <td class="col-md-2" colspan="2">
433
- <div class="io-line">Defined in <a href="" data-line="97" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:97</a></div>
434
- </td>
435
- </tr>
436
- </tbody>
437
- </table>
438
- </section>
439
282
 
440
283
 
441
284
 
@@ -466,8 +309,8 @@
466
309
 
467
310
  <tr>
468
311
  <td class="col-md-4">
469
- <div class="io-line">Defined in <a href="" data-line="221"
470
- class="link-to-prism">src/lib/directives/input-select-options.directive.ts:221</a></div>
312
+ <div class="io-line">Defined in <a href="" data-line="198"
313
+ class="link-to-prism">src/lib/directives/input-select-options.directive.ts:198</a></div>
471
314
  </td>
472
315
  </tr>
473
316
 
@@ -539,8 +382,8 @@
539
382
 
540
383
  <tr>
541
384
  <td class="col-md-4">
542
- <div class="io-line">Defined in <a href="" data-line="170"
543
- class="link-to-prism">src/lib/directives/input-select-options.directive.ts:170</a></div>
385
+ <div class="io-line">Defined in <a href="" data-line="147"
386
+ class="link-to-prism">src/lib/directives/input-select-options.directive.ts:147</a></div>
544
387
  </td>
545
388
  </tr>
546
389
 
@@ -592,6 +435,33 @@
592
435
  <h3 id="inputs">
593
436
  Properties
594
437
  </h3>
438
+ <table class="table table-sm table-bordered">
439
+ <tbody>
440
+ <tr>
441
+ <td class="col-md-4">
442
+ <a name="cdr"></a>
443
+ <span class="name">
444
+ <span class="modifier">Protected</span>
445
+ <span class="modifier">Readonly</span>
446
+ <span ><b>cdr</b></span>
447
+ <a href="#cdr"><span class="icon ion-ios-link"></span></a>
448
+ </span>
449
+ </td>
450
+ </tr>
451
+ <tr>
452
+ <td class="col-md-4">
453
+ <i>Default value : </i><code>inject&lt;ChangeDetectorRef&gt;(ChangeDetectorRef)</code>
454
+ </td>
455
+ </tr>
456
+ <tr>
457
+ <td class="col-md-4">
458
+ <div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:86</a></div>
459
+ </td>
460
+ </tr>
461
+
462
+
463
+ </tbody>
464
+ </table>
595
465
  <table class="table table-sm table-bordered">
596
466
  <tbody>
597
467
  <tr>
@@ -612,10 +482,44 @@
612
482
  </tr>
613
483
  <tr>
614
484
  <td class="col-md-4">
615
- <div class="io-line">Defined in <a href="" data-line="107" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:107</a></div>
485
+ <div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:105</a></div>
486
+ </td>
487
+ </tr>
488
+
489
+
490
+ </tbody>
491
+ </table>
492
+ <table class="table table-sm table-bordered">
493
+ <tbody>
494
+ <tr>
495
+ <td class="col-md-4">
496
+ <a name="currentViewer"></a>
497
+ <span class="name">
498
+ <span class="modifier">Protected</span>
499
+ <span class="modifier">Readonly</span>
500
+ <span ><b>currentViewer</b></span>
501
+ <a href="#currentViewer"><span class="icon ion-ios-link"></span></a>
502
+ </span>
503
+ </td>
504
+ </tr>
505
+ <tr>
506
+ <td class="col-md-4">
507
+ <i>Default value : </i><code>linkedSignal(() &#x3D;&gt; this.viewer())</code>
508
+ </td>
509
+ </tr>
510
+ <tr>
511
+ <td class="col-md-4">
512
+ <div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:101</a></div>
616
513
  </td>
617
514
  </tr>
618
515
 
516
+ <tr>
517
+ <td class="col-md-4">
518
+ <div class="io-description"><p>The viewer used to connect to the data source. Defaults to the input value, but is
519
+ replaced with a viewer bound to the control after the view init.</p>
520
+ </div>
521
+ </td>
522
+ </tr>
619
523
 
620
524
  </tbody>
621
525
  </table>
@@ -639,7 +543,167 @@
639
543
  </tr>
640
544
  <tr>
641
545
  <td class="col-md-4">
642
- <div class="io-line">Defined in <a href="" data-line="109" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:109</a></div>
546
+ <div class="io-line">Defined in <a href="" data-line="107" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:107</a></div>
547
+ </td>
548
+ </tr>
549
+
550
+
551
+ </tbody>
552
+ </table>
553
+ <table class="table table-sm table-bordered">
554
+ <tbody>
555
+ <tr>
556
+ <td class="col-md-4">
557
+ <a name="dataSourceLoader"></a>
558
+ <span class="name">
559
+ <span class="modifier">Protected</span>
560
+ <span class="modifier">Readonly</span>
561
+ <span ><b>dataSourceLoader</b></span>
562
+ <a href="#dataSourceLoader"><span class="icon ion-ios-link"></span></a>
563
+ </span>
564
+ </td>
565
+ </tr>
566
+ <tr>
567
+ <td class="col-md-4">
568
+ <i>Default value : </i><code>inject&lt;DataSourceLoader&gt;(DataSourceLoader)</code>
569
+ </td>
570
+ </tr>
571
+ <tr>
572
+ <td class="col-md-4">
573
+ <div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:83</a></div>
574
+ </td>
575
+ </tr>
576
+
577
+
578
+ </tbody>
579
+ </table>
580
+ <table class="table table-sm table-bordered">
581
+ <tbody>
582
+ <tr>
583
+ <td class="col-md-4">
584
+ <a name="injector"></a>
585
+ <span class="name">
586
+ <span class="modifier">Protected</span>
587
+ <span class="modifier">Readonly</span>
588
+ <span ><b>injector</b></span>
589
+ <a href="#injector"><span class="icon ion-ios-link"></span></a>
590
+ </span>
591
+ </td>
592
+ </tr>
593
+ <tr>
594
+ <td class="col-md-4">
595
+ <i>Default value : </i><code>inject&lt;Injector&gt;(INJECTOR)</code>
596
+ </td>
597
+ </tr>
598
+ <tr>
599
+ <td class="col-md-4">
600
+ <div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:85</a></div>
601
+ </td>
602
+ </tr>
603
+
604
+
605
+ </tbody>
606
+ </table>
607
+ <table class="table table-sm table-bordered">
608
+ <tbody>
609
+ <tr>
610
+ <td class="col-md-4">
611
+ <a name="matAutocomplete"></a>
612
+ <span class="name">
613
+ <span class="modifier">Public</span>
614
+ <span class="modifier">Readonly</span>
615
+ <span ><b>matAutocomplete</b></span>
616
+ <a href="#matAutocomplete"><span class="icon ion-ios-link"></span></a>
617
+ </span>
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td class="col-md-4">
622
+ <i>Default value : </i><code>input&lt;MatAutocomplete | undefined&gt;(undefined, { alias: &quot;rxapInputSelectOptionsMatAutocomplete&quot; })</code>
623
+ </td>
624
+ </tr>
625
+ <tr>
626
+ <td class="col-md-4">
627
+ <div class="io-line">Defined in <a href="" data-line="95" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:95</a></div>
628
+ </td>
629
+ </tr>
630
+
631
+
632
+ </tbody>
633
+ </table>
634
+ <table class="table table-sm table-bordered">
635
+ <tbody>
636
+ <tr>
637
+ <td class="col-md-4">
638
+ <a name="matFormField"></a>
639
+ <span class="name">
640
+ <span class="modifier">Protected</span>
641
+ <span ><b>matFormField</b></span>
642
+ <a href="#matFormField"><span class="icon ion-ios-link"></span></a>
643
+ </span>
644
+ </td>
645
+ </tr>
646
+ <tr>
647
+ <td class="col-md-4">
648
+ <i>Default value : </i><code>inject&lt;MatFormField | null&gt;(MAT_FORM_FIELD, { optional: true }) ?? null</code>
649
+ </td>
650
+ </tr>
651
+ <tr>
652
+ <td class="col-md-4">
653
+ <div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:88</a></div>
654
+ </td>
655
+ </tr>
656
+
657
+
658
+ </tbody>
659
+ </table>
660
+ <table class="table table-sm table-bordered">
661
+ <tbody>
662
+ <tr>
663
+ <td class="col-md-4">
664
+ <a name="metadata"></a>
665
+ <span class="name">
666
+ <span class="modifier">Public</span>
667
+ <span class="modifier">Readonly</span>
668
+ <span ><b>metadata</b></span>
669
+ <a href="#metadata"><span class="icon ion-ios-link"></span></a>
670
+ </span>
671
+ </td>
672
+ </tr>
673
+ <tr>
674
+ <td class="col-md-4">
675
+ <i>Default value : </i><code>input&lt;BaseDataSourceMetadata | undefined&gt;(undefined, { alias: &quot;rxapInputSelectOptionsMetadata&quot; })</code>
676
+ </td>
677
+ </tr>
678
+ <tr>
679
+ <td class="col-md-4">
680
+ <div class="io-line">Defined in <a href="" data-line="93" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:93</a></div>
681
+ </td>
682
+ </tr>
683
+
684
+
685
+ </tbody>
686
+ </table>
687
+ <table class="table table-sm table-bordered">
688
+ <tbody>
689
+ <tr>
690
+ <td class="col-md-4">
691
+ <a name="ngControl"></a>
692
+ <span class="name">
693
+ <span class="modifier">Protected</span>
694
+ <span ><b>ngControl</b></span>
695
+ <a href="#ngControl"><span class="icon ion-ios-link"></span></a>
696
+ </span>
697
+ </td>
698
+ </tr>
699
+ <tr>
700
+ <td class="col-md-4">
701
+ <i>Default value : </i><code>inject&lt;NgControl | null&gt;(NgControl, { optional: true }) ?? null</code>
702
+ </td>
703
+ </tr>
704
+ <tr>
705
+ <td class="col-md-4">
706
+ <div class="io-line">Defined in <a href="" data-line="87" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:87</a></div>
643
707
  </td>
644
708
  </tr>
645
709
 
@@ -671,7 +735,7 @@
671
735
  </tr>
672
736
  <tr>
673
737
  <td class="col-md-4">
674
- <div class="io-line">Defined in <a href="" data-line="111" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:111</a></div>
738
+ <div class="io-line">Defined in <a href="" data-line="109" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:109</a></div>
675
739
  </td>
676
740
  </tr>
677
741
 
@@ -699,7 +763,7 @@
699
763
  </tr>
700
764
  <tr>
701
765
  <td class="col-md-4">
702
- <div class="io-line">Defined in <a href="" data-line="113" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:113</a></div>
766
+ <div class="io-line">Defined in <a href="" data-line="111" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:111</a></div>
703
767
  </td>
704
768
  </tr>
705
769
 
@@ -726,7 +790,88 @@
726
790
  </tr>
727
791
  <tr>
728
792
  <td class="col-md-4">
729
- <div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:105</a></div>
793
+ <div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:103</a></div>
794
+ </td>
795
+ </tr>
796
+
797
+
798
+ </tbody>
799
+ </table>
800
+ <table class="table table-sm table-bordered">
801
+ <tbody>
802
+ <tr>
803
+ <td class="col-md-4">
804
+ <a name="template"></a>
805
+ <span class="name">
806
+ <span class="modifier">Protected</span>
807
+ <span class="modifier">Readonly</span>
808
+ <span ><b>template</b></span>
809
+ <a href="#template"><span class="icon ion-ios-link"></span></a>
810
+ </span>
811
+ </td>
812
+ </tr>
813
+ <tr>
814
+ <td class="col-md-4">
815
+ <i>Default value : </i><code>inject&lt;TemplateRef&lt;InputSelectOptionsTemplateContext&gt;&gt;(TemplateRef)</code>
816
+ </td>
817
+ </tr>
818
+ <tr>
819
+ <td class="col-md-4">
820
+ <div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:82</a></div>
821
+ </td>
822
+ </tr>
823
+
824
+
825
+ </tbody>
826
+ </table>
827
+ <table class="table table-sm table-bordered">
828
+ <tbody>
829
+ <tr>
830
+ <td class="col-md-4">
831
+ <a name="viewContainerRef"></a>
832
+ <span class="name">
833
+ <span class="modifier">Protected</span>
834
+ <span class="modifier">Readonly</span>
835
+ <span ><b>viewContainerRef</b></span>
836
+ <a href="#viewContainerRef"><span class="icon ion-ios-link"></span></a>
837
+ </span>
838
+ </td>
839
+ </tr>
840
+ <tr>
841
+ <td class="col-md-4">
842
+ <i>Default value : </i><code>inject&lt;ViewContainerRef&gt;(ViewContainerRef)</code>
843
+ </td>
844
+ </tr>
845
+ <tr>
846
+ <td class="col-md-4">
847
+ <div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:84</a></div>
848
+ </td>
849
+ </tr>
850
+
851
+
852
+ </tbody>
853
+ </table>
854
+ <table class="table table-sm table-bordered">
855
+ <tbody>
856
+ <tr>
857
+ <td class="col-md-4">
858
+ <a name="viewer"></a>
859
+ <span class="name">
860
+ <span class="modifier">Public</span>
861
+ <span class="modifier">Readonly</span>
862
+ <span ><b>viewer</b></span>
863
+ <a href="#viewer"><span class="icon ion-ios-link"></span></a>
864
+ </span>
865
+ </td>
866
+ </tr>
867
+ <tr>
868
+ <td class="col-md-4">
869
+ <i>Default value : </i><code>input&lt;BaseDataSourceViewer&gt;({ id: &#x27;[rxapInputSelectOptions]&#x27; }, { alias: &quot;rxapInputSelectOptionsViewer&quot; })</code>
870
+ </td>
871
+ </tr>
872
+ <tr>
873
+ <td class="col-md-4">
874
+ <div class="io-line">Defined in <a href="" data-line="91" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:91</a></div>
730
875
  </td>
731
876
  </tr>
732
877
 
@@ -740,20 +885,7 @@
740
885
 
741
886
 
742
887
  <div class="tab-pane fade tab-source-code" id="source">
743
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
744
- AfterViewInit,
745
- ChangeDetectorRef,
746
- Directive,
747
- Inject,
748
- Injector,
749
- INJECTOR,
750
- Input,
751
- isDevMode,
752
- OnDestroy,
753
- Optional,
754
- TemplateRef,
755
- ViewContainerRef,
756
- } from &#x27;@angular/core&#x27;;
888
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AfterViewInit, ChangeDetectorRef, Directive, inject, Injector, INJECTOR, input, isDevMode, linkedSignal, OnDestroy, TemplateRef, untracked, ViewContainerRef } from &#x27;@angular/core&#x27;;
757
889
  import { NgControl } from &#x27;@angular/forms&#x27;;
758
890
  import {
759
891
  BaseDataSource,
@@ -834,15 +966,26 @@ export interface InputSelectOptionsDirective extends OnDestroy, AfterViewInit,
834
966
  standalone: true,
835
967
  })
836
968
  export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
969
+ protected readonly template &#x3D; inject&lt;TemplateRef&lt;InputSelectOptionsTemplateContext&gt;&gt;(TemplateRef);
970
+ protected readonly dataSourceLoader &#x3D; inject&lt;DataSourceLoader&gt;(DataSourceLoader);
971
+ protected readonly viewContainerRef &#x3D; inject&lt;ViewContainerRef&gt;(ViewContainerRef);
972
+ protected readonly injector &#x3D; inject&lt;Injector&gt;(INJECTOR);
973
+ protected readonly cdr &#x3D; inject&lt;ChangeDetectorRef&gt;(ChangeDetectorRef);
974
+ protected ngControl &#x3D; inject&lt;NgControl | null&gt;(NgControl, { optional: true }) ?? null;
975
+ protected matFormField &#x3D; inject&lt;MatFormField | null&gt;(MAT_FORM_FIELD, { optional: true }) ?? null;
976
+
837
977
 
838
- @Input(&#x27;rxapInputSelectOptionsViewer&#x27;)
839
- public viewer: BaseDataSourceViewer &#x3D; { id: &#x27;[rxapInputSelectOptions]&#x27; };
978
+ public readonly viewer &#x3D; input&lt;BaseDataSourceViewer&gt;({ id: &#x27;[rxapInputSelectOptions]&#x27; }, { alias: &quot;rxapInputSelectOptionsViewer&quot; });
840
979
 
841
- @Input(&#x27;rxapInputSelectOptionsMetadata&#x27;)
842
- public metadata?: BaseDataSourceMetadata;
980
+ public readonly metadata &#x3D; input&lt;BaseDataSourceMetadata | undefined&gt;(undefined, { alias: &quot;rxapInputSelectOptionsMetadata&quot; });
843
981
 
844
- @Input(&#x27;rxapInputSelectOptionsMatAutocomplete&#x27;)
845
- public matAutocomplete?: MatAutocomplete;
982
+ public readonly matAutocomplete &#x3D; input&lt;MatAutocomplete | undefined&gt;(undefined, { alias: &quot;rxapInputSelectOptionsMatAutocomplete&quot; });
983
+
984
+ /**
985
+ * The viewer used to connect to the data source. Defaults to the input value, but is
986
+ * replaced with a viewer bound to the control after the view init.
987
+ */
988
+ protected readonly currentViewer &#x3D; linkedSignal(() &#x3D;&gt; this.viewer());
846
989
 
847
990
  protected readonly subscription &#x3D; new Subscription();
848
991
 
@@ -863,31 +1006,9 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
863
1006
  */
864
1007
  private isAutocompleteToDisplayTriggered &#x3D; false;
865
1008
 
866
- constructor(
867
- @Inject(TemplateRef)
868
- protected readonly template: TemplateRef&lt;InputSelectOptionsTemplateContext&gt;,
869
- @Inject(DataSourceLoader)
870
- protected readonly dataSourceLoader: DataSourceLoader,
871
- @Inject(ViewContainerRef)
872
- protected readonly viewContainerRef: ViewContainerRef,
873
- @Inject(INJECTOR)
874
- protected readonly injector: Injector,
875
- @Inject(ChangeDetectorRef)
876
- protected readonly cdr: ChangeDetectorRef,
877
- // The ngControl could be unknown on construction
878
- // bc it is available after the content is init
879
- @Optional()
880
- @Inject(NgControl)
881
- protected ngControl: NgControl | null &#x3D; null,
882
- @Optional()
883
- @Inject(MAT_FORM_FIELD)
884
- protected matFormField: MatFormField | null &#x3D; null,
885
- ) {
886
- }
887
-
888
1009
  public ngAfterViewInit() {
889
- this.extractOptionsDatasource();
890
- this.viewer &#x3D; {
1010
+ this.extractOptionsDatasource(undefined, this.metadata());
1011
+ this.currentViewer.set({
891
1012
  id: &#x27;[rxapInputSelectOptions]&#x27; + this.control.controlId,
892
1013
  viewChange: this.settings?.loadOnce ? EMPTY : this.control.value$.pipe(
893
1014
  throttleTime(1000),
@@ -900,9 +1021,10 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
900
1021
  }),
901
1022
  ),
902
1023
  control: this.control,
903
- };
904
- if (this.matAutocomplete) {
905
- this.matAutocomplete.displayWith &#x3D; this.toDisplay.bind(this);
1024
+ });
1025
+ const matAutocomplete &#x3D; this.matAutocomplete();
1026
+ if (matAutocomplete) {
1027
+ matAutocomplete.displayWith &#x3D; this.toDisplay.bind(this);
906
1028
  this.settings ??&#x3D; {};
907
1029
  this.settings.filteredOptions ??&#x3D; true;
908
1030
  }
@@ -922,7 +1044,7 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
922
1044
  }
923
1045
 
924
1046
  private loadOptions(dataSource: BaseDataSource&lt;ControlOptions | Record&lt;string, any&gt;&gt; &#x3D; this.dataSource) {
925
- this.subscription.add(dataSource.connect(this.viewer).pipe(
1047
+ this.subscription.add(dataSource.connect(this.currentViewer()).pipe(
926
1048
  switchMap(options &#x3D;&gt; {
927
1049
  if (this.settings?.filteredOptions) {
928
1050
  return this.control.value$.pipe(
@@ -950,7 +1072,7 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
950
1072
  }),
951
1073
  tap(options &#x3D;&gt; this.renderTemplate(this.options &#x3D; options)),
952
1074
  tap(() &#x3D;&gt; {
953
- if (this.matAutocomplete &amp;&amp; !this.isAutocompleteToDisplayTriggered) {
1075
+ if (this.matAutocomplete() &amp;&amp; !this.isAutocompleteToDisplayTriggered) {
954
1076
  this.isAutocompleteToDisplayTriggered &#x3D; true;
955
1077
  // trigger a change detection after the options are rendered
956
1078
  // this is needed to trigger the mat-autocomplete options to display function