@tft/crispr-forms 12.2.22 → 13.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 (338) hide show
  1. package/esm2020/index.mjs +2 -0
  2. package/esm2020/lib/abstracts/autocomplete-field.abstract.mjs +30 -0
  3. package/esm2020/lib/abstracts/crispr-control.mixin.mjs +27 -0
  4. package/esm2020/lib/abstracts/crispr-field.abstract.mjs +17 -0
  5. package/esm2020/lib/abstracts/index.mjs +4 -0
  6. package/esm2020/lib/crispr-forms.module.mjs +66 -0
  7. package/esm2020/lib/field-component-map.const.mjs +25 -0
  8. package/esm2020/lib/field-container/field-container.component.mjs +85 -0
  9. package/esm2020/lib/field-container/index.mjs +2 -0
  10. package/esm2020/lib/field.directive.mjs +77 -0
  11. package/esm2020/lib/form/form.component.mjs +54 -0
  12. package/esm2020/lib/form-group-list/form-group-list.component.mjs +51 -0
  13. package/esm2020/lib/form-group-list/form-group-list.module.mjs +54 -0
  14. package/esm2020/lib/form-group-list/index.mjs +3 -0
  15. package/esm2020/lib/form.helpers.mjs +185 -0
  16. package/esm2020/lib/form.operators.mjs +24 -0
  17. package/esm2020/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +111 -0
  18. package/esm2020/lib/material/autocomplete-field/autocomplete-field.component.mjs +70 -0
  19. package/esm2020/lib/material/button/button.component.mjs +35 -0
  20. package/esm2020/lib/material/checkbox-field/checkbox-field.component.mjs +31 -0
  21. package/esm2020/lib/material/datepicker-field/datepicker-field.component.mjs +45 -0
  22. package/esm2020/lib/material/divider/divider.component.mjs +22 -0
  23. package/esm2020/lib/material/file-upload/file-dropzone.directive.mjs +39 -0
  24. package/esm2020/lib/material/file-upload/file-upload.component.mjs +145 -0
  25. package/esm2020/lib/material/file-upload/index.mjs +3 -0
  26. package/esm2020/lib/material/heading/heading.component.mjs +54 -0
  27. package/esm2020/lib/material/image-upload-field/image-compression.helpers.mjs +4 -0
  28. package/esm2020/lib/material/image-upload-field/image-upload-field.component.mjs +213 -0
  29. package/esm2020/lib/material/image-upload-field/index.mjs +2 -0
  30. package/esm2020/lib/material/index.mjs +18 -0
  31. package/esm2020/lib/material/info/info.component.mjs +46 -0
  32. package/esm2020/lib/material/input-field/input-field.component.mjs +27 -0
  33. package/esm2020/lib/material/material.module.mjs +200 -0
  34. package/esm2020/lib/material/option/index.mjs +2 -0
  35. package/esm2020/lib/material/option/option.component.mjs +14 -0
  36. package/esm2020/lib/material/radio-field/radio-field.component.mjs +29 -0
  37. package/esm2020/lib/material/select-field/select-field.component.mjs +58 -0
  38. package/esm2020/lib/material/selected-file/selected-file.component.mjs +47 -0
  39. package/esm2020/lib/material/slider-field/slider-field.component.mjs +30 -0
  40. package/esm2020/lib/material/textarea-field/textarea-field.component.mjs +28 -0
  41. package/esm2020/lib/material/unit-conversion-field/unit-conversion-field.component.mjs +69 -0
  42. package/esm2020/lib/models/autocomplete-chiplist-field.config.mjs +2 -0
  43. package/esm2020/lib/models/autocomplete-field.config.mjs +2 -0
  44. package/esm2020/lib/models/button.config.mjs +2 -0
  45. package/esm2020/lib/models/checkbox-field.config.mjs +2 -0
  46. package/esm2020/lib/models/crispr-field.config.mjs +23 -0
  47. package/esm2020/lib/models/datepicker-field.config.mjs +2 -0
  48. package/esm2020/lib/models/divider.config.mjs +2 -0
  49. package/esm2020/lib/models/file-upload-field.config.mjs +2 -0
  50. package/esm2020/lib/models/form-group-list.config.mjs +2 -0
  51. package/esm2020/lib/models/heading.config.mjs +3 -0
  52. package/esm2020/lib/models/image-upload-field.config.mjs +2 -0
  53. package/esm2020/lib/models/index.mjs +18 -0
  54. package/esm2020/lib/models/input-field.config.mjs +2 -0
  55. package/esm2020/lib/models/radio-field.config.mjs +2 -0
  56. package/esm2020/lib/models/select-field.config.mjs +2 -0
  57. package/esm2020/lib/models/slider-field.config.mjs +2 -0
  58. package/esm2020/lib/models/textarea-field.config.mjs +2 -0
  59. package/esm2020/lib/models/unit-conversion-field.config.mjs +2 -0
  60. package/esm2020/lib/pipes/crispr-pipes.module.mjs +26 -0
  61. package/esm2020/lib/pipes/initial-control-value.pipe.mjs +20 -0
  62. package/esm2020/lib/public_api.mjs +10 -0
  63. package/esm2020/lib/sub-group/index.mjs +3 -0
  64. package/esm2020/lib/sub-group/sub-group.component.mjs +20 -0
  65. package/esm2020/lib/sub-group/sub-group.module.mjs +45 -0
  66. package/esm2020/tft-crispr-forms.mjs +5 -0
  67. package/fesm2015/tft-crispr-forms.mjs +1883 -0
  68. package/fesm2015/tft-crispr-forms.mjs.map +1 -0
  69. package/fesm2020/tft-crispr-forms.mjs +1875 -0
  70. package/fesm2020/tft-crispr-forms.mjs.map +1 -0
  71. package/lib/abstracts/autocomplete-field.abstract.d.ts +4 -1
  72. package/lib/abstracts/crispr-control.mixin.d.ts +1 -1
  73. package/lib/abstracts/crispr-field.abstract.d.ts +4 -1
  74. package/lib/crispr-forms.module.d.ts +14 -0
  75. package/lib/field-component-map.const.d.ts +21 -20
  76. package/lib/field-container/field-container.component.d.ts +11 -1
  77. package/lib/field-container/index.d.ts +1 -0
  78. package/lib/field.directive.d.ts +14 -5
  79. package/lib/form/form.component.d.ts +6 -1
  80. package/lib/form-group-list/form-group-list.component.d.ts +4 -1
  81. package/lib/form-group-list/form-group-list.module.d.ts +15 -0
  82. package/lib/form-group-list/index.d.ts +2 -0
  83. package/lib/form.helpers.d.ts +1 -1
  84. package/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts +3 -0
  85. package/lib/material/autocomplete-field/autocomplete-field.component.d.ts +3 -0
  86. package/lib/material/button/button.component.d.ts +3 -0
  87. package/lib/material/checkbox-field/checkbox-field.component.d.ts +3 -0
  88. package/lib/material/datepicker-field/datepicker-field.component.d.ts +3 -0
  89. package/lib/material/divider/divider.component.d.ts +3 -0
  90. package/lib/material/file-upload/file-dropzone.directive.d.ts +3 -0
  91. package/lib/material/file-upload/file-upload.component.d.ts +20 -2
  92. package/lib/material/file-upload/index.d.ts +2 -0
  93. package/lib/material/heading/heading.component.d.ts +12 -1
  94. package/lib/material/image-upload-field/image-compression.helpers.d.ts +1 -0
  95. package/lib/material/image-upload-field/image-upload-field.component.d.ts +63 -0
  96. package/lib/material/image-upload-field/index.d.ts +1 -0
  97. package/lib/material/index.d.ts +4 -1
  98. package/lib/material/info/info.component.d.ts +12 -1
  99. package/lib/material/input-field/input-field.component.d.ts +3 -0
  100. package/lib/material/material.module.d.ts +42 -0
  101. package/lib/material/option/index.d.ts +1 -0
  102. package/lib/material/option/option.component.d.ts +3 -0
  103. package/lib/material/radio-field/radio-field.component.d.ts +3 -0
  104. package/lib/material/select-field/select-field.component.d.ts +3 -0
  105. package/lib/material/selected-file/selected-file.component.d.ts +10 -0
  106. package/lib/material/slider-field/slider-field.component.d.ts +3 -0
  107. package/lib/material/textarea-field/textarea-field.component.d.ts +3 -0
  108. package/lib/material/unit-conversion-field/unit-conversion-field.component.d.ts +3 -0
  109. package/lib/models/button.config.d.ts +3 -2
  110. package/lib/models/crispr-field.config.d.ts +5 -6
  111. package/lib/models/file-upload-field.config.d.ts +3 -2
  112. package/lib/models/image-upload-field.config.d.ts +47 -0
  113. package/lib/models/index.d.ts +2 -0
  114. package/lib/models/radio-field.config.d.ts +1 -1
  115. package/lib/pipes/crispr-pipes.module.d.ts +8 -0
  116. package/lib/pipes/initial-control-value.pipe.d.ts +3 -0
  117. package/lib/public_api.d.ts +1 -0
  118. package/lib/sub-group/index.d.ts +2 -0
  119. package/lib/sub-group/sub-group.component.d.ts +3 -0
  120. package/lib/sub-group/sub-group.module.d.ts +12 -0
  121. package/package.json +31 -15
  122. package/tft-crispr-forms-13.0.0.tgz +0 -0
  123. package/tft-crispr-forms.d.ts +1 -25
  124. package/bundles/tft-crispr-forms.umd.js +0 -1722
  125. package/bundles/tft-crispr-forms.umd.js.map +0 -1
  126. package/esm2015/index.js +0 -2
  127. package/esm2015/index.js.map +0 -1
  128. package/esm2015/index.metadata.json +0 -1
  129. package/esm2015/lib/abstracts/autocomplete-field.abstract.js +0 -27
  130. package/esm2015/lib/abstracts/autocomplete-field.abstract.js.map +0 -1
  131. package/esm2015/lib/abstracts/autocomplete-field.abstract.metadata.json +0 -1
  132. package/esm2015/lib/abstracts/crispr-control.mixin.js +0 -27
  133. package/esm2015/lib/abstracts/crispr-control.mixin.js.map +0 -1
  134. package/esm2015/lib/abstracts/crispr-control.mixin.metadata.json +0 -1
  135. package/esm2015/lib/abstracts/crispr-field.abstract.js +0 -14
  136. package/esm2015/lib/abstracts/crispr-field.abstract.js.map +0 -1
  137. package/esm2015/lib/abstracts/crispr-field.abstract.metadata.json +0 -1
  138. package/esm2015/lib/abstracts/index.js +0 -4
  139. package/esm2015/lib/abstracts/index.js.map +0 -1
  140. package/esm2015/lib/abstracts/index.metadata.json +0 -1
  141. package/esm2015/lib/crispr-forms.module.js +0 -41
  142. package/esm2015/lib/crispr-forms.module.js.map +0 -1
  143. package/esm2015/lib/crispr-forms.module.metadata.json +0 -1
  144. package/esm2015/lib/crispr-forms.module.ngfactory.js.map +0 -1
  145. package/esm2015/lib/field-component-map.const.js +0 -28
  146. package/esm2015/lib/field-component-map.const.js.map +0 -1
  147. package/esm2015/lib/field-component-map.const.metadata.json +0 -1
  148. package/esm2015/lib/field-container/field-container.component.js +0 -57
  149. package/esm2015/lib/field-container/field-container.component.js.map +0 -1
  150. package/esm2015/lib/field-container/field-container.component.metadata.json +0 -1
  151. package/esm2015/lib/field-container/field-container.component.ngfactory.js.map +0 -1
  152. package/esm2015/lib/field-container/field-container.component.scss.shim.ngstyle.js.map +0 -1
  153. package/esm2015/lib/field.directive.js +0 -55
  154. package/esm2015/lib/field.directive.js.map +0 -1
  155. package/esm2015/lib/field.directive.metadata.json +0 -1
  156. package/esm2015/lib/field.directive.ngfactory.js.map +0 -1
  157. package/esm2015/lib/form/form.component.js +0 -40
  158. package/esm2015/lib/form/form.component.js.map +0 -1
  159. package/esm2015/lib/form/form.component.metadata.json +0 -1
  160. package/esm2015/lib/form/form.component.ngfactory.js.map +0 -1
  161. package/esm2015/lib/form/form.component.scss.shim.ngstyle.js.map +0 -1
  162. package/esm2015/lib/form-group-list/form-group-list.component.js +0 -44
  163. package/esm2015/lib/form-group-list/form-group-list.component.js.map +0 -1
  164. package/esm2015/lib/form-group-list/form-group-list.component.metadata.json +0 -1
  165. package/esm2015/lib/form-group-list/form-group-list.component.ngfactory.js.map +0 -1
  166. package/esm2015/lib/form-group-list/form-group-list.component.scss.shim.ngstyle.js.map +0 -1
  167. package/esm2015/lib/form.helpers.js +0 -186
  168. package/esm2015/lib/form.helpers.js.map +0 -1
  169. package/esm2015/lib/form.helpers.metadata.json +0 -1
  170. package/esm2015/lib/form.operators.js +0 -24
  171. package/esm2015/lib/form.operators.js.map +0 -1
  172. package/esm2015/lib/form.operators.metadata.json +0 -1
  173. package/esm2015/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.js +0 -101
  174. package/esm2015/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.js.map +0 -1
  175. package/esm2015/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.metadata.json +0 -1
  176. package/esm2015/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.ngfactory.js.map +0 -1
  177. package/esm2015/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.scss.shim.ngstyle.js.map +0 -1
  178. package/esm2015/lib/material/autocomplete-field/autocomplete-field.component.js +0 -60
  179. package/esm2015/lib/material/autocomplete-field/autocomplete-field.component.js.map +0 -1
  180. package/esm2015/lib/material/autocomplete-field/autocomplete-field.component.metadata.json +0 -1
  181. package/esm2015/lib/material/autocomplete-field/autocomplete-field.component.ngfactory.js.map +0 -1
  182. package/esm2015/lib/material/autocomplete-field/autocomplete-field.component.scss.shim.ngstyle.js.map +0 -1
  183. package/esm2015/lib/material/button/button.component.js +0 -30
  184. package/esm2015/lib/material/button/button.component.js.map +0 -1
  185. package/esm2015/lib/material/button/button.component.metadata.json +0 -1
  186. package/esm2015/lib/material/button/button.component.ngfactory.js.map +0 -1
  187. package/esm2015/lib/material/button/button.component.scss.shim.ngstyle.js.map +0 -1
  188. package/esm2015/lib/material/checkbox-field/checkbox-field.component.js +0 -25
  189. package/esm2015/lib/material/checkbox-field/checkbox-field.component.js.map +0 -1
  190. package/esm2015/lib/material/checkbox-field/checkbox-field.component.metadata.json +0 -1
  191. package/esm2015/lib/material/checkbox-field/checkbox-field.component.ngfactory.js.map +0 -1
  192. package/esm2015/lib/material/checkbox-field/checkbox-field.component.scss.shim.ngstyle.js.map +0 -1
  193. package/esm2015/lib/material/datepicker-field/datepicker-field.component.js +0 -45
  194. package/esm2015/lib/material/datepicker-field/datepicker-field.component.js.map +0 -1
  195. package/esm2015/lib/material/datepicker-field/datepicker-field.component.metadata.json +0 -1
  196. package/esm2015/lib/material/datepicker-field/datepicker-field.component.ngfactory.js.map +0 -1
  197. package/esm2015/lib/material/datepicker-field/datepicker-field.component.scss.shim.ngstyle.js.map +0 -1
  198. package/esm2015/lib/material/divider/divider.component.js +0 -20
  199. package/esm2015/lib/material/divider/divider.component.js.map +0 -1
  200. package/esm2015/lib/material/divider/divider.component.metadata.json +0 -1
  201. package/esm2015/lib/material/divider/divider.component.ngfactory.js.map +0 -1
  202. package/esm2015/lib/material/divider/divider.component.scss.shim.ngstyle.js.map +0 -1
  203. package/esm2015/lib/material/file-upload/file-dropzone.directive.js +0 -31
  204. package/esm2015/lib/material/file-upload/file-dropzone.directive.js.map +0 -1
  205. package/esm2015/lib/material/file-upload/file-dropzone.directive.metadata.json +0 -1
  206. package/esm2015/lib/material/file-upload/file-dropzone.directive.ngfactory.js.map +0 -1
  207. package/esm2015/lib/material/file-upload/file-upload.component.js +0 -80
  208. package/esm2015/lib/material/file-upload/file-upload.component.js.map +0 -1
  209. package/esm2015/lib/material/file-upload/file-upload.component.metadata.json +0 -1
  210. package/esm2015/lib/material/file-upload/file-upload.component.ngfactory.js.map +0 -1
  211. package/esm2015/lib/material/file-upload/file-upload.component.scss.shim.ngstyle.js.map +0 -1
  212. package/esm2015/lib/material/heading/heading.component.js +0 -23
  213. package/esm2015/lib/material/heading/heading.component.js.map +0 -1
  214. package/esm2015/lib/material/heading/heading.component.metadata.json +0 -1
  215. package/esm2015/lib/material/heading/heading.component.ngfactory.js.map +0 -1
  216. package/esm2015/lib/material/heading/heading.component.scss.shim.ngstyle.js.map +0 -1
  217. package/esm2015/lib/material/index.js +0 -15
  218. package/esm2015/lib/material/index.js.map +0 -1
  219. package/esm2015/lib/material/index.metadata.json +0 -1
  220. package/esm2015/lib/material/info/info.component.js +0 -15
  221. package/esm2015/lib/material/info/info.component.js.map +0 -1
  222. package/esm2015/lib/material/info/info.component.metadata.json +0 -1
  223. package/esm2015/lib/material/info/info.component.ngfactory.js.map +0 -1
  224. package/esm2015/lib/material/info/info.component.scss.shim.ngstyle.js.map +0 -1
  225. package/esm2015/lib/material/input-field/input-field.component.js +0 -22
  226. package/esm2015/lib/material/input-field/input-field.component.js.map +0 -1
  227. package/esm2015/lib/material/input-field/input-field.component.metadata.json +0 -1
  228. package/esm2015/lib/material/input-field/input-field.component.ngfactory.js.map +0 -1
  229. package/esm2015/lib/material/input-field/input-field.component.scss.shim.ngstyle.js.map +0 -1
  230. package/esm2015/lib/material/material.module.js +0 -107
  231. package/esm2015/lib/material/material.module.js.map +0 -1
  232. package/esm2015/lib/material/material.module.metadata.json +0 -1
  233. package/esm2015/lib/material/material.module.ngfactory.js.map +0 -1
  234. package/esm2015/lib/material/option/option.component.js +0 -15
  235. package/esm2015/lib/material/option/option.component.js.map +0 -1
  236. package/esm2015/lib/material/option/option.component.metadata.json +0 -1
  237. package/esm2015/lib/material/option/option.component.ngfactory.js.map +0 -1
  238. package/esm2015/lib/material/option/option.component.scss.shim.ngstyle.js.map +0 -1
  239. package/esm2015/lib/material/radio-field/radio-field.component.js +0 -25
  240. package/esm2015/lib/material/radio-field/radio-field.component.js.map +0 -1
  241. package/esm2015/lib/material/radio-field/radio-field.component.metadata.json +0 -1
  242. package/esm2015/lib/material/radio-field/radio-field.component.ngfactory.js.map +0 -1
  243. package/esm2015/lib/material/radio-field/radio-field.component.scss.shim.ngstyle.js.map +0 -1
  244. package/esm2015/lib/material/select-field/select-field.component.js +0 -50
  245. package/esm2015/lib/material/select-field/select-field.component.js.map +0 -1
  246. package/esm2015/lib/material/select-field/select-field.component.metadata.json +0 -1
  247. package/esm2015/lib/material/select-field/select-field.component.ngfactory.js.map +0 -1
  248. package/esm2015/lib/material/select-field/select-field.component.scss.shim.ngstyle.js.map +0 -1
  249. package/esm2015/lib/material/selected-file/selected-file.component.js +0 -17
  250. package/esm2015/lib/material/selected-file/selected-file.component.js.map +0 -1
  251. package/esm2015/lib/material/selected-file/selected-file.component.metadata.json +0 -1
  252. package/esm2015/lib/material/selected-file/selected-file.component.ngfactory.js.map +0 -1
  253. package/esm2015/lib/material/selected-file/selected-file.component.scss.shim.ngstyle.js.map +0 -1
  254. package/esm2015/lib/material/slider-field/slider-field.component.js +0 -26
  255. package/esm2015/lib/material/slider-field/slider-field.component.js.map +0 -1
  256. package/esm2015/lib/material/slider-field/slider-field.component.metadata.json +0 -1
  257. package/esm2015/lib/material/slider-field/slider-field.component.ngfactory.js.map +0 -1
  258. package/esm2015/lib/material/slider-field/slider-field.component.scss.shim.ngstyle.js.map +0 -1
  259. package/esm2015/lib/material/textarea-field/textarea-field.component.js +0 -22
  260. package/esm2015/lib/material/textarea-field/textarea-field.component.js.map +0 -1
  261. package/esm2015/lib/material/textarea-field/textarea-field.component.metadata.json +0 -1
  262. package/esm2015/lib/material/textarea-field/textarea-field.component.ngfactory.js.map +0 -1
  263. package/esm2015/lib/material/textarea-field/textarea-field.component.scss.shim.ngstyle.js.map +0 -1
  264. package/esm2015/lib/material/unit-conversion-field/unit-conversion-field.component.js +0 -63
  265. package/esm2015/lib/material/unit-conversion-field/unit-conversion-field.component.js.map +0 -1
  266. package/esm2015/lib/material/unit-conversion-field/unit-conversion-field.component.metadata.json +0 -1
  267. package/esm2015/lib/material/unit-conversion-field/unit-conversion-field.component.ngfactory.js.map +0 -1
  268. package/esm2015/lib/material/unit-conversion-field/unit-conversion-field.component.scss.shim.ngstyle.js.map +0 -1
  269. package/esm2015/lib/models/autocomplete-chiplist-field.config.js +0 -2
  270. package/esm2015/lib/models/autocomplete-chiplist-field.config.js.map +0 -1
  271. package/esm2015/lib/models/autocomplete-chiplist-field.config.metadata.json +0 -1
  272. package/esm2015/lib/models/autocomplete-field.config.js +0 -2
  273. package/esm2015/lib/models/autocomplete-field.config.js.map +0 -1
  274. package/esm2015/lib/models/autocomplete-field.config.metadata.json +0 -1
  275. package/esm2015/lib/models/button.config.js +0 -2
  276. package/esm2015/lib/models/button.config.js.map +0 -1
  277. package/esm2015/lib/models/button.config.metadata.json +0 -1
  278. package/esm2015/lib/models/checkbox-field.config.js +0 -2
  279. package/esm2015/lib/models/checkbox-field.config.js.map +0 -1
  280. package/esm2015/lib/models/checkbox-field.config.metadata.json +0 -1
  281. package/esm2015/lib/models/crispr-field.config.js +0 -22
  282. package/esm2015/lib/models/crispr-field.config.js.map +0 -1
  283. package/esm2015/lib/models/crispr-field.config.metadata.json +0 -1
  284. package/esm2015/lib/models/datepicker-field.config.js +0 -2
  285. package/esm2015/lib/models/datepicker-field.config.js.map +0 -1
  286. package/esm2015/lib/models/datepicker-field.config.metadata.json +0 -1
  287. package/esm2015/lib/models/divider.config.js +0 -2
  288. package/esm2015/lib/models/divider.config.js.map +0 -1
  289. package/esm2015/lib/models/divider.config.metadata.json +0 -1
  290. package/esm2015/lib/models/file-upload-field.config.js +0 -2
  291. package/esm2015/lib/models/file-upload-field.config.js.map +0 -1
  292. package/esm2015/lib/models/file-upload-field.config.metadata.json +0 -1
  293. package/esm2015/lib/models/form-group-list.config.js +0 -2
  294. package/esm2015/lib/models/form-group-list.config.js.map +0 -1
  295. package/esm2015/lib/models/form-group-list.config.metadata.json +0 -1
  296. package/esm2015/lib/models/heading.config.js +0 -3
  297. package/esm2015/lib/models/heading.config.js.map +0 -1
  298. package/esm2015/lib/models/heading.config.metadata.json +0 -1
  299. package/esm2015/lib/models/index.js +0 -16
  300. package/esm2015/lib/models/index.js.map +0 -1
  301. package/esm2015/lib/models/index.metadata.json +0 -1
  302. package/esm2015/lib/models/input-field.config.js +0 -2
  303. package/esm2015/lib/models/input-field.config.js.map +0 -1
  304. package/esm2015/lib/models/input-field.config.metadata.json +0 -1
  305. package/esm2015/lib/models/radio-field.config.js +0 -2
  306. package/esm2015/lib/models/radio-field.config.js.map +0 -1
  307. package/esm2015/lib/models/radio-field.config.metadata.json +0 -1
  308. package/esm2015/lib/models/select-field.config.js +0 -2
  309. package/esm2015/lib/models/select-field.config.js.map +0 -1
  310. package/esm2015/lib/models/select-field.config.metadata.json +0 -1
  311. package/esm2015/lib/models/slider-field.config.js +0 -2
  312. package/esm2015/lib/models/slider-field.config.js.map +0 -1
  313. package/esm2015/lib/models/slider-field.config.metadata.json +0 -1
  314. package/esm2015/lib/models/textarea-field.config.js +0 -2
  315. package/esm2015/lib/models/textarea-field.config.js.map +0 -1
  316. package/esm2015/lib/models/textarea-field.config.metadata.json +0 -1
  317. package/esm2015/lib/models/unit-conversion-field.config.js +0 -2
  318. package/esm2015/lib/models/unit-conversion-field.config.js.map +0 -1
  319. package/esm2015/lib/models/unit-conversion-field.config.metadata.json +0 -1
  320. package/esm2015/lib/pipes/initial-control-value.pipe.js +0 -16
  321. package/esm2015/lib/pipes/initial-control-value.pipe.js.map +0 -1
  322. package/esm2015/lib/pipes/initial-control-value.pipe.metadata.json +0 -1
  323. package/esm2015/lib/pipes/initial-control-value.pipe.ngfactory.js.map +0 -1
  324. package/esm2015/lib/public_api.js +0 -9
  325. package/esm2015/lib/public_api.js.map +0 -1
  326. package/esm2015/lib/public_api.metadata.json +0 -1
  327. package/esm2015/lib/sub-group/sub-group.component.js +0 -17
  328. package/esm2015/lib/sub-group/sub-group.component.js.map +0 -1
  329. package/esm2015/lib/sub-group/sub-group.component.metadata.json +0 -1
  330. package/esm2015/lib/sub-group/sub-group.component.ngfactory.js.map +0 -1
  331. package/esm2015/lib/sub-group/sub-group.component.scss.shim.ngstyle.js.map +0 -1
  332. package/esm2015/tft-crispr-forms.js +0 -30
  333. package/esm2015/tft-crispr-forms.js.map +0 -1
  334. package/esm2015/tft-crispr-forms.metadata.json +0 -1
  335. package/fesm2015/tft-crispr-forms.js +0 -1266
  336. package/fesm2015/tft-crispr-forms.js.map +0 -1
  337. package/tft-crispr-forms-12.2.22.tgz +0 -0
  338. package/tft-crispr-forms.metadata.json +0 -1
