@tft/crispr-forms 14.0.1-rc.0 → 14.0.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 (407) hide show
  1. package/esm2020/public-api.mjs +5 -0
  2. package/esm2020/src/index.mjs +2 -0
  3. package/esm2020/src/lib/crispr-forms.module.mjs +57 -0
  4. package/esm2020/src/lib/field-component-map.const.mjs +27 -0
  5. package/esm2020/src/lib/field.directive.mjs +69 -0
  6. package/esm2020/src/lib/form/form.component.mjs +63 -0
  7. package/esm2020/src/lib/form-group-list/form-group-list.component.mjs +93 -0
  8. package/esm2020/src/lib/form-group-list/index.mjs +2 -0
  9. package/esm2020/{lib → src/lib}/pipes/crispr-pipes.module.mjs +1 -1
  10. package/esm2020/src/lib/pipes/initial-control-value.pipe.mjs +21 -0
  11. package/esm2020/src/lib/public_api.mjs +3 -0
  12. package/esm2020/src/lib/sub-group/index.mjs +3 -0
  13. package/esm2020/src/lib/sub-group/sub-group.component.mjs +21 -0
  14. package/esm2020/src/lib/sub-group/sub-group.module.mjs +42 -0
  15. package/esm2020/tft-crispr-forms.mjs +2 -2
  16. package/esm2020/ui/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +130 -0
  17. package/esm2020/ui/autocomplete-chiplist-field/public-api.mjs +2 -0
  18. package/esm2020/ui/autocomplete-chiplist-field/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +5 -0
  19. package/esm2020/ui/autocomplete-field/autocomplete-field.component.mjs +93 -0
  20. package/esm2020/ui/autocomplete-field/public-api.mjs +2 -0
  21. package/esm2020/ui/autocomplete-field/tft-crispr-forms-ui-autocomplete-field.mjs +5 -0
  22. package/esm2020/ui/button/button.component.mjs +49 -0
  23. package/esm2020/ui/button/public-api.mjs +2 -0
  24. package/esm2020/ui/button/tft-crispr-forms-ui-button.mjs +5 -0
  25. package/esm2020/ui/checkbox-field/checkbox-field.component.mjs +42 -0
  26. package/esm2020/ui/checkbox-field/public-api.mjs +2 -0
  27. package/esm2020/ui/checkbox-field/tft-crispr-forms-ui-checkbox-field.mjs +5 -0
  28. package/esm2020/ui/datepicker-field/datepicker-field.component.mjs +63 -0
  29. package/esm2020/ui/datepicker-field/public-api.mjs +2 -0
  30. package/esm2020/ui/datepicker-field/tft-crispr-forms-ui-datepicker-field.mjs +5 -0
  31. package/esm2020/ui/divider/divider.component.mjs +28 -0
  32. package/esm2020/ui/divider/public-api.mjs +2 -0
  33. package/esm2020/ui/divider/tft-crispr-forms-ui-divider.mjs +5 -0
  34. package/esm2020/ui/field-container/field-container.component.mjs +58 -0
  35. package/esm2020/ui/field-container/public-api.mjs +2 -0
  36. package/esm2020/ui/field-container/tft-crispr-forms-ui-field-container.mjs +5 -0
  37. package/esm2020/ui/file-dropzone/file-dropzone.directive.mjs +40 -0
  38. package/esm2020/ui/file-dropzone/public-api.mjs +2 -0
  39. package/esm2020/ui/file-dropzone/tft-crispr-forms-ui-file-dropzone.mjs +5 -0
  40. package/esm2020/ui/file-upload-field/file-upload-field.component.mjs +108 -0
  41. package/esm2020/ui/file-upload-field/public-api.mjs +2 -0
  42. package/esm2020/ui/file-upload-field/tft-crispr-forms-ui-file-upload-field.mjs +5 -0
  43. package/esm2020/ui/heading/heading.component.mjs +31 -0
  44. package/esm2020/ui/heading/public-api.mjs +2 -0
  45. package/esm2020/ui/heading/tft-crispr-forms-ui-heading.mjs +5 -0
  46. package/esm2020/ui/image-upload-field/image-upload-field.component.mjs +179 -0
  47. package/esm2020/ui/image-upload-field/public-api.mjs +2 -0
  48. package/esm2020/ui/image-upload-field/tft-crispr-forms-ui-image-upload-field.mjs +5 -0
  49. package/esm2020/ui/info/info.component.mjs +23 -0
  50. package/esm2020/ui/info/public-api.mjs +2 -0
  51. package/esm2020/ui/info/tft-crispr-forms-ui-info.mjs +5 -0
  52. package/esm2020/ui/input-field/input-field.component.mjs +41 -0
  53. package/esm2020/ui/input-field/public-api.mjs +2 -0
  54. package/esm2020/ui/input-field/tft-crispr-forms-ui-input-field.mjs +5 -0
  55. package/esm2020/ui/option/option.component.mjs +19 -0
  56. package/esm2020/ui/option/public-api.mjs +2 -0
  57. package/esm2020/ui/option/tft-crispr-forms-ui-option.mjs +5 -0
  58. package/esm2020/ui/public-api.mjs +7 -0
  59. package/esm2020/ui/radio-field/public-api.mjs +2 -0
  60. package/esm2020/ui/radio-field/radio-field.component.mjs +39 -0
  61. package/esm2020/ui/radio-field/tft-crispr-forms-ui-radio-field.mjs +5 -0
  62. package/esm2020/ui/select-field/public-api.mjs +2 -0
  63. package/esm2020/ui/select-field/select-field.component.mjs +73 -0
  64. package/esm2020/ui/select-field/tft-crispr-forms-ui-select-field.mjs +5 -0
  65. package/esm2020/ui/selected-file/public-api.mjs +2 -0
  66. package/esm2020/ui/selected-file/selected-file.component.mjs +26 -0
  67. package/esm2020/ui/selected-file/tft-crispr-forms-ui-selected-file.mjs +5 -0
  68. package/esm2020/ui/slider-field/public-api.mjs +2 -0
  69. package/esm2020/ui/slider-field/slider-field.component.mjs +44 -0
  70. package/esm2020/ui/slider-field/tft-crispr-forms-ui-slider-field.mjs +5 -0
  71. package/esm2020/ui/textarea-field/public-api.mjs +2 -0
  72. package/esm2020/ui/textarea-field/textarea-field.component.mjs +42 -0
  73. package/esm2020/ui/textarea-field/tft-crispr-forms-ui-textarea-field.mjs +5 -0
  74. package/esm2020/ui/tft-crispr-forms-ui.mjs +5 -0
  75. package/esm2020/ui/unit-conversion-field/public-api.mjs +2 -0
  76. package/esm2020/ui/unit-conversion-field/tft-crispr-forms-ui-unit-conversion-field.mjs +5 -0
  77. package/esm2020/ui/unit-conversion-field/unit-conversion-field.component.mjs +84 -0
  78. package/esm2020/utils/abstracts/autocomplete-field.abstract.mjs +30 -0
  79. package/esm2020/utils/abstracts/crispr-control.mixin.mjs +27 -0
  80. package/esm2020/utils/abstracts/crispr-field.abstract.mjs +20 -0
  81. package/esm2020/utils/abstracts/index.mjs +4 -0
  82. package/esm2020/utils/functions/buildFormGroupFromConfig.mjs +28 -0
  83. package/esm2020/utils/functions/callOptionsIfFunction.mjs +4 -0
  84. package/esm2020/utils/functions/createControlForType.mjs +19 -0
  85. package/esm2020/utils/functions/filterOptionsByLabel.mjs +11 -0
  86. package/esm2020/utils/functions/image-compression.helpers.mjs +50 -0
  87. package/esm2020/utils/functions/index.mjs +8 -0
  88. package/esm2020/utils/functions/isControlConfig.mjs +7 -0
  89. package/esm2020/utils/functions/observablifyOptions.mjs +29 -0
  90. package/esm2020/utils/models/autocomplete-chiplist-field.config.mjs +2 -0
  91. package/esm2020/utils/models/autocomplete-field.config.mjs +2 -0
  92. package/esm2020/utils/models/button.config.mjs +2 -0
  93. package/esm2020/utils/models/checkbox-field.config.mjs +2 -0
  94. package/esm2020/utils/models/crispr-field.config.mjs +23 -0
  95. package/esm2020/utils/models/datepicker-field.config.mjs +2 -0
  96. package/esm2020/utils/models/divider.config.mjs +2 -0
  97. package/esm2020/utils/models/file-upload-field.config.mjs +2 -0
  98. package/esm2020/utils/models/form-group-list.config.mjs +2 -0
  99. package/esm2020/utils/models/heading.config.mjs +3 -0
  100. package/esm2020/utils/models/image-upload-field.config.mjs +2 -0
  101. package/esm2020/utils/models/index.mjs +18 -0
  102. package/esm2020/utils/models/input-field.config.mjs +2 -0
  103. package/esm2020/utils/models/radio-field.config.mjs +2 -0
  104. package/esm2020/utils/models/select-field.config.mjs +2 -0
  105. package/esm2020/utils/models/slider-field.config.mjs +2 -0
  106. package/esm2020/utils/models/textarea-field.config.mjs +2 -0
  107. package/esm2020/utils/models/unit-conversion-field.config.mjs +2 -0
  108. package/esm2020/utils/operators/form.operators.mjs +24 -0
  109. package/esm2020/utils/operators/index.mjs +2 -0
  110. package/esm2020/utils/public-api.mjs +5 -0
  111. package/esm2020/utils/tft-crispr-forms-utils.mjs +5 -0
  112. package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +138 -0
  113. package/fesm2015/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +1 -0
  114. package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs +101 -0
  115. package/fesm2015/tft-crispr-forms-ui-autocomplete-field.mjs.map +1 -0
  116. package/fesm2015/tft-crispr-forms-ui-button.mjs +55 -0
  117. package/fesm2015/tft-crispr-forms-ui-button.mjs.map +1 -0
  118. package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs +49 -0
  119. package/fesm2015/tft-crispr-forms-ui-checkbox-field.mjs.map +1 -0
  120. package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs +71 -0
  121. package/fesm2015/tft-crispr-forms-ui-datepicker-field.mjs.map +1 -0
  122. package/fesm2015/tft-crispr-forms-ui-divider.mjs +34 -0
  123. package/fesm2015/tft-crispr-forms-ui-divider.mjs.map +1 -0
  124. package/fesm2015/tft-crispr-forms-ui-field-container.mjs +64 -0
  125. package/fesm2015/tft-crispr-forms-ui-field-container.mjs.map +1 -0
  126. package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs +47 -0
  127. package/fesm2015/tft-crispr-forms-ui-file-dropzone.mjs.map +1 -0
  128. package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs +117 -0
  129. package/fesm2015/tft-crispr-forms-ui-file-upload-field.mjs.map +1 -0
  130. package/fesm2015/tft-crispr-forms-ui-heading.mjs +37 -0
  131. package/fesm2015/tft-crispr-forms-ui-heading.mjs.map +1 -0
  132. package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs +182 -0
  133. package/fesm2015/tft-crispr-forms-ui-image-upload-field.mjs.map +1 -0
  134. package/fesm2015/tft-crispr-forms-ui-info.mjs +30 -0
  135. package/fesm2015/tft-crispr-forms-ui-info.mjs.map +1 -0
  136. package/fesm2015/tft-crispr-forms-ui-input-field.mjs +48 -0
  137. package/fesm2015/tft-crispr-forms-ui-input-field.mjs.map +1 -0
  138. package/fesm2015/tft-crispr-forms-ui-option.mjs +26 -0
  139. package/fesm2015/tft-crispr-forms-ui-option.mjs.map +1 -0
  140. package/fesm2015/tft-crispr-forms-ui-radio-field.mjs +46 -0
  141. package/fesm2015/tft-crispr-forms-ui-radio-field.mjs.map +1 -0
  142. package/fesm2015/tft-crispr-forms-ui-select-field.mjs +81 -0
  143. package/fesm2015/tft-crispr-forms-ui-select-field.mjs.map +1 -0
  144. package/fesm2015/tft-crispr-forms-ui-selected-file.mjs +33 -0
  145. package/fesm2015/tft-crispr-forms-ui-selected-file.mjs.map +1 -0
  146. package/fesm2015/tft-crispr-forms-ui-slider-field.mjs +51 -0
  147. package/fesm2015/tft-crispr-forms-ui-slider-field.mjs.map +1 -0
  148. package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs +49 -0
  149. package/fesm2015/tft-crispr-forms-ui-textarea-field.mjs.map +1 -0
  150. package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs +93 -0
  151. package/fesm2015/tft-crispr-forms-ui-unit-conversion-field.mjs.map +1 -0
  152. package/fesm2015/tft-crispr-forms-ui.mjs +12 -0
  153. package/fesm2015/tft-crispr-forms-ui.mjs.map +1 -0
  154. package/fesm2015/tft-crispr-forms-utils.mjs +270 -0
  155. package/fesm2015/tft-crispr-forms-utils.mjs.map +1 -0
  156. package/fesm2015/tft-crispr-forms.mjs +131 -2128
  157. package/fesm2015/tft-crispr-forms.mjs.map +1 -1
  158. package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs +137 -0
  159. package/fesm2020/tft-crispr-forms-ui-autocomplete-chiplist-field.mjs.map +1 -0
  160. package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs +100 -0
  161. package/fesm2020/tft-crispr-forms-ui-autocomplete-field.mjs.map +1 -0
  162. package/fesm2020/tft-crispr-forms-ui-button.mjs +55 -0
  163. package/fesm2020/tft-crispr-forms-ui-button.mjs.map +1 -0
  164. package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs +49 -0
  165. package/fesm2020/tft-crispr-forms-ui-checkbox-field.mjs.map +1 -0
  166. package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs +70 -0
  167. package/fesm2020/tft-crispr-forms-ui-datepicker-field.mjs.map +1 -0
  168. package/fesm2020/tft-crispr-forms-ui-divider.mjs +34 -0
  169. package/fesm2020/tft-crispr-forms-ui-divider.mjs.map +1 -0
  170. package/fesm2020/tft-crispr-forms-ui-field-container.mjs +65 -0
  171. package/fesm2020/tft-crispr-forms-ui-field-container.mjs.map +1 -0
  172. package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs +47 -0
  173. package/fesm2020/tft-crispr-forms-ui-file-dropzone.mjs.map +1 -0
  174. package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs +115 -0
  175. package/fesm2020/tft-crispr-forms-ui-file-upload-field.mjs.map +1 -0
  176. package/fesm2020/tft-crispr-forms-ui-heading.mjs +37 -0
  177. package/fesm2020/tft-crispr-forms-ui-heading.mjs.map +1 -0
  178. package/fesm2020/tft-crispr-forms-ui-image-upload-field.mjs +185 -0
  179. package/fesm2020/tft-crispr-forms-ui-image-upload-field.mjs.map +1 -0
  180. package/fesm2020/tft-crispr-forms-ui-info.mjs +30 -0
  181. package/fesm2020/tft-crispr-forms-ui-info.mjs.map +1 -0
  182. package/fesm2020/tft-crispr-forms-ui-input-field.mjs +48 -0
  183. package/fesm2020/tft-crispr-forms-ui-input-field.mjs.map +1 -0
  184. package/fesm2020/tft-crispr-forms-ui-option.mjs +26 -0
  185. package/fesm2020/tft-crispr-forms-ui-option.mjs.map +1 -0
  186. package/fesm2020/tft-crispr-forms-ui-radio-field.mjs +46 -0
  187. package/fesm2020/tft-crispr-forms-ui-radio-field.mjs.map +1 -0
  188. package/fesm2020/tft-crispr-forms-ui-select-field.mjs +80 -0
  189. package/fesm2020/tft-crispr-forms-ui-select-field.mjs.map +1 -0
  190. package/fesm2020/tft-crispr-forms-ui-selected-file.mjs +33 -0
  191. package/fesm2020/tft-crispr-forms-ui-selected-file.mjs.map +1 -0
  192. package/fesm2020/tft-crispr-forms-ui-slider-field.mjs +51 -0
  193. package/fesm2020/tft-crispr-forms-ui-slider-field.mjs.map +1 -0
  194. package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs +49 -0
  195. package/fesm2020/tft-crispr-forms-ui-textarea-field.mjs.map +1 -0
  196. package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs +91 -0
  197. package/fesm2020/tft-crispr-forms-ui-unit-conversion-field.mjs.map +1 -0
  198. package/fesm2020/tft-crispr-forms-ui.mjs +12 -0
  199. package/fesm2020/tft-crispr-forms-ui.mjs.map +1 -0
  200. package/fesm2020/tft-crispr-forms-utils.mjs +269 -0
  201. package/fesm2020/tft-crispr-forms-utils.mjs.map +1 -0
  202. package/fesm2020/tft-crispr-forms.mjs +129 -2119
  203. package/fesm2020/tft-crispr-forms.mjs.map +1 -1
  204. package/index.d.ts +5 -1
  205. package/package.json +179 -4
  206. package/public-api.d.ts +3 -0
  207. package/src/index.d.ts +1 -0
  208. package/src/lib/crispr-forms.module.d.ts +15 -0
  209. package/src/lib/field-component-map.const.d.ts +42 -0
  210. package/{lib → src/lib}/field.directive.d.ts +4 -10
  211. package/{lib → src/lib}/form/form.component.d.ts +2 -12
  212. package/{lib → src/lib}/form-group-list/form-group-list.component.d.ts +12 -14
  213. package/{lib → src/lib}/form-group-list/index.d.ts +0 -1
  214. package/{lib → src/lib}/pipes/crispr-pipes.module.d.ts +0 -0
  215. package/{lib → src/lib}/pipes/initial-control-value.pipe.d.ts +1 -1
  216. package/src/lib/public_api.d.ts +2 -0
  217. package/{lib → src/lib}/sub-group/index.d.ts +0 -0
  218. package/{lib → src/lib}/sub-group/sub-group.component.d.ts +11 -13
  219. package/{lib → src/lib}/sub-group/sub-group.module.d.ts +2 -2
  220. package/tft-crispr-forms-14.0.1.tgz +0 -0
  221. package/ui/README.md +3 -0
  222. package/{lib/material → ui}/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts +2 -18
  223. package/ui/autocomplete-chiplist-field/index.d.ts +5 -0
  224. package/ui/autocomplete-chiplist-field/public-api.d.ts +1 -0
  225. package/{lib/material → ui}/autocomplete-field/autocomplete-field.component.d.ts +2 -16
  226. package/ui/autocomplete-field/index.d.ts +5 -0
  227. package/ui/autocomplete-field/public-api.d.ts +1 -0
  228. package/ui/button/button.component.d.ts +15 -0
  229. package/ui/button/index.d.ts +5 -0
  230. package/ui/button/public-api.d.ts +1 -0
  231. package/ui/checkbox-field/checkbox-field.component.d.ts +21 -0
  232. package/ui/checkbox-field/index.d.ts +5 -0
  233. package/ui/checkbox-field/public-api.d.ts +1 -0
  234. package/ui/datepicker-field/datepicker-field.component.d.ts +30 -0
  235. package/ui/datepicker-field/index.d.ts +5 -0
  236. package/ui/datepicker-field/public-api.d.ts +1 -0
  237. package/ui/divider/divider.component.d.ts +9 -0
  238. package/ui/divider/index.d.ts +5 -0
  239. package/ui/divider/public-api.d.ts +1 -0
  240. package/{lib → ui}/field-container/field-container.component.d.ts +2 -9
  241. package/ui/field-container/index.d.ts +5 -0
  242. package/{lib/field-container/index.d.ts → ui/field-container/public-api.d.ts} +0 -0
  243. package/{lib/material/file-upload → ui/file-dropzone}/file-dropzone.directive.d.ts +1 -1
  244. package/ui/file-dropzone/index.d.ts +5 -0
  245. package/{lib/material/file-upload/index.d.ts → ui/file-dropzone/public-api.d.ts} +0 -1
  246. package/ui/file-upload-field/file-upload-field.component.d.ts +37 -0
  247. package/ui/file-upload-field/index.d.ts +5 -0
  248. package/ui/file-upload-field/public-api.d.ts +1 -0
  249. package/ui/heading/heading.component.d.ts +8 -0
  250. package/ui/heading/index.d.ts +5 -0
  251. package/ui/heading/public-api.d.ts +1 -0
  252. package/ui/image-upload-field/image-upload-field.component.d.ts +48 -0
  253. package/ui/image-upload-field/index.d.ts +5 -0
  254. package/{lib/material/image-upload-field/index.d.ts → ui/image-upload-field/public-api.d.ts} +0 -0
  255. package/ui/index.d.ts +5 -0
  256. package/ui/info/index.d.ts +5 -0
  257. package/ui/info/info.component.d.ts +7 -0
  258. package/ui/info/public-api.d.ts +1 -0
  259. package/ui/input-field/index.d.ts +5 -0
  260. package/ui/input-field/input-field.component.d.ts +22 -0
  261. package/ui/input-field/public-api.d.ts +1 -0
  262. package/ui/option/index.d.ts +5 -0
  263. package/ui/option/option.component.d.ts +7 -0
  264. package/{lib/material/option/index.d.ts → ui/option/public-api.d.ts} +0 -0
  265. package/ui/public-api.d.ts +5 -0
  266. package/ui/radio-field/index.d.ts +5 -0
  267. package/ui/radio-field/public-api.d.ts +1 -0
  268. package/ui/radio-field/radio-field.component.d.ts +23 -0
  269. package/ui/select-field/index.d.ts +5 -0
  270. package/ui/select-field/public-api.d.ts +1 -0
  271. package/ui/select-field/select-field.component.d.ts +32 -0
  272. package/ui/selected-file/index.d.ts +5 -0
  273. package/ui/selected-file/public-api.d.ts +1 -0
  274. package/ui/selected-file/selected-file.component.d.ts +10 -0
  275. package/ui/slider-field/index.d.ts +5 -0
  276. package/ui/slider-field/public-api.d.ts +1 -0
  277. package/ui/slider-field/slider-field.component.d.ts +25 -0
  278. package/ui/textarea-field/index.d.ts +5 -0
  279. package/ui/textarea-field/public-api.d.ts +1 -0
  280. package/ui/textarea-field/textarea-field.component.d.ts +21 -0
  281. package/ui/unit-conversion-field/index.d.ts +5 -0
  282. package/ui/unit-conversion-field/public-api.d.ts +1 -0
  283. package/ui/unit-conversion-field/unit-conversion-field.component.d.ts +36 -0
  284. package/utils/README.md +3 -0
  285. package/{lib → utils}/abstracts/autocomplete-field.abstract.d.ts +0 -0
  286. package/{lib → utils}/abstracts/crispr-control.mixin.d.ts +0 -0
  287. package/{lib → utils}/abstracts/crispr-field.abstract.d.ts +1 -1
  288. package/{lib → utils}/abstracts/index.d.ts +0 -0
  289. package/utils/functions/buildFormGroupFromConfig.d.ts +9 -0
  290. package/utils/functions/callOptionsIfFunction.d.ts +3 -0
  291. package/utils/functions/createControlForType.d.ts +9 -0
  292. package/utils/functions/filterOptionsByLabel.d.ts +7 -0
  293. package/utils/functions/image-compression.helpers.d.ts +5 -0
  294. package/utils/functions/index.d.ts +7 -0
  295. package/utils/functions/isControlConfig.d.ts +5 -0
  296. package/utils/functions/observablifyOptions.d.ts +12 -0
  297. package/utils/index.d.ts +5 -0
  298. package/{lib → utils}/models/autocomplete-chiplist-field.config.d.ts +2 -1
  299. package/{lib → utils}/models/autocomplete-field.config.d.ts +1 -2
  300. package/{lib → utils}/models/button.config.d.ts +0 -0
  301. package/{lib → utils}/models/checkbox-field.config.d.ts +1 -2
  302. package/{lib → utils}/models/crispr-field.config.d.ts +1 -10
  303. package/{lib → utils}/models/datepicker-field.config.d.ts +1 -2
  304. package/{lib → utils}/models/divider.config.d.ts +1 -1
  305. package/{lib → utils}/models/file-upload-field.config.d.ts +9 -4
  306. package/{lib → utils}/models/form-group-list.config.d.ts +1 -2
  307. package/{lib → utils}/models/heading.config.d.ts +1 -2
  308. package/{lib → utils}/models/image-upload-field.config.d.ts +2 -1
  309. package/{lib → utils}/models/index.d.ts +0 -0
  310. package/{lib → utils}/models/input-field.config.d.ts +1 -2
  311. package/{lib → utils}/models/radio-field.config.d.ts +0 -0
  312. package/{lib → utils}/models/select-field.config.d.ts +1 -2
  313. package/{lib → utils}/models/slider-field.config.d.ts +1 -2
  314. package/{lib → utils}/models/textarea-field.config.d.ts +1 -2
  315. package/{lib → utils}/models/unit-conversion-field.config.d.ts +1 -2
  316. package/{lib → utils/operators}/form.operators.d.ts +0 -0
  317. package/utils/operators/index.d.ts +1 -0
  318. package/utils/public-api.d.ts +4 -0
  319. package/esm2020/index.mjs +0 -2
  320. package/esm2020/lib/abstracts/autocomplete-field.abstract.mjs +0 -30
  321. package/esm2020/lib/abstracts/crispr-control.mixin.mjs +0 -27
  322. package/esm2020/lib/abstracts/crispr-field.abstract.mjs +0 -17
  323. package/esm2020/lib/abstracts/index.mjs +0 -4
  324. package/esm2020/lib/crispr-forms.module.mjs +0 -65
  325. package/esm2020/lib/field-component-map.const.mjs +0 -28
  326. package/esm2020/lib/field-container/field-container.component.mjs +0 -83
  327. package/esm2020/lib/field-container/index.mjs +0 -2
  328. package/esm2020/lib/field.directive.mjs +0 -88
  329. package/esm2020/lib/form/form.component.mjs +0 -88
  330. package/esm2020/lib/form-group-list/form-group-list.component.mjs +0 -77
  331. package/esm2020/lib/form-group-list/form-group-list.module.mjs +0 -52
  332. package/esm2020/lib/form-group-list/index.mjs +0 -3
  333. package/esm2020/lib/form.helpers.mjs +0 -190
  334. package/esm2020/lib/form.operators.mjs +0 -24
  335. package/esm2020/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +0 -165
  336. package/esm2020/lib/material/autocomplete-field/autocomplete-field.component.mjs +0 -124
  337. package/esm2020/lib/material/button/button.component.mjs +0 -70
  338. package/esm2020/lib/material/checkbox-field/checkbox-field.component.mjs +0 -69
  339. package/esm2020/lib/material/datepicker-field/datepicker-field.component.mjs +0 -91
  340. package/esm2020/lib/material/divider/divider.component.mjs +0 -46
  341. package/esm2020/lib/material/file-upload/file-dropzone.directive.mjs +0 -39
  342. package/esm2020/lib/material/file-upload/file-upload.component.mjs +0 -143
  343. package/esm2020/lib/material/file-upload/index.mjs +0 -3
  344. package/esm2020/lib/material/heading/heading.component.mjs +0 -52
  345. package/esm2020/lib/material/image-upload-field/image-compression.helpers.mjs +0 -4
  346. package/esm2020/lib/material/image-upload-field/image-upload-field.component.mjs +0 -263
  347. package/esm2020/lib/material/image-upload-field/index.mjs +0 -2
  348. package/esm2020/lib/material/index.mjs +0 -18
  349. package/esm2020/lib/material/info/info.component.mjs +0 -44
  350. package/esm2020/lib/material/input-field/input-field.component.mjs +0 -66
  351. package/esm2020/lib/material/material.module.mjs +0 -96
  352. package/esm2020/lib/material/option/index.mjs +0 -2
  353. package/esm2020/lib/material/option/option.component.mjs +0 -39
  354. package/esm2020/lib/material/radio-field/radio-field.component.mjs +0 -60
  355. package/esm2020/lib/material/select-field/select-field.component.mjs +0 -108
  356. package/esm2020/lib/material/selected-file/selected-file.component.mjs +0 -45
  357. package/esm2020/lib/material/slider-field/slider-field.component.mjs +0 -69
  358. package/esm2020/lib/material/textarea-field/textarea-field.component.mjs +0 -67
  359. package/esm2020/lib/material/unit-conversion-field/unit-conversion-field.component.mjs +0 -115
  360. package/esm2020/lib/models/autocomplete-chiplist-field.config.mjs +0 -2
  361. package/esm2020/lib/models/autocomplete-field.config.mjs +0 -2
  362. package/esm2020/lib/models/button.config.mjs +0 -2
  363. package/esm2020/lib/models/checkbox-field.config.mjs +0 -2
  364. package/esm2020/lib/models/crispr-field.config.mjs +0 -23
  365. package/esm2020/lib/models/datepicker-field.config.mjs +0 -2
  366. package/esm2020/lib/models/divider.config.mjs +0 -2
  367. package/esm2020/lib/models/file-upload-field.config.mjs +0 -2
  368. package/esm2020/lib/models/form-group-list.config.mjs +0 -2
  369. package/esm2020/lib/models/heading.config.mjs +0 -3
  370. package/esm2020/lib/models/image-upload-field.config.mjs +0 -2
  371. package/esm2020/lib/models/index.mjs +0 -18
  372. package/esm2020/lib/models/input-field.config.mjs +0 -2
  373. package/esm2020/lib/models/radio-field.config.mjs +0 -2
  374. package/esm2020/lib/models/select-field.config.mjs +0 -2
  375. package/esm2020/lib/models/slider-field.config.mjs +0 -2
  376. package/esm2020/lib/models/textarea-field.config.mjs +0 -2
  377. package/esm2020/lib/models/unit-conversion-field.config.mjs +0 -2
  378. package/esm2020/lib/pipes/initial-control-value.pipe.mjs +0 -20
  379. package/esm2020/lib/public_api.mjs +0 -10
  380. package/esm2020/lib/sub-group/index.mjs +0 -3
  381. package/esm2020/lib/sub-group/sub-group.component.mjs +0 -20
  382. package/esm2020/lib/sub-group/sub-group.module.mjs +0 -43
  383. package/lib/crispr-forms.module.d.ts +0 -16
  384. package/lib/field-component-map.const.d.ts +0 -28
  385. package/lib/form-group-list/form-group-list.module.d.ts +0 -15
  386. package/lib/form.helpers.d.ts +0 -88
  387. package/lib/material/button/button.component.d.ts +0 -26
  388. package/lib/material/checkbox-field/checkbox-field.component.d.ts +0 -34
  389. package/lib/material/datepicker-field/datepicker-field.component.d.ts +0 -45
  390. package/lib/material/divider/divider.component.d.ts +0 -17
  391. package/lib/material/file-upload/file-upload.component.d.ts +0 -54
  392. package/lib/material/heading/heading.component.d.ts +0 -17
  393. package/lib/material/image-upload-field/image-compression.helpers.d.ts +0 -1
  394. package/lib/material/image-upload-field/image-upload-field.component.d.ts +0 -68
  395. package/lib/material/index.d.ts +0 -17
  396. package/lib/material/info/info.component.d.ts +0 -15
  397. package/lib/material/input-field/input-field.component.d.ts +0 -35
  398. package/lib/material/material.module.d.ts +0 -26
  399. package/lib/material/option/option.component.d.ts +0 -14
  400. package/lib/material/radio-field/radio-field.component.d.ts +0 -35
  401. package/lib/material/select-field/select-field.component.d.ts +0 -48
  402. package/lib/material/selected-file/selected-file.component.d.ts +0 -17
  403. package/lib/material/slider-field/slider-field.component.d.ts +0 -38
  404. package/lib/material/textarea-field/textarea-field.component.d.ts +0 -35
  405. package/lib/material/unit-conversion-field/unit-conversion-field.component.d.ts +0 -52
  406. package/lib/public_api.d.ts +0 -9
  407. package/tft-crispr-forms-14.0.1-rc.0.tgz +0 -0
