@tsonic/aspnetcore 10.0.39 → 10.0.41
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/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Mvc.ViewFeatures
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Mvc.Core, Microsoft.AspNetCore.Mvc.ViewFeatures
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IAntiforgery } from "../../Microsoft.AspNetCore.Antiforgery/internal/index.js";
|
|
@@ -55,7 +53,7 @@ export enum InputType {
|
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
|
|
58
|
-
export type TryGetValueDelegate = (dictionary:
|
|
56
|
+
export type TryGetValueDelegate = (dictionary: JsValue, key: string, value: JsValue) => boolean;
|
|
59
57
|
|
|
60
58
|
|
|
61
59
|
export interface IAntiforgeryPolicy$instance extends IFilterMetadata {
|
|
@@ -81,28 +79,28 @@ export interface IHtmlGenerator$instance {
|
|
|
81
79
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_IHtmlGenerator: never;
|
|
82
80
|
|
|
83
81
|
readonly IdAttributeDotReplacement: string;
|
|
84
|
-
Encode(value:
|
|
82
|
+
Encode(value: JsValue): string;
|
|
85
83
|
Encode(value: string): string;
|
|
86
|
-
FormatValue(value:
|
|
87
|
-
GenerateActionLink(viewContext: ViewContext, linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues:
|
|
84
|
+
FormatValue(value: JsValue, format: string): string;
|
|
85
|
+
GenerateActionLink(viewContext: ViewContext, linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
88
86
|
GenerateAntiforgery(viewContext: ViewContext): IHtmlContent;
|
|
89
|
-
GenerateCheckBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes:
|
|
90
|
-
GenerateForm(viewContext: ViewContext, actionName: string, controllerName: string, routeValues:
|
|
87
|
+
GenerateCheckBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): TagBuilder;
|
|
88
|
+
GenerateForm(viewContext: ViewContext, actionName: string, controllerName: string, routeValues: JsValue, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
91
89
|
GenerateGroupsAndOptions(optionLabel: string, selectList: IEnumerable_1<SelectListItem>): IHtmlContent;
|
|
92
|
-
GenerateHidden(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
90
|
+
GenerateHidden(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, useViewData: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
93
91
|
GenerateHiddenForCheckbox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string): TagBuilder;
|
|
94
|
-
GenerateLabel(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes:
|
|
95
|
-
GeneratePageForm(viewContext: ViewContext, pageName: string, pageHandler: string, routeValues:
|
|
96
|
-
GeneratePassword(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
97
|
-
GenerateRadioButton(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
98
|
-
GenerateRouteForm(viewContext: ViewContext, routeName: string, routeValues:
|
|
99
|
-
GenerateRouteLink(viewContext: ViewContext, linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues:
|
|
100
|
-
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, allowMultiple: boolean, htmlAttributes:
|
|
101
|
-
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, currentValues: ICollection_1<System_Internal.String>, allowMultiple: boolean, htmlAttributes:
|
|
102
|
-
GenerateTextArea(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes:
|
|
103
|
-
GenerateTextBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
104
|
-
GenerateValidationMessage(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes:
|
|
105
|
-
GenerateValidationSummary(viewContext: ViewContext, excludePropertyErrors: boolean, message: string, headerTag: string, htmlAttributes:
|
|
92
|
+
GenerateLabel(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes: JsValue): TagBuilder;
|
|
93
|
+
GeneratePageForm(viewContext: ViewContext, pageName: string, pageHandler: string, routeValues: JsValue, fragment: string, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
94
|
+
GeneratePassword(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
95
|
+
GenerateRadioButton(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): TagBuilder;
|
|
96
|
+
GenerateRouteForm(viewContext: ViewContext, routeName: string, routeValues: JsValue, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
97
|
+
GenerateRouteLink(viewContext: ViewContext, linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
98
|
+
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, allowMultiple: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
99
|
+
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, currentValues: ICollection_1<System_Internal.String>, allowMultiple: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
100
|
+
GenerateTextArea(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes: JsValue): TagBuilder;
|
|
101
|
+
GenerateTextBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, format: string, htmlAttributes: JsValue): TagBuilder;
|
|
102
|
+
GenerateValidationMessage(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes: JsValue): TagBuilder;
|
|
103
|
+
GenerateValidationSummary(viewContext: ViewContext, excludePropertyErrors: boolean, message: string, headerTag: string, htmlAttributes: JsValue): TagBuilder;
|
|
106
104
|
GetCurrentValues(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, allowMultiple: boolean): ICollection_1<System_Internal.String>;
|
|
107
105
|
}
|
|
108
106
|
|
|
@@ -129,16 +127,16 @@ export interface IModelExpressionProvider$instance {
|
|
|
129
127
|
|
|
130
128
|
export type IModelExpressionProvider = IModelExpressionProvider$instance;
|
|
131
129
|
|
|
132
|
-
export interface ITempDataDictionary$instance extends IDictionary_2<System_Internal.String,
|
|
130
|
+
export interface ITempDataDictionary$instance extends IDictionary_2<System_Internal.String, JsValue>, ICollection_1<KeyValuePair_2<System_Internal.String, JsValue>>, IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>>, IEnumerable {
|
|
133
131
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_ITempDataDictionary: never;
|
|
134
132
|
|
|
135
133
|
Keep(key: string): void;
|
|
136
134
|
Load(): void;
|
|
137
|
-
Peek(key: string):
|
|
135
|
+
Peek(key: string): JsValue | null;
|
|
138
136
|
}
|
|
139
137
|
|
|
140
138
|
|
|
141
|
-
export interface ITempDataDictionary$instance extends System_Collections_Generic_Internal.ICollection_1<KeyValuePair_2<System_Internal.String,
|
|
139
|
+
export interface ITempDataDictionary$instance extends System_Collections_Generic_Internal.ICollection_1<KeyValuePair_2<System_Internal.String, JsValue>>, System_Collections_Generic_Internal.IDictionary_2<System_Internal.String, JsValue>, System_Collections_Generic_Internal.IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> {}
|
|
142
140
|
|
|
143
141
|
export type ITempDataDictionary = ITempDataDictionary$instance;
|
|
144
142
|
|
|
@@ -154,8 +152,8 @@ export type ITempDataDictionaryFactory = ITempDataDictionaryFactory$instance;
|
|
|
154
152
|
export interface ITempDataProvider$instance {
|
|
155
153
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_ITempDataProvider: never;
|
|
156
154
|
|
|
157
|
-
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String,
|
|
158
|
-
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String,
|
|
155
|
+
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String, JsValue>;
|
|
156
|
+
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String, JsValue>): void;
|
|
159
157
|
}
|
|
160
158
|
|
|
161
159
|
|
|
@@ -170,27 +168,6 @@ export interface IViewContextAware$instance {
|
|
|
170
168
|
|
|
171
169
|
export type IViewContextAware = IViewContextAware$instance;
|
|
172
170
|
|
|
173
|
-
export interface AttributeDictionary_Enumerator$instance {
|
|
174
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_AttributeDictionary_Enumerator: never;
|
|
175
|
-
|
|
176
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
177
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
178
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
179
|
-
|
|
180
|
-
readonly Current: KeyValuePair_2<System_Internal.String, System_Internal.String>;
|
|
181
|
-
Dispose(): void;
|
|
182
|
-
MoveNext(): boolean;
|
|
183
|
-
Reset(): void;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
export const AttributeDictionary_Enumerator: {
|
|
188
|
-
new(attributes: AttributeDictionary): AttributeDictionary_Enumerator;
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export type AttributeDictionary_Enumerator = AttributeDictionary_Enumerator$instance;
|
|
193
|
-
|
|
194
171
|
export interface AttributeDictionary$instance {
|
|
195
172
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_AttributeDictionary: never;
|
|
196
173
|
|
|
@@ -204,9 +181,9 @@ export interface AttributeDictionary$instance {
|
|
|
204
181
|
readonly Count: int;
|
|
205
182
|
readonly IsReadOnly: boolean;
|
|
206
183
|
readonly Keys: ICollection_1<System_Internal.String>;
|
|
207
|
-
readonly Values: ICollection_1<string |
|
|
184
|
+
readonly Values: ICollection_1<string | null>;
|
|
208
185
|
Add(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): void;
|
|
209
|
-
Add(key: string, value: string): void;
|
|
186
|
+
Add(key: string, value: string | null): void;
|
|
210
187
|
Clear(): void;
|
|
211
188
|
Contains(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
212
189
|
ContainsKey(key: string): boolean;
|
|
@@ -214,7 +191,7 @@ export interface AttributeDictionary$instance {
|
|
|
214
191
|
GetEnumerator(): AttributeDictionary_Enumerator;
|
|
215
192
|
Remove(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
216
193
|
Remove(key: string): boolean;
|
|
217
|
-
TryGetValue(key: string, value: string): boolean;
|
|
194
|
+
TryGetValue(key: string, value: string | null): boolean;
|
|
218
195
|
}
|
|
219
196
|
|
|
220
197
|
|
|
@@ -223,15 +200,36 @@ export const AttributeDictionary: {
|
|
|
223
200
|
};
|
|
224
201
|
|
|
225
202
|
|
|
226
|
-
export type AttributeDictionary = AttributeDictionary$instance & { [key: string]: string |
|
|
203
|
+
export type AttributeDictionary = AttributeDictionary$instance & { [key: string]: string | null; };
|
|
204
|
+
|
|
205
|
+
export interface AttributeDictionary_Enumerator$instance {
|
|
206
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_AttributeDictionary_Enumerator: never;
|
|
207
|
+
|
|
208
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
209
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
210
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
211
|
+
|
|
212
|
+
readonly Current: KeyValuePair_2<System_Internal.String, System_Internal.String>;
|
|
213
|
+
Dispose(): void;
|
|
214
|
+
MoveNext(): boolean;
|
|
215
|
+
Reset(): void;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
export const AttributeDictionary_Enumerator: {
|
|
220
|
+
new(attributes: AttributeDictionary): AttributeDictionary_Enumerator;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type AttributeDictionary_Enumerator = AttributeDictionary_Enumerator$instance;
|
|
227
225
|
|
|
228
226
|
export interface CookieTempDataProvider$instance extends ITempDataProvider$instance {
|
|
229
227
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_CookieTempDataProvider: never;
|
|
230
228
|
|
|
231
229
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_ITempDataProvider: never;
|
|
232
230
|
|
|
233
|
-
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String,
|
|
234
|
-
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String,
|
|
231
|
+
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String, JsValue>;
|
|
232
|
+
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String, JsValue>): void;
|
|
235
233
|
}
|
|
236
234
|
|
|
237
235
|
|
|
@@ -258,31 +256,31 @@ export interface DefaultHtmlGenerator$instance {
|
|
|
258
256
|
AddPlaceholderAttribute(viewData: ViewDataDictionary, tagBuilder: TagBuilder, modelExplorer: ModelExplorer, expression: string): void;
|
|
259
257
|
AddValidationAttributes(viewContext: ViewContext, tagBuilder: TagBuilder, modelExplorer: ModelExplorer, expression: string): void;
|
|
260
258
|
Encode(value: string): string;
|
|
261
|
-
Encode(value:
|
|
262
|
-
FormatValue(value:
|
|
263
|
-
GenerateActionLink(viewContext: ViewContext, linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues:
|
|
259
|
+
Encode(value: JsValue): string;
|
|
260
|
+
FormatValue(value: JsValue, format: string): string;
|
|
261
|
+
GenerateActionLink(viewContext: ViewContext, linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
264
262
|
GenerateAntiforgery(viewContext: ViewContext): IHtmlContent;
|
|
265
|
-
GenerateCheckBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes:
|
|
266
|
-
GenerateForm(viewContext: ViewContext, actionName: string, controllerName: string, routeValues:
|
|
267
|
-
GenerateFormCore(viewContext: ViewContext, action: string, method: string, htmlAttributes:
|
|
263
|
+
GenerateCheckBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): TagBuilder;
|
|
264
|
+
GenerateForm(viewContext: ViewContext, actionName: string, controllerName: string, routeValues: JsValue, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
265
|
+
GenerateFormCore(viewContext: ViewContext, action: string, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
268
266
|
GenerateGroupsAndOptions(optionLabel: string, selectList: IEnumerable_1<SelectListItem>): IHtmlContent;
|
|
269
|
-
GenerateHidden(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
267
|
+
GenerateHidden(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, useViewData: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
270
268
|
GenerateHiddenForCheckbox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string): TagBuilder;
|
|
271
|
-
GenerateInput(viewContext: ViewContext, inputType: InputType, modelExplorer: ModelExplorer, expression: string, value:
|
|
272
|
-
GenerateLabel(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes:
|
|
273
|
-
GenerateLink(linkText: string, url: string, htmlAttributes:
|
|
274
|
-
GeneratePageForm(viewContext: ViewContext, pageName: string, pageHandler: string, routeValues:
|
|
275
|
-
GeneratePageLink(viewContext: ViewContext, linkText: string, pageName: string, pageHandler: string, protocol: string, hostname: string, fragment: string, routeValues:
|
|
276
|
-
GeneratePassword(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
277
|
-
GenerateRadioButton(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
278
|
-
GenerateRouteForm(viewContext: ViewContext, routeName: string, routeValues:
|
|
279
|
-
GenerateRouteLink(viewContext: ViewContext, linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues:
|
|
280
|
-
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, allowMultiple: boolean, htmlAttributes:
|
|
281
|
-
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, currentValues: ICollection_1<System_Internal.String>, allowMultiple: boolean, htmlAttributes:
|
|
282
|
-
GenerateTextArea(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes:
|
|
283
|
-
GenerateTextBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value:
|
|
284
|
-
GenerateValidationMessage(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes:
|
|
285
|
-
GenerateValidationSummary(viewContext: ViewContext, excludePropertyErrors: boolean, message: string, headerTag: string, htmlAttributes:
|
|
269
|
+
GenerateInput(viewContext: ViewContext, inputType: InputType, modelExplorer: ModelExplorer, expression: string, value: JsValue, useViewData: boolean, isChecked: boolean, setId: boolean, isExplicitValue: boolean, format: string, htmlAttributes: IDictionary_2<System_Internal.String, JsValue>): TagBuilder;
|
|
270
|
+
GenerateLabel(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes: JsValue): TagBuilder;
|
|
271
|
+
GenerateLink(linkText: string, url: string, htmlAttributes: JsValue): TagBuilder;
|
|
272
|
+
GeneratePageForm(viewContext: ViewContext, pageName: string, pageHandler: string, routeValues: JsValue, fragment: string, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
273
|
+
GeneratePageLink(viewContext: ViewContext, linkText: string, pageName: string, pageHandler: string, protocol: string, hostname: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
274
|
+
GeneratePassword(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
275
|
+
GenerateRadioButton(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): TagBuilder;
|
|
276
|
+
GenerateRouteForm(viewContext: ViewContext, routeName: string, routeValues: JsValue, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
277
|
+
GenerateRouteLink(viewContext: ViewContext, linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): TagBuilder;
|
|
278
|
+
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, allowMultiple: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
279
|
+
GenerateSelect(viewContext: ViewContext, modelExplorer: ModelExplorer, optionLabel: string, expression: string, selectList: IEnumerable_1<SelectListItem>, currentValues: ICollection_1<System_Internal.String>, allowMultiple: boolean, htmlAttributes: JsValue): TagBuilder;
|
|
280
|
+
GenerateTextArea(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes: JsValue): TagBuilder;
|
|
281
|
+
GenerateTextBox(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, value: JsValue, format: string, htmlAttributes: JsValue): TagBuilder;
|
|
282
|
+
GenerateValidationMessage(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes: JsValue): TagBuilder;
|
|
283
|
+
GenerateValidationSummary(viewContext: ViewContext, excludePropertyErrors: boolean, message: string, headerTag: string, htmlAttributes: JsValue): TagBuilder;
|
|
286
284
|
GetCurrentValues(viewContext: ViewContext, modelExplorer: ModelExplorer, expression: string, allowMultiple: boolean): ICollection_1<System_Internal.String>;
|
|
287
285
|
}
|
|
288
286
|
|
|
@@ -318,7 +316,7 @@ export interface FormContext$instance {
|
|
|
318
316
|
|
|
319
317
|
CanRenderAtEndOfForm: boolean;
|
|
320
318
|
readonly EndOfFormContent: IList_1<IHtmlContent>;
|
|
321
|
-
readonly FormData: IDictionary_2<System_Internal.String,
|
|
319
|
+
readonly FormData: IDictionary_2<System_Internal.String, JsValue>;
|
|
322
320
|
HasAntiforgeryToken: boolean;
|
|
323
321
|
readonly HasEndOfFormContent: boolean;
|
|
324
322
|
readonly HasFormData: boolean;
|
|
@@ -345,64 +343,64 @@ export interface HtmlHelper$instance extends IViewContextAware$instance {
|
|
|
345
343
|
readonly MetadataProvider: IModelMetadataProvider;
|
|
346
344
|
readonly TempData: ITempDataDictionary;
|
|
347
345
|
readonly UrlEncoder: UrlEncoder;
|
|
348
|
-
readonly ViewBag:
|
|
346
|
+
readonly ViewBag: JsValue;
|
|
349
347
|
ViewContext: ViewContext;
|
|
350
348
|
readonly ViewData: ViewDataDictionary;
|
|
351
|
-
ActionLink(linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues:
|
|
349
|
+
ActionLink(linkText: string, actionName: string, controllerName: string, protocol: string, hostname: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
352
350
|
AntiForgeryToken(): IHtmlContent;
|
|
353
|
-
BeginForm(actionName: string, controllerName: string, routeValues:
|
|
354
|
-
BeginRouteForm(routeName: string, routeValues:
|
|
355
|
-
CheckBox(expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes:
|
|
351
|
+
BeginForm(actionName: string, controllerName: string, routeValues: JsValue, method: FormMethod, antiforgery: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): MvcForm;
|
|
352
|
+
BeginRouteForm(routeName: string, routeValues: JsValue, method: FormMethod, antiforgery: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): MvcForm;
|
|
353
|
+
CheckBox(expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): IHtmlContent;
|
|
356
354
|
Contextualize(viewContext: ViewContext): void;
|
|
357
355
|
CreateForm(): MvcForm;
|
|
358
|
-
Display(expression: string, templateName: string, htmlFieldName: string, additionalViewData:
|
|
356
|
+
Display(expression: string, templateName: string, htmlFieldName: string, additionalViewData: JsValue): IHtmlContent;
|
|
359
357
|
DisplayName(expression: string): string;
|
|
360
358
|
DisplayText(expression: string): string;
|
|
361
|
-
DropDownList(expression: string, selectList: IEnumerable_1<SelectListItem>, optionLabel: string, htmlAttributes:
|
|
362
|
-
Editor(expression: string, templateName: string, htmlFieldName: string, additionalViewData:
|
|
359
|
+
DropDownList(expression: string, selectList: IEnumerable_1<SelectListItem>, optionLabel: string, htmlAttributes: JsValue): IHtmlContent;
|
|
360
|
+
Editor(expression: string, templateName: string, htmlFieldName: string, additionalViewData: JsValue): IHtmlContent;
|
|
363
361
|
Encode(value: string): string;
|
|
364
|
-
Encode(value:
|
|
362
|
+
Encode(value: JsValue): string;
|
|
365
363
|
EndForm(): void;
|
|
366
|
-
FormatValue(value:
|
|
367
|
-
GenerateCheckBox(modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes:
|
|
368
|
-
GenerateDisplay(modelExplorer: ModelExplorer, htmlFieldName: string, templateName: string, additionalViewData:
|
|
364
|
+
FormatValue(value: JsValue, format: string): string;
|
|
365
|
+
GenerateCheckBox(modelExplorer: ModelExplorer, expression: string, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): IHtmlContent;
|
|
366
|
+
GenerateDisplay(modelExplorer: ModelExplorer, htmlFieldName: string, templateName: string, additionalViewData: JsValue): IHtmlContent;
|
|
369
367
|
GenerateDisplayName(modelExplorer: ModelExplorer, expression: string): string;
|
|
370
368
|
GenerateDisplayText(modelExplorer: ModelExplorer): string;
|
|
371
|
-
GenerateEditor(modelExplorer: ModelExplorer, htmlFieldName: string, templateName: string, additionalViewData:
|
|
372
|
-
GenerateForm(actionName: string, controllerName: string, routeValues:
|
|
373
|
-
GenerateHidden(modelExplorer: ModelExplorer, expression: string, value:
|
|
369
|
+
GenerateEditor(modelExplorer: ModelExplorer, htmlFieldName: string, templateName: string, additionalViewData: JsValue): IHtmlContent;
|
|
370
|
+
GenerateForm(actionName: string, controllerName: string, routeValues: JsValue, method: FormMethod, antiforgery: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): MvcForm;
|
|
371
|
+
GenerateHidden(modelExplorer: ModelExplorer, expression: string, value: JsValue, useViewData: boolean, htmlAttributes: JsValue): IHtmlContent;
|
|
374
372
|
GenerateId(expression: string): string;
|
|
375
373
|
GenerateIdFromName(fullName: string): string;
|
|
376
|
-
GenerateLabel(modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes:
|
|
374
|
+
GenerateLabel(modelExplorer: ModelExplorer, expression: string, labelText: string, htmlAttributes: JsValue): IHtmlContent;
|
|
377
375
|
GenerateName(expression: string): string;
|
|
378
|
-
GeneratePassword(modelExplorer: ModelExplorer, expression: string, value:
|
|
379
|
-
GenerateRadioButton(modelExplorer: ModelExplorer, expression: string, value:
|
|
380
|
-
GenerateRouteForm(routeName: string, routeValues:
|
|
381
|
-
GenerateTextArea(modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes:
|
|
382
|
-
GenerateTextBox(modelExplorer: ModelExplorer, expression: string, value:
|
|
383
|
-
GenerateValidationMessage(modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes:
|
|
384
|
-
GenerateValidationSummary(excludePropertyErrors: boolean, message: string, htmlAttributes:
|
|
385
|
-
GenerateValue(expression: string, value:
|
|
386
|
-
GetEnumSelectList<TEnum extends
|
|
376
|
+
GeneratePassword(modelExplorer: ModelExplorer, expression: string, value: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
377
|
+
GenerateRadioButton(modelExplorer: ModelExplorer, expression: string, value: JsValue, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): IHtmlContent;
|
|
378
|
+
GenerateRouteForm(routeName: string, routeValues: JsValue, method: FormMethod, antiforgery: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): MvcForm;
|
|
379
|
+
GenerateTextArea(modelExplorer: ModelExplorer, expression: string, rows: int, columns: int, htmlAttributes: JsValue): IHtmlContent;
|
|
380
|
+
GenerateTextBox(modelExplorer: ModelExplorer, expression: string, value: JsValue, format: string, htmlAttributes: JsValue): IHtmlContent;
|
|
381
|
+
GenerateValidationMessage(modelExplorer: ModelExplorer, expression: string, message: string, tag: string, htmlAttributes: JsValue): IHtmlContent;
|
|
382
|
+
GenerateValidationSummary(excludePropertyErrors: boolean, message: string, htmlAttributes: JsValue, tag: string): IHtmlContent;
|
|
383
|
+
GenerateValue(expression: string, value: JsValue, format: string, useViewData: boolean): string;
|
|
384
|
+
GetEnumSelectList<TEnum extends NonNullable<JsValue>>(): IEnumerable_1<SelectListItem>;
|
|
387
385
|
GetEnumSelectList(enumType: Type): IEnumerable_1<SelectListItem>;
|
|
388
386
|
GetEnumSelectList(metadata: ModelMetadata): IEnumerable_1<SelectListItem>;
|
|
389
|
-
Hidden(expression: string, value:
|
|
387
|
+
Hidden(expression: string, value: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
390
388
|
Id(expression: string): string;
|
|
391
|
-
Label(expression: string, labelText: string, htmlAttributes:
|
|
392
|
-
ListBox(expression: string, selectList: IEnumerable_1<SelectListItem>, htmlAttributes:
|
|
389
|
+
Label(expression: string, labelText: string, htmlAttributes: JsValue): IHtmlContent;
|
|
390
|
+
ListBox(expression: string, selectList: IEnumerable_1<SelectListItem>, htmlAttributes: JsValue): IHtmlContent;
|
|
393
391
|
Name(expression: string): string;
|
|
394
|
-
PartialAsync(partialViewName: string, model:
|
|
395
|
-
Password(expression: string, value:
|
|
396
|
-
RadioButton(expression: string, value:
|
|
392
|
+
PartialAsync(partialViewName: string, model: JsValue, viewData: ViewDataDictionary): Task_1<IHtmlContent>;
|
|
393
|
+
Password(expression: string, value: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
394
|
+
RadioButton(expression: string, value: JsValue, isChecked: Nullable_1<System_Internal.Boolean>, htmlAttributes: JsValue): IHtmlContent;
|
|
397
395
|
Raw(value: string): IHtmlContent;
|
|
398
|
-
Raw(value:
|
|
399
|
-
RenderPartialAsync(partialViewName: string, model:
|
|
400
|
-
RenderPartialCoreAsync(partialViewName: string, model:
|
|
401
|
-
RouteLink(linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues:
|
|
402
|
-
TextArea(expression: string, value: string, rows: int, columns: int, htmlAttributes:
|
|
403
|
-
TextBox(expression: string, value:
|
|
404
|
-
ValidationMessage(expression: string, message: string, htmlAttributes:
|
|
405
|
-
ValidationSummary(excludePropertyErrors: boolean, message: string, htmlAttributes:
|
|
396
|
+
Raw(value: JsValue): IHtmlContent;
|
|
397
|
+
RenderPartialAsync(partialViewName: string, model: JsValue, viewData: ViewDataDictionary): Task;
|
|
398
|
+
RenderPartialCoreAsync(partialViewName: string, model: JsValue, viewData: ViewDataDictionary, writer: TextWriter): Task;
|
|
399
|
+
RouteLink(linkText: string, routeName: string, protocol: string, hostName: string, fragment: string, routeValues: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
400
|
+
TextArea(expression: string, value: string, rows: int, columns: int, htmlAttributes: JsValue): IHtmlContent;
|
|
401
|
+
TextBox(expression: string, value: JsValue, format: string, htmlAttributes: JsValue): IHtmlContent;
|
|
402
|
+
ValidationMessage(expression: string, message: string, htmlAttributes: JsValue, tag: string): IHtmlContent;
|
|
403
|
+
ValidationSummary(excludePropertyErrors: boolean, message: string, htmlAttributes: JsValue, tag: string): IHtmlContent;
|
|
406
404
|
Value(expression: string, format: string): string;
|
|
407
405
|
}
|
|
408
406
|
|
|
@@ -415,9 +413,9 @@ export const HtmlHelper: {
|
|
|
415
413
|
readonly ValidationMessageValidCssClassName: string;
|
|
416
414
|
readonly ValidationSummaryCssClassName: string;
|
|
417
415
|
readonly ValidationSummaryValidCssClassName: string;
|
|
418
|
-
AnonymousObjectToHtmlAttributes(htmlAttributes:
|
|
416
|
+
AnonymousObjectToHtmlAttributes(htmlAttributes: JsValue): IDictionary_2<System_Internal.String, JsValue>;
|
|
419
417
|
GetFormMethodString(method: FormMethod): string;
|
|
420
|
-
ObjectToDictionary(value:
|
|
418
|
+
ObjectToDictionary(value: JsValue): IDictionary_2<System_Internal.String, JsValue>;
|
|
421
419
|
};
|
|
422
420
|
|
|
423
421
|
|
|
@@ -436,24 +434,24 @@ export interface HtmlHelper_1$instance<TModel> extends HtmlHelper$instance {
|
|
|
436
434
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_1: never;
|
|
437
435
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_IViewContextAware: never;
|
|
438
436
|
|
|
439
|
-
CheckBoxFor(expression: Expression_1<Func_2<TModel, System_Internal.Boolean>>, htmlAttributes:
|
|
437
|
+
CheckBoxFor(expression: Expression_1<Func_2<TModel, System_Internal.Boolean>>, htmlAttributes: JsValue): IHtmlContent;
|
|
440
438
|
Contextualize(viewContext: ViewContext): void;
|
|
441
|
-
DisplayFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, templateName: string, htmlFieldName: string, additionalViewData:
|
|
439
|
+
DisplayFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, templateName: string, htmlFieldName: string, additionalViewData: JsValue): IHtmlContent;
|
|
442
440
|
DisplayNameFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>): string;
|
|
443
441
|
DisplayNameForInnerType<TModelItem, TResult>(expression: Expression_1<Func_2<TModelItem, TResult>>): string;
|
|
444
442
|
DisplayTextFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>): string;
|
|
445
|
-
DropDownListFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, selectList: IEnumerable_1<SelectListItem>, optionLabel: string, htmlAttributes:
|
|
446
|
-
EditorFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, templateName: string, htmlFieldName: string, additionalViewData:
|
|
447
|
-
HiddenFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, htmlAttributes:
|
|
443
|
+
DropDownListFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, selectList: IEnumerable_1<SelectListItem>, optionLabel: string, htmlAttributes: JsValue): IHtmlContent;
|
|
444
|
+
EditorFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, templateName: string, htmlFieldName: string, additionalViewData: JsValue): IHtmlContent;
|
|
445
|
+
HiddenFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, htmlAttributes: JsValue): IHtmlContent;
|
|
448
446
|
IdFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>): string;
|
|
449
|
-
LabelFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, labelText: string, htmlAttributes:
|
|
450
|
-
ListBoxFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, selectList: IEnumerable_1<SelectListItem>, htmlAttributes:
|
|
447
|
+
LabelFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, labelText: string, htmlAttributes: JsValue): IHtmlContent;
|
|
448
|
+
ListBoxFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, selectList: IEnumerable_1<SelectListItem>, htmlAttributes: JsValue): IHtmlContent;
|
|
451
449
|
NameFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>): string;
|
|
452
|
-
PasswordFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, htmlAttributes:
|
|
453
|
-
RadioButtonFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, value:
|
|
454
|
-
TextAreaFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, rows: int, columns: int, htmlAttributes:
|
|
455
|
-
TextBoxFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, format: string, htmlAttributes:
|
|
456
|
-
ValidationMessageFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, message: string, htmlAttributes:
|
|
450
|
+
PasswordFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, htmlAttributes: JsValue): IHtmlContent;
|
|
451
|
+
RadioButtonFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, value: JsValue, htmlAttributes: JsValue): IHtmlContent;
|
|
452
|
+
TextAreaFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, rows: int, columns: int, htmlAttributes: JsValue): IHtmlContent;
|
|
453
|
+
TextBoxFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, format: string, htmlAttributes: JsValue): IHtmlContent;
|
|
454
|
+
ValidationMessageFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, message: string, htmlAttributes: JsValue, tag: string): IHtmlContent;
|
|
457
455
|
ValueFor<TResult>(expression: Expression_1<Func_2<TModel, TResult>>, format: string): string;
|
|
458
456
|
}
|
|
459
457
|
|
|
@@ -497,24 +495,24 @@ export interface ModelExplorer$instance {
|
|
|
497
495
|
|
|
498
496
|
readonly Container: ModelExplorer;
|
|
499
497
|
readonly Metadata: ModelMetadata;
|
|
500
|
-
readonly Model:
|
|
498
|
+
readonly Model: JsValue;
|
|
501
499
|
readonly ModelType: Type;
|
|
502
500
|
readonly Properties: IEnumerable_1<ModelExplorer>;
|
|
503
|
-
GetExplorerForExpression(modelType: Type, model:
|
|
504
|
-
GetExplorerForExpression(metadata: ModelMetadata, model:
|
|
505
|
-
GetExplorerForExpression(modelType: Type, modelAccessor: Func_2<
|
|
506
|
-
GetExplorerForExpression(metadata: ModelMetadata, modelAccessor: Func_2<
|
|
507
|
-
GetExplorerForModel(model:
|
|
501
|
+
GetExplorerForExpression(modelType: Type, model: JsValue): ModelExplorer;
|
|
502
|
+
GetExplorerForExpression(metadata: ModelMetadata, model: JsValue): ModelExplorer;
|
|
503
|
+
GetExplorerForExpression(modelType: Type, modelAccessor: Func_2<JsValue, JsValue>): ModelExplorer;
|
|
504
|
+
GetExplorerForExpression(metadata: ModelMetadata, modelAccessor: Func_2<JsValue, JsValue>): ModelExplorer;
|
|
505
|
+
GetExplorerForModel(model: JsValue): ModelExplorer;
|
|
508
506
|
GetExplorerForProperty(name: string): ModelExplorer;
|
|
509
|
-
GetExplorerForProperty(name: string, modelAccessor: Func_2<
|
|
510
|
-
GetExplorerForProperty(name: string, model:
|
|
507
|
+
GetExplorerForProperty(name: string, modelAccessor: Func_2<JsValue, JsValue>): ModelExplorer;
|
|
508
|
+
GetExplorerForProperty(name: string, model: JsValue): ModelExplorer;
|
|
511
509
|
}
|
|
512
510
|
|
|
513
511
|
|
|
514
512
|
export const ModelExplorer: {
|
|
515
|
-
new(metadataProvider: IModelMetadataProvider, metadata: ModelMetadata, model:
|
|
516
|
-
new(metadataProvider: IModelMetadataProvider, container: ModelExplorer, metadata: ModelMetadata, modelAccessor: Func_2<
|
|
517
|
-
new(metadataProvider: IModelMetadataProvider, container: ModelExplorer, metadata: ModelMetadata, model:
|
|
513
|
+
new(metadataProvider: IModelMetadataProvider, metadata: ModelMetadata, model: JsValue): ModelExplorer;
|
|
514
|
+
new(metadataProvider: IModelMetadataProvider, container: ModelExplorer, metadata: ModelMetadata, modelAccessor: Func_2<JsValue, JsValue>): ModelExplorer;
|
|
515
|
+
new(metadataProvider: IModelMetadataProvider, container: ModelExplorer, metadata: ModelMetadata, model: JsValue): ModelExplorer;
|
|
518
516
|
};
|
|
519
517
|
|
|
520
518
|
|
|
@@ -524,7 +522,7 @@ export interface ModelExpression$instance {
|
|
|
524
522
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_ModelExpression: never;
|
|
525
523
|
|
|
526
524
|
readonly Metadata: ModelMetadata;
|
|
527
|
-
readonly Model:
|
|
525
|
+
readonly Model: JsValue;
|
|
528
526
|
readonly ModelExplorer: ModelExplorer;
|
|
529
527
|
readonly Name: string;
|
|
530
528
|
}
|
|
@@ -567,7 +565,7 @@ export interface PartialViewResultExecutor$instance extends ViewExecutor {
|
|
|
567
565
|
|
|
568
566
|
ExecuteAsync(actionContext: ActionContext, view: IView, viewResult: PartialViewResult): Task;
|
|
569
567
|
ExecuteAsync(context: ActionContext, result: PartialViewResult): Task;
|
|
570
|
-
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
568
|
+
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string | null, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
571
569
|
FindView(actionContext: ActionContext, viewResult: PartialViewResult): ViewEngineResult;
|
|
572
570
|
}
|
|
573
571
|
|
|
@@ -615,8 +613,8 @@ export interface SessionStateTempDataProvider$instance extends ITempDataProvider
|
|
|
615
613
|
|
|
616
614
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ViewFeatures_ITempDataProvider: never;
|
|
617
615
|
|
|
618
|
-
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String,
|
|
619
|
-
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String,
|
|
616
|
+
LoadTempData(context: HttpContext): IDictionary_2<System_Internal.String, JsValue>;
|
|
617
|
+
SaveTempData(context: HttpContext, values: IDictionary_2<System_Internal.String, JsValue>): void;
|
|
620
618
|
}
|
|
621
619
|
|
|
622
620
|
|
|
@@ -664,19 +662,19 @@ export interface TempDataDictionary$instance {
|
|
|
664
662
|
|
|
665
663
|
readonly Count: int;
|
|
666
664
|
readonly Keys: ICollection_1<System_Internal.String>;
|
|
667
|
-
readonly Values: ICollection_1<
|
|
668
|
-
Add(key: string, value:
|
|
665
|
+
readonly Values: ICollection_1<JsValue | null>;
|
|
666
|
+
Add(key: string, value: JsValue | null): void;
|
|
669
667
|
Clear(): void;
|
|
670
668
|
ContainsKey(key: string): boolean;
|
|
671
|
-
ContainsValue(value:
|
|
672
|
-
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String,
|
|
669
|
+
ContainsValue(value: JsValue | null): boolean;
|
|
670
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, JsValue>>;
|
|
673
671
|
Keep(): void;
|
|
674
672
|
Keep(key: string): void;
|
|
675
673
|
Load(): void;
|
|
676
|
-
Peek(key: string):
|
|
674
|
+
Peek(key: string): JsValue | null;
|
|
677
675
|
Remove(key: string): boolean;
|
|
678
676
|
Save(): void;
|
|
679
|
-
TryGetValue(key: string, value:
|
|
677
|
+
TryGetValue(key: string, value: JsValue | null): boolean;
|
|
680
678
|
}
|
|
681
679
|
|
|
682
680
|
|
|
@@ -689,7 +687,7 @@ export interface __TempDataDictionary$views {
|
|
|
689
687
|
As_ITempDataDictionary(): ITempDataDictionary$instance;
|
|
690
688
|
}
|
|
691
689
|
|
|
692
|
-
export type TempDataDictionary = TempDataDictionary$instance & __TempDataDictionary$views & { [key: string]:
|
|
690
|
+
export type TempDataDictionary = TempDataDictionary$instance & __TempDataDictionary$views & { [key: string]: JsValue | null; };
|
|
693
691
|
|
|
694
692
|
|
|
695
693
|
export interface TempDataDictionaryFactory$instance extends ITempDataDictionaryFactory$instance {
|
|
@@ -716,10 +714,10 @@ export type TempDataDictionaryFactory = TempDataDictionaryFactory$instance & __T
|
|
|
716
714
|
export interface TemplateInfo$instance {
|
|
717
715
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_TemplateInfo: never;
|
|
718
716
|
|
|
719
|
-
FormattedModelValue:
|
|
717
|
+
FormattedModelValue: JsValue;
|
|
720
718
|
HtmlFieldPrefix: string;
|
|
721
719
|
readonly TemplateDepth: int;
|
|
722
|
-
AddVisited(value:
|
|
720
|
+
AddVisited(value: JsValue): boolean;
|
|
723
721
|
GetFullHtmlFieldName(partialFieldName: string): string;
|
|
724
722
|
Visited(modelExplorer: ModelExplorer): boolean;
|
|
725
723
|
}
|
|
@@ -792,36 +790,36 @@ export interface ViewDataDictionary$instance {
|
|
|
792
790
|
readonly Count: int;
|
|
793
791
|
readonly IsReadOnly: boolean;
|
|
794
792
|
readonly Keys: ICollection_1<System_Internal.String>;
|
|
795
|
-
Model:
|
|
793
|
+
Model: JsValue;
|
|
796
794
|
ModelExplorer: ModelExplorer;
|
|
797
795
|
readonly ModelMetadata: ModelMetadata;
|
|
798
796
|
readonly ModelState: ModelStateDictionary;
|
|
799
797
|
readonly TemplateInfo: TemplateInfo;
|
|
800
|
-
readonly Values: ICollection_1<
|
|
801
|
-
Add(key: string, value:
|
|
802
|
-
Add(item: KeyValuePair_2<System_Internal.String,
|
|
798
|
+
readonly Values: ICollection_1<JsValue | null>;
|
|
799
|
+
Add(key: string, value: JsValue | null): void;
|
|
800
|
+
Add(item: KeyValuePair_2<System_Internal.String, JsValue>): void;
|
|
803
801
|
Clear(): void;
|
|
804
|
-
Contains(item: KeyValuePair_2<System_Internal.String,
|
|
802
|
+
Contains(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
|
|
805
803
|
ContainsKey(key: string): boolean;
|
|
806
|
-
CopyTo(array: KeyValuePair_2<System_Internal.String,
|
|
807
|
-
Eval(expression: string):
|
|
808
|
-
Eval(expression: string, format: string): string |
|
|
809
|
-
GetViewDataInfo(expression: string): ViewDataInfo |
|
|
804
|
+
CopyTo(array: KeyValuePair_2<System_Internal.String, JsValue>[], arrayIndex: int): void;
|
|
805
|
+
Eval(expression: string | null): JsValue | null;
|
|
806
|
+
Eval(expression: string | null, format: string | null): string | null;
|
|
807
|
+
GetViewDataInfo(expression: string | null): ViewDataInfo | null;
|
|
810
808
|
Remove(key: string): boolean;
|
|
811
|
-
Remove(item: KeyValuePair_2<System_Internal.String,
|
|
812
|
-
SetModel(value:
|
|
813
|
-
TryGetValue(key: string, value:
|
|
809
|
+
Remove(item: KeyValuePair_2<System_Internal.String, JsValue>): boolean;
|
|
810
|
+
SetModel(value: JsValue | null): void;
|
|
811
|
+
TryGetValue(key: string, value: JsValue | null): boolean;
|
|
814
812
|
}
|
|
815
813
|
|
|
816
814
|
|
|
817
815
|
export const ViewDataDictionary: {
|
|
818
816
|
new(metadataProvider: IModelMetadataProvider, modelState: ModelStateDictionary): ViewDataDictionary;
|
|
819
817
|
new(source: ViewDataDictionary): ViewDataDictionary;
|
|
820
|
-
FormatValue(value:
|
|
818
|
+
FormatValue(value: JsValue | null, format: string | null): string | null;
|
|
821
819
|
};
|
|
822
820
|
|
|
823
821
|
|
|
824
|
-
export type ViewDataDictionary = ViewDataDictionary$instance & { [index: string]:
|
|
822
|
+
export type ViewDataDictionary = ViewDataDictionary$instance & { [index: string]: JsValue | null; };
|
|
825
823
|
|
|
826
824
|
export interface ViewDataDictionary_1$instance<TModel> extends ViewDataDictionary {
|
|
827
825
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_ViewDataDictionary_1: never;
|
|
@@ -838,7 +836,7 @@ export interface ViewDataDictionary_1$instance<TModel> extends ViewDataDictionar
|
|
|
838
836
|
export const ViewDataDictionary_1: {
|
|
839
837
|
new<TModel>(metadataProvider: IModelMetadataProvider, modelState: ModelStateDictionary): ViewDataDictionary_1<TModel>;
|
|
840
838
|
new<TModel>(source: ViewDataDictionary): ViewDataDictionary_1<TModel>;
|
|
841
|
-
new<TModel>(source: ViewDataDictionary, model:
|
|
839
|
+
new<TModel>(source: ViewDataDictionary, model: JsValue | null): ViewDataDictionary_1<TModel>;
|
|
842
840
|
};
|
|
843
841
|
|
|
844
842
|
|
|
@@ -862,8 +860,8 @@ export interface ViewDataDictionaryControllerPropertyActivator$instance {
|
|
|
862
860
|
|
|
863
861
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Controllers_IControllerPropertyActivator: never;
|
|
864
862
|
|
|
865
|
-
Activate(actionContext: ControllerContext, controller:
|
|
866
|
-
GetActivatorDelegate(actionDescriptor: ControllerActionDescriptor): Action_2<ControllerContext,
|
|
863
|
+
Activate(actionContext: ControllerContext, controller: JsValue): void;
|
|
864
|
+
GetActivatorDelegate(actionDescriptor: ControllerActionDescriptor): Action_2<ControllerContext, JsValue>;
|
|
867
865
|
}
|
|
868
866
|
|
|
869
867
|
|
|
@@ -877,16 +875,16 @@ export type ViewDataDictionaryControllerPropertyActivator = ViewDataDictionaryCo
|
|
|
877
875
|
export interface ViewDataInfo$instance {
|
|
878
876
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_ViewDataInfo: never;
|
|
879
877
|
|
|
880
|
-
readonly Container:
|
|
878
|
+
readonly Container: JsValue;
|
|
881
879
|
readonly PropertyInfo: PropertyInfo;
|
|
882
|
-
Value:
|
|
880
|
+
Value: JsValue;
|
|
883
881
|
}
|
|
884
882
|
|
|
885
883
|
|
|
886
884
|
export const ViewDataInfo: {
|
|
887
|
-
new(container:
|
|
888
|
-
new(container:
|
|
889
|
-
new(container:
|
|
885
|
+
new(container: JsValue, value: JsValue): ViewDataInfo;
|
|
886
|
+
new(container: JsValue, propertyInfo: PropertyInfo): ViewDataInfo;
|
|
887
|
+
new(container: JsValue, propertyInfo: PropertyInfo, valueAccessor: Func_1<JsValue>): ViewDataInfo;
|
|
890
888
|
};
|
|
891
889
|
|
|
892
890
|
|
|
@@ -895,7 +893,7 @@ export type ViewDataInfo = ViewDataInfo$instance;
|
|
|
895
893
|
export interface ViewExecutor$instance {
|
|
896
894
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ViewFeatures_ViewExecutor: never;
|
|
897
895
|
|
|
898
|
-
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
896
|
+
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string | null, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
899
897
|
}
|
|
900
898
|
|
|
901
899
|
|
|
@@ -913,7 +911,7 @@ export interface ViewResultExecutor$instance extends ViewExecutor {
|
|
|
913
911
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionResultExecutor_1: never;
|
|
914
912
|
|
|
915
913
|
ExecuteAsync(context: ActionContext, result: ViewResult): Task;
|
|
916
|
-
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
914
|
+
ExecuteAsync(actionContext: ActionContext, view: IView, viewData: ViewDataDictionary, tempData: ITempDataDictionary, contentType: string | null, statusCode: Nullable_1<System_Internal.Int32>): Task;
|
|
917
915
|
FindView(actionContext: ActionContext, viewResult: ViewResult): ViewEngineResult;
|
|
918
916
|
}
|
|
919
917
|
|
|
@@ -938,8 +936,8 @@ export abstract class AntiforgeryExtensions$instance {
|
|
|
938
936
|
export type AntiforgeryExtensions = AntiforgeryExtensions$instance;
|
|
939
937
|
|
|
940
938
|
export abstract class DefaultHtmlGeneratorExtensions$instance {
|
|
941
|
-
static GenerateForm(generator: IHtmlGenerator, viewContext: ViewContext, actionName: string, controllerName: string, fragment: string, routeValues:
|
|
942
|
-
static GenerateRouteForm(generator: IHtmlGenerator, viewContext: ViewContext, routeName: string, routeValues:
|
|
939
|
+
static GenerateForm(generator: IHtmlGenerator, viewContext: ViewContext, actionName: string, controllerName: string, fragment: string, routeValues: JsValue, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
940
|
+
static GenerateRouteForm(generator: IHtmlGenerator, viewContext: ViewContext, routeName: string, routeValues: JsValue, fragment: string, method: string, htmlAttributes: JsValue): TagBuilder;
|
|
943
941
|
}
|
|
944
942
|
|
|
945
943
|
|
|
@@ -953,7 +951,7 @@ export abstract class ModelExplorerExtensions$instance {
|
|
|
953
951
|
export type ModelExplorerExtensions = ModelExplorerExtensions$instance;
|
|
954
952
|
|
|
955
953
|
export abstract class ModelMetadataProviderExtensions$instance {
|
|
956
|
-
static GetModelExplorerForType(provider: IModelMetadataProvider, modelType: Type, model:
|
|
954
|
+
static GetModelExplorerForType(provider: IModelMetadataProvider, modelType: Type, model: JsValue): ModelExplorer;
|
|
957
955
|
}
|
|
958
956
|
|
|
959
957
|
|
|
@@ -968,7 +966,7 @@ export type TryGetValueProvider = TryGetValueProvider$instance;
|
|
|
968
966
|
|
|
969
967
|
export abstract class ViewDataEvaluator$instance {
|
|
970
968
|
static Eval(viewData: ViewDataDictionary, expression: string): ViewDataInfo;
|
|
971
|
-
static Eval(indexableObject:
|
|
969
|
+
static Eval(indexableObject: JsValue, expression: string): ViewDataInfo;
|
|
972
970
|
}
|
|
973
971
|
|
|
974
972
|
|