@f1studio/form-spec 5.0.0-alpha.149 → 5.0.0-alpha.152

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 (255) hide show
  1. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts.map +1 -1
  2. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts +5 -3
  3. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts.map +1 -1
  4. package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts +19 -0
  5. package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts.map +1 -0
  6. package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.d.ts +39 -2
  7. package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.d.ts.map +1 -1
  8. package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.d.ts +16 -0
  9. package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.d.ts.map +1 -1
  10. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +3 -3
  11. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -1
  12. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +2 -2
  13. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -1
  14. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +1 -1
  15. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -1
  16. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js +23 -21
  17. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -1
  18. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +16 -7
  19. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -1
  20. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js +580 -0
  21. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +1 -0
  22. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js +199 -8
  23. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +1 -1
  24. package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js +25 -1
  25. package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +1 -1
  26. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.js.map +1 -1
  27. package/README.md +7 -7
  28. package/package.json +13 -15
  29. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts +3 -3
  30. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts +3 -3
  31. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts +1 -1
  32. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +25 -23
  33. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts +19 -13
  34. package/src/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.ts +545 -0
  35. package/src/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts +120 -14
  36. package/src/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts +29 -1
  37. package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.ts.map +0 -1
  38. package/FormSpec.TS/FormSpec.FS/BlueprintValidation.ts.map +0 -1
  39. package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.ts.map +0 -1
  40. package/FormSpec.TS/FormSpec.FS/Designer.ts.map +0 -1
  41. package/FormSpec.TS/FormSpec.FS/FormSpec.ts.map +0 -1
  42. package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.ts.map +0 -1
  43. package/FormSpec.TS/FormSpec.FS/FormSpecValues.ts.map +0 -1
  44. package/FormSpec.TS/FormSpec.FS/Helpers.ts.map +0 -1
  45. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.ts.map +0 -1
  46. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts.map +0 -1
  47. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts.map +0 -1
  48. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.ts.map +0 -1
  49. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.ts.map +0 -1
  50. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.ts.map +0 -1
  51. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.ts.map +0 -1
  52. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.ts.map +0 -1
  53. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts.map +0 -1
  54. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts.map +0 -1
  55. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts.map +0 -1
  56. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts.map +0 -1
  57. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts.map +0 -1
  58. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.ts.map +0 -1
  59. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.ts.map +0 -1
  60. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.ts.map +0 -1
  61. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts.map +0 -1
  62. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.ts.map +0 -1
  63. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts.map +0 -1
  64. package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.ts.map +0 -1
  65. package/FormSpec.TS/FormSpec.FS/Interfaces.ts.map +0 -1
  66. package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts.map +0 -1
  67. package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.ts.map +0 -1
  68. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts.map +0 -1
  69. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.ts.map +0 -1
  70. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.ts.map +0 -1
  71. package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.ts.map +0 -1
  72. package/FormSpec.TS/FormSpec.FS/Migrator.ts.map +0 -1
  73. package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.ts.map +0 -1
  74. package/FormSpec.TS/FormSpec.FS/PathwayExecutor.ts.map +0 -1
  75. package/FormSpec.TS/FormSpec.FS/PathwayValidator.ts.map +0 -1
  76. package/FormSpec.TS/FormSpec.FS/PluginInterface.ts.map +0 -1
  77. package/FormSpec.TS/FormSpec.FS/Prelude.ts.map +0 -1
  78. package/FormSpec.TS/FormSpec.FS/Provenance.ts.map +0 -1
  79. package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts.map +0 -1
  80. package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.ts.map +0 -1
  81. package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.ts.map +0 -1
  82. package/FormSpec.TS/PluginRegistration.ts.map +0 -1
  83. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Decode.ts.map +0 -1
  84. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.ts.map +0 -1
  85. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Extra.ts.map +0 -1
  86. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Types.ts.map +0 -1
  87. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +0 -511
  88. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +0 -1
  89. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +0 -16
  90. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +0 -1
  91. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +0 -50
  92. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +0 -1
  93. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +0 -28
  94. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +0 -24
  95. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +0 -1
  96. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +0 -31
  97. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +0 -178
  98. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +0 -1
  99. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs +0 -47
  100. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.ts.map +0 -1
  101. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs +0 -49
  102. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.ts.map +0 -1
  103. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs +0 -52
  104. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.ts.map +0 -1
  105. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs +0 -54
  106. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.ts.map +0 -1
  107. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs +0 -48
  108. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.ts.map +0 -1
  109. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Fable.Form.Simple.Bulma.fableproj +0 -53
  110. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs +0 -132
  111. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.ts.map +0 -1
  112. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs +0 -537
  113. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.ts.map +0 -1
  114. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs +0 -361
  115. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.ts.map +0 -1
  116. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs +0 -52
  117. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.ts.map +0 -1
  118. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs +0 -246
  119. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.ts.map +0 -1
  120. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs +0 -52
  121. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.ts.map +0 -1
  122. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs +0 -56
  123. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.ts.map +0 -1
  124. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs +0 -46
  125. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.ts.map +0 -1
  126. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs +0 -51
  127. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.ts.map +0 -1
  128. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs +0 -49
  129. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.ts.map +0 -1
  130. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs +0 -60
  131. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.ts.map +0 -1
  132. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs +0 -79
  133. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.ts.map +0 -1
  134. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs +0 -44
  135. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.ts.map +0 -1
  136. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs +0 -49
  137. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.ts.map +0 -1
  138. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs +0 -59
  139. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.ts.map +0 -1
  140. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs +0 -44
  141. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.ts.map +0 -1
  142. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs +0 -143
  143. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.ts.map +0 -1
  144. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs +0 -36
  145. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.ts.map +0 -1
  146. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs +0 -49
  147. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.ts.map +0 -1
  148. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs +0 -67
  149. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.ts.map +0 -1
  150. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs +0 -70
  151. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.ts.map +0 -1
  152. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs +0 -76
  153. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.ts.map +0 -1
  154. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/Fable.Form.Simple.Fields.Html.fableproj +0 -45
  155. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs +0 -105
  156. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.ts.map +0 -1
  157. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs +0 -66
  158. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.ts.map +0 -1
  159. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs +0 -72
  160. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.ts.map +0 -1
  161. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs +0 -102
  162. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.ts.map +0 -1
  163. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs +0 -83
  164. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.ts.map +0 -1
  165. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs +0 -83
  166. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.ts.map +0 -1
  167. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs +0 -63
  168. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.ts.map +0 -1
  169. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs +0 -83
  170. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.ts.map +0 -1
  171. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs +0 -92
  172. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.ts.map +0 -1
  173. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs +0 -108
  174. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.ts.map +0 -1
  175. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
  176. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.ts.map +0 -1
  177. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
  178. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
  179. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs.ts.map +0 -1
  180. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
  181. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.ts.map +0 -1
  182. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +0 -17
  183. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +0 -152
  184. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +0 -1
  185. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +0 -28
  186. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +0 -218
  187. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +0 -1
  188. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +0 -27
  189. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +0 -82
  190. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +0 -1
  191. package/FormSpec.TS/fable_modules/Feliz.2.8.0/BorderStyle.fs +0 -59
  192. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs +0 -154
  193. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs.ts.map +0 -1
  194. package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs +0 -52
  195. package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.ts.map +0 -1
  196. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Feliz.fableproj +0 -53
  197. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Fonts.fs +0 -240
  198. package/FormSpec.TS/fable_modules/Feliz.2.8.0/GridTypes.fs +0 -24
  199. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs +0 -11
  200. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.ts.map +0 -1
  201. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Html.fs +0 -826
  202. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs +0 -176
  203. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.ts.map +0 -1
  204. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs +0 -29
  205. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.ts.map +0 -1
  206. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs +0 -65
  207. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs.ts.map +0 -1
  208. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Length.fs +0 -145
  209. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Locale.fs +0 -876
  210. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs +0 -4085
  211. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs.ts.map +0 -1
  212. package/FormSpec.TS/fable_modules/Feliz.2.8.0/React.fs +0 -494
  213. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs +0 -25
  214. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs.ts.map +0 -1
  215. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.fs +0 -20
  216. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs +0 -42
  217. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs.ts.map +0 -1
  218. package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs +0 -57
  219. package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs.ts.map +0 -1
  220. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Styles.fs +0 -6378
  221. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs +0 -1455
  222. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs.ts.map +0 -1
  223. package/FormSpec.TS/fable_modules/Feliz.2.8.0/TextDecorationLine.fs +0 -13
  224. package/FormSpec.TS/fable_modules/Feliz.2.8.0/TextDecorationStyle.fs +0 -33
  225. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Transform.fs +0 -181
  226. package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransformOrigin.fs +0 -17
  227. package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransitionProperty.fs +0 -162
  228. package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransitionTimingFunction.fs +0 -62
  229. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs +0 -13
  230. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.ts.map +0 -1
  231. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Bulma.fs +0 -990
  232. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs +0 -179
  233. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.ts.map +0 -1
  234. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Feliz.Bulma.fableproj +0 -32
  235. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs +0 -1986
  236. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.ts.map +0 -1
  237. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs +0 -7
  238. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.ts.map +0 -1
  239. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/PropertyBuilders.fs +0 -8
  240. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Exports.fs +0 -14
  241. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Glutinum.Feliz.ReactSignaturePadWrapper.fableproj +0 -18
  242. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Interop.fs +0 -6
  243. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/ReactSignaturePadWrapper.fs +0 -32
  244. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs +0 -3
  245. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.ts.map +0 -1
  246. package/FormSpec.TS/fable_modules/project_cracked.json +0 -1
  247. package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.ts.map +0 -1
  248. package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.ts.map +0 -1
  249. package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.ts.map +0 -1
  250. package/FormSpec.TS/plugins/bmi/src/BMIField.ts.map +0 -1
  251. package/FormSpec.TS/plugins/demographics/src/DemographicsField.ts.map +0 -1
  252. package/FormSpec.TS/plugins/likert/src/LikertField.ts.map +0 -1
  253. package/FormSpec.TS/plugins/signature/src/SignatureField.ts.map +0 -1
  254. package/FormSpec.TS/plugins/vitals/src/VitalsField.ts.map +0 -1
  255. package/FormSpec.TS/plugins/vitals/src/VitalsLogic.ts.map +0 -1