@@ -1,26 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { ButtonConfig } from '../../models';
4
- import { Observable } from 'rxjs';
5
- import { CrisprFieldComponent } from '../../abstracts';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "@angular/material/button";
9
- import * as i3 from "@angular/material/icon";
10
- import * as i4 from "@angular/material/tooltip";
11
- import * as i5 from "@angular/forms";
12
- export declare class ButtonComponent extends CrisprFieldComponent<ButtonConfig> implements OnInit {
13
- group: FormGroup;
14
- defaultConfig: Partial<ButtonConfig>;
15
- formValid$: Observable<boolean>;
16
- get matButtonClass(): string;
17
- ngOnInit(): void;
18
- handleClick(group: FormGroup, event: MouseEvent): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "crispr-button", never, {}, {}, never, never, false>;
21
- }
22
- export declare class ButtonModule {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof ButtonComponent], [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.MatIconModule, typeof i4.MatTooltipModule, typeof i5.ReactiveFormsModule], [typeof ButtonComponent]>;
25
- static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
26
- }
@@ -1,34 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { CheckboxFieldConfig } from '../../models';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../info/info.component";
6
- import * as i3 from "@angular/material/checkbox";
7
- import * as i4 from "@angular/forms";
8
- import * as i5 from "../../field.directive";
9
- import * as i6 from "../../field-container/field-container.component";
10
- declare const CheckboxFieldMixin: {
11
- new (): {
12
- config: CheckboxFieldConfig;
13
- group: import("@angular/forms").FormGroup<any>;
14
- control: import("@angular/forms").AbstractControl<any, any>;
15
- _value: any;
16
- value: any;
17
- ngOnInit(): void;
18
- setControlValue(value: any): void;
19
- defaultConfig?: Partial<CheckboxFieldConfig>;
20
- applyDefaultConfig(): void;
21
- };
22
- };
23
- export declare class CheckboxFieldComponent extends CheckboxFieldMixin implements OnInit {
24
- defaultConfig: Partial<CheckboxFieldConfig>;
25
- ngOnInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "crispr-checkbox-field", never, {}, {}, never, never, false>;
28
- }
29
- export declare class CheckboxFieldModule {
30
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxFieldModule, [typeof CheckboxFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.MatCheckboxModule, typeof i4.ReactiveFormsModule, typeof i5.CrisprFieldModule, typeof i6.FieldContainerModule], [typeof CheckboxFieldComponent]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxFieldModule>;
33
- }
34
- export {};
@@ -1,45 +0,0 @@
1
- import { OnInit, AfterContentInit } from '@angular/core';
2
- import { DatepickerFieldConfig } from '../../models';
3
- import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
4
- import { Observable } from 'rxjs';
5
- import { Portal } from '@angular/cdk/portal';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "../../field-container/field-container.component";
9
- import * as i3 from "@angular/material/datepicker";
10
- import * as i4 from "@angular/material/form-field";
11
- import * as i5 from "@angular/forms";
12
- import * as i6 from "@angular/material/input";
13
- import * as i7 from "@angular/material-date-fns-adapter";
14
- import * as i8 from "@angular/cdk/portal";
15
- declare const DatepickerFieldMixin: {
16
- new (): {
17
- config: DatepickerFieldConfig;
18
- group: import("@angular/forms").FormGroup<any>;
19
- control: import("@angular/forms").AbstractControl<any, any>;
20
- _value: any;
21
- value: any;
22
- ngOnInit(): void;
23
- setControlValue(value: any): void;
24
- defaultConfig?: Partial<DatepickerFieldConfig>;
25
- applyDefaultConfig(): void;
26
- };
27
- };
28
- export declare class DatepickerFieldComponent extends DatepickerFieldMixin implements OnInit, AfterContentInit {
29
- defaultConfig: Partial<DatepickerFieldConfig>;
30
- dateClass: MatCalendarCellClassFunction<Date>;
31
- dateClass$: Observable<MatCalendarCellClassFunction<Date>>;
32
- startAt$: Observable<Date>;
33
- /** A portal containing the footer component type for this calendar. */
34
- calendarFooterPortal: Portal<any>;
35
- ngOnInit(): void;
36
- ngAfterContentInit(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never, false>;
39
- }
40
- export declare class DatepickerFieldModule {
41
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerFieldModule, [typeof DatepickerFieldComponent], [typeof i1.CommonModule, typeof i2.FieldContainerModule, typeof i3.MatDatepickerModule, typeof i4.MatFormFieldModule, typeof i5.ReactiveFormsModule, typeof i6.MatInputModule, typeof i7.MatDateFnsModule, typeof i8.PortalModule], [typeof DatepickerFieldComponent]>;
43
- static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerFieldModule>;
44
- }
45
- export {};
@@ -1,17 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DividerConfig } from '../../models';
3
- import { CrisprFieldComponent } from '../../abstracts';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "@angular/material/divider";
7
- export declare class DividerComponent extends CrisprFieldComponent<DividerConfig> implements OnInit {
8
- defaultConfig: {};
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never, false>;
12
- }
13
- export declare class DividerModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DividerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DividerModule, [typeof DividerComponent], [typeof i1.CommonModule, typeof i2.MatDividerModule], [typeof DividerComponent]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<DividerModule>;
17
- }
@@ -1,54 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import type { FileUploadFieldConfig } from '../../models/file-upload-field.config';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./file-dropzone.directive";
7
- import * as i2 from "@angular/common";
8
- import * as i3 from "../../field-container/field-container.component";
9
- import * as i4 from "@angular/forms";
10
- import * as i5 from "@angular/material/icon";
11
- import * as i6 from "@angular/material/button";
12
- import * as i7 from "@angular/material/form-field";
13
- import * as i8 from "@angular/material/input";
14
- import * as i9 from "../selected-file/selected-file.component";
15
- import * as i10 from "@tft/form-validation-handler";
16
- declare const FileUploadFieldMixin: {
17
- new (): {
18
- config: FileUploadFieldConfig;
19
- group: import("@angular/forms").FormGroup<any>;
20
- control: import("@angular/forms").AbstractControl<any, any>;
21
- _value: any;
22
- value: any;
23
- ngOnInit(): void;
24
- setControlValue(value: any): void;
25
- defaultConfig?: Partial<FileUploadFieldConfig>;
26
- applyDefaultConfig(): void;
27
- };
28
- };
29
- export declare class FileUploadFieldComponent extends FileUploadFieldMixin implements OnInit, ControlValueAccessor {
30
- ngControl: NgControl;
31
- onChange: () => void;
32
- defaultConfig: Partial<FileUploadFieldConfig>;
33
- fileInputRef: ElementRef;
34
- selectedFiles: FileList;
35
- isUploaded: boolean;
36
- fileProgress: Observable<number>[];
37
- disabled$: Observable<boolean>;
38
- constructor(ngControl: NgControl);
39
- ngOnInit(): void;
40
- filesChanged(files: FileList): void;
41
- uploadFiles(): void;
42
- resetFileInput(): void;
43
- writeValue(value: null): void;
44
- registerOnChange(fn: () => void): void;
45
- registerOnTouched(fn: () => void): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldComponent, [{ optional: true; self: true; }]>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "crispr-file-upload-field", never, {}, {}, never, never, false>;
48
- }
49
- export declare class FileUploadFieldModule {
50
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadFieldModule, [typeof FileUploadFieldComponent, typeof i1.FileDropzoneDirective], [typeof i2.CommonModule, typeof i3.FieldContainerModule, typeof i4.ReactiveFormsModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.SelectedFileModule, typeof i10.FormValidationHandlerModule], [typeof FileUploadFieldComponent, typeof i1.FileDropzoneDirective]>;
52
- static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadFieldModule>;
53
- }
54
- export {};
@@ -1,17 +0,0 @@
1
- import type { HeadingConfig } from '../../models/heading.config';
2
- import { CrisprFieldComponent } from '../../abstracts';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/material/form-field";
6
- import * as i3 from "../info/info.component";
7
- export declare class HeadingComponent extends CrisprFieldComponent<HeadingConfig> {
8
- config: HeadingConfig;
9
- defaultConfig: Partial<HeadingConfig>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<HeadingComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadingComponent, "crispr-heading", never, { "config": "config"; }, {}, never, never, false>;
12
- }
13
- export declare class HeadingModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<HeadingModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<HeadingModule, [typeof HeadingComponent], [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.InfoModule], [typeof HeadingComponent]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<HeadingModule>;
17
- }
@@ -1 +0,0 @@
1
- export declare function convertBytesToMb(bytes: number): number;
@@ -1,68 +0,0 @@
1
- import { ElementRef, OnInit, ChangeDetectorRef } from '@angular/core';
2
- import { ControlValueAccessor, NgControl, ValidatorFn } from '@angular/forms';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
- import { Observable } from 'rxjs';
5
- import type { ImageUploadFieldConfig } from '../../models/image-upload-field.config';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "../../field-container/field-container.component";
9
- import * as i3 from "@angular/forms";
10
- import * as i4 from "@angular/material/icon";
11
- import * as i5 from "@angular/material/button";
12
- import * as i6 from "@angular/material/form-field";
13
- import * as i7 from "@angular/material/input";
14
- import * as i8 from "../selected-file/selected-file.component";
15
- import * as i9 from "../file-upload/file-upload.component";
16
- import * as i10 from "@tft/form-validation-handler";
17
- declare const ImageUploadFieldMixin: {
18
- new (): {
19
- config: ImageUploadFieldConfig;
20
- group: import("@angular/forms").FormGroup<any>;
21
- control: import("@angular/forms").AbstractControl<any, any>;
22
- _value: any;
23
- value: any;
24
- ngOnInit(): void;
25
- setControlValue(value: any): void;
26
- defaultConfig?: Partial<ImageUploadFieldConfig>;
27
- applyDefaultConfig(): void;
28
- };
29
- };
30
- export declare class ImageUploadFieldComponent extends ImageUploadFieldMixin implements OnInit, ControlValueAccessor {
31
- ngControl: NgControl;
32
- private domSanitizer;
33
- private cdr;
34
- onChange: () => void;
35
- defaultConfig: Partial<ImageUploadFieldConfig>;
36
- private inputImageFileSubject;
37
- inputImageFile$: Observable<File>;
38
- /**
39
- * the compression progress
40
- */
41
- progress: number | undefined;
42
- compressedFile$: Observable<File>;
43
- compressedImageUrlString$: Observable<string | null>;
44
- imageSrcUrl$: Observable<string | null>;
45
- fileInputRef: ElementRef;
46
- selectedFiles: FileList;
47
- isUploaded: boolean;
48
- disabled$: Observable<boolean>;
49
- constructor(ngControl: NgControl, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef);
50
- ngOnInit(): void;
51
- filesChanged(files: FileList): void;
52
- clearFileInput(): void;
53
- resetToInitialValue(initialValue: string): void;
54
- writeValue(value: null): void;
55
- registerOnChange(fn: () => void): void;
56
- registerOnTouched(fn: () => void): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploadFieldComponent, [{ optional: true; self: true; }, null, null]>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploadFieldComponent, "crispr-image-upload-field", never, {}, {}, never, never, false>;
59
- }
60
- export declare class ImageUploadFieldModule {
61
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploadFieldModule, never>;
62
- static ɵmod: i0.ɵɵNgModuleDeclaration<ImageUploadFieldModule, [typeof ImageUploadFieldComponent], [typeof i1.CommonModule, typeof i2.FieldContainerModule, typeof i3.ReactiveFormsModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof i8.SelectedFileModule, typeof i9.FileUploadFieldModule, typeof i10.FormValidationHandlerModule], [typeof ImageUploadFieldComponent]>;
63
- static ɵinj: i0.ɵɵInjectorDeclaration<ImageUploadFieldModule>;
64
- }
65
- export declare function maxFileSizeValidator(maxFileSize: number): ValidatorFn;
66
- export declare function allowedFileExtValidator(allowedFileExtensions: string[], onlyAllowFiles?: boolean): ValidatorFn;
67
- export declare function allowedFileType(matchExp: string | RegExp): ValidatorFn;
68
- export {};
@@ -1,17 +0,0 @@
1
- export * from './input-field/input-field.component';
2
- export * from './select-field/select-field.component';
3
- export * from './autocomplete-field/autocomplete-field.component';
4
- export * from './autocomplete-chiplist-field/autocomplete-chiplist-field.component';
5
- export * from './checkbox-field/checkbox-field.component';
6
- export * from './textarea-field/textarea-field.component';
7
- export * from './slider-field/slider-field.component';
8
- export * from './button/button.component';
9
- export * from './datepicker-field/datepicker-field.component';
10
- export * from './heading/heading.component';
11
- export * from './divider/divider.component';
12
- export * from './radio-field/radio-field.component';
13
- export * from './unit-conversion-field/unit-conversion-field.component';
14
- export * from './image-upload-field';
15
- export * from './file-upload';
16
- export * from './material.module';
17
- export * from './option';
@@ -1,15 +0,0 @@
1
- import type { Info } from '../../models';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/material/icon";
5
- import * as i3 from "@angular/material/tooltip";
6
- export declare class InfoComponent {
7
- info: Info;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "crispr-info", never, { "info": "info"; }, {}, never, never, false>;
10
- }
11
- export declare class InfoModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<InfoModule, [typeof InfoComponent], [typeof i1.CommonModule, typeof i2.MatIconModule, typeof i3.MatTooltipModule], [typeof InfoComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<InfoModule>;
15
- }
@@ -1,35 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { InputFieldConfig } from '../../models';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../info/info.component";
6
- import * as i3 from "@angular/forms";
7
- import * as i4 from "../../field-container/field-container.component";
8
- import * as i5 from "@angular/material/form-field";
9
- import * as i6 from "@angular/material/input";
10
- declare const InputFieldMixin: {
11
- new (): {
12
- config: InputFieldConfig;
13
- group: import("@angular/forms").FormGroup<any>;
14
- control: import("@angular/forms").AbstractControl<any, any>;
15
- _value: any;
16
- value: any;
17
- ngOnInit(): void;
18
- setControlValue(value: any): void;
19
- defaultConfig?: Partial<InputFieldConfig>;
20
- applyDefaultConfig(): void;
21
- };
22
- };
23
- export declare class InputFieldComponent extends InputFieldMixin implements OnInit {
24
- defaultConfig: Partial<InputFieldConfig>;
25
- constructor();
26
- ngOnInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldComponent, "crispr-input-field", never, {}, {}, never, never, false>;
29
- }
30
- export declare class InputFieldModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputFieldModule, [typeof InputFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.ReactiveFormsModule, typeof i4.FieldContainerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule], [typeof InputFieldComponent]>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<InputFieldModule>;
34
- }
35
- export {};
@@ -1,26 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "@angular/forms";
4
- import * as i3 from "@tft/form-validation-handler";
5
- import * as i4 from "./info/info.component";
6
- import * as i5 from "./checkbox-field/checkbox-field.component";
7
- import * as i6 from "./select-field/select-field.component";
8
- import * as i7 from "./autocomplete-field/autocomplete-field.component";
9
- import * as i8 from "./autocomplete-chiplist-field/autocomplete-chiplist-field.component";
10
- import * as i9 from "./datepicker-field/datepicker-field.component";
11
- import * as i10 from "./input-field/input-field.component";
12
- import * as i11 from "./file-upload/file-upload.component";
13
- import * as i12 from "./radio-field/radio-field.component";
14
- import * as i13 from "./slider-field/slider-field.component";
15
- import * as i14 from "./textarea-field/textarea-field.component";
16
- import * as i15 from "./unit-conversion-field/unit-conversion-field.component";
17
- import * as i16 from "./button/button.component";
18
- import * as i17 from "./divider/divider.component";
19
- import * as i18 from "./heading/heading.component";
20
- import * as i19 from "../field-container/field-container.component";
21
- import * as i20 from "./option/option.component";
22
- export declare class MaterialModule {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.FormValidationHandlerModule, typeof i4.InfoModule, typeof i5.CheckboxFieldModule, typeof i6.SelectFieldModule, typeof i7.AutocompleteFieldModule, typeof i8.AutocompleteChiplistFieldModule, typeof i9.DatepickerFieldModule, typeof i10.InputFieldModule, typeof i11.FileUploadFieldModule, typeof i12.RadioFieldModule, typeof i13.SliderFieldModule, typeof i14.TextareaFieldModule, typeof i15.UnitConversionFieldModule, typeof i16.ButtonModule, typeof i17.DividerModule, typeof i18.HeadingModule, typeof i19.FieldContainerModule, typeof i20.OptionModule], never>;
25
- static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
26
- }
@@ -1,14 +0,0 @@
1
- import { SelectOption } from '../../models';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "../info/info.component";
5
- export declare class OptionComponent {
6
- option: SelectOption;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "crispr-option", never, { "option": "option"; }, {}, never, never, false>;
9
- }
10
- export declare class OptionModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<OptionModule, [typeof OptionComponent], [typeof i1.CommonModule, typeof i2.InfoModule], [typeof OptionComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<OptionModule>;
14
- }
@@ -1,35 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { SelectOption } from '../../models';
4
- import { RadioFieldConfig } from '../../models/radio-field.config';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/forms";
8
- import * as i3 from "../../field-container/field-container.component";
9
- import * as i4 from "@angular/material/radio";
10
- declare const RadioFieldMixin: {
11
- new (): {
12
- config: RadioFieldConfig;
13
- group: import("@angular/forms").FormGroup<any>;
14
- control: import("@angular/forms").AbstractControl<any, any>;
15
- _value: any;
16
- value: any;
17
- ngOnInit(): void;
18
- setControlValue(value: any): void;
19
- defaultConfig?: Partial<RadioFieldConfig>;
20
- applyDefaultConfig(): void;
21
- };
22
- };
23
- export declare class RadioFieldComponent extends RadioFieldMixin implements OnInit {
24
- defaultConfig: {};
25
- options$: Observable<SelectOption[]>;
26
- ngOnInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioFieldComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioFieldComponent, "crispr-radio-field", never, {}, {}, never, never, false>;
29
- }
30
- export declare class RadioFieldModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioFieldModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadioFieldModule, [typeof RadioFieldComponent], [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.FieldContainerModule, typeof i4.MatRadioModule], [typeof RadioFieldComponent]>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<RadioFieldModule>;
34
- }
35
- export {};
@@ -1,48 +0,0 @@
1
- import { OnInit, AfterViewInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { SelectFieldConfig, SelectOption } from '../../models';
4
- import { MatSelect } from '@angular/material/select';
5
- import { ThemePalette } from '@angular/material/core';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "../info/info.component";
9
- import * as i3 from "../option/option.component";
10
- import * as i4 from "@angular/material/checkbox";
11
- import * as i5 from "@angular/material/select";
12
- import * as i6 from "@angular/forms";
13
- import * as i7 from "../../field.directive";
14
- import * as i8 from "../../field-container/field-container.component";
15
- import * as i9 from "@angular/material/form-field";
16
- declare const SelectFieldMixin: {
17
- new (): {
18
- config: SelectFieldConfig;
19
- group: import("@angular/forms").FormGroup<any>;
20
- control: import("@angular/forms").AbstractControl<any, any>;
21
- _value: any;
22
- value: any;
23
- ngOnInit(): void;
24
- setControlValue(value: any): void;
25
- defaultConfig?: Partial<SelectFieldConfig>;
26
- applyDefaultConfig(): void;
27
- };
28
- };
29
- export declare class SelectFieldComponent extends SelectFieldMixin implements OnInit, AfterViewInit {
30
- defaultConfig: {
31
- enableToggleAll: boolean;
32
- color: ThemePalette;
33
- };
34
- options$: Observable<SelectOption[]>;
35
- allSelected: boolean;
36
- selectField: MatSelect;
37
- ngOnInit(): void;
38
- ngAfterViewInit(): void;
39
- toggleAll(isSelected: boolean): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "crispr-select-field", never, {}, {}, never, never, false>;
42
- }
43
- export declare class SelectFieldModule {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectFieldModule, [typeof SelectFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.MatCheckboxModule, typeof i5.MatSelectModule, typeof i6.ReactiveFormsModule, typeof i7.CrisprFieldModule, typeof i8.FieldContainerModule, typeof i9.MatFormFieldModule], [typeof SelectFieldComponent]>;
46
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectFieldModule>;
47
- }
48
- export {};
@@ -1,17 +0,0 @@
1
- import { ThemePalette } from '@angular/material/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/material/progress-bar";
5
- export declare class SelectedFileComponent {
6
- fileName: string;
7
- progress: number;
8
- showProgress: boolean;
9
- color: ThemePalette;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectedFileComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectedFileComponent, "crispr-selected-file", never, { "fileName": "fileName"; "progress": "progress"; "showProgress": "showProgress"; "color": "color"; }, {}, never, never, false>;
12
- }
13
- export declare class SelectedFileModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectedFileModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectedFileModule, [typeof SelectedFileComponent], [typeof i1.CommonModule, typeof i2.MatProgressBarModule], [typeof SelectedFileComponent]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectedFileModule>;
17
- }
@@ -1,38 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { SliderFieldConfig } from '../../models';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "../info/info.component";
6
- import * as i3 from "../option/option.component";
7
- import * as i4 from "../../field-container/field-container.component";
8
- import * as i5 from "@angular/forms";
9
- import * as i6 from "@angular/material/slider";
10
- declare const SliderFieldMixin: {
11
- new (): {
12
- config: SliderFieldConfig;
13
- group: import("@angular/forms").FormGroup<any>;
14
- control: import("@angular/forms").AbstractControl<any, any>;
15
- _value: any;
16
- value: any;
17
- ngOnInit(): void;
18
- setControlValue(value: any): void;
19
- defaultConfig?: Partial<SliderFieldConfig>;
20
- applyDefaultConfig(): void;
21
- };
22
- };
23
- export declare class SliderFieldComponent extends SliderFieldMixin implements OnInit {
24
- defaultConfig: {
25
- displayLimits: boolean;
26
- };
27
- constructor();
28
- get flexDirection(): "column" | "row";
29
- ngOnInit(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderFieldComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderFieldComponent, "crispr-slider-field", never, {}, {}, never, never, false>;
32
- }
33
- export declare class SliderFieldModule {
34
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderFieldModule, never>;
35
- static ɵmod: i0.ɵɵNgModuleDeclaration<SliderFieldModule, [typeof SliderFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.FieldContainerModule, typeof i5.ReactiveFormsModule, typeof i6.MatSliderModule], [typeof SliderFieldComponent]>;
36
- static ɵinj: i0.ɵɵInjectorDeclaration<SliderFieldModule>;
37
- }
38
- export {};
@@ -1,35 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { TextareaFieldConfig } from '../../models';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "../info/info.component";
7
- import * as i3 from "@angular/forms";
8
- import * as i4 from "../../field-container/field-container.component";
9
- import * as i5 from "@angular/material/form-field";
10
- import * as i6 from "@angular/material/input";
11
- declare const TextareaFieldMixin: {
12
- new (): {
13
- config: TextareaFieldConfig;
14
- group: FormGroup<any>;
15
- control: import("@angular/forms").AbstractControl<any, any>;
16
- _value: any;
17
- value: any;
18
- ngOnInit(): void;
19
- setControlValue(value: any): void;
20
- defaultConfig?: Partial<TextareaFieldConfig>;
21
- applyDefaultConfig(): void;
22
- };
23
- };
24
- export declare class TextareaFieldComponent extends TextareaFieldMixin implements OnInit {
25
- defaultConfig: Partial<TextareaFieldConfig>;
26
- ngOnInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaFieldComponent, "crispr-textarea-field", never, {}, {}, never, never, false>;
29
- }
30
- export declare class TextareaFieldModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextareaFieldModule, [typeof TextareaFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.ReactiveFormsModule, typeof i4.FieldContainerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule], [typeof TextareaFieldComponent]>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<TextareaFieldModule>;
34
- }
35
- export {};
@@ -1,52 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { Observable, Subscription } from 'rxjs';
4
- import { SelectOption } from '../../models';
5
- import { UnitConversionFieldConfig } from '../../models/unit-conversion-field.config';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "../info/info.component";
9
- import * as i3 from "../option/option.component";
10
- import * as i4 from "@angular/forms";
11
- import * as i5 from "../../field-container/field-container.component";
12
- import * as i6 from "@angular/material/input";
13
- import * as i7 from "@angular/material/select";
14
- import * as i8 from "@angular/material/core";
15
- declare const UnitConversionFieldMixin: {
16
- new (): {
17
- config: UnitConversionFieldConfig<unknown, unknown>;
18
- group: import("@angular/forms").FormGroup<any>;
19
- control: import("@angular/forms").AbstractControl<any, any>;
20
- _value: any;
21
- value: any;
22
- ngOnInit(): void;
23
- setControlValue(value: any): void;
24
- defaultConfig?: Partial<UnitConversionFieldConfig<unknown, unknown>>;
25
- applyDefaultConfig(): void;
26
- };
27
- };
28
- export declare class UnitConversionFieldComponent extends UnitConversionFieldMixin implements OnInit, OnDestroy {
29
- defaultConfig: Partial<UnitConversionFieldConfig<unknown, unknown>>;
30
- displayValueControl: FormControl<any>;
31
- unitSelectControl: FormControl<any>;
32
- unitOptions$: Observable<SelectOption[]>;
33
- transformationSubscription: Subscription;
34
- ngOnInit(): void;
35
- ngOnDestroy(): void;
36
- setInitialDisplayValue(storedValue: any, unit: unknown): void;
37
- /**
38
- * We override the 'setControlValue' we inherited from crisprControlMixin and add our custom logic,
39
- * This function gets called onInit because were object oriented. it's so great, so great that I'm
40
- * typing a paragraph to explain what the hell is going on...
41
- * @param value the initial value for the control passed down from the form components input
42
- */
43
- setControlValue(value: any): void;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<UnitConversionFieldComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<UnitConversionFieldComponent, "crispr-unit-conversion-field", never, {}, {}, never, never, false>;
46
- }
47
- export declare class UnitConversionFieldModule {
48
- static ɵfac: i0.ɵɵFactoryDeclaration<UnitConversionFieldModule, never>;
49
- static ɵmod: i0.ɵɵNgModuleDeclaration<UnitConversionFieldModule, [typeof UnitConversionFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.ReactiveFormsModule, typeof i5.FieldContainerModule, typeof i6.MatInputModule, typeof i7.MatSelectModule, typeof i8.MatOptionModule], [typeof UnitConversionFieldComponent]>;
50
- static ɵinj: i0.ɵɵInjectorDeclaration<UnitConversionFieldModule>;
51
- }
52
- export {};
@@ -1,9 +0,0 @@
1
- export * from './models';
2
- export * from './models/autocomplete-field.config';
3
- export * from './models/form-group-list.config';
4
- export * from './form.helpers';
5
- export * from './material';
6
- export * from './crispr-forms.module';
7
- export * from './abstracts';
8
- export * from './form/form.component';
9
- export * from './field-container';
Binary file