@f1studio/form-spec 5.0.0-alpha.149 → 5.0.0-alpha.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts.map +1 -1
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts +5 -3
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts.map +1 -1
- package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts +19 -0
- package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.d.ts +39 -2
- package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.d.ts.map +1 -1
- 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/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +3 -3
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +2 -2
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js +23 -21
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +16 -7
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js +580 -0
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js +199 -8
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +1 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js +25 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +1 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.js.map +1 -1
- package/README.md +7 -7
- package/package.json +13 -15
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts +3 -3
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts +3 -3
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts +1 -1
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +25 -23
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts +19 -13
- package/src/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.ts +545 -0
- package/src/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts +120 -14
- package/src/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts +29 -1
- package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/BlueprintValidation.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.ts.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.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Helpers.ts.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.ts.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.ts.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.ts.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.ts.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.ts.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.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.ts.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.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interfaces.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.ts.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.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Migrator.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PluginInterface.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Prelude.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Provenance.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.ts.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.ts.map +0 -1
- package/FormSpec.TS/PluginRegistration.ts.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.ts.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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/ReactTypes.fs +0 -42
- 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.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.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.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.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.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.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.ts.map +0 -1
- package/FormSpec.TS/fable_modules/project_cracked.json +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.ts.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.ts.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.ts.map +0 -1
- package/FormSpec.TS/plugins/bmi/src/BMIField.ts.map +0 -1
- package/FormSpec.TS/plugins/demographics/src/DemographicsField.ts.map +0 -1
- package/FormSpec.TS/plugins/likert/src/LikertField.ts.map +0 -1
- package/FormSpec.TS/plugins/signature/src/SignatureField.ts.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsField.ts.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsLogic.ts.map +0 -1
|
@@ -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":["./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":["./NumberField.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Html.fs","../Feliz.Bulma.3.0.0/ElementBuilders.fs","../Feliz.2.8.0/Properties.fs","../Feliz.Bulma.3.0.0/Bulma.fs"],"names":["innerField","config","props","matchValue","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;;cAWwEA;AADhD,4BAAAA;;;eAUZ,YACI,WACe,AAAAC,iBACF,AAAAA,eACE,AAAAA,iBACE,AAAAA,mBACL,AAAAA,cACA,AAAAA,cACI,AAAAA,kBACJ,AAAAA,8ECpBwC,mBC0ZV,mBCpWtC,MCg3HiC,QAAO,4BDh3HjC,uBEk4BqD,SLn6BhDC,WAER,uBACI,sDAAA,uBAAA,2BIoVsC,aJpVvB,AAAAD,gDAEf;gBAAME;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BIs2CoB,wBJt2CpBA,iCAGtB;oBAAMA;uBAAN,wBAAMA,eAAA,AAAAF,gCAAA,CAAA,AAAAE,yBAEI,2BADa,2BI0UoB,yBJ1UpBA,mCAGvB;wBAAMA;2BAAN,wBAAMA,eAAA,AAAAF,uBAAA,CAAA,AAAAE,yBAEI,2BADI,2BIu4BmB,gBJv4BnBA,mCAGd;4BAAMA;\u002BBAAN,wBAAMA,eAAA,AAAAF,uBAAA,CAAA,AAAAE,yBAEI,2BADI,2BIg6BmB,gBJh6BnBA,mCAGR;AAAAA,kEAAA,AAAAF;AAAA,gCAAA,AAAAE;AAEI,uCAAA;;;AADK,uCAAA,2BI2mDmB,iBJ3mDnBA;;;;;;;;;AArCxBC,mCAAAA;AAEH,eAAA,AAAAC,2BAAM,4DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -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":["./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":["./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":["./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":["./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}
|
|
@@ -1,79 +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 SelectField =
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(innerField: SelectField.InnerField<'Values>) =
|
|
12
|
-
|
|
13
|
-
inherit
|
|
14
|
-
IStandardField<'Values, SelectField.OptionItem option, SelectField.Attributes>(
|
|
15
|
-
innerField
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
interface IField<'Values> with
|
|
19
|
-
|
|
20
|
-
member _.MapFieldValues(update: 'Values -> 'NewValues) : IField<'NewValues> =
|
|
21
|
-
|
|
22
|
-
Field(Field.mapValues update innerField)
|
|
23
|
-
|
|
24
|
-
override _.RenderField
|
|
25
|
-
(config:
|
|
26
|
-
StandardRenderFieldConfig<SelectField.OptionItem option, SelectField.Attributes>)
|
|
27
|
-
=
|
|
28
|
-
|
|
29
|
-
let toOption (optionItem: SelectField.OptionItem) =
|
|
30
|
-
Html.option [
|
|
31
|
-
if config.IsReadOnly then
|
|
32
|
-
prop.style [
|
|
33
|
-
style.display.none
|
|
34
|
-
]
|
|
35
|
-
prop.value optionItem.Key
|
|
36
|
-
prop.text optionItem.Text
|
|
37
|
-
]
|
|
38
|
-
|
|
39
|
-
let placeholderOption =
|
|
40
|
-
match config.Attributes.Placeholder with
|
|
41
|
-
| Some placeholder ->
|
|
42
|
-
Html.option [
|
|
43
|
-
if config.IsReadOnly then
|
|
44
|
-
prop.style [
|
|
45
|
-
style.display.none
|
|
46
|
-
]
|
|
47
|
-
prop.disabled true
|
|
48
|
-
prop.value ""
|
|
49
|
-
|
|
50
|
-
prop.text placeholder
|
|
51
|
-
]
|
|
52
|
-
| None -> Html.none
|
|
53
|
-
|
|
54
|
-
Bulma.select [
|
|
55
|
-
prop.disabled config.Disabled
|
|
56
|
-
prop.onChange (fun value ->
|
|
57
|
-
config.OnChange(
|
|
58
|
-
config.Attributes.Options
|
|
59
|
-
|> List.find (fun optionItem -> optionItem.Key = value)
|
|
60
|
-
|> Some
|
|
61
|
-
)
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
match config.OnBlur with
|
|
65
|
-
| Some onBlur -> prop.onBlur (fun _ -> onBlur ())
|
|
66
|
-
|
|
67
|
-
| None -> ()
|
|
68
|
-
|
|
69
|
-
match config.Value with
|
|
70
|
-
| Some optionItem -> prop.value optionItem.Key
|
|
71
|
-
| None -> prop.value ""
|
|
72
|
-
|
|
73
|
-
prop.children [
|
|
74
|
-
placeholderOption
|
|
75
|
-
|
|
76
|
-
yield! config.Attributes.Options |> List.map toOption
|
|
77
|
-
]
|
|
78
|
-
]
|
|
79
|
-
|> Html.View.withLabelAndError config.Attributes.Label config.ShowError config.Error
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./SelectField.fs","../Feliz.Bulma.3.0.0/Bulma.fs","../Feliz.2.8.0/Properties.fs","../Feliz.2.8.0/Html.fs","../Feliz.2.8.0/Interop.fs","../Feliz.2.8.0/Styles.fs"],"names":["innerField","patternInput","elems","placeholderOption","matchValue","config","placeholder","value","ev","optionItem","onBlur","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;;;cAcgBA;AAJQ,4BAAAA;;;YC0PZC,gEC6KuBC;AF3YnBC;AACMC,2CAAA,AAAAC;AAAA,YAAA,AAAAD;AGsd\u002BB,AHvdrCD,gCGudqC;;;AHrd9BG,iDACHF;AIhCgD,AJ6BpDD,gCI7BoD,mBD\u002BfT,oBH/d3B,uBACR,sDAAA,uBAAA,AAAG,AAAAE,oBACC,2BE6pDwD;yBGyjGtB;mCLvtJtC,yBAIA,sDAAA,uBAAA,2BEkhByC,YFlhB3B,yBACd,sDAAA,uBAAA,2BE4zDwC,SF5zD7B,uBAEX,sDAAA,2BEssDuC,YFtsD7BC;;AA6BnB,eAAA,kBAA4B,AAAAD,yBAAwB,AAAAA,kBAAiB,AAAAA,eCsLxEJ,eAAiB,uBD/MJ,uBACT,sDAAA,uBAAA,2BE0gBiD,YF1gBnC,AAAAI,oCACd,sDAAA,uBAAA,2BEg/B6D;AFh/B1CE,qCEg/BoF,AAAAC;AF/\u002BBnG,AAAAH,4BAEO,6FAA6B,AAAAI,qBAAiBF,WADjD,AAAAF;8BAMR;gBAAMD,oCACCM;mBADP,wBAAMN,eAAA,AAAAC,eAAA,CAAA,AAAAD,yBAGI,6BAFHM,kBAAUN,eAAA,2BEy8B8C;AFz8BxB,AAAAM;qCAIvC;oBAAMN,oDACCK;uBADP,wBAAML,eAAA,AAAAC,cAAA,CAAA,AAAAD,wBAEI,2BEqyDsC,SFryD3B,0BADdK,wBAAcL,eAAA,2BEsyD2B,SFtyDhB,AAAAK,wCAGhC;wBEyWmBP;2BFzWnB,2BEyWmBA,QFzWL,qBACV,kDAAA,qBAAA,wBAAAC,oBAEA,kDAAoC,4GIlEY,mBD\u002BfT,oBH3e/B,uBACR,sDAAA,uBAAA,AAAG,AAAAE,oBACC,2BEyqD4D;iCGyjGtB;2CLnuJ1C,yBAIA,sDAAA,uBAAA,2BEy0D4C,SFz0DjC,AAAAI,mCACX,sDAAA,2BEotD2C,YFptDjC,AAAAA,4CAwCH,AAAAJ,iCEsW8D,YAAY,qCAA\u002BCH;;;kBExahF,mBDuLZ,iBFqEvC,UCgMsD,aAAa,KAAc,KDhMjE,KAAA,UADrB,AAAAD,sCC6KuBC,WExaiC,mBDioBT,oBFtY/C,AAAAD,qBC6K6E,YAAY,qCAA\u002BCC;;;AF9ZjIS,mCAAAA;AAEH,eAAA,AAAAC,4BAAM,0FAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,44 +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 TelField =
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(innerField: TelField.InnerField<'Values>) =
|
|
12
|
-
inherit IStandardField<'Values, string, TelField.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, TelField.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
|
-
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./TelField.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":";;;;;;;;;;;;;;;;;cAWqEA;AAD7C,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,sDAAA,uBAAA,2BIoVsC,aJpVvB,AAAAD,gDAEf;gBAAME;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BIs2CoB,uBJt2CpBA,iCAGhB;AAAAA,qDAAA,AAAAF;AAAA,oBAAA,AAAAE;AAEI,2BAAA;;;AADa,2BAAA,2BI0UoB,wBJ1UpBA;;;;;;AAzBhCC,mCAAAA;AAEH,eAAA,AAAAC,4BAAM,yDAAgBC,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 TextField =
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(innerField: TextField.InnerField<'Values>) =
|
|
12
|
-
inherit IStandardField<'Values, string, TextField.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, TextField.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
|
-
| TextField.SpellCheck.Default -> ()
|
|
36
|
-
| TextField.SpellCheck.True -> prop.spellcheck true
|
|
37
|
-
| TextField.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":["./TextField.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":";;;;;;;;;;;;;;;;;;cAWsEA;AAD9C,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,mCAEyB,2BI4kDQ,cAAc,SJ5kDN,4BAFzC,CAAA,AAAAA,oCAG0B,2BI2kDO,cAAc,SJ3kDL,6BAFd,4BAIlC,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,4BAAM,0DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,59 +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 TextareaField =
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(innerField: TextareaField.InnerField<'Values>) =
|
|
12
|
-
inherit IStandardField<'Values, string, TextareaField.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, TextareaField.Attributes>)
|
|
22
|
-
=
|
|
23
|
-
|
|
24
|
-
InputField.renderField
|
|
25
|
-
{
|
|
26
|
-
OnChange = config.OnChange
|
|
27
|
-
OnBlur = config.OnBlur
|
|
28
|
-
Disabled = config.Disabled
|
|
29
|
-
IsReadOnly = config.IsReadOnly
|
|
30
|
-
Value = config.Value
|
|
31
|
-
Error = config.Error
|
|
32
|
-
ShowError = config.ShowError
|
|
33
|
-
Label = config.Attributes.Label
|
|
34
|
-
InputFunc = Bulma.textarea
|
|
35
|
-
ExtraInputProps =
|
|
36
|
-
[
|
|
37
|
-
match config.Attributes.Placeholder with
|
|
38
|
-
| Some placeholder -> prop.placeholder placeholder
|
|
39
|
-
| None -> ()
|
|
40
|
-
|
|
41
|
-
match config.Attributes.AutoComplete with
|
|
42
|
-
| Some value -> prop.autoComplete value
|
|
43
|
-
| None -> ()
|
|
44
|
-
|
|
45
|
-
prop.autoFocus config.Attributes.AutoFocus
|
|
46
|
-
|
|
47
|
-
match config.Attributes.Rows with
|
|
48
|
-
| Some value -> prop.rows value
|
|
49
|
-
| None -> ()
|
|
50
|
-
|
|
51
|
-
match config.Attributes.Cols with
|
|
52
|
-
| Some value -> prop.cols value
|
|
53
|
-
| None -> ()
|
|
54
|
-
|
|
55
|
-
match config.Attributes.IsWrapHard with
|
|
56
|
-
| true -> prop.wrap.hard
|
|
57
|
-
| false -> prop.wrap.soft
|
|
58
|
-
]
|
|
59
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./TextareaField.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","../Feliz.2.8.0/Properties.fs"],"names":["innerField","config","elm","matchValue","_","\u0060\u0060.ctor\u0060\u0060","update"],"mappings":";;;;;;;;;;;;;;;;;;cAW0EA;AADlD,4BAAAA;;;eAaZ,YACI,WACe,AAAAC,iBACF,AAAAA,eACE,AAAAA,iBACE,AAAAA,mBACL,AAAAA,cACA,AAAAA,cACI,AAAAA,kBACJ,AAAAA,4ECvBwC,mBC6uBP,sBCprBc,uBC6LF,YJ9NzCC,QAER,uBACI;gBAAMC;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BKq2CoB,wBLr2CpBA,iCAGtB;oBAAMA;uBAAN,wBAAMA,eAAA,AAAAF,gCAAA,CAAA,AAAAE,yBAEI,2BADM,2BKyU2B,yBLzU3BA,mCAGhB,sDAAA,uBAAA,2BKyUsC,aLzUvB,AAAAF,gDAEf;wBAAME;2BAAN,wBAAMA,eAAA,AAAAF,wBAAA,CAAA,AAAAE,yBAEI,2BADM,2BK09CgB,iBL19ChBA,mCAGhB;4BAAMA;\u002BBAAN,wBAAMA,eAAA,AAAAF,wBAAA,CAAA,AAAAE,yBAEI,2BADM,2BKqZgB,iBLrZhBA,mCAGV,uDAAA,AAAAF,\u002BBACI,2BKy5Ha,QAAO,4BLx5HnB,2BKo5HY,QAAO;;;;;;;AL77HvCG,mCAAAA;AAEH,eAAA,AAAAC,2BAAM,8DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,44 +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 TimeField =
|
|
10
|
-
|
|
11
|
-
type Field<'Values>(innerField: TimeField.InnerField<'Values>) =
|
|
12
|
-
inherit IStandardField<'Values, string, TimeField.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, TimeField.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
|
-
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["./TimeField.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":";;;;;;;;;;;;;;;;;cAWsEA;AAD9C,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,sDAAA,uBAAA,2BIoVsC,aJpVvB,AAAAD,gDAEf;gBAAME;mBAAN,wBAAMA,aAAA,AAAAF,\u002BBAAA,CAAA,AAAAE,uBAEI,2BADY,2BIs2CoB,uBJt2CpBA,iCAGhB;AAAAA,qDAAA,AAAAF;AAAA,oBAAA,AAAAE;AAEI,2BAAA;;;AADa,2BAAA,2BI0UoB,wBJ1UpBA;;;;;;AAzBhCC,mCAAAA;AAEH,eAAA,AAAAC,2BAAM,0DAAgBC,QAAO,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|