@f1studio/form-spec 5.0.0-alpha.149 → 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,511 +0,0 @@
|
|
|
1
|
-
module Fable.Form.Base
|
|
2
|
-
|
|
3
|
-
open Fable.Form.Extensions
|
|
4
|
-
|
|
5
|
-
/// <summary>
|
|
6
|
-
/// Represents a filled field
|
|
7
|
-
/// </summary>
|
|
8
|
-
type FilledField<'Field> =
|
|
9
|
-
{
|
|
10
|
-
State: 'Field
|
|
11
|
-
Error: Error.Error option
|
|
12
|
-
IsDisabled: bool
|
|
13
|
-
IsReadOnly: bool
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/// <summary>
|
|
17
|
-
/// Represents a filled form
|
|
18
|
-
///
|
|
19
|
-
/// You can obtain this by using <see cref="fill"/>
|
|
20
|
-
/// </summary>
|
|
21
|
-
type FilledForm<'Output, 'Field> =
|
|
22
|
-
{
|
|
23
|
-
Fields: FilledField<'Field> list
|
|
24
|
-
Result: Result<'Output, (Error.Error * Error.Error list)>
|
|
25
|
-
IsEmpty: bool
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/// <summary>
|
|
29
|
-
/// A <see cref="T:Form"/> which can contain any type of 'field'
|
|
30
|
-
/// </summary>
|
|
31
|
-
[<NoComparison; NoEquality>]
|
|
32
|
-
type Form<'Values, 'Output, 'Field> = Form of ('Values -> FilledForm<'Output, 'Field>)
|
|
33
|
-
|
|
34
|
-
/// <summary>
|
|
35
|
-
/// <see cref="T:FieldConfig"/> is a contract allowing you to describe how a field will behave
|
|
36
|
-
/// </summary>
|
|
37
|
-
[<NoComparison; NoEquality>]
|
|
38
|
-
type FieldConfig<'Attributes, 'Input, 'Values, 'Output> =
|
|
39
|
-
{
|
|
40
|
-
/// <summary>
|
|
41
|
-
/// Function that valides the <c>'Input</c> value and produce an <c>Ok 'Ouput</c> on success or an <c>Error</c> describing the problem
|
|
42
|
-
/// </summary>
|
|
43
|
-
Parser: 'Input -> Result<'Output, string>
|
|
44
|
-
/// <summary>
|
|
45
|
-
/// Function which defined how to access the <c>'Input</c> from <c>'Value</c> type
|
|
46
|
-
/// </summary>
|
|
47
|
-
Value: 'Values -> 'Input
|
|
48
|
-
/// <summary>
|
|
49
|
-
/// Function which defined how the current form <c>'Values</c> should be update with the new <c>'Input</c>
|
|
50
|
-
/// </summary>
|
|
51
|
-
Update: 'Input -> 'Values -> 'Values
|
|
52
|
-
/// <summary>
|
|
53
|
-
/// Define how to obtain a potential external error. Useful when dealing with Server-side validation for example
|
|
54
|
-
/// </summary>
|
|
55
|
-
Error: 'Values -> string option
|
|
56
|
-
/// <summary>
|
|
57
|
-
/// Type used to represents data specific to the field. For example, you can use it to ask the user to provide a label and placeholder.
|
|
58
|
-
/// </summary>
|
|
59
|
-
Attributes: 'Attributes
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/// <summary>
|
|
63
|
-
/// Represents a custom field on a form that has been filled with some values.
|
|
64
|
-
/// </summary>
|
|
65
|
-
type CustomField<'Output, 'Field> =
|
|
66
|
-
{
|
|
67
|
-
/// <summary>
|
|
68
|
-
/// The field
|
|
69
|
-
/// </summary>
|
|
70
|
-
State: 'Field
|
|
71
|
-
/// <summary>
|
|
72
|
-
/// The result of the field
|
|
73
|
-
/// </summary>
|
|
74
|
-
Result: Result<'Output, (Error.Error * Error.Error list)>
|
|
75
|
-
/// <summary>
|
|
76
|
-
/// Whether the field is empty or not.
|
|
77
|
-
///
|
|
78
|
-
/// <para>
|
|
79
|
-
/// <c>True</c>, if it is empty
|
|
80
|
-
/// </para>
|
|
81
|
-
///
|
|
82
|
-
/// <para>
|
|
83
|
-
/// <c/>False<c/>, otherwise
|
|
84
|
-
/// </para>
|
|
85
|
-
/// </summary>
|
|
86
|
-
IsEmpty: bool
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/// <summary>
|
|
90
|
-
/// Create a form that always succeeds when filled.
|
|
91
|
-
///
|
|
92
|
-
/// Note: You can choose to discard one of the function argument. The classic example for that is when dealing with a <c>repeatPasswordField</c>
|
|
93
|
-
///
|
|
94
|
-
/// <para>
|
|
95
|
-
/// <code lang="fsharp">
|
|
96
|
-
/// Form.succeed (fun password _ -> password )
|
|
97
|
-
/// |> Form.append passwordField
|
|
98
|
-
/// |> Form.append repeatPasswordField
|
|
99
|
-
/// </code>
|
|
100
|
-
/// </para>
|
|
101
|
-
/// </summary>
|
|
102
|
-
/// <param name="output">The value to return when the form is filled</param>
|
|
103
|
-
/// <returns>The given <c>Output</c></returns>
|
|
104
|
-
let succeed (output: 'Output) : Form<'Values, 'Output, 'Field> =
|
|
105
|
-
Form(fun _ ->
|
|
106
|
-
{
|
|
107
|
-
Fields = []
|
|
108
|
-
Result = Ok output
|
|
109
|
-
IsEmpty = true
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
/// <summary>
|
|
114
|
-
/// Fill a form with some <c>'Values</c>
|
|
115
|
-
/// </summary>
|
|
116
|
-
/// <returns>
|
|
117
|
-
/// - A list of the fields of the form, with their errors
|
|
118
|
-
/// - The result of the filled form which can be:
|
|
119
|
-
/// - The correct <c>'Output</c>
|
|
120
|
-
/// - A non-empty list of validation errors
|
|
121
|
-
/// - Whether the form is empty or not
|
|
122
|
-
/// </returns>
|
|
123
|
-
let fill<'Values, 'Output, 'Field>
|
|
124
|
-
(Form form: Form<'Values, 'Output, 'Field>)
|
|
125
|
-
(values: 'Values)
|
|
126
|
-
: FilledForm<'Output, 'Field>
|
|
127
|
-
=
|
|
128
|
-
form values
|
|
129
|
-
|
|
130
|
-
/// <summary>
|
|
131
|
-
/// Create a custom field
|
|
132
|
-
/// </summary>
|
|
133
|
-
/// <param name="fillField">A function given some <c>'Values</c> that produce a <see cref="T:FilledField"/></param>
|
|
134
|
-
/// <returns>
|
|
135
|
-
/// A form build by applying <c>fillField</c> to a provided <c>'Values</c>
|
|
136
|
-
/// </returns>
|
|
137
|
-
let custom (fillField: 'Values -> CustomField<'Output, 'Field>) : Form<'Values, 'Output, 'Field> =
|
|
138
|
-
Form(fun values ->
|
|
139
|
-
let filled = fillField values
|
|
140
|
-
|
|
141
|
-
{
|
|
142
|
-
Fields =
|
|
143
|
-
[
|
|
144
|
-
{
|
|
145
|
-
State = filled.State
|
|
146
|
-
Error =
|
|
147
|
-
if filled.IsEmpty then
|
|
148
|
-
Some Error.RequiredFieldIsEmpty
|
|
149
|
-
|
|
150
|
-
else
|
|
151
|
-
match filled.Result with
|
|
152
|
-
| Ok _ -> None
|
|
153
|
-
|
|
154
|
-
| Error(firstError, _) -> Some firstError
|
|
155
|
-
IsDisabled = false
|
|
156
|
-
IsReadOnly = false
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
Result = filled.Result
|
|
160
|
-
IsEmpty = filled.IsEmpty
|
|
161
|
-
}
|
|
162
|
-
)
|
|
163
|
-
|
|
164
|
-
/// <summary>
|
|
165
|
-
/// Build a form that depends on its own <c>'Values</c>
|
|
166
|
-
///
|
|
167
|
-
/// This is useful when a field need to checks it's value against another field value.
|
|
168
|
-
///
|
|
169
|
-
/// The classic example for using <c>meta</c> is when dealing with a repeat password field.
|
|
170
|
-
/// </summary>
|
|
171
|
-
/// <param name="fn">Function to apply to transform the form values</param>
|
|
172
|
-
/// <returns>A new form resulting of the application of <c>fn</c> when filling it</returns>
|
|
173
|
-
let meta (fn: 'Values -> Form<'Values, 'Output, 'Field>) : Form<'Values, 'Output, 'Field> =
|
|
174
|
-
Form(fun values -> fill (fn values) values)
|
|
175
|
-
|
|
176
|
-
/// <summary>
|
|
177
|
-
/// Transform the values of a form.
|
|
178
|
-
///
|
|
179
|
-
/// This function is useful when you want to re-use existing form or nest them.
|
|
180
|
-
/// </summary>
|
|
181
|
-
/// <param name="fn">Function to apply transform the data</param>
|
|
182
|
-
/// <param name="form">The form to which we want to pass the result of the transformation</param>
|
|
183
|
-
/// <returns>
|
|
184
|
-
/// A new form resulting of <c>fn >> fill form</c>
|
|
185
|
-
/// </returns>
|
|
186
|
-
let mapValues (fn: 'A -> 'B) (form: Form<'B, 'Output, 'Field>) : Form<'A, 'Output, 'Field> =
|
|
187
|
-
|
|
188
|
-
Form(fn >> fill form)
|
|
189
|
-
|
|
190
|
-
/// <summary>
|
|
191
|
-
/// Apply the given function to all the field
|
|
192
|
-
/// </summary>
|
|
193
|
-
/// <param name="fn">Function to apply</param>
|
|
194
|
-
/// <param name="form">Form containing the list of fields to which we want to apply the function</param>
|
|
195
|
-
/// <returns>A new form, when <c>fn</c> has been apply to all the field of <c>form</c></returns>
|
|
196
|
-
let mapField (fn: 'A -> 'B) (form: Form<'Values, 'Output, 'A>) : Form<'Values, 'Output, 'B> =
|
|
197
|
-
Form(fun values ->
|
|
198
|
-
let filled = fill form values
|
|
199
|
-
|
|
200
|
-
{
|
|
201
|
-
Fields =
|
|
202
|
-
filled.Fields
|
|
203
|
-
|> List.map (fun filledField ->
|
|
204
|
-
{
|
|
205
|
-
State = fn filledField.State
|
|
206
|
-
Error = filledField.Error
|
|
207
|
-
IsDisabled = filledField.IsDisabled
|
|
208
|
-
IsReadOnly = filledField.IsReadOnly
|
|
209
|
-
}
|
|
210
|
-
)
|
|
211
|
-
Result = filled.Result
|
|
212
|
-
IsEmpty = filled.IsEmpty
|
|
213
|
-
}
|
|
214
|
-
)
|
|
215
|
-
|
|
216
|
-
/// <summary>
|
|
217
|
-
/// Append a form to another one while <b>capturing</b> the output of the first one
|
|
218
|
-
/// </summary>
|
|
219
|
-
/// <param name="newForm">Form to append</param>
|
|
220
|
-
/// <param name="currentForm">Form to append to</param>
|
|
221
|
-
/// <returns>A new form resulting in the combination of <c>newForm</c> and <c>currentForm</c></returns>
|
|
222
|
-
let append
|
|
223
|
-
(newForm: Form<'Values, 'A, 'Field>)
|
|
224
|
-
(currentForm: Form<'Values, 'A -> 'B, 'Field>)
|
|
225
|
-
: Form<'Values, 'B, 'Field>
|
|
226
|
-
=
|
|
227
|
-
Form(fun values ->
|
|
228
|
-
let filledNew = fill newForm values
|
|
229
|
-
|
|
230
|
-
let filledCurrent = fill currentForm values
|
|
231
|
-
|
|
232
|
-
let fields = filledCurrent.Fields @ filledNew.Fields
|
|
233
|
-
|
|
234
|
-
let isEmpty = filledCurrent.IsEmpty && filledNew.IsEmpty
|
|
235
|
-
|
|
236
|
-
match filledCurrent.Result with
|
|
237
|
-
| Ok fn ->
|
|
238
|
-
{
|
|
239
|
-
Fields = fields
|
|
240
|
-
Result = Result.map fn filledNew.Result
|
|
241
|
-
IsEmpty = isEmpty
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
| Error(firstError, otherErrors) ->
|
|
245
|
-
match filledNew.Result with
|
|
246
|
-
| Ok _ ->
|
|
247
|
-
{
|
|
248
|
-
Fields = fields
|
|
249
|
-
Result = Error(firstError, otherErrors)
|
|
250
|
-
IsEmpty = isEmpty
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
| Error(newFirstError, newOtherErrors) ->
|
|
254
|
-
{
|
|
255
|
-
Fields = fields
|
|
256
|
-
Result = Error(firstError, otherErrors @ (newFirstError :: newOtherErrors))
|
|
257
|
-
IsEmpty = isEmpty
|
|
258
|
-
}
|
|
259
|
-
)
|
|
260
|
-
|
|
261
|
-
/// <summary>
|
|
262
|
-
/// Fill a form <c>andThen</c> fill another one.
|
|
263
|
-
///
|
|
264
|
-
/// This type of form is useful when some part of your form can dynamically change based on the value of another field.
|
|
265
|
-
/// </summary>
|
|
266
|
-
/// <param name="child">The child form</param>
|
|
267
|
-
/// <param name="parent">The parent form which is filled first</param>
|
|
268
|
-
/// <returns>A new form which is the result of filling the <c>parent</c> and then filling the <c>child</c> form</returns>
|
|
269
|
-
let andThen
|
|
270
|
-
(child: 'A -> Form<'Values, 'B, 'Field>)
|
|
271
|
-
(parent: Form<'Values, 'A, 'Field>)
|
|
272
|
-
: Form<'Values, 'B, 'Field>
|
|
273
|
-
=
|
|
274
|
-
|
|
275
|
-
Form(fun values ->
|
|
276
|
-
let filled = fill parent values
|
|
277
|
-
|
|
278
|
-
match filled.Result with
|
|
279
|
-
| Ok output ->
|
|
280
|
-
let childFilled = fill (child output) values
|
|
281
|
-
|
|
282
|
-
{
|
|
283
|
-
Fields = filled.Fields @ childFilled.Fields
|
|
284
|
-
Result = childFilled.Result
|
|
285
|
-
IsEmpty = filled.IsEmpty && childFilled.IsEmpty
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
| Error errors ->
|
|
289
|
-
{
|
|
290
|
-
Fields = filled.Fields
|
|
291
|
-
Result = Error errors
|
|
292
|
-
IsEmpty = filled.IsEmpty
|
|
293
|
-
}
|
|
294
|
-
)
|
|
295
|
-
|
|
296
|
-
/// <summary>
|
|
297
|
-
/// Disable a form
|
|
298
|
-
///
|
|
299
|
-
/// You can combine this with meta to disable parts of a form based on its own values.
|
|
300
|
-
/// </summary>
|
|
301
|
-
/// <param name="form">The form to disable</param>
|
|
302
|
-
/// <returns>A new form which has been marked as disabled</returns>
|
|
303
|
-
let disable (form: Form<'Values, 'Output, 'Field>) : Form<'Values, 'Output, 'Field> =
|
|
304
|
-
Form(fun values ->
|
|
305
|
-
let filled = fill form values
|
|
306
|
-
|
|
307
|
-
{
|
|
308
|
-
Fields =
|
|
309
|
-
filled.Fields
|
|
310
|
-
|> List.map (fun filledField ->
|
|
311
|
-
{ filledField with
|
|
312
|
-
IsDisabled = true
|
|
313
|
-
}
|
|
314
|
-
)
|
|
315
|
-
Result = filled.Result
|
|
316
|
-
IsEmpty = filled.IsEmpty
|
|
317
|
-
}
|
|
318
|
-
)
|
|
319
|
-
|
|
320
|
-
/// <summary>
|
|
321
|
-
/// Disable a form based on a condition
|
|
322
|
-
///
|
|
323
|
-
/// You can combine this with meta to disable parts of a form based on its own values.
|
|
324
|
-
/// </summary>
|
|
325
|
-
/// <param name="condition">The condition to check</param>
|
|
326
|
-
/// <param name="form">The form to disable</param>
|
|
327
|
-
/// <returns>A new form which has been marked as disabled if the condition is <c>true</c></returns>
|
|
328
|
-
let disableIf
|
|
329
|
-
(condition: bool)
|
|
330
|
-
(form: Form<'Values, 'Output, 'Field>)
|
|
331
|
-
: Form<'Values, 'Output, 'Field>
|
|
332
|
-
=
|
|
333
|
-
if condition then
|
|
334
|
-
disable form
|
|
335
|
-
else
|
|
336
|
-
form
|
|
337
|
-
|
|
338
|
-
/// <summary>
|
|
339
|
-
/// Make a form read-only
|
|
340
|
-
///
|
|
341
|
-
/// You can combine this with meta to make parts of a form read-only based on its own values.
|
|
342
|
-
/// </summary>
|
|
343
|
-
/// <param name="form">The form to make read-only</param>
|
|
344
|
-
/// <returns>A new form which has been marked as read-only</returns>
|
|
345
|
-
let readOnly (form: Form<'Values, 'Output, 'Field>) : Form<'Values, 'Output, 'Field> =
|
|
346
|
-
Form(fun values ->
|
|
347
|
-
let filled = fill form values
|
|
348
|
-
|
|
349
|
-
{
|
|
350
|
-
Fields =
|
|
351
|
-
filled.Fields
|
|
352
|
-
|> List.map (fun filledField ->
|
|
353
|
-
{ filledField with
|
|
354
|
-
IsReadOnly = true
|
|
355
|
-
}
|
|
356
|
-
)
|
|
357
|
-
Result = filled.Result
|
|
358
|
-
IsEmpty = filled.IsEmpty
|
|
359
|
-
}
|
|
360
|
-
)
|
|
361
|
-
|
|
362
|
-
/// <summary>
|
|
363
|
-
/// Make a form read-only based on a condition
|
|
364
|
-
///
|
|
365
|
-
/// You can combine this with meta to make parts of a form read-only based on its own values.
|
|
366
|
-
/// </summary>
|
|
367
|
-
/// <param name="condition">The condition to check</param>
|
|
368
|
-
/// <param name="form">The form to make read-only</param>
|
|
369
|
-
/// <returns>A new form which has been marked as read-only if the condition is <c>true</c></returns>
|
|
370
|
-
let readOnlyIf
|
|
371
|
-
(condition: bool)
|
|
372
|
-
(form: Form<'Values, 'Output, 'Field>)
|
|
373
|
-
: Form<'Values, 'Output, 'Field>
|
|
374
|
-
=
|
|
375
|
-
if condition then
|
|
376
|
-
readOnly form
|
|
377
|
-
else
|
|
378
|
-
form
|
|
379
|
-
|
|
380
|
-
/// <summary>
|
|
381
|
-
/// Transform the 'output' of a form
|
|
382
|
-
///
|
|
383
|
-
/// You can use it to keep your forms decoupled from your specific view messages:
|
|
384
|
-
///
|
|
385
|
-
/// <code lang="fsharp">
|
|
386
|
-
/// Base.map SignUp signupForm
|
|
387
|
-
/// </code>
|
|
388
|
-
/// </summary>
|
|
389
|
-
let map (fn: 'A -> 'B) (form: Form<'Values, 'A, 'Field>) : Form<'Values, 'B, 'Field> =
|
|
390
|
-
|
|
391
|
-
Form(fun values ->
|
|
392
|
-
let filled = fill form values
|
|
393
|
-
|
|
394
|
-
{
|
|
395
|
-
Fields = filled.Fields
|
|
396
|
-
Result = Result.map fn filled.Result
|
|
397
|
-
IsEmpty = filled.IsEmpty
|
|
398
|
-
}
|
|
399
|
-
)
|
|
400
|
-
|
|
401
|
-
/// <summary>
|
|
402
|
-
/// Create function which is used to created a single form field
|
|
403
|
-
///
|
|
404
|
-
/// This functions is meant to be used when you want to design your own View layer.
|
|
405
|
-
///
|
|
406
|
-
/// See how it is use for Fable.Form.Simple <a href="https://github.com/MangelMaxime/Fable.Form/blob/91c70b9504706fd3d65fd0bbcad97d865b18284a/packages/Fable.Form.Simple/TextField.fs#L15-L17">TextField</a>
|
|
407
|
-
/// </summary>
|
|
408
|
-
/// <param name="isEmpty">Function used to detect if the field is empty</param>
|
|
409
|
-
/// <param name="build">Field builder configuration</param>
|
|
410
|
-
/// <param name="config">Field configuration</param>
|
|
411
|
-
/// <returns>A form containing a single field</returns>
|
|
412
|
-
let field
|
|
413
|
-
(isEmpty: 'Input -> bool)
|
|
414
|
-
(build: Field.Field<'Attributes, 'Input, 'Values> -> 'Field)
|
|
415
|
-
(config: FieldConfig<'Attributes, 'Input, 'Values, 'Output>)
|
|
416
|
-
: Form<'Values, 'Output, 'Field>
|
|
417
|
-
=
|
|
418
|
-
|
|
419
|
-
let requiredParser value =
|
|
420
|
-
if isEmpty value then
|
|
421
|
-
Error(Error.RequiredFieldIsEmpty, [])
|
|
422
|
-
else
|
|
423
|
-
config.Parser value
|
|
424
|
-
|> Result.mapError (fun error -> (Error.ValidationFailed error, []))
|
|
425
|
-
|
|
426
|
-
let parse values =
|
|
427
|
-
requiredParser (config.Value values)
|
|
428
|
-
|> Result.andThen (fun output ->
|
|
429
|
-
config.Error values
|
|
430
|
-
|> Option.map (fun error -> Error(Error.External error, []))
|
|
431
|
-
|> Option.defaultValue (Ok output)
|
|
432
|
-
)
|
|
433
|
-
|
|
434
|
-
let field_ values =
|
|
435
|
-
let value = config.Value values
|
|
436
|
-
|
|
437
|
-
let update newValue = config.Update newValue values
|
|
438
|
-
|
|
439
|
-
build
|
|
440
|
-
{
|
|
441
|
-
Value = value
|
|
442
|
-
Update = update
|
|
443
|
-
Attributes = config.Attributes
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
Form(fun values ->
|
|
447
|
-
let result = parse values
|
|
448
|
-
|
|
449
|
-
let (error, isEmpty_) =
|
|
450
|
-
match result with
|
|
451
|
-
| Ok _ -> (None, false)
|
|
452
|
-
|
|
453
|
-
| Error(firstError, _) -> Some firstError, firstError = Error.RequiredFieldIsEmpty
|
|
454
|
-
|
|
455
|
-
{
|
|
456
|
-
Fields =
|
|
457
|
-
[
|
|
458
|
-
{
|
|
459
|
-
State = field_ values
|
|
460
|
-
Error = error
|
|
461
|
-
IsDisabled = false
|
|
462
|
-
IsReadOnly = false
|
|
463
|
-
}
|
|
464
|
-
]
|
|
465
|
-
Result = result
|
|
466
|
-
IsEmpty = isEmpty_
|
|
467
|
-
}
|
|
468
|
-
)
|
|
469
|
-
|
|
470
|
-
/// <summary>
|
|
471
|
-
/// Make a form optional.
|
|
472
|
-
///
|
|
473
|
-
/// An optional form succeeds when:
|
|
474
|
-
/// - All of its fields are empty, in this case it returns <c>None</c>
|
|
475
|
-
/// - All of its fields are correct, in this case it returns <c>Some 'Output</c>
|
|
476
|
-
/// </summary>
|
|
477
|
-
/// <param name="form">The form to make optional</param>
|
|
478
|
-
/// <returns>A form producing an optional 'Output</returns>
|
|
479
|
-
let optional (form: Form<'Values, 'Output, 'Field>) : Form<'Values, 'Output option, 'Field> =
|
|
480
|
-
|
|
481
|
-
Form(fun values ->
|
|
482
|
-
let filled = fill form values
|
|
483
|
-
|
|
484
|
-
match filled.Result with
|
|
485
|
-
| Ok value ->
|
|
486
|
-
{
|
|
487
|
-
Fields = filled.Fields
|
|
488
|
-
Result = Ok(Some value)
|
|
489
|
-
IsEmpty = filled.IsEmpty
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
| Error(firstError, otherErrors) ->
|
|
493
|
-
if filled.IsEmpty then
|
|
494
|
-
{
|
|
495
|
-
Fields =
|
|
496
|
-
filled.Fields
|
|
497
|
-
|> List.map (fun field ->
|
|
498
|
-
{ field with
|
|
499
|
-
Error = None
|
|
500
|
-
}
|
|
501
|
-
)
|
|
502
|
-
Result = Ok None
|
|
503
|
-
IsEmpty = filled.IsEmpty
|
|
504
|
-
}
|
|
505
|
-
else
|
|
506
|
-
{
|
|
507
|
-
Fields = filled.Fields
|
|
508
|
-
Result = Error(firstError, otherErrors)
|
|
509
|
-
IsEmpty = false
|
|
510
|
-
}
|
|
511
|
-
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts"],"names":["output","_arg1","values","matchValue","filled","fillField","fill","fn","form","filledField","filledNew","newForm","filledCurrent","currentForm","fields","isEmpty","otherErrors","firstError","parent","childFilled","child","condition","disable","readOnly","value","result","error","config","patternInput","build","newValue","field"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./Base.fs"],"names":["output","_arg1","values","matchValue","filled","fillField","fill","fn","form","filledField","filledNew","newForm","filledCurrent","currentForm","fields","isEmpty","otherErrors","firstError","parent","childFilled","child","condition","disable","readOnly","value","result","error","config","patternInput","build","newValue","field"],"mappings":"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","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module Fable.Form.Error
|
|
2
|
-
|
|
3
|
-
type Error =
|
|
4
|
-
/// <summary>
|
|
5
|
-
/// Used to represents an empty field
|
|
6
|
-
/// </summary>
|
|
7
|
-
| RequiredFieldIsEmpty
|
|
8
|
-
/// <summary>
|
|
9
|
-
/// Used to represents an error due a validation failed like when parsing a field value.
|
|
10
|
-
/// </summary>
|
|
11
|
-
| ValidationFailed of string
|
|
12
|
-
/// <summary>
|
|
13
|
-
/// Used to represents an external error
|
|
14
|
-
/// <para>For example, it is used when doing server side validation</para>
|
|
15
|
-
/// </summary>
|
|
16
|
-
| External of string
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
namespace Fable.Form.Extensions
|
|
2
|
-
|
|
3
|
-
module Result =
|
|
4
|
-
|
|
5
|
-
let andThen
|
|
6
|
-
(callback: 'ValueA -> Result<'ValueB, 'Error>)
|
|
7
|
-
(result: Result<'ValueA, 'Error>)
|
|
8
|
-
: Result<'ValueB, 'Error>
|
|
9
|
-
=
|
|
10
|
-
|
|
11
|
-
match result with
|
|
12
|
-
| Ok value -> callback value
|
|
13
|
-
|
|
14
|
-
| Error error -> Error error
|
|
15
|
-
|
|
16
|
-
module List =
|
|
17
|
-
|
|
18
|
-
// Copied from https://github.com/fsprojects/FSharpPlus/blob/35fa2a97e0c3f93c7cf36c172314e7f2d921d438/src/FSharpPlus/Extensions/List.fs
|
|
19
|
-
|
|
20
|
-
/// <summary>Returns a list that drops N elements of the original list and then yields the
|
|
21
|
-
/// remaining elements of the list.</summary>
|
|
22
|
-
/// <remarks>When count exceeds the number of elements in the list it
|
|
23
|
-
/// returns an empty list instead of throwing an exception.</remarks>
|
|
24
|
-
/// <param name="count">The number of items to drop.</param>
|
|
25
|
-
/// <param name="source">The input list.</param>
|
|
26
|
-
///
|
|
27
|
-
/// <returns>The result list.</returns>
|
|
28
|
-
let drop count source =
|
|
29
|
-
let rec loop i lst =
|
|
30
|
-
match lst, i with
|
|
31
|
-
| [] as x, _
|
|
32
|
-
| x, 0 -> x
|
|
33
|
-
| x, n -> loop (n - 1) (List.tail x)
|
|
34
|
-
|
|
35
|
-
if count > 0 then
|
|
36
|
-
loop count source
|
|
37
|
-
else
|
|
38
|
-
source
|
|
39
|
-
|
|
40
|
-
/// <summary>Updates the value of an item in a list</summary>
|
|
41
|
-
/// <param name="i">The index of the item to update</param>
|
|
42
|
-
/// <param name="x">The new value of the item</param>
|
|
43
|
-
/// <param name="lst">The input list</param>
|
|
44
|
-
///
|
|
45
|
-
/// <returns>A new list with the updated element</returns>
|
|
46
|
-
let setAt i x lst =
|
|
47
|
-
if List.length lst > i && i >= 0 then
|
|
48
|
-
lst.[0 .. i - 1] @ x :: lst.[i + 1 ..]
|
|
49
|
-
else
|
|
50
|
-
lst
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts"],"names":["result","callback","loop","i","lst","x","count","source"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;IAUc,IAAAA,OAAAA,GAAAA,KAAAA,SAAAA,GAAAA,GAAAA;iDAGWA,OAAAA,MAAAA,CAAAA,EAAAA;;QAFH,OAAAC,SAAAD,OAAAA,MAAAA,CAAAA,EAAAA;;;;IAiBNE,MAAAA,OAAAA,CAAAA,OAAAA;;kBAAKC,IAAAA,OAAEC,MAAAA;6BAEHC;YADF,QAAA,aAAA,EAAAD,MAAAA;;gBACEC,IADFD;mBAAA,IAAKD,MAAL,GAAA;;gBACEE,IADFD;;;;;;2BAEIC;;;gCAFCF,IAGS;sCAAI,UAAA,EAHlBC;wBAGI,SAAA;;;;;;IAEd,IAAGE,QAAQ,GAAA;QACP,OAAAJ,KAAKI,OAAMC;;eAEXA;;;;IASJ,IAAG,gBAAA,EAAYH,OAAMD,KAAKA,KAAK,GAAA;QAC3B,WAAA,YAAA,MAAA,cAAA,EAAK,GAAKA,IAAI,GAAdC,UAAmB,UAAA,EAAAC,OAAK,cAAA,EAAKF,IAAI,GAAJ,WAALC;;eAExBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./Extensions.fs"],"names":["result","callback","loop","i","lst","x","count","source"],"mappings":";;;;;AAUc,QAAA,AAAAA;mDAGW,AAAAA;;;AAFH,eAAA,AAAAC,SAAA,AAAAD;;;;;;;;;AAiBNE;;;kBAAKC,kBAAEC;oCAEHC;AADF,gBAAA,QAAAD;;AACEC,oBADFD;;iBAAA,IAAA,AAAKD,MAAL;;AACEE,oBADFD;;;;;;;2BAEIC;;6BACM,AAHLF,IAGS;8BAAI,SAHlBC;AAGI;;;;;;AAEd,QAAG,AAAAE,QAAQ;AACP,eAAA,AAAAJ,KAAKI,OAAMC;;;eAEXA;;;;;;;;AASJ,QAAG,CAAA,WAAYH,OAAMD,OAAK,AAAAA,KAAK;AAC3B,eAAA,OAAA,SAAK,GAAK,AAAAA,IAAI,GAAdC,MAAmB,KAAAC,GAAK,SAAK,AAAAF,IAAI,GAAJ,WAALC;;;eAExBA","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
|
-
<PropertyGroup>
|
|
4
|
-
<TargetFramework>netstandard2.1</TargetFramework>
|
|
5
|
-
<Description>
|
|
6
|
-
Extensible core library used to build forms
|
|
7
|
-
</Description>
|
|
8
|
-
<FablePackageType>library</FablePackageType>
|
|
9
|
-
<PackageTags>fable-javascript</PackageTags>
|
|
10
|
-
</PropertyGroup>
|
|
11
|
-
<ItemGroup>
|
|
12
|
-
<Compile Include="Extensions.fs" />
|
|
13
|
-
<Compile Include="Error.fs" />
|
|
14
|
-
<Compile Include="Field.fs" />
|
|
15
|
-
<Compile Include="Base.fs" />
|
|
16
|
-
</ItemGroup>
|
|
17
|
-
<ItemGroup>
|
|
18
|
-
<PackageReference Include="EasyBuild.PackageReleaseNotes.Tasks">
|
|
19
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
20
|
-
<PrivateAssets>all</PrivateAssets>
|
|
21
|
-
</PackageReference>
|
|
22
|
-
<PackageReference Include="Fable.Package.SDK">
|
|
23
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
24
|
-
<PrivateAssets>all</PrivateAssets>
|
|
25
|
-
</PackageReference>
|
|
26
|
-
<PackageReference Include="FSharp.Core" />
|
|
27
|
-
</ItemGroup>
|
|
28
|
-
</Project>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module Fable.Form.Field
|
|
2
|
-
|
|
3
|
-
type IAttributes =
|
|
4
|
-
abstract GetFieldId: unit -> string
|
|
5
|
-
|
|
6
|
-
[<NoComparison; NoEquality>]
|
|
7
|
-
type Field<'Attributes, 'Value, 'Values when 'Attributes :> IAttributes> =
|
|
8
|
-
{
|
|
9
|
-
Value: 'Value
|
|
10
|
-
Update: 'Value -> 'Values
|
|
11
|
-
Attributes: 'Attributes
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
let mapValues
|
|
15
|
-
(fn: 'A -> 'B)
|
|
16
|
-
(field: Field<'Attributes, 'Value, 'A>)
|
|
17
|
-
: Field<'Attributes, 'Value, 'B>
|
|
18
|
-
=
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
Value = field.Value
|
|
22
|
-
Update = field.Update >> fn
|
|
23
|
-
Attributes = field.Attributes
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts"],"names":["field","fn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmBI,IAAA,QACYA,MAAAA,KAAAA,EAAAA,CAAAA,MACiBC,GAAhBD,MAAAA,MAAAA,CAAAA,OACIA,MAAAA,UAAAA"}
|