@tft/crispr-forms 13.0.23 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/README.md +77 -76
  2. package/esm2020/public-api.mjs +5 -0
  3. package/esm2020/src/index.mjs +2 -0
  4. package/esm2020/src/lib/crispr-forms.module.mjs +57 -0
  5. package/esm2020/src/lib/field-component-map.const.mjs +27 -0
  6. package/esm2020/src/lib/field.directive.mjs +69 -0
  7. package/esm2020/src/lib/form/form.component.mjs +63 -0
  8. package/esm2020/src/lib/form-group-list/form-group-list.component.mjs +93 -0
  9. package/esm2020/src/lib/form-group-list/index.mjs +2 -0
  10. package/esm2020/src/lib/pipes/crispr-pipes.module.mjs +24 -0
  11. package/esm2020/src/lib/pipes/initial-control-value.pipe.mjs +21 -0
  12. package/esm2020/src/lib/public_api.mjs +3 -0
  13. package/esm2020/src/lib/sub-group/index.mjs +3 -0
  14. package/esm2020/src/lib/sub-group/sub-group.component.mjs +21 -0
  15. package/esm2020/src/lib/sub-group/sub-group.module.mjs +42 -0
  16. package/esm2020/tft-crispr-forms.mjs +2 -2
  17. package/esm2020/ui/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +130 -0
  18. package/esm2020/ui/autocomplete-chiplist-field/public-api.mjs +2 -0
  19. package/esm2020/ui/autocomplete-chiplist-field/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +5 -0
  20. package/esm2020/ui/autocomplete-field/autocomplete-field.component.mjs +93 -0
  21. package/esm2020/ui/autocomplete-field/public-api.mjs +2 -0
  22. package/esm2020/ui/autocomplete-field/tft-crispr-forms-ui-autocomplete-field.mjs +5 -0
  23. package/esm2020/ui/button/button.component.mjs +49 -0
  24. package/esm2020/ui/button/public-api.mjs +2 -0
  25. package/esm2020/ui/button/tft-crispr-forms-ui-button.mjs +5 -0
  26. package/esm2020/ui/checkbox-field/checkbox-field.component.mjs +42 -0
  27. package/esm2020/ui/checkbox-field/public-api.mjs +2 -0
  28. package/esm2020/ui/checkbox-field/tft-crispr-forms-ui-checkbox-field.mjs +5 -0
  29. package/esm2020/ui/datepicker-field/datepicker-field.component.mjs +63 -0
  30. package/esm2020/ui/datepicker-field/public-api.mjs +2 -0
  31. package/esm2020/ui/datepicker-field/tft-crispr-forms-ui-datepicker-field.mjs +5 -0
  32. package/esm2020/ui/divider/divider.component.mjs +28 -0
  33. package/esm2020/ui/divider/public-api.mjs +2 -0
  34. package/esm2020/ui/divider/tft-crispr-forms-ui-divider.mjs +5 -0
  35. package/esm2020/ui/field-container/field-container.component.mjs +58 -0
  36. package/esm2020/ui/field-container/public-api.mjs +2 -0
  37. package/esm2020/ui/field-container/tft-crispr-forms-ui-field-container.mjs +5 -0
  38. package/esm2020/ui/file-dropzone/file-dropzone.directive.mjs +40 -0
  39. package/esm2020/ui/file-dropzone/public-api.mjs +2 -0
  40. package/esm2020/ui/file-dropzone/tft-crispr-forms-ui-file-dropzone.mjs +5 -0
  41. package/esm2020/ui/file-upload-field/file-upload-field.component.mjs +108 -0
  42. package/esm2020/ui/file-upload-field/public-api.mjs +2 -0
  43. package/esm2020/ui/file-upload-field/tft-crispr-forms-ui-file-upload-field.mjs +5 -0
  44. package/esm2020/ui/heading/heading.component.mjs +31 -0
  45. package/esm2020/ui/heading/public-api.mjs +2 -0
  46. package/esm2020/ui/heading/tft-crispr-forms-ui-heading.mjs +5 -0
  47. package/esm2020/ui/image-upload-field/image-upload-field.component.mjs +179 -0
  48. package/esm2020/ui/image-upload-field/public-api.mjs +2 -0
  49. package/esm2020/ui/image-upload-field/tft-crispr-forms-ui-image-upload-field.mjs +5 -0
  50. package/esm2020/ui/info/info.component.mjs +23 -0
  51. package/esm2020/ui/info/public-api.mjs +2 -0
  52. package/esm2020/ui/info/tft-crispr-forms-ui-info.mjs +5 -0
  53. package/esm2020/ui/input-field/input-field.component.mjs +41 -0
  54. package/esm2020/ui/input-field/public-api.mjs +2 -0
  55. package/esm2020/ui/input-field/tft-crispr-forms-ui-input-field.mjs +5 -0
  56. package/esm2020/ui/option/option.component.mjs +19 -0
  57. package/esm2020/ui/option/public-api.mjs +2 -0
  58. package/esm2020/ui/option/tft-crispr-forms-ui-option.mjs +5 -0
  59. package/esm2020/ui/public-api.mjs +7 -0
  60. package/esm2020/ui/radio-field/public-api.mjs +2 -0
  61. package/esm2020/ui/radio-field/radio-field.component.mjs +39 -0
  62. package/esm2020/ui/radio-field/tft-crispr-forms-ui-radio-field.mjs +5 -0
  63. package/esm2020/ui/select-field/public-api.mjs +2 -0
  64. package/esm2020/ui/select-field/select-field.component.mjs +73 -0
  65. package/esm2020/ui/select-field/tft-crispr-forms-ui-select-field.mjs +5 -0
  66. package/esm2020/ui/selected-file/public-api.mjs +2 -0
  67. package/esm2020/ui/selected-file/selected-file.component.mjs +26 -0
  68. package/esm2020/ui/selected-file/tft-crispr-forms-ui-selected-file.mjs +5 -0
  69. package/esm2020/ui/slider-field/public-api.mjs +2 -0
  70. package/esm2020/ui/slider-field/slider-field.component.mjs +44 -0
  71. package/esm2020/ui/slider-field/tft-crispr-forms-ui-slider-field.mjs +5 -0
  72. package/esm2020/ui/textarea-field/public-api.mjs +2 -0
  73. package/esm2020/ui/textarea-field/textarea-field.component.mjs +42 -0
  74. package/esm2020/ui/textarea-field/tft-crispr-forms-ui-textarea-field.mjs +5 -0
  75. package/esm2020/ui/tft-crispr-forms-ui.mjs +5 -0
  76. package/esm2020/ui/unit-conversion-field/public-api.mjs +2 -0
  77. package/esm2020/ui/unit-conversion-field/tft-crispr-forms-ui-unit-conversion-field.mjs +5 -0
  78. package/esm2020/ui/unit-conversion-field/unit-conversion-field.component.mjs +84 -0
  79. package/esm2020/utils/abstracts/autocomplete-field.abstract.mjs +30 -0
  80. package/esm2020/utils/abstracts/crispr-control.mixin.mjs +27 -0
  81. package/esm2020/utils/abstracts/crispr-field.abstract.mjs +20 -0
  82. package/esm2020/utils/abstracts/index.mjs +4 -0
  83. package/esm2020/utils/functions/buildFormGroupFromConfig.mjs +28 -0
  84. package/esm2020/utils/functions/callOptionsIfFunction.mjs +4 -0
  85. package/esm2020/utils/functions/createControlForType.mjs +19 -0
  86. package/esm2020/utils/functions/filterOptionsByLabel.mjs +11 -0
  87. package/esm2020/utils/functions/image-compression.helpers.mjs +50 -0
  88. package/esm2020/utils/functions/index.mjs +8 -0
  89. package/esm2020/utils/functions/isControlConfig.mjs +7 -0
  90. package/esm2020/utils/functions/observablifyOptions.mjs +29 -0
  91. package/esm2020/utils/models/autocomplete-chiplist-field.config.mjs +2 -0
  92. package/esm2020/utils/models/autocomplete-field.config.mjs +2 -0
  93. package/esm2020/utils/models/button.config.mjs +2 -0
  94. package/esm2020/utils/models/checkbox-field.config.mjs +2 -0
  95. package/esm2020/utils/models/crispr-field.config.mjs +23 -0
  96. package/esm2020/utils/models/datepicker-field.config.mjs +2 -0
  97. package/esm2020/utils/models/divider.config.mjs +2 -0
  98. package/esm2020/utils/models/file-upload-field.config.mjs +2 -0
  99. package/esm2020/utils/models/form-group-list.config.mjs +2 -0
  100. package/esm2020/utils/models/heading.config.mjs +3 -0
  101. package/esm2020/utils/models/image-upload-field.config.mjs +2 -0
  102. package/esm2020/utils/models/index.mjs +18 -0
  103. package/esm2020/utils/models/input-field.config.mjs +2 -0
  104. package/esm2020/utils/models/radio-field.config.mjs +2 -0
  105. package/esm2020/utils/models/select-field.config.mjs +2 -0
  106. package/esm2020/utils/models/slider-field.config.mjs +2 -0
  107. package/esm2020/utils/models/textarea-field.config.mjs +2 -0
  108. package/esm2020/utils/models/unit-conversion-field.config.mjs +2 -0
  109. package/esm2020/utils/operators/form.operators.mjs +24 -0
  110. package/esm2020/utils/operators/index.mjs +2 -0
  111. package/esm2020/utils/public-api.mjs +5 -0
  112. package/esm2020/utils/tft-crispr-forms-utils.mjs +5 -0
  113. package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +138 -0
  114. package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +1 -0
  115. package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs +101 -0
  116. package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs.map +1 -0
  117. package/fesm2015/tft-crispr-forms-ui-button.mjs +55 -0
  118. package/fesm2015/tft-crispr-forms-ui-button.mjs.map +1 -0
  119. package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs +49 -0
  120. package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs.map +1 -0
  121. package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs +71 -0
  122. package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs.map +1 -0
  123. package/fesm2015/tft-crispr-forms-ui-divider.mjs +34 -0
  124. package/fesm2015/tft-crispr-forms-ui-divider.mjs.map +1 -0
  125. package/fesm2015/tft-crispr-forms-ui-field-container.mjs +64 -0
  126. package/fesm2015/tft-crispr-forms-ui-field-container.mjs.map +1 -0
  127. package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs +47 -0
  128. package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs.map +1 -0
  129. package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs +117 -0
  130. package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs.map +1 -0
  131. package/fesm2015/tft-crispr-forms-ui-heading.mjs +37 -0
  132. package/fesm2015/tft-crispr-forms-ui-heading.mjs.map +1 -0
  133. package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs +182 -0
  134. package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs.map +1 -0
  135. package/fesm2015/tft-crispr-forms-ui-info.mjs +30 -0
  136. package/fesm2015/tft-crispr-forms-ui-info.mjs.map +1 -0
  137. package/fesm2015/tft-crispr-forms-ui-input-field.mjs +48 -0
  138. package/fesm2015/tft-crispr-forms-ui-input-field.mjs.map +1 -0
  139. package/fesm2015/tft-crispr-forms-ui-option.mjs +26 -0
  140. package/fesm2015/tft-crispr-forms-ui-option.mjs.map +1 -0
  141. package/fesm2015/tft-crispr-forms-ui-radio-field.mjs +46 -0
  142. package/fesm2015/tft-crispr-forms-ui-radio-field.mjs.map +1 -0
  143. package/fesm2015/tft-crispr-forms-ui-select-field.mjs +81 -0
  144. package/fesm2015/tft-crispr-forms-ui-select-field.mjs.map +1 -0
  145. package/fesm2015/tft-crispr-forms-ui-selected-file.mjs +33 -0
  146. package/fesm2015/tft-crispr-forms-ui-selected-file.mjs.map +1 -0
  147. package/fesm2015/tft-crispr-forms-ui-slider-field.mjs +51 -0
  148. package/fesm2015/tft-crispr-forms-ui-slider-field.mjs.map +1 -0
  149. package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs +49 -0
  150. package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs.map +1 -0
  151. package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs +93 -0
  152. package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs.map +1 -0
  153. package/fesm2015/tft-crispr-forms-ui.mjs +12 -0
  154. package/fesm2015/tft-crispr-forms-ui.mjs.map +1 -0
  155. package/fesm2015/tft-crispr-forms-utils.mjs +270 -0
  156. package/fesm2015/tft-crispr-forms-utils.mjs.map +1 -0
  157. package/fesm2015/tft-crispr-forms.mjs +117 -1730
  158. package/fesm2015/tft-crispr-forms.mjs.map +1 -1
  159. package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +137 -0
  160. package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +1 -0
  161. package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs +100 -0
  162. package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs.map +1 -0
  163. package/fesm2020/tft-crispr-forms-ui-button.mjs +55 -0
  164. package/fesm2020/tft-crispr-forms-ui-button.mjs.map +1 -0
  165. package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs +49 -0
  166. package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs.map +1 -0
  167. package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs +70 -0
  168. package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs.map +1 -0
  169. package/fesm2020/tft-crispr-forms-ui-divider.mjs +34 -0
  170. package/fesm2020/tft-crispr-forms-ui-divider.mjs.map +1 -0
  171. package/fesm2020/tft-crispr-forms-ui-field-container.mjs +65 -0
  172. package/fesm2020/tft-crispr-forms-ui-field-container.mjs.map +1 -0
  173. package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs +47 -0
  174. package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs.map +1 -0
  175. package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs +115 -0
  176. package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs.map +1 -0
  177. package/fesm2020/tft-crispr-forms-ui-heading.mjs +37 -0
  178. package/fesm2020/tft-crispr-forms-ui-heading.mjs.map +1 -0
  179. package/fesm2020/tft-crispr-forms-ui-image-upload-field.mjs +185 -0
  180. package/fesm2020/tft-crispr-forms-ui-image-upload-field.mjs.map +1 -0
  181. package/fesm2020/tft-crispr-forms-ui-info.mjs +30 -0
  182. package/fesm2020/tft-crispr-forms-ui-info.mjs.map +1 -0
  183. package/fesm2020/tft-crispr-forms-ui-input-field.mjs +48 -0
  184. package/fesm2020/tft-crispr-forms-ui-input-field.mjs.map +1 -0
  185. package/fesm2020/tft-crispr-forms-ui-option.mjs +26 -0
  186. package/fesm2020/tft-crispr-forms-ui-option.mjs.map +1 -0
  187. package/fesm2020/tft-crispr-forms-ui-radio-field.mjs +46 -0
  188. package/fesm2020/tft-crispr-forms-ui-radio-field.mjs.map +1 -0
  189. package/fesm2020/tft-crispr-forms-ui-select-field.mjs +80 -0
  190. package/fesm2020/tft-crispr-forms-ui-select-field.mjs.map +1 -0
  191. package/fesm2020/tft-crispr-forms-ui-selected-file.mjs +33 -0
  192. package/fesm2020/tft-crispr-forms-ui-selected-file.mjs.map +1 -0
  193. package/fesm2020/tft-crispr-forms-ui-slider-field.mjs +51 -0
  194. package/fesm2020/tft-crispr-forms-ui-slider-field.mjs.map +1 -0
  195. package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs +49 -0
  196. package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs.map +1 -0
  197. package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs +91 -0
  198. package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs.map +1 -0
  199. package/fesm2020/tft-crispr-forms-ui.mjs +12 -0
  200. package/fesm2020/tft-crispr-forms-ui.mjs.map +1 -0
  201. package/fesm2020/tft-crispr-forms-utils.mjs +269 -0
  202. package/fesm2020/tft-crispr-forms-utils.mjs.map +1 -0
  203. package/fesm2020/tft-crispr-forms.mjs +117 -1723
  204. package/fesm2020/tft-crispr-forms.mjs.map +1 -1
  205. package/index.d.ts +5 -1
  206. package/package.json +188 -15
  207. package/public-api.d.ts +3 -0
  208. package/src/index.d.ts +1 -0
  209. package/src/lib/crispr-forms.module.d.ts +15 -0
  210. package/src/lib/field-component-map.const.d.ts +42 -0
  211. package/{lib → src/lib}/field.directive.d.ts +4 -10
  212. package/{lib → src/lib}/form/form.component.d.ts +3 -3
  213. package/{lib → src/lib}/form-group-list/form-group-list.component.d.ts +12 -14
  214. package/{lib → src/lib}/form-group-list/index.d.ts +0 -1
  215. package/{lib → src/lib}/pipes/crispr-pipes.module.d.ts +0 -0
  216. package/{lib → src/lib}/pipes/initial-control-value.pipe.d.ts +2 -2
  217. package/src/lib/public_api.d.ts +2 -0
  218. package/{lib → src/lib}/sub-group/index.d.ts +0 -0
  219. package/src/lib/sub-group/sub-group.component.d.ts +22 -0
  220. package/{lib → src/lib}/sub-group/sub-group.module.d.ts +2 -2
  221. package/tft-crispr-forms-14.0.0.tgz +0 -0
  222. package/ui/README.md +3 -0
  223. package/{lib/material → ui}/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts +2 -3
  224. package/ui/autocomplete-chiplist-field/index.d.ts +5 -0
  225. package/ui/autocomplete-chiplist-field/public-api.d.ts +1 -0
  226. package/{lib/material → ui}/autocomplete-field/autocomplete-field.component.d.ts +2 -3
  227. package/ui/autocomplete-field/index.d.ts +5 -0
  228. package/ui/autocomplete-field/public-api.d.ts +1 -0
  229. package/{lib/material → ui}/button/button.component.d.ts +2 -3
  230. package/ui/button/index.d.ts +5 -0
  231. package/ui/button/public-api.d.ts +1 -0
  232. package/ui/checkbox-field/checkbox-field.component.d.ts +21 -0
  233. package/ui/checkbox-field/index.d.ts +5 -0
  234. package/ui/checkbox-field/public-api.d.ts +1 -0
  235. package/{lib/material → ui}/datepicker-field/datepicker-field.component.d.ts +14 -17
  236. package/ui/datepicker-field/index.d.ts +5 -0
  237. package/ui/datepicker-field/public-api.d.ts +1 -0
  238. package/{lib/material → ui}/divider/divider.component.d.ts +2 -3
  239. package/ui/divider/index.d.ts +5 -0
  240. package/ui/divider/public-api.d.ts +1 -0
  241. package/{lib → ui}/field-container/field-container.component.d.ts +3 -10
  242. package/ui/field-container/index.d.ts +5 -0
  243. package/{lib/field-container/index.d.ts → ui/field-container/public-api.d.ts} +0 -0
  244. package/{lib/material/file-upload → ui/file-dropzone}/file-dropzone.directive.d.ts +1 -1
  245. package/ui/file-dropzone/index.d.ts +5 -0
  246. package/{lib/material/file-upload/index.d.ts → ui/file-dropzone/public-api.d.ts} +0 -1
  247. package/ui/file-upload-field/file-upload-field.component.d.ts +37 -0
  248. package/ui/file-upload-field/index.d.ts +5 -0
  249. package/ui/file-upload-field/public-api.d.ts +1 -0
  250. package/ui/heading/heading.component.d.ts +8 -0
  251. package/ui/heading/index.d.ts +5 -0
  252. package/ui/heading/public-api.d.ts +1 -0
  253. package/ui/image-upload-field/image-upload-field.component.d.ts +48 -0
  254. package/ui/image-upload-field/index.d.ts +5 -0
  255. package/{lib/material/image-upload-field/index.d.ts → ui/image-upload-field/public-api.d.ts} +0 -0
  256. package/ui/index.d.ts +5 -0
  257. package/ui/info/index.d.ts +5 -0
  258. package/ui/info/info.component.d.ts +7 -0
  259. package/ui/info/public-api.d.ts +1 -0
  260. package/ui/input-field/index.d.ts +5 -0
  261. package/ui/input-field/input-field.component.d.ts +22 -0
  262. package/ui/input-field/public-api.d.ts +1 -0
  263. package/ui/option/index.d.ts +5 -0
  264. package/{lib/material → ui}/option/option.component.d.ts +2 -2
  265. package/{lib/material/option/index.d.ts → ui/option/public-api.d.ts} +0 -0
  266. package/ui/public-api.d.ts +5 -0
  267. package/ui/radio-field/index.d.ts +5 -0
  268. package/ui/radio-field/public-api.d.ts +1 -0
  269. package/ui/radio-field/radio-field.component.d.ts +23 -0
  270. package/ui/select-field/index.d.ts +5 -0
  271. package/ui/select-field/public-api.d.ts +1 -0
  272. package/{lib/material → ui}/select-field/select-field.component.d.ts +12 -14
  273. package/ui/selected-file/index.d.ts +5 -0
  274. package/ui/selected-file/public-api.d.ts +1 -0
  275. package/ui/selected-file/selected-file.component.d.ts +10 -0
  276. package/ui/slider-field/index.d.ts +5 -0
  277. package/ui/slider-field/public-api.d.ts +1 -0
  278. package/ui/slider-field/slider-field.component.d.ts +25 -0
  279. package/ui/textarea-field/index.d.ts +5 -0
  280. package/ui/textarea-field/public-api.d.ts +1 -0
  281. package/ui/textarea-field/textarea-field.component.d.ts +21 -0
  282. package/ui/unit-conversion-field/index.d.ts +5 -0
  283. package/ui/unit-conversion-field/public-api.d.ts +1 -0
  284. package/{lib/material → ui}/unit-conversion-field/unit-conversion-field.component.d.ts +14 -17
  285. package/utils/README.md +3 -0
  286. package/{lib → utils}/abstracts/autocomplete-field.abstract.d.ts +4 -4
  287. package/{lib → utils}/abstracts/crispr-control.mixin.d.ts +0 -0
  288. package/{lib → utils}/abstracts/crispr-field.abstract.d.ts +1 -1
  289. package/{lib → utils}/abstracts/index.d.ts +0 -0
  290. package/utils/functions/buildFormGroupFromConfig.d.ts +9 -0
  291. package/utils/functions/callOptionsIfFunction.d.ts +3 -0
  292. package/utils/functions/createControlForType.d.ts +9 -0
  293. package/utils/functions/filterOptionsByLabel.d.ts +7 -0
  294. package/utils/functions/image-compression.helpers.d.ts +5 -0
  295. package/utils/functions/index.d.ts +7 -0
  296. package/utils/functions/isControlConfig.d.ts +5 -0
  297. package/utils/functions/observablifyOptions.d.ts +12 -0
  298. package/utils/index.d.ts +5 -0
  299. package/{lib → utils}/models/autocomplete-chiplist-field.config.d.ts +2 -1
  300. package/{lib → utils}/models/autocomplete-field.config.d.ts +1 -2
  301. package/{lib → utils}/models/button.config.d.ts +0 -0
  302. package/{lib → utils}/models/checkbox-field.config.d.ts +1 -2
  303. package/{lib → utils}/models/crispr-field.config.d.ts +5 -7
  304. package/{lib → utils}/models/datepicker-field.config.d.ts +4 -6
  305. package/{lib → utils}/models/divider.config.d.ts +1 -1
  306. package/{lib → utils}/models/file-upload-field.config.d.ts +9 -4
  307. package/{lib → utils}/models/form-group-list.config.d.ts +1 -2
  308. package/{lib → utils}/models/heading.config.d.ts +1 -2
  309. package/{lib → utils}/models/image-upload-field.config.d.ts +2 -1
  310. package/{lib → utils}/models/index.d.ts +0 -0
  311. package/{lib → utils}/models/input-field.config.d.ts +1 -2
  312. package/{lib → utils}/models/radio-field.config.d.ts +0 -0
  313. package/{lib → utils}/models/select-field.config.d.ts +1 -2
  314. package/{lib → utils}/models/slider-field.config.d.ts +1 -2
  315. package/{lib → utils}/models/textarea-field.config.d.ts +1 -2
  316. package/{lib → utils}/models/unit-conversion-field.config.d.ts +1 -2
  317. package/{lib → utils/operators}/form.operators.d.ts +0 -0
  318. package/utils/operators/index.d.ts +1 -0
  319. package/utils/public-api.d.ts +4 -0
  320. package/esm2020/index.mjs +0 -2
  321. package/esm2020/lib/abstracts/autocomplete-field.abstract.mjs +0 -30
  322. package/esm2020/lib/abstracts/crispr-control.mixin.mjs +0 -27
  323. package/esm2020/lib/abstracts/crispr-field.abstract.mjs +0 -17
  324. package/esm2020/lib/abstracts/index.mjs +0 -4
  325. package/esm2020/lib/crispr-forms.module.mjs +0 -66
  326. package/esm2020/lib/field-component-map.const.mjs +0 -28
  327. package/esm2020/lib/field-container/field-container.component.mjs +0 -85
  328. package/esm2020/lib/field-container/index.mjs +0 -2
  329. package/esm2020/lib/field.directive.mjs +0 -90
  330. package/esm2020/lib/form/form.component.mjs +0 -53
  331. package/esm2020/lib/form-group-list/form-group-list.component.mjs +0 -77
  332. package/esm2020/lib/form-group-list/form-group-list.module.mjs +0 -54
  333. package/esm2020/lib/form-group-list/index.mjs +0 -3
  334. package/esm2020/lib/form.helpers.mjs +0 -190
  335. package/esm2020/lib/form.operators.mjs +0 -24
  336. package/esm2020/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +0 -111
  337. package/esm2020/lib/material/autocomplete-field/autocomplete-field.component.mjs +0 -78
  338. package/esm2020/lib/material/button/button.component.mjs +0 -35
  339. package/esm2020/lib/material/checkbox-field/checkbox-field.component.mjs +0 -31
  340. package/esm2020/lib/material/datepicker-field/datepicker-field.component.mjs +0 -45
  341. package/esm2020/lib/material/divider/divider.component.mjs +0 -22
  342. package/esm2020/lib/material/file-upload/file-dropzone.directive.mjs +0 -39
  343. package/esm2020/lib/material/file-upload/file-upload.component.mjs +0 -145
  344. package/esm2020/lib/material/file-upload/index.mjs +0 -3
  345. package/esm2020/lib/material/heading/heading.component.mjs +0 -54
  346. package/esm2020/lib/material/image-upload-field/image-compression.helpers.mjs +0 -4
  347. package/esm2020/lib/material/image-upload-field/image-upload-field.component.mjs +0 -265
  348. package/esm2020/lib/material/image-upload-field/index.mjs +0 -2
  349. package/esm2020/lib/material/index.mjs +0 -18
  350. package/esm2020/lib/material/info/info.component.mjs +0 -46
  351. package/esm2020/lib/material/input-field/input-field.component.mjs +0 -27
  352. package/esm2020/lib/material/material.module.mjs +0 -200
  353. package/esm2020/lib/material/option/index.mjs +0 -2
  354. package/esm2020/lib/material/option/option.component.mjs +0 -15
  355. package/esm2020/lib/material/radio-field/radio-field.component.mjs +0 -29
  356. package/esm2020/lib/material/select-field/select-field.component.mjs +0 -58
  357. package/esm2020/lib/material/selected-file/selected-file.component.mjs +0 -47
  358. package/esm2020/lib/material/slider-field/slider-field.component.mjs +0 -30
  359. package/esm2020/lib/material/textarea-field/textarea-field.component.mjs +0 -28
  360. package/esm2020/lib/material/unit-conversion-field/unit-conversion-field.component.mjs +0 -69
  361. package/esm2020/lib/models/autocomplete-chiplist-field.config.mjs +0 -2
  362. package/esm2020/lib/models/autocomplete-field.config.mjs +0 -2
  363. package/esm2020/lib/models/button.config.mjs +0 -2
  364. package/esm2020/lib/models/checkbox-field.config.mjs +0 -2
  365. package/esm2020/lib/models/crispr-field.config.mjs +0 -23
  366. package/esm2020/lib/models/datepicker-field.config.mjs +0 -2
  367. package/esm2020/lib/models/divider.config.mjs +0 -2
  368. package/esm2020/lib/models/file-upload-field.config.mjs +0 -2
  369. package/esm2020/lib/models/form-group-list.config.mjs +0 -2
  370. package/esm2020/lib/models/heading.config.mjs +0 -3
  371. package/esm2020/lib/models/image-upload-field.config.mjs +0 -2
  372. package/esm2020/lib/models/index.mjs +0 -18
  373. package/esm2020/lib/models/input-field.config.mjs +0 -2
  374. package/esm2020/lib/models/radio-field.config.mjs +0 -2
  375. package/esm2020/lib/models/select-field.config.mjs +0 -2
  376. package/esm2020/lib/models/slider-field.config.mjs +0 -2
  377. package/esm2020/lib/models/textarea-field.config.mjs +0 -2
  378. package/esm2020/lib/models/unit-conversion-field.config.mjs +0 -2
  379. package/esm2020/lib/pipes/crispr-pipes.module.mjs +0 -26
  380. package/esm2020/lib/pipes/initial-control-value.pipe.mjs +0 -20
  381. package/esm2020/lib/public_api.mjs +0 -10
  382. package/esm2020/lib/sub-group/index.mjs +0 -3
  383. package/esm2020/lib/sub-group/sub-group.component.mjs +0 -20
  384. package/esm2020/lib/sub-group/sub-group.module.mjs +0 -45
  385. package/lib/crispr-forms.module.d.ts +0 -16
  386. package/lib/field-component-map.const.d.ts +0 -28
  387. package/lib/form-group-list/form-group-list.module.d.ts +0 -15
  388. package/lib/form.helpers.d.ts +0 -88
  389. package/lib/material/checkbox-field/checkbox-field.component.d.ts +0 -23
  390. package/lib/material/file-upload/file-upload.component.d.ts +0 -54
  391. package/lib/material/heading/heading.component.d.ts +0 -17
  392. package/lib/material/image-upload-field/image-compression.helpers.d.ts +0 -1
  393. package/lib/material/image-upload-field/image-upload-field.component.d.ts +0 -68
  394. package/lib/material/index.d.ts +0 -17
  395. package/lib/material/info/info.component.d.ts +0 -15
  396. package/lib/material/input-field/input-field.component.d.ts +0 -24
  397. package/lib/material/material.module.d.ts +0 -44
  398. package/lib/material/radio-field/radio-field.component.d.ts +0 -26
  399. package/lib/material/selected-file/selected-file.component.d.ts +0 -17
  400. package/lib/material/slider-field/slider-field.component.d.ts +0 -27
  401. package/lib/material/textarea-field/textarea-field.component.d.ts +0 -24
  402. package/lib/public_api.d.ts +0 -9
  403. package/lib/sub-group/sub-group.component.d.ts +0 -24
  404. package/tft-crispr-forms-13.0.23.tgz +0 -0
  405. package/tft-crispr-forms.d.ts +0 -5
