@f1studio/form-spec 5.0.0-alpha.148 → 5.0.0-alpha.151
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/BitmaskHelpers.js.map +1 -0
- package/FormSpec.FS/BlueprintValidation.js.map +1 -0
- package/FormSpec.FS/Components/HelloComponent.js.map +1 -0
- package/FormSpec.FS/Designer.js.map +1 -0
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js.map +1 -1
- package/FormSpec.FS/FormSpecHelpers.js.map +1 -0
- package/FormSpec.FS/FormSpecValues.js.map +1 -0
- package/FormSpec.FS/Helpers.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +1 -0
- package/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +1 -0
- package/FormSpec.FS/Interfaces.js.map +1 -0
- package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.d.ts +16 -0
- package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/BlueprintFilledForm.js +25 -1
- package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +1 -0
- package/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
- package/FormSpec.FS/Logging/LogTypes.js.map +1 -0
- package/FormSpec.FS/Migrator.js.map +1 -0
- package/FormSpec.FS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.FS/PathwayExecutor.js.map +1 -0
- package/FormSpec.FS/PathwayValidator.js.map +1 -0
- package/FormSpec.FS/PluginInterface.js.map +1 -0
- package/FormSpec.FS/Prelude.js.map +1 -0
- package/FormSpec.FS/Provenance.js.map +1 -0
- package/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
- package/FormSpec.FS/Renderers/MermaidRenderer.js.map +1 -0
- package/FormSpec.FS/Renderers/PathwayRenderers.js.map +1 -0
- package/PathwayExecutor.withPlugins.js.map +1 -0
- package/PluginRegistration.js.map +1 -0
- package/README.md +7 -7
- package/Thoth.Json/packages/Thoth.Json/Decode.d.ts +2 -2
- package/Thoth.Json/packages/Thoth.Json/Decode.d.ts.map +1 -1
- package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Decode.js +69 -63
- package/Thoth.Json/packages/Thoth.Json/Decode.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Encode.d.ts.map +1 -1
- package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Encode.js +10 -6
- package/Thoth.Json/packages/Thoth.Json/Encode.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Extra.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Types.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +1 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
- package/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Colors.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Internal.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Interop.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Key.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Properties.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactInterop.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Svg.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Types.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +1 -0
- package/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +1 -0
- package/package.json +1 -1
- package/plugins/allergyfinder/src/AllergyFinderField.js.map +1 -0
- package/plugins/allergyfinder/src/AllergyLogic.js.map +1 -0
- package/plugins/allergyfinder/src/OpenFdaClient.js.map +1 -0
- package/plugins/bmi/src/BMIField.js.map +1 -0
- package/plugins/demographics/src/DemographicsField.js.map +1 -0
- package/plugins/likert/src/LikertField.js.map +1 -0
- package/plugins/signature/src/SignatureField.js.map +1 -0
- package/plugins/vitals/src/VitalsField.js.map +1 -0
- package/plugins/vitals/src/VitalsLogic.js.map +1 -0
- package/src/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts +29 -1
- package/src/Thoth.Json/packages/Thoth.Json/Decode.ts +55 -38
- package/src/Thoth.Json/packages/Thoth.Json/Encode.ts +16 -10
- package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/BlueprintValidation.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/BlueprintValidation.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Designer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Designer.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpec.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Helpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Helpers.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interfaces.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interfaces.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Migrator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Migrator.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PluginInterface.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PluginInterface.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Prelude.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Prelude.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Provenance.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Provenance.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.ts.map +0 -1
- package/FormSpec.TS/PathwayExecutor.withPlugins.js.map +0 -1
- package/FormSpec.TS/PluginRegistration.js.map +0 -1
- package/FormSpec.TS/PluginRegistration.ts.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Decode.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Decode.ts.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.ts.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Extra.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Extra.ts.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Types.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Types.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +0 -511
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +0 -16
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +0 -50
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +0 -28
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +0 -24
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +0 -31
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +0 -178
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs +0 -47
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs +0 -49
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs +0 -52
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs +0 -54
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs +0 -48
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Fable.Form.Simple.Bulma.fableproj +0 -53
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs +0 -132
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs +0 -537
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs +0 -361
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs +0 -52
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs +0 -246
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs +0 -52
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs +0 -56
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs +0 -46
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs +0 -51
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs +0 -49
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs +0 -60
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs +0 -79
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs +0 -44
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs +0 -49
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs +0 -59
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs +0 -44
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs +0 -143
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs +0 -36
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs +0 -49
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs +0 -67
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs +0 -70
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs +0 -76
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/Fable.Form.Simple.Fields.Html.fableproj +0 -45
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs +0 -105
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs +0 -66
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs +0 -72
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs +0 -102
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs +0 -83
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs +0 -83
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs +0 -63
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs +0 -83
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs +0 -92
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs +0 -108
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +0 -17
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +0 -152
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +0 -28
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +0 -218
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +0 -27
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +0 -82
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/BorderStyle.fs +0 -59
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs +0 -154
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs +0 -52
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Feliz.fableproj +0 -53
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Fonts.fs +0 -240
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/GridTypes.fs +0 -24
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs +0 -11
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Html.fs +0 -826
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs +0 -176
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs +0 -29
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs +0 -65
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Length.fs +0 -145
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Locale.fs +0 -876
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs +0 -4085
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/React.fs +0 -494
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs +0 -25
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.fs +0 -20
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs +0 -42
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs +0 -57
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Styles.fs +0 -6378
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs +0 -1455
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TextDecorationLine.fs +0 -13
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TextDecorationStyle.fs +0 -33
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Transform.fs +0 -181
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransformOrigin.fs +0 -17
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransitionProperty.fs +0 -162
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/TransitionTimingFunction.fs +0 -62
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs +0 -13
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Bulma.fs +0 -990
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs +0 -179
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Feliz.Bulma.fableproj +0 -32
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs +0 -1986
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs +0 -7
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/PropertyBuilders.fs +0 -8
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Exports.fs +0 -14
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Glutinum.Feliz.ReactSignaturePadWrapper.fableproj +0 -18
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Interop.fs +0 -6
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/ReactSignaturePadWrapper.fs +0 -32
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs +0 -3
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.ts.map +0 -1
- package/FormSpec.TS/fable_modules/project_cracked.json +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.ts.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.ts.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.ts.map +0 -1
- package/FormSpec.TS/plugins/bmi/src/BMIField.js.map +0 -1
- package/FormSpec.TS/plugins/bmi/src/BMIField.ts.map +0 -1
- package/FormSpec.TS/plugins/demographics/src/DemographicsField.js.map +0 -1
- package/FormSpec.TS/plugins/demographics/src/DemographicsField.ts.map +0 -1
- package/FormSpec.TS/plugins/likert/src/LikertField.js.map +0 -1
- package/FormSpec.TS/plugins/likert/src/LikertField.ts.map +0 -1
- package/FormSpec.TS/plugins/signature/src/SignatureField.js.map +0 -1
- package/FormSpec.TS/plugins/signature/src/SignatureField.ts.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsField.js.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsField.ts.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsLogic.js.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsLogic.ts.map +0 -1
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BitmaskHelpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BlueprintValidation.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Components/HelloComponent.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Designer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecHelpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecValues.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Helpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSectioning.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMREncoder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/FormSystemAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/CoreMRTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateDecodeTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateManifestDecoder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/OpenFda/OpenFdaTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interfaces.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/FormAnswersGate.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Helpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Option.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Values.Api.Option.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Logging/LogTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Migrator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayDataExtractor.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayExecutor.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayValidator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PluginInterface.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Prelude.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Provenance.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/FormSpecMarkdownRenderer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/MermaidRenderer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/PathwayRenderers.js +0 -0
- /package/{FormSpec.TS/PathwayExecutor.withPlugins.js → PathwayExecutor.withPlugins.js} +0 -0
- /package/{FormSpec.TS/PluginRegistration.js → PluginRegistration.js} +0 -0
- /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Extra.js +0 -0
- /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Types.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Base.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Error.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Extensions.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Field.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.5.0.1/Form.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/Promise.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Colors.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/DateParsing.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Helpers.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Internal.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Interop.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Key.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Properties.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactDOM.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactInterop.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactTypes.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/StyleTypes.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Svg.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Types.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/ElementBuilders.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Modifiers.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Operators.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyFinderField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyLogic.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/OpenFdaClient.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/bmi/src/BMIField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/demographics/src/DemographicsField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/likert/src/LikertField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/signature/src/SignatureField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsLogic.js +0 -0
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
namespace Fable.Form.Simple.Bulma.Html
|
|
2
|
-
|
|
3
|
-
open Feliz
|
|
4
|
-
open Feliz.Bulma
|
|
5
|
-
open Fable.Form
|
|
6
|
-
open Fable.Form.Simple
|
|
7
|
-
open Fable.Form.Simple.Form.View
|
|
8
|
-
open Fable.Form.Simple.Bulma
|
|
9
|
-
|
|
10
|
-
module View =
|
|
11
|
-
|
|
12
|
-
let fieldLabel (label: string) =
|
|
13
|
-
Bulma.label [
|
|
14
|
-
prop.text label
|
|
15
|
-
]
|
|
16
|
-
|
|
17
|
-
let errorMessage (message: string) =
|
|
18
|
-
Bulma.help [
|
|
19
|
-
color.isDanger
|
|
20
|
-
prop.text message
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
let errorMessageAsHtml (showError: bool) (error: Error.Error option) =
|
|
24
|
-
match error with
|
|
25
|
-
| Some(Error.External externalError) -> errorMessage externalError
|
|
26
|
-
|
|
27
|
-
| _ ->
|
|
28
|
-
if showError then
|
|
29
|
-
error
|
|
30
|
-
|> Option.map errorToString
|
|
31
|
-
|> Option.map errorMessage
|
|
32
|
-
|> Option.defaultValue (Bulma.help [])
|
|
33
|
-
|
|
34
|
-
else
|
|
35
|
-
Bulma.help []
|
|
36
|
-
|
|
37
|
-
let wrapInFieldContainer (children: ReactElement list) =
|
|
38
|
-
Bulma.field.div [
|
|
39
|
-
prop.children children
|
|
40
|
-
]
|
|
41
|
-
|
|
42
|
-
let withLabelAndError
|
|
43
|
-
(label: string)
|
|
44
|
-
(showError: bool)
|
|
45
|
-
(error: Error.Error option)
|
|
46
|
-
(fieldAsHtml: ReactElement)
|
|
47
|
-
: ReactElement
|
|
48
|
-
=
|
|
49
|
-
[
|
|
50
|
-
fieldLabel label
|
|
51
|
-
Bulma.control.div [
|
|
52
|
-
fieldAsHtml
|
|
53
|
-
]
|
|
54
|
-
errorMessageAsHtml showError error
|
|
55
|
-
]
|
|
56
|
-
|> wrapInFieldContainer
|
|
57
|
-
|
|
58
|
-
let form
|
|
59
|
-
({
|
|
60
|
-
OnSubmit = onSubmit
|
|
61
|
-
State = state
|
|
62
|
-
Action = action
|
|
63
|
-
Fields = fields
|
|
64
|
-
}: FormConfig<'Output, ReactElement>)
|
|
65
|
-
=
|
|
66
|
-
|
|
67
|
-
Html.form [
|
|
68
|
-
prop.onSubmit (fun ev ->
|
|
69
|
-
ev.stopPropagation ()
|
|
70
|
-
ev.preventDefault ()
|
|
71
|
-
|
|
72
|
-
match onSubmit with
|
|
73
|
-
| None -> ()
|
|
74
|
-
| Some(OnSubmit onSubmit) -> onSubmit ()
|
|
75
|
-
)
|
|
76
|
-
|
|
77
|
-
prop.children [
|
|
78
|
-
yield! fields
|
|
79
|
-
|
|
80
|
-
match state with
|
|
81
|
-
| Error error -> errorMessage error
|
|
82
|
-
|
|
83
|
-
| Success success ->
|
|
84
|
-
Bulma.field.div [
|
|
85
|
-
Bulma.control.div [
|
|
86
|
-
text.hasTextCentered
|
|
87
|
-
color.hasTextSuccess
|
|
88
|
-
text.hasTextWeightBold
|
|
89
|
-
|
|
90
|
-
prop.text success
|
|
91
|
-
]
|
|
92
|
-
]
|
|
93
|
-
|
|
94
|
-
| Loading
|
|
95
|
-
| ReadOnly
|
|
96
|
-
| Idle -> Html.none
|
|
97
|
-
|
|
98
|
-
match action with
|
|
99
|
-
| Action.SubmitOnly submitLabel ->
|
|
100
|
-
Bulma.field.div [
|
|
101
|
-
field.isGrouped
|
|
102
|
-
field.isGroupedRight
|
|
103
|
-
|
|
104
|
-
prop.children [
|
|
105
|
-
Bulma.control.div [
|
|
106
|
-
Bulma.button.button [
|
|
107
|
-
prop.type'.submit
|
|
108
|
-
color.isPrimary
|
|
109
|
-
prop.text submitLabel
|
|
110
|
-
// If the form is loading animate the submit button with the loading animation
|
|
111
|
-
if state = Loading then
|
|
112
|
-
button.isLoading
|
|
113
|
-
]
|
|
114
|
-
]
|
|
115
|
-
|
|
116
|
-
]
|
|
117
|
-
]
|
|
118
|
-
|
|
119
|
-
| Action.Custom func -> func state
|
|
120
|
-
]
|
|
121
|
-
]
|
|
122
|
-
|
|
123
|
-
let rec renderField<'Value, 'Attributes, 'Values when 'Attributes :> Field.IAttributes>
|
|
124
|
-
(fieldConfig: Form.View.FieldConfig<'Values, 'Value>)
|
|
125
|
-
(field: FilledField<'Values>)
|
|
126
|
-
: ReactElement
|
|
127
|
-
=
|
|
128
|
-
|
|
129
|
-
(***
|
|
130
|
-
|
|
131
|
-
It would be cleaner to use a match expression here.
|
|
132
|
-
|
|
133
|
-
```fsharp
|
|
134
|
-
match field.State with
|
|
135
|
-
| :? IRendererField as rendererField ->
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
However, by not using a match expression we make it easier to use TypeScript for creating fields.
|
|
139
|
-
|
|
140
|
-
```typescript
|
|
141
|
-
export function renderField(dispatch, fieldConfig, field) {
|
|
142
|
-
let f1, copyOfStruct_1, value;
|
|
143
|
-
const matchValue = field.State;
|
|
144
|
-
if (matchValue instanceof IRendererField) {
|
|
145
|
-
const rendererField = matchValue;
|
|
146
|
-
const matchValue_1 = IRendererField__get_FieldRendererType(rendererField);
|
|
147
|
-
if (matchValue_1.tag === 1) {
|
|
148
|
-
// This is generic field
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
// This is standard field
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
// This is an invalid field
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
This is because, the match with test the instance of the object, which means that we
|
|
161
|
-
need to expose the domain to TypeScript (not easy to do, and outside of what I would
|
|
162
|
-
like to maintain).
|
|
163
|
-
|
|
164
|
-
However, by using a dynamic cast we by pass that and only work based on the shape of the object.
|
|
165
|
-
|
|
166
|
-
```typescript
|
|
167
|
-
export function renderField(dispatch, fieldConfig, field) {
|
|
168
|
-
let value, f1, copyOfStruct_1;
|
|
169
|
-
try {
|
|
170
|
-
const rendererField = field.State;
|
|
171
|
-
const matchValue = IRendererField__get_FieldRendererType(rendererField);
|
|
172
|
-
if (matchValue.tag === 1) {
|
|
173
|
-
// This is generic field
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
// This is standard field
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
catch (matchValue_1) {
|
|
180
|
-
// This is an invalid field
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
See how, we don't have a test against the instance of the object.
|
|
186
|
-
|
|
187
|
-
This means we could create an NPM package, to share the shape of the domain and then use that in TypeScript.
|
|
188
|
-
*)
|
|
189
|
-
|
|
190
|
-
try
|
|
191
|
-
let rendererField = field.State :?> IRendererField
|
|
192
|
-
|
|
193
|
-
match rendererField.FieldRendererType with
|
|
194
|
-
| FieldRendererType.Standard ->
|
|
195
|
-
|
|
196
|
-
let standardField = field.State :?> IStandardField<'Values, 'Value, 'Attributes>
|
|
197
|
-
|
|
198
|
-
let attributes = standardField.InnerField.Attributes
|
|
199
|
-
|
|
200
|
-
let config =
|
|
201
|
-
{
|
|
202
|
-
OnChange = standardField.InnerField.Update >> fieldConfig.OnChange
|
|
203
|
-
OnBlur =
|
|
204
|
-
fieldConfig.OnBlur
|
|
205
|
-
|> Option.map (fun onBlurEvent ->
|
|
206
|
-
fun () -> onBlurEvent (attributes.GetFieldId())
|
|
207
|
-
)
|
|
208
|
-
Disabled = field.IsDisabled || fieldConfig.Disabled
|
|
209
|
-
IsReadOnly = field.IsReadOnly || fieldConfig.IsReadOnly
|
|
210
|
-
Value = standardField.InnerField.Value
|
|
211
|
-
Error = field.Error
|
|
212
|
-
ShowError = fieldConfig.ShowError(attributes.GetFieldId())
|
|
213
|
-
Attributes = attributes
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
standardField.RenderField config
|
|
217
|
-
|
|
218
|
-
| FieldRendererType.Generic ->
|
|
219
|
-
let genericField = field.State :?> IGenericField<'Values>
|
|
220
|
-
|
|
221
|
-
genericField.RenderField fieldConfig field
|
|
222
|
-
|
|
223
|
-
with error ->
|
|
224
|
-
Fable.Core.JS.console.error error
|
|
225
|
-
#if DEBUG
|
|
226
|
-
Html.div [
|
|
227
|
-
prop.text
|
|
228
|
-
"Field not implemented, please implement the field `IStandardField<'Values>` or `IGenericField<'Values>`"
|
|
229
|
-
]
|
|
230
|
-
#else
|
|
231
|
-
Html.none
|
|
232
|
-
#endif
|
|
233
|
-
|
|
234
|
-
let ignoreChildError
|
|
235
|
-
(parentError: Error.Error option)
|
|
236
|
-
(field: FilledField<'Values>)
|
|
237
|
-
: FilledField<'Values>
|
|
238
|
-
=
|
|
239
|
-
|
|
240
|
-
match parentError with
|
|
241
|
-
| Some _ -> field
|
|
242
|
-
|
|
243
|
-
| None ->
|
|
244
|
-
{ field with
|
|
245
|
-
Error = None
|
|
246
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.ts","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.Bulma.3.0.0/Bulma.fs","./Html.View.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/PropertyBuilders.fs","../Feliz.Bulma.3.0.0/Modifiers.fs"],"names":["label","message","externalError","error","errorMessage","showError","elems","children","wrapInFieldContainer","fieldLabel","fieldAsHtml","errorMessageAsHtml","state","_arg1","onSubmit","ev","matchValue","submitLabel","copyOfStruct","field","genericField","fieldConfig","standardField","attributes","config","onBlurEvent","parentError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eASoE,oBAAA,EC0aV,SAAA,IAAA,eAAA,MC5Xc,yCAAA,ECkML,aC7O/C,eAAA,EAAA;QC2uD2C;QD1uDzCA;KAAAA;;;eJJ8C,oBAAA,ECmhBd,KAAA,IAAA,eAAA,MCpYc,yCAAA,ECoVN,YC3d3C,aAAA,EAAA;QAAA;YEbgC;YCgrCU;SAAA;QAAA;YFmkBE;YDpuDzCC;SAAAA;KAAAA;;;qBAKQC;IADhB,IAAAC,SAAAA,MAAAA;QAAA,QAAA,aAAA,EACJA,OAAAA,GAAAA,KAAAA,YAAAA,GAAAA,GAAAA;;YAAoBD,gBADhB,IAAA,aAAA,EACJC,OAAAA,MAAAA,CAAAA,EAAAA;;;;;;;;;YAAsC,OAAAC,aAAaF;;YAGjD,IAAGG,WAAAA;gBAII,WAAA,kBAAA,MADA,WAAA,EAAWD,kBADX,WAAA,EAAA,qBAAA,EADHD,aJnBoD,oBAAA,ECmhBd,KAAA,IAAA,eAAA,MCpYc,yCAAA,ECoVN,YC7cX,WAAA;;gBJtBiB,WAAA,oBAAA,ECmhBd,KAAA,IAAA,eAAA,MCpYc,yCAAA,ECoVN,YC1cnC,WAAA;;;;;QC+YQG;WLxaiC,wBAAA,ECuLZ,OAAA,IAAA,eAAA,MCpKc,yCAAA,EC+l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qBAAA,CAAAP,MAAAA,KAAAA,EACY,WADZA,MAAAA,UAAAA,EAAAA,MAAAA,UAAAA;;eAHQA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../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","./Html.View.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/PropertyBuilders.fs","../Feliz.Bulma.3.0.0/Modifiers.fs"],"names":["label","message","externalError","error","errorMessage","showError","elems","children","wrapInFieldContainer","fieldLabel","fieldAsHtml","errorMessageAsHtml","state","_arg1","onSubmit","ev","matchValue","submitLabel","copyOfStruct","field","genericField","fieldConfig","standardField","attributes","config","onBlurEvent","parentError"],"mappings":";;;;;;;;;;;;;;;;;WASoE,mBC0aV,mBC5Xc,uBCkML,SC7O/C,WC2uD2C,YD1uDzCA;;;;WJJ8C,mBCmhBd,eCpYc,uBCoVN,QC3d3C,UEbgC,aCgrCU,gCFmkBE,YDpuDzCC;;;;4BAKQC;AADhB,QAAA,AAAAC;AAAA,YAAA,SACJA;;AAAoBD,4BADhB,UACJC;;;;;;;;;;;AAAsC,mBAAA,AAAAC,aAAaF;;AAGjD,gBAAGG;AAII,uBAAA,WADA,0BAAWD,cADX,0CADHD,SJnBoD,mBCmhBd,eCpYc,uBCoVN,QC7cX;;;AJtBiB,uBAAA,mBCmhBd,eCpYc,uBCoVN,QC1cnC;;;;;;QC\u002BYQG;WLxaiC,mBCuLZ,iBCpKc,uBC\u002BlBH,SCtlB3C,WC4YWA,QD3YTC,WC2Y\u002BD,YAAY,qCAA\u002BCD;;;;QHpZ/GC;WE0B1B,AAAAC,qBAPH,SACI,AAAAC,WAAWT,SFpBcO,YEsBrBG,cJ1CoD,mBCuLZ;mBEkbkC;kBEjMW,qCHpZUH;SEwBnG,AAAAI,mBAAmBN,WAAUF;;;;QC4XNG;ADrXdM,gC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;uCD9N1FY;AAtBlD;AAGUF,8CAAA,sCAFc,AAAAG;AAEd,YAAA,AAAAH;AA0BEI,iCAAe,AAAAD;AAEnB,mBAAA,AAAAC,2EAAyBC,aAAYF;;;AAzBjCG,kCAAgB,AAAAH;AAEhBI,2CAAa,4DAAAD;AAEbE,2EACA,sCACe,4DAAAF;AAAA,AAAmC,AAAAD;gBAGvC;oBACwBH;AAAb,AAAAO,6BAAaP,eAAAK,YAAA,AAAAL;gBAF3B,AAAAG,qBAIO,AAAAF,mBAAA,OAAoB,AAAAE,sBAClB,AAAAF,mBAAA,OAAoB,AAAAE,wBACzB,4DAAAC,sBACA,AAAAH,aACI,AAAAE,uBAAsBH,iBAAAK,YAAA,AAAAL,\u002BBACrBK;AAGrB,mBAAA,AAAAD,\u002BEAA0BE;;;;AAQ9B,sBAA4B,KAAArB;AH8Ra,eAAA;;;;;AG9QvC,QAAA,AAAAuB;AAIF,eAAA,kBAAA,AAAAP,aACY,WADZ,AAAAA,kBAAA,AAAAA;;;eAHQA","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
-
|
|
3
|
-
open Feliz
|
|
4
|
-
open Feliz.Bulma
|
|
5
|
-
open Fable.Form
|
|
6
|
-
open Fable.Form.Simple.Bulma
|
|
7
|
-
|
|
8
|
-
module InputField =
|
|
9
|
-
|
|
10
|
-
[<NoComparison; NoEquality>]
|
|
11
|
-
type Config =
|
|
12
|
-
{
|
|
13
|
-
OnChange: string -> unit
|
|
14
|
-
OnBlur: (unit -> unit) option
|
|
15
|
-
Disabled: bool
|
|
16
|
-
IsReadOnly: bool
|
|
17
|
-
Value: string
|
|
18
|
-
Error: Error.Error option
|
|
19
|
-
ShowError: bool
|
|
20
|
-
Label: string
|
|
21
|
-
InputFunc: IReactProperty list -> ReactElement
|
|
22
|
-
ExtraInputProps: IReactProperty list
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/// <summary>
|
|
26
|
-
/// Generic input field renderer used to mutualize the rendering of input fields
|
|
27
|
-
///
|
|
28
|
-
/// ATTENTION: For some input fields, you may not want to use this function.
|
|
29
|
-
///
|
|
30
|
-
/// For example, date fields needs to use uncontrolled input fields.
|
|
31
|
-
/// </summary>
|
|
32
|
-
/// <param name="config"></param>
|
|
33
|
-
/// <returns></returns>
|
|
34
|
-
let renderField (config: Config) =
|
|
35
|
-
|
|
36
|
-
config.InputFunc [
|
|
37
|
-
prop.onChange config.OnChange
|
|
38
|
-
|
|
39
|
-
match config.OnBlur with
|
|
40
|
-
| Some onBlur -> prop.onBlur (fun _ -> onBlur ())
|
|
41
|
-
| None -> ()
|
|
42
|
-
|
|
43
|
-
prop.disabled config.Disabled
|
|
44
|
-
prop.readOnly config.IsReadOnly
|
|
45
|
-
prop.value config.Value
|
|
46
|
-
|
|
47
|
-
if config.ShowError && config.Error.IsSome then
|
|
48
|
-
color.isDanger
|
|
49
|
-
|
|
50
|
-
yield! config.ExtraInputProps
|
|
51
|
-
]
|
|
52
|
-
|> Html.View.withLabelAndError config.Label config.ShowError config.Error
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
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;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liz.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}
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1,51 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,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AA,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"}
|
|
@@ -1 +0,0 @@
|
|
|
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}
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAoBY,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,YCpBwC,oBAAA,EC0ZV,SAAA,IAAA,eAAA,MCpWtC,UAAA,EAAA;gBCg4H+B;gBAAO;aAAA,EDh4H/B,6CAAA,EEs3BmD,SLv5B9CC,eAER,WAAA,MACI,UAAA,EAAA;gBAAMC;mBAAN,eAAA,GAAMA,aAAAF,OAAAA,UAAAA,CAAAA,UAAAA,EAAAE,AAAA,WAAAA,GAAAA,KAAAA,QAAAA,GAAAA,QAE2B,cAAA,EAAA;gBI4kDM;oBAAc,eAAA,EJ5kDJ;aAAA,IAF3C,AAAAA,WAAAA,GAAAA,KAAAA,SAAAA,GAAAA,QAG4B,cAAA,EAAA;gBI2kDK;oBAAc,eAAA,EJ3kDH;aAAA,QAFd,UAAA,GAAA,OAIpC,UAAA,EAAA,QAAA,WAAA,MAAA,cAAA,EAAA;oBI+UsC;oBJ/UvBF,OAAAA,UAAAA,CAAAA,SAAAA;iBAAAA,OAEf,UAAA,EAAA;wBAAME;+BAAN,WAAA,GAAMA,eAAAF,OAAAA,UAAAA,CAAAA,WAAAA,EAAA,AAAAE,gBAAAA,WAEI,UAAA,UADY,cAAA,EAAA;wBIi2CoB;wBAAA,IAAA,aAAA,EJj2CpBA;qBAAAA,CAAAA,OAGhB,UAAA,EAAA;wBAAAA,MAAAA,eAAAF,OAAAA,UAAAA,CAAAA,YAAAA;wBAAA,IAAAE,gBAAAA,MAAAA;4BAEI,WAAA,UAAA;;4BADa,WAAA,cAAA,EAAA;gCIqUoB;gCAAA,IAAA,aAAA,EJrUpBA;6BAAAA;;;;;;;QA9BhCC,MAAAA,IAAAA,IAAAA;QAEH,OAAAC,wBAAM,kBAAA,EAAgBC,QAAOF,EAAAA,YAAAA;;;cAN2BJ;QADhD,IAAA,CAAA,YAAA,GAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./SearchField.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,MCg4H\u002BB,QAAO,0BDh4H/B,uBEs3BmD,SLv5B9CC,WAER,uBACI;gBAAMC;mBAAN,wBAAMA,aAAA,AAAAF,8BAAA,CAAA,AAAAE,mCAE2B,2BI4kDM,cAAc,SJ5kDJ,4BAF3C,CAAA,AAAAA,oCAG4B,2BI2kDK,cAAc,SJ3kDH,6BAFd,4BAIpC,sDAAA,uBAAA,2BI\u002BUsC,aJ/UvB,AAAAF,gDAEf;oBAAME;uBAAN,wBAAMA,eAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,yBAEI,2BADY,2BIi2CoB,wBJj2CpBA,mCAGhB;AAAAA,yDAAA,AAAAF;AAAA,wBAAA,AAAAE;AAEI,\u002BBAAA;;;AADa,\u002BBAAA,2BIqUoB,yBJrUpBA;;;;;;;AA9BhCC,mCAAAA;AAEH,eAAA,AAAAC,wBAAM,4DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
namespace Fable.Form.Simple.Bulma.Fields
|
|
2
|
-
|
|
3
|
-
open Feliz
|
|
4
|
-
open Fable.Form.Simple
|
|
5
|
-
open Fable.Form.Simple.Bulma
|
|
6
|
-
|
|
7
|
-
module SectionField =
|
|
8
|
-
|
|
9
|
-
type InnerField<'Values> = string * FilledField<'Values> list
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(title: string, fields: FilledField<'Values> list) =
|
|
12
|
-
|
|
13
|
-
inherit IGenericField<'Values>()
|
|
14
|
-
|
|
15
|
-
interface IField<'Values> with
|
|
16
|
-
|
|
17
|
-
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
18
|
-
|
|
19
|
-
let newFields =
|
|
20
|
-
fields
|
|
21
|
-
|> List.map (fun filledField ->
|
|
22
|
-
{
|
|
23
|
-
State = filledField.State.MapFieldValues update
|
|
24
|
-
Error = filledField.Error
|
|
25
|
-
IsDisabled = filledField.IsDisabled
|
|
26
|
-
IsReadOnly = filledField.IsReadOnly
|
|
27
|
-
}
|
|
28
|
-
: FilledField<'NewValues>
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
Field(title, newFields)
|
|
32
|
-
|
|
33
|
-
override _.RenderField
|
|
34
|
-
(fieldConfig: Form.View.FieldConfig<'Values, 'Msg>)
|
|
35
|
-
(_filledField: FilledField<'Values>)
|
|
36
|
-
=
|
|
37
|
-
|
|
38
|
-
let renderedFields =
|
|
39
|
-
fields
|
|
40
|
-
|> List.map (fun field ->
|
|
41
|
-
let f1 = Html.View.ignoreChildError field.Error field
|
|
42
|
-
|
|
43
|
-
Html.View.renderField
|
|
44
|
-
{ fieldConfig with
|
|
45
|
-
Disabled = field.IsDisabled || fieldConfig.Disabled
|
|
46
|
-
}
|
|
47
|
-
f1
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
Html.fieldSet [
|
|
51
|
-
prop.className "fieldset"
|
|
52
|
-
|
|
53
|
-
prop.children [
|
|
54
|
-
Html.legend [
|
|
55
|
-
prop.text title
|
|
56
|
-
]
|
|
57
|
-
|
|
58
|
-
yield! renderedFields
|
|
59
|
-
]
|
|
60
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.ts","../Feliz.2.8.0/Properties.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs"],"names":["title","fields","elems","_","renderedFields","fieldConfig","field","``.ctor``","filledField","update"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YCibmCE;QDjZlBC,MAAAA,IAAAA,IAAAA;QAKDC,MAAAA,qBAEG,SAAA,EAAA,CAAA,YAGC,uBAAA,EACI,IAAA,qBAAA,CAAAC,YAAAA,QAAAA,EAAAA,YAAAA,MAAAA,EACeC,MAAAA,UAAAA,GAAA,OAAoBD,YAAAA,QAAAA,EADnCA,YAAAA,UAAAA,EAAAA,YAAAA,SAAAA,OAHK,4BAAA,EAA2BC,MAAAA,KAAAA,EAAYA,SAFpDH,EAAAA,MAAAA;QE7BoD,WAAA,oBAAA,ECyTP,YAAA,IAAA,eAAA,EHjRnC,iBAAA,EAAA;YAAA;gBCuY0C;gBDtYrC;aAAA;aC+XID,YD7XL,WAAA,MACV,UAAA,EAAA,QAAA,WAAA,EAAA,kBAAA,ME5CgD,oBAAA,EC6aT,UAAA;8BHhYzBC,EAAAA,KAAAA;yBAGd,UAAA,EAAA,IAAOC,oBAAAA;gBCwX8D;gBAAY,mBAAA,CAAA,QAAA,CAAA,OAAA,CAAA,MAAA,IAAA,CAA+CF;aAAAA;SAAAA;;;QDjajIC,MAAAA,IAAAA,IAAAA;QAcH,OAAAI,uBAAMJ,EAAAA,KAAAA,MAVC,SAAA,EAAA,CAAA,cACC,IAAA,qBAAA,CACYK,YAAAA,KAAAA,CAAAA,cAAAA,CAAiCC,SACjCD,YAAAA,KAAAA,EACKA,YAAAA,UAAAA,EACAA,YAAAA,UAAAA,GANrBL,EAAAA,MAAAA;;;;QATI,IAAA,CAAA,KAAA,GAAAH;QAAe,IAAA,CAAA,MAAA,GAAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./Section.fs","../Feliz.2.8.0/Properties.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs"],"names":["title","fields","elems","_","renderedFields","fieldConfig","field","\u0060\u0060.ctor\u0060\u0060","filledField","update"],"mappings":";;;;;;;;;;;;;;;;;;AAUwB,qBAAAA;AAAe,sBAAAC;;;YCuaJC;ADjZlBC,mCAAAA;AAKDC,yDAEG,6GAGC,qCACI,kBAAA,AAAAC,sBAAA,AAAAA,oBACe,AAAAC,mBAAA,OAAoB,AAAAD,sBADnC,AAAAA,wBAAA,AAAAA,wBAHK,yBAA2B,AAAAC,aAAYA,SAFpD,AAAAH;AE7BoD,eAAA,mBCyTP,sBHjRnC,UCuY0C,aDtYrC,\u002BBC\u002BXID,QD7XL,qBACV,kDAAA,qBAAA,wBE5CgD,mBC6aT;sBHhYzB,AAAAC;aAGd,kDAAOC,qBCwX8D,YAAY,qCAA\u002BCF;;;ADjajIC,mCAAAA;AAcH,eAAA,AAAAI,2BAAM,AAAAJ,SAVC,sJACC,kBACY,AAAAK,qCAAiCC,SACjC,AAAAD,mBACK,AAAAA,wBACA,AAAAA,0BANrB,AAAAL","file":null,"sourcesContent":null,"sourceRoot":null}
|