@@ -1,66 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module PasswordField =
6
-
7
- [<NoComparison>]
8
- type Attributes =
9
- {
10
- FieldId: string
11
- /// <summary>
12
- /// Label to display
13
- /// </summary>
14
- Label: string
15
- /// <summary>
16
- /// Placeholder to display when the field is empty
17
- /// </summary>
18
- Placeholder: string option
19
- /// <summary>
20
- /// A list of HTML attributes to add to the generated field
21
- /// </summary>
22
- AutoComplete: string option
23
- AutoFocus: bool
24
- }
25
-
26
- interface Field.IAttributes with
27
- member this.GetFieldId() = this.FieldId
28
-
29
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
30
-
31
- let form<'Values, 'Field, 'Output>
32
- : ((InnerField<'Values> -> 'Field)
33
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
34
- -> Base.Form<'Values, 'Output, 'Field>) =
35
- Base.field System.String.IsNullOrEmpty
36
-
37
- type PasswordField =
38
-
39
- static member create(fieldId: string) : PasswordField.Attributes =
40
- {
41
- FieldId = fieldId
42
- Label = ""
43
- Placeholder = None
44
- AutoComplete = None
45
- AutoFocus = false
46
- }
47
-
48
- static member withLabel (label: string) (attributes: PasswordField.Attributes) =
49
- { attributes with
50
- Label = label
51
- }
52
-
53
- static member withPlaceholder (placeholder: string) (attributes: PasswordField.Attributes) =
54
- { attributes with
55
- Placeholder = Some placeholder
56
- }
57
-
58
- static member withAutoComplete (autoComplete: string) (attributes: PasswordField.Attributes) =
59
- { attributes with
60
- AutoComplete = Some autoComplete
61
- }
62
-
63
- static member withAutoFocus(attributes: PasswordField.Attributes) =
64
- { attributes with
65
- AutoFocus = true
66
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./PasswordField.fs"],"names":["this","build","config","fieldId","attributes","label","placeholder","autoComplete"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0BmBA,sDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;uUAQ/B,oFAAAC,OAAAC;;;;;;;;;;;;;WAKA,mCACcC,SACF,IACM,WACC,WACH;;;;WAIhB,mCAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,yBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,yBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACwBG,cADxB,AAAAH;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,72 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module RadioField =
6
-
7
- type OptionItem =
8
- abstract member Key: string
9
- abstract member Text: string
10
-
11
- [<NoComparison>]
12
- type Attributes =
13
- {
14
- FieldId: string
15
- Label: string
16
- Options: OptionItem list
17
- AutoFocus: bool
18
- }
19
-
20
- interface Field.IAttributes with
21
- member this.GetFieldId() = this.FieldId
22
-
23
- type InnerField<'Values> = Field.Field<Attributes, OptionItem option, 'Values>
24
-
25
- let form<'Values, 'Field, 'Output>
26
- : ((InnerField<'Values> -> 'Field)
27
- -> Base.FieldConfig<Attributes, OptionItem option, 'Values, 'Output>
28
- -> Base.Form<'Values, 'Output, 'Field>) =
29
- Base.field _.IsNone
30
-
31
- type RadioField =
32
-
33
- static member create(fieldId: string) : RadioField.Attributes =
34
- {
35
- FieldId = fieldId
36
- Label = ""
37
- Options = []
38
- AutoFocus = false
39
- }
40
-
41
- static member withLabel (label: string) (attributes: RadioField.Attributes) =
42
- { attributes with
43
- Label = label
44
- }
45
-
46
- static member withOptions
47
- (options: RadioField.OptionItem list)
48
- (attributes: RadioField.Attributes)
49
- =
50
- { attributes with
51
- Options = options
52
- }
53
-
54
- static member withBasicsOptions
55
- (options: (string * string) list)
56
- (attributes: RadioField.Attributes)
57
- =
58
- { attributes with
59
- Options =
60
- options
61
- |> List.map (fun (key, text) ->
62
- { new RadioField.OptionItem with
63
- member _.Key = key
64
- member _.Text = text
65
- }
66
- )
67
- }
68
-
69
- static member withAutoFocus(attributes: RadioField.Attributes) =
70
- { attributes with
71
- AutoFocus = true
72
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./RadioField.fs"],"names":["this","_arg1","build","config","fieldId","attributes","label","options","tupledArg"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAoBmBA,mDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;qZAQ/B,wJAAW,AAAAC,eAAXC,OAAAC;;;;;;;;;;;;;WAKA,gCACcC,SACF,IACE,sCACE;;;;WAIhB,gCAAA,AAAAC,oBACYC,OADZ,AAAAD,oBAAA,AAAAA;;;;WAQA,gCAAA,AAAAA,oBAAA,AAAAA,kBACcE,SADd,AAAAF;;;;WAQA,gCAAA,AAAAA,oBAAA,AAAAA,kBAGW;aAAe,AAAAG;cAAA,AAAAA;QADlBD,UAFR,AAAAF;;;;WAYA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,oBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,102 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module RangeField =
6
-
7
- [<NoComparison>]
8
- type Attributes =
9
- {
10
- FieldId: string
11
- /// <summary>
12
- /// Label to display
13
- /// </summary>
14
- Label: string
15
- Suggestions: float list option
16
- Max: float option
17
- Min: float option
18
- Step: float option
19
- AutoFocus: bool
20
- }
21
-
22
- interface Field.IAttributes with
23
- member this.GetFieldId() = this.FieldId
24
-
25
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
26
-
27
- let form<'Values, 'Field, 'Output>
28
- : ((InnerField<'Values> -> 'Field)
29
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
30
- -> Base.Form<'Values, 'Output, 'Field>) =
31
- Base.field System.String.IsNullOrEmpty
32
-
33
- type RangeField =
34
-
35
- static member create(fieldId: string) : RangeField.Attributes =
36
- {
37
- FieldId = fieldId
38
- Label = ""
39
- Suggestions = None
40
- Max = None
41
- Min = None
42
- Step = None
43
- AutoFocus = false
44
- }
45
-
46
- static member withLabel (label: string) (attributes: RangeField.Attributes) =
47
- { attributes with
48
- Label = label
49
- }
50
-
51
- static member withSuggestions(rangeList: float list) =
52
- fun (attributes: RangeField.Attributes) ->
53
- { attributes with
54
- Suggestions = Some rangeList
55
- }
56
-
57
- static member withSuggestions(rangeList: int list) =
58
- fun (attributes: RangeField.Attributes) ->
59
- { attributes with
60
- Suggestions = Some(rangeList |> List.map float)
61
- }
62
-
63
- static member withMax(max: float) =
64
- fun (attributes: RangeField.Attributes) ->
65
- { attributes with
66
- Max = Some max
67
- }
68
-
69
- static member withMax(max: int) =
70
- fun (attributes: RangeField.Attributes) ->
71
- { attributes with
72
- Max = Some(float max)
73
- }
74
-
75
- static member withMin(min: float) =
76
- fun (attributes: RangeField.Attributes) ->
77
- { attributes with
78
- Min = Some min
79
- }
80
-
81
- static member withMin(min: int) =
82
- fun (attributes: RangeField.Attributes) ->
83
- { attributes with
84
- Min = Some(float min)
85
- }
86
-
87
- static member withStep(step: float) =
88
- fun (attributes: RangeField.Attributes) ->
89
- { attributes with
90
- Step = Some step
91
- }
92
-
93
- static member withStep(step: int) =
94
- fun (attributes: RangeField.Attributes) ->
95
- { attributes with
96
- Step = Some(float step)
97
- }
98
-
99
- static member withAutoFocus (autoFocus: bool) (attributes: RangeField.Attributes) =
100
- { attributes with
101
- AutoFocus = autoFocus
102
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./RangeField.fs"],"names":["this","build","config","fieldId","attributes","label","rangeList","value","max","min","step","autoFocus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBmBA,mDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;8TAQ/B,iFAAAC,OAAAC;;;;;;;;;;;;;WAKA,gCACcC,SACF,IACM,WACR,WACA,WACC,WACK;;;;WAIhB,gCAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,gBAAA,AAAAA,gBAAA,AAAAA,iBAAA,AAAAA;;;;sFAMI,gCAAA,AAAAA,oBAAA,AAAAA,kBACuBE,WADvB,AAAAF,gBAAA,AAAAA,gBAAA,AAAAA,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBACoC,\u002BCAASG,OAAtBD,YADvB,AAAAF,gBAAA,AAAAA,gBAAA,AAAAA,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACeI,KADf,AAAAJ,gBAAA,AAAAA,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACqBI,KADrB,AAAAJ,gBAAA,AAAAA,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,gBACeK,KADf,AAAAL,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,gBACqBK,KADrB,AAAAL,iBAAA,AAAAA;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,gBAAA,AAAAA,gBACgBM,MADhB,AAAAN;;;;sFAMA,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,gBAAA,AAAAA,gBACsBM,MADtB,AAAAN;;;;WAKJ,gCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,gBAAA,AAAAA,gBAAA,AAAAA,iBACgBO","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,83 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module SearchField =
6
-
7
- [<RequireQualifiedAccess>]
8
- type SpellCheck =
9
- | Default
10
- | True
11
- | False
12
-
13
- [<NoComparison>]
14
- type Attributes =
15
- {
16
- FieldId: string
17
- /// <summary>
18
- /// Label to display
19
- /// </summary>
20
- Label: string
21
- /// <summary>
22
- /// Placeholder to display when the field is empty
23
- /// </summary>
24
- Placeholder: string option
25
- /// <summary>
26
- /// A list of HTML attributes to add to the generated field
27
- /// </summary>
28
- AutoComplete: string option
29
- SpellCheck: SpellCheck
30
- AutoFocus: bool
31
- }
32
-
33
- interface Field.IAttributes with
34
- member this.GetFieldId() = this.FieldId
35
-
36
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
37
-
38
- let form<'Values, 'Field, 'Output>
39
- : ((InnerField<'Values> -> 'Field)
40
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
41
- -> Base.Form<'Values, 'Output, 'Field>) =
42
- Base.field System.String.IsNullOrEmpty
43
-
44
- type SearchField =
45
-
46
- static member create(fieldId: string) : SearchField.Attributes =
47
- {
48
- FieldId = fieldId
49
- Label = ""
50
- Placeholder = None
51
- AutoComplete = None
52
- SpellCheck = SearchField.SpellCheck.Default
53
- AutoFocus = false
54
- }
55
-
56
- static member withLabel (label: string) (attributes: SearchField.Attributes) =
57
- { attributes with
58
- Label = label
59
- }
60
-
61
- static member withPlaceholder (placeholder: string) (attributes: SearchField.Attributes) =
62
- { attributes with
63
- Placeholder = Some placeholder
64
- }
65
-
66
- static member withAutoComplete (autoComplete: string) (attributes: SearchField.Attributes) =
67
- { attributes with
68
- AutoComplete = Some autoComplete
69
- }
70
-
71
- static member withSpellCheck (spellCheck: bool) (attributes: SearchField.Attributes) =
72
- { attributes with
73
- SpellCheck =
74
- if spellCheck then
75
- SearchField.SpellCheck.True
76
- else
77
- SearchField.SpellCheck.False
78
- }
79
-
80
- static member withAutoFocus(attributes: SearchField.Attributes) =
81
- { attributes with
82
- AutoFocus = true
83
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./SearchField.fs"],"names":["this","build","config","fieldId","attributes","label","placeholder","autoComplete","spellCheck"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCmBA,oDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;iUAQ/B,kFAAAC,OAAAC;;;;;;;;;;;;;WAKA,iCACcC,SACF,IACM,WACC,mDAEH;;;;WAIhB,iCAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,yBAAA,AAAAA,uBAAA,AAAAA;;;;WAKA,iCAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,yBAAA,AAAAA,uBAAA,AAAAA;;;;WAKA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACwBG,cADxB,AAAAH,uBAAA,AAAAA;;;;WAKA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAEQ,AAAGI,yFAFX,AAAAJ;;;;WASA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,uBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,83 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module SelectField =
6
-
7
- [<AllowNullLiteral>]
8
- type OptionItem =
9
- abstract member Key: string
10
- abstract member Text: string
11
-
12
- type Value = OptionItem option
13
-
14
- [<NoComparison>]
15
- type Attributes =
16
- {
17
- FieldId: string
18
- Label: string
19
- Placeholder: string option
20
- Options: OptionItem list
21
- AutoFocus: bool
22
- }
23
-
24
- interface Field.IAttributes with
25
-
26
- member this.GetFieldId() = this.FieldId
27
-
28
- type InnerField<'Values> = Field.Field<Attributes, OptionItem option, 'Values>
29
-
30
- let form<'Values, 'Field, 'Output>
31
- : ((InnerField<'Values> -> 'Field)
32
- -> Base.FieldConfig<Attributes, OptionItem option, 'Values, 'Output>
33
- -> Base.Form<'Values, 'Output, 'Field>) =
34
- Base.field _.IsNone
35
-
36
- type SelectField =
37
-
38
- static member create(fieldId: string) : SelectField.Attributes =
39
- {
40
- FieldId = fieldId
41
- Label = ""
42
- Placeholder = None
43
- Options = []
44
- AutoFocus = false
45
- }
46
-
47
- static member withLabel (label: string) (attributes: SelectField.Attributes) =
48
- { attributes with
49
- Label = label
50
- }
51
-
52
- static member withPlaceholder (placeholder: string) (attributes: SelectField.Attributes) =
53
- { attributes with
54
- Placeholder = Some placeholder
55
- }
56
-
57
- static member withOptions
58
- (options: SelectField.OptionItem list)
59
- (attributes: SelectField.Attributes)
60
- =
61
- { attributes with
62
- Options = options
63
- }
64
-
65
- static member withBasicsOptions
66
- (options: (string * string) list)
67
- (attributes: SelectField.Attributes)
68
- =
69
- { attributes with
70
- Options =
71
- options
72
- |> List.map (fun (key, text) ->
73
- { new SelectField.OptionItem with
74
- member _.Key = key
75
- member _.Text = text
76
- }
77
- )
78
- }
79
-
80
- static member withAutoFocus(attributes: SelectField.Attributes) =
81
- { attributes with
82
- AutoFocus = true
83
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./SelectField.fs"],"names":["this","_arg1","build","config","fieldId","attributes","label","placeholder","options","tupledArg"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBmBA,oDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;2ZAQ/B,2JAAW,AAAAC,eAAXC,OAAAC;;;;;;;;;;;;;WAKA,iCACcC,SACF,IACM,WACJ,uCACE;;;;WAIhB,iCAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,oBAAA,AAAAA;;;;WAKA,iCAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,oBAAA,AAAAA;;;;WAQA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACcG,SADd,AAAAH;;;;WAQA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAGW;aAAe,AAAAI;cAAA,AAAAA;QADlBD,UAFR,AAAAH;;;;WAYA,iCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,oBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,63 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module TelField =
6
-
7
- [<NoComparison>]
8
- type Attributes =
9
- {
10
- FieldId: string
11
- /// <summary>
12
- /// Label to display
13
- /// </summary>
14
- Label: string
15
- /// <summary>
16
- /// Placeholder to display when the field is empty
17
- /// </summary>
18
- Placeholder: string option
19
- AutoComplete: string option
20
- AutoFocus: bool
21
- }
22
-
23
- interface Field.IAttributes with
24
- member this.GetFieldId() = this.FieldId
25
-
26
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
27
-
28
- let form<'Values, 'Field, 'Output>
29
- : ((InnerField<'Values> -> 'Field)
30
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
31
- -> Base.Form<'Values, 'Output, 'Field>) =
32
- Base.field System.String.IsNullOrEmpty
33
-
34
- type TelField =
35
-
36
- static member create(fieldId: string) : TelField.Attributes =
37
- {
38
- FieldId = fieldId
39
- Label = ""
40
- Placeholder = None
41
- AutoComplete = None
42
- AutoFocus = false
43
- }
44
-
45
- static member withLabel (label: string) (attributes: TelField.Attributes) =
46
- { attributes with
47
- Label = label
48
- }
49
-
50
- static member withPlaceholder (placeholder: string) (attributes: TelField.Attributes) =
51
- { attributes with
52
- Placeholder = Some placeholder
53
- }
54
-
55
- static member withAutoComplete (autoComplete: string) (attributes: TelField.Attributes) =
56
- { attributes with
57
- AutoComplete = Some autoComplete
58
- }
59
-
60
- static member withAutoFocus(attributes: TelField.Attributes) =
61
- { attributes with
62
- AutoFocus = true
63
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./TelField.fs"],"names":["this","build","config","fieldId","attributes","label","placeholder","autoComplete"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAuBmBA,iDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;wTAQ/B,\u002BEAAAC,OAAAC;;;;;;;;;;;;;WAKA,8BACcC,SACF,IACM,WACC,WACH;;;;WAIhB,8BAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,yBAAA,AAAAA;;;;WAKA,8BAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,yBAAA,AAAAA;;;;WAKA,8BAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACwBG,cADxB,AAAAH;;;;WAKA,8BAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,83 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module TextField =
6
-
7
- [<RequireQualifiedAccess>]
8
- type SpellCheck =
9
- | Default
10
- | True
11
- | False
12
-
13
- [<NoComparison>]
14
- type Attributes =
15
- {
16
- FieldId: string
17
- /// <summary>
18
- /// Label to display
19
- /// </summary>
20
- Label: string
21
- /// <summary>
22
- /// Placeholder to display when the field is empty
23
- /// </summary>
24
- Placeholder: string option
25
- /// <summary>
26
- /// A list of HTML attributes to add to the generated field
27
- /// </summary>
28
- AutoComplete: string option
29
- SpellCheck: SpellCheck
30
- AutoFocus: bool
31
- }
32
-
33
- interface Field.IAttributes with
34
- member this.GetFieldId() = this.FieldId
35
-
36
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
37
-
38
- let form<'Values, 'Field, 'Output>
39
- : ((InnerField<'Values> -> 'Field)
40
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
41
- -> Base.Form<'Values, 'Output, 'Field>) =
42
- Base.field System.String.IsNullOrEmpty
43
-
44
- type TextField =
45
-
46
- static member create(fieldId: string) : TextField.Attributes =
47
- {
48
- FieldId = fieldId
49
- Label = ""
50
- Placeholder = None
51
- AutoComplete = None
52
- SpellCheck = TextField.SpellCheck.Default
53
- AutoFocus = false
54
- }
55
-
56
- static member withLabel (label: string) (attributes: TextField.Attributes) =
57
- { attributes with
58
- Label = label
59
- }
60
-
61
- static member withPlaceholder (placeholder: string) (attributes: TextField.Attributes) =
62
- { attributes with
63
- Placeholder = Some placeholder
64
- }
65
-
66
- static member withAutoComplete (autoComplete: string) (attributes: TextField.Attributes) =
67
- { attributes with
68
- AutoComplete = Some autoComplete
69
- }
70
-
71
- static member withSpellCheck (spellCheck: bool) (attributes: TextField.Attributes) =
72
- { attributes with
73
- SpellCheck =
74
- if spellCheck then
75
- TextField.SpellCheck.True
76
- else
77
- TextField.SpellCheck.False
78
- }
79
-
80
- static member withAutoFocus(attributes: TextField.Attributes) =
81
- { attributes with
82
- AutoFocus = true
83
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./TextField.fs"],"names":["this","build","config","fieldId","attributes","label","placeholder","autoComplete","spellCheck"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCmBA,kDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;2TAQ/B,gFAAAC,OAAAC;;;;;;;;;;;;;WAKA,\u002BBACcC,SACF,IACM,WACC,iDAEH;;;;WAIhB,\u002BBAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,yBAAA,AAAAA,uBAAA,AAAAA;;;;WAKA,\u002BBAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,yBAAA,AAAAA,uBAAA,AAAAA;;;;WAKA,\u002BBAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACwBG,cADxB,AAAAH,uBAAA,AAAAA;;;;WAKA,\u002BBAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAEQ,AAAGI,qFAFX,AAAAJ;;;;WASA,\u002BBAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,uBACgB","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,92 +0,0 @@
1
- namespace Fable.Form.Simple.Fields.Html
2
-
3
- open Fable.Form
4
-
5
- module TextareaField =
6
-
7
- [<NoComparison>]
8
- type Attributes =
9
- {
10
- FieldId: string
11
- /// <summary>
12
- /// Label to display
13
- /// </summary>
14
- Label: string
15
- /// <summary>
16
- /// Placeholder to display when the field is empty
17
- /// </summary>
18
- Placeholder: string option
19
- /// <summary>
20
- /// A list of HTML attributes to add to the generated field
21
- /// </summary>
22
- AutoComplete: string option
23
- AutoFocus: bool
24
- Cols: int option
25
- Rows: int option
26
- IsWrapHard: bool
27
- }
28
-
29
- interface Field.IAttributes with
30
- member this.GetFieldId() = this.FieldId
31
-
32
- type InnerField<'Values> = Field.Field<Attributes, string, 'Values>
33
-
34
- let form<'Values, 'Field, 'Output>
35
- : ((InnerField<'Values> -> 'Field)
36
- -> Base.FieldConfig<Attributes, string, 'Values, 'Output>
37
- -> Base.Form<'Values, 'Output, 'Field>) =
38
- Base.field System.String.IsNullOrEmpty
39
-
40
- type TextareaField =
41
-
42
- static member create(fieldId: string) : TextareaField.Attributes =
43
- {
44
- FieldId = fieldId
45
- Label = ""
46
- Placeholder = None
47
- AutoComplete = None
48
- AutoFocus = false
49
- Cols = None
50
- Rows = None
51
- IsWrapHard = false
52
- }
53
-
54
- static member withLabel (label: string) (attributes: TextareaField.Attributes) =
55
- { attributes with
56
- Label = label
57
- }
58
-
59
- static member withPlaceholder (placeholder: string) (attributes: TextareaField.Attributes) =
60
- { attributes with
61
- Placeholder = Some placeholder
62
- }
63
-
64
- static member withAutoComplete (autoComplete: string) (attributes: TextareaField.Attributes) =
65
- { attributes with
66
- AutoComplete = Some autoComplete
67
- }
68
-
69
- static member withAutoFocus(attributes: TextareaField.Attributes) =
70
- { attributes with
71
- AutoFocus = true
72
- }
73
-
74
- static member withCols (cols: int) (attributes: TextareaField.Attributes) =
75
- { attributes with
76
- Cols = Some cols
77
- }
78
-
79
- static member withRows (rows: int) (attributes: TextareaField.Attributes) =
80
- { attributes with
81
- Rows = Some rows
82
- }
83
-
84
- static member withWrapHard(attributes: TextareaField.Attributes) =
85
- { attributes with
86
- IsWrapHard = true
87
- }
88
-
89
- static member withWrapSoft(attributes: TextareaField.Attributes) =
90
- { attributes with
91
- IsWrapHard = false
92
- }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./TextareaField.fs"],"names":["this","build","config","fieldId","attributes","label","placeholder","autoComplete","cols","rows"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BmBA,sDAAAA;AAAoB,eAAA,AAAAA;;;;;;;;;uUAQ/B,oFAAAC,OAAAC;;;;;;;;;;;;;WAKA,mCACcC,SACF,IACM,WACC,WACH,OACL,WACA,WACM;;;;WAIjB,mCAAA,AAAAC,oBACYC,OADZ,AAAAD,wBAAA,AAAAA,yBAAA,AAAAA,sBAAA,AAAAA,iBAAA,AAAAA,iBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBACuBE,aADvB,AAAAF,yBAAA,AAAAA,sBAAA,AAAAA,iBAAA,AAAAA,iBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBACwBG,cADxB,AAAAH,sBAAA,AAAAA,iBAAA,AAAAA,iBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBACgB,MADhB,AAAAA,iBAAA,AAAAA,iBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,sBACgBI,MADhB,AAAAJ,iBAAA,AAAAA;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,sBAAA,AAAAA,iBACgBK,MADhB,AAAAL;;;;WAKA,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,sBAAA,AAAAA,iBAAA,AAAAA,iBACiB;;;;WAIjB,mCAAA,AAAAA,oBAAA,AAAAA,kBAAA,AAAAA,wBAAA,AAAAA,yBAAA,AAAAA,sBAAA,AAAAA,iBAAA,AAAAA,iBACiB","file":null,"sourcesContent":null,"sourceRoot":null}