@f1studio/form-spec 5.0.0-alpha.106 → 5.0.0-alpha.108
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.
- package/FormSpec.FS/Components/HelloComponent.d.ts.map +1 -0
- package/FormSpec.FS/Designer.d.ts.map +1 -0
- package/FormSpec.FS/FormSpec.d.ts.map +1 -0
- package/FormSpec.FS/FormSpecHelpers.d.ts.map +1 -0
- package/FormSpec.FS/FormSpecValues.d.ts.map +1 -0
- package/FormSpec.FS/Helpers.d.ts.map +1 -0
- package/FormSpec.FS/Interfaces.d.ts.map +1 -0
- package/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Helpers.d.ts +8 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Helpers.d.ts.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Option.d.ts.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Values.Api.Option.d.ts.map +1 -0
- package/FormSpec.FS/Logging/LogTypes.d.ts.map +1 -0
- package/FormSpec.FS/Migrator.d.ts.map +1 -0
- package/FormSpec.FS/PathwayDataExtractor.d.ts.map +1 -0
- package/FormSpec.FS/PathwayExecutor.d.ts.map +1 -0
- package/FormSpec.FS/PathwayValidator.d.ts.map +1 -0
- package/FormSpec.FS/PluginInterface.d.ts.map +1 -0
- package/FormSpec.FS/Prelude.d.ts.map +1 -0
- package/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.d.ts.map +1 -0
- package/FormSpec.FS/Renderers/MermaidRenderer.d.ts.map +1 -0
- package/FormSpec.FS/Renderers/PathwayRenderers.d.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Designer.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Designer.ts.map +1 -0
- package/FormSpec.TS/{FormSpec.js.map → FormSpec.FS/FormSpec.js.map} +1 -1
- package/FormSpec.TS/{FormSpec.ts.map → FormSpec.FS/FormSpec.ts.map} +1 -1
- package/FormSpec.TS/{FormSpecHelpers.js → FormSpec.FS/FormSpecHelpers.js} +1 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Helpers.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Helpers.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Interfaces.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Interfaces.ts.map +1 -0
- package/FormSpec.TS/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Helpers.js +15 -2
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts.map +1 -0
- package/FormSpec.TS/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Option.js +2 -2
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.ts.map +1 -0
- package/FormSpec.TS/{Interop → FormSpec.FS/Interop}/FormSpec.Values.Api.Option.js +2 -2
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.ts.map +1 -0
- package/FormSpec.TS/{Migrator.js → FormSpec.FS/Migrator.js} +1 -1
- package/FormSpec.TS/FormSpec.FS/Migrator.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Migrator.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.ts.map +1 -0
- package/FormSpec.TS/{PathwayExecutor.js → FormSpec.FS/PathwayExecutor.js} +1 -1
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PluginInterface.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/PluginInterface.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Prelude.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Prelude.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.ts.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.ts.map +1 -0
- package/FormSpec.TS/PathwayExecutor.withPlugins.js +28 -0
- package/FormSpec.TS/PathwayExecutor.withPlugins.js.map +1 -0
- package/FormSpec.TS/PluginRegistration.js +18 -0
- package/FormSpec.TS/PluginRegistration.js.map +1 -0
- package/FormSpec.TS/PluginRegistration.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs +47 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js +93 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs +49 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js +127 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs +52 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js +105 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs +54 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js +105 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs +48 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js +83 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Fable.Form.Simple.Bulma.fableproj +53 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs +132 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js +276 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs +537 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js +263 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs +361 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js +576 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs +52 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js +73 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs +246 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js +226 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs +52 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js +116 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs +56 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js +95 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs +46 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js +77 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs +51 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js +103 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs +49 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js +87 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs +60 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js +69 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs +79 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js +134 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs +44 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js +77 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs +49 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js +87 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs +59 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js +87 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs +44 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js +77 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs +143 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js +154 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs +36 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js +76 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs +49 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js +88 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs +67 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js +121 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs +70 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js +121 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs +76 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js +91 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/Fable.Form.Simple.Fields.Html.fableproj +45 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs +105 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js +161 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs +66 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js +110 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs +72 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js +108 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs +102 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js +157 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs +83 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js +164 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs +83 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js +119 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs +63 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js +110 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs +83 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js +164 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs +92 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js +149 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs +108 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js +161 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Colors.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs +52 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0/Interop.fs.js → Feliz.2.8.0/DateParsing.fs.js} +27 -37
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Feliz.fableproj +14 -3
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs +11 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.js +25 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs +176 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.js +179 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs +29 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.js +19 -0
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Key.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Length.fs +55 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Properties.fs +5 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Properties.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/React.fs +77 -239
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactDOM.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.fs +20 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactInterop.js.map +1 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactTypes.fs +3 -2
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactTypes.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/StyleTypes.fs +4 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/StyleTypes.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Styles.fs +646 -8
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Svg.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransitionTimingFunction.fs +62 -0
- package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Types.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Bulma.fs +990 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs +179 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js +51 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Feliz.Bulma.fableproj +32 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs +1986 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js +27 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs +7 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js +31 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/PropertyBuilders.fs +8 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Exports.fs +14 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Glutinum.Feliz.ReactSignaturePadWrapper.fableproj +18 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Interop.fs +6 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/ReactSignaturePadWrapper.fs +32 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs +3 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js +7 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +1 -0
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.ts.map +1 -0
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -1
- package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -1
- package/FormSpec.TS/fable_modules/project_cracked.json +1 -1
- package/FormSpec.TS/plugins/bmi/src/BMIField.js +823 -0
- package/FormSpec.TS/plugins/bmi/src/BMIField.js.map +1 -0
- package/FormSpec.TS/plugins/bmi/src/BMIField.ts.map +1 -0
- package/FormSpec.TS/plugins/likert/src/LikertField.js +638 -0
- package/FormSpec.TS/plugins/likert/src/LikertField.js.map +1 -0
- package/FormSpec.TS/plugins/likert/src/LikertField.ts.map +1 -0
- package/FormSpec.TS/plugins/signature/src/SignatureField.js +294 -0
- package/FormSpec.TS/plugins/signature/src/SignatureField.js.map +1 -0
- package/FormSpec.TS/plugins/signature/src/SignatureField.ts.map +1 -0
- package/FormSpec.TS/plugins/vitals/src/VitalsField.js +1150 -0
- package/FormSpec.TS/plugins/vitals/src/VitalsField.js.map +1 -0
- package/FormSpec.TS/plugins/vitals/src/VitalsField.ts.map +1 -0
- package/PathwayExecutor.withPlugins.d.ts +11 -0
- package/PathwayExecutor.withPlugins.d.ts.map +1 -0
- package/PluginRegistration.d.ts +2 -0
- package/PluginRegistration.d.ts.map +1 -0
- package/README.md +7 -7
- package/fable_modules/Fable.Form.3.0.0/Base.fs.d.ts +147 -0
- package/fable_modules/Fable.Form.3.0.0/Base.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Error.fs.d.ts +19 -0
- package/fable_modules/Fable.Form.3.0.0/Error.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Extensions.fs.d.ts +14 -0
- package/fable_modules/Fable.Form.3.0.0/Extensions.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Field.fs.d.ts +14 -0
- package/fable_modules/Fable.Form.3.0.0/Field.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.d.ts +113 -0
- package/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.d.ts +17 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.d.ts.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.d.ts +41 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.d.ts.map +1 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.d.ts +73 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.d.ts.map +1 -0
- package/fable_modules/Feliz.2.8.0/Colors.fs.d.ts +9 -0
- package/fable_modules/Feliz.2.8.0/Colors.fs.d.ts.map +1 -0
- package/fable_modules/Feliz.2.8.0/Interop.fs.d.ts +3 -0
- package/fable_modules/Feliz.2.8.0/Interop.fs.d.ts.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactInterop.d.ts +6 -0
- package/fable_modules/Feliz.2.8.0/ReactInterop.d.ts.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactTypes.fs.d.ts +36 -0
- package/fable_modules/Feliz.2.8.0/ReactTypes.fs.d.ts.map +1 -0
- package/fable_modules/Feliz.2.8.0/Types.fs.d.ts +7 -0
- package/fable_modules/Feliz.2.8.0/Types.fs.d.ts.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.d.ts +5 -0
- package/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.d.ts.map +1 -0
- package/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.d.ts +3 -0
- package/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.d.ts.map +1 -0
- package/package.json +15 -15
- package/plugins/bmi/src/BMIField.d.ts +52 -0
- package/plugins/bmi/src/BMIField.d.ts.map +1 -0
- package/plugins/likert/src/LikertField.d.ts +60 -0
- package/plugins/likert/src/LikertField.d.ts.map +1 -0
- package/plugins/signature/src/SignatureField.d.ts +34 -0
- package/plugins/signature/src/SignatureField.d.ts.map +1 -0
- package/plugins/vitals/src/VitalsField.d.ts +82 -0
- package/plugins/vitals/src/VitalsField.d.ts.map +1 -0
- package/src/{FormSpecHelpers.ts → FormSpec.FS/FormSpecHelpers.ts} +1 -1
- package/src/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Helpers.ts +21 -4
- package/src/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Option.ts +2 -2
- package/src/{Interop → FormSpec.FS/Interop}/FormSpec.Values.Api.Option.ts +2 -2
- package/src/{Migrator.ts → FormSpec.FS/Migrator.ts} +1 -1
- package/src/{PathwayExecutor.ts → FormSpec.FS/PathwayExecutor.ts} +1 -1
- package/src/PathwayExecutor.withPlugins.ts +10 -0
- package/src/PluginRegistration.ts +16 -0
- package/src/plugins/bmi/src/BMIField.ts +494 -0
- package/src/plugins/likert/src/LikertField.ts +420 -0
- package/src/plugins/signature/src/SignatureField.ts +185 -0
- package/src/plugins/vitals/src/VitalsField.ts +665 -0
- package/Components/HelloComponent.d.ts.map +0 -1
- package/Designer.d.ts.map +0 -1
- package/FormSpec.TS/Components/HelloComponent.js.map +0 -1
- package/FormSpec.TS/Components/HelloComponent.ts.map +0 -1
- package/FormSpec.TS/Designer.js.map +0 -1
- package/FormSpec.TS/Designer.ts.map +0 -1
- package/FormSpec.TS/FormSpecHelpers.js.map +0 -1
- package/FormSpec.TS/FormSpecHelpers.ts.map +0 -1
- package/FormSpec.TS/FormSpecValues.js.map +0 -1
- package/FormSpec.TS/FormSpecValues.ts.map +0 -1
- package/FormSpec.TS/Helpers.js.map +0 -1
- package/FormSpec.TS/Helpers.ts.map +0 -1
- package/FormSpec.TS/Interfaces.js.map +0 -1
- package/FormSpec.TS/Interfaces.ts.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Api.Helpers.ts.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Api.Option.js.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Api.Option.ts.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js.map +0 -1
- package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.ts.map +0 -1
- package/FormSpec.TS/Logging/LogTypes.js.map +0 -1
- package/FormSpec.TS/Logging/LogTypes.ts.map +0 -1
- package/FormSpec.TS/Migrator.js.map +0 -1
- package/FormSpec.TS/Migrator.ts.map +0 -1
- package/FormSpec.TS/PathwayDataExtractor.js.map +0 -1
- package/FormSpec.TS/PathwayDataExtractor.ts.map +0 -1
- package/FormSpec.TS/PathwayExecutor.js.map +0 -1
- package/FormSpec.TS/PathwayExecutor.ts.map +0 -1
- package/FormSpec.TS/PathwayValidator.js.map +0 -1
- package/FormSpec.TS/PathwayValidator.ts.map +0 -1
- package/FormSpec.TS/PluginInterface.js.map +0 -1
- package/FormSpec.TS/PluginInterface.ts.map +0 -1
- package/FormSpec.TS/Prelude.js.map +0 -1
- package/FormSpec.TS/Prelude.ts.map +0 -1
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js.map +0 -1
- package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.ts.map +0 -1
- package/FormSpec.TS/Renderers/MermaidRenderer.js.map +0 -1
- package/FormSpec.TS/Renderers/MermaidRenderer.ts.map +0 -1
- package/FormSpec.TS/Renderers/PathwayRenderers.js.map +0 -1
- package/FormSpec.TS/Renderers/PathwayRenderers.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs +0 -83
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js +0 -561
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts.map +0 -1
- package/FormSpec.d.ts.map +0 -1
- package/FormSpecHelpers.d.ts.map +0 -1
- package/FormSpecValues.d.ts.map +0 -1
- package/Helpers.d.ts.map +0 -1
- package/Interfaces.d.ts.map +0 -1
- package/Interop/FormSpec.Api.Helpers.d.ts.map +0 -1
- package/Interop/FormSpec.Api.Option.d.ts.map +0 -1
- package/Interop/FormSpec.Values.Api.Option.d.ts.map +0 -1
- package/Logging/LogTypes.d.ts.map +0 -1
- package/Migrator.d.ts.map +0 -1
- package/PathwayDataExtractor.d.ts.map +0 -1
- package/PathwayExecutor.d.ts.map +0 -1
- package/PathwayValidator.d.ts.map +0 -1
- package/PluginInterface.d.ts.map +0 -1
- package/Prelude.d.ts.map +0 -1
- package/Renderers/FormSpecMarkdownRenderer.d.ts.map +0 -1
- package/Renderers/MermaidRenderer.d.ts.map +0 -1
- package/Renderers/PathwayRenderers.d.ts.map +0 -1
- /package/{Components → FormSpec.FS/Components}/HelloComponent.d.ts +0 -0
- /package/{Designer.d.ts → FormSpec.FS/Designer.d.ts} +0 -0
- /package/{FormSpec.d.ts → FormSpec.FS/FormSpec.d.ts} +0 -0
- /package/{FormSpecHelpers.d.ts → FormSpec.FS/FormSpecHelpers.d.ts} +0 -0
- /package/{FormSpecValues.d.ts → FormSpec.FS/FormSpecValues.d.ts} +0 -0
- /package/{Helpers.d.ts → FormSpec.FS/Helpers.d.ts} +0 -0
- /package/{Interfaces.d.ts → FormSpec.FS/Interfaces.d.ts} +0 -0
- /package/{Interop → FormSpec.FS/Interop}/FormSpec.Api.Option.d.ts +0 -0
- /package/{Interop → FormSpec.FS/Interop}/FormSpec.Values.Api.Option.d.ts +0 -0
- /package/{Logging → FormSpec.FS/Logging}/LogTypes.d.ts +0 -0
- /package/{Migrator.d.ts → FormSpec.FS/Migrator.d.ts} +0 -0
- /package/{PathwayDataExtractor.d.ts → FormSpec.FS/PathwayDataExtractor.d.ts} +0 -0
- /package/{PathwayExecutor.d.ts → FormSpec.FS/PathwayExecutor.d.ts} +0 -0
- /package/{PathwayValidator.d.ts → FormSpec.FS/PathwayValidator.d.ts} +0 -0
- /package/{PluginInterface.d.ts → FormSpec.FS/PluginInterface.d.ts} +0 -0
- /package/{Prelude.d.ts → FormSpec.FS/Prelude.d.ts} +0 -0
- /package/{Renderers → FormSpec.FS/Renderers}/FormSpecMarkdownRenderer.d.ts +0 -0
- /package/{Renderers → FormSpec.FS/Renderers}/MermaidRenderer.d.ts +0 -0
- /package/{Renderers → FormSpec.FS/Renderers}/PathwayRenderers.d.ts +0 -0
- /package/FormSpec.TS/{Components → FormSpec.FS/Components}/HelloComponent.js +0 -0
- /package/FormSpec.TS/{Designer.js → FormSpec.FS/Designer.js} +0 -0
- /package/FormSpec.TS/{FormSpec.js → FormSpec.FS/FormSpec.js} +0 -0
- /package/FormSpec.TS/{FormSpecValues.js → FormSpec.FS/FormSpecValues.js} +0 -0
- /package/FormSpec.TS/{Helpers.js → FormSpec.FS/Helpers.js} +0 -0
- /package/FormSpec.TS/{Interfaces.js → FormSpec.FS/Interfaces.js} +0 -0
- /package/FormSpec.TS/{Logging → FormSpec.FS/Logging}/LogTypes.js +0 -0
- /package/FormSpec.TS/{PathwayDataExtractor.js → FormSpec.FS/PathwayDataExtractor.js} +0 -0
- /package/FormSpec.TS/{PathwayValidator.js → FormSpec.FS/PathwayValidator.js} +0 -0
- /package/FormSpec.TS/{PluginInterface.js → FormSpec.FS/PluginInterface.js} +0 -0
- /package/FormSpec.TS/{Prelude.js → FormSpec.FS/Prelude.js} +0 -0
- /package/FormSpec.TS/{Renderers → FormSpec.FS/Renderers}/FormSpecMarkdownRenderer.js +0 -0
- /package/FormSpec.TS/{Renderers → FormSpec.FS/Renderers}/MermaidRenderer.js +0 -0
- /package/FormSpec.TS/{Renderers → FormSpec.FS/Renderers}/PathwayRenderers.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/BorderStyle.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Colors.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Colors.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Colors.fs.ts.map +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Fonts.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/GridTypes.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Html.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0/ReactTypes.fs.ts.map → Feliz.2.8.0/Interop.fs.ts.map} +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Key.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Key.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Key.fs.ts.map +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Locale.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Properties.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Properties.fs.ts.map +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactDOM.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactDOM.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactDOM.fs.ts.map +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactInterop.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/ReactTypes.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0/StyleTypes.fs.ts.map → Feliz.2.8.0/ReactTypes.fs.ts.map} +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/StyleTypes.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0/Svg.fs.ts.map → Feliz.2.8.0/StyleTypes.fs.ts.map} +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Svg.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Svg.fs.js +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0/Types.fs.ts.map → Feliz.2.8.0/Svg.fs.ts.map} +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/TextDecorationLine.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/TextDecorationStyle.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Transform.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/TransformOrigin.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/TransitionProperty.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Types.fs +0 -0
- /package/FormSpec.TS/fable_modules/{Feliz.2.7.0 → Feliz.2.8.0}/Types.fs.js +0 -0
- /package/src/{Components → FormSpec.FS/Components}/HelloComponent.ts +0 -0
- /package/src/{Designer.ts → FormSpec.FS/Designer.ts} +0 -0
- /package/src/{FormSpec.ts → FormSpec.FS/FormSpec.ts} +0 -0
- /package/src/{FormSpecValues.ts → FormSpec.FS/FormSpecValues.ts} +0 -0
- /package/src/{Helpers.ts → FormSpec.FS/Helpers.ts} +0 -0
- /package/src/{Interfaces.ts → FormSpec.FS/Interfaces.ts} +0 -0
- /package/src/{Logging → FormSpec.FS/Logging}/LogTypes.ts +0 -0
- /package/src/{PathwayDataExtractor.ts → FormSpec.FS/PathwayDataExtractor.ts} +0 -0
- /package/src/{PathwayValidator.ts → FormSpec.FS/PathwayValidator.ts} +0 -0
- /package/src/{PluginInterface.ts → FormSpec.FS/PluginInterface.ts} +0 -0
- /package/src/{Prelude.ts → FormSpec.FS/Prelude.ts} +0 -0
- /package/src/{Renderers → FormSpec.FS/Renderers}/FormSpecMarkdownRenderer.ts +0 -0
- /package/src/{Renderers → FormSpec.FS/Renderers}/MermaidRenderer.ts +0 -0
- /package/src/{Renderers → FormSpec.FS/Renderers}/PathwayRenderers.ts +0 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Config () {
|
|
13
|
+
return Config;
|
|
14
|
+
},
|
|
15
|
+
get Config_$reflection () {
|
|
16
|
+
return Config_$reflection;
|
|
17
|
+
},
|
|
18
|
+
get renderField () {
|
|
19
|
+
return renderField;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _Types = require("@fable-org/fable-library-js/Types.js");
|
|
23
|
+
const _Option = require("@fable-org/fable-library-js/Option.js");
|
|
24
|
+
const _Errorfs = require("../Fable.Form.3.0.0/Error.fs.js");
|
|
25
|
+
const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
|
|
26
|
+
const _HtmlViewfs = require("./Html.View.fs.js");
|
|
27
|
+
const _Seq = require("@fable-org/fable-library-js/Seq.js");
|
|
28
|
+
class Config extends _Types.Record {
|
|
29
|
+
constructor(OnChange, OnBlur, Disabled, IsReadOnly, Value, Error$, ShowError, Label, InputFunc, ExtraInputProps){
|
|
30
|
+
super();
|
|
31
|
+
this.OnChange = OnChange;
|
|
32
|
+
this.OnBlur = OnBlur;
|
|
33
|
+
this.Disabled = Disabled;
|
|
34
|
+
this.IsReadOnly = IsReadOnly;
|
|
35
|
+
this.Value = Value;
|
|
36
|
+
this.Error = Error$;
|
|
37
|
+
this.ShowError = ShowError;
|
|
38
|
+
this.Label = Label;
|
|
39
|
+
this.InputFunc = InputFunc;
|
|
40
|
+
this.ExtraInputProps = ExtraInputProps;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function Config_$reflection() {
|
|
44
|
+
return (0, _Reflection.record_type)("Fable.Form.Simple.Bulma.Fields.InputField.Config", [], Config, ()=>[
|
|
45
|
+
[
|
|
46
|
+
"OnChange",
|
|
47
|
+
(0, _Reflection.lambda_type)(_Reflection.string_type, _Reflection.unit_type)
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"OnBlur",
|
|
51
|
+
(0, _Reflection.option_type)((0, _Reflection.lambda_type)(_Reflection.unit_type, _Reflection.unit_type))
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
"Disabled",
|
|
55
|
+
_Reflection.bool_type
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
"IsReadOnly",
|
|
59
|
+
_Reflection.bool_type
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
"Value",
|
|
63
|
+
_Reflection.string_type
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
"Error",
|
|
67
|
+
(0, _Reflection.option_type)((0, _Errorfs.Error$_$reflection)())
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
"ShowError",
|
|
71
|
+
_Reflection.bool_type
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
"Label",
|
|
75
|
+
_Reflection.string_type
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
"InputFunc",
|
|
79
|
+
(0, _Reflection.lambda_type)((0, _Reflection.list_type)((0, _Reflection.class_type)("Feliz.IReactProperty")), (0, _Reflection.class_type)("Fable.React.ReactElement"))
|
|
80
|
+
],
|
|
81
|
+
[
|
|
82
|
+
"ExtraInputProps",
|
|
83
|
+
(0, _Reflection.list_type)((0, _Reflection.class_type)("Feliz.IReactProperty"))
|
|
84
|
+
]
|
|
85
|
+
]);
|
|
86
|
+
}
|
|
87
|
+
function renderField(config) {
|
|
88
|
+
return (0, _HtmlViewfs.withLabelAndError)(config.Label, config.ShowError, config.Error, config.InputFunc((0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
89
|
+
"onChange",
|
|
90
|
+
(ev)=>{
|
|
91
|
+
config.OnChange(ev.target.value);
|
|
92
|
+
}
|
|
93
|
+
]), (0, _Seq.delay)(()=>{
|
|
94
|
+
let matchValue, onBlur;
|
|
95
|
+
return (0, _Seq.append)((matchValue = config.OnBlur, matchValue == null ? (0, _Seq.empty)() : (onBlur = (0, _Option.value)(matchValue), (0, _Seq.singleton)([
|
|
96
|
+
"onBlur",
|
|
97
|
+
(_arg)=>{
|
|
98
|
+
onBlur();
|
|
99
|
+
}
|
|
100
|
+
]))), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
101
|
+
"disabled",
|
|
102
|
+
config.Disabled
|
|
103
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
104
|
+
"readOnly",
|
|
105
|
+
config.IsReadOnly
|
|
106
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
107
|
+
"value",
|
|
108
|
+
config.Value
|
|
109
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)(config.ShowError && config.Error != null ? (0, _Seq.singleton)([
|
|
110
|
+
"className",
|
|
111
|
+
"is-danger"
|
|
112
|
+
]) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>config.ExtraInputProps))))))))));
|
|
113
|
+
}))))));
|
|
114
|
+
} //# sourceMappingURL=InputField.fs.ts.map
|
|
115
|
+
|
|
116
|
+
//# sourceMappingURL=InputField.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.ts","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/PropertyBuilders.fs","../Feliz.Bulma.3.0.0/Modifiers.fs"],"names":["config","ev","matchValue","onBlur"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAmDW,6BAAA,EAA4BA,OAAAA,KAAAA,EAAaA,OAAAA,SAAAA,EAAiBA,OAAAA,KAAAA,EAhB7DA,OAAAA,SAAAA,KAAiB,WAAA,MACb,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;YCmgCiE;YAAA,CAAA;gBDngCnDA,OAAAA,QAAAA,CCmgC6FC,GAAAA,MAAAA,CAAAA,KAAAA;;gBDjgC3G,UAAA,EAAA;gBAAMC,YACCC;uBADP,WAAA,GAAMD,aAAAF,OAAAA,MAAAA,EAAA,AAAAE,cAAAA,WAEI,UAAA,OADHC,SAAAA,IAAAA,aAAAA,EAAUD,iBAAA,cAAA,EAAA;gBCk+BkD;gBAAA,CAAA;oBDl+B5BC;;sBAGvC,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;oBCshBqD;oBDthBvCH,OAAAA,QAAAA;iBAAAA,OACd,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;wBC07CqD;wBD17CvCA,OAAAA,UAAAA;qBAAAA,OACd,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;4BC+zDoD;4BD/zDzCA,OAAAA,KAAAA;yBAAAA,GAEX,cAAA,EAAA,QAAA,WAAA,EAAA,AAAGA,OAAAA,SAAAA,IAAoBA,OAAAA,KAAAA,IAAAA,WACnB,cAAA,EAAA;gCE3CmC;gCCgrCU;6BAAA,QHtoCjD,UAAA,SAGA,UAAA,EAAA,IAAOA,OAAAA,eAAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./InputField.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/PropertyBuilders.fs","../Feliz.Bulma.3.0.0/Modifiers.fs"],"names":["config","ev","matchValue","onBlur"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmDW,kBAA4B,AAAAA,cAAa,AAAAA,kBAAiB,AAAAA,cAhB7D,AAAAA,iBAAiB,uBACb,sDAAA,uBAAA,2BCmgCiE;AAA\u002BB,ADngClF,AAAAA,wBCmgC6F,AAAAC;0BDjgC3G;YAAMC,kCACCC;eADP,wBAAMD,aAAA,AAAAF,eAAA,CAAA,AAAAE,uBAEI,6BADHC,kBAAUD,aAAA,2BCk\u002BBkD;ADl\u002BB5B,AAAAC;iCAGvC,sDAAA,uBAAA,2BCshBqD,YDthBvC,AAAAH,oCACd,sDAAA,uBAAA,2BC07CqD,YD17CvC,AAAAA,sCACd,sDAAA,uBAAA,2BC\u002BzDoD,SD/zDzC,AAAAA,iCAEX,sDAAA,uBAAA,CAAG,AAAAA,qBAAoB,AAAAA,yBACnB,2BE3CmC,aCgrCU,iCHtoCjD,yBAGA,sDAAO,AAAAA","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
+
|
|
3
|
+
open Fable.Form
|
|
4
|
+
open Feliz
|
|
5
|
+
open Feliz.Bulma
|
|
6
|
+
open Fable.Form.Simple.Fields.Html
|
|
7
|
+
open Fable.Form.Simple.Bulma
|
|
8
|
+
|
|
9
|
+
module NumberField =
|
|
10
|
+
|
|
11
|
+
type Field<'Values>(innerField: NumberField.InnerField<'Values>) =
|
|
12
|
+
inherit IStandardField<'Values, string, NumberField.Attributes>(innerField)
|
|
13
|
+
|
|
14
|
+
interface IField<'Values> with
|
|
15
|
+
|
|
16
|
+
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
17
|
+
|
|
18
|
+
Field(Field.mapValues update innerField)
|
|
19
|
+
|
|
20
|
+
override _.RenderField(config: StandardRenderFieldConfig<string, NumberField.Attributes>) =
|
|
21
|
+
InputField.renderField
|
|
22
|
+
{
|
|
23
|
+
OnChange = config.OnChange
|
|
24
|
+
OnBlur = config.OnBlur
|
|
25
|
+
Disabled = config.Disabled
|
|
26
|
+
IsReadOnly = config.IsReadOnly
|
|
27
|
+
Value = config.Value
|
|
28
|
+
Error = config.Error
|
|
29
|
+
ShowError = config.ShowError
|
|
30
|
+
Label = config.Attributes.Label
|
|
31
|
+
InputFunc = Bulma.input.number
|
|
32
|
+
ExtraInputProps =
|
|
33
|
+
[
|
|
34
|
+
prop.autoFocus config.Attributes.AutoFocus
|
|
35
|
+
|
|
36
|
+
match config.Attributes.Placeholder with
|
|
37
|
+
| Some placeholder -> prop.placeholder placeholder
|
|
38
|
+
| None -> ()
|
|
39
|
+
|
|
40
|
+
match config.Attributes.AutoComplete with
|
|
41
|
+
| Some autoComplete -> prop.autoComplete autoComplete
|
|
42
|
+
| None -> ()
|
|
43
|
+
|
|
44
|
+
match config.Attributes.Max with
|
|
45
|
+
| Some max -> prop.max max
|
|
46
|
+
| None -> ()
|
|
47
|
+
|
|
48
|
+
match config.Attributes.Min with
|
|
49
|
+
| Some min -> prop.min min
|
|
50
|
+
| None -> ()
|
|
51
|
+
|
|
52
|
+
match config.Attributes.Step with
|
|
53
|
+
| Some step -> prop.step step
|
|
54
|
+
| None -> ()
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Field$1 () {
|
|
13
|
+
return Field$1;
|
|
14
|
+
},
|
|
15
|
+
get Field$1_$ctor_23C55586 () {
|
|
16
|
+
return Field$1_$ctor_23C55586;
|
|
17
|
+
},
|
|
18
|
+
get Field$1_$reflection () {
|
|
19
|
+
return Field$1_$reflection;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _InputFieldfs = require("./InputField.fs.js");
|
|
23
|
+
const _react = require("react");
|
|
24
|
+
const _Util = require("@fable-org/fable-library-js/Util.js");
|
|
25
|
+
const _ElementBuildersfs = require("../Feliz.Bulma.3.0.0/ElementBuilders.fs.js");
|
|
26
|
+
const _List = require("@fable-org/fable-library-js/List.js");
|
|
27
|
+
const _Seq = require("@fable-org/fable-library-js/Seq.js");
|
|
28
|
+
const _Option = require("@fable-org/fable-library-js/Option.js");
|
|
29
|
+
const _Typesfs = require("./Types.fs.js");
|
|
30
|
+
const _NumberFieldfs = require("../Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js");
|
|
31
|
+
const _Fieldfs = require("../Fable.Form.3.0.0/Field.fs.js");
|
|
32
|
+
const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
|
|
33
|
+
class Field$1 extends _Typesfs.IStandardField$3 {
|
|
34
|
+
"Fable.Form.Simple.Bulma.IStandardField`3.RenderFieldZ43FEF6DC"(config) {
|
|
35
|
+
return (0, _InputFieldfs.renderField)(new _InputFieldfs.Config(config.OnChange, config.OnBlur, config.Disabled, config.IsReadOnly, config.Value, config.Error, config.ShowError, config.Attributes.Label, (props)=>(0, _react.createElement)("input", (0, _Util.createObj)((0, _List.cons)([
|
|
36
|
+
"type",
|
|
37
|
+
"number"
|
|
38
|
+
], (0, _ElementBuildersfs.Helpers_combineClasses)("input", props)))), (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
39
|
+
"autoFocus",
|
|
40
|
+
config.Attributes.AutoFocus
|
|
41
|
+
]), (0, _Seq.delay)(()=>{
|
|
42
|
+
let matchValue;
|
|
43
|
+
return (0, _Seq.append)((matchValue = config.Attributes.Placeholder, matchValue == null ? (0, _Seq.empty)() : (0, _Seq.singleton)([
|
|
44
|
+
"placeholder",
|
|
45
|
+
(0, _Option.value)(matchValue)
|
|
46
|
+
])), (0, _Seq.delay)(()=>{
|
|
47
|
+
let matchValue_1;
|
|
48
|
+
return (0, _Seq.append)((matchValue_1 = config.Attributes.AutoComplete, matchValue_1 == null ? (0, _Seq.empty)() : (0, _Seq.singleton)([
|
|
49
|
+
"autoComplete",
|
|
50
|
+
(0, _Option.value)(matchValue_1)
|
|
51
|
+
])), (0, _Seq.delay)(()=>{
|
|
52
|
+
let matchValue_2;
|
|
53
|
+
return (0, _Seq.append)((matchValue_2 = config.Attributes.Max, matchValue_2 == null ? (0, _Seq.empty)() : (0, _Seq.singleton)([
|
|
54
|
+
"max",
|
|
55
|
+
(0, _Option.value)(matchValue_2)
|
|
56
|
+
])), (0, _Seq.delay)(()=>{
|
|
57
|
+
let matchValue_3;
|
|
58
|
+
return (0, _Seq.append)((matchValue_3 = config.Attributes.Min, matchValue_3 == null ? (0, _Seq.empty)() : (0, _Seq.singleton)([
|
|
59
|
+
"min",
|
|
60
|
+
(0, _Option.value)(matchValue_3)
|
|
61
|
+
])), (0, _Seq.delay)(()=>{
|
|
62
|
+
const matchValue_4 = config.Attributes.Step;
|
|
63
|
+
if (matchValue_4 == null) {
|
|
64
|
+
return (0, _Seq.empty)();
|
|
65
|
+
} else {
|
|
66
|
+
return (0, _Seq.singleton)([
|
|
67
|
+
"step",
|
|
68
|
+
(0, _Option.value)(matchValue_4)
|
|
69
|
+
]);
|
|
70
|
+
}
|
|
71
|
+
}));
|
|
72
|
+
}));
|
|
73
|
+
}));
|
|
74
|
+
}));
|
|
75
|
+
}))))));
|
|
76
|
+
}
|
|
77
|
+
MapFieldValues(update) {
|
|
78
|
+
const _ = this;
|
|
79
|
+
return Field$1_$ctor_23C55586((0, _Fieldfs.mapValues)(update, _.innerField_1));
|
|
80
|
+
}
|
|
81
|
+
constructor(innerField){
|
|
82
|
+
super(innerField);
|
|
83
|
+
this.innerField_1 = innerField;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function Field$1_$reflection(gen0) {
|
|
87
|
+
return (0, _Reflection.class_type)("Fable.Form.Simple.Bulma.Fields.NumberField.Field`1", [
|
|
88
|
+
gen0
|
|
89
|
+
], Field$1, (0, _Typesfs.IStandardField$3_$reflection)(gen0, _Reflection.string_type, (0, _NumberFieldfs.NumberFieldModule_Attributes_$reflection)()));
|
|
90
|
+
}
|
|
91
|
+
function Field$1_$ctor_23C55586(innerField) {
|
|
92
|
+
return new Field$1(innerField);
|
|
93
|
+
} //# sourceMappingURL=NumberField.fs.ts.map
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=NumberField.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.ts","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","config","props","matchValue","_","``.ctor``","update"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAoBY,6BAAA,EACI,IAAA,oBAAA,CACeC,OAAAA,QAAAA,EACFA,OAAAA,MAAAA,EACEA,OAAAA,QAAAA,EACEA,OAAAA,UAAAA,EACLA,OAAAA,KAAAA,EACAA,OAAAA,KAAAA,EACIA,OAAAA,SAAAA,EACJA,OAAAA,UAAAA,CAAAA,KAAAA,EAAAA,CAAAA,YCpBwC,oBAAA,EC0ZV,SAAA,IAAA,eAAA,MCpWtC,UAAA,EAAA;gBCg3HiC;gBAAO;aAAA,MDh3HjC,yCAAA,EEk4BqD,SLn6BhDC,eAER,WAAA,EACI,cAAA,EAAA,QAAA,WAAA,EAAA,kBAAA,EAAA;gBIoVsC;gBJpVvBD,OAAAA,UAAAA,CAAAA,SAAAA;aAAAA,OAEf,UAAA,EAAA;oBAAME;2BAAN,WAAA,GAAMA,aAAAF,OAAAA,UAAAA,CAAAA,WAAAA,EAAA,AAAAE,cAAAA,WAEI,UAAA,UADY,cAAA,EAAA;oBIs2CoB;oBAAA,IAAA,aAAA,EJt2CpBA;iBAAAA,CAAAA,OAGtB,UAAA,EAAA;wBAAMA;+BAAN,WAAA,GAAMA,eAAAF,OAAAA,UAAAA,CAAAA,YAAAA,EAAA,AAAAE,gBAAAA,WAEI,UAAA,MADa,kBAAA,EAAA;wBI0UoB;wBAAA,IAAA,aAAA,EJ1UpBA;qBAAAA,CAAAA,OAGvB,UAAA,EAAA;4BAAMA;mCAAN,WAAA,GAAMA,eAAAF,OAAAA,UAAAA,CAAAA,GAAAA,EAAA,AAAAE,gBAAAA,WAEI,UAAA,UADI,cAAA,EAAA;4BIu4BmB;4BAAA,IAAA,aAAA,EJv4BnBA;yBAAAA,CAAAA,OAGd,UAAA,EAAA;gCAAMA;uCAAN,WAAA,GAAMA,eAAAF,OAAAA,UAAAA,CAAAA,GAAAA,EAAA,AAAAE,gBAAAA,WAEI,UAAA,UADI,cAAA,EAAA;gCIg6BmB;gCAAA,IAAA,aAAA,EJh6BnBA;6BAAAA,CAAAA,OAGR,UAAA,EAAA;gCAAAA,MAAAA,eAAAF,OAAAA,UAAAA,CAAAA,IAAAA;gCAAA,IAAAE,gBAAAA,MAAAA;oCAEI,WAAA,UAAA;;oCADK,WAAA,cAAA,EAAA;wCI2mDmB;wCAAA,IAAA,aAAA,EJ3mDnBA;qCAAAA;;;;;;;;;QArCxBC,MAAAA,IAAAA,IAAAA;QAEH,OAAAC,2BAAM,kBAAA,EAAgBC,QAAOF,EAAAA,YAAAA;;;cAN2BJ;QADhD,IAAA,CAAA,YAAA,GAAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./NumberField.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","config","props","matchValue","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;;cAWwEA;AADhD,4BAAAA;;;eAUZ,YACI,WACe,AAAAC,iBACF,AAAAA,eACE,AAAAA,iBACE,AAAAA,mBACL,AAAAA,cACA,AAAAA,cACI,AAAAA,kBACJ,AAAAA,8ECpBwC,mBC0ZV,mBCpWtC,MCg3HiC,QAAO,4BDh3HjC,uBEk4BqD,SLn6BhDC,WAER,uBACI,sDAAA,uBAAA,2BIoVsC,aJpVvB,AAAAD,gDAEf;gBAAME;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BIs2CoB,wBJt2CpBA,iCAGtB;oBAAMA;uBAAN,wBAAMA,eAAA,AAAAF,gCAAA,CAAA,AAAAE,yBAEI,2BADa,2BI0UoB,yBJ1UpBA,mCAGvB;wBAAMA;2BAAN,wBAAMA,eAAA,AAAAF,uBAAA,CAAA,AAAAE,yBAEI,2BADI,2BIu4BmB,gBJv4BnBA,mCAGd;4BAAMA;\u002BBAAN,wBAAMA,eAAA,AAAAF,uBAAA,CAAA,AAAAE,yBAEI,2BADI,2BIg6BmB,gBJh6BnBA,mCAGR;AAAAA,kEAAA,AAAAF;AAAA,gCAAA,AAAAE;AAEI,uCAAA;;;AADK,uCAAA,2BI2mDmB,iBJ3mDnBA;;;;;;;;;AArCxBC,mCAAAA;AAEH,eAAA,AAAAC,2BAAM,4DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
+
|
|
3
|
+
open Fable.Form
|
|
4
|
+
open Feliz
|
|
5
|
+
open Feliz.Bulma
|
|
6
|
+
open Fable.Form.Simple.Fields.Html
|
|
7
|
+
open Fable.Form.Simple.Bulma
|
|
8
|
+
|
|
9
|
+
module PasswordField =
|
|
10
|
+
|
|
11
|
+
type Field<'Values>(innerField: PasswordField.InnerField<'Values>) =
|
|
12
|
+
inherit IStandardField<'Values, string, PasswordField.Attributes>(innerField)
|
|
13
|
+
|
|
14
|
+
interface IField<'Values> with
|
|
15
|
+
|
|
16
|
+
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
17
|
+
|
|
18
|
+
Field(Field.mapValues update innerField)
|
|
19
|
+
|
|
20
|
+
override _.RenderField
|
|
21
|
+
(config: StandardRenderFieldConfig<string, PasswordField.Attributes>)
|
|
22
|
+
=
|
|
23
|
+
InputField.renderField
|
|
24
|
+
{
|
|
25
|
+
OnChange = config.OnChange
|
|
26
|
+
OnBlur = config.OnBlur
|
|
27
|
+
Disabled = config.Disabled
|
|
28
|
+
IsReadOnly = config.IsReadOnly
|
|
29
|
+
Value = config.Value
|
|
30
|
+
Error = config.Error
|
|
31
|
+
ShowError = config.ShowError
|
|
32
|
+
Label = config.Attributes.Label
|
|
33
|
+
InputFunc = Bulma.input.password
|
|
34
|
+
ExtraInputProps =
|
|
35
|
+
[
|
|
36
|
+
prop.autoFocus config.Attributes.AutoFocus
|
|
37
|
+
|
|
38
|
+
match config.Attributes.Placeholder with
|
|
39
|
+
| Some placeholder -> prop.placeholder placeholder
|
|
40
|
+
| None -> ()
|
|
41
|
+
|
|
42
|
+
match config.Attributes.AutoComplete with
|
|
43
|
+
| Some autoComplete -> prop.autoComplete autoComplete
|
|
44
|
+
| None -> ()
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Field$1 () {
|
|
13
|
+
return Field$1;
|
|
14
|
+
},
|
|
15
|
+
get Field$1_$ctor_6904D35A () {
|
|
16
|
+
return Field$1_$ctor_6904D35A;
|
|
17
|
+
},
|
|
18
|
+
get Field$1_$reflection () {
|
|
19
|
+
return Field$1_$reflection;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _InputFieldfs = require("./InputField.fs.js");
|
|
23
|
+
const _react = require("react");
|
|
24
|
+
const _Util = require("@fable-org/fable-library-js/Util.js");
|
|
25
|
+
const _ElementBuildersfs = require("../Feliz.Bulma.3.0.0/ElementBuilders.fs.js");
|
|
26
|
+
const _List = require("@fable-org/fable-library-js/List.js");
|
|
27
|
+
const _Seq = require("@fable-org/fable-library-js/Seq.js");
|
|
28
|
+
const _Option = require("@fable-org/fable-library-js/Option.js");
|
|
29
|
+
const _Typesfs = require("./Types.fs.js");
|
|
30
|
+
const _PasswordFieldfs = require("../Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js");
|
|
31
|
+
const _Fieldfs = require("../Fable.Form.3.0.0/Field.fs.js");
|
|
32
|
+
const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
|
|
33
|
+
class Field$1 extends _Typesfs.IStandardField$3 {
|
|
34
|
+
"Fable.Form.Simple.Bulma.IStandardField`3.RenderFieldZ43FEF6DC"(config) {
|
|
35
|
+
return (0, _InputFieldfs.renderField)(new _InputFieldfs.Config(config.OnChange, config.OnBlur, config.Disabled, config.IsReadOnly, config.Value, config.Error, config.ShowError, config.Attributes.Label, (props)=>(0, _react.createElement)("input", (0, _Util.createObj)((0, _List.cons)([
|
|
36
|
+
"type",
|
|
37
|
+
"password"
|
|
38
|
+
], (0, _ElementBuildersfs.Helpers_combineClasses)("input", props)))), (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
39
|
+
"autoFocus",
|
|
40
|
+
config.Attributes.AutoFocus
|
|
41
|
+
]), (0, _Seq.delay)(()=>{
|
|
42
|
+
let matchValue;
|
|
43
|
+
return (0, _Seq.append)((matchValue = config.Attributes.Placeholder, matchValue == null ? (0, _Seq.empty)() : (0, _Seq.singleton)([
|
|
44
|
+
"placeholder",
|
|
45
|
+
(0, _Option.value)(matchValue)
|
|
46
|
+
])), (0, _Seq.delay)(()=>{
|
|
47
|
+
const matchValue_1 = config.Attributes.AutoComplete;
|
|
48
|
+
if (matchValue_1 == null) {
|
|
49
|
+
return (0, _Seq.empty)();
|
|
50
|
+
} else {
|
|
51
|
+
return (0, _Seq.singleton)([
|
|
52
|
+
"autoComplete",
|
|
53
|
+
(0, _Option.value)(matchValue_1)
|
|
54
|
+
]);
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
}))))));
|
|
58
|
+
}
|
|
59
|
+
MapFieldValues(update) {
|
|
60
|
+
const _ = this;
|
|
61
|
+
return Field$1_$ctor_6904D35A((0, _Fieldfs.mapValues)(update, _.innerField_1));
|
|
62
|
+
}
|
|
63
|
+
constructor(innerField){
|
|
64
|
+
super(innerField);
|
|
65
|
+
this.innerField_1 = innerField;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function Field$1_$reflection(gen0) {
|
|
69
|
+
return (0, _Reflection.class_type)("Fable.Form.Simple.Bulma.Fields.PasswordField.Field`1", [
|
|
70
|
+
gen0
|
|
71
|
+
], Field$1, (0, _Typesfs.IStandardField$3_$reflection)(gen0, _Reflection.string_type, (0, _PasswordFieldfs.PasswordFieldModule_Attributes_$reflection)()));
|
|
72
|
+
}
|
|
73
|
+
function Field$1_$ctor_6904D35A(innerField) {
|
|
74
|
+
return new Field$1(innerField);
|
|
75
|
+
} //# sourceMappingURL=PasswordField.fs.ts.map
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=PasswordField.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.ts","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","config","props","matchValue","_","``.ctor``","update"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsBY,yBAAA,EACI,IAAA,oBAAA,CACeC,OAAAA,QAAAA,EACFA,OAAAA,MAAAA,EACEA,OAAAA,QAAAA,EACEA,OAAAA,UAAAA,EACLA,OAAAA,KAAAA,EACAA,OAAAA,KAAAA,EACIA,OAAAA,SAAAA,EACJA,OAAAA,UAAAA,CAAAA,KAAAA,EAAAA,CAAAA,YCtBwC,oBAAA,EC0ZV,SAAA,IAAA,eAAA,MCpWtC,UAAA,EAAA;gBCk3HmC;gBAAO;aAAA,MDl3HnC,yCAAA,EEu3BuD,SLt5BlDC,eAER,WAAA,MACI,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;gBIkVsC;gBJlVvBD,OAAAA,UAAAA,CAAAA,SAAAA;aAAAA,OAEf,UAAA,EAAA;oBAAME;2BAAN,WAAA,GAAMA,aAAAF,OAAAA,UAAAA,CAAAA,WAAAA,EAAA,AAAAE,cAAAA,WAEI,UAAA,UADY,cAAA,EAAA;oBIo2CoB;oBAAA,IAAA,aAAA,EJp2CpBA;iBAAAA,CAAAA,OAGhB,UAAA,EAAA;oBAAAA,MAAAA,eAAAF,OAAAA,UAAAA,CAAAA,YAAAA;oBAAA,IAAAE,gBAAAA,MAAAA;wBAEI,OAAA,cAAA;;wBADa,WAAA,cAAA,EAAA;4BIwUoB;4BAAA,IAAA,aAAA,EJxUpBA;yBAAAA;;;;;;QA3BhCC,MAAAA,IAAAA,IAAAA;QAEH,OAAAC,uBAAM,sBAAA,EAAgBC,QAAOF,EAAAA,YAAAA;;;cAN6BJ;QADlD,IAAA,CAAA,YAAA,GAAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./PasswordField.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","config","props","matchValue","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;cAW0EA;AADlD,4BAAAA;;;eAYZ,YACI,WACe,AAAAC,iBACF,AAAAA,eACE,AAAAA,iBACE,AAAAA,mBACL,AAAAA,cACA,AAAAA,cACI,AAAAA,kBACJ,AAAAA,8ECtBwC,mBC0ZV,mBCpWtC,MCk3HmC,QAAO,8BDl3HnC,uBEu3BuD,SLt5BlDC,WAER,uBACI,sDAAA,uBAAA,2BIkVsC,aJlVvB,AAAAD,gDAEf;gBAAME;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BIo2CoB,uBJp2CpBA,iCAGhB;AAAAA,qDAAA,AAAAF;AAAA,oBAAA,AAAAE;AAEI,2BAAA;;;AADa,2BAAA,2BIwUoB,wBJxUpBA;;;;;;AA3BhCC,mCAAAA;AAEH,eAAA,AAAAC,2BAAM,8DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
+
|
|
3
|
+
open Fable.Form
|
|
4
|
+
open Feliz
|
|
5
|
+
open Feliz.Bulma
|
|
6
|
+
open Fable.Form.Simple.Bulma
|
|
7
|
+
open Fable.Form.Simple.Fields.Html
|
|
8
|
+
|
|
9
|
+
module RadioField =
|
|
10
|
+
|
|
11
|
+
type Field<'Values>(innerField: RadioField.InnerField<'Values>) =
|
|
12
|
+
|
|
13
|
+
inherit
|
|
14
|
+
IStandardField<'Values, RadioField.OptionItem option, RadioField.Attributes>(innerField)
|
|
15
|
+
|
|
16
|
+
interface IField<'Values> with
|
|
17
|
+
|
|
18
|
+
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
19
|
+
|
|
20
|
+
Field(Field.mapValues update innerField)
|
|
21
|
+
|
|
22
|
+
override _.RenderField
|
|
23
|
+
(config: StandardRenderFieldConfig<RadioField.OptionItem option, RadioField.Attributes>)
|
|
24
|
+
=
|
|
25
|
+
|
|
26
|
+
let radio (optionItem: RadioField.OptionItem) =
|
|
27
|
+
Bulma.input.labels.radio [
|
|
28
|
+
Bulma.input.radio [
|
|
29
|
+
prop.name config.Attributes.Label
|
|
30
|
+
prop.isChecked (Some optionItem = config.Value: bool)
|
|
31
|
+
prop.disabled config.Disabled
|
|
32
|
+
|
|
33
|
+
// RadioField can't really be set to readonly in HTML
|
|
34
|
+
// So we need to not listen to the onChange event
|
|
35
|
+
prop.readOnly config.IsReadOnly
|
|
36
|
+
if not config.IsReadOnly then
|
|
37
|
+
prop.onChange (fun (_: bool) -> config.OnChange(Some optionItem))
|
|
38
|
+
|
|
39
|
+
match config.OnBlur with
|
|
40
|
+
| Some onBlur -> prop.onBlur (fun _ -> onBlur ())
|
|
41
|
+
|
|
42
|
+
| None -> ()
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
Html.text optionItem.Text
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
Bulma.control.div [
|
|
49
|
+
config.Attributes.Options |> List.map radio |> prop.children
|
|
50
|
+
]
|
|
51
|
+
|> Html.View.withLabelAndError config.Attributes.Label config.ShowError config.Error
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Field$1 () {
|
|
13
|
+
return Field$1;
|
|
14
|
+
},
|
|
15
|
+
get Field$1_$ctor_Z1E665B32 () {
|
|
16
|
+
return Field$1_$ctor_Z1E665B32;
|
|
17
|
+
},
|
|
18
|
+
get Field$1_$reflection () {
|
|
19
|
+
return Field$1_$reflection;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _HtmlViewfs = require("./Html.View.fs.js");
|
|
23
|
+
const _react = require("react");
|
|
24
|
+
const _Util = require("@fable-org/fable-library-js/Util.js");
|
|
25
|
+
const _ElementBuildersfs = require("../Feliz.Bulma.3.0.0/ElementBuilders.fs.js");
|
|
26
|
+
const _List = require("@fable-org/fable-library-js/List.js");
|
|
27
|
+
const _Seq = require("@fable-org/fable-library-js/Seq.js");
|
|
28
|
+
const _Option = require("@fable-org/fable-library-js/Option.js");
|
|
29
|
+
const _Interopfs = require("../Feliz.2.8.0/Interop.fs.js");
|
|
30
|
+
const _RadioFieldfs = require("../Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js");
|
|
31
|
+
const _Typesfs = require("./Types.fs.js");
|
|
32
|
+
const _Fieldfs = require("../Fable.Form.3.0.0/Field.fs.js");
|
|
33
|
+
const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
|
|
34
|
+
class Field$1 extends _Typesfs.IStandardField$3 {
|
|
35
|
+
"Fable.Form.Simple.Bulma.IStandardField`3.RenderFieldZ43FEF6DC"(config) {
|
|
36
|
+
let elems_2;
|
|
37
|
+
return (0, _HtmlViewfs.withLabelAndError)(config.Attributes.Label, config.ShowError, config.Error, (0, _react.createElement)("div", (0, _Util.createObj)((0, _ElementBuildersfs.Helpers_combineClasses)("control", (0, _List.singleton)((elems_2 = (0, _List.map)((optionItem)=>{
|
|
38
|
+
const children = [
|
|
39
|
+
(0, _react.createElement)("input", (0, _Util.createObj)((0, _List.cons)([
|
|
40
|
+
"type",
|
|
41
|
+
"radio"
|
|
42
|
+
], (0, _ElementBuildersfs.Helpers_combineClasses)("radio", (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
43
|
+
"name",
|
|
44
|
+
config.Attributes.Label
|
|
45
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
46
|
+
"checked",
|
|
47
|
+
(0, _Util.equals)(optionItem, config.Value)
|
|
48
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
49
|
+
"disabled",
|
|
50
|
+
config.Disabled
|
|
51
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)([
|
|
52
|
+
"readOnly",
|
|
53
|
+
config.IsReadOnly
|
|
54
|
+
]), (0, _Seq.delay)(()=>(0, _Seq.append)(!config.IsReadOnly ? (0, _Seq.singleton)([
|
|
55
|
+
"onChange",
|
|
56
|
+
(ev)=>{
|
|
57
|
+
const _arg = ev.target.checked;
|
|
58
|
+
config.OnChange(optionItem);
|
|
59
|
+
}
|
|
60
|
+
]) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
61
|
+
const matchValue = config.OnBlur;
|
|
62
|
+
if (matchValue == null) {
|
|
63
|
+
return (0, _Seq.empty)();
|
|
64
|
+
} else {
|
|
65
|
+
const onBlur = (0, _Option.value)(matchValue);
|
|
66
|
+
return (0, _Seq.singleton)([
|
|
67
|
+
"onBlur",
|
|
68
|
+
(_arg_1)=>{
|
|
69
|
+
onBlur();
|
|
70
|
+
}
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
})))))))))))))))),
|
|
74
|
+
optionItem.Text
|
|
75
|
+
];
|
|
76
|
+
return (0, _react.createElement)("label", {
|
|
77
|
+
className: "radio",
|
|
78
|
+
children: _Interopfs.reactApi.Children.toArray(Array.from(children))
|
|
79
|
+
});
|
|
80
|
+
}, config.Attributes.Options), [
|
|
81
|
+
"children",
|
|
82
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_2))
|
|
83
|
+
]))))));
|
|
84
|
+
}
|
|
85
|
+
MapFieldValues(update) {
|
|
86
|
+
const _ = this;
|
|
87
|
+
return Field$1_$ctor_Z1E665B32((0, _Fieldfs.mapValues)(update, _.innerField_1));
|
|
88
|
+
}
|
|
89
|
+
constructor(innerField){
|
|
90
|
+
super(innerField);
|
|
91
|
+
this.innerField_1 = innerField;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function Field$1_$reflection(gen0) {
|
|
95
|
+
return (0, _Reflection.class_type)("Fable.Form.Simple.Bulma.Fields.RadioField.Field`1", [
|
|
96
|
+
gen0
|
|
97
|
+
], Field$1, (0, _Typesfs.IStandardField$3_$reflection)(gen0, (0, _Reflection.option_type)((0, _Reflection.class_type)("Fable.Form.Simple.Fields.Html.RadioFieldModule.OptionItem")), (0, _RadioFieldfs.RadioFieldModule_Attributes_$reflection)()));
|
|
98
|
+
}
|
|
99
|
+
function Field$1_$ctor_Z1E665B32(innerField) {
|
|
100
|
+
return new Field$1(innerField);
|
|
101
|
+
} //# sourceMappingURL=RadioField.fs.ts.map
|
|
102
|
+
|
|
103
|
+
//# sourceMappingURL=RadioField.fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.ts","../Feliz.2.8.0/Properties.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","elems","config","children","optionItem","_arg1","ev","matchValue","onBlur","_","``.ctor``","update"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YCibmCC;mBD/XpB,6BAAA,EAA4BC,OAAAA,UAAAA,CAAAA,KAAAA,EAAwBA,OAAAA,SAAAA,EAAiBA,OAAAA,KAAAA,MEzChB,oBAAA,ECuLZ,OAAA,IAAA,eAAA,MCpKc,yCAAA,ECqlBH,eLlkBrC,eAAA,GCkYKD,cDjYU,SAAA,EAAA,CAAA;YIQRE,MAAAA,WAAAA;oBF/C+B,oBAAA,EC0ZV,SAAA,IAAA,eAAA,MCpWtC,UAAA,EAAA;oBHo3HgC;oBAAO;iBAAA,MGp3HhC,yCAAA,ECo4BoD,aLx6BzC,WAAA,MACd,UAAA,EAAA,IAAA,eAAA,MAAA,cAAA,EAAA;wBCs8BuC;wBDt8B7BD,OAAAA,UAAAA,CAAAA,KAAAA;qBAAAA,OACV,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;4BC2xB0C;gCD3xB1B,YAAA,EAAKE,YAAaF,OAAAA,KAAAA;yBAAAA,OAClC,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;gCCkiByC;gCDliB3BA,OAAAA,QAAAA;6BAAAA,GAId,cAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;oCCm8CyC;oCDn8C3BA,OAAAA,UAAAA;iCAAAA,OACd,UAAA,EAAA,QAAA,WAAA,EAAG,CAAIA,OAAAA,UAAAA,OACH,cAAA,EAAA;wCCk/B+C;wCAAA,CAAA;4CDl/B3BG,MAAAA,OCk/BqEC,GAAAA,MAAAA,CAAAA,OAAAA;4CDl/BzDJ,OAAAA,QAAAA,CAAqBE;;6CADzD,UAAA,SAGM,UAAA,EAAA;wCAAAG,MAAAA,aAAAL,OAAAA,MAAAA;wCAAA,IAAAK,cAAAA,MAAAA;4CAGI,OAAA,cAAA;;4CAFHC,MAAAA,SAAAA,IAAAA,aAAAA,EAAUD;4CAAA,WAAA,cAAA,EAAA;gDCk+BsC;gDAAA,CAAA;oDDl+BhBC;;;;;gBAKjCJ,WAAAA,IAAAA;aAAAA;YEnCsC,WAAA,oBAAA,EC0aV,SAAA;2BE2hBwC;0BJ7hBG,mBAAA,CAAA,QAAA,CAAA,OAAA,CAAA,MAAA,IAAA,CGzXYD;;WJRjGD,OAAAA,UAAAA,CAAAA,OAAAA,GAAAA;YCiYyE;YAAY,mBAAA,CAAA,QAAA,CAAA,OAAA,CAAA,MAAA,IAAA,CAA+CD;SAAAA;;;QDhajIQ,MAAAA,IAAAA,IAAAA;QAEH,OAAAC,4BAAM,kBAAA,EAAgBC,QAAOF,EAAAA,YAAAA;;;cAN4CT;QAHjE,IAAA,CAAA,YAAA,GAAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["./RadioField.fs","../Feliz.2.8.0/Properties.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","elems","config","children","optionItem","_arg1","ev","matchValue","onBlur","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;;cAayFA;AAHjE,4BAAAA;;;YCuaWC;eD/XpB,kBAA4B,AAAAC,yBAAwB,AAAAA,kBAAiB,AAAAA,cEzChB,mBCuLZ,iBCpKc,uBCqlBH,WLlkBrC,aCkYKD,UDjYU;AIQRE,sDF/C\u002BB,mBC0ZV,mBCpWtC,MHo3HgC,QAAO,2BGp3HhC,uBCo4BoD,SLx6BzC,uBACd,sDAAA,uBAAA,2BCs8BuC,QDt8B7B,AAAAD,4CACV,sDAAA,uBAAA,2BC2xB0C,WD3xB1B,OAAKE,YAAa,AAAAF,kCAClC,sDAAA,uBAAA,2BCkiByC,YDliB3B,AAAAA,oCAId,sDAAA,uBAAA,2BCm8CyC,YDn8C3B,AAAAA,sCACd,sDAAA,uBAAA,AAAG,CAAI,AAAAA,oBACH,2BCk/B\u002BC;ADl/B3BG,sCCk/BqE,AAAAC;ADl/BzD,AAAAJ,gCAAqBE;mCADzD,yBAGM;AAAAG,yDAAA,AAAAL;AAAA,oBAAA,AAAAK;AAGI,2BAAA;;;AAFHC,0DAAUD;AAAA,2BAAA,2BCk\u002BBsC;ADl\u002BBhB,AAAAC;;;\u002BBAKjC,AAAAJ;AEnCsC,mBAAA,mBC0aV;2BE2hBwC;0BJ7hBG,qCGzXYD;;WJRjG,AAAAD,6BCiYyE,YAAY,qCAA\u002BCD;;;ADhajIQ,mCAAAA;AAEH,eAAA,AAAAC,4BAAM,wFAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
+
|
|
3
|
+
open Fable.Form
|
|
4
|
+
open Feliz
|
|
5
|
+
open Feliz.Bulma
|
|
6
|
+
open Fable.Form.Simple.Fields.Html
|
|
7
|
+
open Fable.Form.Simple.Bulma
|
|
8
|
+
|
|
9
|
+
module SearchField =
|
|
10
|
+
|
|
11
|
+
type Field<'Values>(innerField: SearchField.InnerField<'Values>) =
|
|
12
|
+
inherit IStandardField<'Values, string, SearchField.Attributes>(innerField)
|
|
13
|
+
|
|
14
|
+
interface IField<'Values> with
|
|
15
|
+
|
|
16
|
+
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
17
|
+
|
|
18
|
+
Field(Field.mapValues update innerField)
|
|
19
|
+
|
|
20
|
+
override _.RenderField(config: StandardRenderFieldConfig<string, SearchField.Attributes>) =
|
|
21
|
+
InputField.renderField
|
|
22
|
+
{
|
|
23
|
+
OnChange = config.OnChange
|
|
24
|
+
OnBlur = config.OnBlur
|
|
25
|
+
Disabled = config.Disabled
|
|
26
|
+
IsReadOnly = config.IsReadOnly
|
|
27
|
+
Value = config.Value
|
|
28
|
+
Error = config.Error
|
|
29
|
+
ShowError = config.ShowError
|
|
30
|
+
Label = config.Attributes.Label
|
|
31
|
+
InputFunc = Bulma.input.text
|
|
32
|
+
ExtraInputProps =
|
|
33
|
+
[
|
|
34
|
+
match config.Attributes.SpellCheck with
|
|
35
|
+
| SearchField.SpellCheck.Default -> ()
|
|
36
|
+
| SearchField.SpellCheck.True -> prop.spellcheck true
|
|
37
|
+
| SearchField.SpellCheck.False -> prop.spellcheck false
|
|
38
|
+
|
|
39
|
+
prop.autoFocus config.Attributes.AutoFocus
|
|
40
|
+
|
|
41
|
+
match config.Attributes.Placeholder with
|
|
42
|
+
| Some placeholder -> prop.placeholder placeholder
|
|
43
|
+
| None -> ()
|
|
44
|
+
|
|
45
|
+
match config.Attributes.AutoComplete with
|
|
46
|
+
| Some autoComplete -> prop.autoComplete autoComplete
|
|
47
|
+
| None -> ()
|
|
48
|
+
]
|
|
49
|
+
}
|