@@ -1,63 +0,0 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { combineLatest } from 'rxjs';
4
- import { startWith } from 'rxjs/operators';
5
- import { crisprControlMixin, CrisprFieldComponent } from '../../abstracts';
6
- import { observablifyOptions } from '../../form.helpers';
7
- const defaultConfig = {};
8
- const UnitConversionFieldMixin = crisprControlMixin(CrisprFieldComponent);
9
- export class UnitConversionFieldComponent extends UnitConversionFieldMixin {
10
- constructor() {
11
- super(...arguments);
12
- this.defaultConfig = defaultConfig;
13
- this.displayValueControl = new FormControl();
14
- this.unitSelectControl = new FormControl();
15
- }
16
- ngOnInit() {
17
- var _a, _b;
18
- super.ngOnInit();
19
- // TODO: Validators need work. validation is tricky because the input needs to be validated against but the validator will compare against the controls value
20
- // this.displayValueControl.setValidators(this.config.validators);
21
- const controlValuePipeline = [
22
- this.displayValueControl.valueChanges.pipe(startWith(this.displayValueControl.value))
23
- ];
24
- // setup all required pieces when showing a field for selecting units
25
- if (this.config.showUnitSelect) {
26
- this.unitOptions$ = observablifyOptions(this.config.selectableUnits, this.group);
27
- controlValuePipeline.push(this.unitSelectControl.valueChanges.pipe(startWith(((_a = this.config) === null || _a === void 0 ? void 0 : _a.initialDisplayUnit) || null)));
28
- this.unitSelectControl.setValue(((_b = this.config) === null || _b === void 0 ? void 0 : _b.initialDisplayUnit) || null);
29
- }
30
- this.transformationSubscription = combineLatest(controlValuePipeline).subscribe(([displayValue, unitValue]) => {
31
- const computedValue = this.config.storedValueConversion(displayValue, unitValue);
32
- this.control.setValue(computedValue);
33
- });
34
- }
35
- ngOnDestroy() {
36
- this.transformationSubscription.unsubscribe();
37
- }
38
- setInitialDisplayValue(storedValue, unit) {
39
- const initialDisplayValue = this.config.initialDisplayValueConversion(storedValue || null, unit);
40
- this.displayValueControl.setValue(initialDisplayValue);
41
- }
42
- /**
43
- * We override the 'setControlValue' we inherited from crisprControlMixin and add our custom logic,
44
- * This function gets called onInit because were object oriented. it's so great, so great that I'm
45
- * typing a paragraph to explain what the hell is going on...
46
- * @param value the initial value for the control passed down from the form components input
47
- */
48
- setControlValue(value) {
49
- var _a;
50
- const initialUnitValue = this.config.showUnitSelect ? (_a = this.config) === null || _a === void 0 ? void 0 : _a.initialDisplayUnit : null;
51
- this.setInitialDisplayValue(value, initialUnitValue);
52
- }
53
- }
54
- UnitConversionFieldComponent.decorators = [
55
- { type: Component, args: [{
56
- // eslint-disable-next-line @angular-eslint/component-selector
57
- selector: 'crispr-unit-conversion-field',
58
- template: "<crispr-field-container\n [config]=\"config\"\n [group]=\"group\">\n <mat-form-field\n [style.width.%]=\"config.showUnitSelect ? 60 : 100\"\n class=\"number-field\"\n [color]=\"config.color\"\n [appearance]=\"config.appearance\">\n <mat-label *ngIf=\"config.label\">\n {{config.label}}\n </mat-label>\n <input\n type=\"number\"\n matInput\n [formControl]=\"displayValueControl\"\n [placeholder]=\"config.placeholder\"\n [min]=\"config.min\"\n [max]=\"config.max\"\n [step]=\"config.step\"\n [autofocus]=\"config.autofocus\">\n <span *ngIf=\"config.fieldSuffix\" matSuffix>{{config.fieldSuffix}}</span>\n <crispr-info\n matSuffix\n *ngIf=\"config.info\"\n [info]=\"config.info\">\n </crispr-info>\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"config.showUnitSelect\"\n [color]=\"config.color\"\n [appearance]=\"config.appearance\"\n [formGroup]=\"group\"\n class=\"unit-field\">\n <mat-label *ngIf=\"config.label\">\n {{config.label}}\n </mat-label>\n <mat-select\n #selectField\n [formControl]=\"unitSelectControl\">\n\n <mat-option\n *ngFor=\"let option of unitOptions$ | async\"\n [value]=\"option.value\">\n <crispr-option [option]=\"option\">\n </crispr-option>\n </mat-option>\n\n </mat-select>\n\n <!-- <span *ngIf=\"config.fieldSuffix\" matSuffix>{{config.fieldSuffix}}</span> -->\n <!-- <crispr-info\n *ngIf=\"config.info\"\n matSuffix\n [info]=\"config.info\">\n </crispr-info> -->\n </mat-form-field>\n\n\n</crispr-field-container>\n",
59
- changeDetection: ChangeDetectionStrategy.OnPush,
60
- styles: [".unit-field{width:40%;margin-left:16px}:host ::ng-deep .field-container{display:flex}"]
61
- },] }
62
- ];
63
- //# sourceMappingURL=unit-conversion-field.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unit-conversion-field.component.js","sourceRoot":"","sources":["../../../../../../../libs/crispr-forms/src/lib/material/unit-conversion-field/unit-conversion-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,uBAAuB,EAAa,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAA4B,MAAM,MAAM,CAAC;AAC/D,OAAO,EAAe,SAAS,EAAO,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAIzD,MAAM,aAAa,GAAuC,EAAE,CAAC;AAC7D,MAAM,wBAAwB,GAAG,kBAAkB,CAA4B,oBAAoB,CAAC,CAAC;AASrG,MAAM,OAAO,4BAA6B,SAAQ,wBAAwB;IAP1E;;QAQE,kBAAa,GAAG,aAAa,CAAC;QAE9B,wBAAmB,GAAG,IAAI,WAAW,EAAE,CAAC;QACxC,sBAAiB,GAAG,IAAI,WAAW,EAAE,CAAC;IA6CxC,CAAC;IAxCC,QAAQ;;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;QACjB,6JAA6J;QAC7J,kEAAkE;QAElE,MAAM,oBAAoB,GAAyB;YACjD,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;SACtF,CAAC;QACF,qEAAqE;QACrE,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE;YAC9B,IAAI,CAAC,YAAY,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;YAChF,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,kBAAkB,KAAI,IAAI,CAAC,CAAC,CAAC,CAAC;YACxH,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,kBAAkB,KAAI,IAAI,CAAC,CAAC;SAC1E;QAED,IAAI,CAAC,0BAA0B,GAAG,aAAa,CAAC,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,EAAE,EAAE;YAC5G,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;YACjF,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,WAAW;QACT,IAAI,CAAC,0BAA0B,CAAC,WAAW,EAAE,CAAC;IAChD,CAAC;IAED,sBAAsB,CAAC,WAAgB,EAAE,IAAa;QACpD,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAC,6BAA6B,CAAC,WAAW,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC;QACjG,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACH,eAAe,CAAC,KAAK;;QACnB,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,MAAA,IAAI,CAAC,MAAM,0CAAE,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7F,IAAI,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;IACvD,CAAC;;;YAvDF,SAAS,SAAC;gBACT,8DAA8D;gBAC9D,QAAQ,EAAE,8BAA8B;gBACxC,2nDAAqD;gBAErD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD","sourcesContent":["import { Component, OnInit, ChangeDetectionStrategy, OnDestroy } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { combineLatest, Observable, Subscription } from 'rxjs';\nimport { shareReplay, startWith, tap } from 'rxjs/operators';\nimport { crisprControlMixin, CrisprFieldComponent } from '../../abstracts';\nimport { observablifyOptions } from '../../form.helpers';\nimport { SelectOption } from '../../models';\nimport { UnitConversionFieldConfig } from '../../models/unit-conversion-field.config';\n\nconst defaultConfig: Partial<UnitConversionFieldConfig> = {};\nconst UnitConversionFieldMixin = crisprControlMixin<UnitConversionFieldConfig>(CrisprFieldComponent);\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'crispr-unit-conversion-field',\n templateUrl: './unit-conversion-field.component.html',\n styleUrls: ['./unit-conversion-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class UnitConversionFieldComponent extends UnitConversionFieldMixin implements OnInit, OnDestroy {\n defaultConfig = defaultConfig;\n\n displayValueControl = new FormControl();\n unitSelectControl = new FormControl();\n unitOptions$: Observable<SelectOption[]>;\n\n transformationSubscription: Subscription;\n\n ngOnInit() {\n super.ngOnInit();\n // TODO: Validators need work. validation is tricky because the input needs to be validated against but the validator will compare against the controls value\n // this.displayValueControl.setValidators(this.config.validators);\n\n const controlValuePipeline: Observable<string>[] = [\n this.displayValueControl.valueChanges.pipe(startWith(this.displayValueControl.value))\n ];\n // setup all required pieces when showing a field for selecting units\n if (this.config.showUnitSelect) {\n this.unitOptions$ = observablifyOptions(this.config.selectableUnits, this.group)\n controlValuePipeline.push(this.unitSelectControl.valueChanges.pipe(startWith(this.config?.initialDisplayUnit || null)));\n this.unitSelectControl.setValue(this.config?.initialDisplayUnit || null);\n }\n\n this.transformationSubscription = combineLatest(controlValuePipeline).subscribe(([displayValue, unitValue] )=> {\n const computedValue = this.config.storedValueConversion(displayValue, unitValue);\n this.control.setValue(computedValue);\n });\n }\n\n ngOnDestroy() {\n this.transformationSubscription.unsubscribe();\n }\n\n setInitialDisplayValue(storedValue: any, unit: unknown) {\n const initialDisplayValue = this.config.initialDisplayValueConversion(storedValue || null, unit);\n this.displayValueControl.setValue(initialDisplayValue);\n }\n\n /**\n * We override the 'setControlValue' we inherited from crisprControlMixin and add our custom logic,\n * This function gets called onInit because were object oriented. it's so great, so great that I'm\n * typing a paragraph to explain what the hell is going on...\n * @param value the initial value for the control passed down from the form components input\n */\n setControlValue(value) {\n const initialUnitValue = this.config.showUnitSelect ? this.config?.initialDisplayUnit : null;\n this.setInitialDisplayValue(value, initialUnitValue);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"UnitConversionFieldComponent":{"__symbolic":"class","extends":{"__symbolic":"error","message":"Symbol reference expected","line":19,"character":50},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"crispr-unit-conversion-field","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":17,"character":19},"member":"OnPush"},"template":"<crispr-field-container\n [config]=\"config\"\n [group]=\"group\">\n <mat-form-field\n [style.width.%]=\"config.showUnitSelect ? 60 : 100\"\n class=\"number-field\"\n [color]=\"config.color\"\n [appearance]=\"config.appearance\">\n <mat-label *ngIf=\"config.label\">\n {{config.label}}\n </mat-label>\n <input\n type=\"number\"\n matInput\n [formControl]=\"displayValueControl\"\n [placeholder]=\"config.placeholder\"\n [min]=\"config.min\"\n [max]=\"config.max\"\n [step]=\"config.step\"\n [autofocus]=\"config.autofocus\">\n <span *ngIf=\"config.fieldSuffix\" matSuffix>{{config.fieldSuffix}}</span>\n <crispr-info\n matSuffix\n *ngIf=\"config.info\"\n [info]=\"config.info\">\n </crispr-info>\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"config.showUnitSelect\"\n [color]=\"config.color\"\n [appearance]=\"config.appearance\"\n [formGroup]=\"group\"\n class=\"unit-field\">\n <mat-label *ngIf=\"config.label\">\n {{config.label}}\n </mat-label>\n <mat-select\n #selectField\n [formControl]=\"unitSelectControl\">\n\n <mat-option\n *ngFor=\"let option of unitOptions$ | async\"\n [value]=\"option.value\">\n <crispr-option [option]=\"option\">\n </crispr-option>\n </mat-option>\n\n </mat-select>\n\n <!-- <span *ngIf=\"config.fieldSuffix\" matSuffix>{{config.fieldSuffix}}</span> -->\n <!-- <crispr-info\n *ngIf=\"config.info\"\n matSuffix\n [info]=\"config.info\">\n </crispr-info> -->\n </mat-form-field>\n\n\n</crispr-field-container>\n","styles":[".unit-field{width:40%;margin-left:16px}:host ::ng-deep .field-container{display:flex}"]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"setInitialDisplayValue":[{"__symbolic":"method"}],"setControlValue":[{"__symbolic":"method"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"unit-conversion-field.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../libs/crispr-forms/src/lib/material/unit-conversion-field/unit-conversion-field.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"unit-conversion-field.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../libs/crispr-forms/src/lib/material/unit-conversion-field/unit-conversion-field.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=autocomplete-chiplist-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autocomplete-chiplist-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/autocomplete-chiplist-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { AbstractAutocompleteFieldConfig, SelectOption } from './index';\nimport { ControlType, FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface AutocompleteChiplistFieldConfig extends AbstractAutocompleteFieldConfig,\n FieldDescriptors,\n MatFieldProperties {\n controlType: ControlType.AUTOCOMPLETE_CHIPLIST;\n autoActiveFirstOption?: boolean;\n chipsSelectable?: boolean;\n areChipsRemovable?: boolean;\n allowDuplicates?: boolean;\n duplicateCompareFunction?: (chip: SelectOption, availableOption: SelectOption) => boolean,\n /**\n * Pass in any key codes to use for selection\n */\n separatorKeyCodes?: number[];\n tabToSelect?: boolean;\n /**\n * @deprecated replaced with tabToSelect as it is more accurate\n */\n addChipOnBlur?: boolean;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"AutocompleteChiplistFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=autocomplete-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autocomplete-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/autocomplete-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, ControlType } from '../models';\nimport { AutocompleteOptionsCallback, SelectOption } from './select-field.config';\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface AbstractAutocompleteFieldConfig extends CrisprControlConfig,\n FieldDescriptors,\n MatFieldProperties\n {\n typeToEmit?: boolean;\n typeDebounceTime?: number;\n emptyOptionsMessage?: string;\n options: AutocompleteOptionsCallback;\n autoActiveFirstOption?: boolean;\n imageUrlParam?: string;\n displayWith?: (options: SelectOption[]) => (value: unknown) => string;\n}\n\nexport interface AutocompleteFieldConfig extends AbstractAutocompleteFieldConfig {\n controlType: ControlType.AUTOCOMPLETE;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"AbstractAutocompleteFieldConfig":{"__symbolic":"interface"},"AutocompleteFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=button.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/button.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprFieldConfig, ControlType, FieldDescriptors, MatFieldProperties, Info } from './crispr-field.config';\nimport { ThemePalette } from '@angular/material/core';\nimport { FormGroup } from '@angular/forms';\n\nexport interface ButtonConfig extends CrisprFieldConfig,\n Pick<FieldDescriptors, 'label'>,\n MatFieldProperties {\n\n controlType: ControlType.BUTTON;\n type?: 'submit' | 'reset' | 'button';\n callback?: (group?: FormGroup, event?: MouseEvent) => unknown;\n buttonType?: MatButtonType;\n color?: ThemePalette;\n icon?: string;\n info?: Omit<Info, 'iconName'>;\n disabledOnInvalidForm?: boolean;\n}\n\nexport type ButtonType = 'submit' | 'reset' | 'button';\n\ntype MatButtonType = 'raised' | 'flat' | 'stroked' | 'icon'; // TODO: 'fab' || 'mini-fab'\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ButtonConfig":{"__symbolic":"interface"},"ButtonType":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=checkbox-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/checkbox-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, ControlType } from '../models';\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface CheckboxFieldConfig extends\n CrisprControlConfig,\n Pick<FieldDescriptors, 'label' | 'info'>,\n Pick<MatFieldProperties, 'color'>\n {\n controlType: ControlType.CHECKBOX;\n labelPosition?: 'before' | 'after';\n // TODO: @david I think we might be able to get rid of this after changing 'text' to 'label'\n inline?: boolean;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"CheckboxFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,22 +0,0 @@
1
- // export type ControlType = keyof typeof FIELD_COMPONENTS;
2
- export var ControlType;
3
- (function (ControlType) {
4
- ControlType["AUTOCOMPLETE"] = "autocomplete";
5
- ControlType["AUTOCOMPLETE_CHIPLIST"] = "autocompleteChiplist";
6
- ControlType["BUTTON"] = "button";
7
- ControlType["CHECKBOX"] = "checkbox";
8
- ControlType["CUSTOM"] = "custom";
9
- ControlType["DATEPICKER"] = "datepicker";
10
- ControlType["DIVIDER"] = "divider";
11
- ControlType["FILE_UPLOAD"] = "fileUpload";
12
- ControlType["HEADING"] = "heading";
13
- ControlType["INPUT"] = "input";
14
- ControlType["GROUP_LIST"] = "groupList";
15
- ControlType["RADIO"] = "radio";
16
- ControlType["SELECT"] = "select";
17
- ControlType["SLIDER"] = "slider";
18
- ControlType["SUB_GROUP"] = "subGroup";
19
- ControlType["TEXTAREA"] = "textarea";
20
- ControlType["UNIT_CONVERSION"] = "unitConversion";
21
- })(ControlType || (ControlType = {}));
22
- //# sourceMappingURL=crispr-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crispr-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/crispr-field.config.ts"],"names":[],"mappings":"AAgCA,2DAA2D;AAC3D,MAAM,CAAN,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB,4CAA6B,CAAA;IAC7B,6DAA8C,CAAA;IAC9C,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,wCAAyB,CAAA;IACzB,kCAAmB,CAAA;IACnB,yCAA0B,CAAA;IAC1B,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,qCAAsB,CAAA;IACtB,oCAAqB,CAAA;IACrB,iDAAkC,CAAA;AACpC,CAAC,EAlBW,WAAW,KAAX,WAAW,QAkBtB","sourcesContent":["import { FormGroup, ValidatorFn } from '@angular/forms';\nimport { Observable, ObservableInput } from 'rxjs';\nimport { TooltipPosition } from '@angular/material/tooltip';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\n\nimport { ErrorDictionary } from '@tft/form-validation-handler';\nimport {\n ComputeFieldConfig,\n CheckControlConfig,\n CheckControlsConfig,\n} from '../form.helpers';\nimport {\n SelectFieldConfig,\n HeadingConfig,\n ButtonConfig,\n DatepickerFieldConfig,\n InputFieldConfig,\n CheckboxFieldConfig,\n TextareaFieldConfig,\n AutocompleteFieldConfig,\n FormGroupListConfig,\n AutocompleteChiplistFieldConfig,\n SliderFieldConfig,\n DividerConfig,\n SelectOption,\n RadioFieldConfig\n} from '../models';\n\nimport { ThemePalette } from '@angular/material/core';\nimport { FileUploadFieldConfig } from './file-upload-field.config';\nimport { UnitConversionFieldConfig } from './unit-conversion-field.config';\n\n// export type ControlType = keyof typeof FIELD_COMPONENTS;\nexport enum ControlType {\n AUTOCOMPLETE = 'autocomplete',\n AUTOCOMPLETE_CHIPLIST = 'autocompleteChiplist',\n BUTTON = 'button',\n CHECKBOX = 'checkbox',\n CUSTOM = 'custom',\n DATEPICKER = 'datepicker',\n DIVIDER = 'divider',\n FILE_UPLOAD = 'fileUpload',\n HEADING = 'heading',\n INPUT = 'input',\n GROUP_LIST = 'groupList',\n RADIO = 'radio',\n SELECT = 'select',\n SLIDER = 'slider',\n SUB_GROUP = 'subGroup',\n TEXTAREA = 'textarea',\n UNIT_CONVERSION = 'unitConversion',\n}\n\n/**\n * The base interface for all the fields in the form's config\n */\nexport interface CrisprFieldConfig {\n controlType?: ControlType;\n classes?: string[];\n component?: any; // TODO: Define this better\n}\n\n// export function isCustomConfig(config: AnyFieldConfig): config is CustomFieldConfig {\n// return 'component' in config;\n// }\n// export interface CustomFieldConfig extends CrisprFieldConfig {\n// controlType: ControlType.CUSTOM;\n// component?: any; // TODO: type better\n// }\ntype RestrictedControlName<M> = M extends null ? string : keyof M;\n/**\n * The base interface for all control configs\n */\nexport interface CrisprControlConfig<M = null> extends CrisprFieldConfig {\n controlName: RestrictedControlName<M>\n controlType: ControlType;\n validators?: ValidatorFn[];\n // TODO: Determine if this is necessary\n /**\n * @deprecated please us computeValue instead\n */\n computeFieldConfig?: ComputeFieldConfig;\n computeValue?: (group: FormGroup) => Observable<unknown>;\n disabledCallback?: (group: FormGroup, config?: any) => Observable<boolean>;\n disabledCallbackConfig?: CheckControlConfig | CheckControlsConfig | any; // any is required for user defined configs\n hideDisabled?: boolean; // defaults to false\n heading?: HeadingConfig;\n}\n\n/**\n * Holds properties for control fields that describe field behavior to users\n */\nexport interface FieldDescriptors {\n label?: string;\n info?: Info;\n fieldSuffix?: string;\n placeholder?: string;\n}\n\nexport interface MatFieldProperties {\n appearance?: MatFormFieldAppearance;\n color?: ThemePalette;\n}\n\nexport interface Info {\n content: string;\n tooltipPosition?: TooltipPosition;\n iconName?: string;\n}\n\n// TODO: having AnyFieldConfig as the default for C seems redundant and silly\nexport interface AbstractGroupConfig<C extends CrisprFieldConfig = AnyFieldConfig, M = any> {\n // this union is needed, it joins any custom config provided by users to our default config options\n fields?: (AnyFieldConfig | C)[];\n}\nexport interface FormConfig<C = AnyFieldConfig> extends AbstractGroupConfig<C> {\n classes?: string[];\n errorDictionary?: ErrorDictionary;\n autoComplete?: string;\n /** @deprecated use autoComplete */\n autocomplete?: string;\n validators?: ValidatorFn[]\n}\n/**\n * Configuration for SubGroup components\n */\nexport interface SubGroupConfig extends CrisprControlConfig, AbstractGroupConfig {\n controlType: ControlType.SUB_GROUP;\n}\n\nexport type AnyFieldConfig = InputFieldConfig\n | SelectFieldConfig\n | RadioFieldConfig\n | FormGroupListConfig\n | SubGroupConfig\n | AutocompleteFieldConfig\n | AutocompleteChiplistFieldConfig\n | TextareaFieldConfig\n | CheckboxFieldConfig\n | DatepickerFieldConfig\n | SliderFieldConfig\n | FileUploadFieldConfig\n | HeadingConfig\n | ButtonConfig\n | DividerConfig\n | UnitConversionFieldConfig;\n // | CustomFieldConfig;\n\n\nexport type ControlValue<T = any> = boolean | string | number | Date | SelectOption | SelectOption[] | ControlGroupValue | T;\n\nexport type ControlGroupValue = {[key: string]: ControlValue};\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ControlType":{"AUTOCOMPLETE":"autocomplete","AUTOCOMPLETE_CHIPLIST":"autocompleteChiplist","BUTTON":"button","CHECKBOX":"checkbox","CUSTOM":"custom","DATEPICKER":"datepicker","DIVIDER":"divider","FILE_UPLOAD":"fileUpload","HEADING":"heading","INPUT":"input","GROUP_LIST":"groupList","RADIO":"radio","SELECT":"select","SLIDER":"slider","SUB_GROUP":"subGroup","TEXTAREA":"textarea","UNIT_CONVERSION":"unitConversion"},"CrisprFieldConfig":{"__symbolic":"interface"},"CrisprControlConfig":{"__symbolic":"interface"},"FieldDescriptors":{"__symbolic":"interface"},"MatFieldProperties":{"__symbolic":"interface"},"Info":{"__symbolic":"interface"},"AbstractGroupConfig":{"__symbolic":"interface"},"FormConfig":{"__symbolic":"interface"},"SubGroupConfig":{"__symbolic":"interface"},"AnyFieldConfig":{"__symbolic":"interface"},"ControlValue":{"__symbolic":"interface"},"ControlGroupValue":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=datepicker-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datepicker-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/datepicker-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, ControlType } from '../models';\r\nimport { Moment } from 'moment';\r\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\r\nimport { MatCalendarCellClassFunction } from '@angular/material/datepicker';\r\nimport { Observable } from 'rxjs';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { ComponentType } from '@angular/cdk/portal';\r\n\r\nexport interface DatepickerFieldConfig extends CrisprControlConfig,\r\n Pick<FieldDescriptors, 'label'>,\r\n MatFieldProperties {\r\n controlType: ControlType.DATEPICKER;\r\n min?: Date;\r\n max?: Date;\r\n startView?: 'month' | 'year' | 'multi-year';\r\n startAt?: Date | ((group: FormGroup) => Observable<Date>) | null;\r\n touchUi?: boolean;\r\n // TODO: trying to get this event into the mat-datepicker. uncomment if approved remove if not\r\n // selectedChange?: (event, picker: MatDatepicker<unknown>) => void;\r\n datepickerFilter?: (date: Moment) => boolean;\r\n cellClassFunction?: MatCalendarCellClassFunction<Moment>;\r\n dateClass?: (parentGroup: FormGroup) => Observable<MatCalendarCellClassFunction<Moment>>;\r\n /**\r\n * Pass a component into mat-datepicker-actions component see [docs](https://material.angular.io/components/datepicker/overview#confirmation-action-buttons)\r\n */\r\n datepickerActions?: ComponentType<any>;\r\n}\r\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"DatepickerFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=divider.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divider.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/divider.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprFieldConfig, ControlType } from '../models';\n// This is done different from the rest of the fields because\n// when we use the heading inside of a field we don't want to have to\n// pass a controlType\nexport type DividerConfig = Omit<CrisprFieldConfig, 'label'> & {\n controlType?: ControlType.DIVIDER;\n vertical?: boolean;\n};\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"DividerConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=file-upload-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file-upload-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/file-upload-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { FormGroup } from '@angular/forms';\r\nimport { FileUploadComponent } from '../material';\r\nimport { CrisprControlConfig, ControlType, ButtonType, MatFieldProperties } from '../models';\r\n\r\nexport type FileUploadFieldConfig = CrisprControlConfig & MatFieldProperties & {\r\n controlType: ControlType.FILE_UPLOAD;\r\n label?: string;\r\n filesChanged?: (parentGroup: FormGroup, files: FileList) => void;\r\n allowMultipleFiles?: boolean;\r\n showClearFilesButton?: boolean;\r\n acceptedTypes?: string;\r\n selectFilesButtonType?: ButtonType;\r\n selectButtonText?: string;\r\n clearFilesButtonText?: string;\r\n dropZoneText?: string;\r\n // isolate possible configurations regarding upload to for user to properly type configuration\r\n} & (EnabledUploadButtonConfig | DisabledUploadButtonConfig);\r\n\r\n// The properties that are only available if we are using the uploadFiles callback\r\nexport interface EnabledUploadButtonConfig {\r\n uploadFiles: (parentGroup: FormGroup, files:FileList, uploadComponent: FileUploadComponent) => Promise<unknown> | unknown;\r\n showUploadProgress?: boolean;\r\n disableOnUpload?: boolean;\r\n uploadButtonType?: ButtonType;\r\n uploadButtonText?: string;\r\n}\r\n\r\ntype DisabledUploadButtonConfig = NeverProps<EnabledUploadButtonConfig>;\r\n\r\ntype NeverProps<T> = { [P in keyof T]?: never; };\r\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"FileUploadFieldConfig":{"__symbolic":"interface"},"EnabledUploadButtonConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=form-group-list.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-group-list.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/form-group-list.config.ts"],"names":[],"mappings":"","sourcesContent":["import { ThemePalette } from '@angular/material/core';\nimport { CrisprControlConfig, ControlType } from './';\nimport { SubGroupConfig } from './crispr-field.config';\n\n// TODO: Below type would be ideal type to use for itemConfig, but there were some issues getting it to work\n// export type GroupListItemConfig = Omit<SubGroupConfig, 'controlName'> & {\n// /**\n// * @deprecated controlName doesn't do anything in the itemConfig and should be removed\n// * */\n// controlName?: string;\n// }\n\nexport interface FormGroupListConfig extends CrisprControlConfig {\n controlType: ControlType.GROUP_LIST;\n itemConfig: SubGroupConfig; // TODO: should be GroupListItemConfig but having issues working it out\n itemLabelBuilder?: (index: number) => string;\n /** The number of list items that a user can delete */\n minListLength?: number;\n /** If no items are passed as an initial value, should an initial empty item be created */\n displayInitialItem?: boolean;\n addButtonColor?: ThemePalette;\n addButtonLabel?: string;\n /**\n * @deprecated Please use addButtonLabel, addItemLabel will be removed in the next major release\n */\n addItemLabel?: string;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"FormGroupListConfig":{"__symbolic":"interface"}}}]
@@ -1,3 +0,0 @@
1
- ;
2
- export {};
3
- //# sourceMappingURL=heading.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"heading.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/heading.config.ts"],"names":[],"mappings":"AAaC,CAAC","sourcesContent":["import { CrisprFieldConfig, ControlType } from '../models';\nimport { FieldDescriptors } from './crispr-field.config';\n// This is done different from the rest of the fields because\n// when we use the heading inside of a field we don't want to have to\n// pass a controlType\nexport interface HeadingConfig extends\n Omit<CrisprFieldConfig, 'controlType'>,\n Omit<FieldDescriptors, 'placeholder' | 'fieldSuffix'> {\n // controlType is optional here because this component can be used as a crispr field where it needs a ControlType\n // or by a crispr field where it doesn't need a ControlType\n controlType?: ControlType.HEADING;\n typographyClass?: string;\n label: string;\n};\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"HeadingConfig":{"__symbolic":"interface"}}}]
@@ -1,16 +0,0 @@
1
- export * from './input-field.config';
2
- export * from './select-field.config';
3
- export * from './radio-field.config';
4
- export * from './autocomplete-field.config';
5
- export * from './autocomplete-chiplist-field.config';
6
- export * from './checkbox-field.config';
7
- export * from './textarea-field.config';
8
- export * from './datepicker-field.config';
9
- export * from './slider-field.config';
10
- export * from './form-group-list.config';
11
- export * from './crispr-field.config';
12
- export * from './button.config';
13
- export * from './heading.config';
14
- export * from './divider.config';
15
- export * from './unit-conversion-field.config';
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './input-field.config';\nexport * from './select-field.config';\nexport * from './radio-field.config';\nexport * from './autocomplete-field.config';\nexport * from './autocomplete-chiplist-field.config';\nexport * from './checkbox-field.config';\nexport * from './textarea-field.config';\nexport * from './datepicker-field.config';\nexport * from './slider-field.config';\nexport * from './form-group-list.config';\nexport * from './crispr-field.config';\nexport * from './button.config';\nexport * from './heading.config';\nexport * from './divider.config';\nexport * from './unit-conversion-field.config';\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./input-field.config"},{"from":"./select-field.config"},{"from":"./radio-field.config"},{"from":"./autocomplete-field.config"},{"from":"./autocomplete-chiplist-field.config"},{"from":"./checkbox-field.config"},{"from":"./textarea-field.config"},{"from":"./datepicker-field.config"},{"from":"./slider-field.config"},{"from":"./form-group-list.config"},{"from":"./crispr-field.config"},{"from":"./button.config"},{"from":"./heading.config"},{"from":"./divider.config"},{"from":"./unit-conversion-field.config"}]}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=input-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/input-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig } from '../models';\nimport { ControlType, FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface InputFieldConfig extends CrisprControlConfig,\n FieldDescriptors,\n MatFieldProperties {\n controlType: ControlType.INPUT,\n inputType?: InputType;\n min?: number;\n max?: number;\n maxLength?: number;\n step?: number;\n pattern?: string;\n autofocus?: boolean;\n spellcheck?: boolean;\n autoComplete?: string;\n autoCapitalize?: 'off' | 'on';\n}\n\ntype InputType = 'color'\n |'date'\n |'datetime-local'\n |'email'\n |'month'\n |'number'\n |'password'\n |'search'\n |'tel'\n |'text'\n |'time'\n |'url'\n |'week';\n\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InputFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=radio-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/radio-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, FieldDescriptors, MatFieldProperties, ControlType } from './crispr-field.config';\nimport { OptionsType } from './select-field.config';\n\nexport interface RadioFieldConfig extends Omit<CrisprControlConfig, 'placeholder'>,\n FieldDescriptors,\n MatFieldProperties {\n controlType: ControlType.RADIO,\n options: OptionsType;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"RadioFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export const DEFAULT_EMPTY_OPTIONS_MESSAGE = 'No Items';
2
- //# sourceMappingURL=select-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/select-field.config.ts"],"names":[],"mappings":"AA2BA,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC","sourcesContent":["import { CrisprControlConfig } from '../models';\nimport { Observable } from 'rxjs';\nimport { FormGroup } from '@angular/forms';\nimport { ControlType, FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface SelectFieldConfig extends Omit<CrisprControlConfig, 'placeholder'>,\n FieldDescriptors,\n MatFieldProperties {\n controlType: ControlType.SELECT,\n emptyOptionsMessage?: string;\n multiple?: boolean;\n enableToggleAll?: boolean;\n options: OptionsType;\n}\n\nexport type OptionsType = SelectOption[] | Observable<SelectOption[]> | OptionsCallback | Promise<SelectOption[]>;\n\nexport type OptionsCallback = (group?: FormGroup) => OptionsType;\nexport type ReactiveOptionsCallback = (group?: FormGroup) => Observable<SelectOption[]>;\n// tslint:disable-next-line: max-line-length\nexport type AutocompleteOptionsCallback = (group?: FormGroup, searchTerm?: string) => OptionsType;\nexport interface SelectOption {\n label: string;\n value: any;\n imageUrl?: string;\n}\n\nexport const DEFAULT_EMPTY_OPTIONS_MESSAGE = 'No Items';\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"SelectFieldConfig":{"__symbolic":"interface"},"OptionsType":{"__symbolic":"interface"},"OptionsCallback":{"__symbolic":"interface"},"ReactiveOptionsCallback":{"__symbolic":"interface"},"AutocompleteOptionsCallback":{"__symbolic":"interface"},"SelectOption":{"__symbolic":"interface"},"DEFAULT_EMPTY_OPTIONS_MESSAGE":"No Items"}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=slider-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slider-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/slider-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, ControlType } from '../models';\r\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\r\nexport interface SliderFieldConfig extends\r\n CrisprControlConfig,\r\n Pick<FieldDescriptors, 'label' | 'info'>,\r\n Pick<MatFieldProperties, 'color'>\r\n {\r\n controlType: ControlType.SLIDER;\r\n displayWith?: (value: number) => string | number;\r\n invert?: boolean;\r\n displayLimits?: boolean;\r\n max?: number;\r\n min?: number;\r\n step?: number;\r\n thumbLabel?: boolean;\r\n tickInterval?: number | 'auto';\r\n vertical?: boolean;\r\n}\r\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"SliderFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=textarea-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"textarea-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/textarea-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { CrisprControlConfig, ControlType } from '../models';\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\n\nexport interface TextareaFieldConfig extends CrisprControlConfig,\n FieldDescriptors,\n MatFieldProperties {\n controlType: ControlType.TEXTAREA;\n rows?: number;\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"TextareaFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=unit-conversion-field.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unit-conversion-field.config.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/models/unit-conversion-field.config.ts"],"names":[],"mappings":"","sourcesContent":["import { FormGroup } from '@angular/forms';\r\nimport { CrisprControlConfig, ControlType } from '../models';\r\nimport { FieldDescriptors, MatFieldProperties } from './crispr-field.config';\r\nimport { OptionsType } from './select-field.config';\r\n\r\nexport type UnitConversionFieldConfig<ST = unknown, UT = unknown> = CrisprControlConfig &\r\n FieldDescriptors &\r\n MatFieldProperties & {\r\n controlType: ControlType.UNIT_CONVERSION;\r\n\r\n\r\n /**\r\n * Used convert config value to displayed value on initialization\r\n */\r\n initialDisplayValueConversion: (value?: ST, displayedUnit?: UT) => number;\r\n /**\r\n * The function to convert the display value into the stored value as the display value changes\r\n */\r\n storedValueConversion: (value?: string, displayedUnit?: UT) => number;\r\n min?: number;\r\n max?: number;\r\n autofocus?: boolean;\r\n step?: number;\r\n\r\n} & ({\r\n showUnitSelect: true\r\n /**\r\n * A callback function that returns the options to be used by the unit select field. Can be used just like select field options.\r\n */\r\n selectableUnits: (group: FormGroup) => OptionsType,\r\n /**\r\n * Display unit to use on component initialization and when unit not user selectable i.e. showUnitSelect: false\r\n */\r\n initialDisplayUnit: UT;\r\n} | {\r\n showUnitSelect: false;\r\n})\r\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"UnitConversionFieldConfig":{"__symbolic":"interface"}}}]
@@ -1,16 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { isControlConfig } from '../form.helpers';
3
- export class InitialControlValuePipe {
4
- // TODO: does changing any to unknown break anything?
5
- transform(initialFormValue, fieldConfig) {
6
- return (initialFormValue && isControlConfig(fieldConfig))
7
- ? initialFormValue[fieldConfig.controlName] || null
8
- : null;
9
- }
10
- }
11
- InitialControlValuePipe.decorators = [
12
- { type: Pipe, args: [{
13
- name: 'initialControlValue'
14
- },] }
15
- ];
16
- //# sourceMappingURL=initial-control-value.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"initial-control-value.pipe.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/pipes/initial-control-value.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKlD,MAAM,OAAO,uBAAuB;IAClC,qDAAqD;IACrD,SAAS,CAAC,gBAAqD,EAAE,WAA2B;QAC1F,OAAO,CAAC,gBAAgB,IAAI,eAAe,CAAC,WAAW,CAAC,CAAC;YACvD,CAAC,CAAC,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,IAAI,IAAI;YACnD,CAAC,CAAC,IAAI,CAAC;IACX,CAAC;;;YATF,IAAI,SAAC;gBACJ,IAAI,EAAE,qBAAqB;aAC5B","sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { ControlValue, AnyFieldConfig } from '../models';\nimport { isControlConfig } from '../form.helpers';\n\n@Pipe({\n name: 'initialControlValue'\n})\nexport class InitialControlValuePipe implements PipeTransform {\n // TODO: does changing any to unknown break anything?\n transform(initialFormValue: {[key: string]: ControlValue | any}, fieldConfig: AnyFieldConfig): unknown {\n return (initialFormValue && isControlConfig(fieldConfig))\n ? initialFormValue[fieldConfig.controlName] || null\n : null;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"InitialControlValuePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"initialControlValue"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"initial-control-value.pipe.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/pipes/initial-control-value.pipe.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -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
- //# sourceMappingURL=public_api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"public_api.js","sourceRoot":"","sources":["../../../../../libs/crispr-forms/src/lib/public_api.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC","sourcesContent":["export * from './models';\nexport * from './models/autocomplete-field.config';\nexport * from './models/form-group-list.config';\nexport * from './form.helpers';\nexport * from './material';\nexport * from './crispr-forms.module';\nexport * from './abstracts';\nexport * from './form/form.component';\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./models"},{"from":"./models/autocomplete-field.config"},{"from":"./models/form-group-list.config"},{"from":"./form.helpers"},{"from":"./material"},{"from":"./crispr-forms.module"},{"from":"./abstracts"},{"from":"./form/form.component"}]}]
@@ -1,17 +0,0 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import { crisprControlMixin, CrisprFieldComponent } from '../abstracts';
3
- const FormGroupMixin = crisprControlMixin(CrisprFieldComponent);
4
- export class SubGroupComponent extends FormGroupMixin {
5
- ngOnInit() {
6
- super.ngOnInit();
7
- }
8
- }
9
- SubGroupComponent.decorators = [
10
- { type: Component, args: [{
11
- selector: 'crispr-sub-group',
12
- template: "<crispr-field-container\n [config]=\"config\"\n [group]=\"group\">\n <ng-container\n *ngFor=\"let fieldConfig of config.fields;\"\n crisprField\n [value]=\"value | initialControlValue : fieldConfig\"\n [config]=\"fieldConfig\"\n [group]=\"control\">\n </ng-container>\n</crispr-field-container>\n\n",
13
- changeDetection: ChangeDetectionStrategy.OnPush,
14
- styles: [""]
15
- },] }
16
- ];
17
- //# sourceMappingURL=sub-group.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sub-group.component.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/sub-group/sub-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAG3E,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGxE,MAAM,cAAc,GAAG,kBAAkB,CAAiB,oBAAoB,CAAC,CAAC;AAQhF,MAAM,OAAO,iBAAkB,SAAQ,cAAc;IAGnD,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;;;YAXF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,yUAAyC;gBAEzC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD","sourcesContent":["import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\nimport { SubGroupConfig } from '../models';\nimport { crisprControlMixin, CrisprFieldComponent } from '../abstracts';\n\n\nconst FormGroupMixin = crisprControlMixin<SubGroupConfig>(CrisprFieldComponent);\n\n@Component({\n selector: 'crispr-sub-group',\n templateUrl: './sub-group.component.html',\n styleUrls: ['./sub-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SubGroupComponent extends FormGroupMixin implements OnInit {\n group: FormGroup;\n\n ngOnInit() {\n super.ngOnInit();\n }\n}\n"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"SubGroupComponent":{"__symbolic":"class","extends":{"__symbolic":"error","message":"Symbol reference expected","line":14,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"crispr-sub-group","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":12,"character":19},"member":"OnPush"},"template":"<crispr-field-container\n [config]=\"config\"\n [group]=\"group\">\n <ng-container\n *ngFor=\"let fieldConfig of config.fields;\"\n crisprField\n [value]=\"value | initialControlValue : fieldConfig\"\n [config]=\"fieldConfig\"\n [group]=\"control\">\n </ng-container>\n</crispr-field-container>\n\n","styles":[""]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}]}}}}]
@@ -1 +0,0 @@
1
- {"version":3,"file":"sub-group.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/sub-group/sub-group.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sub-group.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../libs/crispr-forms/src/lib/sub-group/sub-group.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,30 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- export { AbstractAutocompleteComponent as ɵg, CrisprFieldComponent as ɵn } from './lib/abstracts';
6
- export { FieldContainerComponent as ɵb } from './lib/field-container/field-container.component';
7
- export { CrisprFieldDirective as ɵw } from './lib/field.directive';
8
- export { FormGroupListComponent as ɵx } from './lib/form-group-list/form-group-list.component';
9
- export { AutocompleteChiplistFieldComponent as ɵh } from './lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component';
10
- export { AutocompleteFieldComponent as ɵf } from './lib/material/autocomplete-field/autocomplete-field.component';
11
- export { ButtonComponent as ɵm } from './lib/material/button/button.component';
12
- export { CheckboxFieldComponent as ɵi } from './lib/material/checkbox-field/checkbox-field.component';
13
- export { DatepickerFieldComponent as ɵk } from './lib/material/datepicker-field/datepicker-field.component';
14
- export { DividerComponent as ɵp } from './lib/material/divider/divider.component';
15
- export { FileDropzoneDirective as ɵv } from './lib/material/file-upload/file-dropzone.directive';
16
- export { FileUploadComponent as ɵq } from './lib/material/file-upload/file-upload.component';
17
- export { HeadingComponent as ɵo } from './lib/material/heading/heading.component';
18
- export { InfoComponent as ɵs } from './lib/material/info/info.component';
19
- export { InputFieldComponent as ɵc } from './lib/material/input-field/input-field.component';
20
- export { MaterialModule as ɵa } from './lib/material/material.module';
21
- export { OptionComponent as ɵt } from './lib/material/option/option.component';
22
- export { RadioFieldComponent as ɵe } from './lib/material/radio-field/radio-field.component';
23
- export { SelectFieldComponent as ɵd } from './lib/material/select-field/select-field.component';
24
- export { SelectedFileComponent as ɵu } from './lib/material/selected-file/selected-file.component';
25
- export { SliderFieldComponent as ɵl } from './lib/material/slider-field/slider-field.component';
26
- export { TextareaFieldComponent as ɵj } from './lib/material/textarea-field/textarea-field.component';
27
- export { UnitConversionFieldComponent as ɵr } from './lib/material/unit-conversion-field/unit-conversion-field.component';
28
- export { InitialControlValuePipe as ɵy } from './lib/pipes/initial-control-value.pipe';
29
- export { SubGroupComponent as ɵz } from './lib/sub-group/sub-group.component';
30
- //# sourceMappingURL=tft-crispr-forms.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tft-crispr-forms.js","sourceRoot":"","sources":["../../../../libs/crispr-forms/src/tft-crispr-forms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AAExB,OAAO,EAAC,6BAA6B,IAAI,EAAE,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,iBAAiB,CAAC;AAC/F,OAAO,EAAC,uBAAuB,IAAI,EAAE,EAAC,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAC,kCAAkC,IAAI,EAAE,EAAC,MAAM,kFAAkF,CAAC;AAC1I,OAAO,EAAC,0BAA0B,IAAI,EAAE,EAAC,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAC,eAAe,IAAI,EAAE,EAAC,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAC,wBAAwB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AAC1G,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAC,qBAAqB,IAAI,EAAE,EAAC,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAC,aAAa,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAC,cAAc,IAAI,EAAE,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,IAAI,EAAE,EAAC,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAC,qBAAqB,IAAI,EAAE,EAAC,MAAM,sDAAsD,CAAC;AACjG,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAC,4BAA4B,IAAI,EAAE,EAAC,MAAM,sEAAsE,CAAC;AACxH,OAAO,EAAC,uBAAuB,IAAI,EAAE,EAAC,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAC,iBAAiB,IAAI,EAAE,EAAC,MAAM,qCAAqC,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {AbstractAutocompleteComponent as ɵg,CrisprFieldComponent as ɵn} from './lib/abstracts';\nexport {FieldContainerComponent as ɵb} from './lib/field-container/field-container.component';\nexport {CrisprFieldDirective as ɵw} from './lib/field.directive';\nexport {FormGroupListComponent as ɵx} from './lib/form-group-list/form-group-list.component';\nexport {AutocompleteChiplistFieldComponent as ɵh} from './lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component';\nexport {AutocompleteFieldComponent as ɵf} from './lib/material/autocomplete-field/autocomplete-field.component';\nexport {ButtonComponent as ɵm} from './lib/material/button/button.component';\nexport {CheckboxFieldComponent as ɵi} from './lib/material/checkbox-field/checkbox-field.component';\nexport {DatepickerFieldComponent as ɵk} from './lib/material/datepicker-field/datepicker-field.component';\nexport {DividerComponent as ɵp} from './lib/material/divider/divider.component';\nexport {FileDropzoneDirective as ɵv} from './lib/material/file-upload/file-dropzone.directive';\nexport {FileUploadComponent as ɵq} from './lib/material/file-upload/file-upload.component';\nexport {HeadingComponent as ɵo} from './lib/material/heading/heading.component';\nexport {InfoComponent as ɵs} from './lib/material/info/info.component';\nexport {InputFieldComponent as ɵc} from './lib/material/input-field/input-field.component';\nexport {MaterialModule as ɵa} from './lib/material/material.module';\nexport {OptionComponent as ɵt} from './lib/material/option/option.component';\nexport {RadioFieldComponent as ɵe} from './lib/material/radio-field/radio-field.component';\nexport {SelectFieldComponent as ɵd} from './lib/material/select-field/select-field.component';\nexport {SelectedFileComponent as ɵu} from './lib/material/selected-file/selected-file.component';\nexport {SliderFieldComponent as ɵl} from './lib/material/slider-field/slider-field.component';\nexport {TextareaFieldComponent as ɵj} from './lib/material/textarea-field/textarea-field.component';\nexport {UnitConversionFieldComponent as ɵr} from './lib/material/unit-conversion-field/unit-conversion-field.component';\nexport {InitialControlValuePipe as ɵy} from './lib/pipes/initial-control-value.pipe';\nexport {SubGroupComponent as ɵz} from './lib/sub-group/sub-group.component';"]}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./index"},{"from":"./lib/abstracts","export":[{"name":"AbstractAutocompleteComponent","as":"ɵg"},{"name":"CrisprFieldComponent","as":"ɵn"}]},{"from":"./lib/field-container/field-container.component","export":[{"name":"FieldContainerComponent","as":"ɵb"}]},{"from":"./lib/field.directive","export":[{"name":"CrisprFieldDirective","as":"ɵw"}]},{"from":"./lib/form-group-list/form-group-list.component","export":[{"name":"FormGroupListComponent","as":"ɵx"}]},{"from":"./lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component","export":[{"name":"AutocompleteChiplistFieldComponent","as":"ɵh"}]},{"from":"./lib/material/autocomplete-field/autocomplete-field.component","export":[{"name":"AutocompleteFieldComponent","as":"ɵf"}]},{"from":"./lib/material/button/button.component","export":[{"name":"ButtonComponent","as":"ɵm"}]},{"from":"./lib/material/checkbox-field/checkbox-field.component","export":[{"name":"CheckboxFieldComponent","as":"ɵi"}]},{"from":"./lib/material/datepicker-field/datepicker-field.component","export":[{"name":"DatepickerFieldComponent","as":"ɵk"}]},{"from":"./lib/material/divider/divider.component","export":[{"name":"DividerComponent","as":"ɵp"}]},{"from":"./lib/material/file-upload/file-dropzone.directive","export":[{"name":"FileDropzoneDirective","as":"ɵv"}]},{"from":"./lib/material/file-upload/file-upload.component","export":[{"name":"FileUploadComponent","as":"ɵq"}]},{"from":"./lib/material/heading/heading.component","export":[{"name":"HeadingComponent","as":"ɵo"}]},{"from":"./lib/material/info/info.component","export":[{"name":"InfoComponent","as":"ɵs"}]},{"from":"./lib/material/input-field/input-field.component","export":[{"name":"InputFieldComponent","as":"ɵc"}]},{"from":"./lib/material/material.module","export":[{"name":"MaterialModule","as":"ɵa"}]},{"from":"./lib/material/option/option.component","export":[{"name":"OptionComponent","as":"ɵt"}]},{"from":"./lib/material/radio-field/radio-field.component","export":[{"name":"RadioFieldComponent","as":"ɵe"}]},{"from":"./lib/material/select-field/select-field.component","export":[{"name":"SelectFieldComponent","as":"ɵd"}]},{"from":"./lib/material/selected-file/selected-file.component","export":[{"name":"SelectedFileComponent","as":"ɵu"}]},{"from":"./lib/material/slider-field/slider-field.component","export":[{"name":"SliderFieldComponent","as":"ɵl"}]},{"from":"./lib/material/textarea-field/textarea-field.component","export":[{"name":"TextareaFieldComponent","as":"ɵj"}]},{"from":"./lib/material/unit-conversion-field/unit-conversion-field.component","export":[{"name":"UnitConversionFieldComponent","as":"ɵr"}]},{"from":"./lib/pipes/initial-control-value.pipe","export":[{"name":"InitialControlValuePipe","as":"ɵy"}]},{"from":"./lib/sub-group/sub-group.component","export":[{"name":"SubGroupComponent","as":"ɵz"}]}]}]