@@ -1,33 +1,30 @@
1
1
  import { OnInit, AfterContentInit } from '@angular/core';
2
- import { DatepickerFieldConfig } from '../../models';
3
2
  import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
4
- import { Moment } from 'moment';
5
3
  import { Observable } from 'rxjs';
6
4
  import { Portal } from '@angular/cdk/portal';
5
+ import { DatepickerFieldConfig } from '@tft/crispr-forms/utils';
7
6
  import * as i0 from "@angular/core";
8
- declare const DatepickerFieldMixin: {
9
- new (): {
10
- config: DatepickerFieldConfig;
11
- group: import("@angular/forms").FormGroup;
12
- control: import("@angular/forms").AbstractControl;
13
- _value: any;
14
- value: any;
15
- ngOnInit(): void;
16
- setControlValue(value: any): void;
17
- defaultConfig?: Partial<DatepickerFieldConfig>;
18
- applyDefaultConfig(): void;
19
- };
7
+ declare const DatepickerFieldMixin: new () => {
8
+ config: DatepickerFieldConfig;
9
+ group: import("@angular/forms").FormGroup<any>;
10
+ control: import("@angular/forms").AbstractControl<any, any>;
11
+ _value: any;
12
+ value: any;
13
+ ngOnInit(): void;
14
+ setControlValue(value: any): void;
15
+ defaultConfig?: Partial<DatepickerFieldConfig>;
16
+ applyDefaultConfig(): void;
20
17
  };
21
18
  export declare class DatepickerFieldComponent extends DatepickerFieldMixin implements OnInit, AfterContentInit {
22
19
  defaultConfig: Partial<DatepickerFieldConfig>;
23
- dateClass: MatCalendarCellClassFunction<Moment>;
24
- dateClass$: Observable<MatCalendarCellClassFunction<Moment>>;
20
+ dateClass: MatCalendarCellClassFunction<Date>;
21
+ dateClass$: Observable<MatCalendarCellClassFunction<Date>>;
25
22
  startAt$: Observable<Date>;
26
23
  /** A portal containing the footer component type for this calendar. */
27
24
  calendarFooterPortal: Portal<any>;
28
25
  ngOnInit(): void;
29
26
  ngAfterContentInit(): void;
30
27
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never, true>;
32
29
  }
33
30
  export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/datepicker-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './datepicker-field.component';
@@ -1,10 +1,9 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DividerConfig } from '../../models';
3
- import { CrisprFieldComponent } from '../../abstracts';
2
+ import { CrisprFieldComponent, DividerConfig } from '@tft/crispr-forms/utils';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class DividerComponent extends CrisprFieldComponent<DividerConfig> implements OnInit {
6
5
  defaultConfig: {};
7
6
  ngOnInit(): void;
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never, true>;
10
9
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/divider" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './divider.component';
@@ -1,10 +1,8 @@
1
1
  import { OnInit, OnDestroy } from '@angular/core';
2
- import type { CrisprControlConfig } from '../models';
3
2
  import { Observable, Subscription } from 'rxjs';
4
3
  import { FormGroup } from '@angular/forms';
4
+ import type { CrisprControlConfig } from '@tft/crispr-forms/utils';
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "../material/heading/heading.component";
8
6
  export declare class FieldContainerComponent implements OnInit, OnDestroy {
9
7
  config: CrisprControlConfig;
10
8
  group: FormGroup;
@@ -15,17 +13,12 @@ export declare class FieldContainerComponent implements OnInit, OnDestroy {
15
13
  ngOnDestroy(): void;
16
14
  /**
17
15
  * Connects user defined disabledCallback function to the the view, so that the control is enabled/disabled
18
- * appropriately. It also keeps the form will hide disabled fields in the UI unless `hideDisabled` is set to
16
+ * appropriately. It also will hide disabled fields in the UI unless `hideDisabled` is set to
19
17
  * false in the controls config
20
18
  * @param group used to get valueChanges from control
21
19
  * @param config configuration object used to
22
20
  */
23
21
  connectDisabledCallback(group: FormGroup, config?: CrisprControlConfig): Observable<boolean>;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldContainerComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<FieldContainerComponent, "crispr-field-container", never, { "config": "config"; "group": "group"; "inlineField": "inlineField"; }, {}, never, ["*"]>;
26
- }
27
- export declare class FieldContainerModule {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<FieldContainerModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<FieldContainerModule, [typeof FieldContainerComponent], [typeof i1.CommonModule, typeof i2.HeadingModule], [typeof FieldContainerComponent]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<FieldContainerModule>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldContainerComponent, "crispr-field-container", never, { "config": "config"; "group": "group"; "inlineField": "inlineField"; }, {}, never, ["*"], true>;
31
24
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/field-container" />
5
+ export * from './public-api';
@@ -6,5 +6,5 @@ export declare class FileDropzoneDirective {
6
6
  onDrop($event: DragEvent): void;
7
7
  onDragOver($event: DragEvent): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FileDropzoneDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<FileDropzoneDirective, "[crisprFileDropzone]", never, { "crisprFileDropzone": "crisprFileDropzone"; }, { "fileDrop": "fileDrop"; }, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileDropzoneDirective, "[crisprFileDropzone]", never, { "crisprFileDropzone": "crisprFileDropzone"; }, { "fileDrop": "fileDrop"; }, never, never, true>;
10
10
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/file-dropzone" />
5
+ export * from './public-api';
@@ -1,2 +1 @@
1
1
  export * from './file-dropzone.directive';
2
- export * from './file-upload.component';
@@ -0,0 +1,37 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { FileUploadFieldConfig } from '@tft/crispr-forms/utils';
5
+ import * as i0 from "@angular/core";
6
+ declare const FileUploadFieldMixin: new () => {
7
+ config: FileUploadFieldConfig;
8
+ group: import("@angular/forms").FormGroup<any>;
9
+ control: import("@angular/forms").AbstractControl<any, any>;
10
+ _value: any;
11
+ value: any;
12
+ ngOnInit(): void;
13
+ setControlValue(value: any): void;
14
+ defaultConfig?: Partial<FileUploadFieldConfig>;
15
+ applyDefaultConfig(): void;
16
+ };
17
+ export declare class FileUploadFieldComponent extends FileUploadFieldMixin implements OnInit, ControlValueAccessor {
18
+ ngControl: NgControl;
19
+ onChange: () => void;
20
+ defaultConfig: Partial<FileUploadFieldConfig>;
21
+ fileInputRef: ElementRef;
22
+ selectedFiles: FileList;
23
+ isUploaded: boolean;
24
+ fileProgress: Observable<number>[];
25
+ disabled$: Observable<boolean>;
26
+ constructor(ngControl: NgControl);
27
+ ngOnInit(): void;
28
+ filesChanged(files: FileList): void;
29
+ uploadFiles(): void;
30
+ resetFileInput(): void;
31
+ writeValue(value: null): void;
32
+ registerOnChange(fn: () => void): void;
33
+ registerOnTouched(fn: () => void): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldComponent, [{ optional: true; self: true; }]>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "crispr-file-upload-field", never, {}, {}, never, never, true>;
36
+ }
37
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/file-upload-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './file-upload-field.component';
@@ -0,0 +1,8 @@
1
+ import { CrisprFieldComponent, HeadingConfig } from '@tft/crispr-forms/utils';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HeadingComponent extends CrisprFieldComponent<HeadingConfig> {
4
+ config: HeadingConfig;
5
+ defaultConfig: Partial<HeadingConfig>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeadingComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadingComponent, "crispr-heading", never, { "config": "config"; }, {}, never, never, true>;
8
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/heading" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './heading.component';
@@ -0,0 +1,48 @@
1
+ import { ElementRef, OnInit, ChangeDetectorRef } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import { Observable } from 'rxjs';
5
+ import { ImageUploadFieldConfig } from '@tft/crispr-forms/utils';
6
+ import * as i0 from "@angular/core";
7
+ declare const ImageUploadFieldMixin: new () => {
8
+ config: ImageUploadFieldConfig;
9
+ group: import("@angular/forms").FormGroup<any>;
10
+ control: import("@angular/forms").AbstractControl<any, any>;
11
+ _value: any;
12
+ value: any;
13
+ ngOnInit(): void;
14
+ setControlValue(value: any): void;
15
+ defaultConfig?: Partial<ImageUploadFieldConfig>;
16
+ applyDefaultConfig(): void;
17
+ };
18
+ export declare class ImageUploadFieldComponent extends ImageUploadFieldMixin implements OnInit, ControlValueAccessor {
19
+ ngControl: NgControl;
20
+ private domSanitizer;
21
+ private cdr;
22
+ onChange: () => void;
23
+ defaultConfig: Partial<ImageUploadFieldConfig>;
24
+ private inputImageFileSubject;
25
+ inputImageFile$: Observable<File>;
26
+ /**
27
+ * the compression progress
28
+ */
29
+ progress: number | undefined;
30
+ compressedFile$: Observable<File>;
31
+ compressedImageUrlString$: Observable<string | null>;
32
+ imageSrcUrl$: Observable<string | null>;
33
+ fileInputRef: ElementRef;
34
+ selectedFiles: FileList;
35
+ isUploaded: boolean;
36
+ disabled$: Observable<boolean>;
37
+ constructor(ngControl: NgControl, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef);
38
+ ngOnInit(): void;
39
+ filesChanged(files: FileList): void;
40
+ clearFileInput(): void;
41
+ resetToInitialValue(initialValue: string): void;
42
+ writeValue(value: null): void;
43
+ registerOnChange(fn: () => void): void;
44
+ registerOnTouched(fn: () => void): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploadFieldComponent, [{ optional: true; self: true; }, null, null]>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploadFieldComponent, "crispr-image-upload-field", never, {}, {}, never, never, true>;
47
+ }
48
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/image-upload-field" />
5
+ export * from './public-api';
package/ui/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui" />
5
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/info" />
5
+ export * from './public-api';
@@ -0,0 +1,7 @@
1
+ import type { Info } from '@tft/crispr-forms/utils';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoComponent {
4
+ info: Info;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "crispr-info", never, { "info": "info"; }, {}, never, never, true>;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './info.component';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/input-field" />
5
+ export * from './public-api';
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputFieldConfig } from '@tft/crispr-forms/utils';
3
+ import * as i0 from "@angular/core";
4
+ declare const InputFieldMixin: new () => {
5
+ config: InputFieldConfig;
6
+ group: import("@angular/forms").FormGroup<any>;
7
+ control: import("@angular/forms").AbstractControl<any, any>;
8
+ _value: any;
9
+ value: any;
10
+ ngOnInit(): void;
11
+ setControlValue(value: any): void;
12
+ defaultConfig?: Partial<InputFieldConfig>;
13
+ applyDefaultConfig(): void;
14
+ };
15
+ export declare class InputFieldComponent extends InputFieldMixin implements OnInit {
16
+ defaultConfig: Partial<InputFieldConfig>;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldComponent, "crispr-input-field", never, {}, {}, never, never, true>;
21
+ }
22
+ export {};
@@ -0,0 +1 @@
1
+ export * from './input-field.component';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/option" />
5
+ export * from './public-api';
@@ -1,7 +1,7 @@
1
- import { SelectOption } from '../../models';
1
+ import { SelectOption } from '@tft/crispr-forms/utils';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class OptionComponent {
4
4
  option: SelectOption;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "crispr-option", never, { "option": "option"; }, {}, never, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "crispr-option", never, { "option": "option"; }, {}, never, never, true>;
7
7
  }
@@ -0,0 +1,5 @@
1
+ export * from '@tft/crispr-forms/ui/file-dropzone';
2
+ export * from '@tft/crispr-forms/ui/selected-file';
3
+ export * from '@tft/crispr-forms/ui/field-container';
4
+ export * from '@tft/crispr-forms/ui/heading';
5
+ export * from '@tft/crispr-forms/ui/info';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/radio-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './radio-field.component';
@@ -0,0 +1,23 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { RadioFieldConfig, SelectOption } from '@tft/crispr-forms/utils';
4
+ import * as i0 from "@angular/core";
5
+ declare const RadioFieldMixin: new () => {
6
+ config: RadioFieldConfig;
7
+ group: import("@angular/forms").FormGroup<any>;
8
+ control: import("@angular/forms").AbstractControl<any, any>;
9
+ _value: any;
10
+ value: any;
11
+ ngOnInit(): void;
12
+ setControlValue(value: any): void;
13
+ defaultConfig?: Partial<RadioFieldConfig>;
14
+ applyDefaultConfig(): void;
15
+ };
16
+ export declare class RadioFieldComponent extends RadioFieldMixin implements OnInit {
17
+ defaultConfig: {};
18
+ options$: Observable<SelectOption[]>;
19
+ ngOnInit(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioFieldComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioFieldComponent, "crispr-radio-field", never, {}, {}, never, never, true>;
22
+ }
23
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/select-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './select-field.component';
@@ -1,21 +1,19 @@
1
1
  import { OnInit, AfterViewInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { SelectFieldConfig, SelectOption } from '../../models';
4
3
  import { MatSelect } from '@angular/material/select';
5
4
  import { ThemePalette } from '@angular/material/core';
5
+ import { SelectFieldConfig, SelectOption } from '@tft/crispr-forms/utils';
6
6
  import * as i0 from "@angular/core";
7
- declare const SelectFieldMixin: {
8
- new (): {
9
- config: SelectFieldConfig;
10
- group: import("@angular/forms").FormGroup;
11
- control: import("@angular/forms").AbstractControl;
12
- _value: any;
13
- value: any;
14
- ngOnInit(): void;
15
- setControlValue(value: any): void;
16
- defaultConfig?: Partial<SelectFieldConfig>;
17
- applyDefaultConfig(): void;
18
- };
7
+ declare const SelectFieldMixin: new () => {
8
+ config: SelectFieldConfig;
9
+ group: import("@angular/forms").FormGroup<any>;
10
+ control: import("@angular/forms").AbstractControl<any, any>;
11
+ _value: any;
12
+ value: any;
13
+ ngOnInit(): void;
14
+ setControlValue(value: any): void;
15
+ defaultConfig?: Partial<SelectFieldConfig>;
16
+ applyDefaultConfig(): void;
19
17
  };
20
18
  export declare class SelectFieldComponent extends SelectFieldMixin implements OnInit, AfterViewInit {
21
19
  defaultConfig: {
@@ -29,6 +27,6 @@ export declare class SelectFieldComponent extends SelectFieldMixin implements On
29
27
  ngAfterViewInit(): void;
30
28
  toggleAll(isSelected: boolean): void;
31
29
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "crispr-select-field", never, {}, {}, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "crispr-select-field", never, {}, {}, never, never, true>;
33
31
  }
34
32
  export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/selected-file" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './selected-file.component';
@@ -0,0 +1,10 @@
1
+ import { ThemePalette } from '@angular/material/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SelectedFileComponent {
4
+ fileName: string;
5
+ progress: number;
6
+ showProgress: boolean;
7
+ color: ThemePalette;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectedFileComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectedFileComponent, "crispr-selected-file", never, { "fileName": "fileName"; "progress": "progress"; "showProgress": "showProgress"; "color": "color"; }, {}, never, never, true>;
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/slider-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './slider-field.component';
@@ -0,0 +1,25 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SliderFieldConfig } from '@tft/crispr-forms/utils';
3
+ import * as i0 from "@angular/core";
4
+ declare const SliderFieldMixin: new () => {
5
+ config: SliderFieldConfig;
6
+ group: import("@angular/forms").FormGroup<any>;
7
+ control: import("@angular/forms").AbstractControl<any, any>;
8
+ _value: any;
9
+ value: any;
10
+ ngOnInit(): void;
11
+ setControlValue(value: any): void;
12
+ defaultConfig?: Partial<SliderFieldConfig>;
13
+ applyDefaultConfig(): void;
14
+ };
15
+ export declare class SliderFieldComponent extends SliderFieldMixin implements OnInit {
16
+ defaultConfig: {
17
+ displayLimits: boolean;
18
+ };
19
+ constructor();
20
+ get flexDirection(): "column" | "row";
21
+ ngOnInit(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderFieldComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderFieldComponent, "crispr-slider-field", never, {}, {}, never, never, true>;
24
+ }
25
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/textarea-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './textarea-field.component';
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TextareaFieldConfig } from '@tft/crispr-forms/utils';
3
+ import * as i0 from "@angular/core";
4
+ declare const TextareaFieldMixin: new () => {
5
+ config: TextareaFieldConfig;
6
+ group: import("@angular/forms").FormGroup<any>;
7
+ control: import("@angular/forms").AbstractControl<any, any>;
8
+ _value: any;
9
+ value: any;
10
+ ngOnInit(): void;
11
+ setControlValue(value: any): void;
12
+ defaultConfig?: Partial<TextareaFieldConfig>;
13
+ applyDefaultConfig(): void;
14
+ };
15
+ export declare class TextareaFieldComponent extends TextareaFieldMixin implements OnInit {
16
+ defaultConfig: Partial<TextareaFieldConfig>;
17
+ ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaFieldComponent, "crispr-textarea-field", never, {}, {}, never, never, true>;
20
+ }
21
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tft/crispr-forms/ui/unit-conversion-field" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './unit-conversion-field.component';
@@ -1,26 +1,23 @@
1
1
  import { OnInit, OnDestroy } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { Observable, Subscription } from 'rxjs';
4
- import { SelectOption } from '../../models';
5
- import { UnitConversionFieldConfig } from '../../models/unit-conversion-field.config';
4
+ import { SelectOption, UnitConversionFieldConfig } from '@tft/crispr-forms/utils';
6
5
  import * as i0 from "@angular/core";
7
- declare const UnitConversionFieldMixin: {
8
- new (): {
9
- config: UnitConversionFieldConfig<unknown, unknown>;
10
- group: import("@angular/forms").FormGroup;
11
- control: import("@angular/forms").AbstractControl;
12
- _value: any;
13
- value: any;
14
- ngOnInit(): void;
15
- setControlValue(value: any): void;
16
- defaultConfig?: Partial<UnitConversionFieldConfig<unknown, unknown>>;
17
- applyDefaultConfig(): void;
18
- };
6
+ declare const UnitConversionFieldMixin: new () => {
7
+ config: UnitConversionFieldConfig<unknown, unknown>;
8
+ group: import("@angular/forms").FormGroup<any>;
9
+ control: import("@angular/forms").AbstractControl<any, any>;
10
+ _value: any;
11
+ value: any;
12
+ ngOnInit(): void;
13
+ setControlValue(value: any): void;
14
+ defaultConfig?: Partial<UnitConversionFieldConfig<unknown, unknown>>;
15
+ applyDefaultConfig(): void;
19
16
  };
20
17
  export declare class UnitConversionFieldComponent extends UnitConversionFieldMixin implements OnInit, OnDestroy {
21
18
  defaultConfig: Partial<UnitConversionFieldConfig<unknown, unknown>>;
22
- displayValueControl: FormControl;
23
- unitSelectControl: FormControl;
19
+ displayValueControl: FormControl<any>;
20
+ unitSelectControl: FormControl<any>;
24
21
  unitOptions$: Observable<SelectOption[]>;
25
22
  transformationSubscription: Subscription;
26
23
  ngOnInit(): void;
@@ -34,6 +31,6 @@ export declare class UnitConversionFieldComponent extends UnitConversionFieldMix
34
31
  */
35
32
  setControlValue(value: any): void;
36
33
  static ɵfac: i0.ɵɵFactoryDeclaration<UnitConversionFieldComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<UnitConversionFieldComponent, "crispr-unit-conversion-field", never, {}, {}, never, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnitConversionFieldComponent, "crispr-unit-conversion-field", never, {}, {}, never, never, true>;
38
35
  }
39
36
  export {};
@@ -0,0 +1,3 @@
1
+ # @tft/crispr-forms/utils
2
+
3
+ Secondary entry point of `@tft/crispr-forms`. It can be used by importing from `@tft/crispr-forms/utils`.