Skip to content

Commit

Permalink
Update bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
albertwoo committed Jul 1, 2024
1 parent 1264c2e commit e030934
Show file tree
Hide file tree
Showing 13 changed files with 2,302 additions and 1,781 deletions.
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,13 +5,13 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>0.19.2</Version>
<Version>0.19.3</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\AntDesign.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="AntDesign" FunBlazorAssemblyName="AntDesign" Include="AntDesign" Version="0.19.2" />
<PackageReference FunBlazor="" FunBlazorNamespace="AntDesign" FunBlazorAssemblyName="AntDesign" Include="AntDesign" Version="0.19.3" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="6.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ type TreeSelectBuilder<'FunBlazorGeneric, 'TItemValue, 'TItem when 'FunBlazorGen
[<CustomOperation("ShowExpand")>] member inline _.ShowExpand ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("ShowExpand" => (defaultArg x true))
[<CustomOperation("Multiple")>] member inline _.Multiple ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("Multiple" => (defaultArg x true))
[<CustomOperation("TreeCheckable")>] member inline _.TreeCheckable ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("TreeCheckable" => (defaultArg x true))
[<CustomOperation("CheckOnClickNode")>] member inline _.CheckOnClickNode ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("CheckOnClickNode" => (defaultArg x true))
[<CustomOperation("PopupContainerSelector")>] member inline _.PopupContainerSelector ([<InlineIfLambda>] render: AttrRenderFragment, x: System.String) = render ==> ("PopupContainerSelector" => x)
[<CustomOperation("OnMouseEnter")>] member inline _.OnMouseEnter ([<InlineIfLambda>] render: AttrRenderFragment, x: System.Action) = render ==> ("OnMouseEnter" => x)
[<CustomOperation("OnMouseLeave")>] member inline _.OnMouseLeave ([<InlineIfLambda>] render: AttrRenderFragment, x: System.Action) = render ==> ("OnMouseLeave" => x)
Expand All @@ -1287,6 +1288,7 @@ type TreeSelectBuilder<'FunBlazorGeneric, 'TItemValue, 'TItem when 'FunBlazorGen
[<CustomOperation("Nodes")>] member inline _.Nodes ([<InlineIfLambda>] render: AttrRenderFragment, x: AntDesign.TreeNode<'TItem>[]) = render ==> ("Nodes" => x)
[<CustomOperation("DataSource")>] member inline _.DataSource ([<InlineIfLambda>] render: AttrRenderFragment, x: System.Collections.Generic.IEnumerable<'TItem>) = render ==> ("DataSource" => x)
[<CustomOperation("TreeDefaultExpandAll")>] member inline _.TreeDefaultExpandAll ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("TreeDefaultExpandAll" => (defaultArg x true))
[<CustomOperation("ExpandOnClickNode")>] member inline _.ExpandOnClickNode ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("ExpandOnClickNode" => (defaultArg x true))
[<CustomOperation("SearchExpression")>] member inline _.SearchExpression ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("SearchExpression" => (System.Func<AntDesign.TreeNode<'TItem>, System.Boolean>fn))
[<CustomOperation("OnSearch")>] member inline _.OnSearch ([<InlineIfLambda>] render: AttrRenderFragment, fn: System.String -> unit) = render ==> html.callback("OnSearch", fn)
[<CustomOperation("OnSearch")>] member inline _.OnSearch ([<InlineIfLambda>] render: AttrRenderFragment, fn: System.String -> Task<unit>) = render ==> html.callbackTask("OnSearch", fn)
Expand All @@ -1303,6 +1305,8 @@ type TreeSelectBuilder<'FunBlazorGeneric, 'TItemValue, 'TItem when 'FunBlazorGen
[<CustomOperation("TreeAttributes")>] member inline _.TreeAttributes ([<InlineIfLambda>] render: AttrRenderFragment, x: System.Collections.Generic.IDictionary<System.String, System.Object>) = render ==> ("TreeAttributes" => x)
[<CustomOperation("OnNodeLoadDelayAsync")>] member inline _.OnNodeLoadDelayAsync ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> unit) = render ==> html.callback("OnNodeLoadDelayAsync", fn)
[<CustomOperation("OnNodeLoadDelayAsync")>] member inline _.OnNodeLoadDelayAsync ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> Task<unit>) = render ==> html.callbackTask("OnNodeLoadDelayAsync", fn)
[<CustomOperation("OnTreeNodeSelect")>] member inline _.OnTreeNodeSelect ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> unit) = render ==> html.callback("OnTreeNodeSelect", fn)
[<CustomOperation("OnTreeNodeSelect")>] member inline _.OnTreeNodeSelect ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> Task<unit>) = render ==> html.callbackTask("OnTreeNodeSelect", fn)
[<CustomOperation("TitleExpression")>] member inline _.TitleExpression ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("TitleExpression" => (System.Func<AntDesign.TreeNode<'TItem>, System.String>fn))
[<CustomOperation("KeyExpression")>] member inline _.KeyExpression ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("KeyExpression" => (System.Func<AntDesign.TreeNode<'TItem>, System.String>fn))
[<CustomOperation("IconExpression")>] member inline _.IconExpression ([<InlineIfLambda>] render: AttrRenderFragment, fn) = render ==> ("IconExpression" => (System.Func<AntDesign.TreeNode<'TItem>, System.String>fn))
Expand Down Expand Up @@ -2477,6 +2481,7 @@ type TreeBuilder<'FunBlazorGeneric, 'TItem when 'FunBlazorGeneric :> Microsoft.A
[<CustomOperation("SelectedDatasChanged")>] member inline _.SelectedDatasChanged ([<InlineIfLambda>] render: AttrRenderFragment, fn: 'TItem[] -> unit) = render ==> html.callback("SelectedDatasChanged", fn)
[<CustomOperation("SelectedDatasChanged")>] member inline _.SelectedDatasChanged ([<InlineIfLambda>] render: AttrRenderFragment, fn: 'TItem[] -> Task<unit>) = render ==> html.callbackTask("SelectedDatasChanged", fn)
[<CustomOperation("Checkable")>] member inline _.Checkable ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("Checkable" => (defaultArg x true))
[<CustomOperation("CheckOnClickNode")>] member inline _.CheckOnClickNode ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("CheckOnClickNode" => (defaultArg x true))
[<CustomOperation("CheckStrictly")>] member inline _.CheckStrictly ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("CheckStrictly" => (defaultArg x true))
[<CustomOperation("CheckedKeys")>] member inline _.CheckedKeys ([<InlineIfLambda>] render: AttrRenderFragment, x: System.String[]) = render ==> ("CheckedKeys" => x)
[<CustomOperation("CheckedKeys'")>] member inline _.CheckedKeys' ([<InlineIfLambda>] render: AttrRenderFragment, valueFn: System.String[] * (System.String[] -> unit)) = render ==> html.bind("CheckedKeys", valueFn)
Expand Down Expand Up @@ -2526,6 +2531,7 @@ type TreeBuilder<'FunBlazorGeneric, 'TItem when 'FunBlazorGeneric :> Microsoft.A
[<CustomOperation("OnDrop")>] member inline _.OnDrop ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> Task<unit>) = render ==> html.callbackTask("OnDrop", fn)
[<CustomOperation("OnDragEnd")>] member inline _.OnDragEnd ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> unit) = render ==> html.callback("OnDragEnd", fn)
[<CustomOperation("OnDragEnd")>] member inline _.OnDragEnd ([<InlineIfLambda>] render: AttrRenderFragment, fn: AntDesign.TreeEventArgs<'TItem> -> Task<unit>) = render ==> html.callbackTask("OnDragEnd", fn)
[<CustomOperation("ExpandOnClickNode")>] member inline _.ExpandOnClickNode ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("ExpandOnClickNode" => (defaultArg x true))
[<CustomOperation("DefaultExpandAll")>] member inline _.DefaultExpandAll ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("DefaultExpandAll" => (defaultArg x true))
[<CustomOperation("DefaultExpandParent")>] member inline _.DefaultExpandParent ([<InlineIfLambda>] render: AttrRenderFragment, ?x: bool) = render ==> ("DefaultExpandParent" => (defaultArg x true))
[<CustomOperation("DefaultExpandedKeys")>] member inline _.DefaultExpandedKeys ([<InlineIfLambda>] render: AttrRenderFragment, x: System.String[]) = render ==> ("DefaultExpandedKeys" => x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ type FluentSearchBuilder<'FunBlazorGeneric when 'FunBlazorGeneric :> Microsoft.A
/// Gets or sets the visual appearance. See Appearance
[<CustomOperation("Appearance")>] member inline _.Appearance ([<InlineIfLambda>] render: AttrRenderFragment, x: Microsoft.FluentUI.AspNetCore.Components.FluentInputAppearance) = render ==> ("Appearance" => x)

type FluentSliderBuilder<'FunBlazorGeneric, 'TValue when 'FunBlazorGeneric :> Microsoft.AspNetCore.Components.IComponent>() =
type FluentSliderBuilder<'FunBlazorGeneric, 'TValue when System.Numerics.INumber<'TValue> and 'FunBlazorGeneric :> Microsoft.AspNetCore.Components.IComponent>() =
inherit FluentInputBaseBuilder<'FunBlazorGeneric, 'TValue>()
/// Gets or sets the slider's minimal value.
[<CustomOperation("Min")>] member inline _.Min ([<InlineIfLambda>] render: AttrRenderFragment, x: 'TValue) = render ==> ("Min" => x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TrimMode>link</TrimMode>
<IsTrimmable>true</IsTrimmable>
<Version>4.8.0</Version>
<Version>4.8.1</Version>
</PropertyGroup>
<ItemGroup>
<Compile Include="Fun.Blazor.Bindings\Microsoft.FluentUI.AspNetCore.Components.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference FunBlazor="" FunBlazorNamespace="Microsoft.FluentUI.AspNetCore.Components" FunBlazorAssemblyName="Microsoft.FluentUI.AspNetCore.Components" Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.8.0" />
<PackageReference FunBlazor="" FunBlazorNamespace="Microsoft.FluentUI.AspNetCore.Components" FunBlazorAssemblyName="Microsoft.FluentUI.AspNetCore.Components" Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.8.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="6.0.0" />
Expand Down
Loading

0 comments on commit e030934

Please sign in to comment.