Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -373,3 +373,6 @@ global.json
/Fun.Blazor.Docs.Wasm/wwwroot/docs
/Fun.Htmx/Properties
/Fun.Blazor.Docs.Wasm.Release
/Fun.Blazor.Docs.Wasm/wwwroot/Demos
/Fun.Blazor.Docs.Wasm/wwwroot/Docs

4 changes: 2 additions & 2 deletions Bindings/Fun.Blazor.AntDesign/Fun.Blazor.AntDesign.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>1.6.1</Version>
<Version>1.6.2</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\AntDesign.fs" />
<EmbeddedResource Include="ILLink.Substitutions.xml" LogicalName="ILLink.Substitutions.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="AntDesign" FunBlazorAssemblyName="AntDesign" Include="AntDesign" Version="1.6.1" />
<PackageReference FunBlazor="" FunBlazorNamespace="AntDesign" FunBlazorAssemblyName="AntDesign" Include="AntDesign" Version="1.6.2" />
</ItemGroup>
<ItemGroup>
<Compile Include="*.fs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ type ReuseTabsBuilder<'FunBlazorGeneric when 'FunBlazorGeneric :> Microsoft.AspN
[<CustomOperation("Body")>] member inline _.Body ([<InlineIfLambda>] render: AttrRenderFragment, x: int) = render ==> html.renderFragment("Body", html.text x)
[<CustomOperation("Body")>] member inline _.Body ([<InlineIfLambda>] render: AttrRenderFragment, x: float) = render ==> html.renderFragment("Body", html.text x)
[<CustomOperation("Locale")>] member inline _.Locale ([<InlineIfLambda>] render: AttrRenderFragment, x: AntDesign.ReuseTabsLocale) = render ==> ("Locale" => x)
[<CustomOperation("ScanAssemblies")>] member inline _.ScanAssemblies ([<InlineIfLambda>] render: AttrRenderFragment, x: System.Reflection.Assembly[]) = render ==> ("ScanAssemblies" => x)
[<CustomOperation("HidePages")>] member inline _.HidePages ([<InlineIfLambda>] render: AttrRenderFragment) = render ==> ("HidePages" =>>> true)
[<CustomOperation("HidePages")>] member inline _.HidePages ([<InlineIfLambda>] render: AttrRenderFragment, x: bool) = render ==> ("HidePages" =>>> x)
[<CustomOperation("ReuseTabsRouteData")>] member inline _.ReuseTabsRouteData ([<InlineIfLambda>] render: AttrRenderFragment, x: AntDesign.ReuseTabsRouteData) = render ==> ("ReuseTabsRouteData" => x)
Expand Down
4 changes: 2 additions & 2 deletions Bindings/Fun.Blazor.ApexCharts/Fun.Blazor.ApexCharts.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>6.1.0</Version>
<Version>7.0.0</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\ApexCharts.fs" />
<EmbeddedResource Include="ILLink.Substitutions.xml" LogicalName="ILLink.Substitutions.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="ApexCharts" FunBlazorAssemblyName="Blazor-ApexCharts" Include="Blazor-ApexCharts" Version="6.1.0" />
<PackageReference FunBlazor="" FunBlazorNamespace="ApexCharts" FunBlazorAssemblyName="Blazor-ApexCharts" Include="Blazor-ApexCharts" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="*.fs" />
Expand Down
66 changes: 66 additions & 0 deletions Bindings/Fun.Blazor.ApexCharts/Fun.Blazor.Bindings/ApexCharts.fs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,48 @@ type ApexChartBuilder<'FunBlazorGeneric, 'TItem when 'TItem : not struct and 'Fu
[<CustomOperation("OnAnnotationPointMouseLeave")>] member inline _.OnAnnotationPointMouseLeave ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.AnnotationEvent<'TItem> -> unit) = render ==> html.callback("OnAnnotationPointMouseLeave", fn)
/// Fires when user mouse leaves an annotation point.
[<CustomOperation("OnAnnotationPointMouseLeave")>] member inline _.OnAnnotationPointMouseLeave ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.AnnotationEvent<'TItem> -> Task<unit>) = render ==> html.callbackTask("OnAnnotationPointMouseLeave", fn)
/// Fires when a draggable (ink) annotation is created (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationCreated")>] member inline _.OnAnnotationCreated ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> unit) = render ==> html.callback("OnAnnotationCreated", fn)
/// Fires when a draggable (ink) annotation is created (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationCreated")>] member inline _.OnAnnotationCreated ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> Task<unit>) = render ==> html.callbackTask("OnAnnotationCreated", fn)
/// Fires when a draggable (ink) annotation is dragged (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationDragged")>] member inline _.OnAnnotationDragged ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> unit) = render ==> html.callback("OnAnnotationDragged", fn)
/// Fires when a draggable (ink) annotation is dragged (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationDragged")>] member inline _.OnAnnotationDragged ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> Task<unit>) = render ==> html.callbackTask("OnAnnotationDragged", fn)
/// Fires when a draggable (ink) annotation's text is edited (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationEdited")>] member inline _.OnAnnotationEdited ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> unit) = render ==> html.callback("OnAnnotationEdited", fn)
/// Fires when a draggable (ink) annotation's text is edited (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationEdited")>] member inline _.OnAnnotationEdited ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> Task<unit>) = render ==> html.callbackTask("OnAnnotationEdited", fn)
/// Fires when a draggable (ink) annotation is restyled (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationStyled")>] member inline _.OnAnnotationStyled ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> unit) = render ==> html.callback("OnAnnotationStyled", fn)
/// Fires when a draggable (ink) annotation is restyled (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationStyled")>] member inline _.OnAnnotationStyled ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> Task<unit>) = render ==> html.callbackTask("OnAnnotationStyled", fn)
/// Fires when a draggable (ink) annotation is deleted (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationDeleted")>] member inline _.OnAnnotationDeleted ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> unit) = render ==> html.callback("OnAnnotationDeleted", fn)
/// Fires when a draggable (ink) annotation is deleted (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnAnnotationDeleted")>] member inline _.OnAnnotationDeleted ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.InkAnnotationEventData -> Task<unit>) = render ==> html.callbackTask("OnAnnotationDeleted", fn)
/// Fires when the measure ruler completes a measurement (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnMeasured")>] member inline _.OnMeasured ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.MeasuredData -> unit) = render ==> html.callback("OnMeasured", fn)
/// Fires when the measure ruler completes a measurement (ApexCharts v6.0). Requires Enabled
/// and is a gated premium feature.
[<CustomOperation("OnMeasured")>] member inline _.OnMeasured ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.MeasuredData -> Task<unit>) = render ==> html.callbackTask("OnMeasured", fn)
/// Fires when the active storyboard beat changes (ApexCharts v6.0). Requires a bound storyboard
/// (StoryboardBindAsync) and is a gated premium feature.
[<CustomOperation("OnBeatChange")>] member inline _.OnBeatChange ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.BeatChangeData -> unit) = render ==> html.callback("OnBeatChange", fn)
/// Fires when the active storyboard beat changes (ApexCharts v6.0). Requires a bound storyboard
/// (StoryboardBindAsync) and is a gated premium feature.
[<CustomOperation("OnBeatChange")>] member inline _.OnBeatChange ([<InlineIfLambda>] render: AttrRenderFragment, [<InlineIfLambda>] fn: ApexCharts.BeatChangeData -> Task<unit>) = render ==> html.callbackTask("OnBeatChange", fn)
/// A custom function to execute for generating Y-axis labels. Only supported in Blazor WebAssembly!
[<CustomOperation("FormatYAxisLabel")>] member inline _.FormatYAxisLabel ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("FormatYAxisLabel" => (System.Func<System.Decimal, System.String>fn))
/// A custom function to execute for generating X-axis labels. Only supported in Blazor WebAssembly!
Expand Down Expand Up @@ -174,6 +216,10 @@ type ApexBoxPlotSeriesBuilder<'FunBlazorGeneric, 'TItem when 'TItem : not struct
[<CustomOperation("Quantile3")>] member inline _.Quantile3 ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("Quantile3" => (System.Func<'TItem, System.Decimal>fn))
/// Expression to get the highest Y-Value for each X-Value. This will determine where the upper whisker is drawn.
[<CustomOperation("Max")>] member inline _.Max ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("Max" => (System.Func<'TItem, System.Decimal>fn))
/// Optional expression to get the raw individual observations for each box. When provided (and
/// Points is enabled with Show set to true),
/// the observations are overlaid as jittered dots on the box. Leave null to keep the classic box plot.
[<CustomOperation("Points")>] member inline _.Points ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("Points" => (System.Func<'TItem, System.Collections.Generic.IEnumerable<System.Decimal>>fn))
/// Expression to determine the ordering of X-Values in the series
[<CustomOperation("OrderBy")>] member inline _.OrderBy ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("OrderBy" => (System.Func<ApexCharts.ListPoint<'TItem>, System.Object>fn))
/// Expression to determine the inverse ordering of X-Values in the series
Expand Down Expand Up @@ -259,6 +305,20 @@ type ApexRangeSeriesBuilder<'FunBlazorGeneric, 'TItem when 'TItem : not struct a
/// Function to conditionally modify individual data points in the series
[<CustomOperation("DataPointMutator")>] member inline _.DataPointMutator ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("DataPointMutator" => (System.Action<ApexCharts.ListPoint<'TItem>>fn))

/// Component to create a Violin data series in Blazor.
type ApexViolinSeriesBuilder<'FunBlazorGeneric, 'TItem when 'TItem : not struct and 'FunBlazorGeneric :> Microsoft.AspNetCore.Components.IComponent>() =
inherit ApexBaseSeriesBuilder<'FunBlazorGeneric, 'TItem>()
/// Expression to get a single raw observation from each item. All observations sharing the same
/// XValue are grouped into one violin's distribution.
[<CustomOperation("YValue")>] member inline _.YValue ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("YValue" => (System.Func<'TItem, System.Decimal>fn))
/// Expression to determine the ordering of X-Values (categories) in the series
[<CustomOperation("OrderBy")>] member inline _.OrderBy ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("OrderBy" => (System.Func<ApexCharts.ViolinPoint<'TItem>, System.Object>fn))
/// Expression to determine the inverse ordering of X-Values (categories) in the series
[<CustomOperation("OrderByDescending")>] member inline _.OrderByDescending ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("OrderByDescending" => (System.Func<ApexCharts.ViolinPoint<'TItem>, System.Object>fn))
/// Function to conditionally modify individual violins in the series (for example to set a
/// per-violin FillColor).
[<CustomOperation("DataPointMutator")>] member inline _.DataPointMutator ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("DataPointMutator" => (System.Action<ApexCharts.ViolinPoint<'TItem>>fn))


namespace rec ApexCharts.DslInternals.Internal

Expand Down Expand Up @@ -336,6 +396,11 @@ module DslCE =
/// Component to create a RangeBar data series in Blazor
[<DynamicDependency(DynamicallyAccessedMemberTypes.All, "ApexCharts.ApexRangeSeries`1", "Blazor-ApexCharts")>] () = inherit ApexRangeSeriesBuilder<ApexCharts.ApexRangeSeries<'TItem>, 'TItem>()

/// Component to create a Violin data series in Blazor.
type ApexViolinSeries'<'TItem when 'TItem : not struct>
/// Component to create a Violin data series in Blazor.
[<DynamicDependency(DynamicallyAccessedMemberTypes.All, "ApexCharts.ApexViolinSeries`1", "Blazor-ApexCharts")>] () = inherit ApexViolinSeriesBuilder<ApexCharts.ApexViolinSeries<'TItem>, 'TItem>()

[<AutoOpen>]
module DslCEInstances =

Expand All @@ -351,6 +416,7 @@ module DslCEInstances =
let ApexPointSeries''<'TItem when 'TItem : not struct> = ApexPointSeries'<'TItem>()
let ApexRangeAreaSeries''<'TItem when 'TItem : not struct> = ApexRangeAreaSeries'<'TItem>()
let ApexRangeSeries''<'TItem when 'TItem : not struct> = ApexRangeSeries'<'TItem>()
let ApexViolinSeries''<'TItem when 'TItem : not struct> = ApexViolinSeries'<'TItem>()

namespace ApexCharts.Internal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>3.4.0</Version>
<Version>3.5.0</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\BlazorMonaco.fs" />
<EmbeddedResource Include="ILLink.Substitutions.xml" LogicalName="ILLink.Substitutions.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="BlazorMonaco" FunBlazorAssemblyName="BlazorMonaco" Include="BlazorMonaco" Version="3.4.0" />
<PackageReference FunBlazor="" FunBlazorNamespace="BlazorMonaco" FunBlazorAssemblyName="BlazorMonaco" Include="BlazorMonaco" Version="3.5.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="*.fs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>10.0.8</Version>
<Version>10.0.11</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\Microsoft.AspNetCore.Components.Authorization.fs" />
<EmbeddedResource Include="ILLink.Substitutions.xml" LogicalName="ILLink.Substitutions.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="Microsoft.AspNetCore.Components.Authorization" FunBlazorAssemblyName="Microsoft.AspNetCore.Components.Authorization" Include="Microsoft.AspNetCore.Components.Authorization" Version="10.0.8" />
<PackageReference FunBlazor="" FunBlazorNamespace="Microsoft.AspNetCore.Components.Authorization" FunBlazorAssemblyName="Microsoft.AspNetCore.Components.Authorization" Include="Microsoft.AspNetCore.Components.Authorization" Version="10.0.11" />
</ItemGroup>
<ItemGroup>
<Compile Include="*.fs" />
Expand Down
Loading
Loading