From d89f2a3ba45130e7dcd8789ecaed892618c26fea Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 24 Jan 2024 15:22:01 +0100 Subject: [PATCH 01/50] feat(github): add discord shield to README.md file #6705 (#6707) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 05e907fc6f..cb121c773d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ ![CI Status](https://github.com/bitfoundation/bitplatform/actions/workflows/bit.ci.yml/badge.svg) ![NuGet version](https://img.shields.io/nuget/v/bit.blazorui.svg?logo=nuget) [![Nuget downloads](https://img.shields.io/badge/packages_download-4.4M-blue.svg?logo=nuget)](https://www.nuget.org/profiles/bit-foundation) +[![](https://dcbadge.vercel.app/api/server/RMdqR5p3?style=flat-square&compact=true&v=2)](https://discord.gg/RMdqR5p3)
From 5f1989bc64409c78650c1a5f8aef7ee615e54492 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Wed, 24 Jan 2024 20:12:02 +0330 Subject: [PATCH 02/50] feat(butil): reduce the size of the Butil project #6708 (#6712) --- src/Butil/Bit.Butil/Bit.Butil.csproj | 1 + src/Butil/Bit.Butil/BitButil.cs | 1 - .../Internals/JsInterops/ConsoleJsInterop.cs | 82 ---- .../Internals/JsInterops/CookieJsInterop.cs | 36 -- .../Internals/JsInterops/CryptoJsInterop.cs | 79 --- .../Internals/JsInterops/DocumentJsInterop.cs | 67 --- .../Internals/JsInterops/ElementJsInterop.cs | 278 ----------- .../Internals/JsInterops/HistoryJsInterop.cs | 44 -- .../Internals/JsInterops/KeyboardJsInterop.cs | 34 -- .../Internals/JsInterops/LocationJsInterop.cs | 59 --- .../JsInterops/NavigatorJsInterop.cs | 52 -- .../Internals/JsInterops/ScreenJsInterop.cs | 35 -- .../Internals/JsInterops/StorageJsInterop.cs | 25 - .../Internals/JsInterops/WindowJsInterop.cs | 107 ---- src/Butil/Bit.Butil/Publics/Console.cs | 53 +- src/Butil/Bit.Butil/Publics/Cookie.cs | 26 +- src/Butil/Bit.Butil/Publics/Crypto.cs | 72 ++- src/Butil/Bit.Butil/Publics/Document.cs | 49 +- src/Butil/Bit.Butil/Publics/Element.cs | 384 --------------- .../Publics/ElementReferenceExtensions.cs | 463 +++++++++++++++--- src/Butil/Bit.Butil/Publics/History.cs | 45 +- src/Butil/Bit.Butil/Publics/Keyboard.cs | 9 +- src/Butil/Bit.Butil/Publics/Location.cs | 40 +- src/Butil/Bit.Butil/Publics/Navigator.cs | 45 +- src/Butil/Bit.Butil/Publics/Screen.cs | 20 +- .../Bit.Butil/Publics/Storage/ButilStorage.cs | 12 +- src/Butil/Bit.Butil/Publics/Window.cs | 75 ++- .../Pages/ElementPage.razor | 5 +- 28 files changed, 674 insertions(+), 1524 deletions(-) delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/ConsoleJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/CookieJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/CryptoJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/DocumentJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/ElementJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/HistoryJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/KeyboardJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/LocationJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/NavigatorJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/ScreenJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/StorageJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Internals/JsInterops/WindowJsInterop.cs delete mode 100644 src/Butil/Bit.Butil/Publics/Element.cs diff --git a/src/Butil/Bit.Butil/Bit.Butil.csproj b/src/Butil/Bit.Butil/Bit.Butil.csproj index afca1cbc5f..adedf819f4 100644 --- a/src/Butil/Bit.Butil/Bit.Butil.csproj +++ b/src/Butil/Bit.Butil/Bit.Butil.csproj @@ -4,6 +4,7 @@ net8.0 + true BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) diff --git a/src/Butil/Bit.Butil/BitButil.cs b/src/Butil/Bit.Butil/BitButil.cs index a8caa76bfa..9abe1f0b4b 100644 --- a/src/Butil/Bit.Butil/BitButil.cs +++ b/src/Butil/Bit.Butil/BitButil.cs @@ -11,7 +11,6 @@ public static IServiceCollection AddBitButilServices(this IServiceCollection ser services.AddTransient(); services.AddTransient(); services.AddTransient(); - services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/ConsoleJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/ConsoleJsInterop.cs deleted file mode 100644 index 948ad526b4..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/ConsoleJsInterop.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class ConsoleJsInterop -{ - internal static async Task ConsoleAssert(this IJSRuntime js, bool? condition, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.assert", [condition, .. args]); - - internal static async Task ConsoleClear(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.console.clear"); - - internal static async Task ConsoleCount(this IJSRuntime js, string? label) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.count") - : js.InvokeVoidAsync("BitButil.console.count", label)); - - internal static async Task ConsoleCountReset(this IJSRuntime js, string? label) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.countReset") - : js.InvokeVoidAsync("BitButil.console.countReset", label)); - - internal static async Task ConsoleDebug(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.debug", args); - - internal static async Task ConsoleDir(this IJSRuntime js, object? item, object? options) - => await js.InvokeVoidAsync("BitButil.console.dir", item, options); - - internal static async Task ConsoleDirxml(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.dirxml", args); - - internal static async Task ConsoleError(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.error", args); - - internal static async Task ConsoleGroup(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.group", args); - - internal static async Task ConsoleGroupCollapsed(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.groupCollapsed", args); - - internal static async Task ConsoleGroupEnd(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.console.groupEnd"); - - internal static async Task ConsoleInfo(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.info", args); - - internal static async Task ConsoleLog(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.log", args); - - internal static async Task ConsoleProfile(this IJSRuntime js, string? name) - => await (name is null ? js.InvokeVoidAsync("BitButil.console.profile") - : js.InvokeVoidAsync("BitButil.console.profile", name)); - - internal static async Task ConsoleProfileEnd(this IJSRuntime js, string? name) - => await (name is null ? js.InvokeVoidAsync("BitButil.console.profileEnd") - : js.InvokeVoidAsync("BitButil.console.profileEnd", name)); - - internal static async Task ConsoleTable(this IJSRuntime js, object? data, object? properties) - => await (properties is null ? js.InvokeVoidAsync("BitButil.console.table", data) - : js.InvokeVoidAsync("BitButil.console.table", data, properties)); - - internal static async Task ConsoleTime(this IJSRuntime js, string? label) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.time") - : js.InvokeVoidAsync("BitButil.console.time", label)); - - internal static async Task ConsoleTimeEnd(this IJSRuntime js, string? label) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeEnd") - : js.InvokeVoidAsync("BitButil.console.timeEnd", label)); - - internal static async Task ConsoleTimeLog(this IJSRuntime js, string? label, params object?[]? args) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeLog") - : js.InvokeVoidAsync("BitButil.console.timeLog", [label, .. args])); - - internal static async Task ConsoleTimeStamp(this IJSRuntime js, string? label) - => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeStamp") - : js.InvokeVoidAsync("BitButil.console.timeStamp", label)); - - internal static async Task ConsoleTrace(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.trace", args); - - internal static async Task ConsoleWarn(this IJSRuntime js, params object?[]? args) - => await js.InvokeVoidAsync("BitButil.console.warn", args); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/CookieJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/CookieJsInterop.cs deleted file mode 100644 index a8ffb2c7d4..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/CookieJsInterop.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Linq; -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class CookieJsInterop -{ - internal static async Task CookieGetAll(this IJSRuntime js) - { - var cookie = await js.InvokeAsync("BitButil.cookie.get"); - return cookie.Split(';').Select(ButilCookie.Parse).ToArray(); - } - - internal static async Task CookieGet(this IJSRuntime js, string name) - { - var allCookies = await CookieGetAll(js); - return allCookies.FirstOrDefault(c => c.Name == name); - } - - internal static async Task CookieRemove(this IJSRuntime js, string name) - { - var cookie = new ButilCookie { Name = name, MaxAge = 0, Expires = null }; - await CookieSet(js, cookie); - } - - internal static async Task CookieRemove(this IJSRuntime js, ButilCookie cookie) - { - cookie.MaxAge = 0; - cookie.Expires = null; - await CookieSet(js, cookie); - } - - internal static async Task CookieSet(this IJSRuntime js, ButilCookie cookie) - => await js.InvokeVoidAsync("BitButil.cookie.set", cookie.ToString()); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/CryptoJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/CryptoJsInterop.cs deleted file mode 100644 index 2e11fd0288..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/CryptoJsInterop.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class CryptoJsInterop -{ - internal static ValueTask CryptoEncrypt(this IJSRuntime js, T algorithm, byte[] key, byte[] data, CryptoKeyHash? keyHash) where T : ICryptoAlgorithmParams - { - if (algorithm.GetType() == typeof(RsaOaepCryptoAlgorithmParams)) - { - var keyHashString = keyHash switch - { - CryptoKeyHash.Sha384 => "SHA-384", - CryptoKeyHash.Sha512 => "SHA-512", - _ => "SHA-256", - }; - - return js.InvokeAsync("BitButil.crypto.encryptRsaOaep", algorithm, key, data, keyHashString); - } - - if (algorithm.GetType() == typeof(AesCtrCryptoAlgorithmParams)) - { - return js.InvokeAsync("BitButil.crypto.encryptAesCtr", algorithm, key, data); - } - - if (algorithm.GetType() == typeof(AesCbcCryptoAlgorithmParams)) - { - return js.InvokeAsync("BitButil.crypto.encryptAesCbc", algorithm, key, data); - } - - - return js.InvokeAsync("BitButil.crypto.encryptAesGcm", algorithm, key, data); - } - internal static ValueTask CryptoEncrypt(this IJSRuntime js, CryptoAlgorithm algorithm, byte[] key, byte[] data, byte[]? iv, CryptoKeyHash? keyHash) - => algorithm switch - { - CryptoAlgorithm.AesCtr => CryptoEncrypt(js, new AesCtrCryptoAlgorithmParams { Counter = iv }, key, data, null), - CryptoAlgorithm.AesCbc => CryptoEncrypt(js, new AesCbcCryptoAlgorithmParams { Iv = iv }, key, data, null), - CryptoAlgorithm.AesGcm => CryptoEncrypt(js, new AesGcmCryptoAlgorithmParams { Iv = iv }, key, data, null), - _ => CryptoEncrypt(js, new RsaOaepCryptoAlgorithmParams(), key, data, keyHash), - }; - - internal static ValueTask CryptoDecrypt(this IJSRuntime js, T algorithm, byte[] key, byte[] data, CryptoKeyHash? keyHash) where T : ICryptoAlgorithmParams - { - if (algorithm.GetType() == typeof(RsaOaepCryptoAlgorithmParams)) - { - var keyHashString = keyHash switch - { - CryptoKeyHash.Sha384 => "SHA-384", - CryptoKeyHash.Sha512 => "SHA-512", - _ => "SHA-256", - }; - - return js.InvokeAsync("BitButil.crypto.decryptRsaOaep", algorithm, key, data, keyHashString); - } - - if (algorithm.GetType() == typeof(AesCtrCryptoAlgorithmParams)) - { - return js.InvokeAsync("BitButil.crypto.decryptAesCtr", algorithm, key, data); - } - - if (algorithm.GetType() == typeof(AesCbcCryptoAlgorithmParams)) - { - return js.InvokeAsync("BitButil.crypto.decryptAesCbc", algorithm, key, data); - } - - - return js.InvokeAsync("BitButil.crypto.decryptAesGcm", algorithm, key, data); - } - internal static ValueTask CryptoDecrypt(this IJSRuntime js, CryptoAlgorithm algorithm, byte[] key, byte[] data, byte[]? iv, CryptoKeyHash? keyHash) - => algorithm switch - { - CryptoAlgorithm.AesCtr => CryptoDecrypt(js, new AesCtrCryptoAlgorithmParams { Counter = iv }, key, data, null), - CryptoAlgorithm.AesCbc => CryptoDecrypt(js, new AesCbcCryptoAlgorithmParams { Iv = iv }, key, data, null), - CryptoAlgorithm.AesGcm => CryptoDecrypt(js, new AesGcmCryptoAlgorithmParams { Iv = iv }, key, data, null), - _ => CryptoDecrypt(js, new RsaOaepCryptoAlgorithmParams(), key, data, keyHash), - }; -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/DocumentJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/DocumentJsInterop.cs deleted file mode 100644 index 944e49104a..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/DocumentJsInterop.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class DocumentJsInterop -{ - internal static async Task DocumentGetCharacterSet(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.characterSet"); - - internal static async Task DocumentGetCompatMode(this IJSRuntime js) - { - var mode = await js.InvokeAsync("BitButil.document.compatMode"); - return mode switch - { - "BackCompat" => CompatMode.BackCompat, - _ => CompatMode.CSS1Compat - }; - } - - internal static async Task DocumentGetContentType(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.contentType"); - - internal static async Task DocumentGetDocumentURI(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.documentURI"); - - internal static async Task DocumentGetDesignMode(this IJSRuntime js) - { - var mode = await js.InvokeAsync("BitButil.document.getDesignMode"); - return mode switch - { - "on" => DesignMode.On, - _ => DesignMode.Off - }; - } - internal static async Task DocumentSetDesignMode(this IJSRuntime js, DesignMode mode) - => await js.InvokeVoidAsync("BitButil.document.setDesignMode", mode.ToString()); - - internal static async Task DocumentGetDir(this IJSRuntime js) - { - var mode = await js.InvokeAsync("BitButil.document.getDir"); - return mode switch - { - "rtl" => DocumentDir.Rtl, - _ => DocumentDir.Ltr - }; - } - internal static async Task DocumentSetDir(this IJSRuntime js, DocumentDir dir) - => await js.InvokeVoidAsync("BitButil.document.setDir", dir.ToString()); - - internal static async Task DocumentGetReferrer(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.referrer"); - - internal static async Task DocumentGetTitle(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.getTitle"); - internal static async Task DocumentSetTitle(this IJSRuntime js, string title) - => await js.InvokeVoidAsync("BitButil.document.setTitle", title); - - internal static async Task DocumentGetUrl(this IJSRuntime js) - => await js.InvokeAsync("BitButil.document.URL"); - - internal static async Task DocumentExitFullscreen(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.document.exitFullscreen"); - - internal static async Task DocumentExitPointerLock(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.document.exitPointerLock"); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/ElementJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/ElementJsInterop.cs deleted file mode 100644 index 4a62fed660..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/ElementJsInterop.cs +++ /dev/null @@ -1,278 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.AspNetCore.Components; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class ElementJsInterop -{ - internal static async ValueTask ElementBlur(this IJSRuntime js, ElementReference element) - => await js.InvokeVoidAsync("BitButil.element.blur", element); - - internal static async ValueTask ElementGetAttribute(this IJSRuntime js, ElementReference element, string name) - => await js.InvokeAsync("BitButil.element.getAttribute", element, name); - - internal static async ValueTask ElementGetAttributeNames(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getAttributeNames", element); - - internal static async ValueTask ElementGetBoundingClientRect(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getBoundingClientRect", element); - - internal static async ValueTask ElementHasAttribute(this IJSRuntime js, ElementReference element, string name) - => await js.InvokeAsync("BitButil.element.hasAttribute", element, name); - - internal static async ValueTask ElementHasAttributes(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.hasAttributes", element); - - internal static async ValueTask ElementHasPointerCapture(this IJSRuntime js, ElementReference element, int pointerId) - => await js.InvokeAsync("BitButil.element.hasPointerCapture", element, pointerId); - - internal static async ValueTask ElementMatches(this IJSRuntime js, ElementReference element, string selectors) - => await js.InvokeAsync("BitButil.element.matches", element, selectors); - - internal static async ValueTask ElementReleasePointerCapture(this IJSRuntime js, ElementReference element, int pointerId) - => await js.InvokeVoidAsync("BitButil.element.releasePointerCapture", element, pointerId); - - internal static async ValueTask ElementRemove(this IJSRuntime js, ElementReference element) - => await js.InvokeVoidAsync("BitButil.element.remove", element); - - internal static async ValueTask ElementRemoveAttribute(this IJSRuntime js, ElementReference element, string name) - => await js.InvokeVoidAsync("BitButil.element.removeAttribute", element, name); - - internal static async ValueTask ElementRequestFullScreen(this IJSRuntime js, ElementReference element, FullScreenOptions? options) - => await js.InvokeVoidAsync("BitButil.element.requestFullScreen", element, options?.ToJsObject()); - - internal static async ValueTask ElementRequestPointerLock(this IJSRuntime js, ElementReference element) - => await js.InvokeVoidAsync("BitButil.element.requestPointerLock", element); - - internal static async ValueTask ElementScroll(this IJSRuntime js, ElementReference element, ScrollToOptions? options, double? x, double? y) - => await js.InvokeVoidAsync("BitButil.element.scroll", element, options?.ToJsObject(), x, y); - - internal static async ValueTask ElementScrollBy(this IJSRuntime js, ElementReference element, ScrollToOptions? options, double? x, double? y) - => await js.InvokeVoidAsync("BitButil.element.scrollBy", element, options?.ToJsObject(), x, y); - - internal static async ValueTask ElementScrollIntoView(this IJSRuntime js, ElementReference element, bool? alignToTop, ScrollIntoViewOptions? options) - => await js.InvokeVoidAsync("BitButil.element.scrollIntoView", element, alignToTop, options?.ToJsObject()); - - internal static async ValueTask ElementSetAttribute(this IJSRuntime js, ElementReference element, string name, string value) - => await js.InvokeVoidAsync("BitButil.element.setAttribute", element, name, value); - - internal static async ValueTask ElementSetPointerCapture(this IJSRuntime js, ElementReference element, int pointerId) - => await js.InvokeVoidAsync("BitButil.element.setPointerCapture", element, pointerId); - - internal static async ValueTask ElementToggleAttribute(this IJSRuntime js, ElementReference element, string name, bool? force) - => await js.InvokeAsync("BitButil.element.toggleAttribute", element, name, force); - - internal static async ValueTask ElementGetAccessKey(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getAccessKey", element); - internal static async ValueTask ElementSetAccessKey(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setAccessKey", element, value); - - internal static async ValueTask ElementGetClassName(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getClassName", element); - internal static async ValueTask ElementSetClassName(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setClassName", element, value); - - internal static async ValueTask ElementGetClientHeight(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.clientHeight", element); - - internal static async ValueTask ElementGetClientLeft(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.clientLeft", element); - - internal static async ValueTask ElementGetClientTop(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.clientTop", element); - - internal static async ValueTask ElementGetClientWidth(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.clientWidth", element); - - internal static async ValueTask ElementGetId(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getId", element); - internal static async ValueTask ElementSetId(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setId", element, value); - - internal static async ValueTask ElementGetInnerHTML(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getInnerHTML", element); - internal static async ValueTask ElementSetInnerHTML(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setInnerHTML", element, value); - - internal static async ValueTask ElementGetOuterHTML(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getOuterHTML", element); - internal static async ValueTask ElementSetOuterHTML(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setOuterHTML", element, value); - - internal static async ValueTask ElementGetScrollHeight(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.scrollHeight", element); - - internal static async ValueTask ElementGetScrollLeft(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.scrollLeft", element); - - internal static async ValueTask ElementGetScrollTop(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.scrollTop", element); - - internal static async ValueTask ElementGetScrollWidth(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.scrollWidth", element); - - internal static async ValueTask ElementGetTagName(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.tagName", element); - - internal static async ValueTask ElementGetContentEditable(this IJSRuntime js, ElementReference element) - { - var value = await js.InvokeAsync("BitButil.element.getContentEditable", element); - return value switch - { - "true" => ContentEditable.True, - "false" => ContentEditable.False, - "plaintext-only" => ContentEditable.PlainTextOnly, - _ => ContentEditable.Inherit - }; - } - internal static async ValueTask ElementSetContentEditable(this IJSRuntime js, ElementReference element, ContentEditable value) - { - var v = value switch - { - ContentEditable.False => "false", - ContentEditable.True => "true", - ContentEditable.PlainTextOnly => "plaintext-only", - _ => "inherit", - }; - await js.InvokeVoidAsync("BitButil.element.setContentEditable", element, v); - } - - internal static async ValueTask ElementIsContentEditable(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.isContentEditable", element); - - internal static async ValueTask ElementGetDir(this IJSRuntime js, ElementReference element) - { - var value = await js.InvokeAsync("BitButil.element.getDir", element); - return value switch - { - "ltr" => ElementDir.Ltr, - "rtl" => ElementDir.Rtl, - "auto" => ElementDir.Auto, - _ => ElementDir.NotSet, - }; - } - internal static async ValueTask ElementSetDir(this IJSRuntime js, ElementReference element, ElementDir value) - { - var v = value switch - { - ElementDir.Ltr => "ltr", - ElementDir.Rtl => "rtl", - ElementDir.Auto => "auto", - _ => "", - }; - await js.InvokeVoidAsync("BitButil.element.setDir", element, v); - } - - internal static async ValueTask ElementGetEnterKeyHint(this IJSRuntime js, ElementReference element) - { - var value = await js.InvokeAsync("BitButil.element.getEnterKeyHint", element); - return value switch - { - "enter" => EnterKeyHint.Enter, - "done" => EnterKeyHint.Done, - "go" => EnterKeyHint.Go, - "next" => EnterKeyHint.Next, - "previous" => EnterKeyHint.Previous, - "search" => EnterKeyHint.Search, - "send" => EnterKeyHint.Send, - _ => EnterKeyHint.NotSet - }; - } - internal static async ValueTask ElementSetEnterKeyHint(this IJSRuntime js, ElementReference element, EnterKeyHint value) - { - var v = value switch - { - EnterKeyHint.Enter => "enter", - EnterKeyHint.Done => "done", - EnterKeyHint.Go => "go", - EnterKeyHint.Next => "next", - EnterKeyHint.Previous => "previous", - EnterKeyHint.Search => "search", - EnterKeyHint.Send => "send", - _ => "", - }; - await js.InvokeVoidAsync("BitButil.element.setEnterKeyHint", element, v); - } - - internal static async ValueTask ElementGetHidden(this IJSRuntime js, ElementReference element) - { - var value = await js.InvokeAsync("BitButil.element.getHidden", element); - return value switch - { - "true" => Hidden.True, - "until-found" => Hidden.UntilFound, - _ => Hidden.False - }; - } - internal static async ValueTask ElementSetHidden(this IJSRuntime js, ElementReference element, Hidden value) - { - var v = value switch - { - Hidden.True => "true", - Hidden.UntilFound => "until-found", - _ => "false", - }; - await js.InvokeVoidAsync("BitButil.element.setHidden", element, v); - } - - internal static async ValueTask ElementGetInert(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getInert", element); - internal static async ValueTask ElementSetInert(this IJSRuntime js, ElementReference element, bool value) - => await js.InvokeVoidAsync("BitButil.element.setInert", element, value); - - internal static async ValueTask ElementGetInnerText(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getInnerText", element); - internal static async ValueTask ElementSetInnerText(this IJSRuntime js, ElementReference element, string value) - => await js.InvokeVoidAsync("BitButil.element.setInnerText", element, value); - - internal static async ValueTask ElementGetInputMode(this IJSRuntime js, ElementReference element) - { - var value = await js.InvokeAsync("BitButil.element.getInputMode", element); - return value switch - { - "decimal" => InputMode.Decimal, - "email" => InputMode.Email, - "none" => InputMode.None, - "numeric" => InputMode.Numeric, - "search" => InputMode.Search, - "tel" => InputMode.Tel, - "text" => InputMode.Text, - "url" => InputMode.Url, - _ => InputMode.NotSet, - }; - } - internal static async ValueTask ElementSetInputMode(this IJSRuntime js, ElementReference element, InputMode value) - { - var v = value switch - { - InputMode.Decimal => "decimal", - InputMode.Email => "email", - InputMode.None => "none", - InputMode.Numeric => "numeric", - InputMode.Search => "search", - InputMode.Tel => "tel", - InputMode.Text => "text", - InputMode.Url => "url", - _ => "", - }; - await js.InvokeVoidAsync("BitButil.element.setInputMode", element, v); - } - - internal static async ValueTask ElementGetOffsetHeight(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.offsetHeight", element); - - internal static async ValueTask ElementGetOffsetLeft(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.offsetLeft", element); - - internal static async ValueTask ElementGetOffsetTop(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.offsetTop", element); - - internal static async ValueTask ElementGetOffsetWidth(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.offsetWidth", element); - - internal static async ValueTask ElementGetTabIndex(this IJSRuntime js, ElementReference element) - => await js.InvokeAsync("BitButil.element.getTabIndex", element); - internal static async ValueTask ElementSetTabIndex(this IJSRuntime js, ElementReference element, int value) - => await js.InvokeVoidAsync("BitButil.element.setTabIndex", element, value); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/HistoryJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/HistoryJsInterop.cs deleted file mode 100644 index c9cefc5d42..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/HistoryJsInterop.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class HistoryJsInterop -{ - internal static async Task HistoryGetLength(this IJSRuntime js) - => await js.InvokeAsync("BitButil.history.length"); - - internal static async Task HistoryGetScrollRestoration(this IJSRuntime js) - { - var value = await js.InvokeAsync("BitButil.history.scrollRestoration"); - return value == "auto" ? ScrollRestoration.Auto : ScrollRestoration.Manual; - } - - internal static async Task HistorySetScrollRestoration(this IJSRuntime js, ScrollRestoration value) - => await js.InvokeVoidAsync("BitButil.history.setScrollRestoration", value.ToString().ToLowerInvariant()); - - internal static async Task HistoryGetState(this IJSRuntime js) - => await js.InvokeAsync("BitButil.history.state"); - - internal static async Task HistoryGoBack(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.history.back"); - - internal static async Task HistoryGoForward(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.history.forward"); - - internal static async Task HistoryGo(this IJSRuntime js, int? delta) - => await js.InvokeVoidAsync("BitButil.history.go", delta); - - internal static async Task HistoryPushState(this IJSRuntime js, object? state, string unused, string? url) - => await js.InvokeVoidAsync("BitButil.history.pushState", state, unused, url); - - internal static async Task HistoryReplaceState(this IJSRuntime js, object? state, string unused, string? url) - => await js.InvokeVoidAsync("BitButil.history.replaceState", state, unused, url); - - internal static async Task HistoryAddPopState(this IJSRuntime js, string methodName, Guid listenerId) - => await js.InvokeVoidAsync("BitButil.history.addPopState", methodName, listenerId); - - internal static async Task HistoryRemovePopState(this IJSRuntime js, Guid[] ids) - => await js.InvokeVoidAsync("BitButil.history.removePopState", ids); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/KeyboardJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/KeyboardJsInterop.cs deleted file mode 100644 index 39ffa4cf78..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/KeyboardJsInterop.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class KeyboardJsInterop -{ - internal static async Task KeyboardAdd(this IJSRuntime js, - string methodName, - Guid listenerId, - string code, - bool alt, - bool ctrl, - bool meta, - bool shift, - bool preventDefault = false, - bool stopPropagation = false, - bool repeat = false) - => await js.InvokeVoidAsync("BitButil.keyboard.add", - methodName, - listenerId, - code, - alt, - ctrl, - meta, - shift, - preventDefault, - stopPropagation, - repeat); - - internal static async Task KeyboardRemove(this IJSRuntime js, Guid[] ids) - => await js.InvokeVoidAsync("BitButil.keyboard.remove", ids); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/LocationJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/LocationJsInterop.cs deleted file mode 100644 index aef7dbb0b3..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/LocationJsInterop.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class LocationJsInterop -{ - internal static async Task LocationGetHref(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getHref"); - internal static async Task LocationSetHref(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setHref", value); - - internal static async Task LocationGetProtocol(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getProtocol"); - internal static async Task LocationSetProtocol(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setProtocol", value); - - internal static async Task LocationGetHost(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getHost"); - internal static async Task LocationSetHost(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setHost", value); - - internal static async Task LocationGetHostname(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getHostname"); - internal static async Task LocationSetHostname(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setHostname", value); - - internal static async Task LocationGetPort(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getPort"); - internal static async Task LocationSetPort(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setPort", value); - - internal static async Task LocationGetPathname(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getPathname"); - internal static async Task LocationSetPathname(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setPathname", value); - - internal static async Task LocationGetSearch(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getSearch"); - internal static async Task LocationSetSearch(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setSearch", value); - - internal static async Task LocationGetHash(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.getHash"); - internal static async Task LocationSetHash(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.location.setHash", value); - - internal static async Task LocationGetOrigin(this IJSRuntime js) - => await js.InvokeAsync("BitButil.location.origin"); - - internal static async Task LocationAssign(this IJSRuntime js, string url) - => await js.InvokeVoidAsync("BitButil.location.assign", url); - - internal static async Task LocationReload(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.location.reload"); - - internal static async Task LocationReplace(this IJSRuntime js, string url) - => await js.InvokeVoidAsync("BitButil.location.replace", url); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/NavigatorJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/NavigatorJsInterop.cs deleted file mode 100644 index be8bb774bb..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/NavigatorJsInterop.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class NavigatorJsInterop -{ - internal static async Task NavigatorDeviceMemory(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.deviceMemory"); - - internal static async Task NavigatorHardwareConcurrency(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.hardwareConcurrency"); - - internal static async Task NavigatorLanguage(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.language"); - - internal static async Task NavigatorLanguages(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.languages"); - - internal static async Task NavigatorMaxTouchPoints(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.maxTouchPoints"); - - internal static async Task NavigatorOnLine(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.onLine"); - - internal static async Task NavigatorPdfViewerEnabled(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.pdfViewerEnabled"); - - internal static async Task NavigatorUserAgent(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.userAgent"); - - internal static async Task NavigatorWebDriver(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.webdriver"); - - internal static async Task NavigatorCanShare(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.canShare"); - - internal static async Task NavigatorClearAppBadge(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.navigator.clearAppBadge"); - - internal static async Task NavigatorSendBeacon(this IJSRuntime js) - => await js.InvokeAsync("BitButil.navigator.sendBeacon"); - - internal static async Task NavigatorSetAppBadge(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.navigator.setAppBadge"); - - internal static async Task NavigatorShare(this IJSRuntime js, ShareData data) - => await js.InvokeVoidAsync("BitButil.navigator.share", data); - - internal static async Task NavigatorVibrate(this IJSRuntime js, int[] pattern) - => await js.InvokeAsync("BitButil.navigator.vibrate", pattern); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/ScreenJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/ScreenJsInterop.cs deleted file mode 100644 index 0e2a42faeb..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/ScreenJsInterop.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class ScreenJsInterop -{ - internal static async Task ScreenGetAvailableHeight(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.availHeight"); - - internal static async Task ScreenGetAvailableWidth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.availWidth"); - - internal static async Task ScreenGetColorDepth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.colorDepth"); - - internal static async Task ScreenGetHeight(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.height"); - - internal static async Task ScreenIsExtended(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.isExtended"); - - internal static async Task ScreenGetPixelDepth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.pixelDepth"); - - internal static async Task ScreenGetWidth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.screen.width"); - - internal static async Task ScreenAddChange(this IJSRuntime js, string methodName, Guid listenerId) - => await js.InvokeVoidAsync("BitButil.screen.addChange", methodName, listenerId); - - internal static async Task ScreenRemoveChange(this IJSRuntime js, Guid[] ids) - => await js.InvokeVoidAsync("BitButil.screen.removeChange", ids); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/StorageJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/StorageJsInterop.cs deleted file mode 100644 index a833cab624..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/StorageJsInterop.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class StorageJsInterop -{ - internal static async Task StorageGetLength(this IJSRuntime js, string storageName) - => await js.InvokeAsync("BitButil.storage.length", storageName); - - internal static async Task StorageGetKey(this IJSRuntime js, string storageName, int index) - => await js.InvokeAsync("BitButil.storage.key", storageName, index); - - internal static async Task StorageGetItem(this IJSRuntime js, string storageName, string? key) - => await js.InvokeAsync("BitButil.storage.getItem", storageName, key); - - internal static async Task StorageSetItem(this IJSRuntime js, string storageName, string? key, string? value) - => await js.InvokeVoidAsync("BitButil.storage.setItem", storageName, key, value); - - internal static async Task StorageRemoveItem(this IJSRuntime js, string storageName, string? key) - => await js.InvokeVoidAsync("BitButil.storage.removeItem", storageName, key); - - internal static async Task StorageClear(this IJSRuntime js, string storageName) - => await js.InvokeVoidAsync("BitButil.storage.clear", storageName); -} diff --git a/src/Butil/Bit.Butil/Internals/JsInterops/WindowJsInterop.cs b/src/Butil/Bit.Butil/Internals/JsInterops/WindowJsInterop.cs deleted file mode 100644 index 85eaf6fc54..0000000000 --- a/src/Butil/Bit.Butil/Internals/JsInterops/WindowJsInterop.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; - -namespace Bit.Butil; - -internal static class WindowJsInterop -{ - internal static async Task WindowAddBeforeUnload(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.addBeforeUnload"); - - internal static async Task WindowRemoveBeforeUnload(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.removeBeforeUnload"); - - internal static async Task WindowGetInnerHeight(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.innerHeight"); - - internal static async Task WindowGetInnerWidth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.innerWidth"); - - internal static async Task WindowIsSecureContext(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.isSecureContext"); - - internal static async Task WindowLocationBar(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.locationbar"); - - internal static async Task WindowGetName(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.getName"); - internal static async Task WindowSetName(this IJSRuntime js, string value) - => await js.InvokeVoidAsync("BitButil.window.setName", value); - - internal static async Task WindowGetOrigin(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.origin"); - - internal static async Task WindowGetOuterHeight(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.outerHeight"); - - internal static async Task WindowGetOuterWidth(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.outerWidth"); - - internal static async Task WindowGetScreenX(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.screenX"); - - internal static async Task WindowGetScreenY(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.screenY"); - - internal static async Task WindowGetScrollX(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.scrollX"); - - internal static async Task WindowGetScrollY(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.scrollY"); - - internal static async Task WindowAtob(this IJSRuntime js, string data) - => await js.InvokeAsync("BitButil.window.atob", data); - - internal static async Task WindowAlert(this IJSRuntime js, string? message) - => await js.InvokeVoidAsync("BitButil.window.alert", message); - - internal static async Task WindowBlur(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.blur"); - - internal static async Task WindowBtoa(this IJSRuntime js, string data) - => await js.InvokeAsync("BitButil.window.btoa", data); - - internal static async Task WindowClose(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.close"); - - internal static async Task WindowConfirm(this IJSRuntime js, string? message) - => await js.InvokeAsync("BitButil.window.confirm", message); - - internal static async Task WindowFind(this IJSRuntime js, - string? text, - bool? caseSensitive, - bool? backward, - bool? wrapAround, - bool? wholeWord, - bool? searchInFrame) - => await js.InvokeAsync("BitButil.window.find", text, caseSensitive, backward, wrapAround, wholeWord, searchInFrame); - - internal static async Task WindowFocus(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.focus"); - - internal static async Task WindowGetSelection(this IJSRuntime js) - => await js.InvokeAsync("BitButil.window.getSelection"); - - internal static async Task WindowMatchMedia(this IJSRuntime js, string query) - => await js.InvokeAsync("BitButil.window.matchMedia", query); - - internal static async Task WindowOpen(this IJSRuntime js, string? url, string? target, string? windowFeatures) - => await js.InvokeAsync("BitButil.window.open", url, target, windowFeatures); - internal static async Task WindowOpen(this IJSRuntime js, string? url, string? target, WindowFeatures? windowFeatures) - => await js.InvokeAsync("BitButil.window.open", url, target, windowFeatures?.ToString()); - - internal static async Task WindowPrint(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.print"); - - internal static async Task WindowPrompt(this IJSRuntime js, string? message, string? defaultValue) - => await js.InvokeAsync("BitButil.window.prompt", message, defaultValue); - - internal static async Task WindowScroll(this IJSRuntime js, ScrollToOptions? options, float? x, float? y) - => await js.InvokeVoidAsync("BitButil.window.scroll", options?.ToJsObject(), x, y); - - internal static async Task WindowScrollBy(this IJSRuntime js, ScrollToOptions? options, float? x, float? y) - => await js.InvokeVoidAsync("BitButil.window.scrollBy", options?.ToJsObject(), x, y); - - internal static async Task WindowStop(this IJSRuntime js) - => await js.InvokeVoidAsync("BitButil.window.stop"); -} diff --git a/src/Butil/Bit.Butil/Publics/Console.cs b/src/Butil/Bit.Butil/Publics/Console.cs index 184675a68d..33fc9be017 100644 --- a/src/Butil/Bit.Butil/Publics/Console.cs +++ b/src/Butil/Bit.Butil/Publics/Console.cs @@ -11,7 +11,7 @@ public class Console(IJSRuntime js) /// https://developer.mozilla.org/en-US/docs/Web/API/console/assert_static /// public async Task Assert(bool? condition, params object?[]? args) - => await js.ConsoleAssert(condition, args); + => await js.InvokeVoidAsync("BitButil.console.assert", [condition, .. args]); /// /// Clear the console. @@ -19,7 +19,7 @@ public async Task Assert(bool? condition, params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/clear_static /// public async Task Clear() - => await js.ConsoleClear(); + => await js.InvokeVoidAsync("BitButil.console.clear"); /// /// Log the number of times this line has been called with the given label. @@ -27,7 +27,8 @@ public async Task Clear() /// https://developer.mozilla.org/en-US/docs/Web/API/console/count_static /// public async Task Count(string? label = null) - => await js.ConsoleCount(label); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.count") + : js.InvokeVoidAsync("BitButil.console.count", label)); /// /// Resets the value of the counter with the given label. @@ -35,7 +36,8 @@ public async Task Count(string? label = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/countreset_static /// public async Task CountReset(string? label = null) - => await js.ConsoleCountReset(label); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.countReset") + : js.InvokeVoidAsync("BitButil.console.countReset", label)); /// /// Outputs a message to the console with the log level debug. @@ -43,7 +45,7 @@ public async Task CountReset(string? label = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/debug_static /// public async Task Debug(params object?[]? args) - => await js.ConsoleDebug(args); + => await js.InvokeVoidAsync("BitButil.console.debug", args); /// /// Displays an interactive listing of the properties of a specified JavaScript object. @@ -52,7 +54,7 @@ public async Task Debug(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/dir_static /// public async Task Dir(object? item, object? options = null) - => await js.ConsoleDir(item, options); + => await js.InvokeVoidAsync("BitButil.console.dir", item, options); /// /// Displays an XML/HTML Element representation of the specified object if possible @@ -61,7 +63,7 @@ public async Task Dir(object? item, object? options = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/dirxml_static /// public async Task Dirxml(params object?[]? args) - => await js.ConsoleDirxml(args); + => await js.InvokeVoidAsync("BitButil.console.dirxml", args); /// /// Outputs an error message. You may use string substitution and additional arguments with this method. @@ -69,7 +71,7 @@ public async Task Dirxml(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/error_static /// public async Task Error(params object?[]? args) - => await js.ConsoleError(args); + => await js.InvokeVoidAsync("BitButil.console.error", args); /// /// Creates a new inline group, indenting all following output by another level. @@ -78,7 +80,7 @@ public async Task Error(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/group_static /// public async Task Group(params object?[]? args) - => await js.ConsoleGroup(args); + => await js.InvokeVoidAsync("BitButil.console.group", args); /// /// Creates a new inline group, indenting all following output by another level. However, unlike console.group() @@ -88,7 +90,7 @@ public async Task Group(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/groupcollapsed_static /// public async Task GroupCollapsed(params object?[]? args) - => await js.ConsoleGroupCollapsed(args); + => await js.InvokeVoidAsync("BitButil.console.groupCollapsed", args); /// /// Exits the current inline group. @@ -96,7 +98,7 @@ public async Task GroupCollapsed(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/groupend_static /// public async Task GroupEnd() - => await js.ConsoleGroupEnd(); + => await js.InvokeVoidAsync("BitButil.console.groupEnd"); /// /// Informative logging of information. You may use string substitution and additional arguments with this method. @@ -104,7 +106,7 @@ public async Task GroupEnd() /// https://developer.mozilla.org/en-US/docs/Web/API/console/info_static /// public async Task Info(params object?[]? args) - => await js.ConsoleInfo(args); + => await js.InvokeVoidAsync("BitButil.console.info", args); /// /// For general output of logging information. You may use string substitution and additional arguments with this method. @@ -112,7 +114,7 @@ public async Task Info(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/log_static /// public async Task Log(params object?[]? args) - => await js.ConsoleLog(args); + => await js.InvokeVoidAsync("BitButil.console.log", args); /// /// Starts the browser's built-in profiler (for example, the Firefox performance tool). @@ -121,7 +123,8 @@ public async Task Log(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/profile_static /// public async Task Profile(string? name = null) - => await js.ConsoleProfile(name); + => await (name is null ? js.InvokeVoidAsync("BitButil.console.profile") + : js.InvokeVoidAsync("BitButil.console.profile", name)); /// /// Stops the profiler. You can see the resulting profile in the browser's performance tool @@ -130,7 +133,8 @@ public async Task Profile(string? name = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/profileend_static /// public async Task ProfileEnd(string? name = null) - => await js.ConsoleProfileEnd(name); + => await (name is null ? js.InvokeVoidAsync("BitButil.console.profileEnd") + : js.InvokeVoidAsync("BitButil.console.profileEnd", name)); /// /// Displays tabular data as a table. @@ -138,7 +142,8 @@ public async Task ProfileEnd(string? name = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/table_static /// public async Task Table(object? data, object? properties = null) - => await js.ConsoleTable(data, properties); + => await (properties is null ? js.InvokeVoidAsync("BitButil.console.table", data) + : js.InvokeVoidAsync("BitButil.console.table", data, properties)); /// /// Starts a timer with a name specified as an input parameter. Up to 10,000 simultaneous timers can run on a given page. @@ -146,7 +151,8 @@ public async Task Table(object? data, object? properties = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/time_static /// public async Task Time(string? label = null) - => await js.ConsoleTime(label); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.time") + : js.InvokeVoidAsync("BitButil.console.time", label)); /// /// Stops the specified timer and logs the elapsed time in milliseconds since it started. @@ -154,7 +160,8 @@ public async Task Time(string? label = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/timeend_static /// public async Task TimeEnd(string? label = null) - => await js.ConsoleTimeEnd(label); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeEnd") + : js.InvokeVoidAsync("BitButil.console.timeEnd", label)); /// /// Logs the value of the specified timer to the console. @@ -162,7 +169,8 @@ public async Task TimeEnd(string? label = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/timelog_static /// public async Task TimeLog(string? label = null, params object?[]? args) - => await js.ConsoleTimeLog(label, args); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeLog") + : js.InvokeVoidAsync("BitButil.console.timeLog", [label, .. args])); /// /// Adds a marker to the browser performance tool's timeline. @@ -170,7 +178,8 @@ public async Task TimeLog(string? label = null, params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/timestamp_static /// public async Task TimeStamp(string? label = null) - => await js.ConsoleTimeStamp(label); + => await (label is null ? js.InvokeVoidAsync("BitButil.console.timeStamp") + : js.InvokeVoidAsync("BitButil.console.timeStamp", label)); /// /// Outputs a stack trace. @@ -178,7 +187,7 @@ public async Task TimeStamp(string? label = null) /// https://developer.mozilla.org/en-US/docs/Web/API/console/trace_static /// public async Task Trace(params object?[]? args) - => await js.ConsoleTrace(args); + => await js.InvokeVoidAsync("BitButil.console.trace", args); /// /// Outputs a warning message. @@ -186,5 +195,5 @@ public async Task Trace(params object?[]? args) /// https://developer.mozilla.org/en-US/docs/Web/API/console/warn_static /// public async Task Warn(params object?[]? args) - => await js.ConsoleWarn(args); + => await js.InvokeVoidAsync("BitButil.console.warn", args); } diff --git a/src/Butil/Bit.Butil/Publics/Cookie.cs b/src/Butil/Bit.Butil/Publics/Cookie.cs index 5a373ddf71..f1e8305799 100644 --- a/src/Butil/Bit.Butil/Publics/Cookie.cs +++ b/src/Butil/Bit.Butil/Publics/Cookie.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +using System.Linq; +using System.Threading.Tasks; using Microsoft.JSInterop; namespace Bit.Butil; @@ -15,29 +16,42 @@ public class Cookie(IJSRuntime js) /// Gets all cookies registered on the current document. /// public async Task GetAll() - => await js.CookieGetAll(); + { + var cookie = await js.InvokeAsync("BitButil.cookie.get"); + return cookie.Split(';').Select(ButilCookie.Parse).ToArray(); + } /// /// Returns a cookie by providing the cookie name. /// public async Task Get(string name) - => await js.CookieGet(name); + { + var allCookies = await GetAll(); + return allCookies.FirstOrDefault(c => c.Name == name); + } /// /// Removes a cookie by providing the its name. /// public async Task Remove(string name) - => await js.CookieRemove(name); + { + var cookie = new ButilCookie { Name = name, MaxAge = 0, Expires = null }; + await Set(cookie); + } /// /// Removes a cookie. /// public async Task Remove(ButilCookie cookie) - => await js.CookieRemove(cookie); + { + cookie.MaxAge = 0; + cookie.Expires = null; + await Set(cookie); + } /// /// Sets a cookie. /// public async Task Set(ButilCookie cookie) - => await js.CookieSet(cookie); + => await js.InvokeVoidAsync("BitButil.cookie.set", cookie.ToString()); } diff --git a/src/Butil/Bit.Butil/Publics/Crypto.cs b/src/Butil/Bit.Butil/Publics/Crypto.cs index e87099a900..6463bf698d 100644 --- a/src/Butil/Bit.Butil/Publics/Crypto.cs +++ b/src/Butil/Bit.Butil/Publics/Crypto.cs @@ -17,14 +17,46 @@ public class Crypto(IJSRuntime js) /// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt /// public ValueTask Encrypt(T algorithm, byte[] key, byte[] data, CryptoKeyHash? keyHash = null) where T : ICryptoAlgorithmParams - => js.CryptoEncrypt(algorithm, key, data, keyHash); + { + if (algorithm.GetType() == typeof(RsaOaepCryptoAlgorithmParams)) + { + var keyHashString = keyHash switch + { + CryptoKeyHash.Sha384 => "SHA-384", + CryptoKeyHash.Sha512 => "SHA-512", + _ => "SHA-256", + }; + + return js.InvokeAsync("BitButil.crypto.encryptRsaOaep", algorithm, key, data, keyHashString); + } + + if (algorithm.GetType() == typeof(AesCtrCryptoAlgorithmParams)) + { + return js.InvokeAsync("BitButil.crypto.encryptAesCtr", algorithm, key, data); + } + + if (algorithm.GetType() == typeof(AesCbcCryptoAlgorithmParams)) + { + return js.InvokeAsync("BitButil.crypto.encryptAesCbc", algorithm, key, data); + } + + + return js.InvokeAsync("BitButil.crypto.encryptAesGcm", algorithm, key, data); + } + /// /// The Encrypt method of the Crypto interface that encrypts data. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt ///
- public ValueTask Encrypt(CryptoAlgorithm algorithm, byte[]key, byte[]data, byte[]? iv = null, CryptoKeyHash? keyHash = null) - => js.CryptoEncrypt(algorithm, key, data, iv, keyHash); + public ValueTask Encrypt(CryptoAlgorithm algorithm, byte[] key, byte[] data, byte[]? iv = null, CryptoKeyHash? keyHash = null) + => algorithm switch + { + CryptoAlgorithm.AesCtr => Encrypt(new AesCtrCryptoAlgorithmParams { Counter = iv }, key, data, null), + CryptoAlgorithm.AesCbc => Encrypt(new AesCbcCryptoAlgorithmParams { Iv = iv }, key, data, null), + CryptoAlgorithm.AesGcm => Encrypt(new AesGcmCryptoAlgorithmParams { Iv = iv }, key, data, null), + _ => Encrypt(new RsaOaepCryptoAlgorithmParams(), key, data, keyHash), + }; /// /// The Decrypt method of the Crypto interface that decrypts data. @@ -32,12 +64,42 @@ public ValueTask Encrypt(CryptoAlgorithm algorithm, byte[]key, byte[]dat /// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt /// public ValueTask Decrypt(T algorithm, byte[] key, byte[] data, CryptoKeyHash? keyHash = null) where T : ICryptoAlgorithmParams - => js.CryptoDecrypt(algorithm, key, data, keyHash); + { + if (algorithm.GetType() == typeof(RsaOaepCryptoAlgorithmParams)) + { + var keyHashString = keyHash switch + { + CryptoKeyHash.Sha384 => "SHA-384", + CryptoKeyHash.Sha512 => "SHA-512", + _ => "SHA-256", + }; + + return js.InvokeAsync("BitButil.crypto.decryptRsaOaep", algorithm, key, data, keyHashString); + } + + if (algorithm.GetType() == typeof(AesCtrCryptoAlgorithmParams)) + { + return js.InvokeAsync("BitButil.crypto.decryptAesCtr", algorithm, key, data); + } + + if (algorithm.GetType() == typeof(AesCbcCryptoAlgorithmParams)) + { + return js.InvokeAsync("BitButil.crypto.decryptAesCbc", algorithm, key, data); + } + + return js.InvokeAsync("BitButil.crypto.decryptAesGcm", algorithm, key, data); + } /// /// The Decrypt method of the Crypto interface that decrypts data. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/decrypt ///
public ValueTask Decrypt(CryptoAlgorithm algorithm, byte[] key, byte[] data, byte[]? iv = null, CryptoKeyHash? keyHash = null) - => js.CryptoDecrypt(algorithm, key, data, iv, keyHash); + => algorithm switch + { + CryptoAlgorithm.AesCtr => Decrypt(new AesCtrCryptoAlgorithmParams { Counter = iv }, key, data, null), + CryptoAlgorithm.AesCbc => Decrypt(new AesCbcCryptoAlgorithmParams { Iv = iv }, key, data, null), + CryptoAlgorithm.AesGcm => Decrypt(new AesGcmCryptoAlgorithmParams { Iv = iv }, key, data, null), + _ => Decrypt(new RsaOaepCryptoAlgorithmParams(), key, data, keyHash), + }; } diff --git a/src/Butil/Bit.Butil/Publics/Document.cs b/src/Butil/Bit.Butil/Publics/Document.cs index eb369096b6..3d11290af0 100644 --- a/src/Butil/Bit.Butil/Publics/Document.cs +++ b/src/Butil/Bit.Butil/Publics/Document.cs @@ -25,7 +25,7 @@ public async Task RemoveEventListener(string domEvent, Action listener, bo /// https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet /// public async Task GetCharacterSet() - => await js.DocumentGetCharacterSet(); + => await js.InvokeAsync("BitButil.document.characterSet"); /// /// Indicates whether the document is rendered in quirks or strict mode. @@ -33,7 +33,14 @@ public async Task GetCharacterSet() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode /// public async Task GetCompatMode() - => await js.DocumentGetCompatMode(); + { + var mode = await js.InvokeAsync("BitButil.document.compatMode"); + return mode switch + { + "BackCompat" => CompatMode.BackCompat, + _ => CompatMode.CSS1Compat + }; + } /// /// Returns the Content-Type from the MIME Header of the current document. @@ -41,7 +48,7 @@ public async Task GetCompatMode() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType /// public async Task GetContentType() - => await js.DocumentGetContentType(); + => await js.InvokeAsync("BitButil.document.contentType"); /// /// Returns the document location as a string. @@ -49,7 +56,7 @@ public async Task GetContentType() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI /// public async Task GetDocumentURI() - => await js.DocumentGetDocumentURI(); + => await js.InvokeAsync("BitButil.document.documentURI"); /// /// Gets ability to edit the whole document. @@ -57,14 +64,21 @@ public async Task GetDocumentURI() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode /// public async Task GetDesignMode() - => await js.DocumentGetDesignMode(); + { + var mode = await js.InvokeAsync("BitButil.document.getDesignMode"); + return mode switch + { + "on" => DesignMode.On, + _ => DesignMode.Off + }; + } /// /// Sets ability to edit the whole document. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode ///
public async Task SetDesignMode(DesignMode mode) - => await js.DocumentSetDesignMode(mode); + => await js.InvokeVoidAsync("BitButil.document.setDesignMode", mode.ToString()); /// /// Gets directionality (rtl/ltr) of the document. @@ -72,14 +86,21 @@ public async Task SetDesignMode(DesignMode mode) /// https://developer.mozilla.org/en-US/docs/Web/API/Document/dir /// public async Task GetDir() - => await js.DocumentGetDir(); + { + var mode = await js.InvokeAsync("BitButil.document.getDir"); + return mode switch + { + "rtl" => DocumentDir.Rtl, + _ => DocumentDir.Ltr + }; + } /// /// Sets directionality (rtl/ltr) of the document. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Document/dir ///
public async Task SetDir(DocumentDir dir) - => await js.DocumentSetDir(dir); + => await js.InvokeVoidAsync("BitButil.document.setDir", dir.ToString()); /// /// Returns the URI of the page that linked to this page. @@ -87,7 +108,7 @@ public async Task SetDir(DocumentDir dir) /// https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer /// public async Task GetReferrer() - => await js.DocumentGetReferrer(); + => await js.InvokeAsync("BitButil.document.referrer"); /// /// Gets the title of the current document. @@ -95,14 +116,14 @@ public async Task GetReferrer() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/title /// public async Task GetTitle() - => await js.DocumentGetTitle(); + => await js.InvokeAsync("BitButil.document.getTitle"); /// /// Sets the title of the current document. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Document/title ///
public async Task SetTitle(string title) - => await js.DocumentSetTitle(title); + => await js.InvokeVoidAsync("BitButil.document.setTitle", title); /// /// Returns the document location as a string. @@ -110,7 +131,7 @@ public async Task SetTitle(string title) /// https://developer.mozilla.org/en-US/docs/Web/API/Document/URL /// public async Task GetUrl() - => await js.DocumentGetUrl(); + => await js.InvokeAsync("BitButil.document.URL"); /// /// Stops document's fullscreen element from being displayed fullscreen. @@ -118,7 +139,7 @@ public async Task GetUrl() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen /// public async Task ExitFullscreen() - => await js.DocumentExitFullscreen(); + => await js.InvokeVoidAsync("BitButil.document.exitFullscreen"); /// /// Release the pointer lock. @@ -126,5 +147,5 @@ public async Task ExitFullscreen() /// https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock /// public async Task ExitPointerLock() - => await js.DocumentExitPointerLock(); + => await js.InvokeVoidAsync("BitButil.document.exitPointerLock"); } diff --git a/src/Butil/Bit.Butil/Publics/Element.cs b/src/Butil/Bit.Butil/Publics/Element.cs deleted file mode 100644 index ed3db0c585..0000000000 --- a/src/Butil/Bit.Butil/Publics/Element.cs +++ /dev/null @@ -1,384 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.JSInterop; -using Microsoft.AspNetCore.Components; - -namespace Bit.Butil; - -/// -/// Element is the most general base class from which all element objects (i.e. objects that represent elements) in a Document inherit. -/// It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. -/// The HTMLElement interface represents any HTML element. Some elements directly implement this interface, -/// while others implement it via an interface that inherits it. -///
-/// More infor: -/// More infor: -///
-public class Element(IJSRuntime js) -{ - /// - /// Removes keyboard focus from the currently focused element. - /// - public async Task Blur(ElementReference element) - => await js.ElementBlur(element); - - /// - /// Retrieves the value of the named attribute from the current node and returns it as a string. - /// - public async Task GetAttribute(ElementReference element, string name) - => await js.ElementGetAttribute(element, name); - - /// - /// Returns an array of attribute names from the current element. - /// - public async Task GetAttributeNames(ElementReference element) - => await js.ElementGetAttributeNames(element); - - /// - /// Returns the size of an element and its position relative to the viewport. - /// - public async Task GetBoundingClientRect(ElementReference element) - => await js.ElementGetBoundingClientRect(element); - - /// - /// Returns a boolean value indicating if the element has the specified attribute or not. - /// - public async Task HasAttribute(ElementReference element, string name) - => await js.ElementHasAttribute(element, name); - - /// - /// Returns a boolean value indicating if the element has one or more HTML attributes present. - /// - public async Task HasAttributes(ElementReference element) - => await js.ElementHasAttributes(element); - - /// - /// Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID. - /// - public async Task HasPointerCapture(ElementReference element, int pointerId) - => await js.ElementHasPointerCapture(element, pointerId); - - /// - /// Returns a boolean value indicating whether or not the element would be selected by the specified selector string. - /// - public async Task Matches(ElementReference element, string selectors) - => await js.ElementMatches(element, selectors); - - /// - /// Releases (stops) pointer capture that was previously set for a specific pointer event. - /// - public async Task ReleasePointerCapture(ElementReference element, int pointerId) - => await js.ElementReleasePointerCapture(element, pointerId); - - /// - /// Removes the element from the children list of its parent. - /// - public async Task Remove(ElementReference element) - => await js.ElementRemove(element); - - /// - /// Removes the named attribute from the current node. - /// - public async Task RemoveAttribute(ElementReference element, string name) - => await js.ElementRemoveAttribute(element, name); - - /// - /// Asynchronously asks the browser to make the element fullscreen. - /// - public async Task RequestFullScreen(ElementReference element, FullScreenOptions? options) - => await js.ElementRequestFullScreen(element, options); - - /// - /// Allows to asynchronously ask for the pointer to be locked on the given element. - /// - public async Task RequestPointerLock(ElementReference element) - => await js.ElementRequestPointerLock(element); - - /// - /// Scrolls to a particular set of coordinates inside a given element. - /// - public async Task Scroll(ElementReference element, ScrollToOptions? options) - => await js.ElementScroll(element, options, null, null); - /// - /// Scrolls to a particular set of coordinates inside a given element. - /// - public async Task Scroll(ElementReference element, double? x, double? y) - => await js.ElementScroll(element, null, x, y); - - /// - /// Scrolls an element by the given amount. - /// - public async Task ScrollBy(ElementReference element, ScrollToOptions? options) - => await js.ElementScrollBy(element, options, null, null); - /// - /// Scrolls an element by the given amount. - /// - public async Task ScrollBy(ElementReference element, double? x, double? y) - => await js.ElementScrollBy(element, null, x, y); - - /// - /// Scrolls the page until the element gets into the view. - /// - public async Task ScrollIntoView(ElementReference element) - => await js.ElementScrollIntoView(element, null, null); - /// - /// Scrolls the page until the element gets into the view. - /// - public async Task ScrollIntoView(ElementReference element, bool alignToTop) - => await js.ElementScrollIntoView(element, alignToTop, null); - /// - /// Scrolls the page until the element gets into the view. - /// - public async Task ScrollIntoView(ElementReference element, ScrollIntoViewOptions options) - => await js.ElementScrollIntoView(element, null, options); - - /// - /// Sets the value of a named attribute of the current node. - /// - public async Task SetAttribute(ElementReference element, string name, string value) - => await js.ElementSetAttribute(element, name, value); - - /// - /// Designates a specific element as the capture target of future pointer events. - /// - public async Task SetPointerCapture(ElementReference element, int pointerId) - => await js.ElementSetPointerCapture(element, pointerId); - - /// - /// Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element. - /// - public async Task ToggleAttribute(ElementReference element, string name, bool? force = null) - => await js.ElementToggleAttribute(element, name, force); - - /// - /// A string representing the access key assigned to the element. - /// - public async Task GetAccessKey(ElementReference element) - => await js.ElementGetAccessKey(element); - /// - /// A string representing the access key assigned to the element. - /// - public async Task SetAccessKey(ElementReference element, string key) - => await js.ElementSetAccessKey(element, key); - - /// - /// A string representing the class of the element. - /// - public async Task GetClassName(ElementReference element) - => await js.ElementGetClassName(element); - /// - /// A string representing the class of the element. - /// - public async Task SetClassName(ElementReference element, string className) - => await js.ElementSetClassName(element, className); - - /// - /// Returns a number representing the inner height of the element in px. - /// - public async Task GetClientHeight(ElementReference element) - => await js.ElementGetClientHeight(element); - - /// - /// Returns a number representing the width of the left border of the element in px. - /// - public async Task GetClientLeft(ElementReference element) - => await js.ElementGetClientLeft(element); - - /// - /// Returns a number representing the width of the top border of the element in px. - /// - public async Task GetClientTop(ElementReference element) - => await js.ElementGetClientTop(element); - - /// - /// Returns a number representing the inner width of the element in px. - /// - public async Task GetClientWidth(ElementReference element) - => await js.ElementGetClientWidth(element); - - /// - /// A string representing the id of the element. - /// - public async Task GetId(ElementReference element) - => await js.ElementGetId(element); - /// - /// A string representing the id of the element. - /// - public async Task SetId(ElementReference element, string id) - => await js.ElementSetId(element, id); - - /// - /// A string representing the markup of the element's content. - /// - public async Task GetInnerHtml(ElementReference element) - => await js.ElementGetInnerHTML(element); - /// - /// A string representing the markup of the element's content. - /// - public async Task SetInnerHtml(ElementReference element, string innerHtml) - => await js.ElementSetInnerHTML(element, innerHtml); - - /// - /// A string representing the markup of the element including its content. - /// - public async Task GetOuterHtml(ElementReference element) - => await js.ElementGetOuterHTML(element); - /// - /// A string representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string. - /// - public async Task SetOuterHtml(ElementReference element, string outerHtml) - => await js.ElementSetOuterHTML(element, outerHtml); - - /// - /// Returns a number representing the scroll view height of an element. - /// - public async Task GetScrollHeight(ElementReference element) - => await js.ElementGetScrollHeight(element); - - /// - /// A number representing the left scroll offset of the element. - /// - public async Task GetScrollLeft(ElementReference element) - => await js.ElementGetScrollLeft(element); - - /// - /// A number representing number of pixels the top of the element is scrolled vertically. - /// - public async Task GetScrollTop(ElementReference element) - => await js.ElementGetScrollTop(element); - - /// - /// Returns a number representing the scroll view width of the element. - /// - public async Task GetScrollWidth(ElementReference element) - => await js.ElementGetScrollWidth(element); - - /// - /// Returns a string with the name of the tag for the given element. - /// - public async Task GetTagName(ElementReference element) - => await js.ElementGetScrollWidth(element); - - /// - /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. - /// - public async Task GetContentEditable(ElementReference element) - => await js.ElementGetContentEditable(element); - /// - /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. - /// - public async Task SetContentEditable(ElementReference element, ContentEditable value) - => await js.ElementSetContentEditable(element, value); - - /// - /// Returns a boolean value indicating whether or not the content of the element can be edited. - /// - public async Task IsContentEditable(ElementReference element) - => await js.ElementIsContentEditable(element); - - /// - /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. - /// - public async Task GetDir(ElementReference element) - => await js.ElementGetDir(element); - /// - /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. - /// - public async Task SetDir(ElementReference element, ElementDir value) - => await js.ElementSetDir(element, value); - - /// - /// The enterKeyHint property is an enumerated property defining what action label (or icon) - /// to present for the enter key on virtual keyboards. - /// - public async Task GetEnterKeyHint(ElementReference element) - => await js.ElementGetEnterKeyHint(element); - /// - /// The enterKeyHint property is an enumerated property defining what action label (or icon) - /// to present for the enter key on virtual keyboards. - /// - public async Task SetEnterKeyHint(ElementReference element, EnterKeyHint value) - => await js.ElementSetEnterKeyHint(element, value); - - /// - /// The HTMLElement property hidden reflects the value of the element's hidden attribute. - /// - public async Task GetHidden(ElementReference element) - => await js.ElementGetHidden(element); - /// - /// The HTMLElement property hidden reflects the value of the element's hidden attribute. - /// - public async Task SetHidden(ElementReference element, Hidden value) - => await js.ElementSetHidden(element, value); - - /// - /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, - /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. - /// - public async Task GetInert(ElementReference element) - => await js.ElementGetInert(element); - /// - /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, - /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. - /// - public async Task SetInert(ElementReference element, bool value) - => await js.ElementSetInert(element, value); - - /// - /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. - /// - public async Task GetInnerText(ElementReference element) - => await js.ElementGetInnerText(element); - /// - /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. - /// - public async Task SetInnerText(ElementReference element, string value) - => await js.ElementSetInnerText(element, value); - - /// - /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. - /// - public async Task GetInputMode(ElementReference element) - => await js.ElementGetInputMode(element); - /// - /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. - /// - public async Task SetInputMode(ElementReference element, InputMode value) - => await js.ElementSetInputMode(element, value); - - /// - /// The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders in px. - /// - public async Task GetOffsetHeight(ElementReference element) - => await js.ElementGetOffsetHeight(element); - - /// - /// The HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner - /// of the current element is offset to the left within the HTMLElement.offsetParent node. - /// - public async Task GetOffsetLeft(ElementReference element) - => await js.ElementGetOffsetLeft(element); - - /// - /// The HTMLElement.offsetTop read-only property returns the distance from the outer border of the current element - /// (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element. - /// - public async Task GetOffsetTop(ElementReference element) - => await js.ElementGetOffsetTop(element); - - /// - /// The layout width of an element in px. - /// - public async Task GetOffsetWidth(ElementReference element) - => await js.ElementGetOffsetWidth(element); - - /// - /// A number representing the position of the element in the tabbing order. - /// - public async Task GetTabIndex(ElementReference element) - => await js.ElementGetTabIndex(element); - /// - /// A number representing the position of the element in the tabbing order. - /// - public async Task SetTabIndex(ElementReference element, int value) - => await js.ElementSetTabIndex(element, value); -} diff --git a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs index d0797ab249..c6ba9b6746 100644 --- a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs +++ b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs @@ -6,6 +6,15 @@ namespace Bit.Butil; +/// +/// Element is the most general base class from which all element objects (i.e. objects that represent elements) in a Document inherit. +/// It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. +/// The HTMLElement interface represents any HTML element. Some elements directly implement this interface, +/// while others implement it via an interface that inherits it. +///
+/// More infor: +/// More infor: +///
public static class ElementReferenceExtensions { //[UnsafeAccessor(UnsafeAccessorKind.Method, Name = "get_JSRuntime")] @@ -21,176 +30,482 @@ private static IJSRuntime GetJSRuntime(ElementReference elementReference) return JSRuntimeGetter(context); } - + /// + /// Removes keyboard focus from the currently focused element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur + ///
public static ValueTask Blur(this ElementReference element) - => GetJSRuntime(element).ElementBlur(element); + => GetJSRuntime(element).InvokeVoidAsync("BitButil.element.blur", element); + /// + /// Retrieves the value of the named attribute from the current node and returns it as a string. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute + ///
public static ValueTask GetAttribute(this ElementReference element, string name) - => GetJSRuntime(element).ElementGetAttribute(element, name); + => GetJSRuntime(element).InvokeAsync("BitButil.element.getAttribute", element, name); + /// + /// Returns an array of attribute names from the current element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames + ///
public static async ValueTask GetAttributeNames(this ElementReference element) - => await GetJSRuntime(element).ElementGetAttributeNames(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getAttributeNames", element); + /// + /// Returns the size of an element and its position relative to the viewport. + /// public static async ValueTask GetBoundingClientRect(this ElementReference element) - => await GetJSRuntime(element).ElementGetBoundingClientRect(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getBoundingClientRect", element); + /// + /// Returns a boolean value indicating if the element has the specified attribute or not. + /// public static async ValueTask HasAttribute(this ElementReference element, string name) - => await GetJSRuntime(element).ElementHasAttribute(element, name); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasAttribute", element, name); + /// + /// Returns a boolean value indicating if the element has one or more HTML attributes present. + /// public static async ValueTask HasAttributes(this ElementReference element) - => await GetJSRuntime(element).ElementHasAttributes(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasAttributes", element); + /// + /// Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID. + /// public static async ValueTask HasPointerCapture(this ElementReference element, int pointerId) - => await GetJSRuntime(element).ElementHasPointerCapture(element, pointerId); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasPointerCapture", element, pointerId); + /// + /// Returns a boolean value indicating whether or not the element would be selected by the specified selector string. + /// public static async ValueTask Matches(this ElementReference element, string selectors) - => await GetJSRuntime(element).ElementMatches(element, selectors); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.matches", element, selectors); + /// + /// Releases (stops) pointer capture that was previously set for a specific pointer event. + /// public static async ValueTask ReleasePointerCapture(this ElementReference element, int pointerId) - => await GetJSRuntime(element).ElementReleasePointerCapture(element, pointerId); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.releasePointerCapture", element, pointerId); + /// + /// Removes the element from the children list of its parent. + /// public static async ValueTask Remove(this ElementReference element) - => await GetJSRuntime(element).ElementRemove(element); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.remove", element); + /// + /// Removes the named attribute from the current node. + /// public static async ValueTask RemoveAttribute(this ElementReference element, string name) - => await GetJSRuntime(element).ElementRemoveAttribute(element, name); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.removeAttribute", element, name); + /// + /// Asynchronously asks the browser to make the element fullscreen. + /// public static async ValueTask RequestFullScreen(this ElementReference element, FullScreenOptions? options) - => await GetJSRuntime(element).ElementRequestFullScreen(element, options); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.requestFullScreen", element, options?.ToJsObject()); + /// + /// Allows to asynchronously ask for the pointer to be locked on the given element. + /// public static async ValueTask RequestPointerLock(this ElementReference element) - => await GetJSRuntime(element).ElementRequestPointerLock(element); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.requestPointerLock", element); + /// + /// Scrolls to a particular set of coordinates inside a given element. + /// public static async ValueTask Scroll(this ElementReference element, ScrollToOptions? options) - => await GetJSRuntime(element).ElementScroll(element, options, null, null); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scroll", element, options?.ToJsObject(), null, null); + /// + /// Scrolls to a particular set of coordinates inside a given element. + /// public static async ValueTask Scroll(this ElementReference element, double? x, double? y) - => await GetJSRuntime(element).ElementScroll(element, null, x, y); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scroll", element, null, x, y); + /// + /// Scrolls an element by the given amount. + /// public static async ValueTask ScrollBy(this ElementReference element, ScrollToOptions? options) - => await GetJSRuntime(element).ElementScrollBy(element, options, null, null); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollBy", element, options?.ToJsObject(), null, null); + /// + /// Scrolls an element by the given amount. + /// public static async ValueTask ScrollBy(this ElementReference element, double? x, double? y) - => await GetJSRuntime(element).ElementScrollBy(element, null, x, y); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollBy", element, null, x, y); + /// + /// Scrolls the page until the element gets into the view. + /// public static async ValueTask ScrollIntoView(this ElementReference element) - => await GetJSRuntime(element).ElementScrollIntoView(element, null, null); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, null, null); + /// + /// Scrolls the page until the element gets into the view. + /// public static async ValueTask ScrollIntoView(this ElementReference element, bool alignToTop) - => await GetJSRuntime(element).ElementScrollIntoView(element, alignToTop, null); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, alignToTop, null); + /// + /// Scrolls the page until the element gets into the view. + /// public static async ValueTask ScrollIntoView(this ElementReference element, ScrollIntoViewOptions options) - => await GetJSRuntime(element).ElementScrollIntoView(element, null, options); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, null, options?.ToJsObject()); + /// + /// Sets the value of a named attribute of the current node. + /// public static async ValueTask SetAttribute(this ElementReference element, string name, string value) - => await GetJSRuntime(element).ElementSetAttribute(element, name, value); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setAttribute", element, name, value); + /// + /// Designates a specific element as the capture target of future pointer events. + /// public static async ValueTask SetPointerCapture(this ElementReference element, int pointerId) - => await GetJSRuntime(element).ElementSetPointerCapture(element, pointerId); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setPointerCapture", element, pointerId); + /// + /// Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element. + /// public static async ValueTask ToggleAttribute(this ElementReference element, string name, bool? force) - => await GetJSRuntime(element).ElementToggleAttribute(element, name, force); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.toggleAttribute", element, name, force); + /// + /// A string representing the access key assigned to the element. + /// public static async ValueTask GetAccessKey(this ElementReference element) - => await GetJSRuntime(element).ElementGetAccessKey(element); - public static async ValueTask SetAccessKey(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetAccessKey(element, value); - + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getAccessKey", element); + /// + /// A string representing the access key assigned to the element. + /// + public static async ValueTask SetAccessKey(this ElementReference element, string key) + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setAccessKey", element, key); + + /// + /// A string representing the class of the element. + /// public static async ValueTask GetClassName(this ElementReference element) - => await GetJSRuntime(element).ElementGetClassName(element); - public static async ValueTask SetClassName(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetClassName(element, value); - + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getClassName", element); + /// + /// A string representing the class of the element. + /// + public static async ValueTask SetClassName(this ElementReference element, string className) + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setClassName", element, className); + + /// + /// Returns a number representing the inner height of the element in px. + /// public static async ValueTask GetClientHeight(this ElementReference element) - => await GetJSRuntime(element).ElementGetClientHeight(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientHeight", element); + /// + /// Returns a number representing the width of the left border of the element in px. + /// public static async ValueTask GetClientLeft(this ElementReference element) - => await GetJSRuntime(element).ElementGetClientLeft(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientLeft", element); + /// + /// Returns a number representing the width of the top border of the element in px. + /// public static async ValueTask GetClientTop(this ElementReference element) - => await GetJSRuntime(element).ElementGetClientTop(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientTop", element); + /// + /// Returns a number representing the inner width of the element in px. + /// public static async ValueTask GetClientWidth(this ElementReference element) - => await GetJSRuntime(element).ElementGetClientWidth(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientWidth", element); + /// + /// A string representing the id of the element. + /// public static async ValueTask GetId(this ElementReference element) - => await GetJSRuntime(element).ElementGetId(element); - public static async ValueTask SetId(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetId(element, value); - + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getId", element); + /// + /// A string representing the id of the element. + /// + public static async ValueTask SetId(this ElementReference element, string id) + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setId", element, id); + + /// + /// A string representing the markup of the element's content. + /// public static async ValueTask GetInnerHtml(this ElementReference element) - => await GetJSRuntime(element).ElementGetInnerHTML(element); - public static async ValueTask SetInnerHtml(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetInnerHTML(element, value); - + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInnerHTML", element); + /// + /// A string representing the markup of the element's content. + /// + public static async ValueTask SetInnerHtml(this ElementReference element, string innerHtml) + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInnerHTML", element, innerHtml); + + /// + /// A string representing the markup of the element including its content. + /// public static async ValueTask GetOuterHtml(this ElementReference element) - => await GetJSRuntime(element).ElementGetOuterHTML(element); - public static async ValueTask SetOuterHtml(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetOuterHTML(element, value); - + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getOuterHTML", element); + /// + /// A string representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string. + /// + public static async ValueTask SetOuterHtml(this ElementReference element, string outerHtml) + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setOuterHTML", element, outerHtml); + + /// + /// Returns a number representing the scroll view height of an element. + /// public static async ValueTask GetScrollHeight(this ElementReference element) - => await GetJSRuntime(element).ElementGetScrollHeight(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollHeight", element); + /// + /// A number representing the left scroll offset of the element. + /// public static async ValueTask GetScrollLeft(this ElementReference element) - => await GetJSRuntime(element).ElementGetScrollLeft(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollLeft", element); + /// + /// A number representing number of pixels the top of the element is scrolled vertically. + /// public static async ValueTask GetScrollTop(this ElementReference element) - => await GetJSRuntime(element).ElementGetScrollTop(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollTop", element); + /// + /// Returns a number representing the scroll view width of the element. + /// public static async ValueTask GetScrollWidth(this ElementReference element) - => await GetJSRuntime(element).ElementGetScrollWidth(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollWidth", element); + /// + /// Returns a string with the name of the tag for the given element. + /// public static async ValueTask GetTagName(this ElementReference element) - => await GetJSRuntime(element).ElementGetTagName(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.tagName", element); + /// + /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. + /// public static async ValueTask GetContentEditable(this ElementReference element) - => await GetJSRuntime(element).ElementGetContentEditable(element); + { + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getContentEditable", element); + return value switch + { + "true" => ContentEditable.True, + "false" => ContentEditable.False, + "plaintext-only" => ContentEditable.PlainTextOnly, + _ => ContentEditable.Inherit + }; + } + /// + /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. + /// public static async ValueTask SetContentEditable(this ElementReference element, ContentEditable value) - => await GetJSRuntime(element).ElementSetContentEditable(element, value); + { + var v = value switch + { + ContentEditable.False => "false", + ContentEditable.True => "true", + ContentEditable.PlainTextOnly => "plaintext-only", + _ => "inherit", + }; + await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setContentEditable", element, v); + } + /// + /// Returns a boolean value indicating whether or not the content of the element can be edited. + /// public static async ValueTask IsContentEditable(this ElementReference element) - => await GetJSRuntime(element).ElementIsContentEditable(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.isContentEditable", element); + /// + /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. + /// public static async ValueTask GetDir(this ElementReference element) - => await GetJSRuntime(element).ElementGetDir(element); + { + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getDir", element); + return value switch + { + "ltr" => ElementDir.Ltr, + "rtl" => ElementDir.Rtl, + "auto" => ElementDir.Auto, + _ => ElementDir.NotSet, + }; + } + /// + /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. + /// public static async ValueTask SetDir(this ElementReference element, ElementDir value) - => await GetJSRuntime(element).ElementSetDir(element, value); + { + var v = value switch + { + ElementDir.Ltr => "ltr", + ElementDir.Rtl => "rtl", + ElementDir.Auto => "auto", + _ => "", + }; + await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setDir", element, v); + } + /// + /// The enterKeyHint property is an enumerated property defining what action label (or icon) + /// to present for the enter key on virtual keyboards. + /// public static async ValueTask GetEnterKeyHint(this ElementReference element) - => await GetJSRuntime(element).ElementGetEnterKeyHint(element); + { + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getEnterKeyHint", element); + return value switch + { + "enter" => EnterKeyHint.Enter, + "done" => EnterKeyHint.Done, + "go" => EnterKeyHint.Go, + "next" => EnterKeyHint.Next, + "previous" => EnterKeyHint.Previous, + "search" => EnterKeyHint.Search, + "send" => EnterKeyHint.Send, + _ => EnterKeyHint.NotSet + }; + } + /// + /// The enterKeyHint property is an enumerated property defining what action label (or icon) + /// to present for the enter key on virtual keyboards. + /// public static async ValueTask SetEnterKeyHint(this ElementReference element, EnterKeyHint value) - => await GetJSRuntime(element).ElementSetEnterKeyHint(element, value); + { + var v = value switch + { + EnterKeyHint.Enter => "enter", + EnterKeyHint.Done => "done", + EnterKeyHint.Go => "go", + EnterKeyHint.Next => "next", + EnterKeyHint.Previous => "previous", + EnterKeyHint.Search => "search", + EnterKeyHint.Send => "send", + _ => "", + }; + await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setEnterKeyHint", element, v); + } + /// + /// The HTMLElement property hidden reflects the value of the element's hidden attribute. + /// public static async ValueTask GetHidden(this ElementReference element) - => await GetJSRuntime(element).ElementGetHidden(element); + { + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getHidden", element); + return value switch + { + "true" => Hidden.True, + "until-found" => Hidden.UntilFound, + _ => Hidden.False + }; + } + /// + /// The HTMLElement property hidden reflects the value of the element's hidden attribute. + /// public static async ValueTask SetHidden(this ElementReference element, Hidden value) - => await GetJSRuntime(element).ElementSetHidden(element, value); + { + var v = value switch + { + Hidden.True => "true", + Hidden.UntilFound => "until-found", + _ => "false", + }; + await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setHidden", element, v); + } + /// + /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, + /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. + /// public static async ValueTask GetInert(this ElementReference element) - => await GetJSRuntime(element).ElementGetInert(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInert", element); + /// + /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, + /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. + /// public static async ValueTask SetInert(this ElementReference element, bool value) - => await GetJSRuntime(element).ElementSetInert(element, value); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInert", element, value); + /// + /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. + /// public static async ValueTask GetInnerText(this ElementReference element) - => await GetJSRuntime(element).ElementGetInnerText(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInnerText", element); + /// + /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. + /// public static async ValueTask SetInnerText(this ElementReference element, string value) - => await GetJSRuntime(element).ElementSetInnerText(element, value); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInnerText", element, value); + /// + /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. + /// public static async ValueTask GetInputMode(this ElementReference element) - => await GetJSRuntime(element).ElementGetInputMode(element); + { + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getInputMode", element); + return value switch + { + "decimal" => InputMode.Decimal, + "email" => InputMode.Email, + "none" => InputMode.None, + "numeric" => InputMode.Numeric, + "search" => InputMode.Search, + "tel" => InputMode.Tel, + "text" => InputMode.Text, + "url" => InputMode.Url, + _ => InputMode.NotSet, + }; + } + /// + /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. + /// public static async ValueTask SetInputMode(this ElementReference element, InputMode value) - => await GetJSRuntime(element).ElementSetInputMode(element, value); + { + var v = value switch + { + InputMode.Decimal => "decimal", + InputMode.Email => "email", + InputMode.None => "none", + InputMode.Numeric => "numeric", + InputMode.Search => "search", + InputMode.Tel => "tel", + InputMode.Text => "text", + InputMode.Url => "url", + _ => "", + }; + await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInputMode", element, v); + } + /// + /// The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders in px. + /// public static async ValueTask GetOffsetHeight(this ElementReference element) - => await GetJSRuntime(element).ElementGetOffsetHeight(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetHeight", element); + /// + /// The HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner + /// of the current element is offset to the left within the HTMLElement.offsetParent node. + /// public static async ValueTask GetOffsetLeft(this ElementReference element) - => await GetJSRuntime(element).ElementGetOffsetLeft(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetLeft", element); + /// + /// The HTMLElement.offsetTop read-only property returns the distance from the outer border of the current element + /// (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element. + /// public static async ValueTask GetOffsetTop(this ElementReference element) - => await GetJSRuntime(element).ElementGetOffsetTop(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetLeft", element); + /// + /// The layout width of an element in px. + /// public static async ValueTask GetOffsetWidth(this ElementReference element) - => await GetJSRuntime(element).ElementGetOffsetWidth(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetWidth", element); + /// + /// A number representing the position of the element in the tabbing order. + /// public static async ValueTask GetTabIndex(this ElementReference element) - => await GetJSRuntime(element).ElementGetTabIndex(element); + => await GetJSRuntime(element).InvokeAsync("BitButil.element.getTabIndex", element); + /// + /// A number representing the position of the element in the tabbing order. + /// public static async ValueTask SetTabIndex(this ElementReference element, int value) - => await GetJSRuntime(element).ElementSetTabIndex(element, value); + => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setTabIndex", element, value); } diff --git a/src/Butil/Bit.Butil/Publics/History.cs b/src/Butil/Bit.Butil/Publics/History.cs index 87e11aecb4..b7b5a77a29 100644 --- a/src/Butil/Bit.Butil/Publics/History.cs +++ b/src/Butil/Bit.Butil/Publics/History.cs @@ -19,64 +19,67 @@ public class History(IJSRuntime js) : IDisposable /// Returns an Integer representing the number of elements in the session history, including the currently loaded page. /// For example, for a page loaded in a new tab this property returns 1. /// - public async Task GetLength() - => await js.HistoryGetLength(); + public async Task GetLength() + => await js.InvokeAsync("BitButil.history.length"); /// /// Gets default scroll restoration behavior on history navigation. This property can be either auto or manual. /// - public async Task GetScrollRestoration() - => await js.HistoryGetScrollRestoration(); + public async Task GetScrollRestoration() + { + var value = await js.InvokeAsync("BitButil.history.scrollRestoration"); + return value == "auto" ? ScrollRestoration.Auto : ScrollRestoration.Manual; + } /// /// Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property can be either auto or manual. /// - public async Task SetScrollRestoration(ScrollRestoration value) - => await js.HistorySetScrollRestoration(value); + public async Task SetScrollRestoration(ScrollRestoration value) + => await js.InvokeVoidAsync("BitButil.history.setScrollRestoration", value.ToString().ToLowerInvariant()); /// /// Returns an any value representing the state at the top of the history stack. /// - public async Task GetState() - => await js.HistoryGetState(); + public async Task GetState() + => await js.InvokeAsync("BitButil.history.state"); /// /// This asynchronous method goes to the previous page in session history, the same action as when the user clicks the browser's Back button. /// Calling this method to go back beyond the first page in the session history has no effect and doesn't raise an exception. /// - public async Task GoBack() - => await js.HistoryGoBack(); + public async Task GoBack() + => await js.InvokeVoidAsync("BitButil.history.back"); /// /// This asynchronous method goes to the next page in session history, the same action as when the user clicks the browser's Forward button. /// Calling this method to go forward beyond the most recent page in the session history has no effect and doesn't raise an exception. /// /// - public async Task GoForward() - => await js.HistoryGoForward(); + public async Task GoForward() + => await js.InvokeVoidAsync("BitButil.history.forward"); /// /// Asynchronously loads a page from the session history, identified by its relative location to the current page, for example -1 for the previous page or 1 for the next page. /// Calling this method without parameters or a value of 0 reloads the current page. /// - public async Task Go(int? delta = null) - => await js.HistoryGo(delta); + public async Task Go(int? delta = null) + => await js.InvokeVoidAsync("BitButil.history.go", delta); /// /// Pushes the given data onto the session history stack with the specified title (and, if provided, URL). /// /// The state object can be anything that can be serialized. /// The new history entry's URL. The new URL must be of the same origin as the current URL; otherwise PushState throws an exception. - public async Task PushState(object? state = null, string? url = null) - => await js.HistoryPushState(state, string.Empty, url); + public async Task PushState(object? state = null, string? url = null) + => await js.InvokeVoidAsync("BitButil.history.pushState", state, string.Empty, url); /// /// Updates the most recent entry on the history stack to have the specified data, title, and, if provided, URL. /// /// An object which is associated with the history entry passed to the ReplaceState() method. The state object can be null. /// The URL of the history entry. The new URL must be of the same origin as the current URL; otherwise ReplaceState throws an exception. - public async Task ReplaceState(object? state = null, string? url = null) - => await js.HistoryReplaceState(state, string.Empty, url); + public async Task ReplaceState(object? state = null, string? url = null) + => await js.InvokeVoidAsync("BitButil.history.replaceState", state, string.Empty, url); /// /// The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. @@ -86,7 +89,7 @@ public async Task AddPopState(Action handler) var listenerId = HistoryListenersManager.AddListener(handler); _handlers.TryAdd(listenerId, handler); - await js.HistoryAddPopState(HistoryListenersManager.InvokeMethodName, listenerId); + await js.InvokeVoidAsync("BitButil.history.addPopState", HistoryListenersManager.InvokeMethodName, listenerId); return listenerId; } @@ -120,7 +123,7 @@ private void RemovePopState(Guid[] ids) _handlers.TryRemove(id, out _); } - _ = js.HistoryRemovePopState(ids); + _ = js.InvokeVoidAsync("BitButil.history.removePopState", ids); } public async Task RemoveAllPopStates() @@ -131,7 +134,7 @@ public async Task RemoveAllPopStates() HistoryListenersManager.RemoveListeners(ids); - _ = js.HistoryRemovePopState(ids); + _ = js.InvokeVoidAsync("BitButil.history.removePopState", ids); } public void Dispose() diff --git a/src/Butil/Bit.Butil/Publics/Keyboard.cs b/src/Butil/Bit.Butil/Publics/Keyboard.cs index 867db8d243..b8d816e776 100644 --- a/src/Butil/Bit.Butil/Publics/Keyboard.cs +++ b/src/Butil/Bit.Butil/Publics/Keyboard.cs @@ -15,7 +15,10 @@ public async Task Add(string code, Action handler, ButilModifiers modifier var listenerId = KeyboardListenersManager.AddListener(handler); _handlers.TryAdd(listenerId, handler); - await js.KeyboardAdd(KeyboardListenersManager.InvokeMethodName, listenerId, code, + await js.InvokeVoidAsync("BitButil.keyboard.add", + KeyboardListenersManager.InvokeMethodName, + listenerId, + code, modifiers.HasFlag(ButilModifiers.Alt), modifiers.HasFlag(ButilModifiers.Ctrl), modifiers.HasFlag(ButilModifiers.Meta), @@ -50,7 +53,7 @@ private void Remove(Guid[] ids) _handlers.TryRemove(id, out _); } - _ = js.KeyboardRemove(ids); + _ = js.InvokeVoidAsync("BitButil.keyboard.remove", ids); } public async Task RemoveAll() @@ -61,7 +64,7 @@ public async Task RemoveAll() KeyboardListenersManager.RemoveListeners(ids); - await js.KeyboardRemove(ids); + await js.InvokeVoidAsync("BitButil.keyboard.remove", ids); } public void Dispose() diff --git a/src/Butil/Bit.Butil/Publics/Location.cs b/src/Butil/Bit.Butil/Publics/Location.cs index 181a7328b5..c288c9c6b3 100644 --- a/src/Butil/Bit.Butil/Publics/Location.cs +++ b/src/Butil/Bit.Butil/Publics/Location.cs @@ -19,14 +19,14 @@ public class Location(IJSRuntime js) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/href /// public async Task GetHref() - => await js.LocationGetHref(); + => await js.InvokeAsync("BitButil.location.getHref"); /// /// Sets the href of the location andn then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/href ///
public async Task SetHref(string value) - => await js.LocationSetHref(value); + => await js.InvokeVoidAsync("BitButil.location.setHref", value); /// /// A string containing the protocol scheme of the URL, including the final ':'. @@ -34,14 +34,14 @@ public async Task SetHref(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol /// public async Task GetProtocol() - => await js.LocationGetProtocol(); + => await js.InvokeAsync("BitButil.location.getProtocol"); /// /// Sets the protocol scheme of the URL and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/protocol ///
public async Task SetProtocol(string value) - => await js.LocationSetProtocol(value); + => await js.InvokeVoidAsync("BitButil.location.setProtocol", value); /// /// A string containing the host, that is the hostname, a ':', and the port of the URL. @@ -49,14 +49,14 @@ public async Task SetProtocol(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/host /// public async Task GetHost() - => await js.LocationGetHost(); + => await js.InvokeAsync("BitButil.location.getHost"); /// /// Sets the host of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/host ///
public async Task SetHost(string value) - => await js.LocationSetHost(value); + => await js.InvokeVoidAsync("BitButil.location.setHost", value); /// /// A string containing the domain of the URL. @@ -64,14 +64,14 @@ public async Task SetHost(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname /// public async Task GetHostname() - => await js.LocationGetHostname(); + => await js.InvokeAsync("BitButil.location.getHostname"); /// /// Sets the hostname of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname ///
public async Task SetHostname(string value) - => await js.LocationSetHostname(value); + => await js.InvokeVoidAsync("BitButil.location.setHostname", value); /// /// A string containing the port number of the URL. @@ -79,14 +79,14 @@ public async Task SetHostname(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/port /// public async Task GetPort() - => await js.LocationGetPort(); + => await js.InvokeAsync("BitButil.location.getPort"); /// /// Sets the port of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/port ///
public async Task SetPort(string value) - => await js.LocationSetPort(value); + => await js.InvokeVoidAsync("BitButil.location.setPort", value); /// /// A string containing an initial '/' followed by the path of the URL, not including the query string or fragment. @@ -94,14 +94,14 @@ public async Task SetPort(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname /// public async Task GetPathname() - => await js.LocationGetPathname(); + => await js.InvokeAsync("BitButil.location.getPathname"); /// /// Sets the pathname of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/pathname ///
public async Task SetPathname(string value) - => await js.LocationSetPathname(value); + => await js.InvokeVoidAsync("BitButil.location.setPathname", value); /// /// A string containing a '?' followed by the parameters or "querystring" of the URL. @@ -109,14 +109,14 @@ public async Task SetPathname(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/search /// public async Task GetSearch() - => await js.LocationGetSearch(); + => await js.InvokeAsync("BitButil.location.getSearch"); /// /// Sets the search of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/search ///
public async Task SetSearch(string value) - => await js.LocationSetSearch(value); + => await js.InvokeVoidAsync("BitButil.location.setSearch", value); /// /// A string containing a '#' followed by the fragment identifier of the URL. @@ -124,14 +124,14 @@ public async Task SetSearch(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/hash /// public async Task GetHash() - => await js.LocationGetHash(); + => await js.InvokeAsync("BitButil.location.getHash"); /// /// Sets the hash of the location and then the associated document navigates to the new page. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Location/hash ///
public async Task SetHash(string value) - => await js.LocationSetHash(value); + => await js.InvokeVoidAsync("BitButil.location.setHash", value); /// /// Returns a string containing the canonical form of the origin of the specific location. @@ -139,7 +139,7 @@ public async Task SetHash(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/origin /// public async Task GetOrigin() - => await js.LocationGetOrigin(); + => await js.InvokeAsync("BitButil.location.origin"); /// /// Loads the resource at the URL provided in parameter. @@ -147,7 +147,7 @@ public async Task GetOrigin() /// https://developer.mozilla.org/en-US/docs/Web/API/Location/assign /// public async Task Assign(string url) - => await js.LocationAssign(url); + => await js.InvokeVoidAsync("BitButil.location.assign", url); /// /// Reloads the current URL, like the Refresh button. @@ -155,7 +155,7 @@ public async Task Assign(string url) /// https://developer.mozilla.org/en-US/docs/Web/API/Location/reload /// public async Task Reload() - => await js.LocationReload(); + => await js.InvokeVoidAsync("BitButil.location.reload"); /// /// Replaces the current resource with the one at the provided URL (redirects to the provided URL). @@ -163,5 +163,5 @@ public async Task Reload() /// https://developer.mozilla.org/en-US/docs/Web/API/Location/replace /// public async Task Replace(string url) - => await js.LocationReplace(url); + => await js.InvokeVoidAsync("BitButil.location.replace", url); } diff --git a/src/Butil/Bit.Butil/Publics/Navigator.cs b/src/Butil/Bit.Butil/Publics/Navigator.cs index ddf06b92c6..d8963187c3 100644 --- a/src/Butil/Bit.Butil/Publics/Navigator.cs +++ b/src/Butil/Bit.Butil/Publics/Navigator.cs @@ -13,75 +13,90 @@ public class Navigator(IJSRuntime js) /// /// Returns the amount of device memory in gigabytes. This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024. /// - public async Task GetDeviceMemory() => await js.NavigatorDeviceMemory(); + public async Task GetDeviceMemory() + => await js.InvokeAsync("BitButil.navigator.deviceMemory"); /// /// Returns the number of logical processor cores available. /// - public async Task GetHardwareConcurrency() => await js.NavigatorHardwareConcurrency(); + public async Task GetHardwareConcurrency() + => await js.InvokeAsync("BitButil.navigator.hardwareConcurrency"); /// /// Returns a string representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown. /// - public async Task GetLanguage() => await js.NavigatorLanguage(); + public async Task GetLanguage() + => await js.InvokeAsync("BitButil.navigator.language"); /// /// Returns an array of strings representing the languages known to the user, by order of preference. /// - public async Task GetLanguages() => await js.NavigatorLanguages(); + public async Task GetLanguages() + => await js.InvokeAsync("BitButil.navigator.languages"); /// /// Returns the maximum number of simultaneous touch contact points are supported by the current device. /// - public async Task GetMaxTouchPoints() => await js.NavigatorMaxTouchPoints(); + public async Task GetMaxTouchPoints() + => await js.InvokeAsync("BitButil.navigator.maxTouchPoints"); /// /// Returns a boolean value indicating whether the browser is working online. /// - public async Task IsOnLine() => await js.NavigatorOnLine(); + public async Task IsOnLine() + => await js.InvokeAsync("BitButil.navigator.onLine"); /// /// Returns true if the browser can display PDF files inline when navigating to them, and false otherwise. /// - public async Task IsPdfViewerEnabled() => await js.NavigatorPdfViewerEnabled(); + public async Task IsPdfViewerEnabled() + => await js.InvokeAsync("BitButil.navigator.pdfViewerEnabled"); /// /// Returns the user agent string for the current browser. /// - public async Task GetUserAgent() => await js.NavigatorUserAgent(); + public async Task GetUserAgent() + => await js.InvokeAsync("BitButil.navigator.userAgent"); /// /// Indicates whether the user agent is controlled by automation. /// - public async Task IsWebDriver() => await js.NavigatorWebDriver(); + public async Task IsWebDriver() + => await js.InvokeAsync("BitButil.navigator.webdriver"); /// /// Returns true if a call to Navigator.share() would succeed. /// - public async Task CanShare() => await js.NavigatorCanShare(); + public async Task CanShare() + => await js.InvokeAsync("BitButil.navigator.canShare"); /// /// Clears a badge on the current app's icon and returns a Promise that resolves with undefined. /// - public async Task ClearAppBadge() => await js.NavigatorClearAppBadge(); + public async Task ClearAppBadge() + => await js.InvokeVoidAsync("BitButil.navigator.clearAppBadge"); /// /// Used to asynchronously transfer a small amount of data using HTTP from the User Agent to a web server. /// - public async Task SendBeacon() => await js.NavigatorSendBeacon(); + public async Task SendBeacon() + => await js.InvokeAsync("BitButil.navigator.sendBeacon"); /// /// Sets a badge on the icon associated with this app and returns a Promise that resolves with undefined. /// - public async Task SetAppBadge() => await js.NavigatorSetAppBadge(); + public async Task SetAppBadge() + => await js.InvokeVoidAsync("BitButil.navigator.setAppBadge"); /// /// Invokes the native sharing mechanism of the current platform. /// - public async Task Share(ShareData data) => await js.NavigatorShare(data); + public async Task Share(ShareData data) + => await js.InvokeVoidAsync("BitButil.navigator.share", data); /// /// Causes vibration on devices with support for it. Does nothing if vibration support isn't available. /// - public async Task Vibrate(int[] pattern) => await js.NavigatorVibrate(pattern); + public async Task Vibrate(int[] pattern) + => await js.InvokeAsync("BitButil.navigator.vibrate", pattern); } diff --git a/src/Butil/Bit.Butil/Publics/Screen.cs b/src/Butil/Bit.Butil/Publics/Screen.cs index f3186320a8..c0742a1198 100644 --- a/src/Butil/Bit.Butil/Publics/Screen.cs +++ b/src/Butil/Bit.Butil/Publics/Screen.cs @@ -23,7 +23,7 @@ public class Screen(IJSRuntime js) : IDisposable /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/availHeight /// public async Task GetAvailableHeight() - => await js.ScreenGetAvailableHeight(); + => await js.InvokeAsync("BitButil.screen.availHeight"); /// /// Returns the amount of horizontal space in pixels available to the window. @@ -31,7 +31,7 @@ public async Task GetAvailableHeight() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/availWidth /// public async Task GetAvailableWidth() - => await js.ScreenGetAvailableWidth(); + => await js.InvokeAsync("BitButil.screen.availWidth"); /// /// Returns the color depth of the screen. @@ -39,7 +39,7 @@ public async Task GetAvailableWidth() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth /// public async Task GetColorDepth() - => await js.ScreenGetColorDepth(); + => await js.InvokeAsync("BitButil.screen.colorDepth"); /// /// Returns the height of the screen in pixels. @@ -47,7 +47,7 @@ public async Task GetColorDepth() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/height /// public async Task GetHeight() - => await js.ScreenGetHeight(); + => await js.InvokeAsync("BitButil.screen.height"); /// /// Returns true if the user's device has multiple screens, and false if not. @@ -55,7 +55,7 @@ public async Task GetHeight() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/isExtended /// public async Task IsExtended() - => await js.ScreenIsExtended(); + => await js.InvokeAsync("BitButil.screen.isExtended"); /// /// Gets the bit depth of the screen. @@ -63,7 +63,7 @@ public async Task IsExtended() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/pixelDepth /// public async Task GetPixelDepth() - => await js.ScreenGetPixelDepth(); + => await js.InvokeAsync("BitButil.screen.pixelDepth"); /// /// Returns the width of the screen. @@ -71,7 +71,7 @@ public async Task GetPixelDepth() /// https://developer.mozilla.org/en-US/docs/Web/API/Screen/width /// public async Task GetWidth() - => await js.ScreenGetWidth(); + => await js.InvokeAsync("BitButil.screen.width"); /// /// Fired on a specific screen when it changes in some way — width or height, @@ -84,7 +84,7 @@ public async Task AddChange(Action handler) var listenerId = ScreenListenersManager.AddListener(handler); _handlers.TryAdd(listenerId, handler); - await js.ScreenAddChange(ScreenListenersManager.InvokeMethodName, listenerId); + await js.InvokeVoidAsync("BitButil.screen.addChange", ScreenListenersManager.InvokeMethodName, listenerId); return listenerId; } @@ -124,7 +124,7 @@ private void RemoveChange(Guid[] ids) _handlers.TryRemove(id, out _); } - _ = js.ScreenRemoveChange(ids); + _ = js.InvokeVoidAsync("BitButil.screen.removeChange", ids); } public async Task RemoveAllChanges() @@ -135,7 +135,7 @@ public async Task RemoveAllChanges() ScreenListenersManager.RemoveListeners(ids); - _ = js.ScreenRemoveChange(ids); + _ = js.InvokeVoidAsync("BitButil.screen.removeChange", ids); } public void Dispose() diff --git a/src/Butil/Bit.Butil/Publics/Storage/ButilStorage.cs b/src/Butil/Bit.Butil/Publics/Storage/ButilStorage.cs index 9bbdb3b275..68f410fe04 100644 --- a/src/Butil/Bit.Butil/Publics/Storage/ButilStorage.cs +++ b/src/Butil/Bit.Butil/Publics/Storage/ButilStorage.cs @@ -17,7 +17,7 @@ public class ButilStorage(IJSRuntime js, string storageName) /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/length /// public async Task GetLength() - => await js.StorageGetLength(storageName); + => await js.InvokeAsync("BitButil.storage.length", storageName); /// /// When passed a number n, this method will return the name of the nth key in the storage. @@ -25,7 +25,7 @@ public async Task GetLength() /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/key /// public async Task GetKey(int index) - => await js.StorageGetKey(storageName, index); + => await js.InvokeAsync("BitButil.storage.key", storageName, index); /// /// When passed a key name, will return that key's value. @@ -33,7 +33,7 @@ public async Task GetLength() /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem /// public async Task GetItem(string? key) - => await js.StorageGetItem(storageName, key); + => await js.InvokeAsync("BitButil.storage.getItem", storageName, key); /// /// When passed a key name and value, will add that key to the storage, or update that key's value if it already exists. @@ -41,7 +41,7 @@ public async Task GetLength() /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem /// public async Task SetItem(string? key, string? value) - => await js.StorageSetItem(storageName, key, value); + => await js.InvokeVoidAsync("BitButil.storage.setItem", storageName, key, value); /// /// When passed a key name, will remove that key from the storage. @@ -49,7 +49,7 @@ public async Task SetItem(string? key, string? value) /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/removeItem /// public async Task RemoveItem(string? key) - => await js.StorageRemoveItem(storageName, key); + => await js.InvokeVoidAsync("BitButil.storage.removeItem", storageName, key); /// /// When invoked, will empty all keys out of the storage. @@ -57,5 +57,5 @@ public async Task RemoveItem(string? key) /// https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear /// public async Task Clear() - => await js.StorageClear(storageName); + => await js.InvokeVoidAsync("BitButil.storage.clear", storageName); } diff --git a/src/Butil/Bit.Butil/Publics/Window.cs b/src/Butil/Bit.Butil/Publics/Window.cs index 21614ab834..ed1d78a2d3 100644 --- a/src/Butil/Bit.Butil/Publics/Window.cs +++ b/src/Butil/Bit.Butil/Publics/Window.cs @@ -27,7 +27,7 @@ public async Task RemoveEventListener(string domEvent, Action listener, bo /// https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event /// public async Task AddBeforeUnload() - => await js.WindowAddBeforeUnload(); + => await js.InvokeVoidAsync("BitButil.window.addBeforeUnload"); /// /// The beforeunload event is fired when the current window, contained document, and associated resources are about to be unloaded. @@ -36,7 +36,7 @@ public async Task AddBeforeUnload() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event /// public async Task RemoveBeforeUnload() - => await js.WindowRemoveBeforeUnload(); + => await js.InvokeVoidAsync("BitButil.window.removeBeforeUnload"); /// /// Gets the height of the content area of the browser window in px including, if rendered, the horizontal scrollbar. @@ -44,7 +44,7 @@ public async Task RemoveBeforeUnload() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight /// public async Task GetInnerHeight() - => await js.WindowGetInnerHeight(); + => await js.InvokeAsync("BitButil.window.innerHeight"); /// /// Gets the width of the content area of the browser window in px including, if rendered, the vertical scrollbar. @@ -52,7 +52,7 @@ public async Task GetInnerHeight() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth /// public async Task GetInnerWidth() - => await js.WindowGetInnerWidth(); + => await js.InvokeAsync("BitButil.window.innerWidth"); /// /// Returns a boolean indicating whether the current context is secure (true) or not (false). @@ -60,7 +60,7 @@ public async Task GetInnerWidth() /// https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext /// public async Task IsSecureContext() - => await js.WindowIsSecureContext(); + => await js.InvokeAsync("BitButil.window.isSecureContext"); /// /// Returns the locationbar object. For privacy and interoperability reasons, @@ -69,7 +69,7 @@ public async Task IsSecureContext() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar /// public async Task GetLocationBar() - => await js.WindowLocationBar(); + => await js.InvokeAsync("BitButil.window.locationbar"); /// /// Gets the name of the window. @@ -77,14 +77,14 @@ public async Task GetLocationBar() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/name /// public async Task GetName() - => await js.WindowGetName(); + => await js.InvokeAsync("BitButil.window.getName"); /// /// Sets the name of the window. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/name ///
public async Task SetName(string value) - => await js.WindowSetName(value); + => await js.InvokeVoidAsync("BitButil.window.setName", value); /// /// Returns the global object's origin, serialized as a string. @@ -92,7 +92,7 @@ public async Task SetName(string value) /// https://developer.mozilla.org/en-US/docs/Web/API/origin /// public async Task GetOrigin() - => await js.WindowGetOrigin(); + => await js.InvokeAsync("BitButil.window.origin"); /// /// Gets the height of the outside of the browser window in px. @@ -100,7 +100,7 @@ public async Task GetOrigin() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight /// public async Task GetOuterHeight() - => await js.WindowGetOuterHeight(); + => await js.InvokeAsync("BitButil.window.outerHeight"); /// /// Gets the width of the outside of the browser window in px. @@ -108,7 +108,7 @@ public async Task GetOuterHeight() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth /// public async Task GetOuterWidth() - => await js.WindowGetOuterWidth(); + => await js.InvokeAsync("BitButil.window.outerWidth"); /// /// Returns the horizontal distance in px from the left border of the user's browser viewport to the left side of the screen. @@ -116,7 +116,7 @@ public async Task GetOuterWidth() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX /// public async Task GetScreenX() - => await js.WindowGetScreenX(); + => await js.InvokeAsync("BitButil.window.screenX"); /// /// Returns the vertical distance in px from the top border of the user's browser viewport to the top side of the screen. @@ -124,7 +124,7 @@ public async Task GetScreenX() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY /// public async Task GetScreenY() - => await js.WindowGetScreenY(); + => await js.InvokeAsync("BitButil.window.screenY"); /// /// Returns the number of pixels that the document has already been scrolled horizontally. @@ -132,7 +132,7 @@ public async Task GetScreenY() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX /// public async Task GetScrollX() - => await js.WindowGetScrollX(); + => await js.InvokeAsync("BitButil.window.scrollX"); /// /// Returns the number of pixels that the document has already been scrolled vertically. @@ -140,7 +140,7 @@ public async Task GetScrollX() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY /// public async Task GetScrollY() - => await js.WindowGetScrollY(); + => await js.InvokeAsync("BitButil.window.scrollY"); /// /// Decodes a string of data which has been encoded using base-64 encoding. @@ -148,7 +148,7 @@ public async Task GetScrollY() /// https://developer.mozilla.org/en-US/docs/Web/API/atob /// public async Task Atob(string data) - => await js.WindowAtob(data); + => await js.InvokeAsync("BitButil.window.atob", data); /// /// Displays an alert dialog. @@ -156,7 +156,7 @@ public async Task Atob(string data) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/alert /// public async Task Alert(string? message = null) - => await js.WindowAlert(message); + => await js.InvokeVoidAsync("BitButil.window.alert", message); /// /// Sets focus away from the window. @@ -164,7 +164,7 @@ public async Task Alert(string? message = null) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/blur /// public async Task Blur() - => await js.WindowBlur(); + => await js.InvokeVoidAsync("BitButil.window.blur"); /// /// Creates a base-64 encoded ASCII string from a string of binary data. @@ -172,7 +172,7 @@ public async Task Blur() /// https://developer.mozilla.org/en-US/docs/Web/API/btoa /// public async Task Btoa(string data) - => await js.WindowBtoa(data); + => await js.InvokeAsync("BitButil.window.btoa", data); /// /// Closes the current window. @@ -180,7 +180,7 @@ public async Task Btoa(string data) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/close /// public async Task Close() - => await js.WindowClose(); + => await js.InvokeVoidAsync("BitButil.window.close"); /// /// Displays a dialog with a message that the user needs to respond to. @@ -188,7 +188,7 @@ public async Task Close() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm /// public async Task Confirm(string? message = null) - => await js.WindowConfirm(message); + => await js.InvokeAsync("BitButil.window.confirm", message); /// /// Searches for a given string in a window. @@ -201,7 +201,7 @@ public async Task Find(string? text = null, bool? wrapAround = null, bool? wholeWord = null, bool? searchInFrame = null) - => await js.WindowFind(text, caseSensitive, backward, wrapAround, wholeWord, searchInFrame); + => await js.InvokeAsync("BitButil.window.find", text, caseSensitive, backward, wrapAround, wholeWord, searchInFrame); /// /// Sets focus on the current window. @@ -209,7 +209,7 @@ public async Task Find(string? text = null, /// https://developer.mozilla.org/en-US/docs/Web/API/Window/focus /// public async Task Focus() - => await js.WindowFocus(); + => await js.InvokeVoidAsync("BitButil.window.focus"); /// /// Returns the selection text representing the selected item(s). @@ -217,7 +217,7 @@ public async Task Focus() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection /// public async Task GetSelection() - => await js.WindowGetSelection(); + => await js.InvokeAsync("BitButil.window.getSelection"); /// /// Returns a MediaQueryList object representing the specified media query string. @@ -225,7 +225,7 @@ public async Task GetSelection() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia /// public async Task MatchMedia(string query) - => await js.WindowMatchMedia(query); + => await js.InvokeAsync("BitButil.window.matchMedia", query); /// /// Opens a new window. @@ -233,14 +233,14 @@ public async Task MatchMedia(string query) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/open /// public async Task Open(string? url = null, string? target = null, string? windowFeatures = null) - => await js.WindowOpen(url, target, windowFeatures); + => await js.InvokeAsync("BitButil.window.open", url, target, windowFeatures); /// /// Opens a new window. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/open ///
public async Task Open(string? url = null, string? target = null, WindowFeatures? windowFeatures = null) - => await js.WindowOpen(url, target, windowFeatures); + => await js.InvokeAsync("BitButil.window.open", url, target, windowFeatures?.ToString()); /// /// Opens the Print Dialog to print the current document. @@ -248,7 +248,7 @@ public async Task Open(string? url = null, string? target = null, WindowFe /// https://developer.mozilla.org/en-US/docs/Web/API/Window/print /// public async Task Print() - => await js.WindowPrint(); + => await js.InvokeVoidAsync("BitButil.window.print"); /// /// Returns the text entered by the user in a prompt dialog. @@ -256,7 +256,7 @@ public async Task Print() /// https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt /// public async Task Prompt(string? message, string? defaultValue) - => await js.WindowPrompt(message, defaultValue); + => await js.InvokeAsync("BitButil.window.prompt", message, defaultValue); /// /// Scrolls the window to a particular place in the document. @@ -264,14 +264,14 @@ public async Task Prompt(string? message, string? defaultValue) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll /// public async Task Scroll(ScrollToOptions? options) - => await js.WindowScroll(options, null, null); + => await js.InvokeVoidAsync("BitButil.window.scroll", options?.ToJsObject(), null, null); /// /// Scrolls the window to a particular place in the document. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll ///
public async Task Scroll(float? x, float? y) - => await js.WindowScroll(null, x, y); + => await js.InvokeVoidAsync("BitButil.window.scroll", null, x, y); /// /// Scrolls the document in the window by the given amount. @@ -279,21 +279,14 @@ public async Task Scroll(float? x, float? y) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy /// public async Task ScrollBy(ScrollToOptions? options) - => await js.WindowScrollBy(options, null, null); + => await js.InvokeVoidAsync("BitButil.window.scrollBy", options?.ToJsObject(), null, null); /// /// Scrolls the document in the window by the given amount. ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy ///
public async Task ScrollBy(float? x, float? y) - => await js.WindowScrollBy(null, x, y); - /// - /// Scrolls the document in the window by the given amount. - ///
- /// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy - ///
- public async Task ScrollBy(ScrollToOptions? options, float? x, float? y) - => await js.WindowScrollBy(options, x, y); + => await js.InvokeVoidAsync("BitButil.window.scrollBy", null, x, y); /// /// This method stops window loading. @@ -301,5 +294,5 @@ public async Task ScrollBy(ScrollToOptions? options, float? x, float? y) /// https://developer.mozilla.org/en-US/docs/Web/API/Window/stop /// public async Task Stop() - => await js.WindowStop(); + => await js.InvokeVoidAsync("BitButil.window.stop"); } diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor index 1102e06993..65fd49b08c 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor @@ -1,17 +1,14 @@ @page "/element" @inject Bit.Butil.Console console -@inject Bit.Butil.Element element Element Samples

Element

-@@inject Bit.Butil.Element element
-
 @@code {
     ...
-    var rect = await element.GetBoundingClientRect();
+    var rect = await elementRef.GetBoundingClientRect();
     ...
 }
 
From eb83bbe83d1206d2664440689a5a067fb3971be1 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 24 Jan 2024 19:09:40 +0100 Subject: [PATCH 03/50] fix(blazorui): resolve invariant string conversion issues in BlazorUI #6713 (#6717) --- .../Components/Carousel/BitCarousel.razor.cs | 14 +++++++------- .../Components/ColorPicker/BitColorPicker.razor.cs | 4 ++-- .../Components/ColorPicker/BitInternalColor.cs | 6 +++--- .../Components/Dialog/BitDialog.razor.cs | 2 +- .../Inputs/ChoiceGroup/BitChoiceGroup.razor | 2 +- .../Components/Inputs/Rating/BitRating.razor | 2 +- .../CircularTimePicker/BitCircularTimePicker.razor | 6 +++--- .../Components/Loading/BitLoadingComponentBase.cs | 6 ++++-- .../Components/Modal/BitModal.razor.cs | 2 +- .../Components/Overlay/BitOverlay.razor.cs | 2 +- .../Components/Panel/BitPanel.razor.cs | 4 ++-- .../Components/Persona/BitPersona.razor.cs | 6 +++--- .../ProgressIndicator/BitProgressIndicator.razor | 2 +- .../Components/Slider/BitSlider.razor.cs | 8 ++++---- .../Components/SnackBar/BitSnackBar.razor | 2 +- .../Components/Swiper/BitSwiper.razor.cs | 4 ++-- .../Bit.BlazorUI/Utils/FileSizeHumanizer.cs | 4 ++-- src/BlazorUI/Bit.BlazorUI/Utils/NumUtils.cs | 9 --------- 18 files changed, 39 insertions(+), 46 deletions(-) delete mode 100644 src/BlazorUI/Bit.BlazorUI/Utils/NumUtils.cs diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Carousel/BitCarousel.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Carousel/BitCarousel.razor.cs index 8e21e5ee64..d98d20635b 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Carousel/BitCarousel.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Carousel/BitCarousel.razor.cs @@ -162,8 +162,8 @@ private async Task ResetDimensionsAsync() for (int i = 0; i < itemsCount; i++) { var item = AllItems[i]; - item.InternalStyle = $"width:{NumUtils.ToInvariantString(rect.Width / VisibleItemsCount)}px;display:block"; - item.InternalTransformStyle = $"transform:translateX({sign * 100 * i}%)"; + item.InternalStyle = FormattableString.Invariant($"width:{(rect.Width / VisibleItemsCount)}px;display:block"); + item.InternalTransformStyle = FormattableString.Invariant($"transform:translateX({sign * 100 * i}%)"); } _pagesCount = (int)Math.Ceiling((decimal)itemsCount / VisibleItemsCount); @@ -241,7 +241,7 @@ private async Task Go(bool isNext = false, int scrollCount = 0) o.InternalTransitionStyle = ""; var x = sign * 100 * (offset + (sign * i)); x = Direction == BitDirection.LeftToRight ? x : -x; - o.InternalTransformStyle = $"transform:translateX({x}%)"; + o.InternalTransformStyle = FormattableString.Invariant($"transform:translateX({x}%)"); } StateHasChanged(); @@ -253,19 +253,19 @@ private async Task Go(bool isNext = false, int scrollCount = 0) for (int i = 0; i < currents.Length; i++) { var c = currents[i]; - c.InternalTransitionStyle = $"transition:all {NumUtils.ToInvariantString(AnimationDuration)}s"; + c.InternalTransitionStyle = FormattableString.Invariant($"transition:all {AnimationDuration}s"); var x = -sign * 100 * (scrollCount + (-sign * i)); x = Direction == BitDirection.LeftToRight ? x : -x; - c.InternalTransformStyle = $"transform:translateX({x}%)"; + c.InternalTransformStyle = FormattableString.Invariant($"transform:translateX({x}%)"); } for (int i = 0; i < others.Length; i++) { var o = others[i]; - o.InternalTransitionStyle = $"transition:all {NumUtils.ToInvariantString(AnimationDuration)}s"; + o.InternalTransitionStyle = FormattableString.Invariant($"transition:all {AnimationDuration}s"); var x = 100 * (offset + i); x = Direction == BitDirection.LeftToRight ? x : -x; - o.InternalTransformStyle = $"transform:translateX({x}%)"; + o.InternalTransformStyle = FormattableString.Invariant($"transform:translateX({x}%)"); } _currentIndices = newIndices; diff --git a/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs index 083c637078..8229509129 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitColorPicker.razor.cs @@ -94,8 +94,8 @@ public string Color public string? Hex => _color.Hex; - public string? Rgb => $"rgb({_color.R},{_color.G},{_color.B})"; - public string? Rgba => $"rgba({_color.R},{_color.G},{_color.B},{_color.A})"; + public string? Rgb => FormattableString.Invariant($"rgb({_color.R},{_color.G},{_color.B})"); + public string? Rgba => FormattableString.Invariant($"rgba({_color.R},{_color.G},{_color.B},{_color.A})"); public (double Hue, double Saturation, double Value) Hsv => _color.Hsv; diff --git a/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitInternalColor.cs b/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitInternalColor.cs index f146cdd42f..a2ce55f99f 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitInternalColor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/ColorPicker/BitInternalColor.cs @@ -191,8 +191,8 @@ private void CalculateHsv() private void GenerateStringValues() { - _hex = $"#{R:X2}{G:X2}{B:X2}"; - _rgb = $"rgb({R},{G},{B})"; - _rgba = $"rgba({R},{G},{B},{A})"; + _hex = FormattableString.Invariant($"#{R:X2}{G:X2}{B:X2}"); + _rgb = FormattableString.Invariant($"rgb({R},{G},{B})"); + _rgba = FormattableString.Invariant($"rgba({R},{G},{B},{A})"); } } diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Dialog/BitDialog.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Dialog/BitDialog.razor.cs index d636cd4a96..ea1811f6bf 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Dialog/BitDialog.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Dialog/BitDialog.razor.cs @@ -215,7 +215,7 @@ protected override void RegisterCssStyles() { StyleBuilder.Register(() => Styles?.Root); - StyleBuilder.Register(() => _offsetTop > 0 ? $"top:{_offsetTop}px" : string.Empty); + StyleBuilder.Register(() => _offsetTop > 0 ? FormattableString.Invariant($"top:{_offsetTop}px") : string.Empty); } protected override Task OnInitializedAsync() diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/ChoiceGroup/BitChoiceGroup.razor b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/ChoiceGroup/BitChoiceGroup.razor index a4c80ec122..5f5ee3a6c4 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/ChoiceGroup/BitChoiceGroup.razor +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/ChoiceGroup/BitChoiceGroup.razor @@ -76,7 +76,7 @@ {
-
@GetImageAlt(item)
diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/TimePickers/CircularTimePicker/BitCircularTimePicker.razor b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/TimePickers/CircularTimePicker/BitCircularTimePicker.razor index ce6c524c4c..0cdce488df 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/TimePickers/CircularTimePicker/BitCircularTimePicker.razor +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/TimePickers/CircularTimePicker/BitCircularTimePicker.razor @@ -103,7 +103,7 @@ for (int i = 1; i <= 12; ++i) { var _i = i; -
+
} } else @@ -121,7 +121,7 @@ for (int i = 1; i <= 12; ++i) { var _i = i; -
+
@@ -140,7 +140,7 @@ @for (int i = 0; i < 60; ++i) { var _i = i; -
+
}
} diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Loading/BitLoadingComponentBase.cs b/src/BlazorUI/Bit.BlazorUI/Components/Loading/BitLoadingComponentBase.cs index d27630c319..e0313d4727 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Loading/BitLoadingComponentBase.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Loading/BitLoadingComponentBase.cs @@ -1,4 +1,6 @@ -namespace Bit.BlazorUI; +using System.Globalization; + +namespace Bit.BlazorUI; public class BitLoadingComponentBase : ComponentBase { @@ -36,6 +38,6 @@ public class BitLoadingComponentBase : ComponentBase protected string Convert(double value) { - return NumUtils.ToInvariantString(value * Size / OriginalSize); + return (value * Size / OriginalSize).ToString(CultureInfo.InvariantCulture); } } diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Modal/BitModal.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Modal/BitModal.razor.cs index e478e51cb5..b28cc1b40d 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Modal/BitModal.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Modal/BitModal.razor.cs @@ -130,7 +130,7 @@ protected override void RegisterCssStyles() { StyleBuilder.Register(() => Styles?.Root); - StyleBuilder.Register(() => _offsetTop > 0 ? $"top:{_offsetTop}px" : string.Empty); + StyleBuilder.Register(() => _offsetTop > 0 ? FormattableString.Invariant($"top:{_offsetTop}px") : string.Empty); } protected override Task OnInitializedAsync() diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Overlay/BitOverlay.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Overlay/BitOverlay.razor.cs index e9e6ab3f76..0c212f88fd 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Overlay/BitOverlay.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Overlay/BitOverlay.razor.cs @@ -67,7 +67,7 @@ protected override void RegisterCssClasses() ClassBuilder.Register(() => IsVisible ? $"{RootElementClass}-vis" : ""); ClassBuilder.Register(() => AbsolutePosition ? $"{RootElementClass}-abs" : ""); - StyleBuilder.Register(() => _offsetTop > 0 ? $"top:{_offsetTop}px" : ""); + StyleBuilder.Register(() => _offsetTop > 0 ? FormattableString.Invariant($"top:{_offsetTop}px") : ""); } protected override async Task OnAfterRenderAsync(bool firstRender) diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Panel/BitPanel.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Panel/BitPanel.razor.cs index b1f4d0171d..99ea449ab9 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Panel/BitPanel.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Panel/BitPanel.razor.cs @@ -138,7 +138,7 @@ protected override void RegisterCssStyles() { StyleBuilder.Register(() => Styles?.Root); - StyleBuilder.Register(() => _offsetTop > 0 ? $"top:{_offsetTop}px" : string.Empty); + StyleBuilder.Register(() => _offsetTop > 0 ? FormattableString.Invariant($"top:{_offsetTop}px") : string.Empty); } protected override Task OnInitializedAsync() @@ -204,6 +204,6 @@ private string GetPanelSizeStyle() { if (Size == 0) return string.Empty; - return $"{(Position is BitPanelPosition.Top or BitPanelPosition.Bottom ? "height" : "width")}:{Size}px"; + return FormattableString.Invariant($"{(Position is BitPanelPosition.Top or BitPanelPosition.Bottom ? "height" : "width")}:{Size}px"); } } diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Persona/BitPersona.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Persona/BitPersona.razor.cs index 37ffb5018b..24de8c7bda 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Persona/BitPersona.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Persona/BitPersona.razor.cs @@ -229,17 +229,17 @@ protected string GetInitials() if (splits.Length == 2) { - return $"{splits[0][0]}{splits[1][0]}"; + return FormattableString.Invariant($"{splits[0][0]}{splits[1][0]}"); } if (splits.Length == 3) { - return $"{splits[0][0]}{splits[2][0]}"; + return FormattableString.Invariant($"{splits[0][0]}{splits[2][0]}"); } if (splits.Length != 0) { - return $"{splits[0][0]}"; + return FormattableString.Invariant($"{splits[0][0]}"); } return string.Empty; diff --git a/src/BlazorUI/Bit.BlazorUI/Components/ProgressIndicator/BitProgressIndicator.razor b/src/BlazorUI/Bit.BlazorUI/Components/ProgressIndicator/BitProgressIndicator.razor index f58cb4100f..7ad290206f 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/ProgressIndicator/BitProgressIndicator.razor +++ b/src/BlazorUI/Bit.BlazorUI/Components/ProgressIndicator/BitProgressIndicator.razor @@ -26,7 +26,7 @@ } else { -
+
}
diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiper.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiper.razor.cs index 0a43e5030e..3c12f81724 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiper.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Swiper/BitSwiper.razor.cs @@ -160,7 +160,7 @@ public async Task HandlePointerLeave(double clientX) var swipeSpeed = distance / time; var transitionTime = swipeSpeed > 2 ? 300 : swipeSpeed > 1 ? 600 : 1000; - await _js.SetStyle(_swiper, "transitionDuration", $"{transitionTime}ms"); + await _js.SetStyle(_swiper, "transitionDuration", FormattableString.Invariant($"{transitionTime}ms")); var x = -(_lastDiffX / Math.Abs(_lastDiffX)) * (_swiperEffectiveWidth * swipeSpeed / 10) + _translateX; await Swipe(x); @@ -245,7 +245,7 @@ private async Task Swipe(double x) if (x > _swiperEffectiveWidth) x = _swiperEffectiveWidth; } - await _js.SetStyle(_swiper, "transform", $"translateX({NumUtils.ToInvariantString(x)}px)"); + await _js.SetStyle(_swiper, "transform", FormattableString.Invariant($"translateX({x}px)")); SetNavigationButtonsVisibility(x); } diff --git a/src/BlazorUI/Bit.BlazorUI/Utils/FileSizeHumanizer.cs b/src/BlazorUI/Bit.BlazorUI/Utils/FileSizeHumanizer.cs index a9f1a2d236..332d7eeb02 100644 --- a/src/BlazorUI/Bit.BlazorUI/Utils/FileSizeHumanizer.cs +++ b/src/BlazorUI/Bit.BlazorUI/Utils/FileSizeHumanizer.cs @@ -13,7 +13,7 @@ public static string Humanize(long size) { float formatedSize = size / (float)OneGigaByte; suffix = "GB"; - return $"{formatedSize:0.00}{suffix}"; + return FormattableString.Invariant($"{formatedSize:0.00}{suffix}"); } if (size > OneMegaByte) @@ -35,6 +35,6 @@ public static string Humanize(long size) suffix = " bytes"; } - return $"{size}{suffix}"; + return FormattableString.Invariant($"{size}{suffix}"); } } diff --git a/src/BlazorUI/Bit.BlazorUI/Utils/NumUtils.cs b/src/BlazorUI/Bit.BlazorUI/Utils/NumUtils.cs deleted file mode 100644 index 85a6cc7921..0000000000 --- a/src/BlazorUI/Bit.BlazorUI/Utils/NumUtils.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Bit.BlazorUI; - -public class NumUtils -{ - public static string ToInvariantString(double value) - { - return value.ToString(System.Globalization.CultureInfo.InvariantCulture); - } -} From aa0bd4a810e4f3927b3c956f172e9bc090fba8af Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 24 Jan 2024 19:10:36 +0100 Subject: [PATCH 04/50] feat(blazorui): make Bit.BlazorUI.Icons a development dependency #6710 (#6711) --- .../Bit.BlazorUI.Icons/BitIconName.cs | 4626 ++++++++--------- .../Boilerplate.Iac/Boilerplate.Iac.csproj | 2 +- .../Boilerplate.Shared.csproj | 2 +- .../Boilerplate.Client.Maui.csproj | 2 +- .../Boilerplate.Client.Web.csproj | 115 +- .../Boilerplate.Client.Windows.csproj | 6 +- .../Bit.Websites.Careers.Client.csproj | 1 + .../Bit.Websites.Platform.Client.csproj | 1 + .../Bit.Websites.Sales.Client.csproj | 1 + 9 files changed, 2380 insertions(+), 2376 deletions(-) diff --git a/src/BlazorUI/Bit.BlazorUI.Icons/BitIconName.cs b/src/BlazorUI/Bit.BlazorUI.Icons/BitIconName.cs index e246a71f9f..f62e1f62da 100644 --- a/src/BlazorUI/Bit.BlazorUI.Icons/BitIconName.cs +++ b/src/BlazorUI/Bit.BlazorUI.Icons/BitIconName.cs @@ -4,2317 +4,2317 @@ namespace Bit.BlazorUI; public static class BitIconName { - public static string _12PointStar = "12PointStar"; - public static string _6PointStar = "6PointStar"; - public static string AADLogo = nameof(AADLogo); - public static string Accept = nameof(Accept); - public static string AcceptMedium = nameof(AcceptMedium); - public static string AccessibilityChecker = nameof(AccessibilityChecker); - public static string AccessLogo = nameof(AccessLogo); - public static string AccountActivity = nameof(AccountActivity); - public static string AccountBrowser = nameof(AccountBrowser); - public static string AccountManagement = nameof(AccountManagement); - public static string Accounts = nameof(Accounts); - public static string ActionCenter = nameof(ActionCenter); - public static string ActivateOrders = nameof(ActivateOrders); - public static string ActivityFeed = nameof(ActivityFeed); - public static string Add = nameof(Add); - public static string AddBookmark = nameof(AddBookmark); - public static string AddConnection = nameof(AddConnection); - public static string AddEvent = nameof(AddEvent); - public static string AddFavorite = nameof(AddFavorite); - public static string AddFavoriteFill = nameof(AddFavoriteFill); - public static string AddField = nameof(AddField); - public static string AddFriend = nameof(AddFriend); - public static string AddGroup = nameof(AddGroup); - public static string AddHome = nameof(AddHome); - public static string AddIn = nameof(AddIn); - public static string AddLink = nameof(AddLink); - public static string AddMedium = nameof(AddMedium); - public static string AddMultiple = nameof(AddMultiple); - public static string AddNotes = nameof(AddNotes); - public static string AddOnlineMeeting = nameof(AddOnlineMeeting); - public static string AddPhone = nameof(AddPhone); - public static string AddReaction = nameof(AddReaction); - public static string AddSpaceAfter = nameof(AddSpaceAfter); - public static string AddSpaceBefore = nameof(AddSpaceBefore); - public static string AddTable = nameof(AddTable); - public static string AddTo = nameof(AddTo); - public static string AddToShoppingList = nameof(AddToShoppingList); - public static string AddWork = nameof(AddWork); - public static string Admin = nameof(Admin); - public static string AdminALogo32 = nameof(AdminALogo32); - public static string AdminALogoFill32 = nameof(AdminALogoFill32); - public static string AdminALogoInverse32 = nameof(AdminALogoInverse32); - public static string AdminCLogoInverse32 = nameof(AdminCLogoInverse32); - public static string AdminDLogoInverse32 = nameof(AdminDLogoInverse32); - public static string AdminELogoInverse32 = nameof(AdminELogoInverse32); - public static string AdminLLogoInverse32 = nameof(AdminLLogoInverse32); - public static string AdminMLogoInverse32 = nameof(AdminMLogoInverse32); - public static string AdminOLogoInverse32 = nameof(AdminOLogoInverse32); - public static string AdminPLogoInverse32 = nameof(AdminPLogoInverse32); - public static string AdminSLogoInverse32 = nameof(AdminSLogoInverse32); - public static string AdminYLogoInverse32 = nameof(AdminYLogoInverse32); - public static string Airplane = nameof(Airplane); - public static string AirplaneSolid = nameof(AirplaneSolid); - public static string AirTickets = nameof(AirTickets); - public static string AlarmClock = nameof(AlarmClock); - public static string Album = nameof(Album); - public static string AlbumRemove = nameof(AlbumRemove); - public static string AlertSettings = nameof(AlertSettings); - public static string AlertSolid = nameof(AlertSolid); - public static string AlignCenter = nameof(AlignCenter); - public static string AlignHorizontalCenter = nameof(AlignHorizontalCenter); - public static string AlignHorizontalLeft = nameof(AlignHorizontalLeft); - public static string AlignHorizontalRight = nameof(AlignHorizontalRight); - public static string AlignJustify = nameof(AlignJustify); - public static string AlignLeft = nameof(AlignLeft); - public static string AlignRight = nameof(AlignRight); - public static string AlignVerticalBottom = nameof(AlignVerticalBottom); - public static string AlignVerticalCenter = nameof(AlignVerticalCenter); - public static string AlignVerticalTop = nameof(AlignVerticalTop); - public static string AllApps = nameof(AllApps); - public static string AllAppsMirrored = nameof(AllAppsMirrored); - public static string AllCurrency = nameof(AllCurrency); - public static string AltText = nameof(AltText); - public static string AnalyticsLogo = nameof(AnalyticsLogo); - public static string AnalyticsQuery = nameof(AnalyticsQuery); - public static string AnalyticsReport = nameof(AnalyticsReport); - public static string AnalyticsView = nameof(AnalyticsView); - public static string AnchorLock = nameof(AnchorLock); - public static string Annotation = nameof(Annotation); - public static string AppIconDefault = nameof(AppIconDefault); - public static string AppIconDefaultAdd = nameof(AppIconDefaultAdd); - public static string AppIconDefaultEdit = nameof(AppIconDefaultEdit); - public static string AppIconDefaultList = nameof(AppIconDefaultList); - public static string AppIconSecure = nameof(AppIconSecure); - public static string AppsContent = nameof(AppsContent); - public static string Archive = nameof(Archive); - public static string ArchiveUndo = nameof(ArchiveUndo); - public static string AreaChart = nameof(AreaChart); - public static string ArrangeBringForward = nameof(ArrangeBringForward); - public static string ArrangeBringToFront = nameof(ArrangeBringToFront); - public static string ArrangeByFrom = nameof(ArrangeByFrom); - public static string ArrangeSendBackward = nameof(ArrangeSendBackward); - public static string ArrangeSendToBack = nameof(ArrangeSendToBack); - public static string Arrivals = nameof(Arrivals); - public static string ArrowDownRight8 = nameof(ArrowDownRight8); - public static string ArrowDownRightMirrored8 = nameof(ArrowDownRightMirrored8); - public static string ArrowTallDownLeft = nameof(ArrowTallDownLeft); - public static string ArrowTallDownRight = nameof(ArrowTallDownRight); - public static string ArrowTallUpLeft = nameof(ArrowTallUpLeft); - public static string ArrowTallUpRight = nameof(ArrowTallUpRight); - public static string ArrowUpRight = nameof(ArrowUpRight); - public static string ArrowUpRight8 = nameof(ArrowUpRight8); - public static string ArrowUpRightMirrored8 = nameof(ArrowUpRightMirrored8); - public static string Articles = nameof(Articles); - public static string Ascending = nameof(Ascending); - public static string AspectRatio = nameof(AspectRatio); - public static string AssessmentGroup = nameof(AssessmentGroup); - public static string AssessmentGroupTemplate = nameof(AssessmentGroupTemplate); - public static string AssetLibrary = nameof(AssetLibrary); - public static string Assign = nameof(Assign); - public static string AssignPolicy = nameof(AssignPolicy); - public static string Asterisk = nameof(Asterisk); - public static string AsteriskSolid = nameof(AsteriskSolid); - public static string ATPLogo = nameof(ATPLogo); - public static string Attach = nameof(Attach); - public static string AustralianRules = nameof(AustralianRules); - public static string AuthenticatorApp = nameof(AuthenticatorApp); - public static string AutoDeploySettings = nameof(AutoDeploySettings); - public static string AutoEnhanceOff = nameof(AutoEnhanceOff); - public static string AutoEnhanceOn = nameof(AutoEnhanceOn); - public static string AutoFillTemplate = nameof(AutoFillTemplate); - public static string AutoFitContents = nameof(AutoFitContents); - public static string AutoFitWindow = nameof(AutoFitWindow); - public static string AutoHeight = nameof(AutoHeight); - public static string AutomateFlow = nameof(AutomateFlow); - public static string AutoRacing = nameof(AutoRacing); - public static string AwayStatus = nameof(AwayStatus); - public static string AzureAPIManagement = nameof(AzureAPIManagement); - public static string AzureDataExplorer = nameof(AzureDataExplorer); - public static string AzureIcon = nameof(AzureIcon); - public static string AzureKeyVault = nameof(AzureKeyVault); - public static string AzureServiceEndpoint = nameof(AzureServiceEndpoint); - public static string Back = nameof(Back); - public static string BackgroundColor = nameof(BackgroundColor); - public static string Backlog = nameof(Backlog); - public static string BacklogBoard = nameof(BacklogBoard); - public static string BacklogList = nameof(BacklogList); - public static string BackToWindow = nameof(BackToWindow); - public static string Badge = nameof(Badge); - public static string Balloons = nameof(Balloons); - public static string Bank = nameof(Bank); - public static string BankSolid = nameof(BankSolid); - public static string BarChart3 = nameof(BarChart3); - public static string BarChart3One = nameof(BarChart3One); - public static string BarChart3Two = nameof(BarChart3Two); - public static string BarChart3Zero = nameof(BarChart3Zero); - public static string BarChart4 = nameof(BarChart4); - public static string BarChartHorizontal = nameof(BarChartHorizontal); - public static string BarChartVertical = nameof(BarChartVertical); - public static string BarChartVerticalEdit = nameof(BarChartVerticalEdit); - public static string BarChartVerticalFill = nameof(BarChartVerticalFill); - public static string BarChartVerticalFilter = nameof(BarChartVerticalFilter); - public static string BarChartVerticalFilterSolid = nameof(BarChartVerticalFilterSolid); - public static string Baseball = nameof(Baseball); - public static string BeerMug = nameof(BeerMug); - public static string BIDashboard = nameof(BIDashboard); - public static string BidiLtr = nameof(BidiLtr); - public static string Bidirectional = nameof(Bidirectional); - public static string BidiRtl = nameof(BidiRtl); - public static string Bill = nameof(Bill); - public static string BingLogo = nameof(BingLogo); - public static string BirthdayCake = nameof(BirthdayCake); - public static string BlobStorage = nameof(BlobStorage); - public static string BlockContact = nameof(BlockContact); - public static string Blocked = nameof(Blocked); - public static string Blocked12 = nameof(Blocked12); - public static string Blocked2 = nameof(Blocked2); - public static string Blocked2Solid = nameof(Blocked2Solid); - public static string BlockedSite = nameof(BlockedSite); - public static string BlockedSiteSolid12 = nameof(BlockedSiteSolid12); - public static string BlockedSolid = nameof(BlockedSolid); - public static string Blog = nameof(Blog); - public static string BlowingSnow = nameof(BlowingSnow); - public static string Blur = nameof(Blur); - public static string Boards = nameof(Boards); - public static string Bold = nameof(Bold); - public static string BoldBulgarian = nameof(BoldBulgarian); - public static string BoldF = nameof(BoldF); - public static string BoldG = nameof(BoldG); - public static string BoldK = nameof(BoldK); - public static string BoldKazakh = nameof(BoldKazakh); - public static string BoldKorean = nameof(BoldKorean); - public static string BoldN = nameof(BoldN); - public static string BoldP = nameof(BoldP); - public static string BoldRussion = nameof(BoldRussion); - public static string BoldSerbian = nameof(BoldSerbian); - public static string BoldT = nameof(BoldT); - public static string BookAnswers = nameof(BookAnswers); - public static string BookingsLogo = nameof(BookingsLogo); - public static string BookmarkReport = nameof(BookmarkReport); - public static string Bookmarks = nameof(Bookmarks); - public static string BookmarksMirrored = nameof(BookmarksMirrored); - public static string BooleanData = nameof(BooleanData); - public static string BorderAll = nameof(BorderAll); - public static string BorderDash = nameof(BorderDash); - public static string BorderDot = nameof(BorderDot); - public static string BorderInside = nameof(BorderInside); - public static string BorderInsideHorizontal = nameof(BorderInsideHorizontal); - public static string BorderInsideVertical = nameof(BorderInsideVertical); - public static string BorderNone = nameof(BorderNone); - public static string BoxAdditionSolid = nameof(BoxAdditionSolid); - public static string BoxCheckmarkSolid = nameof(BoxCheckmarkSolid); - public static string BoxMultiplySolid = nameof(BoxMultiplySolid); - public static string BoxPlaySolid = nameof(BoxPlaySolid); - public static string BoxSubtractSolid = nameof(BoxSubtractSolid); - public static string BranchCommit = nameof(BranchCommit); - public static string BranchCompare = nameof(BranchCompare); - public static string BranchFork = nameof(BranchFork); - public static string BranchFork2 = nameof(BranchFork2); - public static string BranchLocked = nameof(BranchLocked); - public static string BranchMerge = nameof(BranchMerge); - public static string BranchPullRequest = nameof(BranchPullRequest); - public static string BranchSearch = nameof(BranchSearch); - public static string BranchShelveset = nameof(BranchShelveset); - public static string Breadcrumb = nameof(Breadcrumb); - public static string Breakfast = nameof(Breakfast); - public static string BreakpointsRemove = nameof(BreakpointsRemove); - public static string Brightness = nameof(Brightness); - public static string Broom = nameof(Broom); - public static string BrowserScreenShot = nameof(BrowserScreenShot); - public static string BrowserTab = nameof(BrowserTab); - public static string BrowserTabScreenshot = nameof(BrowserTabScreenshot); - public static string Brunch = nameof(Brunch); - public static string Brush = nameof(Brush); - public static string BucketColor = nameof(BucketColor); - public static string BucketColorFill = nameof(BucketColorFill); - public static string BufferTimeAfter = nameof(BufferTimeAfter); - public static string BufferTimeBefore = nameof(BufferTimeBefore); - public static string BufferTimeBoth = nameof(BufferTimeBoth); - public static string Bug = nameof(Bug); - public static string BugAction = nameof(BugAction); - public static string BugBlock = nameof(BugBlock); - public static string BugSolid = nameof(BugSolid); - public static string BugSync = nameof(BugSync); - public static string BugWarning = nameof(BugWarning); - public static string Build = nameof(Build); - public static string BuildDefinition = nameof(BuildDefinition); - public static string BuildIssue = nameof(BuildIssue); - public static string BuildQueue = nameof(BuildQueue); - public static string BuildQueueNew = nameof(BuildQueueNew); - public static string BulkPageBlock = nameof(BulkPageBlock); - public static string BulkUpload = nameof(BulkUpload); - public static string BulletedList = nameof(BulletedList); - public static string BulletedList2 = nameof(BulletedList2); - public static string BulletedList2Mirrored = nameof(BulletedList2Mirrored); - public static string BulletedListBullet = nameof(BulletedListBullet); - public static string BulletedListBulletMirrored = nameof(BulletedListBulletMirrored); - public static string BulletedListMirrored = nameof(BulletedListMirrored); - public static string BulletedListText = nameof(BulletedListText); - public static string BulletedListTextMirrored = nameof(BulletedListTextMirrored); - public static string BulletedTreeList = nameof(BulletedTreeList); - public static string Bullseye = nameof(Bullseye); - public static string BullseyeTarget = nameof(BullseyeTarget); - public static string BullseyeTargetAdd = nameof(BullseyeTargetAdd); - public static string BullseyeTargetDelete = nameof(BullseyeTargetDelete); - public static string BullseyeTargetEdit = nameof(BullseyeTargetEdit); - public static string Bus = nameof(Bus); - public static string BusinessCard = nameof(BusinessCard); - public static string BusinessCenterLogo = nameof(BusinessCenterLogo); - public static string BusinessHoursSign = nameof(BusinessHoursSign); - public static string BusinessRule = nameof(BusinessRule); - public static string BusSolid = nameof(BusSolid); - public static string ButtonControl = nameof(ButtonControl); - public static string Cafe = nameof(Cafe); - public static string Cake = nameof(Cake); - public static string CalculatedTable = nameof(CalculatedTable); - public static string Calculator = nameof(Calculator); - public static string CalculatorAddition = nameof(CalculatorAddition); - public static string CalculatorDelta = nameof(CalculatorDelta); - public static string CalculatorEqualTo = nameof(CalculatorEqualTo); - public static string CalculatorGroup = nameof(CalculatorGroup); - public static string CalculatorMultiply = nameof(CalculatorMultiply); - public static string CalculatorNotEqualTo = nameof(CalculatorNotEqualTo); - public static string CalculatorPercentage = nameof(CalculatorPercentage); - public static string CalculatorSubtract = nameof(CalculatorSubtract); - public static string Calendar = nameof(Calendar); - public static string CalendarAgenda = nameof(CalendarAgenda); - public static string CalendarDay = nameof(CalendarDay); - public static string CalendarMirrored = nameof(CalendarMirrored); - public static string CalendarReply = nameof(CalendarReply); - public static string CalendarSettings = nameof(CalendarSettings); - public static string CalendarSettingsMirrored = nameof(CalendarSettingsMirrored); - public static string CalendarWeek = nameof(CalendarWeek); - public static string CalendarWorkWeek = nameof(CalendarWorkWeek); - public static string CalendarYear = nameof(CalendarYear); - public static string Calories = nameof(Calories); - public static string CaloriesAdd = nameof(CaloriesAdd); - public static string Camera = nameof(Camera); - public static string CampaignTemplate = nameof(CampaignTemplate); - public static string Cancel = nameof(Cancel); - public static string CannedChat = nameof(CannedChat); - public static string CanvasAppTemplate32 = nameof(CanvasAppTemplate32); - public static string Car = nameof(Car); - public static string CareActivity = nameof(CareActivity); - public static string CarePlan = nameof(CarePlan); - public static string CarePlanTemplate = nameof(CarePlanTemplate); - public static string CaretBottomLeftCenter8 = nameof(CaretBottomLeftCenter8); - public static string CaretBottomLeftSolid8 = nameof(CaretBottomLeftSolid8); - public static string CaretBottomRightCenter8 = nameof(CaretBottomRightCenter8); - public static string CaretBottomRightSolid8 = nameof(CaretBottomRightSolid8); - public static string CaretDown8 = nameof(CaretDown8); - public static string CaretDownSolid8 = nameof(CaretDownSolid8); - public static string CaretHollow = nameof(CaretHollow); - public static string CaretHollowMirrored = nameof(CaretHollowMirrored); - public static string CaretLeft8 = nameof(CaretLeft8); - public static string CaretLeftSolid8 = nameof(CaretLeftSolid8); - public static string CaretRight = nameof(CaretRight); - public static string CaretRight8 = nameof(CaretRight8); - public static string CaretRightSolid8 = nameof(CaretRightSolid8); - public static string CaretSolid = nameof(CaretSolid); - public static string CaretSolid16 = nameof(CaretSolid16); - public static string CaretSolidAlt = nameof(CaretSolidAlt); - public static string CaretSolidDown = nameof(CaretSolidDown); - public static string CaretSolidLeft = nameof(CaretSolidLeft); - public static string CaretSolidMirrored = nameof(CaretSolidMirrored); - public static string CaretSolidRight = nameof(CaretSolidRight); - public static string CaretSolidUp = nameof(CaretSolidUp); - public static string CaretTopLeftCenter8 = nameof(CaretTopLeftCenter8); - public static string CaretTopLeftSolid8 = nameof(CaretTopLeftSolid8); - public static string CaretTopRightCenter8 = nameof(CaretTopRightCenter8); - public static string CaretTopRightSolid8 = nameof(CaretTopRightSolid8); - public static string CaretUp8 = nameof(CaretUp8); - public static string CaretUpSolid8 = nameof(CaretUpSolid8); - public static string CaseSetting = nameof(CaseSetting); - public static string Cat = nameof(Cat); - public static string CategoryClassification = nameof(CategoryClassification); - public static string CC = nameof(CC); - public static string CCSolid = nameof(CCSolid); - public static string CellPhone = nameof(CellPhone); - public static string CellSplitVertical = nameof(CellSplitVertical); - public static string Certificate = nameof(Certificate); - public static string CertifiedDatabase = nameof(CertifiedDatabase); - public static string ChangeEntitlements = nameof(ChangeEntitlements); - public static string Chart = nameof(Chart); - public static string CharticulatorArrangePolar = nameof(CharticulatorArrangePolar); - public static string CharticulatorArrangePolarAngles = nameof(CharticulatorArrangePolarAngles); - public static string CharticulatorBand = nameof(CharticulatorBand); - public static string CharticulatorGuideCoordinator = nameof(CharticulatorGuideCoordinator); - public static string CharticulatorGuideX = nameof(CharticulatorGuideX); - public static string CharticulatorGuideY = nameof(CharticulatorGuideY); - public static string CharticulatorLegend = nameof(CharticulatorLegend); - public static string CharticulatorLine = nameof(CharticulatorLine); - public static string CharticulatorLineStyleDashed = nameof(CharticulatorLineStyleDashed); - public static string CharticulatorLineStyleDotted = nameof(CharticulatorLineStyleDotted); - public static string CharticulatorLinkingData = nameof(CharticulatorLinkingData); - public static string CharticulatorLinkingSequence = nameof(CharticulatorLinkingSequence); - public static string CharticulatorOrderColumn = nameof(CharticulatorOrderColumn); - public static string CharticulatorOrderRow = nameof(CharticulatorOrderRow); - public static string CharticulatorPlotCartesian = nameof(CharticulatorPlotCartesian); - public static string CharticulatorPlotCurve = nameof(CharticulatorPlotCurve); - public static string CharticulatorPolarCoordinates = nameof(CharticulatorPolarCoordinates); - public static string CharticulatorSpiral = nameof(CharticulatorSpiral); - public static string CharticulatorStackRadial = nameof(CharticulatorStackRadial); - public static string CharticulatorStackY = nameof(CharticulatorStackY); - public static string ChartSeries = nameof(ChartSeries); - public static string ChartTemplate = nameof(ChartTemplate); - public static string ChartXAngle = nameof(ChartXAngle); - public static string ChartYAngle = nameof(ChartYAngle); - public static string Chat = nameof(Chat); - public static string ChatBot = nameof(ChatBot); - public static string ChatInviteFriend = nameof(ChatInviteFriend); - public static string ChatSettings = nameof(ChatSettings); - public static string ChatSolid = nameof(ChatSolid); - public static string Checkbox = nameof(Checkbox); - public static string CheckboxComposite = nameof(CheckboxComposite); - public static string CheckboxCompositeReversed = nameof(CheckboxCompositeReversed); - public static string CheckboxFill = nameof(CheckboxFill); - public static string CheckboxIndeterminate = nameof(CheckboxIndeterminate); - public static string CheckboxIndeterminateCombo = nameof(CheckboxIndeterminateCombo); - public static string CheckedOutByOther12 = nameof(CheckedOutByOther12); - public static string CheckedOutByYou12 = nameof(CheckedOutByYou12); - public static string CheckList = nameof(CheckList); - public static string CheckListCheck = nameof(CheckListCheck); - public static string CheckListCheckMirrored = nameof(CheckListCheckMirrored); - public static string CheckListText = nameof(CheckListText); - public static string CheckListTextMirrored = nameof(CheckListTextMirrored); - public static string CheckMark = nameof(CheckMark); - public static string ChevronDown = nameof(ChevronDown); - public static string ChevronDownEnd = nameof(ChevronDownEnd); - public static string ChevronDownEnd6 = nameof(ChevronDownEnd6); - public static string ChevronDownMed = nameof(ChevronDownMed); - public static string ChevronDownSmall = nameof(ChevronDownSmall); - public static string ChevronFold10 = nameof(ChevronFold10); - public static string ChevronLeft = nameof(ChevronLeft); - public static string ChevronLeftEnd6 = nameof(ChevronLeftEnd6); - public static string ChevronLeftMed = nameof(ChevronLeftMed); - public static string ChevronLeftSmall = nameof(ChevronLeftSmall); - public static string ChevronRight = nameof(ChevronRight); - public static string ChevronRightEnd6 = nameof(ChevronRightEnd6); - public static string ChevronRightMed = nameof(ChevronRightMed); - public static string ChevronRightSmall = nameof(ChevronRightSmall); - public static string ChevronUnfold10 = nameof(ChevronUnfold10); - public static string ChevronUp = nameof(ChevronUp); - public static string ChevronUpEnd = nameof(ChevronUpEnd); - public static string ChevronUpEnd6 = nameof(ChevronUpEnd6); - public static string ChevronUpMed = nameof(ChevronUpMed); - public static string ChevronUpSmall = nameof(ChevronUpSmall); - public static string ChildOf = nameof(ChildOf); - public static string ChoiceColumn = nameof(ChoiceColumn); - public static string Chopsticks = nameof(Chopsticks); - public static string ChromeBack = nameof(ChromeBack); - public static string ChromeBackMirrored = nameof(ChromeBackMirrored); - public static string ChromeClose = nameof(ChromeClose); - public static string ChromeFullScreen = nameof(ChromeFullScreen); - public static string ChromeMinimize = nameof(ChromeMinimize); - public static string ChromeRestore = nameof(ChromeRestore); - public static string CircleAddition = nameof(CircleAddition); - public static string CircleAdditionSolid = nameof(CircleAdditionSolid); - public static string CircleDollar = nameof(CircleDollar); - public static string CircleFill = nameof(CircleFill); - public static string CircleHalfFull = nameof(CircleHalfFull); - public static string CirclePause = nameof(CirclePause); - public static string CirclePauseSolid = nameof(CirclePauseSolid); - public static string CirclePlus = nameof(CirclePlus); - public static string CircleRing = nameof(CircleRing); - public static string CircleShape = nameof(CircleShape); - public static string CircleShapeSolid = nameof(CircleShapeSolid); - public static string CircleStop = nameof(CircleStop); - public static string CircleStopSolid = nameof(CircleStopSolid); - public static string CityNext = nameof(CityNext); - public static string CityNext2 = nameof(CityNext2); - public static string ClassNotebookLogo16 = nameof(ClassNotebookLogo16); - public static string ClassNotebookLogo32 = nameof(ClassNotebookLogo32); - public static string ClassNotebookLogoFill16 = nameof(ClassNotebookLogoFill16); - public static string ClassNotebookLogoFill32 = nameof(ClassNotebookLogoFill32); - public static string ClassNotebookLogoInverse = nameof(ClassNotebookLogoInverse); - public static string ClassNotebookLogoInverse16 = nameof(ClassNotebookLogoInverse16); - public static string ClassNotebookLogoInverse32 = nameof(ClassNotebookLogoInverse32); - public static string ClassroomLogo = nameof(ClassroomLogo); - public static string Clear = nameof(Clear); - public static string ClearFilter = nameof(ClearFilter); - public static string ClearFormatting = nameof(ClearFormatting); - public static string ClearFormattingA = nameof(ClearFormattingA); - public static string ClearFormattingEraser = nameof(ClearFormattingEraser); - public static string ClearNight = nameof(ClearNight); - public static string ClearSelection = nameof(ClearSelection); - public static string ClearSelectionMirrored = nameof(ClearSelectionMirrored); - public static string Clicked = nameof(Clicked); - public static string ClinicalImpression = nameof(ClinicalImpression); - public static string Clipboard = nameof(Clipboard); - public static string ClipboardList = nameof(ClipboardList); - public static string ClipboardListAdd = nameof(ClipboardListAdd); - public static string ClipboardListMirrored = nameof(ClipboardListMirrored); - public static string ClipboardListQuestion = nameof(ClipboardListQuestion); - public static string ClipboardListReply = nameof(ClipboardListReply); - public static string ClipboardSolid = nameof(ClipboardSolid); - public static string Clock = nameof(Clock); - public static string CloneToDesktop = nameof(CloneToDesktop); - public static string ClosedCaption = nameof(ClosedCaption); - public static string ClosePane = nameof(ClosePane); - public static string ClosePaneMirrored = nameof(ClosePaneMirrored); - public static string Cloud = nameof(Cloud); - public static string CloudAdd = nameof(CloudAdd); - public static string CloudDownload = nameof(CloudDownload); - public static string CloudEdit = nameof(CloudEdit); - public static string CloudFlow = nameof(CloudFlow); - public static string CloudImportExport = nameof(CloudImportExport); - public static string CloudLink = nameof(CloudLink); - public static string CloudNotSynced = nameof(CloudNotSynced); - public static string CloudPrinter = nameof(CloudPrinter); - public static string CloudSearch = nameof(CloudSearch); - public static string CloudSecure = nameof(CloudSecure); - public static string CloudUpload = nameof(CloudUpload); - public static string CloudWeather = nameof(CloudWeather); - public static string Cloudy = nameof(Cloudy); - public static string Cocktails = nameof(Cocktails); - public static string Code = nameof(Code); - public static string CodeEdit = nameof(CodeEdit); - public static string Coffee = nameof(Coffee); - public static string CoffeeScript = nameof(CoffeeScript); - public static string CollapseAll = nameof(CollapseAll); - public static string CollapseContent = nameof(CollapseContent); - public static string CollapseContentSingle = nameof(CollapseContentSingle); - public static string CollapseMenu = nameof(CollapseMenu); - public static string CollegeFootball = nameof(CollegeFootball); - public static string CollegeHoops = nameof(CollegeHoops); - public static string Color = nameof(Color); - public static string ColorSolid = nameof(ColorSolid); - public static string Column = nameof(Column); - public static string ColumnFunction = nameof(ColumnFunction); - public static string ColumnLeftTwoThirds = nameof(ColumnLeftTwoThirds); - public static string ColumnLeftTwoThirdsEdit = nameof(ColumnLeftTwoThirdsEdit); - public static string ColumnList = nameof(ColumnList); - public static string ColumnOptions = nameof(ColumnOptions); - public static string ColumnQuestion = nameof(ColumnQuestion); - public static string ColumnQuestionMirrored = nameof(ColumnQuestionMirrored); - public static string ColumnRightTwoThirds = nameof(ColumnRightTwoThirds); - public static string ColumnRightTwoThirdsEdit = nameof(ColumnRightTwoThirdsEdit); - public static string ColumnSigma = nameof(ColumnSigma); - public static string ColumnVerticalSection = nameof(ColumnVerticalSection); - public static string ColumnVerticalSectionEdit = nameof(ColumnVerticalSectionEdit); - public static string Combine = nameof(Combine); - public static string Combobox = nameof(Combobox); - public static string CommandPrompt = nameof(CommandPrompt); - public static string Comment = nameof(Comment); - public static string CommentActive = nameof(CommentActive); - public static string CommentAdd = nameof(CommentAdd); - public static string CommentNext = nameof(CommentNext); - public static string CommentPrevious = nameof(CommentPrevious); - public static string CommentSolid = nameof(CommentSolid); - public static string CommentUrgent = nameof(CommentUrgent); - public static string Commitments = nameof(Commitments); - public static string CommonDataServiceCDS = nameof(CommonDataServiceCDS); - public static string CommunicationDetails = nameof(CommunicationDetails); - public static string CommunicationDetailsMirrored = nameof(CommunicationDetailsMirrored); - public static string Communications = nameof(Communications); - public static string CompactColumnList = nameof(CompactColumnList); - public static string CompactViewList = nameof(CompactViewList); - public static string CompanyDirectory = nameof(CompanyDirectory); - public static string CompanyDirectoryMirrored = nameof(CompanyDirectoryMirrored); - public static string Compare = nameof(Compare); - public static string CompareUneven = nameof(CompareUneven); - public static string CompassNW = nameof(CompassNW); - public static string Completed = nameof(Completed); - public static string Completed12 = nameof(Completed12); - public static string CompletedSolid = nameof(CompletedSolid); - public static string ComplianceAudit = nameof(ComplianceAudit); - public static string ConfigurationSolid = nameof(ConfigurationSolid); - public static string ConfirmEvent = nameof(ConfirmEvent); - public static string ConnectContacts = nameof(ConnectContacts); - public static string ConnectVirtualMachine = nameof(ConnectVirtualMachine); - public static string ConstructionCone = nameof(ConstructionCone); - public static string ConstructionConeSolid = nameof(ConstructionConeSolid); - public static string Contact = nameof(Contact); - public static string ContactCard = nameof(ContactCard); - public static string ContactCardSettings = nameof(ContactCardSettings); - public static string ContactCardSettingsMirrored = nameof(ContactCardSettingsMirrored); - public static string ContactHeart = nameof(ContactHeart); - public static string ContactInfo = nameof(ContactInfo); - public static string ContactInfoMirrored = nameof(ContactInfoMirrored); - public static string ContactLink = nameof(ContactLink); - public static string ContactList = nameof(ContactList); - public static string ContactLock = nameof(ContactLock); - public static string ContentFeed = nameof(ContentFeed); - public static string ContentSettings = nameof(ContentSettings); - public static string ContentUnderstandingApp = nameof(ContentUnderstandingApp); - public static string ContextMenu = nameof(ContextMenu); - public static string Contrast = nameof(Contrast); - public static string Copy = nameof(Copy); - public static string CopyEdit = nameof(CopyEdit); - public static string CopyPath = nameof(CopyPath); - public static string CortanaLogoBeckonInner = nameof(CortanaLogoBeckonInner); - public static string CortanaLogoBeckonOuter = nameof(CortanaLogoBeckonOuter); - public static string CortanaLogoInner = nameof(CortanaLogoInner); - public static string CortanaLogoOuter = nameof(CortanaLogoOuter); - public static string CortanaLogoReadyInner = nameof(CortanaLogoReadyInner); - public static string CortanaLogoReadyOuter = nameof(CortanaLogoReadyOuter); - public static string CostControlLedgerAdmin = nameof(CostControlLedgerAdmin); - public static string CostControl = nameof(CostControl); - public static string Cotton = nameof(Cotton); - public static string Count = nameof(Count); - public static string Coupon = nameof(Coupon); - public static string CPlusPlus = nameof(CPlusPlus); - public static string CPlusPlusLanguage = nameof(CPlusPlusLanguage); - public static string CreateMailRule = nameof(CreateMailRule); - public static string CreditCardBill = nameof(CreditCardBill); - public static string Cricket = nameof(Cricket); - public static string CriticalErrorSolid = nameof(CriticalErrorSolid); - public static string CRMLead = nameof(CRMLead); - public static string CRMProcesses = nameof(CRMProcesses); - public static string CRMReport = nameof(CRMReport); - public static string CRMResourceOptimizationApp32 = nameof(CRMResourceOptimizationApp32); - public static string CRMServices = nameof(CRMServices); - public static string Crop = nameof(Crop); - public static string Crown = nameof(Crown); - public static string CrownSolid = nameof(CrownSolid); - public static string CSharp = nameof(CSharp); - public static string CSharpLanguage = nameof(CSharpLanguage); - public static string CSS = nameof(CSS); - public static string CtrlButton = nameof(CtrlButton); - public static string CubeShape = nameof(CubeShape); - public static string CubeShapeSolid = nameof(CubeShapeSolid); - public static string Currency = nameof(Currency); - public static string CustomActivity = nameof(CustomActivity); - public static string CustomEntity = nameof(CustomEntity); - public static string CustomerAssets = nameof(CustomerAssets); - public static string CustomizeToolbar = nameof(CustomizeToolbar); - public static string CustomList = nameof(CustomList); - public static string CustomListMirrored = nameof(CustomListMirrored); - public static string Cut = nameof(Cut); - public static string Cycling = nameof(Cycling); - public static string D365BusinessCentral = nameof(D365BusinessCentral); - public static string D365CoreHR = nameof(D365CoreHR); - public static string D365CustomerInsights = nameof(D365CustomerInsights); - public static string D365CustomerVoiceApp = nameof(D365CustomerVoiceApp); - public static string D365ProjectOperations = nameof(D365ProjectOperations); - public static string D365TalentInsight = nameof(D365TalentInsight); - public static string D365TalentLearn = nameof(D365TalentLearn); - public static string DashboardAdd = nameof(DashboardAdd); - public static string DataAnalysis = nameof(DataAnalysis); - public static string Database = nameof(Database); - public static string DatabaseActivity = nameof(DatabaseActivity); - public static string DatabaseBlock = nameof(DatabaseBlock); - public static string DatabaseRefresh = nameof(DatabaseRefresh); - public static string DatabaseSource = nameof(DatabaseSource); - public static string DatabaseSwap = nameof(DatabaseSwap); - public static string DatabaseSync = nameof(DatabaseSync); - public static string DatabaseView = nameof(DatabaseView); - public static string DataConnectionLibrary = nameof(DataConnectionLibrary); - public static string DataEnrichment = nameof(DataEnrichment); - public static string DataFilter = nameof(DataFilter); - public static string DataFlow = nameof(DataFlow); - public static string Dataflows = nameof(Dataflows); - public static string DataflowsLink = nameof(DataflowsLink); - public static string DataManagementSettings = nameof(DataManagementSettings); - public static string DatamartExternal = nameof(DatamartExternal); - public static string Dataverse = nameof(Dataverse); - public static string DateTime = nameof(DateTime); - public static string DateTime12 = nameof(DateTime12); - public static string DateTime2 = nameof(DateTime2); - public static string DateTimeMirrored = nameof(DateTimeMirrored); - public static string DeactivateOrders = nameof(DeactivateOrders); - public static string Debug = nameof(Debug); - public static string DebugAll = nameof(DebugAll); - public static string Decimals = nameof(Decimals); - public static string DecisionSolid = nameof(DecisionSolid); - public static string DeclineCall = nameof(DeclineCall); - public static string DecreaseIndent = nameof(DecreaseIndent); - public static string DecreaseIndentArrow = nameof(DecreaseIndentArrow); - public static string DecreaseIndentArrowMirrored = nameof(DecreaseIndentArrowMirrored); - public static string DecreaseIndentMirrored = nameof(DecreaseIndentMirrored); - public static string DecreaseIndentText = nameof(DecreaseIndentText); - public static string DecreaseIndentTextMirrored = nameof(DecreaseIndentTextMirrored); - public static string DefaultRatio = nameof(DefaultRatio); - public static string DefaultSettings = nameof(DefaultSettings); - public static string DefectSolid = nameof(DefectSolid); - public static string DefenderApp = nameof(DefenderApp); - public static string DefenderBadge12 = nameof(DefenderBadge12); - public static string DefenderTVM = nameof(DefenderTVM); - public static string Delete = nameof(Delete); - public static string DeleteColumns = nameof(DeleteColumns); - public static string DeleteRows = nameof(DeleteRows); - public static string DeleteRowsMirrored = nameof(DeleteRowsMirrored); - public static string DeleteTable = nameof(DeleteTable); - public static string DeliveryTruck = nameof(DeliveryTruck); - public static string DelveAnalytics = nameof(DelveAnalytics); - public static string DelveAnalyticsLogo = nameof(DelveAnalyticsLogo); - public static string DelveLogo = nameof(DelveLogo); - public static string DelveLogoFill = nameof(DelveLogoFill); - public static string DelveLogoInverse = nameof(DelveLogoInverse); - public static string DensityComfy = nameof(DensityComfy); - public static string DensityDefault = nameof(DensityDefault); - public static string DependencyAdd = nameof(DependencyAdd); - public static string DependencyRemove = nameof(DependencyRemove); - public static string Deploy = nameof(Deploy); - public static string Descending = nameof(Descending); - public static string Design = nameof(Design); - public static string DesktopFlow = nameof(DesktopFlow); - public static string DesktopScreenshot = nameof(DesktopScreenshot); - public static string DeveloperTools = nameof(DeveloperTools); - public static string DeviceBug = nameof(DeviceBug); - public static string DeviceOff = nameof(DeviceOff); - public static string DeviceRun = nameof(DeviceRun); - public static string Devices2 = nameof(Devices2); - public static string Devices3 = nameof(Devices3); - public static string Devices4 = nameof(Devices4); - public static string Diagnostic = nameof(Diagnostic); - public static string DiagnosticDataBar = nameof(DiagnosticDataBar); - public static string DiagnosticDataBarTooltip = nameof(DiagnosticDataBarTooltip); - public static string DiagnosticDataViewerApp = nameof(DiagnosticDataViewerApp); - public static string Dialpad = nameof(Dialpad); - public static string DialShape1 = nameof(DialShape1); - public static string DialShape3 = nameof(DialShape3); - public static string Diamond = nameof(Diamond); - public static string DiamondSolid = nameof(DiamondSolid); - public static string DiamondUser = nameof(DiamondUser); - public static string Dictionary = nameof(Dictionary); - public static string DictionaryRemove = nameof(DictionaryRemove); - public static string DietPlanNotebook = nameof(DietPlanNotebook); - public static string DiffInline = nameof(DiffInline); - public static string DiffSideBySide = nameof(DiffSideBySide); - public static string Diploma = nameof(Diploma); - public static string DisableUpdates = nameof(DisableUpdates); - public static string DisconnectVirtualMachine = nameof(DisconnectVirtualMachine); - public static string Dislike = nameof(Dislike); - public static string DislikeSolid = nameof(DislikeSolid); - public static string Distance = nameof(Distance); - public static string DistributeDown = nameof(DistributeDown); - public static string DockLeft = nameof(DockLeft); - public static string DockLeftMirrored = nameof(DockLeftMirrored); - public static string DockRight = nameof(DockRight); - public static string DocLibrary = nameof(DocLibrary); - public static string DocsLogoInverse = nameof(DocsLogoInverse); - public static string Document = nameof(Document); - public static string DocumentApproval = nameof(DocumentApproval); - public static string Documentation = nameof(Documentation); - public static string DocumentManagement = nameof(DocumentManagement); - public static string DocumentReply = nameof(DocumentReply); - public static string DocumentSearch = nameof(DocumentSearch); - public static string DocumentSet = nameof(DocumentSet); - public static string DOM = nameof(DOM); - public static string DonutChart = nameof(DonutChart); - public static string Door = nameof(Door); - public static string DoubleBookmark = nameof(DoubleBookmark); - public static string DoubleChevronDown = nameof(DoubleChevronDown); - public static string DoubleChevronDown12 = nameof(DoubleChevronDown12); - public static string DoubleChevronDown8 = nameof(DoubleChevronDown8); - public static string DoubleChevronLeft = nameof(DoubleChevronLeft); - public static string DoubleChevronLeft12 = nameof(DoubleChevronLeft12); - public static string DoubleChevronLeft8 = nameof(DoubleChevronLeft8); - public static string DoubleChevronLeftMed = nameof(DoubleChevronLeftMed); - public static string DoubleChevronLeftMedMirrored = nameof(DoubleChevronLeftMedMirrored); - public static string DoubleChevronRight = nameof(DoubleChevronRight); - public static string DoubleChevronRight12 = nameof(DoubleChevronRight12); - public static string DoubleChevronRight8 = nameof(DoubleChevronRight8); - public static string DoubleChevronUp = nameof(DoubleChevronUp); - public static string DoubleChevronUp12 = nameof(DoubleChevronUp12); - public static string DoubleChevronUp8 = nameof(DoubleChevronUp8); - public static string DoubleColumn = nameof(DoubleColumn); - public static string DoubleColumnEdit = nameof(DoubleColumnEdit); - public static string DoubleDownArrow = nameof(DoubleDownArrow); - public static string Down = nameof(Down); - public static string DownKey = nameof(DownKey); - public static string Download = nameof(Download); - public static string DownloadDocument = nameof(DownloadDocument); - public static string DragObject = nameof(DragObject); - public static string DrillDown = nameof(DrillDown); - public static string DrillDownSolid = nameof(DrillDownSolid); - public static string DrillExpand = nameof(DrillExpand); - public static string DrillShow = nameof(DrillShow); - public static string DrillThrough = nameof(DrillThrough); - public static string DriverOff = nameof(DriverOff); - public static string DRM = nameof(DRM); - public static string Drop = nameof(Drop); - public static string Dropdown = nameof(Dropdown); - public static string DropShape = nameof(DropShape); - public static string DropShapeSolid = nameof(DropShapeSolid); - public static string DuplicateRow = nameof(DuplicateRow); - public static string DustStorm = nameof(DustStorm); - public static string DynamicList = nameof(DynamicList); - public static string Dynamics365Logo = nameof(Dynamics365Logo); - public static string DynamicSMBLogo = nameof(DynamicSMBLogo); - public static string EaseOfAccess = nameof(EaseOfAccess); - public static string EatDrink = nameof(EatDrink); - public static string EdgeLogo = nameof(EdgeLogo); - public static string EdgeLogo16 = nameof(EdgeLogo16); - public static string EdgeOldLogo = nameof(EdgeOldLogo); - public static string eDiscovery = nameof(eDiscovery); - public static string Edit = nameof(Edit); - public static string EditContact = nameof(EditContact); - public static string EditCreate = nameof(EditCreate); - public static string EditEvent = nameof(EditEvent); - public static string EditListPencil = nameof(EditListPencil); - public static string EditMail = nameof(EditMail); - public static string EditMirrored = nameof(EditMirrored); - public static string EditNote = nameof(EditNote); - public static string EditPhoto = nameof(EditPhoto); - public static string EditSolid12 = nameof(EditSolid12); - public static string EditSolidMirrored12 = nameof(EditSolidMirrored12); - public static string EditStyle = nameof(EditStyle); - public static string EditTable = nameof(EditTable); - public static string Education = nameof(Education); - public static string Ellipse = nameof(Ellipse); - public static string Embed = nameof(Embed); - public static string EMI = nameof(EMI); - public static string Emoji = nameof(Emoji); - public static string Emoji2 = nameof(Emoji2); - public static string EmojiDisappointed = nameof(EmojiDisappointed); - public static string EmojiNeutral = nameof(EmojiNeutral); - public static string EmojiTabSymbols = nameof(EmojiTabSymbols); - public static string EmployeeSelfService = nameof(EmployeeSelfService); - public static string EmptyRecycleBin = nameof(EmptyRecycleBin); - public static string Encounter = nameof(Encounter); - public static string Encryption = nameof(Encryption); - public static string EndPointSolid = nameof(EndPointSolid); - public static string EngineeringGroup = nameof(EngineeringGroup); - public static string EntitlementPolicy = nameof(EntitlementPolicy); - public static string EntitlementRedemption = nameof(EntitlementRedemption); - public static string EntityExtraction = nameof(EntityExtraction); - public static string EntryDecline = nameof(EntryDecline); - public static string EntryView = nameof(EntryView); - public static string Equalizer = nameof(Equalizer); - public static string EraseTool = nameof(EraseTool); - public static string Error = nameof(Error); - public static string ErrorBadge = nameof(ErrorBadge); - public static string ErrorBadge12 = nameof(ErrorBadge12); - public static string Event = nameof(Event); - public static string Event12 = nameof(Event12); - public static string EventAccepted = nameof(EventAccepted); - public static string EventDate = nameof(EventDate); - public static string EventDateMissed12 = nameof(EventDateMissed12); - public static string EventDeclined = nameof(EventDeclined); - public static string EventInfo = nameof(EventInfo); - public static string EventTentative = nameof(EventTentative); - public static string EventTentativeMirrored = nameof(EventTentativeMirrored); - public static string EventToDoLogo = nameof(EventToDoLogo); - public static string ExcelDocument = nameof(ExcelDocument); - public static string ExcelLogo = nameof(ExcelLogo); - public static string ExcelLogo16 = nameof(ExcelLogo16); - public static string ExcelLogoInverse = nameof(ExcelLogoInverse); - public static string ExcelLogoInverse16 = nameof(ExcelLogoInverse16); - public static string ExchangeLogo = nameof(ExchangeLogo); - public static string ExchangeLogoInverse = nameof(ExchangeLogoInverse); - public static string ExerciseTracker = nameof(ExerciseTracker); - public static string ExpandAll = nameof(ExpandAll); - public static string ExpandMenu = nameof(ExpandMenu); - public static string ExploreContent = nameof(ExploreContent); - public static string ExploreContentSingle = nameof(ExploreContentSingle); - public static string ExploreData = nameof(ExploreData); - public static string Export = nameof(Export); - public static string ExportMirrored = nameof(ExportMirrored); - public static string ExpressRouteCircuits = nameof(ExpressRouteCircuits); - public static string ExternalBuild = nameof(ExternalBuild); - public static string ExternalTFVC = nameof(ExternalTFVC); - public static string ExternalUser = nameof(ExternalUser); - public static string ExternalXAML = nameof(ExternalXAML); - public static string Eyedropper = nameof(Eyedropper); - public static string EyeShadow = nameof(EyeShadow); - public static string F12DevTools = nameof(F12DevTools); - public static string FabricAssetLibrary = nameof(FabricAssetLibrary); - public static string FabricChannelFolder = nameof(FabricChannelFolder); - public static string FabricDataConnectionLibrary = nameof(FabricDataConnectionLibrary); - public static string FabricDocLibrary = nameof(FabricDocLibrary); - public static string FabricFolder = nameof(FabricFolder); - public static string FabricFolderConfirm = nameof(FabricFolderConfirm); - public static string FabricFolderFill = nameof(FabricFolderFill); - public static string FabricFolderLink = nameof(FabricFolderLink); - public static string FabricFolderSearch = nameof(FabricFolderSearch); - public static string FabricFolderUpload = nameof(FabricFolderUpload); - public static string FabricFormLibrary = nameof(FabricFormLibrary); - public static string FabricFormLibraryMirrored = nameof(FabricFormLibraryMirrored); - public static string FabricMoveToFolder = nameof(FabricMoveToFolder); - public static string FabricNetworkFolder = nameof(FabricNetworkFolder); - public static string FabricNewFolder = nameof(FabricNewFolder); - public static string FabricOpenFolderHorizontal = nameof(FabricOpenFolderHorizontal); - public static string FabricPictureLibrary = nameof(FabricPictureLibrary); - public static string FabricPublicFolder = nameof(FabricPublicFolder); - public static string FabricReportLibrary = nameof(FabricReportLibrary); - public static string FabricReportLibraryMirrored = nameof(FabricReportLibraryMirrored); - public static string FabricSyncFolder = nameof(FabricSyncFolder); - public static string FabricTextHighlight = nameof(FabricTextHighlight); - public static string FabricTextHighlightComposite = nameof(FabricTextHighlightComposite); - public static string FabricUnsyncFolder = nameof(FabricUnsyncFolder); - public static string FabricUserFolder = nameof(FabricUserFolder); - public static string Factory = nameof(Factory); - public static string Family = nameof(Family); - public static string FangBody = nameof(FangBody); - public static string FastForward = nameof(FastForward); - public static string FastForwardEightX = nameof(FastForwardEightX); - public static string FastForwardFourX = nameof(FastForwardFourX); - public static string FastForwardOneFiveX = nameof(FastForwardOneFiveX); - public static string FastForwardOneX = nameof(FastForwardOneX); - public static string FastForwardPointFiveX = nameof(FastForwardPointFiveX); - public static string FastForwardTwoX = nameof(FastForwardTwoX); - public static string FastMode = nameof(FastMode); - public static string Favicon = nameof(Favicon); - public static string FavoriteBlock = nameof(FavoriteBlock); - public static string FavoriteList = nameof(FavoriteList); - public static string FavoriteStar = nameof(FavoriteStar); - public static string FavoriteStarFill = nameof(FavoriteStarFill); - public static string Fax = nameof(Fax); - public static string Feedback = nameof(Feedback); - public static string FeedbackRequestMirroredSolid = nameof(FeedbackRequestMirroredSolid); - public static string FeedbackRequestSolid = nameof(FeedbackRequestSolid); - public static string FeedbackResponseSolid = nameof(FeedbackResponseSolid); - public static string Ferry = nameof(Ferry); - public static string FerrySolid = nameof(FerrySolid); - public static string FieldChanged = nameof(FieldChanged); - public static string FieldEmpty = nameof(FieldEmpty); - public static string FieldFilled = nameof(FieldFilled); - public static string FieldNotChanged = nameof(FieldNotChanged); - public static string FieldReadOnly = nameof(FieldReadOnly); - public static string FieldRequired = nameof(FieldRequired); - public static string FileASPX = nameof(FileASPX); - public static string FileBug = nameof(FileBug); - public static string FileCode = nameof(FileCode); - public static string FileComment = nameof(FileComment); - public static string FileCSS = nameof(FileCSS); - public static string FileHTML = nameof(FileHTML); - public static string FileImage = nameof(FileImage); - public static string FileJAVA = nameof(FileJAVA); - public static string FileLess = nameof(FileLess); - public static string FileOff = nameof(FileOff); - public static string FilePDB = nameof(FilePDB); - public static string FileRequest = nameof(FileRequest); - public static string FileSass = nameof(FileSass); - public static string FileSQL = nameof(FileSQL); - public static string FileSymlink = nameof(FileSymlink); - public static string FileSystem = nameof(FileSystem); - public static string FileTemplate = nameof(FileTemplate); - public static string FileTypeSolution = nameof(FileTypeSolution); - public static string FileYML = nameof(FileYML); - public static string Filter = nameof(Filter); - public static string FilterAscending = nameof(FilterAscending); - public static string FilterDescending = nameof(FilterDescending); - public static string Filters = nameof(Filters); - public static string FilterSettings = nameof(FilterSettings); - public static string FilterSolid = nameof(FilterSolid); - public static string FiltersSolid = nameof(FiltersSolid); - public static string Financial = nameof(Financial); - public static string FinancialMirroredSolid = nameof(FinancialMirroredSolid); - public static string FinancialSolid = nameof(FinancialSolid); - public static string Fingerprint = nameof(Fingerprint); - public static string FitPage = nameof(FitPage); - public static string FitWidth = nameof(FitWidth); - public static string FiveTileGrid = nameof(FiveTileGrid); - public static string FixedAssetManagement = nameof(FixedAssetManagement); - public static string FixedColumnWidth = nameof(FixedColumnWidth); - public static string Flag = nameof(Flag); - public static string FlameSolid = nameof(FlameSolid); - public static string FlashAuto = nameof(FlashAuto); - public static string Flashlight = nameof(Flashlight); - public static string FlashOff = nameof(FlashOff); - public static string FlickDown = nameof(FlickDown); - public static string FlickLeft = nameof(FlickLeft); - public static string FlickRight = nameof(FlickRight); - public static string FlickUp = nameof(FlickUp); - public static string Flow = nameof(Flow); - public static string FlowChart = nameof(FlowChart); - public static string Flower = nameof(Flower); - public static string FlowTemplate = nameof(FlowTemplate); - public static string FlowTrigger = nameof(FlowTrigger); - public static string FluidLogo = nameof(FluidLogo); - public static string FocalPoint = nameof(FocalPoint); - public static string Focus = nameof(Focus); - public static string FocusView = nameof(FocusView); - public static string Fog = nameof(Fog); - public static string Folder = nameof(Folder); - public static string FolderFill = nameof(FolderFill); - public static string FolderHorizontal = nameof(FolderHorizontal); - public static string FolderList = nameof(FolderList); - public static string FolderListMirrored = nameof(FolderListMirrored); - public static string FolderOpen = nameof(FolderOpen); - public static string FolderQuery = nameof(FolderQuery); - public static string FolderSearch = nameof(FolderSearch); - public static string FollowUser = nameof(FollowUser); - public static string Font = nameof(Font); - public static string FontColor = nameof(FontColor); - public static string FontColorA = nameof(FontColorA); - public static string FontColorKorean = nameof(FontColorKorean); - public static string FontColorSwatch = nameof(FontColorSwatch); - public static string FontDecrease = nameof(FontDecrease); - public static string FontIncrease = nameof(FontIncrease); - public static string FontSize = nameof(FontSize); - public static string FontSize2 = nameof(FontSize2); - public static string FontStyleKorean = nameof(FontStyleKorean); - public static string Footer = nameof(Footer); - public static string FormatPainter = nameof(FormatPainter); - public static string FormLibrary = nameof(FormLibrary); - public static string FormLibraryMirrored = nameof(FormLibraryMirrored); - public static string FormProcessing = nameof(FormProcessing); - public static string Forum = nameof(Forum); - public static string Forward = nameof(Forward); - public static string ForwardEvent = nameof(ForwardEvent); - public static string Freezing = nameof(Freezing); - public static string FreezingRain = nameof(FreezingRain); - public static string Frigid = nameof(Frigid); - public static string FrontCamera = nameof(FrontCamera); - public static string FSharp = nameof(FSharp); - public static string FSharpLanguage = nameof(FSharpLanguage); - public static string FullCircleMask = nameof(FullCircleMask); - public static string FullHistory = nameof(FullHistory); - public static string FullScreen = nameof(FullScreen); - public static string FullView = nameof(FullView); - public static string FullWidth = nameof(FullWidth); - public static string FullWidthEdit = nameof(FullWidthEdit); - public static string FunctionalManagerDashboard = nameof(FunctionalManagerDashboard); - public static string FunnelChart = nameof(FunnelChart); - public static string GallatinLogo = nameof(GallatinLogo); - public static string Game = nameof(Game); - public static string Gather = nameof(Gather); - public static string Generate = nameof(Generate); - public static string GenericScan = nameof(GenericScan); - public static string GenericScanFilled = nameof(GenericScanFilled); - public static string GIF = nameof(GIF); - public static string Giftbox = nameof(Giftbox); - public static string GiftboxOpen = nameof(GiftboxOpen); - public static string GiftBoxSolid = nameof(GiftBoxSolid); - public static string GiftCard = nameof(GiftCard); - public static string GitGraph = nameof(GitGraph); - public static string Glasses = nameof(Glasses); - public static string Glimmer = nameof(Glimmer); - public static string GlobalNavButton = nameof(GlobalNavButton); - public static string GlobalNavButtonActive = nameof(GlobalNavButtonActive); - public static string Globe = nameof(Globe); - public static string Globe2 = nameof(Globe2); - public static string GlobeFavorite = nameof(GlobeFavorite); - public static string Go = nameof(Go); - public static string Golf = nameof(Golf); - public static string GoMirrored = nameof(GoMirrored); - public static string GoToDashboard = nameof(GoToDashboard); - public static string GotoToday = nameof(GotoToday); - public static string GraphSymbol = nameof(GraphSymbol); - public static string GreetingCard = nameof(GreetingCard); - public static string GridViewLarge = nameof(GridViewLarge); - public static string GridViewMedium = nameof(GridViewMedium); - public static string GridViewSmall = nameof(GridViewSmall); - public static string GripperBarHorizontal = nameof(GripperBarHorizontal); - public static string GripperBarVertical = nameof(GripperBarVertical); - public static string GripperDotsVertical = nameof(GripperDotsVertical); - public static string GripperTool = nameof(GripperTool); - public static string Group = nameof(Group); - public static string GroupedAscending = nameof(GroupedAscending); - public static string GroupedDescending = nameof(GroupedDescending); - public static string GroupedList = nameof(GroupedList); - public static string GroupList = nameof(GroupList); - public static string GroupObject = nameof(GroupObject); - public static string GroupRemove = nameof(GroupRemove); - public static string GUID = nameof(GUID); - public static string Guitar = nameof(Guitar); - public static string HailDay = nameof(HailDay); - public static string HailNight = nameof(HailNight); - public static string HalfAlpha = nameof(HalfAlpha); - public static string HalfCircle = nameof(HalfCircle); - public static string HandsFree = nameof(HandsFree); - public static string Handwriting = nameof(Handwriting); - public static string HardDrive = nameof(HardDrive); - public static string HardDriveGroup = nameof(HardDriveGroup); - public static string HardDriveLock = nameof(HardDriveLock); - public static string HardDriveUnlock = nameof(HardDriveUnlock); - public static string HazyDay = nameof(HazyDay); - public static string HazyNight = nameof(HazyNight); - public static string Header = nameof(Header); - public static string Header1 = nameof(Header1); - public static string Header2 = nameof(Header2); - public static string Header3 = nameof(Header3); - public static string Header4 = nameof(Header4); - public static string Headset = nameof(Headset); - public static string HeadsetSolid = nameof(HeadsetSolid); - public static string Health = nameof(Health); - public static string HealthRefresh = nameof(HealthRefresh); - public static string HealthSolid = nameof(HealthSolid); - public static string Heart = nameof(Heart); - public static string HeartBroken = nameof(HeartBroken); - public static string HeartFill = nameof(HeartFill); - public static string Help = nameof(Help); - public static string HelpMirrored = nameof(HelpMirrored); - public static string HexaditeInvestigation = nameof(HexaditeInvestigation); - public static string HexaditeInvestigationCancel = nameof(HexaditeInvestigationCancel); - public static string HexaditeInvestigationSemiAuto = nameof(HexaditeInvestigationSemiAuto); - public static string Hexagon = nameof(Hexagon); - public static string Hide = nameof(Hide); - public static string Hide2 = nameof(Hide2); - public static string Hide3 = nameof(Hide3); - public static string HideVisualFilter = nameof(HideVisualFilter); - public static string Highlight = nameof(Highlight); - public static string HighlightMappedShapes = nameof(HighlightMappedShapes); - public static string HintText = nameof(HintText); - public static string HistoricalWeather = nameof(HistoricalWeather); - public static string History = nameof(History); - public static string Home = nameof(Home); - public static string HomeDropdown = nameof(HomeDropdown); - public static string HomeGroup = nameof(HomeGroup); - public static string HomeSolid = nameof(HomeSolid); - public static string HomeVerify = nameof(HomeVerify); - public static string HorizontalDistributeCenter = nameof(HorizontalDistributeCenter); - public static string HorizontalTabKey = nameof(HorizontalTabKey); - public static string Hospital = nameof(Hospital); - public static string Hot = nameof(Hot); - public static string Hotel = nameof(Hotel); - public static string HourGlass = nameof(HourGlass); - public static string Ice = nameof(Ice); - public static string IconSetsFlag = nameof(IconSetsFlag); - public static string IDBadge = nameof(IDBadge); - public static string IgnoreConversation = nameof(IgnoreConversation); - public static string ImageCrosshair = nameof(ImageCrosshair); - public static string ImageDiff = nameof(ImageDiff); - public static string ImageInAR = nameof(ImageInAR); - public static string ImagePixel = nameof(ImagePixel); - public static string ImageSearch = nameof(ImageSearch); - public static string Import = nameof(Import); - public static string ImportAllMirrored = nameof(ImportAllMirrored); - public static string Important = nameof(Important); - public static string ImportMirrored = nameof(ImportMirrored); - public static string Inbox = nameof(Inbox); - public static string InboxActive = nameof(InboxActive); - public static string InboxCheck = nameof(InboxCheck); - public static string IncidentTriangle = nameof(IncidentTriangle); - public static string IncomingCall = nameof(IncomingCall); - public static string IncreaseIndent = nameof(IncreaseIndent); - public static string IncreaseIndentArrow = nameof(IncreaseIndentArrow); - public static string IncreaseIndentArrowMirrored = nameof(IncreaseIndentArrowMirrored); - public static string IncreaseIndentHanging = nameof(IncreaseIndentHanging); - public static string IncreaseIndentHangingMirrored = nameof(IncreaseIndentHangingMirrored); - public static string IncreaseIndentMirrored = nameof(IncreaseIndentMirrored); - public static string IncreaseIndentText = nameof(IncreaseIndentText); - public static string IncreaseIndentTextMirrored = nameof(IncreaseIndentTextMirrored); - public static string IndentFirstLine = nameof(IndentFirstLine); - public static string Info = nameof(Info); - public static string Info12 = nameof(Info12); - public static string Info2 = nameof(Info2); - public static string InformationBarriers = nameof(InformationBarriers); - public static string InfoSolid = nameof(InfoSolid); - public static string InkingTool = nameof(InkingTool); - public static string InputAddress = nameof(InputAddress); - public static string Insert = nameof(Insert); - public static string InsertColumnsLeft = nameof(InsertColumnsLeft); - public static string InsertColumnsRight = nameof(InsertColumnsRight); - public static string InsertRowsAbove = nameof(InsertRowsAbove); - public static string InsertRowsBelow = nameof(InsertRowsBelow); - public static string InsertSignatureLine = nameof(InsertSignatureLine); - public static string InsertTextBox = nameof(InsertTextBox); - public static string InsertTextBoxKorean = nameof(InsertTextBoxKorean); - public static string Insights = nameof(Insights); - public static string Installation = nameof(Installation); - public static string InstallToDrive = nameof(InstallToDrive); - public static string IntermittentCloudsDay = nameof(IntermittentCloudsDay); - public static string IntermittentCloudsNight = nameof(IntermittentCloudsNight); - public static string InternalInvestigation = nameof(InternalInvestigation); - public static string InternetSharing = nameof(InternetSharing); - public static string IntersectShape = nameof(IntersectShape); - public static string Invoice = nameof(Invoice); - public static string IOT = nameof(IOT); - public static string IoTSecure = nameof(IoTSecure); - public static string IRMForward = nameof(IRMForward); - public static string IRMForwardMirrored = nameof(IRMForwardMirrored); - public static string IRMReply = nameof(IRMReply); - public static string IRMReplyMirrored = nameof(IRMReplyMirrored); - public static string IssueSolid = nameof(IssueSolid); - public static string IssueTracking = nameof(IssueTracking); - public static string IssueTrackingMirrored = nameof(IssueTrackingMirrored); - public static string Italic = nameof(Italic); - public static string ItalicC = nameof(ItalicC); - public static string ItalicD = nameof(ItalicD); - public static string ItalicK = nameof(ItalicK); - public static string ItalicKazakh = nameof(ItalicKazakh); - public static string ItalicKorean = nameof(ItalicKorean); - public static string ItalicL = nameof(ItalicL); - public static string ItalicS = nameof(ItalicS); - public static string ItalicT = nameof(ItalicT); - public static string JavaScriptLanguage = nameof(JavaScriptLanguage); - public static string JoinOnlineMeeting = nameof(JoinOnlineMeeting); - public static string JS = nameof(JS); - public static string KaizalaLogo = nameof(KaizalaLogo); - public static string KeyboardClassic = nameof(KeyboardClassic); - public static string KeyPhraseExtraction = nameof(KeyPhraseExtraction); - public static string KnowledgeArticle = nameof(KnowledgeArticle); - public static string KnowledgeManagementApp = nameof(KnowledgeManagementApp); - public static string Label = nameof(Label); - public static string LadybugSolid = nameof(LadybugSolid); - public static string Lamp = nameof(Lamp); - public static string LandscapeOrientation = nameof(LandscapeOrientation); - public static string LaptopSecure = nameof(LaptopSecure); - public static string LaptopSelected = nameof(LaptopSelected); - public static string LargeGrid = nameof(LargeGrid); - public static string LearningApp = nameof(LearningApp); - public static string LearningTools = nameof(LearningTools); - public static string Leave = nameof(Leave); - public static string LeaveUser = nameof(LeaveUser); - public static string LeftKey = nameof(LeftKey); - public static string Library = nameof(Library); - public static string LibraryAddTo = nameof(LibraryAddTo); - public static string Lifesaver = nameof(Lifesaver); - public static string LifesaverLock = nameof(LifesaverLock); - public static string Light = nameof(Light); - public static string Lightbulb = nameof(Lightbulb); - public static string LightbulbSolid = nameof(LightbulbSolid); - public static string LightningBolt = nameof(LightningBolt); - public static string LightningBoltSolid = nameof(LightningBoltSolid); - public static string LightningSecure = nameof(LightningSecure); - public static string LightSnow = nameof(LightSnow); - public static string LightWeight = nameof(LightWeight); - public static string Like = nameof(Like); - public static string LikeSolid = nameof(LikeSolid); - public static string Line = nameof(Line); - public static string LineChart = nameof(LineChart); - public static string LineSpacing = nameof(LineSpacing); - public static string LineStyle = nameof(LineStyle); - public static string LineThickness = nameof(LineThickness); - public static string Link = nameof(Link); - public static string Link12 = nameof(Link12); - public static string LinkedDatabase = nameof(LinkedDatabase); - public static string LinkedInLogo = nameof(LinkedInLogo); - public static string List = nameof(List); - public static string ListMirrored = nameof(ListMirrored); - public static string LiveSite = nameof(LiveSite); - public static string LocalAdmin = nameof(LocalAdmin); - public static string LocaleLanguage = nameof(LocaleLanguage); - public static string Location = nameof(Location); - public static string LocationCircle = nameof(LocationCircle); - public static string LocationDot = nameof(LocationDot); - public static string LocationFill = nameof(LocationFill); - public static string LocationOutline = nameof(LocationOutline); - public static string Lock = nameof(Lock); - public static string Lock12 = nameof(Lock12); - public static string LockShare = nameof(LockShare); - public static string LockSolid = nameof(LockSolid); - public static string LogRemove = nameof(LogRemove); - public static string LookupEntities = nameof(LookupEntities); - public static string LowerBrightness = nameof(LowerBrightness); - public static string LowerCase = nameof(LowerCase); - public static string LyncLogo = nameof(LyncLogo); - public static string M365InvoicingLogo = nameof(M365InvoicingLogo); - public static string MachineLearning = nameof(MachineLearning); - public static string Mail = nameof(Mail); - public static string MailAlert = nameof(MailAlert); - public static string MailAttached = nameof(MailAttached); - public static string MailCheck = nameof(MailCheck); - public static string MailFill = nameof(MailFill); - public static string MailForward = nameof(MailForward); - public static string MailForwardMirrored = nameof(MailForwardMirrored); - public static string MailLink = nameof(MailLink); - public static string MailLowImportance = nameof(MailLowImportance); - public static string MailOptions = nameof(MailOptions); - public static string MailPause = nameof(MailPause); - public static string MailReminder = nameof(MailReminder); - public static string MailRepeat = nameof(MailRepeat); - public static string MailReply = nameof(MailReply); - public static string MailReplyAll = nameof(MailReplyAll); - public static string MailReplyAllMirrored = nameof(MailReplyAllMirrored); - public static string MailReplyMirrored = nameof(MailReplyMirrored); - public static string MailSchedule = nameof(MailSchedule); - public static string MailSecure = nameof(MailSecure); - public static string MailSolid = nameof(MailSolid); - public static string MailTentative = nameof(MailTentative); - public static string MailTentativeMirrored = nameof(MailTentativeMirrored); - public static string MailUndelivered = nameof(MailUndelivered); - public static string ManagerSelfService = nameof(ManagerSelfService); - public static string Manufacturing = nameof(Manufacturing); - public static string MapDirections = nameof(MapDirections); - public static string MapLayers = nameof(MapLayers); - public static string MapPin = nameof(MapPin); - public static string MapPin12 = nameof(MapPin12); - public static string MapPinSolid = nameof(MapPinSolid); - public static string MarkAsProtected = nameof(MarkAsProtected); - public static string MarkDownLanguage = nameof(MarkDownLanguage); - public static string Market = nameof(Market); - public static string MarketDown = nameof(MarketDown); - public static string MasterDatabase = nameof(MasterDatabase); - public static string MaximumValue = nameof(MaximumValue); - public static string Medal = nameof(Medal); - public static string MedalSolid = nameof(MedalSolid); - public static string Media = nameof(Media); - public static string MediaAdd = nameof(MediaAdd); - public static string Medical = nameof(Medical); - public static string MedicalCare = nameof(MedicalCare); - public static string MedicationAdmin = nameof(MedicationAdmin); - public static string MedicationRequest = nameof(MedicationRequest); - public static string Megaphone = nameof(Megaphone); - public static string MegaphoneSolid = nameof(MegaphoneSolid); - public static string Memo = nameof(Memo); - public static string Merge = nameof(Merge); - public static string MergeCase = nameof(MergeCase); - public static string MergeDuplicate = nameof(MergeDuplicate); - public static string Message = nameof(Message); - public static string MessageFill = nameof(MessageFill); - public static string MessageFriendRequest = nameof(MessageFriendRequest); - public static string MetricsFailure = nameof(MetricsFailure); - public static string MetricsInstall = nameof(MetricsInstall); - public static string MetricsUsage = nameof(MetricsUsage); - public static string MicOff = nameof(MicOff); - public static string MicOff2 = nameof(MicOff2); - public static string Microphone = nameof(Microphone); - public static string MicrosoftStaffHubLogo = nameof(MicrosoftStaffHubLogo); - public static string MicrosoftTranslatorLogo = nameof(MicrosoftTranslatorLogo); - public static string MicrosoftTranslatorLogoBlue = nameof(MicrosoftTranslatorLogoBlue); - public static string MicrosoftTranslatorLogoGreen = nameof(MicrosoftTranslatorLogoGreen); - public static string MiniContract = nameof(MiniContract); - public static string MiniContractMirrored = nameof(MiniContractMirrored); - public static string MiniExpand = nameof(MiniExpand); - public static string MiniExpandMirrored = nameof(MiniExpandMirrored); - public static string MiniLink = nameof(MiniLink); - public static string MinimumValue = nameof(MinimumValue); - public static string MobileAngled = nameof(MobileAngled); - public static string MobileReport = nameof(MobileReport); - public static string MobileSelected = nameof(MobileSelected); - public static string ModelAppTemplate32 = nameof(ModelAppTemplate32); - public static string ModelingView = nameof(ModelingView); - public static string Money = nameof(Money); - public static string More = nameof(More); - public static string MoreSports = nameof(MoreSports); - public static string MoreVertical = nameof(MoreVertical); - public static string MostlyClearNight = nameof(MostlyClearNight); - public static string MostlyCloudyFlurriesDay = nameof(MostlyCloudyFlurriesDay); - public static string MostlyCloudyFlurriesNight = nameof(MostlyCloudyFlurriesNight); - public static string MostlyCloudyShowersDay = nameof(MostlyCloudyShowersDay); - public static string MostlyCloudyTStormsDay = nameof(MostlyCloudyTStormsDay); - public static string MostlyCloudyTStormsNight = nameof(MostlyCloudyTStormsNight); - public static string MostlySunnyDay = nameof(MostlySunnyDay); - public static string MountainClimbing = nameof(MountainClimbing); - public static string Move = nameof(Move); - public static string Movers = nameof(Movers); - public static string MoveToFolder = nameof(MoveToFolder); - public static string MSListsConnected = nameof(MSListsConnected); - public static string MSNLogo = nameof(MSNLogo); - public static string MSNVideos = nameof(MSNVideos); - public static string MSNVideosSolid = nameof(MSNVideosSolid); - public static string MSNVolume = nameof(MSNVolume); - public static string MultiSelect = nameof(MultiSelect); - public static string MultiSelectMirrored = nameof(MultiSelectMirrored); - public static string MusicInCollection = nameof(MusicInCollection); - public static string MusicInCollectionFill = nameof(MusicInCollectionFill); - public static string MusicNote = nameof(MusicNote); - public static string MuteChat = nameof(MuteChat); - public static string MyMoviesTV = nameof(MyMoviesTV); - public static string MyNetwork = nameof(MyNetwork); - public static string Nav2DMapView = nameof(Nav2DMapView); - public static string NavigateBack = nameof(NavigateBack); - public static string NavigateBackMirrored = nameof(NavigateBackMirrored); - public static string NavigateExternalInline = nameof(NavigateExternalInline); - public static string NavigateForward = nameof(NavigateForward); - public static string NavigateForwardMirrored = nameof(NavigateForwardMirrored); - public static string NavigationFlipper = nameof(NavigationFlipper); - public static string NetworkDeviceScanning = nameof(NetworkDeviceScanning); - public static string NetworkTower = nameof(NetworkTower); - public static string NewAnalyticsQuery = nameof(NewAnalyticsQuery); - public static string NewFolder = nameof(NewFolder); - public static string NewMail = nameof(NewMail); - public static string News = nameof(News); - public static string NewsSearch = nameof(NewsSearch); - public static string NewTeamProject = nameof(NewTeamProject); - public static string Next = nameof(Next); - public static string NormalWeight = nameof(NormalWeight); - public static string NoteForward = nameof(NoteForward); - public static string NotePinned = nameof(NotePinned); - public static string NoteReply = nameof(NoteReply); - public static string NotExecuted = nameof(NotExecuted); - public static string NotImpactedSolid = nameof(NotImpactedSolid); - public static string NugetLogo = nameof(NugetLogo); - public static string NUIFace = nameof(NUIFace); - public static string Number = nameof(Number); - public static string NumberedList = nameof(NumberedList); - public static string NumberedListMirrored = nameof(NumberedListMirrored); - public static string NumberedListNumber = nameof(NumberedListNumber); - public static string NumberedListNumberMirrored = nameof(NumberedListNumberMirrored); - public static string NumberedListText = nameof(NumberedListText); - public static string NumberedListTextMirrored = nameof(NumberedListTextMirrored); - public static string NumberField = nameof(NumberField); - public static string NumberSequence = nameof(NumberSequence); - public static string NumberSymbol = nameof(NumberSymbol); - public static string Oauth = nameof(Oauth); - public static string ObjectRecognition = nameof(ObjectRecognition); - public static string Octagon = nameof(Octagon); - public static string ODLink = nameof(ODLink); - public static string ODLink12 = nameof(ODLink12); - public static string ODSharedChannel = nameof(ODSharedChannel); - public static string ODSharedChannel12 = nameof(ODSharedChannel12); - public static string OEM = nameof(OEM); - public static string OfficeAddinsLogo = nameof(OfficeAddinsLogo); - public static string OfficeAssistantLogo = nameof(OfficeAssistantLogo); - public static string OfficeCatchUp = nameof(OfficeCatchUp); - public static string OfficeChat = nameof(OfficeChat); - public static string OfficeChatSolid = nameof(OfficeChatSolid); - public static string OfficeFormsLogo = nameof(OfficeFormsLogo); - public static string OfficeFormsLogo16 = nameof(OfficeFormsLogo16); - public static string OfficeFormsLogo24 = nameof(OfficeFormsLogo24); - public static string OfficeFormsLogoInverse = nameof(OfficeFormsLogoInverse); - public static string OfficeFormsLogoInverse16 = nameof(OfficeFormsLogoInverse16); - public static string OfficeFormsLogoInverse24 = nameof(OfficeFormsLogoInverse24); - public static string OfficeLogo = nameof(OfficeLogo); - public static string OfficeStoreLogo = nameof(OfficeStoreLogo); - public static string OfficeVideoLogo = nameof(OfficeVideoLogo); - public static string OfficeVideoLogoFill = nameof(OfficeVideoLogoFill); - public static string OfficeVideoLogoInverse = nameof(OfficeVideoLogoInverse); - public static string OfflineOneDriveParachute = nameof(OfflineOneDriveParachute); - public static string OfflineOneDriveParachuteDisabled = nameof(OfflineOneDriveParachuteDisabled); - public static string OfflineStorage = nameof(OfflineStorage); - public static string OfflineStorageSolid = nameof(OfflineStorageSolid); - public static string Onboarding = nameof(Onboarding); - public static string OneDriveAdd = nameof(OneDriveAdd); - public static string OneDriveFolder16 = nameof(OneDriveFolder16); - public static string OneDriveLogo = nameof(OneDriveLogo); - public static string OneNoteDocType = nameof(OneNoteDocType); - public static string OneNoteEduLogoInverse = nameof(OneNoteEduLogoInverse); - public static string OneNoteLogo = nameof(OneNoteLogo); - public static string OneNoteLogo16 = nameof(OneNoteLogo16); - public static string OneNoteLogoInverse = nameof(OneNoteLogoInverse); - public static string OneNoteLogoInverse16 = nameof(OneNoteLogoInverse16); - public static string OpenEnrollment = nameof(OpenEnrollment); - public static string OpenFile = nameof(OpenFile); - public static string OpenFolderHorizontal = nameof(OpenFolderHorizontal); - public static string OpenInNewTab = nameof(OpenInNewTab); - public static string OpenInNewWindow = nameof(OpenInNewWindow); - public static string OpenPane = nameof(OpenPane); - public static string OpenPaneMirrored = nameof(OpenPaneMirrored); - public static string OpenSource = nameof(OpenSource); - public static string OpenWith = nameof(OpenWith); - public static string OpenWithMirrored = nameof(OpenWithMirrored); - public static string Opportunities = nameof(Opportunities); - public static string OrderLock = nameof(OrderLock); - public static string Org = nameof(Org); - public static string Orientation = nameof(Orientation); - public static string Orientation2 = nameof(Orientation2); - public static string OutlookLogo = nameof(OutlookLogo); - public static string OutlookLogo16 = nameof(OutlookLogo16); - public static string OutlookLogoInverse = nameof(OutlookLogoInverse); - public static string OutlookLogoInverse16 = nameof(OutlookLogoInverse16); - public static string OutlookSpacesBucket = nameof(OutlookSpacesBucket); - public static string OutOfOffice = nameof(OutOfOffice); - public static string PAAction = nameof(PAAction); - public static string Package = nameof(Package); - public static string Packages = nameof(Packages); - public static string Padding = nameof(Padding); - public static string PaddingBottom = nameof(PaddingBottom); - public static string PaddingLeft = nameof(PaddingLeft); - public static string PaddingRight = nameof(PaddingRight); - public static string PaddingTop = nameof(PaddingTop); - public static string Page = nameof(Page); - public static string PageAdd = nameof(PageAdd); - public static string PageArrowRight = nameof(PageArrowRight); - public static string PageBlock = nameof(PageBlock); - public static string PageCheckedIn = nameof(PageCheckedIn); - public static string PageCheckedOut = nameof(PageCheckedOut); - public static string PageData = nameof(PageData); - public static string PageEdit = nameof(PageEdit); - public static string PageHeader = nameof(PageHeader); - public static string PageHeaderEdit = nameof(PageHeaderEdit); - public static string PageLeft = nameof(PageLeft); - public static string PageLink = nameof(PageLink); - public static string PageList = nameof(PageList); - public static string PageListFilter = nameof(PageListFilter); - public static string PageListMirroredSolid = nameof(PageListMirroredSolid); - public static string PageListSolid = nameof(PageListSolid); - public static string PageLock = nameof(PageLock); - public static string PagePermission = nameof(PagePermission); - public static string PageRemove = nameof(PageRemove); - public static string PageRight = nameof(PageRight); - public static string PageShared = nameof(PageShared); - public static string PageSolid = nameof(PageSolid); - public static string PanoIndicator = nameof(PanoIndicator); - public static string Parachute = nameof(Parachute); - public static string ParachuteSolid = nameof(ParachuteSolid); - public static string Parameter = nameof(Parameter); - public static string ParkingLocation = nameof(ParkingLocation); - public static string ParkingLocationMirrored = nameof(ParkingLocationMirrored); - public static string ParkingMirroredSolid = nameof(ParkingMirroredSolid); - public static string ParkingSolid = nameof(ParkingSolid); - public static string PartlyClearNight = nameof(PartlyClearNight); - public static string PartlyCloudyDay = nameof(PartlyCloudyDay); - public static string PartlyCloudyNight = nameof(PartlyCloudyNight); - public static string PartlySunnyDay = nameof(PartlySunnyDay); - public static string PartlySunnyFlurriesDay = nameof(PartlySunnyFlurriesDay); - public static string PartlySunnyShowersDay = nameof(PartlySunnyShowersDay); - public static string PartlySunnyShowersNight = nameof(PartlySunnyShowersNight); - public static string PartlySunnyTStormsDay = nameof(PartlySunnyTStormsDay); - public static string PartlySunnyTStormsNight = nameof(PartlySunnyTStormsNight); - public static string PartyLeader = nameof(PartyLeader); - public static string PassiveAuthentication = nameof(PassiveAuthentication); - public static string PasswordField = nameof(PasswordField); - public static string Paste = nameof(Paste); - public static string PasteAsCode = nameof(PasteAsCode); - public static string PasteAsText = nameof(PasteAsText); - public static string Pause = nameof(Pause); - public static string PaymentCard = nameof(PaymentCard); - public static string PBIAnomaliesMarker = nameof(PBIAnomaliesMarker); - public static string PBIAnomaly = nameof(PBIAnomaly); - public static string PBIColumn = nameof(PBIColumn); - public static string PBIConnectPoints = nameof(PBIConnectPoints); - public static string PBIDirectQuery = nameof(PBIDirectQuery); - public static string PBIDual = nameof(PBIDual); - public static string PBIGap = nameof(PBIGap); - public static string PBIGoalEntry = nameof(PBIGoalEntry); - public static string PBIGoalEntryAdd = nameof(PBIGoalEntryAdd); - public static string PBIHomeLayoutDefault = nameof(PBIHomeLayoutDefault); - public static string PBIHomeLayoutExpanded = nameof(PBIHomeLayoutExpanded); - public static string PBIImport = nameof(PBIImport); - public static string PBILiveConnect = nameof(PBILiveConnect); - public static string PBIPerspective = nameof(PBIPerspective); - public static string PBIReportTemplate = nameof(PBIReportTemplate); - public static string PBIZero = nameof(PBIZero); - public static string PC1 = nameof(PC1); - public static string PDF = nameof(PDF); - public static string PencilReply = nameof(PencilReply); - public static string Pentagon = nameof(Pentagon); - public static string PenWorkspace = nameof(PenWorkspace); - public static string People = nameof(People); - public static string PeopleAdd = nameof(PeopleAdd); - public static string PeopleAlert = nameof(PeopleAlert); - public static string PeopleBlock = nameof(PeopleBlock); - public static string PeopleExternalShare = nameof(PeopleExternalShare); - public static string PeoplePause = nameof(PeoplePause); - public static string PeopleRepeat = nameof(PeopleRepeat); - public static string PeopleSettings = nameof(PeopleSettings); - public static string Permissions = nameof(Permissions); - public static string PermissionsSolid = nameof(PermissionsSolid); - public static string Personalize = nameof(Personalize); - public static string Phishing = nameof(Phishing); - public static string PhishingCampaign = nameof(PhishingCampaign); - public static string PhishingHook = nameof(PhishingHook); - public static string Phone = nameof(Phone); - public static string Photo = nameof(Photo); - public static string Photo2 = nameof(Photo2); - public static string Photo2Add = nameof(Photo2Add); - public static string Photo2Fill = nameof(Photo2Fill); - public static string Photo2Remove = nameof(Photo2Remove); - public static string PhotoBlock = nameof(PhotoBlock); - public static string PhotoCollection = nameof(PhotoCollection); - public static string PhotoError = nameof(PhotoError); - public static string PhotoVideoMedia = nameof(PhotoVideoMedia); - public static string Picture = nameof(Picture); - public static string PictureCenter = nameof(PictureCenter); - public static string PictureFill = nameof(PictureFill); - public static string PictureLibrary = nameof(PictureLibrary); - public static string PicturePosition = nameof(PicturePosition); - public static string PictureStretch = nameof(PictureStretch); - public static string PictureTile = nameof(PictureTile); - public static string PieDouble = nameof(PieDouble); - public static string PieSingle = nameof(PieSingle); - public static string PieSingleSolid = nameof(PieSingleSolid); - public static string Pill = nameof(Pill); - public static string Pin = nameof(Pin); - public static string PinNavMenu = nameof(PinNavMenu); - public static string Pinned = nameof(Pinned); - public static string PinnedFill = nameof(PinnedFill); - public static string PinnedSolid = nameof(PinnedSolid); - public static string PinOff = nameof(PinOff); - public static string PinOffSolid = nameof(PinOffSolid); - public static string PinSolid = nameof(PinSolid); - public static string PinSolid12 = nameof(PinSolid12); - public static string PinSolidOff12 = nameof(PinSolidOff12); - public static string PinToTab = nameof(PinToTab); - public static string PivotChart = nameof(PivotChart); - public static string PlainText = nameof(PlainText); - public static string PlannerLogo = nameof(PlannerLogo); - public static string PlanView = nameof(PlanView); - public static string Play = nameof(Play); - public static string PlaybackRate1x = nameof(PlaybackRate1x); - public static string PlayerSettings = nameof(PlayerSettings); - public static string PlaylistMusic = nameof(PlaylistMusic); - public static string PlayResume = nameof(PlayResume); - public static string PlayReverse = nameof(PlayReverse); - public static string PlayReverseResume = nameof(PlayReverseResume); - public static string PlaySolid = nameof(PlaySolid); - public static string Plug = nameof(Plug); - public static string PlugConnected = nameof(PlugConnected); - public static string PlugDisconnected = nameof(PlugDisconnected); - public static string PlugSolid = nameof(PlugSolid); - public static string POI = nameof(POI); - public static string POISolid = nameof(POISolid); - public static string PollResults = nameof(PollResults); - public static string PopExpand = nameof(PopExpand); - public static string PortalAppTemplate32 = nameof(PortalAppTemplate32); - public static string PostUpdate = nameof(PostUpdate); - public static string PowerApps = nameof(PowerApps); - public static string PowerApps2Logo = nameof(PowerApps2Logo); - public static string PowerAppsLogo = nameof(PowerAppsLogo); - public static string PowerAppsTemplate = nameof(PowerAppsTemplate); - public static string PowerAutomateLogo = nameof(PowerAutomateLogo); - public static string PowerBILogo = nameof(PowerBILogo); - public static string PowerBILogo16 = nameof(PowerBILogo16); - public static string PowerBILogoBackplate16 = nameof(PowerBILogoBackplate16); - public static string PowerButton = nameof(PowerButton); - public static string PowerPointDocument = nameof(PowerPointDocument); - public static string PowerPointLogo = nameof(PowerPointLogo); - public static string PowerPointLogo16 = nameof(PowerPointLogo16); - public static string PowerPointLogoInverse = nameof(PowerPointLogoInverse); - public static string PowerPointLogoInverse16 = nameof(PowerPointLogoInverse16); - public static string PowerShell = nameof(PowerShell); - public static string PowerShell2 = nameof(PowerShell2); - public static string PowerStandby = nameof(PowerStandby); - public static string PowerVirtualAgentsLogo = nameof(PowerVirtualAgentsLogo); - public static string Precipitation = nameof(Precipitation); - public static string PresenceChickletVideo = nameof(PresenceChickletVideo); - public static string Presentation = nameof(Presentation); - public static string Presentation12 = nameof(Presentation12); - public static string Preview = nameof(Preview); - public static string PreviewBelow = nameof(PreviewBelow); - public static string PreviewLink = nameof(PreviewLink); - public static string PreviewSideBySide = nameof(PreviewSideBySide); - public static string Previous = nameof(Previous); - public static string PrimaryCalendar = nameof(PrimaryCalendar); - public static string Print = nameof(Print); - public static string PrintFaxPrinterFile = nameof(PrintFaxPrinterFile); - public static string Priority = nameof(Priority); - public static string Process = nameof(Process); - public static string ProcessAdvisor = nameof(ProcessAdvisor); - public static string Processing = nameof(Processing); - public static string ProcessingCancel = nameof(ProcessingCancel); - public static string ProcessingPause = nameof(ProcessingPause); - public static string ProcessingRun = nameof(ProcessingRun); - public static string ProcessMap = nameof(ProcessMap); - public static string ProcessMetaTask = nameof(ProcessMetaTask); - public static string Product = nameof(Product); - public static string ProductCatalog = nameof(ProductCatalog); - public static string ProductionFloorManagement = nameof(ProductionFloorManagement); - public static string ProductList = nameof(ProductList); - public static string ProductRelease = nameof(ProductRelease); - public static string ProductVariant = nameof(ProductVariant); - public static string ProductWarning = nameof(ProductWarning); - public static string ProfileSearch = nameof(ProfileSearch); - public static string ProFootball = nameof(ProFootball); - public static string ProgressLoopInner = nameof(ProgressLoopInner); - public static string ProgressLoopOuter = nameof(ProgressLoopOuter); - public static string ProgressRing5 = nameof(ProgressRing5); - public static string ProgressRingDots = nameof(ProgressRingDots); - public static string ProHockey = nameof(ProHockey); - public static string ProjectCollection = nameof(ProjectCollection); - public static string ProjectDocument = nameof(ProjectDocument); - public static string ProjectLogo16 = nameof(ProjectLogo16); - public static string ProjectLogo32 = nameof(ProjectLogo32); - public static string ProjectLogoInverse = nameof(ProjectLogoInverse); - public static string ProjectManagement = nameof(ProjectManagement); - public static string PromotedDatabase = nameof(PromotedDatabase); - public static string Pronouns = nameof(Pronouns); - public static string ProtectedDocument = nameof(ProtectedDocument); - public static string ProtectionCenterLogo32 = nameof(ProtectionCenterLogo32); - public static string ProtectRestrict = nameof(ProtectRestrict); - public static string ProvisioningPackage = nameof(ProvisioningPackage); - public static string PublicCalendar = nameof(PublicCalendar); - public static string PublicContactCard = nameof(PublicContactCard); - public static string PublicContactCardMirrored = nameof(PublicContactCardMirrored); - public static string PublicEmail = nameof(PublicEmail); - public static string PublicFolder = nameof(PublicFolder); - public static string PublishContent = nameof(PublishContent); - public static string PublishCourse = nameof(PublishCourse); - public static string PublisherLogo = nameof(PublisherLogo); - public static string PublisherLogo16 = nameof(PublisherLogo16); - public static string PublisherLogoInverse16 = nameof(PublisherLogoInverse16); - public static string Puzzle = nameof(Puzzle); - public static string PY = nameof(PY); - public static string PythonLanguage = nameof(PythonLanguage); - public static string QandA = nameof(QandA); - public static string QandAMirror = nameof(QandAMirror); - public static string QRCode = nameof(QRCode); - public static string QuadColumn = nameof(QuadColumn); - public static string Quantity = nameof(Quantity); - public static string QuarterCircle = nameof(QuarterCircle); - public static string QueryList = nameof(QueryList); - public static string Questionnaire = nameof(Questionnaire); - public static string QuestionnaireMirrored = nameof(QuestionnaireMirrored); - public static string QueueAdvanced = nameof(QueueAdvanced); - public static string QuickNote = nameof(QuickNote); - public static string QuickNoteSolid = nameof(QuickNoteSolid); - public static string Quotes = nameof(Quotes); - public static string R = nameof(R); - public static string RadioBtnOff = nameof(RadioBtnOff); - public static string RadioBtnOn = nameof(RadioBtnOn); - public static string RadioBullet = nameof(RadioBullet); - public static string Rain = nameof(Rain); - public static string RainShowersDay = nameof(RainShowersDay); - public static string RainShowersNight = nameof(RainShowersNight); - public static string RainSnow = nameof(RainSnow); - public static string Rate = nameof(Rate); - public static string RawSource = nameof(RawSource); - public static string Read = nameof(Read); - public static string ReadingMode = nameof(ReadingMode); - public static string ReadingModeSolid = nameof(ReadingModeSolid); - public static string ReadOutLoud = nameof(ReadOutLoud); - public static string RealEstate = nameof(RealEstate); - public static string ReceiptCheck = nameof(ReceiptCheck); - public static string ReceiptForward = nameof(ReceiptForward); - public static string ReceiptProcessing = nameof(ReceiptProcessing); - public static string ReceiptReply = nameof(ReceiptReply); - public static string ReceiptTentative = nameof(ReceiptTentative); - public static string ReceiptTentativeMirrored = nameof(ReceiptTentativeMirrored); - public static string ReceiptUndelivered = nameof(ReceiptUndelivered); - public static string Recent = nameof(Recent); - public static string Record2 = nameof(Record2); - public static string RecordRouting = nameof(RecordRouting); - public static string RecruitmentManagement = nameof(RecruitmentManagement); - public static string RectangleShape = nameof(RectangleShape); - public static string RectangleShapeSolid = nameof(RectangleShapeSolid); - public static string RectangularClipping = nameof(RectangularClipping); - public static string RecurringEvent = nameof(RecurringEvent); - public static string RecurringTask = nameof(RecurringTask); - public static string RecycleBin = nameof(RecycleBin); - public static string Redeploy = nameof(Redeploy); - public static string RedEye = nameof(RedEye); - public static string RedEye12 = nameof(RedEye12); - public static string Redo = nameof(Redo); - public static string Refresh = nameof(Refresh); - public static string RegistryEditor = nameof(RegistryEditor); - public static string Relationship = nameof(Relationship); - public static string ReleaseDefinition = nameof(ReleaseDefinition); - public static string ReleaseGate = nameof(ReleaseGate); - public static string ReleaseGateCheck = nameof(ReleaseGateCheck); - public static string ReleaseGateError = nameof(ReleaseGateError); - public static string ReminderGroup = nameof(ReminderGroup); - public static string ReminderPerson = nameof(ReminderPerson); - public static string ReminderTime = nameof(ReminderTime); - public static string Remote = nameof(Remote); - public static string RemoteApplication = nameof(RemoteApplication); - public static string Remove = nameof(Remove); - public static string RemoveContent = nameof(RemoveContent); - public static string RemoveEvent = nameof(RemoveEvent); - public static string RemoveFilter = nameof(RemoveFilter); - public static string RemoveFrom = nameof(RemoveFrom); - public static string RemoveFromShoppingList = nameof(RemoveFromShoppingList); - public static string RemoveFromTrash = nameof(RemoveFromTrash); - public static string RemoveLink = nameof(RemoveLink); - public static string RemoveLinkChain = nameof(RemoveLinkChain); - public static string RemoveLinkX = nameof(RemoveLinkX); - public static string RemoveOccurrence = nameof(RemoveOccurrence); - public static string Rename = nameof(Rename); - public static string RenewalCurrent = nameof(RenewalCurrent); - public static string RenewalFuture = nameof(RenewalFuture); - public static string ReopenPages = nameof(ReopenPages); - public static string Repair = nameof(Repair); - public static string RepeatAll = nameof(RepeatAll); - public static string RepeatHeaderRows = nameof(RepeatHeaderRows); - public static string RepeatOne = nameof(RepeatOne); - public static string Reply = nameof(Reply); - public static string ReplyAll = nameof(ReplyAll); - public static string ReplyAllAlt = nameof(ReplyAllAlt); - public static string ReplyAllMirrored = nameof(ReplyAllMirrored); - public static string ReplyAlt = nameof(ReplyAlt); - public static string ReplyMirrored = nameof(ReplyMirrored); - public static string Repo = nameof(Repo); - public static string ReportAdd = nameof(ReportAdd); - public static string ReportAlert = nameof(ReportAlert); - public static string ReportAlertMirrored = nameof(ReportAlertMirrored); - public static string ReportDocument = nameof(ReportDocument); - public static string ReportHacked = nameof(ReportHacked); - public static string ReportLibrary = nameof(ReportLibrary); - public static string ReportLibraryMirrored = nameof(ReportLibraryMirrored); - public static string ReportLock = nameof(ReportLock); - public static string ReportTrophy = nameof(ReportTrophy); - public static string ReportWarning = nameof(ReportWarning); - public static string RepoSolid = nameof(RepoSolid); - public static string Rerun = nameof(Rerun); - public static string ReservationOrders = nameof(ReservationOrders); - public static string Reset = nameof(Reset); - public static string ResetDevice = nameof(ResetDevice); - public static string ResponsesMenu = nameof(ResponsesMenu); - public static string ReturnKey = nameof(ReturnKey); - public static string ReturnToSession = nameof(ReturnToSession); - public static string RevenueManagement = nameof(RevenueManagement); - public static string ReviewRequestMirroredSolid = nameof(ReviewRequestMirroredSolid); - public static string ReviewRequestSolid = nameof(ReviewRequestSolid); - public static string ReviewResponseSolid = nameof(ReviewResponseSolid); - public static string ReviewSolid = nameof(ReviewSolid); - public static string RevToggleKey = nameof(RevToggleKey); - public static string RewardsLogo = nameof(RewardsLogo); - public static string RewardsLogoArt64 = nameof(RewardsLogoArt64); - public static string RewardsLogoSolid = nameof(RewardsLogoSolid); - public static string Rewind = nameof(Rewind); - public static string RewindEightX = nameof(RewindEightX); - public static string RewindFourX = nameof(RewindFourX); - public static string RewindOneFiveX = nameof(RewindOneFiveX); - public static string RewindOneX = nameof(RewindOneX); - public static string RewindPointFiveX = nameof(RewindPointFiveX); - public static string RewindTwoX = nameof(RewindTwoX); - public static string Ribbon = nameof(Ribbon); - public static string Ribbon2 = nameof(Ribbon2); - public static string RibbonSolid = nameof(RibbonSolid); - public static string RightDoubleQuote = nameof(RightDoubleQuote); - public static string RightKey = nameof(RightKey); - public static string RightTriangle = nameof(RightTriangle); - public static string Ringer = nameof(Ringer); - public static string RingerActive = nameof(RingerActive); - public static string RingerOff = nameof(RingerOff); - public static string RingerRemove = nameof(RingerRemove); - public static string RingerSolid = nameof(RingerSolid); - public static string Robot = nameof(Robot); - public static string Rocket = nameof(Rocket); - public static string Room = nameof(Room); - public static string Rotate = nameof(Rotate); - public static string Rotate90Clockwise = nameof(Rotate90Clockwise); - public static string Rotate90CounterClockwise = nameof(Rotate90CounterClockwise); - public static string RowsChild = nameof(RowsChild); - public static string RowsGroup = nameof(RowsGroup); - public static string RssFeed = nameof(RssFeed); - public static string Rugby = nameof(Rugby); - public static string Running = nameof(Running); - public static string Sad = nameof(Sad); - public static string SadSolid = nameof(SadSolid); - public static string SamsungGallery = nameof(SamsungGallery); - public static string Save = nameof(Save); - public static string SaveAll = nameof(SaveAll); - public static string SaveAndClose = nameof(SaveAndClose); - public static string SaveAndPublish = nameof(SaveAndPublish); - public static string SaveAs = nameof(SaveAs); - public static string SavedOffline = nameof(SavedOffline); - public static string SaveTemplate = nameof(SaveTemplate); - public static string SaveToMobile = nameof(SaveToMobile); - public static string Savings = nameof(Savings); - public static string ScaleUp = nameof(ScaleUp); - public static string ScaleVolume = nameof(ScaleVolume); - public static string ScatterChart = nameof(ScatterChart); - public static string ScheduleEventAction = nameof(ScheduleEventAction); - public static string SchoolDataSyncLogo = nameof(SchoolDataSyncLogo); - public static string ScopeTemplate = nameof(ScopeTemplate); - public static string Screen = nameof(Screen); - public static string ScreenCast = nameof(ScreenCast); - public static string ScreenPreviewOn = nameof(ScreenPreviewOn); - public static string ScreenTime = nameof(ScreenTime); - public static string Script = nameof(Script); - public static string ScrollUpDown = nameof(ScrollUpDown); - public static string SDCard = nameof(SDCard); - public static string Search = nameof(Search); - public static string SearchAndApps = nameof(SearchAndApps); - public static string SearchArt64 = nameof(SearchArt64); - public static string SearchBookmark = nameof(SearchBookmark); - public static string SearchCalendar = nameof(SearchCalendar); - public static string SearchData = nameof(SearchData); - public static string SearchIssue = nameof(SearchIssue); - public static string SearchIssueMirrored = nameof(SearchIssueMirrored); - public static string SearchNearby = nameof(SearchNearby); - public static string SecondaryNav = nameof(SecondaryNav); - public static string Section = nameof(Section); - public static string Sections = nameof(Sections); - public static string SecurityCamera = nameof(SecurityCamera); - public static string SecurityGroup = nameof(SecurityGroup); - public static string SecurityTest = nameof(SecurityTest); - public static string SeeDo = nameof(SeeDo); - public static string SelectAll = nameof(SelectAll); - public static string Sell = nameof(Sell); - public static string SemiboldWeight = nameof(SemiboldWeight); - public static string Send = nameof(Send); - public static string SendMirrored = nameof(SendMirrored); - public static string SentimentAnalysis = nameof(SentimentAnalysis); - public static string Separator = nameof(Separator); - public static string Server = nameof(Server); - public static string ServerEnvironment = nameof(ServerEnvironment); - public static string ServerProcesses = nameof(ServerProcesses); - public static string ServiceActivity = nameof(ServiceActivity); - public static string ServiceOff = nameof(ServiceOff); - public static string SetAction = nameof(SetAction); - public static string Settings = nameof(Settings); - public static string SettingsAdd = nameof(SettingsAdd); - public static string SettingsSecure = nameof(SettingsSecure); - public static string SettingsSync = nameof(SettingsSync); - public static string ShakeDevice = nameof(ShakeDevice); - public static string Shapes = nameof(Shapes); - public static string ShapeSolid = nameof(ShapeSolid); - public static string Share = nameof(Share); - public static string SharedDatabase = nameof(SharedDatabase); - public static string SharedNotes = nameof(SharedNotes); - public static string ShareiOS = nameof(ShareiOS); - public static string SharePoint2013LogoInverse = nameof(SharePoint2013LogoInverse); - public static string SharePointAppIcon16 = nameof(SharePointAppIcon16); - public static string SharePointLogo = nameof(SharePointLogo); - public static string SharePointLogoInverse = nameof(SharePointLogoInverse); - public static string Shield = nameof(Shield); - public static string ShieldAlert = nameof(ShieldAlert); - public static string ShieldSolid = nameof(ShieldSolid); - public static string Shirt = nameof(Shirt); - public static string Shop = nameof(Shop); - public static string ShopBrand = nameof(ShopBrand); - public static string ShoppingCart = nameof(ShoppingCart); - public static string ShoppingCartSolid = nameof(ShoppingCartSolid); - public static string ShopServer = nameof(ShopServer); - public static string Showers = nameof(Showers); - public static string ShowGrid = nameof(ShowGrid); - public static string ShowResults = nameof(ShowResults); - public static string ShowResultsMirrored = nameof(ShowResultsMirrored); - public static string ShowTimeAs = nameof(ShowTimeAs); - public static string ShowVisualFilter = nameof(ShowVisualFilter); - public static string SidePanel = nameof(SidePanel); - public static string SidePanelMirrored = nameof(SidePanelMirrored); - public static string Signin = nameof(Signin); - public static string SignOut = nameof(SignOut); - public static string SimplifiedView = nameof(SimplifiedView); - public static string SingleBookmark = nameof(SingleBookmark); - public static string SingleBookmarkSolid = nameof(SingleBookmarkSolid); - public static string SingleColumn = nameof(SingleColumn); - public static string SingleColumnEdit = nameof(SingleColumnEdit); - public static string SIPMove = nameof(SIPMove); - public static string SiteScan = nameof(SiteScan); - public static string SizeLegacy = nameof(SizeLegacy); - public static string SkipBack10 = nameof(SkipBack10); - public static string SkipForward30 = nameof(SkipForward30); - public static string SkiResorts = nameof(SkiResorts); - public static string SkypeArrow = nameof(SkypeArrow); - public static string SkypeCheck = nameof(SkypeCheck); - public static string SkypeCircleArrow = nameof(SkypeCircleArrow); - public static string SkypeCircleCheck = nameof(SkypeCircleCheck); - public static string SkypeCircleClock = nameof(SkypeCircleClock); - public static string SkypeCircleMinus = nameof(SkypeCircleMinus); - public static string SkypeCircleSlash = nameof(SkypeCircleSlash); - public static string SkypeClock = nameof(SkypeClock); - public static string SkypeForBusinessLogo = nameof(SkypeForBusinessLogo); - public static string SkypeForBusinessLogo16 = nameof(SkypeForBusinessLogo16); - public static string SkypeForBusinessLogoFill = nameof(SkypeForBusinessLogoFill); - public static string SkypeForBusinessLogoFill16 = nameof(SkypeForBusinessLogoFill16); - public static string SkypeLogo = nameof(SkypeLogo); - public static string SkypeLogo16 = nameof(SkypeLogo16); - public static string SkypeMessage = nameof(SkypeMessage); - public static string SkypeMinus = nameof(SkypeMinus); - public static string SkypeSlash = nameof(SkypeSlash); - public static string Sleet = nameof(Sleet); - public static string Slider = nameof(Slider); - public static string SliderHandleSize = nameof(SliderHandleSize); - public static string SliderThumb = nameof(SliderThumb); - public static string Slideshow = nameof(Slideshow); - public static string SmartGlassRemote = nameof(SmartGlassRemote); - public static string SnapToGrid = nameof(SnapToGrid); - public static string Snooze = nameof(Snooze); - public static string Snow = nameof(Snow); - public static string Snowflake = nameof(Snowflake); - public static string SnowShowerDay = nameof(SnowShowerDay); - public static string SnowShowerNight = nameof(SnowShowerNight); - public static string Soccer = nameof(Soccer); - public static string SocialListeningLogo = nameof(SocialListeningLogo); - public static string Sort = nameof(Sort); - public static string SortDown = nameof(SortDown); - public static string SortLines = nameof(SortLines); - public static string SortLinesAscending = nameof(SortLinesAscending); - public static string SortUp = nameof(SortUp); - public static string Source = nameof(Source); - public static string Spacer = nameof(Spacer); - public static string Speakers = nameof(Speakers); - public static string SpecialEvent = nameof(SpecialEvent); - public static string Speech = nameof(Speech); - public static string SpeechOff = nameof(SpeechOff); - public static string SpeedHigh = nameof(SpeedHigh); - public static string Spelling = nameof(Spelling); - public static string Split = nameof(Split); - public static string SplitObject = nameof(SplitObject); - public static string Sprint = nameof(Sprint); - public static string SQLAnalyticsPool = nameof(SQLAnalyticsPool); - public static string SQLServerLogo = nameof(SQLServerLogo); - public static string Squalls = nameof(Squalls); - public static string SquareShape = nameof(SquareShape); - public static string SquareShapeSolid = nameof(SquareShapeSolid); - public static string SslCertificate = nameof(SslCertificate); - public static string Stack = nameof(Stack); - public static string StackColumnChart = nameof(StackColumnChart); - public static string StackedBarChart = nameof(StackedBarChart); - public static string StackedBarChartFull = nameof(StackedBarChartFull); - public static string StackedBarChartFullSettings = nameof(StackedBarChartFullSettings); - public static string StackedColumnChart2 = nameof(StackedColumnChart2); - public static string StackedColumnChart2Fill = nameof(StackedColumnChart2Fill); - public static string StackedLineChart = nameof(StackedLineChart); - public static string StackIndicator = nameof(StackIndicator); - public static string StaffNotebookLogo16 = nameof(StaffNotebookLogo16); - public static string StaffNotebookLogo32 = nameof(StaffNotebookLogo32); - public static string StaffNotebookLogoFill16 = nameof(StaffNotebookLogoFill16); - public static string StaffNotebookLogoFill32 = nameof(StaffNotebookLogoFill32); - public static string StaffNotebookLogoInverted16 = nameof(StaffNotebookLogoInverted16); - public static string StaffNotebookLogoInverted32 = nameof(StaffNotebookLogoInverted32); - public static string Starburst = nameof(Starburst); - public static string StarburstSolid = nameof(StarburstSolid); - public static string StatusCircleBlock = nameof(StatusCircleBlock); - public static string StatusCircleBlock2 = nameof(StatusCircleBlock2); - public static string StatusCircleCheckmark = nameof(StatusCircleCheckmark); - public static string StatusCircleErrorX = nameof(StatusCircleErrorX); - public static string StatusCircleExclamation = nameof(StatusCircleExclamation); - public static string StatusCircleInfo = nameof(StatusCircleInfo); - public static string StatusCircleInner = nameof(StatusCircleInner); - public static string StatusCircleOuter = nameof(StatusCircleOuter); - public static string StatusCircleQuestionMark = nameof(StatusCircleQuestionMark); - public static string StatusCircleRing = nameof(StatusCircleRing); - public static string StatusCircleSync = nameof(StatusCircleSync); - public static string StatusErrorFull = nameof(StatusErrorFull); - public static string StatusTriangle = nameof(StatusTriangle); - public static string StatusTriangleExclamation = nameof(StatusTriangleExclamation); - public static string StatusTriangleInner = nameof(StatusTriangleInner); - public static string StatusTriangleOuter = nameof(StatusTriangleOuter); - public static string Step = nameof(Step); - public static string StepBackward = nameof(StepBackward); - public static string StepInsert = nameof(StepInsert); - public static string StepInto = nameof(StepInto); - public static string StepOut = nameof(StepOut); - public static string StepOver = nameof(StepOver); - public static string StepShared = nameof(StepShared); - public static string StepSharedAdd = nameof(StepSharedAdd); - public static string StepSharedInsert = nameof(StepSharedInsert); - public static string StickyNotesOutlineAppIcon = nameof(StickyNotesOutlineAppIcon); - public static string StickyNotesSolidAppIcon = nameof(StickyNotesSolidAppIcon); - public static string StockDown = nameof(StockDown); - public static string StockUp = nameof(StockUp); - public static string Stop = nameof(Stop); - public static string StopSolid = nameof(StopSolid); - public static string Stopwatch = nameof(Stopwatch); - public static string StorageAccount = nameof(StorageAccount); - public static string StorageOptical = nameof(StorageOptical); - public static string StoreLogo16 = nameof(StoreLogo16); - public static string StoreLogoMed20 = nameof(StoreLogoMed20); - public static string Storyboard = nameof(Storyboard); - public static string StreamDiscover = nameof(StreamDiscover); - public static string Streaming = nameof(Streaming); - public static string StreamingDataflow = nameof(StreamingDataflow); - public static string StreamingDataset = nameof(StreamingDataset); - public static string StreamingOff = nameof(StreamingOff); - public static string StreamLogo = nameof(StreamLogo); - public static string StreamPlaylist = nameof(StreamPlaylist); - public static string Street = nameof(Street); - public static string StreetsideSplitMinimize = nameof(StreetsideSplitMinimize); - public static string Strikethrough = nameof(Strikethrough); - public static string StrikethroughKorean = nameof(StrikethroughKorean); - public static string Subscribe = nameof(Subscribe); - public static string Subscript = nameof(Subscript); - public static string SubstitutionsIn = nameof(SubstitutionsIn); - public static string SubtractShape = nameof(SubtractShape); - public static string Suitcase = nameof(Suitcase); - public static string SummaryChart = nameof(SummaryChart); - public static string SunAdd = nameof(SunAdd); - public static string Sunny = nameof(Sunny); - public static string SunQuestionMark = nameof(SunQuestionMark); - public static string Superscript = nameof(Superscript); - public static string SurveyQuestionResponse = nameof(SurveyQuestionResponse); - public static string SurveyQuestions = nameof(SurveyQuestions); - public static string SwayLogo16 = nameof(SwayLogo16); - public static string SwayLogo32 = nameof(SwayLogo32); - public static string SwayLogoFill16 = nameof(SwayLogoFill16); - public static string SwayLogoFill32 = nameof(SwayLogoFill32); - public static string SwayLogoInverse = nameof(SwayLogoInverse); - public static string Switch = nameof(Switch); - public static string SwitcherStartEnd = nameof(SwitcherStartEnd); - public static string SwitchUser = nameof(SwitchUser); - public static string Sync = nameof(Sync); - public static string SyncError = nameof(SyncError); - public static string SyncFolder = nameof(SyncFolder); - public static string SyncOccurrence = nameof(SyncOccurrence); - public static string SyncOccurrenceCancel = nameof(SyncOccurrenceCancel); - public static string SyncStatus = nameof(SyncStatus); - public static string SyncStatusSolid = nameof(SyncStatusSolid); - public static string SyncToPC = nameof(SyncToPC); - public static string System = nameof(System); - public static string Tab = nameof(Tab); - public static string TabCenter = nameof(TabCenter); - public static string Table = nameof(Table); - public static string TableBrandedColumn = nameof(TableBrandedColumn); - public static string TableBrandedRow = nameof(TableBrandedRow); - public static string TableColumn = nameof(TableColumn); - public static string TableComputed = nameof(TableComputed); - public static string TableFirstColumn = nameof(TableFirstColumn); - public static string TableGroup = nameof(TableGroup); - public static string TableHeaderRow = nameof(TableHeaderRow); - public static string TableLastColumn = nameof(TableLastColumn); - public static string TableLink = nameof(TableLink); - public static string TablePermission = nameof(TablePermission); - public static string Tablet = nameof(Tablet); - public static string TabletMode = nameof(TabletMode); - public static string TableTotalRow = nameof(TableTotalRow); - public static string TabletSelected = nameof(TabletSelected); - public static string TabOneColumn = nameof(TabOneColumn); - public static string TabThreeColumn = nameof(TabThreeColumn); - public static string TabTwoColumn = nameof(TabTwoColumn); - public static string Tag = nameof(Tag); - public static string TagGroup = nameof(TagGroup); - public static string TagSolid = nameof(TagSolid); - public static string TagUnknown = nameof(TagUnknown); - public static string TagUnknown12 = nameof(TagUnknown12); - public static string TagUnknown12Mirror = nameof(TagUnknown12Mirror); - public static string TagUnknownMirror = nameof(TagUnknownMirror); - public static string Task = nameof(Task); - public static string TaskAdd = nameof(TaskAdd); - public static string Taskboard = nameof(Taskboard); - public static string TaskGroup = nameof(TaskGroup); - public static string TaskGroupMirrored = nameof(TaskGroupMirrored); - public static string TaskList = nameof(TaskList); - public static string TaskLogo = nameof(TaskLogo); - public static string TaskManager = nameof(TaskManager); - public static string TaskManagerMirrored = nameof(TaskManagerMirrored); - public static string TaskSolid = nameof(TaskSolid); - public static string Taxi = nameof(Taxi); - public static string TeamFavorite = nameof(TeamFavorite); - public static string TeamsLogo = nameof(TeamsLogo); - public static string TeamsLogo16 = nameof(TeamsLogo16); - public static string TeamsLogoInverse = nameof(TeamsLogoInverse); - public static string Teamwork = nameof(Teamwork); - public static string Teeth = nameof(Teeth); - public static string Telemarketer = nameof(Telemarketer); - public static string TemporaryAccessPass = nameof(TemporaryAccessPass); - public static string TemporaryUser = nameof(TemporaryUser); - public static string Tennis = nameof(Tennis); - public static string TestAdd = nameof(TestAdd); - public static string TestAutoSolid = nameof(TestAutoSolid); - public static string TestBeaker = nameof(TestBeaker); - public static string TestBeakerSolid = nameof(TestBeakerSolid); - public static string TestCase = nameof(TestCase); - public static string TestExploreSolid = nameof(TestExploreSolid); - public static string TestImpactSolid = nameof(TestImpactSolid); - public static string TestParameter = nameof(TestParameter); - public static string TestPlan = nameof(TestPlan); - public static string TestRemove = nameof(TestRemove); - public static string TestStep = nameof(TestStep); - public static string TestSuite = nameof(TestSuite); - public static string TestUserSolid = nameof(TestUserSolid); - public static string TextAlignBottom = nameof(TextAlignBottom); - public static string TextAlignMiddle = nameof(TextAlignMiddle); - public static string TextAlignTop = nameof(TextAlignTop); - public static string TextBox = nameof(TextBox); - public static string TextCallout = nameof(TextCallout); - public static string TextDocument = nameof(TextDocument); - public static string TextDocumentEdit = nameof(TextDocumentEdit); - public static string TextDocumentSettings = nameof(TextDocumentSettings); - public static string TextDocumentShared = nameof(TextDocumentShared); - public static string TextField = nameof(TextField); - public static string TextOverflow = nameof(TextOverflow); - public static string TextParagraphOption = nameof(TextParagraphOption); - public static string TextRecognition = nameof(TextRecognition); - public static string TextRotate270Degrees = nameof(TextRotate270Degrees); - public static string TextRotate90Degrees = nameof(TextRotate90Degrees); - public static string TextRotateHorizontal = nameof(TextRotateHorizontal); - public static string TextRotation = nameof(TextRotation); - public static string TFVCLogo = nameof(TFVCLogo); - public static string ThisPC = nameof(ThisPC); - public static string ThreeQuarterCircle = nameof(ThreeQuarterCircle); - public static string ThumbnailView = nameof(ThumbnailView); - public static string ThumbnailViewMirrored = nameof(ThumbnailViewMirrored); - public static string Thunderstorms = nameof(Thunderstorms); - public static string Ticket = nameof(Ticket); - public static string Tiles = nameof(Tiles); - public static string Tiles2 = nameof(Tiles2); - public static string TimeEntry = nameof(TimeEntry); - public static string TimeEntryTemplate = nameof(TimeEntryTemplate); - public static string Timeline = nameof(Timeline); - public static string TimelineDelivery = nameof(TimelineDelivery); - public static string TimelineMatrixView = nameof(TimelineMatrixView); - public static string TimelineProgress = nameof(TimelineProgress); - public static string TimePicker = nameof(TimePicker); - public static string Timer = nameof(Timer); - public static string TimeSheet = nameof(TimeSheet); - public static string Title = nameof(Title); - public static string TitleMirrored = nameof(TitleMirrored); - public static string ToDoLogoBottom = nameof(ToDoLogoBottom); - public static string ToDoLogoInverse = nameof(ToDoLogoInverse); - public static string ToDoLogoOutline = nameof(ToDoLogoOutline); - public static string ToDoLogoTop = nameof(ToDoLogoTop); - public static string ToggleBorder = nameof(ToggleBorder); - public static string ToggleFilled = nameof(ToggleFilled); - public static string ToggleLeft = nameof(ToggleLeft); - public static string ToggleRight = nameof(ToggleRight); - public static string ToggleThumb = nameof(ToggleThumb); - public static string Toll = nameof(Toll); - public static string Toolbox = nameof(Toolbox); - public static string Total = nameof(Total); - public static string Touch = nameof(Touch); - public static string TouchPointer = nameof(TouchPointer); - public static string Trackers = nameof(Trackers); - public static string TrackersMirrored = nameof(TrackersMirrored); - public static string Train = nameof(Train); - public static string TrainSolid = nameof(TrainSolid); - public static string TransferCall = nameof(TransferCall); - public static string Transition = nameof(Transition); - public static string TransitionEffect = nameof(TransitionEffect); - public static string TransitionPop = nameof(TransitionPop); - public static string TransitionPush = nameof(TransitionPush); - public static string Translate = nameof(Translate); - public static string Transportation = nameof(Transportation); - public static string Trending12 = nameof(Trending12); - public static string TriangleDown12 = nameof(TriangleDown12); - public static string TriangleLeft12 = nameof(TriangleLeft12); - public static string TriangleRight12 = nameof(TriangleRight12); - public static string TriangleShape = nameof(TriangleShape); - public static string TriangleShapeSolid = nameof(TriangleShapeSolid); - public static string TriangleSolid = nameof(TriangleSolid); - public static string TriangleSolidDown12 = nameof(TriangleSolidDown12); - public static string TriangleSolidLeft12 = nameof(TriangleSolidLeft12); - public static string TriangleSolidRight12 = nameof(TriangleSolidRight12); - public static string TriangleSolidUp12 = nameof(TriangleSolidUp12); - public static string TriangleUp12 = nameof(TriangleUp12); - public static string TriggerApproval = nameof(TriggerApproval); - public static string TriggerAuto = nameof(TriggerAuto); - public static string TriggerPhrase = nameof(TriggerPhrase); - public static string TriggerUser = nameof(TriggerUser); - public static string Trim = nameof(Trim); - public static string TrimEnd = nameof(TrimEnd); - public static string TrimStart = nameof(TrimStart); - public static string TripleColumn = nameof(TripleColumn); - public static string TripleColumnEdit = nameof(TripleColumnEdit); - public static string TripleColumnWide = nameof(TripleColumnWide); - public static string Trophy = nameof(Trophy); - public static string Trophy2 = nameof(Trophy2); - public static string Trophy2Solid = nameof(Trophy2Solid); - public static string TurnRight = nameof(TurnRight); - public static string TurnUserLeft = nameof(TurnUserLeft); - public static string TVMonitor = nameof(TVMonitor); - public static string TVMonitorSelected = nameof(TVMonitorSelected); - public static string TypeScriptLanguage = nameof(TypeScriptLanguage); - public static string Umbrella = nameof(Umbrella); - public static string UnavailableOffline = nameof(UnavailableOffline); - public static string Underline = nameof(Underline); - public static string UnderlineA = nameof(UnderlineA); - public static string UnderlineKorean = nameof(UnderlineKorean); - public static string UnderlineP = nameof(UnderlineP); - public static string UnderlineRussian = nameof(UnderlineRussian); - public static string UnderlineS = nameof(UnderlineS); - public static string UnderlineSerbian = nameof(UnderlineSerbian); - public static string Undo = nameof(Undo); - public static string Uneditable = nameof(Uneditable); - public static string Uneditable2 = nameof(Uneditable2); - public static string Uneditable2Mirrored = nameof(Uneditable2Mirrored); - public static string UneditableMirrored = nameof(UneditableMirrored); - public static string UneditableSolid12 = nameof(UneditableSolid12); - public static string UneditableSolidMirrored12 = nameof(UneditableSolidMirrored12); - public static string Unfavorite = nameof(Unfavorite); - public static string UngroupObject = nameof(UngroupObject); - public static string UniteShape = nameof(UniteShape); - public static string Unknown = nameof(Unknown); - public static string UnknownCall = nameof(UnknownCall); - public static string UnknownMirrored = nameof(UnknownMirrored); - public static string UnknownMirroredSolid = nameof(UnknownMirroredSolid); - public static string UnknownSolid = nameof(UnknownSolid); - public static string Unlock = nameof(Unlock); - public static string UnlockSolid = nameof(UnlockSolid); - public static string Unpin = nameof(Unpin); - public static string UnpublishContent = nameof(UnpublishContent); - public static string UnSetColor = nameof(UnSetColor); - public static string UnstackSelected = nameof(UnstackSelected); - public static string Unsubscribe = nameof(Unsubscribe); - public static string UnsyncFolder = nameof(UnsyncFolder); - public static string UnsyncOccurrence = nameof(UnsyncOccurrence); - public static string Untag = nameof(Untag); - public static string Up = nameof(Up); - public static string UpdateRestore = nameof(UpdateRestore); - public static string UpgradeAnalysis = nameof(UpgradeAnalysis); - public static string UpKey = nameof(UpKey); - public static string Upload = nameof(Upload); - public static string UpperCase = nameof(UpperCase); - public static string URLBlock = nameof(URLBlock); - public static string USB = nameof(USB); - public static string UserClapper = nameof(UserClapper); - public static string UserEvent = nameof(UserEvent); - public static string UserFollowed = nameof(UserFollowed); - public static string UserGauge = nameof(UserGauge); - public static string UserOptional = nameof(UserOptional); - public static string UserPause = nameof(UserPause); - public static string UserRemove = nameof(UserRemove); - public static string UserSync = nameof(UserSync); - public static string UserWarning = nameof(UserWarning); - public static string UserWindow = nameof(UserWindow); - public static string Vacation = nameof(Vacation); - public static string Vaccination = nameof(Vaccination); - public static string VaccinationRecent = nameof(VaccinationRecent); - public static string Variable = nameof(Variable); - public static string Variable2 = nameof(Variable2); - public static string Variable3 = nameof(Variable3); - public static string VariableGroup = nameof(VariableGroup); - public static string VB = nameof(VB); - public static string VennDiagram = nameof(VennDiagram); - public static string VerifiedBrand = nameof(VerifiedBrand); - public static string VerifiedBrandSolid = nameof(VerifiedBrandSolid); - public static string VersionControlPush = nameof(VersionControlPush); - public static string VerticalDistributeCenter = nameof(VerticalDistributeCenter); - public static string Video = nameof(Video); - public static string Video360Generic = nameof(Video360Generic); - public static string VideoAdd = nameof(VideoAdd); - public static string VideoLightOff = nameof(VideoLightOff); - public static string VideoOff = nameof(VideoOff); - public static string VideoOff2 = nameof(VideoOff2); - public static string VideoSearch = nameof(VideoSearch); - public static string VideoSolid = nameof(VideoSolid); - public static string View = nameof(View); - public static string ViewAll = nameof(ViewAll); - public static string ViewAll2 = nameof(ViewAll2); - public static string ViewDashboard = nameof(ViewDashboard); - public static string ViewInAR = nameof(ViewInAR); - public static string ViewList = nameof(ViewList); - public static string ViewListGroup = nameof(ViewListGroup); - public static string ViewListTree = nameof(ViewListTree); - public static string ViewOriginal = nameof(ViewOriginal); - public static string VirtualNetwork = nameof(VirtualNetwork); - public static string VisioDiagram = nameof(VisioDiagram); - public static string VisioDiagramSync = nameof(VisioDiagramSync); - public static string VisioDocument = nameof(VisioDocument); - public static string VisioLogo = nameof(VisioLogo); - public static string VisioLogo16 = nameof(VisioLogo16); - public static string VisioLogoInverse = nameof(VisioLogoInverse); - public static string VisioLogoInverse16 = nameof(VisioLogoInverse16); - public static string VisualBasicLanguage = nameof(VisualBasicLanguage); - public static string VisuallyImpaired = nameof(VisuallyImpaired); - public static string VisualsFolder = nameof(VisualsFolder); - public static string VisualsStore = nameof(VisualsStore); - public static string VisualStudioForWindows = nameof(VisualStudioForWindows); - public static string VisualStudioForWindowsAlt = nameof(VisualStudioForWindowsAlt); - public static string VivaTopicApp = nameof(VivaTopicApp); - public static string VoicemailForward = nameof(VoicemailForward); - public static string VoicemailIRM = nameof(VoicemailIRM); - public static string VoicemailReply = nameof(VoicemailReply); - public static string Volume0 = nameof(Volume0); - public static string Volume1 = nameof(Volume1); - public static string Volume2 = nameof(Volume2); - public static string Volume3 = nameof(Volume3); - public static string VolumeDisabled = nameof(VolumeDisabled); - public static string VSTSAltLogo1 = nameof(VSTSAltLogo1); - public static string VSTSAltLogo2 = nameof(VSTSAltLogo2); - public static string VSTSLogo = nameof(VSTSLogo); - public static string Waffle = nameof(Waffle); - public static string WaffleOffice365 = nameof(WaffleOffice365); - public static string WaitlistConfirm = nameof(WaitlistConfirm); - public static string WaitlistConfirmMirrored = nameof(WaitlistConfirmMirrored); - public static string Warning = nameof(Warning); - public static string Warning12 = nameof(Warning12); - public static string WarningSolid = nameof(WarningSolid); - public static string WavingHand = nameof(WavingHand); - public static string WebAppBuilderFragment = nameof(WebAppBuilderFragment); - public static string WebAppBuilderFragmentCreate = nameof(WebAppBuilderFragmentCreate); - public static string WebAppBuilderFragmentLock = nameof(WebAppBuilderFragmentLock); - public static string WebAppBuilderFragmentTest = nameof(WebAppBuilderFragmentTest); - public static string WebAppBuilderModule = nameof(WebAppBuilderModule); - public static string WebAppBuilderModuleLock = nameof(WebAppBuilderModuleLock); - public static string WebAppBuilderModuleTest = nameof(WebAppBuilderModuleTest); - public static string WebAppBuilderSlot = nameof(WebAppBuilderSlot); - public static string Webcam2 = nameof(Webcam2); - public static string Webcam2Off = nameof(Webcam2Off); - public static string WebComponents = nameof(WebComponents); - public static string WebEnvironment = nameof(WebEnvironment); - public static string WebPublish = nameof(WebPublish); - public static string WebSearch = nameof(WebSearch); - public static string Website = nameof(Website); - public static string WebTemplate = nameof(WebTemplate); - public static string Weights = nameof(Weights); - public static string Wheelchair = nameof(Wheelchair); - public static string Whiteboard = nameof(Whiteboard); - public static string WhiteBoardApp16 = nameof(WhiteBoardApp16); - public static string WhiteBoardApp32 = nameof(WhiteBoardApp32); - public static string WifiEthernet = nameof(WifiEthernet); - public static string WifiWarning4 = nameof(WifiWarning4); - public static string WindDirection = nameof(WindDirection); - public static string WindowEdit = nameof(WindowEdit); - public static string WindowsLogo = nameof(WindowsLogo); - public static string Wines = nameof(Wines); - public static string WipePhone = nameof(WipePhone); - public static string WordDocument = nameof(WordDocument); - public static string WordLogo = nameof(WordLogo); - public static string WordLogo16 = nameof(WordLogo16); - public static string WordLogoInverse = nameof(WordLogoInverse); - public static string WordLogoInverse16 = nameof(WordLogoInverse16); - public static string Work = nameof(Work); - public static string WorkFlow = nameof(WorkFlow); - public static string WorkforceManagement = nameof(WorkforceManagement); - public static string WorkItem = nameof(WorkItem); - public static string WorkItemAlert = nameof(WorkItemAlert); - public static string WorkItemBar = nameof(WorkItemBar); - public static string WorkItemBarSolid = nameof(WorkItemBarSolid); - public static string WorkItemBug = nameof(WorkItemBug); - public static string World = nameof(World); - public static string WorldClock = nameof(WorldClock); - public static string XPowerY = nameof(XPowerY); - public static string XRay = nameof(XRay); - public static string YammerLogo = nameof(YammerLogo); - public static string ZeroDayCalendar = nameof(ZeroDayCalendar); - public static string ZeroDayPatch = nameof(ZeroDayPatch); - public static string ZipFolder = nameof(ZipFolder); - public static string Zoom = nameof(Zoom); - public static string ZoomIn = nameof(ZoomIn); - public static string ZoomOut = nameof(ZoomOut); - public static string ZoomToFit = nameof(ZoomToFit); - public static string ZoomToFitAlt = nameof(ZoomToFitAlt); + public const string _12PointStar = "12PointStar"; + public const string _6PointStar = "6PointStar"; + public const string AADLogo = nameof(AADLogo); + public const string Accept = nameof(Accept); + public const string AcceptMedium = nameof(AcceptMedium); + public const string AccessibilityChecker = nameof(AccessibilityChecker); + public const string AccessLogo = nameof(AccessLogo); + public const string AccountActivity = nameof(AccountActivity); + public const string AccountBrowser = nameof(AccountBrowser); + public const string AccountManagement = nameof(AccountManagement); + public const string Accounts = nameof(Accounts); + public const string ActionCenter = nameof(ActionCenter); + public const string ActivateOrders = nameof(ActivateOrders); + public const string ActivityFeed = nameof(ActivityFeed); + public const string Add = nameof(Add); + public const string AddBookmark = nameof(AddBookmark); + public const string AddConnection = nameof(AddConnection); + public const string AddEvent = nameof(AddEvent); + public const string AddFavorite = nameof(AddFavorite); + public const string AddFavoriteFill = nameof(AddFavoriteFill); + public const string AddField = nameof(AddField); + public const string AddFriend = nameof(AddFriend); + public const string AddGroup = nameof(AddGroup); + public const string AddHome = nameof(AddHome); + public const string AddIn = nameof(AddIn); + public const string AddLink = nameof(AddLink); + public const string AddMedium = nameof(AddMedium); + public const string AddMultiple = nameof(AddMultiple); + public const string AddNotes = nameof(AddNotes); + public const string AddOnlineMeeting = nameof(AddOnlineMeeting); + public const string AddPhone = nameof(AddPhone); + public const string AddReaction = nameof(AddReaction); + public const string AddSpaceAfter = nameof(AddSpaceAfter); + public const string AddSpaceBefore = nameof(AddSpaceBefore); + public const string AddTable = nameof(AddTable); + public const string AddTo = nameof(AddTo); + public const string AddToShoppingList = nameof(AddToShoppingList); + public const string AddWork = nameof(AddWork); + public const string Admin = nameof(Admin); + public const string AdminALogo32 = nameof(AdminALogo32); + public const string AdminALogoFill32 = nameof(AdminALogoFill32); + public const string AdminALogoInverse32 = nameof(AdminALogoInverse32); + public const string AdminCLogoInverse32 = nameof(AdminCLogoInverse32); + public const string AdminDLogoInverse32 = nameof(AdminDLogoInverse32); + public const string AdminELogoInverse32 = nameof(AdminELogoInverse32); + public const string AdminLLogoInverse32 = nameof(AdminLLogoInverse32); + public const string AdminMLogoInverse32 = nameof(AdminMLogoInverse32); + public const string AdminOLogoInverse32 = nameof(AdminOLogoInverse32); + public const string AdminPLogoInverse32 = nameof(AdminPLogoInverse32); + public const string AdminSLogoInverse32 = nameof(AdminSLogoInverse32); + public const string AdminYLogoInverse32 = nameof(AdminYLogoInverse32); + public const string Airplane = nameof(Airplane); + public const string AirplaneSolid = nameof(AirplaneSolid); + public const string AirTickets = nameof(AirTickets); + public const string AlarmClock = nameof(AlarmClock); + public const string Album = nameof(Album); + public const string AlbumRemove = nameof(AlbumRemove); + public const string AlertSettings = nameof(AlertSettings); + public const string AlertSolid = nameof(AlertSolid); + public const string AlignCenter = nameof(AlignCenter); + public const string AlignHorizontalCenter = nameof(AlignHorizontalCenter); + public const string AlignHorizontalLeft = nameof(AlignHorizontalLeft); + public const string AlignHorizontalRight = nameof(AlignHorizontalRight); + public const string AlignJustify = nameof(AlignJustify); + public const string AlignLeft = nameof(AlignLeft); + public const string AlignRight = nameof(AlignRight); + public const string AlignVerticalBottom = nameof(AlignVerticalBottom); + public const string AlignVerticalCenter = nameof(AlignVerticalCenter); + public const string AlignVerticalTop = nameof(AlignVerticalTop); + public const string AllApps = nameof(AllApps); + public const string AllAppsMirrored = nameof(AllAppsMirrored); + public const string AllCurrency = nameof(AllCurrency); + public const string AltText = nameof(AltText); + public const string AnalyticsLogo = nameof(AnalyticsLogo); + public const string AnalyticsQuery = nameof(AnalyticsQuery); + public const string AnalyticsReport = nameof(AnalyticsReport); + public const string AnalyticsView = nameof(AnalyticsView); + public const string AnchorLock = nameof(AnchorLock); + public const string Annotation = nameof(Annotation); + public const string AppIconDefault = nameof(AppIconDefault); + public const string AppIconDefaultAdd = nameof(AppIconDefaultAdd); + public const string AppIconDefaultEdit = nameof(AppIconDefaultEdit); + public const string AppIconDefaultList = nameof(AppIconDefaultList); + public const string AppIconSecure = nameof(AppIconSecure); + public const string AppsContent = nameof(AppsContent); + public const string Archive = nameof(Archive); + public const string ArchiveUndo = nameof(ArchiveUndo); + public const string AreaChart = nameof(AreaChart); + public const string ArrangeBringForward = nameof(ArrangeBringForward); + public const string ArrangeBringToFront = nameof(ArrangeBringToFront); + public const string ArrangeByFrom = nameof(ArrangeByFrom); + public const string ArrangeSendBackward = nameof(ArrangeSendBackward); + public const string ArrangeSendToBack = nameof(ArrangeSendToBack); + public const string Arrivals = nameof(Arrivals); + public const string ArrowDownRight8 = nameof(ArrowDownRight8); + public const string ArrowDownRightMirrored8 = nameof(ArrowDownRightMirrored8); + public const string ArrowTallDownLeft = nameof(ArrowTallDownLeft); + public const string ArrowTallDownRight = nameof(ArrowTallDownRight); + public const string ArrowTallUpLeft = nameof(ArrowTallUpLeft); + public const string ArrowTallUpRight = nameof(ArrowTallUpRight); + public const string ArrowUpRight = nameof(ArrowUpRight); + public const string ArrowUpRight8 = nameof(ArrowUpRight8); + public const string ArrowUpRightMirrored8 = nameof(ArrowUpRightMirrored8); + public const string Articles = nameof(Articles); + public const string Ascending = nameof(Ascending); + public const string AspectRatio = nameof(AspectRatio); + public const string AssessmentGroup = nameof(AssessmentGroup); + public const string AssessmentGroupTemplate = nameof(AssessmentGroupTemplate); + public const string AssetLibrary = nameof(AssetLibrary); + public const string Assign = nameof(Assign); + public const string AssignPolicy = nameof(AssignPolicy); + public const string Asterisk = nameof(Asterisk); + public const string AsteriskSolid = nameof(AsteriskSolid); + public const string ATPLogo = nameof(ATPLogo); + public const string Attach = nameof(Attach); + public const string AustralianRules = nameof(AustralianRules); + public const string AuthenticatorApp = nameof(AuthenticatorApp); + public const string AutoDeploySettings = nameof(AutoDeploySettings); + public const string AutoEnhanceOff = nameof(AutoEnhanceOff); + public const string AutoEnhanceOn = nameof(AutoEnhanceOn); + public const string AutoFillTemplate = nameof(AutoFillTemplate); + public const string AutoFitContents = nameof(AutoFitContents); + public const string AutoFitWindow = nameof(AutoFitWindow); + public const string AutoHeight = nameof(AutoHeight); + public const string AutomateFlow = nameof(AutomateFlow); + public const string AutoRacing = nameof(AutoRacing); + public const string AwayStatus = nameof(AwayStatus); + public const string AzureAPIManagement = nameof(AzureAPIManagement); + public const string AzureDataExplorer = nameof(AzureDataExplorer); + public const string AzureIcon = nameof(AzureIcon); + public const string AzureKeyVault = nameof(AzureKeyVault); + public const string AzureServiceEndpoint = nameof(AzureServiceEndpoint); + public const string Back = nameof(Back); + public const string BackgroundColor = nameof(BackgroundColor); + public const string Backlog = nameof(Backlog); + public const string BacklogBoard = nameof(BacklogBoard); + public const string BacklogList = nameof(BacklogList); + public const string BackToWindow = nameof(BackToWindow); + public const string Badge = nameof(Badge); + public const string Balloons = nameof(Balloons); + public const string Bank = nameof(Bank); + public const string BankSolid = nameof(BankSolid); + public const string BarChart3 = nameof(BarChart3); + public const string BarChart3One = nameof(BarChart3One); + public const string BarChart3Two = nameof(BarChart3Two); + public const string BarChart3Zero = nameof(BarChart3Zero); + public const string BarChart4 = nameof(BarChart4); + public const string BarChartHorizontal = nameof(BarChartHorizontal); + public const string BarChartVertical = nameof(BarChartVertical); + public const string BarChartVerticalEdit = nameof(BarChartVerticalEdit); + public const string BarChartVerticalFill = nameof(BarChartVerticalFill); + public const string BarChartVerticalFilter = nameof(BarChartVerticalFilter); + public const string BarChartVerticalFilterSolid = nameof(BarChartVerticalFilterSolid); + public const string Baseball = nameof(Baseball); + public const string BeerMug = nameof(BeerMug); + public const string BIDashboard = nameof(BIDashboard); + public const string BidiLtr = nameof(BidiLtr); + public const string Bidirectional = nameof(Bidirectional); + public const string BidiRtl = nameof(BidiRtl); + public const string Bill = nameof(Bill); + public const string BingLogo = nameof(BingLogo); + public const string BirthdayCake = nameof(BirthdayCake); + public const string BlobStorage = nameof(BlobStorage); + public const string BlockContact = nameof(BlockContact); + public const string Blocked = nameof(Blocked); + public const string Blocked12 = nameof(Blocked12); + public const string Blocked2 = nameof(Blocked2); + public const string Blocked2Solid = nameof(Blocked2Solid); + public const string BlockedSite = nameof(BlockedSite); + public const string BlockedSiteSolid12 = nameof(BlockedSiteSolid12); + public const string BlockedSolid = nameof(BlockedSolid); + public const string Blog = nameof(Blog); + public const string BlowingSnow = nameof(BlowingSnow); + public const string Blur = nameof(Blur); + public const string Boards = nameof(Boards); + public const string Bold = nameof(Bold); + public const string BoldBulgarian = nameof(BoldBulgarian); + public const string BoldF = nameof(BoldF); + public const string BoldG = nameof(BoldG); + public const string BoldK = nameof(BoldK); + public const string BoldKazakh = nameof(BoldKazakh); + public const string BoldKorean = nameof(BoldKorean); + public const string BoldN = nameof(BoldN); + public const string BoldP = nameof(BoldP); + public const string BoldRussion = nameof(BoldRussion); + public const string BoldSerbian = nameof(BoldSerbian); + public const string BoldT = nameof(BoldT); + public const string BookAnswers = nameof(BookAnswers); + public const string BookingsLogo = nameof(BookingsLogo); + public const string BookmarkReport = nameof(BookmarkReport); + public const string Bookmarks = nameof(Bookmarks); + public const string BookmarksMirrored = nameof(BookmarksMirrored); + public const string BooleanData = nameof(BooleanData); + public const string BorderAll = nameof(BorderAll); + public const string BorderDash = nameof(BorderDash); + public const string BorderDot = nameof(BorderDot); + public const string BorderInside = nameof(BorderInside); + public const string BorderInsideHorizontal = nameof(BorderInsideHorizontal); + public const string BorderInsideVertical = nameof(BorderInsideVertical); + public const string BorderNone = nameof(BorderNone); + public const string BoxAdditionSolid = nameof(BoxAdditionSolid); + public const string BoxCheckmarkSolid = nameof(BoxCheckmarkSolid); + public const string BoxMultiplySolid = nameof(BoxMultiplySolid); + public const string BoxPlaySolid = nameof(BoxPlaySolid); + public const string BoxSubtractSolid = nameof(BoxSubtractSolid); + public const string BranchCommit = nameof(BranchCommit); + public const string BranchCompare = nameof(BranchCompare); + public const string BranchFork = nameof(BranchFork); + public const string BranchFork2 = nameof(BranchFork2); + public const string BranchLocked = nameof(BranchLocked); + public const string BranchMerge = nameof(BranchMerge); + public const string BranchPullRequest = nameof(BranchPullRequest); + public const string BranchSearch = nameof(BranchSearch); + public const string BranchShelveset = nameof(BranchShelveset); + public const string Breadcrumb = nameof(Breadcrumb); + public const string Breakfast = nameof(Breakfast); + public const string BreakpointsRemove = nameof(BreakpointsRemove); + public const string Brightness = nameof(Brightness); + public const string Broom = nameof(Broom); + public const string BrowserScreenShot = nameof(BrowserScreenShot); + public const string BrowserTab = nameof(BrowserTab); + public const string BrowserTabScreenshot = nameof(BrowserTabScreenshot); + public const string Brunch = nameof(Brunch); + public const string Brush = nameof(Brush); + public const string BucketColor = nameof(BucketColor); + public const string BucketColorFill = nameof(BucketColorFill); + public const string BufferTimeAfter = nameof(BufferTimeAfter); + public const string BufferTimeBefore = nameof(BufferTimeBefore); + public const string BufferTimeBoth = nameof(BufferTimeBoth); + public const string Bug = nameof(Bug); + public const string BugAction = nameof(BugAction); + public const string BugBlock = nameof(BugBlock); + public const string BugSolid = nameof(BugSolid); + public const string BugSync = nameof(BugSync); + public const string BugWarning = nameof(BugWarning); + public const string Build = nameof(Build); + public const string BuildDefinition = nameof(BuildDefinition); + public const string BuildIssue = nameof(BuildIssue); + public const string BuildQueue = nameof(BuildQueue); + public const string BuildQueueNew = nameof(BuildQueueNew); + public const string BulkPageBlock = nameof(BulkPageBlock); + public const string BulkUpload = nameof(BulkUpload); + public const string BulletedList = nameof(BulletedList); + public const string BulletedList2 = nameof(BulletedList2); + public const string BulletedList2Mirrored = nameof(BulletedList2Mirrored); + public const string BulletedListBullet = nameof(BulletedListBullet); + public const string BulletedListBulletMirrored = nameof(BulletedListBulletMirrored); + public const string BulletedListMirrored = nameof(BulletedListMirrored); + public const string BulletedListText = nameof(BulletedListText); + public const string BulletedListTextMirrored = nameof(BulletedListTextMirrored); + public const string BulletedTreeList = nameof(BulletedTreeList); + public const string Bullseye = nameof(Bullseye); + public const string BullseyeTarget = nameof(BullseyeTarget); + public const string BullseyeTargetAdd = nameof(BullseyeTargetAdd); + public const string BullseyeTargetDelete = nameof(BullseyeTargetDelete); + public const string BullseyeTargetEdit = nameof(BullseyeTargetEdit); + public const string Bus = nameof(Bus); + public const string BusinessCard = nameof(BusinessCard); + public const string BusinessCenterLogo = nameof(BusinessCenterLogo); + public const string BusinessHoursSign = nameof(BusinessHoursSign); + public const string BusinessRule = nameof(BusinessRule); + public const string BusSolid = nameof(BusSolid); + public const string ButtonControl = nameof(ButtonControl); + public const string Cafe = nameof(Cafe); + public const string Cake = nameof(Cake); + public const string CalculatedTable = nameof(CalculatedTable); + public const string Calculator = nameof(Calculator); + public const string CalculatorAddition = nameof(CalculatorAddition); + public const string CalculatorDelta = nameof(CalculatorDelta); + public const string CalculatorEqualTo = nameof(CalculatorEqualTo); + public const string CalculatorGroup = nameof(CalculatorGroup); + public const string CalculatorMultiply = nameof(CalculatorMultiply); + public const string CalculatorNotEqualTo = nameof(CalculatorNotEqualTo); + public const string CalculatorPercentage = nameof(CalculatorPercentage); + public const string CalculatorSubtract = nameof(CalculatorSubtract); + public const string Calendar = nameof(Calendar); + public const string CalendarAgenda = nameof(CalendarAgenda); + public const string CalendarDay = nameof(CalendarDay); + public const string CalendarMirrored = nameof(CalendarMirrored); + public const string CalendarReply = nameof(CalendarReply); + public const string CalendarSettings = nameof(CalendarSettings); + public const string CalendarSettingsMirrored = nameof(CalendarSettingsMirrored); + public const string CalendarWeek = nameof(CalendarWeek); + public const string CalendarWorkWeek = nameof(CalendarWorkWeek); + public const string CalendarYear = nameof(CalendarYear); + public const string Calories = nameof(Calories); + public const string CaloriesAdd = nameof(CaloriesAdd); + public const string Camera = nameof(Camera); + public const string CampaignTemplate = nameof(CampaignTemplate); + public const string Cancel = nameof(Cancel); + public const string CannedChat = nameof(CannedChat); + public const string CanvasAppTemplate32 = nameof(CanvasAppTemplate32); + public const string Car = nameof(Car); + public const string CareActivity = nameof(CareActivity); + public const string CarePlan = nameof(CarePlan); + public const string CarePlanTemplate = nameof(CarePlanTemplate); + public const string CaretBottomLeftCenter8 = nameof(CaretBottomLeftCenter8); + public const string CaretBottomLeftSolid8 = nameof(CaretBottomLeftSolid8); + public const string CaretBottomRightCenter8 = nameof(CaretBottomRightCenter8); + public const string CaretBottomRightSolid8 = nameof(CaretBottomRightSolid8); + public const string CaretDown8 = nameof(CaretDown8); + public const string CaretDownSolid8 = nameof(CaretDownSolid8); + public const string CaretHollow = nameof(CaretHollow); + public const string CaretHollowMirrored = nameof(CaretHollowMirrored); + public const string CaretLeft8 = nameof(CaretLeft8); + public const string CaretLeftSolid8 = nameof(CaretLeftSolid8); + public const string CaretRight = nameof(CaretRight); + public const string CaretRight8 = nameof(CaretRight8); + public const string CaretRightSolid8 = nameof(CaretRightSolid8); + public const string CaretSolid = nameof(CaretSolid); + public const string CaretSolid16 = nameof(CaretSolid16); + public const string CaretSolidAlt = nameof(CaretSolidAlt); + public const string CaretSolidDown = nameof(CaretSolidDown); + public const string CaretSolidLeft = nameof(CaretSolidLeft); + public const string CaretSolidMirrored = nameof(CaretSolidMirrored); + public const string CaretSolidRight = nameof(CaretSolidRight); + public const string CaretSolidUp = nameof(CaretSolidUp); + public const string CaretTopLeftCenter8 = nameof(CaretTopLeftCenter8); + public const string CaretTopLeftSolid8 = nameof(CaretTopLeftSolid8); + public const string CaretTopRightCenter8 = nameof(CaretTopRightCenter8); + public const string CaretTopRightSolid8 = nameof(CaretTopRightSolid8); + public const string CaretUp8 = nameof(CaretUp8); + public const string CaretUpSolid8 = nameof(CaretUpSolid8); + public const string CaseSetting = nameof(CaseSetting); + public const string Cat = nameof(Cat); + public const string CategoryClassification = nameof(CategoryClassification); + public const string CC = nameof(CC); + public const string CCSolid = nameof(CCSolid); + public const string CellPhone = nameof(CellPhone); + public const string CellSplitVertical = nameof(CellSplitVertical); + public const string Certificate = nameof(Certificate); + public const string CertifiedDatabase = nameof(CertifiedDatabase); + public const string ChangeEntitlements = nameof(ChangeEntitlements); + public const string Chart = nameof(Chart); + public const string CharticulatorArrangePolar = nameof(CharticulatorArrangePolar); + public const string CharticulatorArrangePolarAngles = nameof(CharticulatorArrangePolarAngles); + public const string CharticulatorBand = nameof(CharticulatorBand); + public const string CharticulatorGuideCoordinator = nameof(CharticulatorGuideCoordinator); + public const string CharticulatorGuideX = nameof(CharticulatorGuideX); + public const string CharticulatorGuideY = nameof(CharticulatorGuideY); + public const string CharticulatorLegend = nameof(CharticulatorLegend); + public const string CharticulatorLine = nameof(CharticulatorLine); + public const string CharticulatorLineStyleDashed = nameof(CharticulatorLineStyleDashed); + public const string CharticulatorLineStyleDotted = nameof(CharticulatorLineStyleDotted); + public const string CharticulatorLinkingData = nameof(CharticulatorLinkingData); + public const string CharticulatorLinkingSequence = nameof(CharticulatorLinkingSequence); + public const string CharticulatorOrderColumn = nameof(CharticulatorOrderColumn); + public const string CharticulatorOrderRow = nameof(CharticulatorOrderRow); + public const string CharticulatorPlotCartesian = nameof(CharticulatorPlotCartesian); + public const string CharticulatorPlotCurve = nameof(CharticulatorPlotCurve); + public const string CharticulatorPolarCoordinates = nameof(CharticulatorPolarCoordinates); + public const string CharticulatorSpiral = nameof(CharticulatorSpiral); + public const string CharticulatorStackRadial = nameof(CharticulatorStackRadial); + public const string CharticulatorStackY = nameof(CharticulatorStackY); + public const string ChartSeries = nameof(ChartSeries); + public const string ChartTemplate = nameof(ChartTemplate); + public const string ChartXAngle = nameof(ChartXAngle); + public const string ChartYAngle = nameof(ChartYAngle); + public const string Chat = nameof(Chat); + public const string ChatBot = nameof(ChatBot); + public const string ChatInviteFriend = nameof(ChatInviteFriend); + public const string ChatSettings = nameof(ChatSettings); + public const string ChatSolid = nameof(ChatSolid); + public const string Checkbox = nameof(Checkbox); + public const string CheckboxComposite = nameof(CheckboxComposite); + public const string CheckboxCompositeReversed = nameof(CheckboxCompositeReversed); + public const string CheckboxFill = nameof(CheckboxFill); + public const string CheckboxIndeterminate = nameof(CheckboxIndeterminate); + public const string CheckboxIndeterminateCombo = nameof(CheckboxIndeterminateCombo); + public const string CheckedOutByOther12 = nameof(CheckedOutByOther12); + public const string CheckedOutByYou12 = nameof(CheckedOutByYou12); + public const string CheckList = nameof(CheckList); + public const string CheckListCheck = nameof(CheckListCheck); + public const string CheckListCheckMirrored = nameof(CheckListCheckMirrored); + public const string CheckListText = nameof(CheckListText); + public const string CheckListTextMirrored = nameof(CheckListTextMirrored); + public const string CheckMark = nameof(CheckMark); + public const string ChevronDown = nameof(ChevronDown); + public const string ChevronDownEnd = nameof(ChevronDownEnd); + public const string ChevronDownEnd6 = nameof(ChevronDownEnd6); + public const string ChevronDownMed = nameof(ChevronDownMed); + public const string ChevronDownSmall = nameof(ChevronDownSmall); + public const string ChevronFold10 = nameof(ChevronFold10); + public const string ChevronLeft = nameof(ChevronLeft); + public const string ChevronLeftEnd6 = nameof(ChevronLeftEnd6); + public const string ChevronLeftMed = nameof(ChevronLeftMed); + public const string ChevronLeftSmall = nameof(ChevronLeftSmall); + public const string ChevronRight = nameof(ChevronRight); + public const string ChevronRightEnd6 = nameof(ChevronRightEnd6); + public const string ChevronRightMed = nameof(ChevronRightMed); + public const string ChevronRightSmall = nameof(ChevronRightSmall); + public const string ChevronUnfold10 = nameof(ChevronUnfold10); + public const string ChevronUp = nameof(ChevronUp); + public const string ChevronUpEnd = nameof(ChevronUpEnd); + public const string ChevronUpEnd6 = nameof(ChevronUpEnd6); + public const string ChevronUpMed = nameof(ChevronUpMed); + public const string ChevronUpSmall = nameof(ChevronUpSmall); + public const string ChildOf = nameof(ChildOf); + public const string ChoiceColumn = nameof(ChoiceColumn); + public const string Chopsticks = nameof(Chopsticks); + public const string ChromeBack = nameof(ChromeBack); + public const string ChromeBackMirrored = nameof(ChromeBackMirrored); + public const string ChromeClose = nameof(ChromeClose); + public const string ChromeFullScreen = nameof(ChromeFullScreen); + public const string ChromeMinimize = nameof(ChromeMinimize); + public const string ChromeRestore = nameof(ChromeRestore); + public const string CircleAddition = nameof(CircleAddition); + public const string CircleAdditionSolid = nameof(CircleAdditionSolid); + public const string CircleDollar = nameof(CircleDollar); + public const string CircleFill = nameof(CircleFill); + public const string CircleHalfFull = nameof(CircleHalfFull); + public const string CirclePause = nameof(CirclePause); + public const string CirclePauseSolid = nameof(CirclePauseSolid); + public const string CirclePlus = nameof(CirclePlus); + public const string CircleRing = nameof(CircleRing); + public const string CircleShape = nameof(CircleShape); + public const string CircleShapeSolid = nameof(CircleShapeSolid); + public const string CircleStop = nameof(CircleStop); + public const string CircleStopSolid = nameof(CircleStopSolid); + public const string CityNext = nameof(CityNext); + public const string CityNext2 = nameof(CityNext2); + public const string ClassNotebookLogo16 = nameof(ClassNotebookLogo16); + public const string ClassNotebookLogo32 = nameof(ClassNotebookLogo32); + public const string ClassNotebookLogoFill16 = nameof(ClassNotebookLogoFill16); + public const string ClassNotebookLogoFill32 = nameof(ClassNotebookLogoFill32); + public const string ClassNotebookLogoInverse = nameof(ClassNotebookLogoInverse); + public const string ClassNotebookLogoInverse16 = nameof(ClassNotebookLogoInverse16); + public const string ClassNotebookLogoInverse32 = nameof(ClassNotebookLogoInverse32); + public const string ClassroomLogo = nameof(ClassroomLogo); + public const string Clear = nameof(Clear); + public const string ClearFilter = nameof(ClearFilter); + public const string ClearFormatting = nameof(ClearFormatting); + public const string ClearFormattingA = nameof(ClearFormattingA); + public const string ClearFormattingEraser = nameof(ClearFormattingEraser); + public const string ClearNight = nameof(ClearNight); + public const string ClearSelection = nameof(ClearSelection); + public const string ClearSelectionMirrored = nameof(ClearSelectionMirrored); + public const string Clicked = nameof(Clicked); + public const string ClinicalImpression = nameof(ClinicalImpression); + public const string Clipboard = nameof(Clipboard); + public const string ClipboardList = nameof(ClipboardList); + public const string ClipboardListAdd = nameof(ClipboardListAdd); + public const string ClipboardListMirrored = nameof(ClipboardListMirrored); + public const string ClipboardListQuestion = nameof(ClipboardListQuestion); + public const string ClipboardListReply = nameof(ClipboardListReply); + public const string ClipboardSolid = nameof(ClipboardSolid); + public const string Clock = nameof(Clock); + public const string CloneToDesktop = nameof(CloneToDesktop); + public const string ClosedCaption = nameof(ClosedCaption); + public const string ClosePane = nameof(ClosePane); + public const string ClosePaneMirrored = nameof(ClosePaneMirrored); + public const string Cloud = nameof(Cloud); + public const string CloudAdd = nameof(CloudAdd); + public const string CloudDownload = nameof(CloudDownload); + public const string CloudEdit = nameof(CloudEdit); + public const string CloudFlow = nameof(CloudFlow); + public const string CloudImportExport = nameof(CloudImportExport); + public const string CloudLink = nameof(CloudLink); + public const string CloudNotSynced = nameof(CloudNotSynced); + public const string CloudPrinter = nameof(CloudPrinter); + public const string CloudSearch = nameof(CloudSearch); + public const string CloudSecure = nameof(CloudSecure); + public const string CloudUpload = nameof(CloudUpload); + public const string CloudWeather = nameof(CloudWeather); + public const string Cloudy = nameof(Cloudy); + public const string Cocktails = nameof(Cocktails); + public const string Code = nameof(Code); + public const string CodeEdit = nameof(CodeEdit); + public const string Coffee = nameof(Coffee); + public const string CoffeeScript = nameof(CoffeeScript); + public const string CollapseAll = nameof(CollapseAll); + public const string CollapseContent = nameof(CollapseContent); + public const string CollapseContentSingle = nameof(CollapseContentSingle); + public const string CollapseMenu = nameof(CollapseMenu); + public const string CollegeFootball = nameof(CollegeFootball); + public const string CollegeHoops = nameof(CollegeHoops); + public const string Color = nameof(Color); + public const string ColorSolid = nameof(ColorSolid); + public const string Column = nameof(Column); + public const string ColumnFunction = nameof(ColumnFunction); + public const string ColumnLeftTwoThirds = nameof(ColumnLeftTwoThirds); + public const string ColumnLeftTwoThirdsEdit = nameof(ColumnLeftTwoThirdsEdit); + public const string ColumnList = nameof(ColumnList); + public const string ColumnOptions = nameof(ColumnOptions); + public const string ColumnQuestion = nameof(ColumnQuestion); + public const string ColumnQuestionMirrored = nameof(ColumnQuestionMirrored); + public const string ColumnRightTwoThirds = nameof(ColumnRightTwoThirds); + public const string ColumnRightTwoThirdsEdit = nameof(ColumnRightTwoThirdsEdit); + public const string ColumnSigma = nameof(ColumnSigma); + public const string ColumnVerticalSection = nameof(ColumnVerticalSection); + public const string ColumnVerticalSectionEdit = nameof(ColumnVerticalSectionEdit); + public const string Combine = nameof(Combine); + public const string Combobox = nameof(Combobox); + public const string CommandPrompt = nameof(CommandPrompt); + public const string Comment = nameof(Comment); + public const string CommentActive = nameof(CommentActive); + public const string CommentAdd = nameof(CommentAdd); + public const string CommentNext = nameof(CommentNext); + public const string CommentPrevious = nameof(CommentPrevious); + public const string CommentSolid = nameof(CommentSolid); + public const string CommentUrgent = nameof(CommentUrgent); + public const string Commitments = nameof(Commitments); + public const string CommonDataServiceCDS = nameof(CommonDataServiceCDS); + public const string CommunicationDetails = nameof(CommunicationDetails); + public const string CommunicationDetailsMirrored = nameof(CommunicationDetailsMirrored); + public const string Communications = nameof(Communications); + public const string CompactColumnList = nameof(CompactColumnList); + public const string CompactViewList = nameof(CompactViewList); + public const string CompanyDirectory = nameof(CompanyDirectory); + public const string CompanyDirectoryMirrored = nameof(CompanyDirectoryMirrored); + public const string Compare = nameof(Compare); + public const string CompareUneven = nameof(CompareUneven); + public const string CompassNW = nameof(CompassNW); + public const string Completed = nameof(Completed); + public const string Completed12 = nameof(Completed12); + public const string CompletedSolid = nameof(CompletedSolid); + public const string ComplianceAudit = nameof(ComplianceAudit); + public const string ConfigurationSolid = nameof(ConfigurationSolid); + public const string ConfirmEvent = nameof(ConfirmEvent); + public const string ConnectContacts = nameof(ConnectContacts); + public const string ConnectVirtualMachine = nameof(ConnectVirtualMachine); + public const string ConstructionCone = nameof(ConstructionCone); + public const string ConstructionConeSolid = nameof(ConstructionConeSolid); + public const string Contact = nameof(Contact); + public const string ContactCard = nameof(ContactCard); + public const string ContactCardSettings = nameof(ContactCardSettings); + public const string ContactCardSettingsMirrored = nameof(ContactCardSettingsMirrored); + public const string ContactHeart = nameof(ContactHeart); + public const string ContactInfo = nameof(ContactInfo); + public const string ContactInfoMirrored = nameof(ContactInfoMirrored); + public const string ContactLink = nameof(ContactLink); + public const string ContactList = nameof(ContactList); + public const string ContactLock = nameof(ContactLock); + public const string ContentFeed = nameof(ContentFeed); + public const string ContentSettings = nameof(ContentSettings); + public const string ContentUnderstandingApp = nameof(ContentUnderstandingApp); + public const string ContextMenu = nameof(ContextMenu); + public const string Contrast = nameof(Contrast); + public const string Copy = nameof(Copy); + public const string CopyEdit = nameof(CopyEdit); + public const string CopyPath = nameof(CopyPath); + public const string CortanaLogoBeckonInner = nameof(CortanaLogoBeckonInner); + public const string CortanaLogoBeckonOuter = nameof(CortanaLogoBeckonOuter); + public const string CortanaLogoInner = nameof(CortanaLogoInner); + public const string CortanaLogoOuter = nameof(CortanaLogoOuter); + public const string CortanaLogoReadyInner = nameof(CortanaLogoReadyInner); + public const string CortanaLogoReadyOuter = nameof(CortanaLogoReadyOuter); + public const string CostControlLedgerAdmin = nameof(CostControlLedgerAdmin); + public const string CostControl = nameof(CostControl); + public const string Cotton = nameof(Cotton); + public const string Count = nameof(Count); + public const string Coupon = nameof(Coupon); + public const string CPlusPlus = nameof(CPlusPlus); + public const string CPlusPlusLanguage = nameof(CPlusPlusLanguage); + public const string CreateMailRule = nameof(CreateMailRule); + public const string CreditCardBill = nameof(CreditCardBill); + public const string Cricket = nameof(Cricket); + public const string CriticalErrorSolid = nameof(CriticalErrorSolid); + public const string CRMLead = nameof(CRMLead); + public const string CRMProcesses = nameof(CRMProcesses); + public const string CRMReport = nameof(CRMReport); + public const string CRMResourceOptimizationApp32 = nameof(CRMResourceOptimizationApp32); + public const string CRMServices = nameof(CRMServices); + public const string Crop = nameof(Crop); + public const string Crown = nameof(Crown); + public const string CrownSolid = nameof(CrownSolid); + public const string CSharp = nameof(CSharp); + public const string CSharpLanguage = nameof(CSharpLanguage); + public const string CSS = nameof(CSS); + public const string CtrlButton = nameof(CtrlButton); + public const string CubeShape = nameof(CubeShape); + public const string CubeShapeSolid = nameof(CubeShapeSolid); + public const string Currency = nameof(Currency); + public const string CustomActivity = nameof(CustomActivity); + public const string CustomEntity = nameof(CustomEntity); + public const string CustomerAssets = nameof(CustomerAssets); + public const string CustomizeToolbar = nameof(CustomizeToolbar); + public const string CustomList = nameof(CustomList); + public const string CustomListMirrored = nameof(CustomListMirrored); + public const string Cut = nameof(Cut); + public const string Cycling = nameof(Cycling); + public const string D365BusinessCentral = nameof(D365BusinessCentral); + public const string D365CoreHR = nameof(D365CoreHR); + public const string D365CustomerInsights = nameof(D365CustomerInsights); + public const string D365CustomerVoiceApp = nameof(D365CustomerVoiceApp); + public const string D365ProjectOperations = nameof(D365ProjectOperations); + public const string D365TalentInsight = nameof(D365TalentInsight); + public const string D365TalentLearn = nameof(D365TalentLearn); + public const string DashboardAdd = nameof(DashboardAdd); + public const string DataAnalysis = nameof(DataAnalysis); + public const string Database = nameof(Database); + public const string DatabaseActivity = nameof(DatabaseActivity); + public const string DatabaseBlock = nameof(DatabaseBlock); + public const string DatabaseRefresh = nameof(DatabaseRefresh); + public const string DatabaseSource = nameof(DatabaseSource); + public const string DatabaseSwap = nameof(DatabaseSwap); + public const string DatabaseSync = nameof(DatabaseSync); + public const string DatabaseView = nameof(DatabaseView); + public const string DataConnectionLibrary = nameof(DataConnectionLibrary); + public const string DataEnrichment = nameof(DataEnrichment); + public const string DataFilter = nameof(DataFilter); + public const string DataFlow = nameof(DataFlow); + public const string Dataflows = nameof(Dataflows); + public const string DataflowsLink = nameof(DataflowsLink); + public const string DataManagementSettings = nameof(DataManagementSettings); + public const string DatamartExternal = nameof(DatamartExternal); + public const string Dataverse = nameof(Dataverse); + public const string DateTime = nameof(DateTime); + public const string DateTime12 = nameof(DateTime12); + public const string DateTime2 = nameof(DateTime2); + public const string DateTimeMirrored = nameof(DateTimeMirrored); + public const string DeactivateOrders = nameof(DeactivateOrders); + public const string Debug = nameof(Debug); + public const string DebugAll = nameof(DebugAll); + public const string Decimals = nameof(Decimals); + public const string DecisionSolid = nameof(DecisionSolid); + public const string DeclineCall = nameof(DeclineCall); + public const string DecreaseIndent = nameof(DecreaseIndent); + public const string DecreaseIndentArrow = nameof(DecreaseIndentArrow); + public const string DecreaseIndentArrowMirrored = nameof(DecreaseIndentArrowMirrored); + public const string DecreaseIndentMirrored = nameof(DecreaseIndentMirrored); + public const string DecreaseIndentText = nameof(DecreaseIndentText); + public const string DecreaseIndentTextMirrored = nameof(DecreaseIndentTextMirrored); + public const string DefaultRatio = nameof(DefaultRatio); + public const string DefaultSettings = nameof(DefaultSettings); + public const string DefectSolid = nameof(DefectSolid); + public const string DefenderApp = nameof(DefenderApp); + public const string DefenderBadge12 = nameof(DefenderBadge12); + public const string DefenderTVM = nameof(DefenderTVM); + public const string Delete = nameof(Delete); + public const string DeleteColumns = nameof(DeleteColumns); + public const string DeleteRows = nameof(DeleteRows); + public const string DeleteRowsMirrored = nameof(DeleteRowsMirrored); + public const string DeleteTable = nameof(DeleteTable); + public const string DeliveryTruck = nameof(DeliveryTruck); + public const string DelveAnalytics = nameof(DelveAnalytics); + public const string DelveAnalyticsLogo = nameof(DelveAnalyticsLogo); + public const string DelveLogo = nameof(DelveLogo); + public const string DelveLogoFill = nameof(DelveLogoFill); + public const string DelveLogoInverse = nameof(DelveLogoInverse); + public const string DensityComfy = nameof(DensityComfy); + public const string DensityDefault = nameof(DensityDefault); + public const string DependencyAdd = nameof(DependencyAdd); + public const string DependencyRemove = nameof(DependencyRemove); + public const string Deploy = nameof(Deploy); + public const string Descending = nameof(Descending); + public const string Design = nameof(Design); + public const string DesktopFlow = nameof(DesktopFlow); + public const string DesktopScreenshot = nameof(DesktopScreenshot); + public const string DeveloperTools = nameof(DeveloperTools); + public const string DeviceBug = nameof(DeviceBug); + public const string DeviceOff = nameof(DeviceOff); + public const string DeviceRun = nameof(DeviceRun); + public const string Devices2 = nameof(Devices2); + public const string Devices3 = nameof(Devices3); + public const string Devices4 = nameof(Devices4); + public const string Diagnostic = nameof(Diagnostic); + public const string DiagnosticDataBar = nameof(DiagnosticDataBar); + public const string DiagnosticDataBarTooltip = nameof(DiagnosticDataBarTooltip); + public const string DiagnosticDataViewerApp = nameof(DiagnosticDataViewerApp); + public const string Dialpad = nameof(Dialpad); + public const string DialShape1 = nameof(DialShape1); + public const string DialShape3 = nameof(DialShape3); + public const string Diamond = nameof(Diamond); + public const string DiamondSolid = nameof(DiamondSolid); + public const string DiamondUser = nameof(DiamondUser); + public const string Dictionary = nameof(Dictionary); + public const string DictionaryRemove = nameof(DictionaryRemove); + public const string DietPlanNotebook = nameof(DietPlanNotebook); + public const string DiffInline = nameof(DiffInline); + public const string DiffSideBySide = nameof(DiffSideBySide); + public const string Diploma = nameof(Diploma); + public const string DisableUpdates = nameof(DisableUpdates); + public const string DisconnectVirtualMachine = nameof(DisconnectVirtualMachine); + public const string Dislike = nameof(Dislike); + public const string DislikeSolid = nameof(DislikeSolid); + public const string Distance = nameof(Distance); + public const string DistributeDown = nameof(DistributeDown); + public const string DockLeft = nameof(DockLeft); + public const string DockLeftMirrored = nameof(DockLeftMirrored); + public const string DockRight = nameof(DockRight); + public const string DocLibrary = nameof(DocLibrary); + public const string DocsLogoInverse = nameof(DocsLogoInverse); + public const string Document = nameof(Document); + public const string DocumentApproval = nameof(DocumentApproval); + public const string Documentation = nameof(Documentation); + public const string DocumentManagement = nameof(DocumentManagement); + public const string DocumentReply = nameof(DocumentReply); + public const string DocumentSearch = nameof(DocumentSearch); + public const string DocumentSet = nameof(DocumentSet); + public const string DOM = nameof(DOM); + public const string DonutChart = nameof(DonutChart); + public const string Door = nameof(Door); + public const string DoubleBookmark = nameof(DoubleBookmark); + public const string DoubleChevronDown = nameof(DoubleChevronDown); + public const string DoubleChevronDown12 = nameof(DoubleChevronDown12); + public const string DoubleChevronDown8 = nameof(DoubleChevronDown8); + public const string DoubleChevronLeft = nameof(DoubleChevronLeft); + public const string DoubleChevronLeft12 = nameof(DoubleChevronLeft12); + public const string DoubleChevronLeft8 = nameof(DoubleChevronLeft8); + public const string DoubleChevronLeftMed = nameof(DoubleChevronLeftMed); + public const string DoubleChevronLeftMedMirrored = nameof(DoubleChevronLeftMedMirrored); + public const string DoubleChevronRight = nameof(DoubleChevronRight); + public const string DoubleChevronRight12 = nameof(DoubleChevronRight12); + public const string DoubleChevronRight8 = nameof(DoubleChevronRight8); + public const string DoubleChevronUp = nameof(DoubleChevronUp); + public const string DoubleChevronUp12 = nameof(DoubleChevronUp12); + public const string DoubleChevronUp8 = nameof(DoubleChevronUp8); + public const string DoubleColumn = nameof(DoubleColumn); + public const string DoubleColumnEdit = nameof(DoubleColumnEdit); + public const string DoubleDownArrow = nameof(DoubleDownArrow); + public const string Down = nameof(Down); + public const string DownKey = nameof(DownKey); + public const string Download = nameof(Download); + public const string DownloadDocument = nameof(DownloadDocument); + public const string DragObject = nameof(DragObject); + public const string DrillDown = nameof(DrillDown); + public const string DrillDownSolid = nameof(DrillDownSolid); + public const string DrillExpand = nameof(DrillExpand); + public const string DrillShow = nameof(DrillShow); + public const string DrillThrough = nameof(DrillThrough); + public const string DriverOff = nameof(DriverOff); + public const string DRM = nameof(DRM); + public const string Drop = nameof(Drop); + public const string Dropdown = nameof(Dropdown); + public const string DropShape = nameof(DropShape); + public const string DropShapeSolid = nameof(DropShapeSolid); + public const string DuplicateRow = nameof(DuplicateRow); + public const string DustStorm = nameof(DustStorm); + public const string DynamicList = nameof(DynamicList); + public const string Dynamics365Logo = nameof(Dynamics365Logo); + public const string DynamicSMBLogo = nameof(DynamicSMBLogo); + public const string EaseOfAccess = nameof(EaseOfAccess); + public const string EatDrink = nameof(EatDrink); + public const string EdgeLogo = nameof(EdgeLogo); + public const string EdgeLogo16 = nameof(EdgeLogo16); + public const string EdgeOldLogo = nameof(EdgeOldLogo); + public const string eDiscovery = nameof(eDiscovery); + public const string Edit = nameof(Edit); + public const string EditContact = nameof(EditContact); + public const string EditCreate = nameof(EditCreate); + public const string EditEvent = nameof(EditEvent); + public const string EditListPencil = nameof(EditListPencil); + public const string EditMail = nameof(EditMail); + public const string EditMirrored = nameof(EditMirrored); + public const string EditNote = nameof(EditNote); + public const string EditPhoto = nameof(EditPhoto); + public const string EditSolid12 = nameof(EditSolid12); + public const string EditSolidMirrored12 = nameof(EditSolidMirrored12); + public const string EditStyle = nameof(EditStyle); + public const string EditTable = nameof(EditTable); + public const string Education = nameof(Education); + public const string Ellipse = nameof(Ellipse); + public const string Embed = nameof(Embed); + public const string EMI = nameof(EMI); + public const string Emoji = nameof(Emoji); + public const string Emoji2 = nameof(Emoji2); + public const string EmojiDisappointed = nameof(EmojiDisappointed); + public const string EmojiNeutral = nameof(EmojiNeutral); + public const string EmojiTabSymbols = nameof(EmojiTabSymbols); + public const string EmployeeSelfService = nameof(EmployeeSelfService); + public const string EmptyRecycleBin = nameof(EmptyRecycleBin); + public const string Encounter = nameof(Encounter); + public const string Encryption = nameof(Encryption); + public const string EndPointSolid = nameof(EndPointSolid); + public const string EngineeringGroup = nameof(EngineeringGroup); + public const string EntitlementPolicy = nameof(EntitlementPolicy); + public const string EntitlementRedemption = nameof(EntitlementRedemption); + public const string EntityExtraction = nameof(EntityExtraction); + public const string EntryDecline = nameof(EntryDecline); + public const string EntryView = nameof(EntryView); + public const string Equalizer = nameof(Equalizer); + public const string EraseTool = nameof(EraseTool); + public const string Error = nameof(Error); + public const string ErrorBadge = nameof(ErrorBadge); + public const string ErrorBadge12 = nameof(ErrorBadge12); + public const string Event = nameof(Event); + public const string Event12 = nameof(Event12); + public const string EventAccepted = nameof(EventAccepted); + public const string EventDate = nameof(EventDate); + public const string EventDateMissed12 = nameof(EventDateMissed12); + public const string EventDeclined = nameof(EventDeclined); + public const string EventInfo = nameof(EventInfo); + public const string EventTentative = nameof(EventTentative); + public const string EventTentativeMirrored = nameof(EventTentativeMirrored); + public const string EventToDoLogo = nameof(EventToDoLogo); + public const string ExcelDocument = nameof(ExcelDocument); + public const string ExcelLogo = nameof(ExcelLogo); + public const string ExcelLogo16 = nameof(ExcelLogo16); + public const string ExcelLogoInverse = nameof(ExcelLogoInverse); + public const string ExcelLogoInverse16 = nameof(ExcelLogoInverse16); + public const string ExchangeLogo = nameof(ExchangeLogo); + public const string ExchangeLogoInverse = nameof(ExchangeLogoInverse); + public const string ExerciseTracker = nameof(ExerciseTracker); + public const string ExpandAll = nameof(ExpandAll); + public const string ExpandMenu = nameof(ExpandMenu); + public const string ExploreContent = nameof(ExploreContent); + public const string ExploreContentSingle = nameof(ExploreContentSingle); + public const string ExploreData = nameof(ExploreData); + public const string Export = nameof(Export); + public const string ExportMirrored = nameof(ExportMirrored); + public const string ExpressRouteCircuits = nameof(ExpressRouteCircuits); + public const string ExternalBuild = nameof(ExternalBuild); + public const string ExternalTFVC = nameof(ExternalTFVC); + public const string ExternalUser = nameof(ExternalUser); + public const string ExternalXAML = nameof(ExternalXAML); + public const string Eyedropper = nameof(Eyedropper); + public const string EyeShadow = nameof(EyeShadow); + public const string F12DevTools = nameof(F12DevTools); + public const string FabricAssetLibrary = nameof(FabricAssetLibrary); + public const string FabricChannelFolder = nameof(FabricChannelFolder); + public const string FabricDataConnectionLibrary = nameof(FabricDataConnectionLibrary); + public const string FabricDocLibrary = nameof(FabricDocLibrary); + public const string FabricFolder = nameof(FabricFolder); + public const string FabricFolderConfirm = nameof(FabricFolderConfirm); + public const string FabricFolderFill = nameof(FabricFolderFill); + public const string FabricFolderLink = nameof(FabricFolderLink); + public const string FabricFolderSearch = nameof(FabricFolderSearch); + public const string FabricFolderUpload = nameof(FabricFolderUpload); + public const string FabricFormLibrary = nameof(FabricFormLibrary); + public const string FabricFormLibraryMirrored = nameof(FabricFormLibraryMirrored); + public const string FabricMoveToFolder = nameof(FabricMoveToFolder); + public const string FabricNetworkFolder = nameof(FabricNetworkFolder); + public const string FabricNewFolder = nameof(FabricNewFolder); + public const string FabricOpenFolderHorizontal = nameof(FabricOpenFolderHorizontal); + public const string FabricPictureLibrary = nameof(FabricPictureLibrary); + public const string FabricPublicFolder = nameof(FabricPublicFolder); + public const string FabricReportLibrary = nameof(FabricReportLibrary); + public const string FabricReportLibraryMirrored = nameof(FabricReportLibraryMirrored); + public const string FabricSyncFolder = nameof(FabricSyncFolder); + public const string FabricTextHighlight = nameof(FabricTextHighlight); + public const string FabricTextHighlightComposite = nameof(FabricTextHighlightComposite); + public const string FabricUnsyncFolder = nameof(FabricUnsyncFolder); + public const string FabricUserFolder = nameof(FabricUserFolder); + public const string Factory = nameof(Factory); + public const string Family = nameof(Family); + public const string FangBody = nameof(FangBody); + public const string FastForward = nameof(FastForward); + public const string FastForwardEightX = nameof(FastForwardEightX); + public const string FastForwardFourX = nameof(FastForwardFourX); + public const string FastForwardOneFiveX = nameof(FastForwardOneFiveX); + public const string FastForwardOneX = nameof(FastForwardOneX); + public const string FastForwardPointFiveX = nameof(FastForwardPointFiveX); + public const string FastForwardTwoX = nameof(FastForwardTwoX); + public const string FastMode = nameof(FastMode); + public const string Favicon = nameof(Favicon); + public const string FavoriteBlock = nameof(FavoriteBlock); + public const string FavoriteList = nameof(FavoriteList); + public const string FavoriteStar = nameof(FavoriteStar); + public const string FavoriteStarFill = nameof(FavoriteStarFill); + public const string Fax = nameof(Fax); + public const string Feedback = nameof(Feedback); + public const string FeedbackRequestMirroredSolid = nameof(FeedbackRequestMirroredSolid); + public const string FeedbackRequestSolid = nameof(FeedbackRequestSolid); + public const string FeedbackResponseSolid = nameof(FeedbackResponseSolid); + public const string Ferry = nameof(Ferry); + public const string FerrySolid = nameof(FerrySolid); + public const string FieldChanged = nameof(FieldChanged); + public const string FieldEmpty = nameof(FieldEmpty); + public const string FieldFilled = nameof(FieldFilled); + public const string FieldNotChanged = nameof(FieldNotChanged); + public const string FieldReadOnly = nameof(FieldReadOnly); + public const string FieldRequired = nameof(FieldRequired); + public const string FileASPX = nameof(FileASPX); + public const string FileBug = nameof(FileBug); + public const string FileCode = nameof(FileCode); + public const string FileComment = nameof(FileComment); + public const string FileCSS = nameof(FileCSS); + public const string FileHTML = nameof(FileHTML); + public const string FileImage = nameof(FileImage); + public const string FileJAVA = nameof(FileJAVA); + public const string FileLess = nameof(FileLess); + public const string FileOff = nameof(FileOff); + public const string FilePDB = nameof(FilePDB); + public const string FileRequest = nameof(FileRequest); + public const string FileSass = nameof(FileSass); + public const string FileSQL = nameof(FileSQL); + public const string FileSymlink = nameof(FileSymlink); + public const string FileSystem = nameof(FileSystem); + public const string FileTemplate = nameof(FileTemplate); + public const string FileTypeSolution = nameof(FileTypeSolution); + public const string FileYML = nameof(FileYML); + public const string Filter = nameof(Filter); + public const string FilterAscending = nameof(FilterAscending); + public const string FilterDescending = nameof(FilterDescending); + public const string Filters = nameof(Filters); + public const string FilterSettings = nameof(FilterSettings); + public const string FilterSolid = nameof(FilterSolid); + public const string FiltersSolid = nameof(FiltersSolid); + public const string Financial = nameof(Financial); + public const string FinancialMirroredSolid = nameof(FinancialMirroredSolid); + public const string FinancialSolid = nameof(FinancialSolid); + public const string Fingerprint = nameof(Fingerprint); + public const string FitPage = nameof(FitPage); + public const string FitWidth = nameof(FitWidth); + public const string FiveTileGrid = nameof(FiveTileGrid); + public const string FixedAssetManagement = nameof(FixedAssetManagement); + public const string FixedColumnWidth = nameof(FixedColumnWidth); + public const string Flag = nameof(Flag); + public const string FlameSolid = nameof(FlameSolid); + public const string FlashAuto = nameof(FlashAuto); + public const string Flashlight = nameof(Flashlight); + public const string FlashOff = nameof(FlashOff); + public const string FlickDown = nameof(FlickDown); + public const string FlickLeft = nameof(FlickLeft); + public const string FlickRight = nameof(FlickRight); + public const string FlickUp = nameof(FlickUp); + public const string Flow = nameof(Flow); + public const string FlowChart = nameof(FlowChart); + public const string Flower = nameof(Flower); + public const string FlowTemplate = nameof(FlowTemplate); + public const string FlowTrigger = nameof(FlowTrigger); + public const string FluidLogo = nameof(FluidLogo); + public const string FocalPoint = nameof(FocalPoint); + public const string Focus = nameof(Focus); + public const string FocusView = nameof(FocusView); + public const string Fog = nameof(Fog); + public const string Folder = nameof(Folder); + public const string FolderFill = nameof(FolderFill); + public const string FolderHorizontal = nameof(FolderHorizontal); + public const string FolderList = nameof(FolderList); + public const string FolderListMirrored = nameof(FolderListMirrored); + public const string FolderOpen = nameof(FolderOpen); + public const string FolderQuery = nameof(FolderQuery); + public const string FolderSearch = nameof(FolderSearch); + public const string FollowUser = nameof(FollowUser); + public const string Font = nameof(Font); + public const string FontColor = nameof(FontColor); + public const string FontColorA = nameof(FontColorA); + public const string FontColorKorean = nameof(FontColorKorean); + public const string FontColorSwatch = nameof(FontColorSwatch); + public const string FontDecrease = nameof(FontDecrease); + public const string FontIncrease = nameof(FontIncrease); + public const string FontSize = nameof(FontSize); + public const string FontSize2 = nameof(FontSize2); + public const string FontStyleKorean = nameof(FontStyleKorean); + public const string Footer = nameof(Footer); + public const string FormatPainter = nameof(FormatPainter); + public const string FormLibrary = nameof(FormLibrary); + public const string FormLibraryMirrored = nameof(FormLibraryMirrored); + public const string FormProcessing = nameof(FormProcessing); + public const string Forum = nameof(Forum); + public const string Forward = nameof(Forward); + public const string ForwardEvent = nameof(ForwardEvent); + public const string Freezing = nameof(Freezing); + public const string FreezingRain = nameof(FreezingRain); + public const string Frigid = nameof(Frigid); + public const string FrontCamera = nameof(FrontCamera); + public const string FSharp = nameof(FSharp); + public const string FSharpLanguage = nameof(FSharpLanguage); + public const string FullCircleMask = nameof(FullCircleMask); + public const string FullHistory = nameof(FullHistory); + public const string FullScreen = nameof(FullScreen); + public const string FullView = nameof(FullView); + public const string FullWidth = nameof(FullWidth); + public const string FullWidthEdit = nameof(FullWidthEdit); + public const string FunctionalManagerDashboard = nameof(FunctionalManagerDashboard); + public const string FunnelChart = nameof(FunnelChart); + public const string GallatinLogo = nameof(GallatinLogo); + public const string Game = nameof(Game); + public const string Gather = nameof(Gather); + public const string Generate = nameof(Generate); + public const string GenericScan = nameof(GenericScan); + public const string GenericScanFilled = nameof(GenericScanFilled); + public const string GIF = nameof(GIF); + public const string Giftbox = nameof(Giftbox); + public const string GiftboxOpen = nameof(GiftboxOpen); + public const string GiftBoxSolid = nameof(GiftBoxSolid); + public const string GiftCard = nameof(GiftCard); + public const string GitGraph = nameof(GitGraph); + public const string Glasses = nameof(Glasses); + public const string Glimmer = nameof(Glimmer); + public const string GlobalNavButton = nameof(GlobalNavButton); + public const string GlobalNavButtonActive = nameof(GlobalNavButtonActive); + public const string Globe = nameof(Globe); + public const string Globe2 = nameof(Globe2); + public const string GlobeFavorite = nameof(GlobeFavorite); + public const string Go = nameof(Go); + public const string Golf = nameof(Golf); + public const string GoMirrored = nameof(GoMirrored); + public const string GoToDashboard = nameof(GoToDashboard); + public const string GotoToday = nameof(GotoToday); + public const string GraphSymbol = nameof(GraphSymbol); + public const string GreetingCard = nameof(GreetingCard); + public const string GridViewLarge = nameof(GridViewLarge); + public const string GridViewMedium = nameof(GridViewMedium); + public const string GridViewSmall = nameof(GridViewSmall); + public const string GripperBarHorizontal = nameof(GripperBarHorizontal); + public const string GripperBarVertical = nameof(GripperBarVertical); + public const string GripperDotsVertical = nameof(GripperDotsVertical); + public const string GripperTool = nameof(GripperTool); + public const string Group = nameof(Group); + public const string GroupedAscending = nameof(GroupedAscending); + public const string GroupedDescending = nameof(GroupedDescending); + public const string GroupedList = nameof(GroupedList); + public const string GroupList = nameof(GroupList); + public const string GroupObject = nameof(GroupObject); + public const string GroupRemove = nameof(GroupRemove); + public const string GUID = nameof(GUID); + public const string Guitar = nameof(Guitar); + public const string HailDay = nameof(HailDay); + public const string HailNight = nameof(HailNight); + public const string HalfAlpha = nameof(HalfAlpha); + public const string HalfCircle = nameof(HalfCircle); + public const string HandsFree = nameof(HandsFree); + public const string Handwriting = nameof(Handwriting); + public const string HardDrive = nameof(HardDrive); + public const string HardDriveGroup = nameof(HardDriveGroup); + public const string HardDriveLock = nameof(HardDriveLock); + public const string HardDriveUnlock = nameof(HardDriveUnlock); + public const string HazyDay = nameof(HazyDay); + public const string HazyNight = nameof(HazyNight); + public const string Header = nameof(Header); + public const string Header1 = nameof(Header1); + public const string Header2 = nameof(Header2); + public const string Header3 = nameof(Header3); + public const string Header4 = nameof(Header4); + public const string Headset = nameof(Headset); + public const string HeadsetSolid = nameof(HeadsetSolid); + public const string Health = nameof(Health); + public const string HealthRefresh = nameof(HealthRefresh); + public const string HealthSolid = nameof(HealthSolid); + public const string Heart = nameof(Heart); + public const string HeartBroken = nameof(HeartBroken); + public const string HeartFill = nameof(HeartFill); + public const string Help = nameof(Help); + public const string HelpMirrored = nameof(HelpMirrored); + public const string HexaditeInvestigation = nameof(HexaditeInvestigation); + public const string HexaditeInvestigationCancel = nameof(HexaditeInvestigationCancel); + public const string HexaditeInvestigationSemiAuto = nameof(HexaditeInvestigationSemiAuto); + public const string Hexagon = nameof(Hexagon); + public const string Hide = nameof(Hide); + public const string Hide2 = nameof(Hide2); + public const string Hide3 = nameof(Hide3); + public const string HideVisualFilter = nameof(HideVisualFilter); + public const string Highlight = nameof(Highlight); + public const string HighlightMappedShapes = nameof(HighlightMappedShapes); + public const string HintText = nameof(HintText); + public const string HistoricalWeather = nameof(HistoricalWeather); + public const string History = nameof(History); + public const string Home = nameof(Home); + public const string HomeDropdown = nameof(HomeDropdown); + public const string HomeGroup = nameof(HomeGroup); + public const string HomeSolid = nameof(HomeSolid); + public const string HomeVerify = nameof(HomeVerify); + public const string HorizontalDistributeCenter = nameof(HorizontalDistributeCenter); + public const string HorizontalTabKey = nameof(HorizontalTabKey); + public const string Hospital = nameof(Hospital); + public const string Hot = nameof(Hot); + public const string Hotel = nameof(Hotel); + public const string HourGlass = nameof(HourGlass); + public const string Ice = nameof(Ice); + public const string IconSetsFlag = nameof(IconSetsFlag); + public const string IDBadge = nameof(IDBadge); + public const string IgnoreConversation = nameof(IgnoreConversation); + public const string ImageCrosshair = nameof(ImageCrosshair); + public const string ImageDiff = nameof(ImageDiff); + public const string ImageInAR = nameof(ImageInAR); + public const string ImagePixel = nameof(ImagePixel); + public const string ImageSearch = nameof(ImageSearch); + public const string Import = nameof(Import); + public const string ImportAllMirrored = nameof(ImportAllMirrored); + public const string Important = nameof(Important); + public const string ImportMirrored = nameof(ImportMirrored); + public const string Inbox = nameof(Inbox); + public const string InboxActive = nameof(InboxActive); + public const string InboxCheck = nameof(InboxCheck); + public const string IncidentTriangle = nameof(IncidentTriangle); + public const string IncomingCall = nameof(IncomingCall); + public const string IncreaseIndent = nameof(IncreaseIndent); + public const string IncreaseIndentArrow = nameof(IncreaseIndentArrow); + public const string IncreaseIndentArrowMirrored = nameof(IncreaseIndentArrowMirrored); + public const string IncreaseIndentHanging = nameof(IncreaseIndentHanging); + public const string IncreaseIndentHangingMirrored = nameof(IncreaseIndentHangingMirrored); + public const string IncreaseIndentMirrored = nameof(IncreaseIndentMirrored); + public const string IncreaseIndentText = nameof(IncreaseIndentText); + public const string IncreaseIndentTextMirrored = nameof(IncreaseIndentTextMirrored); + public const string IndentFirstLine = nameof(IndentFirstLine); + public const string Info = nameof(Info); + public const string Info12 = nameof(Info12); + public const string Info2 = nameof(Info2); + public const string InformationBarriers = nameof(InformationBarriers); + public const string InfoSolid = nameof(InfoSolid); + public const string InkingTool = nameof(InkingTool); + public const string InputAddress = nameof(InputAddress); + public const string Insert = nameof(Insert); + public const string InsertColumnsLeft = nameof(InsertColumnsLeft); + public const string InsertColumnsRight = nameof(InsertColumnsRight); + public const string InsertRowsAbove = nameof(InsertRowsAbove); + public const string InsertRowsBelow = nameof(InsertRowsBelow); + public const string InsertSignatureLine = nameof(InsertSignatureLine); + public const string InsertTextBox = nameof(InsertTextBox); + public const string InsertTextBoxKorean = nameof(InsertTextBoxKorean); + public const string Insights = nameof(Insights); + public const string Installation = nameof(Installation); + public const string InstallToDrive = nameof(InstallToDrive); + public const string IntermittentCloudsDay = nameof(IntermittentCloudsDay); + public const string IntermittentCloudsNight = nameof(IntermittentCloudsNight); + public const string InternalInvestigation = nameof(InternalInvestigation); + public const string InternetSharing = nameof(InternetSharing); + public const string IntersectShape = nameof(IntersectShape); + public const string Invoice = nameof(Invoice); + public const string IOT = nameof(IOT); + public const string IoTSecure = nameof(IoTSecure); + public const string IRMForward = nameof(IRMForward); + public const string IRMForwardMirrored = nameof(IRMForwardMirrored); + public const string IRMReply = nameof(IRMReply); + public const string IRMReplyMirrored = nameof(IRMReplyMirrored); + public const string IssueSolid = nameof(IssueSolid); + public const string IssueTracking = nameof(IssueTracking); + public const string IssueTrackingMirrored = nameof(IssueTrackingMirrored); + public const string Italic = nameof(Italic); + public const string ItalicC = nameof(ItalicC); + public const string ItalicD = nameof(ItalicD); + public const string ItalicK = nameof(ItalicK); + public const string ItalicKazakh = nameof(ItalicKazakh); + public const string ItalicKorean = nameof(ItalicKorean); + public const string ItalicL = nameof(ItalicL); + public const string ItalicS = nameof(ItalicS); + public const string ItalicT = nameof(ItalicT); + public const string JavaScriptLanguage = nameof(JavaScriptLanguage); + public const string JoinOnlineMeeting = nameof(JoinOnlineMeeting); + public const string JS = nameof(JS); + public const string KaizalaLogo = nameof(KaizalaLogo); + public const string KeyboardClassic = nameof(KeyboardClassic); + public const string KeyPhraseExtraction = nameof(KeyPhraseExtraction); + public const string KnowledgeArticle = nameof(KnowledgeArticle); + public const string KnowledgeManagementApp = nameof(KnowledgeManagementApp); + public const string Label = nameof(Label); + public const string LadybugSolid = nameof(LadybugSolid); + public const string Lamp = nameof(Lamp); + public const string LandscapeOrientation = nameof(LandscapeOrientation); + public const string LaptopSecure = nameof(LaptopSecure); + public const string LaptopSelected = nameof(LaptopSelected); + public const string LargeGrid = nameof(LargeGrid); + public const string LearningApp = nameof(LearningApp); + public const string LearningTools = nameof(LearningTools); + public const string Leave = nameof(Leave); + public const string LeaveUser = nameof(LeaveUser); + public const string LeftKey = nameof(LeftKey); + public const string Library = nameof(Library); + public const string LibraryAddTo = nameof(LibraryAddTo); + public const string Lifesaver = nameof(Lifesaver); + public const string LifesaverLock = nameof(LifesaverLock); + public const string Light = nameof(Light); + public const string Lightbulb = nameof(Lightbulb); + public const string LightbulbSolid = nameof(LightbulbSolid); + public const string LightningBolt = nameof(LightningBolt); + public const string LightningBoltSolid = nameof(LightningBoltSolid); + public const string LightningSecure = nameof(LightningSecure); + public const string LightSnow = nameof(LightSnow); + public const string LightWeight = nameof(LightWeight); + public const string Like = nameof(Like); + public const string LikeSolid = nameof(LikeSolid); + public const string Line = nameof(Line); + public const string LineChart = nameof(LineChart); + public const string LineSpacing = nameof(LineSpacing); + public const string LineStyle = nameof(LineStyle); + public const string LineThickness = nameof(LineThickness); + public const string Link = nameof(Link); + public const string Link12 = nameof(Link12); + public const string LinkedDatabase = nameof(LinkedDatabase); + public const string LinkedInLogo = nameof(LinkedInLogo); + public const string List = nameof(List); + public const string ListMirrored = nameof(ListMirrored); + public const string LiveSite = nameof(LiveSite); + public const string LocalAdmin = nameof(LocalAdmin); + public const string LocaleLanguage = nameof(LocaleLanguage); + public const string Location = nameof(Location); + public const string LocationCircle = nameof(LocationCircle); + public const string LocationDot = nameof(LocationDot); + public const string LocationFill = nameof(LocationFill); + public const string LocationOutline = nameof(LocationOutline); + public const string Lock = nameof(Lock); + public const string Lock12 = nameof(Lock12); + public const string LockShare = nameof(LockShare); + public const string LockSolid = nameof(LockSolid); + public const string LogRemove = nameof(LogRemove); + public const string LookupEntities = nameof(LookupEntities); + public const string LowerBrightness = nameof(LowerBrightness); + public const string LowerCase = nameof(LowerCase); + public const string LyncLogo = nameof(LyncLogo); + public const string M365InvoicingLogo = nameof(M365InvoicingLogo); + public const string MachineLearning = nameof(MachineLearning); + public const string Mail = nameof(Mail); + public const string MailAlert = nameof(MailAlert); + public const string MailAttached = nameof(MailAttached); + public const string MailCheck = nameof(MailCheck); + public const string MailFill = nameof(MailFill); + public const string MailForward = nameof(MailForward); + public const string MailForwardMirrored = nameof(MailForwardMirrored); + public const string MailLink = nameof(MailLink); + public const string MailLowImportance = nameof(MailLowImportance); + public const string MailOptions = nameof(MailOptions); + public const string MailPause = nameof(MailPause); + public const string MailReminder = nameof(MailReminder); + public const string MailRepeat = nameof(MailRepeat); + public const string MailReply = nameof(MailReply); + public const string MailReplyAll = nameof(MailReplyAll); + public const string MailReplyAllMirrored = nameof(MailReplyAllMirrored); + public const string MailReplyMirrored = nameof(MailReplyMirrored); + public const string MailSchedule = nameof(MailSchedule); + public const string MailSecure = nameof(MailSecure); + public const string MailSolid = nameof(MailSolid); + public const string MailTentative = nameof(MailTentative); + public const string MailTentativeMirrored = nameof(MailTentativeMirrored); + public const string MailUndelivered = nameof(MailUndelivered); + public const string ManagerSelfService = nameof(ManagerSelfService); + public const string Manufacturing = nameof(Manufacturing); + public const string MapDirections = nameof(MapDirections); + public const string MapLayers = nameof(MapLayers); + public const string MapPin = nameof(MapPin); + public const string MapPin12 = nameof(MapPin12); + public const string MapPinSolid = nameof(MapPinSolid); + public const string MarkAsProtected = nameof(MarkAsProtected); + public const string MarkDownLanguage = nameof(MarkDownLanguage); + public const string Market = nameof(Market); + public const string MarketDown = nameof(MarketDown); + public const string MasterDatabase = nameof(MasterDatabase); + public const string MaximumValue = nameof(MaximumValue); + public const string Medal = nameof(Medal); + public const string MedalSolid = nameof(MedalSolid); + public const string Media = nameof(Media); + public const string MediaAdd = nameof(MediaAdd); + public const string Medical = nameof(Medical); + public const string MedicalCare = nameof(MedicalCare); + public const string MedicationAdmin = nameof(MedicationAdmin); + public const string MedicationRequest = nameof(MedicationRequest); + public const string Megaphone = nameof(Megaphone); + public const string MegaphoneSolid = nameof(MegaphoneSolid); + public const string Memo = nameof(Memo); + public const string Merge = nameof(Merge); + public const string MergeCase = nameof(MergeCase); + public const string MergeDuplicate = nameof(MergeDuplicate); + public const string Message = nameof(Message); + public const string MessageFill = nameof(MessageFill); + public const string MessageFriendRequest = nameof(MessageFriendRequest); + public const string MetricsFailure = nameof(MetricsFailure); + public const string MetricsInstall = nameof(MetricsInstall); + public const string MetricsUsage = nameof(MetricsUsage); + public const string MicOff = nameof(MicOff); + public const string MicOff2 = nameof(MicOff2); + public const string Microphone = nameof(Microphone); + public const string MicrosoftStaffHubLogo = nameof(MicrosoftStaffHubLogo); + public const string MicrosoftTranslatorLogo = nameof(MicrosoftTranslatorLogo); + public const string MicrosoftTranslatorLogoBlue = nameof(MicrosoftTranslatorLogoBlue); + public const string MicrosoftTranslatorLogoGreen = nameof(MicrosoftTranslatorLogoGreen); + public const string MiniContract = nameof(MiniContract); + public const string MiniContractMirrored = nameof(MiniContractMirrored); + public const string MiniExpand = nameof(MiniExpand); + public const string MiniExpandMirrored = nameof(MiniExpandMirrored); + public const string MiniLink = nameof(MiniLink); + public const string MinimumValue = nameof(MinimumValue); + public const string MobileAngled = nameof(MobileAngled); + public const string MobileReport = nameof(MobileReport); + public const string MobileSelected = nameof(MobileSelected); + public const string ModelAppTemplate32 = nameof(ModelAppTemplate32); + public const string ModelingView = nameof(ModelingView); + public const string Money = nameof(Money); + public const string More = nameof(More); + public const string MoreSports = nameof(MoreSports); + public const string MoreVertical = nameof(MoreVertical); + public const string MostlyClearNight = nameof(MostlyClearNight); + public const string MostlyCloudyFlurriesDay = nameof(MostlyCloudyFlurriesDay); + public const string MostlyCloudyFlurriesNight = nameof(MostlyCloudyFlurriesNight); + public const string MostlyCloudyShowersDay = nameof(MostlyCloudyShowersDay); + public const string MostlyCloudyTStormsDay = nameof(MostlyCloudyTStormsDay); + public const string MostlyCloudyTStormsNight = nameof(MostlyCloudyTStormsNight); + public const string MostlySunnyDay = nameof(MostlySunnyDay); + public const string MountainClimbing = nameof(MountainClimbing); + public const string Move = nameof(Move); + public const string Movers = nameof(Movers); + public const string MoveToFolder = nameof(MoveToFolder); + public const string MSListsConnected = nameof(MSListsConnected); + public const string MSNLogo = nameof(MSNLogo); + public const string MSNVideos = nameof(MSNVideos); + public const string MSNVideosSolid = nameof(MSNVideosSolid); + public const string MSNVolume = nameof(MSNVolume); + public const string MultiSelect = nameof(MultiSelect); + public const string MultiSelectMirrored = nameof(MultiSelectMirrored); + public const string MusicInCollection = nameof(MusicInCollection); + public const string MusicInCollectionFill = nameof(MusicInCollectionFill); + public const string MusicNote = nameof(MusicNote); + public const string MuteChat = nameof(MuteChat); + public const string MyMoviesTV = nameof(MyMoviesTV); + public const string MyNetwork = nameof(MyNetwork); + public const string Nav2DMapView = nameof(Nav2DMapView); + public const string NavigateBack = nameof(NavigateBack); + public const string NavigateBackMirrored = nameof(NavigateBackMirrored); + public const string NavigateExternalInline = nameof(NavigateExternalInline); + public const string NavigateForward = nameof(NavigateForward); + public const string NavigateForwardMirrored = nameof(NavigateForwardMirrored); + public const string NavigationFlipper = nameof(NavigationFlipper); + public const string NetworkDeviceScanning = nameof(NetworkDeviceScanning); + public const string NetworkTower = nameof(NetworkTower); + public const string NewAnalyticsQuery = nameof(NewAnalyticsQuery); + public const string NewFolder = nameof(NewFolder); + public const string NewMail = nameof(NewMail); + public const string News = nameof(News); + public const string NewsSearch = nameof(NewsSearch); + public const string NewTeamProject = nameof(NewTeamProject); + public const string Next = nameof(Next); + public const string NormalWeight = nameof(NormalWeight); + public const string NoteForward = nameof(NoteForward); + public const string NotePinned = nameof(NotePinned); + public const string NoteReply = nameof(NoteReply); + public const string NotExecuted = nameof(NotExecuted); + public const string NotImpactedSolid = nameof(NotImpactedSolid); + public const string NugetLogo = nameof(NugetLogo); + public const string NUIFace = nameof(NUIFace); + public const string Number = nameof(Number); + public const string NumberedList = nameof(NumberedList); + public const string NumberedListMirrored = nameof(NumberedListMirrored); + public const string NumberedListNumber = nameof(NumberedListNumber); + public const string NumberedListNumberMirrored = nameof(NumberedListNumberMirrored); + public const string NumberedListText = nameof(NumberedListText); + public const string NumberedListTextMirrored = nameof(NumberedListTextMirrored); + public const string NumberField = nameof(NumberField); + public const string NumberSequence = nameof(NumberSequence); + public const string NumberSymbol = nameof(NumberSymbol); + public const string Oauth = nameof(Oauth); + public const string ObjectRecognition = nameof(ObjectRecognition); + public const string Octagon = nameof(Octagon); + public const string ODLink = nameof(ODLink); + public const string ODLink12 = nameof(ODLink12); + public const string ODSharedChannel = nameof(ODSharedChannel); + public const string ODSharedChannel12 = nameof(ODSharedChannel12); + public const string OEM = nameof(OEM); + public const string OfficeAddinsLogo = nameof(OfficeAddinsLogo); + public const string OfficeAssistantLogo = nameof(OfficeAssistantLogo); + public const string OfficeCatchUp = nameof(OfficeCatchUp); + public const string OfficeChat = nameof(OfficeChat); + public const string OfficeChatSolid = nameof(OfficeChatSolid); + public const string OfficeFormsLogo = nameof(OfficeFormsLogo); + public const string OfficeFormsLogo16 = nameof(OfficeFormsLogo16); + public const string OfficeFormsLogo24 = nameof(OfficeFormsLogo24); + public const string OfficeFormsLogoInverse = nameof(OfficeFormsLogoInverse); + public const string OfficeFormsLogoInverse16 = nameof(OfficeFormsLogoInverse16); + public const string OfficeFormsLogoInverse24 = nameof(OfficeFormsLogoInverse24); + public const string OfficeLogo = nameof(OfficeLogo); + public const string OfficeStoreLogo = nameof(OfficeStoreLogo); + public const string OfficeVideoLogo = nameof(OfficeVideoLogo); + public const string OfficeVideoLogoFill = nameof(OfficeVideoLogoFill); + public const string OfficeVideoLogoInverse = nameof(OfficeVideoLogoInverse); + public const string OfflineOneDriveParachute = nameof(OfflineOneDriveParachute); + public const string OfflineOneDriveParachuteDisabled = nameof(OfflineOneDriveParachuteDisabled); + public const string OfflineStorage = nameof(OfflineStorage); + public const string OfflineStorageSolid = nameof(OfflineStorageSolid); + public const string Onboarding = nameof(Onboarding); + public const string OneDriveAdd = nameof(OneDriveAdd); + public const string OneDriveFolder16 = nameof(OneDriveFolder16); + public const string OneDriveLogo = nameof(OneDriveLogo); + public const string OneNoteDocType = nameof(OneNoteDocType); + public const string OneNoteEduLogoInverse = nameof(OneNoteEduLogoInverse); + public const string OneNoteLogo = nameof(OneNoteLogo); + public const string OneNoteLogo16 = nameof(OneNoteLogo16); + public const string OneNoteLogoInverse = nameof(OneNoteLogoInverse); + public const string OneNoteLogoInverse16 = nameof(OneNoteLogoInverse16); + public const string OpenEnrollment = nameof(OpenEnrollment); + public const string OpenFile = nameof(OpenFile); + public const string OpenFolderHorizontal = nameof(OpenFolderHorizontal); + public const string OpenInNewTab = nameof(OpenInNewTab); + public const string OpenInNewWindow = nameof(OpenInNewWindow); + public const string OpenPane = nameof(OpenPane); + public const string OpenPaneMirrored = nameof(OpenPaneMirrored); + public const string OpenSource = nameof(OpenSource); + public const string OpenWith = nameof(OpenWith); + public const string OpenWithMirrored = nameof(OpenWithMirrored); + public const string Opportunities = nameof(Opportunities); + public const string OrderLock = nameof(OrderLock); + public const string Org = nameof(Org); + public const string Orientation = nameof(Orientation); + public const string Orientation2 = nameof(Orientation2); + public const string OutlookLogo = nameof(OutlookLogo); + public const string OutlookLogo16 = nameof(OutlookLogo16); + public const string OutlookLogoInverse = nameof(OutlookLogoInverse); + public const string OutlookLogoInverse16 = nameof(OutlookLogoInverse16); + public const string OutlookSpacesBucket = nameof(OutlookSpacesBucket); + public const string OutOfOffice = nameof(OutOfOffice); + public const string PAAction = nameof(PAAction); + public const string Package = nameof(Package); + public const string Packages = nameof(Packages); + public const string Padding = nameof(Padding); + public const string PaddingBottom = nameof(PaddingBottom); + public const string PaddingLeft = nameof(PaddingLeft); + public const string PaddingRight = nameof(PaddingRight); + public const string PaddingTop = nameof(PaddingTop); + public const string Page = nameof(Page); + public const string PageAdd = nameof(PageAdd); + public const string PageArrowRight = nameof(PageArrowRight); + public const string PageBlock = nameof(PageBlock); + public const string PageCheckedIn = nameof(PageCheckedIn); + public const string PageCheckedOut = nameof(PageCheckedOut); + public const string PageData = nameof(PageData); + public const string PageEdit = nameof(PageEdit); + public const string PageHeader = nameof(PageHeader); + public const string PageHeaderEdit = nameof(PageHeaderEdit); + public const string PageLeft = nameof(PageLeft); + public const string PageLink = nameof(PageLink); + public const string PageList = nameof(PageList); + public const string PageListFilter = nameof(PageListFilter); + public const string PageListMirroredSolid = nameof(PageListMirroredSolid); + public const string PageListSolid = nameof(PageListSolid); + public const string PageLock = nameof(PageLock); + public const string PagePermission = nameof(PagePermission); + public const string PageRemove = nameof(PageRemove); + public const string PageRight = nameof(PageRight); + public const string PageShared = nameof(PageShared); + public const string PageSolid = nameof(PageSolid); + public const string PanoIndicator = nameof(PanoIndicator); + public const string Parachute = nameof(Parachute); + public const string ParachuteSolid = nameof(ParachuteSolid); + public const string Parameter = nameof(Parameter); + public const string ParkingLocation = nameof(ParkingLocation); + public const string ParkingLocationMirrored = nameof(ParkingLocationMirrored); + public const string ParkingMirroredSolid = nameof(ParkingMirroredSolid); + public const string ParkingSolid = nameof(ParkingSolid); + public const string PartlyClearNight = nameof(PartlyClearNight); + public const string PartlyCloudyDay = nameof(PartlyCloudyDay); + public const string PartlyCloudyNight = nameof(PartlyCloudyNight); + public const string PartlySunnyDay = nameof(PartlySunnyDay); + public const string PartlySunnyFlurriesDay = nameof(PartlySunnyFlurriesDay); + public const string PartlySunnyShowersDay = nameof(PartlySunnyShowersDay); + public const string PartlySunnyShowersNight = nameof(PartlySunnyShowersNight); + public const string PartlySunnyTStormsDay = nameof(PartlySunnyTStormsDay); + public const string PartlySunnyTStormsNight = nameof(PartlySunnyTStormsNight); + public const string PartyLeader = nameof(PartyLeader); + public const string PassiveAuthentication = nameof(PassiveAuthentication); + public const string PasswordField = nameof(PasswordField); + public const string Paste = nameof(Paste); + public const string PasteAsCode = nameof(PasteAsCode); + public const string PasteAsText = nameof(PasteAsText); + public const string Pause = nameof(Pause); + public const string PaymentCard = nameof(PaymentCard); + public const string PBIAnomaliesMarker = nameof(PBIAnomaliesMarker); + public const string PBIAnomaly = nameof(PBIAnomaly); + public const string PBIColumn = nameof(PBIColumn); + public const string PBIConnectPoints = nameof(PBIConnectPoints); + public const string PBIDirectQuery = nameof(PBIDirectQuery); + public const string PBIDual = nameof(PBIDual); + public const string PBIGap = nameof(PBIGap); + public const string PBIGoalEntry = nameof(PBIGoalEntry); + public const string PBIGoalEntryAdd = nameof(PBIGoalEntryAdd); + public const string PBIHomeLayoutDefault = nameof(PBIHomeLayoutDefault); + public const string PBIHomeLayoutExpanded = nameof(PBIHomeLayoutExpanded); + public const string PBIImport = nameof(PBIImport); + public const string PBILiveConnect = nameof(PBILiveConnect); + public const string PBIPerspective = nameof(PBIPerspective); + public const string PBIReportTemplate = nameof(PBIReportTemplate); + public const string PBIZero = nameof(PBIZero); + public const string PC1 = nameof(PC1); + public const string PDF = nameof(PDF); + public const string PencilReply = nameof(PencilReply); + public const string Pentagon = nameof(Pentagon); + public const string PenWorkspace = nameof(PenWorkspace); + public const string People = nameof(People); + public const string PeopleAdd = nameof(PeopleAdd); + public const string PeopleAlert = nameof(PeopleAlert); + public const string PeopleBlock = nameof(PeopleBlock); + public const string PeopleExternalShare = nameof(PeopleExternalShare); + public const string PeoplePause = nameof(PeoplePause); + public const string PeopleRepeat = nameof(PeopleRepeat); + public const string PeopleSettings = nameof(PeopleSettings); + public const string Permissions = nameof(Permissions); + public const string PermissionsSolid = nameof(PermissionsSolid); + public const string Personalize = nameof(Personalize); + public const string Phishing = nameof(Phishing); + public const string PhishingCampaign = nameof(PhishingCampaign); + public const string PhishingHook = nameof(PhishingHook); + public const string Phone = nameof(Phone); + public const string Photo = nameof(Photo); + public const string Photo2 = nameof(Photo2); + public const string Photo2Add = nameof(Photo2Add); + public const string Photo2Fill = nameof(Photo2Fill); + public const string Photo2Remove = nameof(Photo2Remove); + public const string PhotoBlock = nameof(PhotoBlock); + public const string PhotoCollection = nameof(PhotoCollection); + public const string PhotoError = nameof(PhotoError); + public const string PhotoVideoMedia = nameof(PhotoVideoMedia); + public const string Picture = nameof(Picture); + public const string PictureCenter = nameof(PictureCenter); + public const string PictureFill = nameof(PictureFill); + public const string PictureLibrary = nameof(PictureLibrary); + public const string PicturePosition = nameof(PicturePosition); + public const string PictureStretch = nameof(PictureStretch); + public const string PictureTile = nameof(PictureTile); + public const string PieDouble = nameof(PieDouble); + public const string PieSingle = nameof(PieSingle); + public const string PieSingleSolid = nameof(PieSingleSolid); + public const string Pill = nameof(Pill); + public const string Pin = nameof(Pin); + public const string PinNavMenu = nameof(PinNavMenu); + public const string Pinned = nameof(Pinned); + public const string PinnedFill = nameof(PinnedFill); + public const string PinnedSolid = nameof(PinnedSolid); + public const string PinOff = nameof(PinOff); + public const string PinOffSolid = nameof(PinOffSolid); + public const string PinSolid = nameof(PinSolid); + public const string PinSolid12 = nameof(PinSolid12); + public const string PinSolidOff12 = nameof(PinSolidOff12); + public const string PinToTab = nameof(PinToTab); + public const string PivotChart = nameof(PivotChart); + public const string PlainText = nameof(PlainText); + public const string PlannerLogo = nameof(PlannerLogo); + public const string PlanView = nameof(PlanView); + public const string Play = nameof(Play); + public const string PlaybackRate1x = nameof(PlaybackRate1x); + public const string PlayerSettings = nameof(PlayerSettings); + public const string PlaylistMusic = nameof(PlaylistMusic); + public const string PlayResume = nameof(PlayResume); + public const string PlayReverse = nameof(PlayReverse); + public const string PlayReverseResume = nameof(PlayReverseResume); + public const string PlaySolid = nameof(PlaySolid); + public const string Plug = nameof(Plug); + public const string PlugConnected = nameof(PlugConnected); + public const string PlugDisconnected = nameof(PlugDisconnected); + public const string PlugSolid = nameof(PlugSolid); + public const string POI = nameof(POI); + public const string POISolid = nameof(POISolid); + public const string PollResults = nameof(PollResults); + public const string PopExpand = nameof(PopExpand); + public const string PortalAppTemplate32 = nameof(PortalAppTemplate32); + public const string PostUpdate = nameof(PostUpdate); + public const string PowerApps = nameof(PowerApps); + public const string PowerApps2Logo = nameof(PowerApps2Logo); + public const string PowerAppsLogo = nameof(PowerAppsLogo); + public const string PowerAppsTemplate = nameof(PowerAppsTemplate); + public const string PowerAutomateLogo = nameof(PowerAutomateLogo); + public const string PowerBILogo = nameof(PowerBILogo); + public const string PowerBILogo16 = nameof(PowerBILogo16); + public const string PowerBILogoBackplate16 = nameof(PowerBILogoBackplate16); + public const string PowerButton = nameof(PowerButton); + public const string PowerPointDocument = nameof(PowerPointDocument); + public const string PowerPointLogo = nameof(PowerPointLogo); + public const string PowerPointLogo16 = nameof(PowerPointLogo16); + public const string PowerPointLogoInverse = nameof(PowerPointLogoInverse); + public const string PowerPointLogoInverse16 = nameof(PowerPointLogoInverse16); + public const string PowerShell = nameof(PowerShell); + public const string PowerShell2 = nameof(PowerShell2); + public const string PowerStandby = nameof(PowerStandby); + public const string PowerVirtualAgentsLogo = nameof(PowerVirtualAgentsLogo); + public const string Precipitation = nameof(Precipitation); + public const string PresenceChickletVideo = nameof(PresenceChickletVideo); + public const string Presentation = nameof(Presentation); + public const string Presentation12 = nameof(Presentation12); + public const string Preview = nameof(Preview); + public const string PreviewBelow = nameof(PreviewBelow); + public const string PreviewLink = nameof(PreviewLink); + public const string PreviewSideBySide = nameof(PreviewSideBySide); + public const string Previous = nameof(Previous); + public const string PrimaryCalendar = nameof(PrimaryCalendar); + public const string Print = nameof(Print); + public const string PrintFaxPrinterFile = nameof(PrintFaxPrinterFile); + public const string Priority = nameof(Priority); + public const string Process = nameof(Process); + public const string ProcessAdvisor = nameof(ProcessAdvisor); + public const string Processing = nameof(Processing); + public const string ProcessingCancel = nameof(ProcessingCancel); + public const string ProcessingPause = nameof(ProcessingPause); + public const string ProcessingRun = nameof(ProcessingRun); + public const string ProcessMap = nameof(ProcessMap); + public const string ProcessMetaTask = nameof(ProcessMetaTask); + public const string Product = nameof(Product); + public const string ProductCatalog = nameof(ProductCatalog); + public const string ProductionFloorManagement = nameof(ProductionFloorManagement); + public const string ProductList = nameof(ProductList); + public const string ProductRelease = nameof(ProductRelease); + public const string ProductVariant = nameof(ProductVariant); + public const string ProductWarning = nameof(ProductWarning); + public const string ProfileSearch = nameof(ProfileSearch); + public const string ProFootball = nameof(ProFootball); + public const string ProgressLoopInner = nameof(ProgressLoopInner); + public const string ProgressLoopOuter = nameof(ProgressLoopOuter); + public const string ProgressRing5 = nameof(ProgressRing5); + public const string ProgressRingDots = nameof(ProgressRingDots); + public const string ProHockey = nameof(ProHockey); + public const string ProjectCollection = nameof(ProjectCollection); + public const string ProjectDocument = nameof(ProjectDocument); + public const string ProjectLogo16 = nameof(ProjectLogo16); + public const string ProjectLogo32 = nameof(ProjectLogo32); + public const string ProjectLogoInverse = nameof(ProjectLogoInverse); + public const string ProjectManagement = nameof(ProjectManagement); + public const string PromotedDatabase = nameof(PromotedDatabase); + public const string Pronouns = nameof(Pronouns); + public const string ProtectedDocument = nameof(ProtectedDocument); + public const string ProtectionCenterLogo32 = nameof(ProtectionCenterLogo32); + public const string ProtectRestrict = nameof(ProtectRestrict); + public const string ProvisioningPackage = nameof(ProvisioningPackage); + public const string PublicCalendar = nameof(PublicCalendar); + public const string PublicContactCard = nameof(PublicContactCard); + public const string PublicContactCardMirrored = nameof(PublicContactCardMirrored); + public const string PublicEmail = nameof(PublicEmail); + public const string PublicFolder = nameof(PublicFolder); + public const string PublishContent = nameof(PublishContent); + public const string PublishCourse = nameof(PublishCourse); + public const string PublisherLogo = nameof(PublisherLogo); + public const string PublisherLogo16 = nameof(PublisherLogo16); + public const string PublisherLogoInverse16 = nameof(PublisherLogoInverse16); + public const string Puzzle = nameof(Puzzle); + public const string PY = nameof(PY); + public const string PythonLanguage = nameof(PythonLanguage); + public const string QandA = nameof(QandA); + public const string QandAMirror = nameof(QandAMirror); + public const string QRCode = nameof(QRCode); + public const string QuadColumn = nameof(QuadColumn); + public const string Quantity = nameof(Quantity); + public const string QuarterCircle = nameof(QuarterCircle); + public const string QueryList = nameof(QueryList); + public const string Questionnaire = nameof(Questionnaire); + public const string QuestionnaireMirrored = nameof(QuestionnaireMirrored); + public const string QueueAdvanced = nameof(QueueAdvanced); + public const string QuickNote = nameof(QuickNote); + public const string QuickNoteSolid = nameof(QuickNoteSolid); + public const string Quotes = nameof(Quotes); + public const string R = nameof(R); + public const string RadioBtnOff = nameof(RadioBtnOff); + public const string RadioBtnOn = nameof(RadioBtnOn); + public const string RadioBullet = nameof(RadioBullet); + public const string Rain = nameof(Rain); + public const string RainShowersDay = nameof(RainShowersDay); + public const string RainShowersNight = nameof(RainShowersNight); + public const string RainSnow = nameof(RainSnow); + public const string Rate = nameof(Rate); + public const string RawSource = nameof(RawSource); + public const string Read = nameof(Read); + public const string ReadingMode = nameof(ReadingMode); + public const string ReadingModeSolid = nameof(ReadingModeSolid); + public const string ReadOutLoud = nameof(ReadOutLoud); + public const string RealEstate = nameof(RealEstate); + public const string ReceiptCheck = nameof(ReceiptCheck); + public const string ReceiptForward = nameof(ReceiptForward); + public const string ReceiptProcessing = nameof(ReceiptProcessing); + public const string ReceiptReply = nameof(ReceiptReply); + public const string ReceiptTentative = nameof(ReceiptTentative); + public const string ReceiptTentativeMirrored = nameof(ReceiptTentativeMirrored); + public const string ReceiptUndelivered = nameof(ReceiptUndelivered); + public const string Recent = nameof(Recent); + public const string Record2 = nameof(Record2); + public const string RecordRouting = nameof(RecordRouting); + public const string RecruitmentManagement = nameof(RecruitmentManagement); + public const string RectangleShape = nameof(RectangleShape); + public const string RectangleShapeSolid = nameof(RectangleShapeSolid); + public const string RectangularClipping = nameof(RectangularClipping); + public const string RecurringEvent = nameof(RecurringEvent); + public const string RecurringTask = nameof(RecurringTask); + public const string RecycleBin = nameof(RecycleBin); + public const string Redeploy = nameof(Redeploy); + public const string RedEye = nameof(RedEye); + public const string RedEye12 = nameof(RedEye12); + public const string Redo = nameof(Redo); + public const string Refresh = nameof(Refresh); + public const string RegistryEditor = nameof(RegistryEditor); + public const string Relationship = nameof(Relationship); + public const string ReleaseDefinition = nameof(ReleaseDefinition); + public const string ReleaseGate = nameof(ReleaseGate); + public const string ReleaseGateCheck = nameof(ReleaseGateCheck); + public const string ReleaseGateError = nameof(ReleaseGateError); + public const string ReminderGroup = nameof(ReminderGroup); + public const string ReminderPerson = nameof(ReminderPerson); + public const string ReminderTime = nameof(ReminderTime); + public const string Remote = nameof(Remote); + public const string RemoteApplication = nameof(RemoteApplication); + public const string Remove = nameof(Remove); + public const string RemoveContent = nameof(RemoveContent); + public const string RemoveEvent = nameof(RemoveEvent); + public const string RemoveFilter = nameof(RemoveFilter); + public const string RemoveFrom = nameof(RemoveFrom); + public const string RemoveFromShoppingList = nameof(RemoveFromShoppingList); + public const string RemoveFromTrash = nameof(RemoveFromTrash); + public const string RemoveLink = nameof(RemoveLink); + public const string RemoveLinkChain = nameof(RemoveLinkChain); + public const string RemoveLinkX = nameof(RemoveLinkX); + public const string RemoveOccurrence = nameof(RemoveOccurrence); + public const string Rename = nameof(Rename); + public const string RenewalCurrent = nameof(RenewalCurrent); + public const string RenewalFuture = nameof(RenewalFuture); + public const string ReopenPages = nameof(ReopenPages); + public const string Repair = nameof(Repair); + public const string RepeatAll = nameof(RepeatAll); + public const string RepeatHeaderRows = nameof(RepeatHeaderRows); + public const string RepeatOne = nameof(RepeatOne); + public const string Reply = nameof(Reply); + public const string ReplyAll = nameof(ReplyAll); + public const string ReplyAllAlt = nameof(ReplyAllAlt); + public const string ReplyAllMirrored = nameof(ReplyAllMirrored); + public const string ReplyAlt = nameof(ReplyAlt); + public const string ReplyMirrored = nameof(ReplyMirrored); + public const string Repo = nameof(Repo); + public const string ReportAdd = nameof(ReportAdd); + public const string ReportAlert = nameof(ReportAlert); + public const string ReportAlertMirrored = nameof(ReportAlertMirrored); + public const string ReportDocument = nameof(ReportDocument); + public const string ReportHacked = nameof(ReportHacked); + public const string ReportLibrary = nameof(ReportLibrary); + public const string ReportLibraryMirrored = nameof(ReportLibraryMirrored); + public const string ReportLock = nameof(ReportLock); + public const string ReportTrophy = nameof(ReportTrophy); + public const string ReportWarning = nameof(ReportWarning); + public const string RepoSolid = nameof(RepoSolid); + public const string Rerun = nameof(Rerun); + public const string ReservationOrders = nameof(ReservationOrders); + public const string Reset = nameof(Reset); + public const string ResetDevice = nameof(ResetDevice); + public const string ResponsesMenu = nameof(ResponsesMenu); + public const string ReturnKey = nameof(ReturnKey); + public const string ReturnToSession = nameof(ReturnToSession); + public const string RevenueManagement = nameof(RevenueManagement); + public const string ReviewRequestMirroredSolid = nameof(ReviewRequestMirroredSolid); + public const string ReviewRequestSolid = nameof(ReviewRequestSolid); + public const string ReviewResponseSolid = nameof(ReviewResponseSolid); + public const string ReviewSolid = nameof(ReviewSolid); + public const string RevToggleKey = nameof(RevToggleKey); + public const string RewardsLogo = nameof(RewardsLogo); + public const string RewardsLogoArt64 = nameof(RewardsLogoArt64); + public const string RewardsLogoSolid = nameof(RewardsLogoSolid); + public const string Rewind = nameof(Rewind); + public const string RewindEightX = nameof(RewindEightX); + public const string RewindFourX = nameof(RewindFourX); + public const string RewindOneFiveX = nameof(RewindOneFiveX); + public const string RewindOneX = nameof(RewindOneX); + public const string RewindPointFiveX = nameof(RewindPointFiveX); + public const string RewindTwoX = nameof(RewindTwoX); + public const string Ribbon = nameof(Ribbon); + public const string Ribbon2 = nameof(Ribbon2); + public const string RibbonSolid = nameof(RibbonSolid); + public const string RightDoubleQuote = nameof(RightDoubleQuote); + public const string RightKey = nameof(RightKey); + public const string RightTriangle = nameof(RightTriangle); + public const string Ringer = nameof(Ringer); + public const string RingerActive = nameof(RingerActive); + public const string RingerOff = nameof(RingerOff); + public const string RingerRemove = nameof(RingerRemove); + public const string RingerSolid = nameof(RingerSolid); + public const string Robot = nameof(Robot); + public const string Rocket = nameof(Rocket); + public const string Room = nameof(Room); + public const string Rotate = nameof(Rotate); + public const string Rotate90Clockwise = nameof(Rotate90Clockwise); + public const string Rotate90CounterClockwise = nameof(Rotate90CounterClockwise); + public const string RowsChild = nameof(RowsChild); + public const string RowsGroup = nameof(RowsGroup); + public const string RssFeed = nameof(RssFeed); + public const string Rugby = nameof(Rugby); + public const string Running = nameof(Running); + public const string Sad = nameof(Sad); + public const string SadSolid = nameof(SadSolid); + public const string SamsungGallery = nameof(SamsungGallery); + public const string Save = nameof(Save); + public const string SaveAll = nameof(SaveAll); + public const string SaveAndClose = nameof(SaveAndClose); + public const string SaveAndPublish = nameof(SaveAndPublish); + public const string SaveAs = nameof(SaveAs); + public const string SavedOffline = nameof(SavedOffline); + public const string SaveTemplate = nameof(SaveTemplate); + public const string SaveToMobile = nameof(SaveToMobile); + public const string Savings = nameof(Savings); + public const string ScaleUp = nameof(ScaleUp); + public const string ScaleVolume = nameof(ScaleVolume); + public const string ScatterChart = nameof(ScatterChart); + public const string ScheduleEventAction = nameof(ScheduleEventAction); + public const string SchoolDataSyncLogo = nameof(SchoolDataSyncLogo); + public const string ScopeTemplate = nameof(ScopeTemplate); + public const string Screen = nameof(Screen); + public const string ScreenCast = nameof(ScreenCast); + public const string ScreenPreviewOn = nameof(ScreenPreviewOn); + public const string ScreenTime = nameof(ScreenTime); + public const string Script = nameof(Script); + public const string ScrollUpDown = nameof(ScrollUpDown); + public const string SDCard = nameof(SDCard); + public const string Search = nameof(Search); + public const string SearchAndApps = nameof(SearchAndApps); + public const string SearchArt64 = nameof(SearchArt64); + public const string SearchBookmark = nameof(SearchBookmark); + public const string SearchCalendar = nameof(SearchCalendar); + public const string SearchData = nameof(SearchData); + public const string SearchIssue = nameof(SearchIssue); + public const string SearchIssueMirrored = nameof(SearchIssueMirrored); + public const string SearchNearby = nameof(SearchNearby); + public const string SecondaryNav = nameof(SecondaryNav); + public const string Section = nameof(Section); + public const string Sections = nameof(Sections); + public const string SecurityCamera = nameof(SecurityCamera); + public const string SecurityGroup = nameof(SecurityGroup); + public const string SecurityTest = nameof(SecurityTest); + public const string SeeDo = nameof(SeeDo); + public const string SelectAll = nameof(SelectAll); + public const string Sell = nameof(Sell); + public const string SemiboldWeight = nameof(SemiboldWeight); + public const string Send = nameof(Send); + public const string SendMirrored = nameof(SendMirrored); + public const string SentimentAnalysis = nameof(SentimentAnalysis); + public const string Separator = nameof(Separator); + public const string Server = nameof(Server); + public const string ServerEnvironment = nameof(ServerEnvironment); + public const string ServerProcesses = nameof(ServerProcesses); + public const string ServiceActivity = nameof(ServiceActivity); + public const string ServiceOff = nameof(ServiceOff); + public const string SetAction = nameof(SetAction); + public const string Settings = nameof(Settings); + public const string SettingsAdd = nameof(SettingsAdd); + public const string SettingsSecure = nameof(SettingsSecure); + public const string SettingsSync = nameof(SettingsSync); + public const string ShakeDevice = nameof(ShakeDevice); + public const string Shapes = nameof(Shapes); + public const string ShapeSolid = nameof(ShapeSolid); + public const string Share = nameof(Share); + public const string SharedDatabase = nameof(SharedDatabase); + public const string SharedNotes = nameof(SharedNotes); + public const string ShareiOS = nameof(ShareiOS); + public const string SharePoint2013LogoInverse = nameof(SharePoint2013LogoInverse); + public const string SharePointAppIcon16 = nameof(SharePointAppIcon16); + public const string SharePointLogo = nameof(SharePointLogo); + public const string SharePointLogoInverse = nameof(SharePointLogoInverse); + public const string Shield = nameof(Shield); + public const string ShieldAlert = nameof(ShieldAlert); + public const string ShieldSolid = nameof(ShieldSolid); + public const string Shirt = nameof(Shirt); + public const string Shop = nameof(Shop); + public const string ShopBrand = nameof(ShopBrand); + public const string ShoppingCart = nameof(ShoppingCart); + public const string ShoppingCartSolid = nameof(ShoppingCartSolid); + public const string ShopServer = nameof(ShopServer); + public const string Showers = nameof(Showers); + public const string ShowGrid = nameof(ShowGrid); + public const string ShowResults = nameof(ShowResults); + public const string ShowResultsMirrored = nameof(ShowResultsMirrored); + public const string ShowTimeAs = nameof(ShowTimeAs); + public const string ShowVisualFilter = nameof(ShowVisualFilter); + public const string SidePanel = nameof(SidePanel); + public const string SidePanelMirrored = nameof(SidePanelMirrored); + public const string Signin = nameof(Signin); + public const string SignOut = nameof(SignOut); + public const string SimplifiedView = nameof(SimplifiedView); + public const string SingleBookmark = nameof(SingleBookmark); + public const string SingleBookmarkSolid = nameof(SingleBookmarkSolid); + public const string SingleColumn = nameof(SingleColumn); + public const string SingleColumnEdit = nameof(SingleColumnEdit); + public const string SIPMove = nameof(SIPMove); + public const string SiteScan = nameof(SiteScan); + public const string SizeLegacy = nameof(SizeLegacy); + public const string SkipBack10 = nameof(SkipBack10); + public const string SkipForward30 = nameof(SkipForward30); + public const string SkiResorts = nameof(SkiResorts); + public const string SkypeArrow = nameof(SkypeArrow); + public const string SkypeCheck = nameof(SkypeCheck); + public const string SkypeCircleArrow = nameof(SkypeCircleArrow); + public const string SkypeCircleCheck = nameof(SkypeCircleCheck); + public const string SkypeCircleClock = nameof(SkypeCircleClock); + public const string SkypeCircleMinus = nameof(SkypeCircleMinus); + public const string SkypeCircleSlash = nameof(SkypeCircleSlash); + public const string SkypeClock = nameof(SkypeClock); + public const string SkypeForBusinessLogo = nameof(SkypeForBusinessLogo); + public const string SkypeForBusinessLogo16 = nameof(SkypeForBusinessLogo16); + public const string SkypeForBusinessLogoFill = nameof(SkypeForBusinessLogoFill); + public const string SkypeForBusinessLogoFill16 = nameof(SkypeForBusinessLogoFill16); + public const string SkypeLogo = nameof(SkypeLogo); + public const string SkypeLogo16 = nameof(SkypeLogo16); + public const string SkypeMessage = nameof(SkypeMessage); + public const string SkypeMinus = nameof(SkypeMinus); + public const string SkypeSlash = nameof(SkypeSlash); + public const string Sleet = nameof(Sleet); + public const string Slider = nameof(Slider); + public const string SliderHandleSize = nameof(SliderHandleSize); + public const string SliderThumb = nameof(SliderThumb); + public const string Slideshow = nameof(Slideshow); + public const string SmartGlassRemote = nameof(SmartGlassRemote); + public const string SnapToGrid = nameof(SnapToGrid); + public const string Snooze = nameof(Snooze); + public const string Snow = nameof(Snow); + public const string Snowflake = nameof(Snowflake); + public const string SnowShowerDay = nameof(SnowShowerDay); + public const string SnowShowerNight = nameof(SnowShowerNight); + public const string Soccer = nameof(Soccer); + public const string SocialListeningLogo = nameof(SocialListeningLogo); + public const string Sort = nameof(Sort); + public const string SortDown = nameof(SortDown); + public const string SortLines = nameof(SortLines); + public const string SortLinesAscending = nameof(SortLinesAscending); + public const string SortUp = nameof(SortUp); + public const string Source = nameof(Source); + public const string Spacer = nameof(Spacer); + public const string Speakers = nameof(Speakers); + public const string SpecialEvent = nameof(SpecialEvent); + public const string Speech = nameof(Speech); + public const string SpeechOff = nameof(SpeechOff); + public const string SpeedHigh = nameof(SpeedHigh); + public const string Spelling = nameof(Spelling); + public const string Split = nameof(Split); + public const string SplitObject = nameof(SplitObject); + public const string Sprint = nameof(Sprint); + public const string SQLAnalyticsPool = nameof(SQLAnalyticsPool); + public const string SQLServerLogo = nameof(SQLServerLogo); + public const string Squalls = nameof(Squalls); + public const string SquareShape = nameof(SquareShape); + public const string SquareShapeSolid = nameof(SquareShapeSolid); + public const string SslCertificate = nameof(SslCertificate); + public const string Stack = nameof(Stack); + public const string StackColumnChart = nameof(StackColumnChart); + public const string StackedBarChart = nameof(StackedBarChart); + public const string StackedBarChartFull = nameof(StackedBarChartFull); + public const string StackedBarChartFullSettings = nameof(StackedBarChartFullSettings); + public const string StackedColumnChart2 = nameof(StackedColumnChart2); + public const string StackedColumnChart2Fill = nameof(StackedColumnChart2Fill); + public const string StackedLineChart = nameof(StackedLineChart); + public const string StackIndicator = nameof(StackIndicator); + public const string StaffNotebookLogo16 = nameof(StaffNotebookLogo16); + public const string StaffNotebookLogo32 = nameof(StaffNotebookLogo32); + public const string StaffNotebookLogoFill16 = nameof(StaffNotebookLogoFill16); + public const string StaffNotebookLogoFill32 = nameof(StaffNotebookLogoFill32); + public const string StaffNotebookLogoInverted16 = nameof(StaffNotebookLogoInverted16); + public const string StaffNotebookLogoInverted32 = nameof(StaffNotebookLogoInverted32); + public const string Starburst = nameof(Starburst); + public const string StarburstSolid = nameof(StarburstSolid); + public const string StatusCircleBlock = nameof(StatusCircleBlock); + public const string StatusCircleBlock2 = nameof(StatusCircleBlock2); + public const string StatusCircleCheckmark = nameof(StatusCircleCheckmark); + public const string StatusCircleErrorX = nameof(StatusCircleErrorX); + public const string StatusCircleExclamation = nameof(StatusCircleExclamation); + public const string StatusCircleInfo = nameof(StatusCircleInfo); + public const string StatusCircleInner = nameof(StatusCircleInner); + public const string StatusCircleOuter = nameof(StatusCircleOuter); + public const string StatusCircleQuestionMark = nameof(StatusCircleQuestionMark); + public const string StatusCircleRing = nameof(StatusCircleRing); + public const string StatusCircleSync = nameof(StatusCircleSync); + public const string StatusErrorFull = nameof(StatusErrorFull); + public const string StatusTriangle = nameof(StatusTriangle); + public const string StatusTriangleExclamation = nameof(StatusTriangleExclamation); + public const string StatusTriangleInner = nameof(StatusTriangleInner); + public const string StatusTriangleOuter = nameof(StatusTriangleOuter); + public const string Step = nameof(Step); + public const string StepBackward = nameof(StepBackward); + public const string StepInsert = nameof(StepInsert); + public const string StepInto = nameof(StepInto); + public const string StepOut = nameof(StepOut); + public const string StepOver = nameof(StepOver); + public const string StepShared = nameof(StepShared); + public const string StepSharedAdd = nameof(StepSharedAdd); + public const string StepSharedInsert = nameof(StepSharedInsert); + public const string StickyNotesOutlineAppIcon = nameof(StickyNotesOutlineAppIcon); + public const string StickyNotesSolidAppIcon = nameof(StickyNotesSolidAppIcon); + public const string StockDown = nameof(StockDown); + public const string StockUp = nameof(StockUp); + public const string Stop = nameof(Stop); + public const string StopSolid = nameof(StopSolid); + public const string Stopwatch = nameof(Stopwatch); + public const string StorageAccount = nameof(StorageAccount); + public const string StorageOptical = nameof(StorageOptical); + public const string StoreLogo16 = nameof(StoreLogo16); + public const string StoreLogoMed20 = nameof(StoreLogoMed20); + public const string Storyboard = nameof(Storyboard); + public const string StreamDiscover = nameof(StreamDiscover); + public const string Streaming = nameof(Streaming); + public const string StreamingDataflow = nameof(StreamingDataflow); + public const string StreamingDataset = nameof(StreamingDataset); + public const string StreamingOff = nameof(StreamingOff); + public const string StreamLogo = nameof(StreamLogo); + public const string StreamPlaylist = nameof(StreamPlaylist); + public const string Street = nameof(Street); + public const string StreetsideSplitMinimize = nameof(StreetsideSplitMinimize); + public const string Strikethrough = nameof(Strikethrough); + public const string StrikethroughKorean = nameof(StrikethroughKorean); + public const string Subscribe = nameof(Subscribe); + public const string Subscript = nameof(Subscript); + public const string SubstitutionsIn = nameof(SubstitutionsIn); + public const string SubtractShape = nameof(SubtractShape); + public const string Suitcase = nameof(Suitcase); + public const string SummaryChart = nameof(SummaryChart); + public const string SunAdd = nameof(SunAdd); + public const string Sunny = nameof(Sunny); + public const string SunQuestionMark = nameof(SunQuestionMark); + public const string Superscript = nameof(Superscript); + public const string SurveyQuestionResponse = nameof(SurveyQuestionResponse); + public const string SurveyQuestions = nameof(SurveyQuestions); + public const string SwayLogo16 = nameof(SwayLogo16); + public const string SwayLogo32 = nameof(SwayLogo32); + public const string SwayLogoFill16 = nameof(SwayLogoFill16); + public const string SwayLogoFill32 = nameof(SwayLogoFill32); + public const string SwayLogoInverse = nameof(SwayLogoInverse); + public const string Switch = nameof(Switch); + public const string SwitcherStartEnd = nameof(SwitcherStartEnd); + public const string SwitchUser = nameof(SwitchUser); + public const string Sync = nameof(Sync); + public const string SyncError = nameof(SyncError); + public const string SyncFolder = nameof(SyncFolder); + public const string SyncOccurrence = nameof(SyncOccurrence); + public const string SyncOccurrenceCancel = nameof(SyncOccurrenceCancel); + public const string SyncStatus = nameof(SyncStatus); + public const string SyncStatusSolid = nameof(SyncStatusSolid); + public const string SyncToPC = nameof(SyncToPC); + public const string System = nameof(System); + public const string Tab = nameof(Tab); + public const string TabCenter = nameof(TabCenter); + public const string Table = nameof(Table); + public const string TableBrandedColumn = nameof(TableBrandedColumn); + public const string TableBrandedRow = nameof(TableBrandedRow); + public const string TableColumn = nameof(TableColumn); + public const string TableComputed = nameof(TableComputed); + public const string TableFirstColumn = nameof(TableFirstColumn); + public const string TableGroup = nameof(TableGroup); + public const string TableHeaderRow = nameof(TableHeaderRow); + public const string TableLastColumn = nameof(TableLastColumn); + public const string TableLink = nameof(TableLink); + public const string TablePermission = nameof(TablePermission); + public const string Tablet = nameof(Tablet); + public const string TabletMode = nameof(TabletMode); + public const string TableTotalRow = nameof(TableTotalRow); + public const string TabletSelected = nameof(TabletSelected); + public const string TabOneColumn = nameof(TabOneColumn); + public const string TabThreeColumn = nameof(TabThreeColumn); + public const string TabTwoColumn = nameof(TabTwoColumn); + public const string Tag = nameof(Tag); + public const string TagGroup = nameof(TagGroup); + public const string TagSolid = nameof(TagSolid); + public const string TagUnknown = nameof(TagUnknown); + public const string TagUnknown12 = nameof(TagUnknown12); + public const string TagUnknown12Mirror = nameof(TagUnknown12Mirror); + public const string TagUnknownMirror = nameof(TagUnknownMirror); + public const string Task = nameof(Task); + public const string TaskAdd = nameof(TaskAdd); + public const string Taskboard = nameof(Taskboard); + public const string TaskGroup = nameof(TaskGroup); + public const string TaskGroupMirrored = nameof(TaskGroupMirrored); + public const string TaskList = nameof(TaskList); + public const string TaskLogo = nameof(TaskLogo); + public const string TaskManager = nameof(TaskManager); + public const string TaskManagerMirrored = nameof(TaskManagerMirrored); + public const string TaskSolid = nameof(TaskSolid); + public const string Taxi = nameof(Taxi); + public const string TeamFavorite = nameof(TeamFavorite); + public const string TeamsLogo = nameof(TeamsLogo); + public const string TeamsLogo16 = nameof(TeamsLogo16); + public const string TeamsLogoInverse = nameof(TeamsLogoInverse); + public const string Teamwork = nameof(Teamwork); + public const string Teeth = nameof(Teeth); + public const string Telemarketer = nameof(Telemarketer); + public const string TemporaryAccessPass = nameof(TemporaryAccessPass); + public const string TemporaryUser = nameof(TemporaryUser); + public const string Tennis = nameof(Tennis); + public const string TestAdd = nameof(TestAdd); + public const string TestAutoSolid = nameof(TestAutoSolid); + public const string TestBeaker = nameof(TestBeaker); + public const string TestBeakerSolid = nameof(TestBeakerSolid); + public const string TestCase = nameof(TestCase); + public const string TestExploreSolid = nameof(TestExploreSolid); + public const string TestImpactSolid = nameof(TestImpactSolid); + public const string TestParameter = nameof(TestParameter); + public const string TestPlan = nameof(TestPlan); + public const string TestRemove = nameof(TestRemove); + public const string TestStep = nameof(TestStep); + public const string TestSuite = nameof(TestSuite); + public const string TestUserSolid = nameof(TestUserSolid); + public const string TextAlignBottom = nameof(TextAlignBottom); + public const string TextAlignMiddle = nameof(TextAlignMiddle); + public const string TextAlignTop = nameof(TextAlignTop); + public const string TextBox = nameof(TextBox); + public const string TextCallout = nameof(TextCallout); + public const string TextDocument = nameof(TextDocument); + public const string TextDocumentEdit = nameof(TextDocumentEdit); + public const string TextDocumentSettings = nameof(TextDocumentSettings); + public const string TextDocumentShared = nameof(TextDocumentShared); + public const string TextField = nameof(TextField); + public const string TextOverflow = nameof(TextOverflow); + public const string TextParagraphOption = nameof(TextParagraphOption); + public const string TextRecognition = nameof(TextRecognition); + public const string TextRotate270Degrees = nameof(TextRotate270Degrees); + public const string TextRotate90Degrees = nameof(TextRotate90Degrees); + public const string TextRotateHorizontal = nameof(TextRotateHorizontal); + public const string TextRotation = nameof(TextRotation); + public const string TFVCLogo = nameof(TFVCLogo); + public const string ThisPC = nameof(ThisPC); + public const string ThreeQuarterCircle = nameof(ThreeQuarterCircle); + public const string ThumbnailView = nameof(ThumbnailView); + public const string ThumbnailViewMirrored = nameof(ThumbnailViewMirrored); + public const string Thunderstorms = nameof(Thunderstorms); + public const string Ticket = nameof(Ticket); + public const string Tiles = nameof(Tiles); + public const string Tiles2 = nameof(Tiles2); + public const string TimeEntry = nameof(TimeEntry); + public const string TimeEntryTemplate = nameof(TimeEntryTemplate); + public const string Timeline = nameof(Timeline); + public const string TimelineDelivery = nameof(TimelineDelivery); + public const string TimelineMatrixView = nameof(TimelineMatrixView); + public const string TimelineProgress = nameof(TimelineProgress); + public const string TimePicker = nameof(TimePicker); + public const string Timer = nameof(Timer); + public const string TimeSheet = nameof(TimeSheet); + public const string Title = nameof(Title); + public const string TitleMirrored = nameof(TitleMirrored); + public const string ToDoLogoBottom = nameof(ToDoLogoBottom); + public const string ToDoLogoInverse = nameof(ToDoLogoInverse); + public const string ToDoLogoOutline = nameof(ToDoLogoOutline); + public const string ToDoLogoTop = nameof(ToDoLogoTop); + public const string ToggleBorder = nameof(ToggleBorder); + public const string ToggleFilled = nameof(ToggleFilled); + public const string ToggleLeft = nameof(ToggleLeft); + public const string ToggleRight = nameof(ToggleRight); + public const string ToggleThumb = nameof(ToggleThumb); + public const string Toll = nameof(Toll); + public const string Toolbox = nameof(Toolbox); + public const string Total = nameof(Total); + public const string Touch = nameof(Touch); + public const string TouchPointer = nameof(TouchPointer); + public const string Trackers = nameof(Trackers); + public const string TrackersMirrored = nameof(TrackersMirrored); + public const string Train = nameof(Train); + public const string TrainSolid = nameof(TrainSolid); + public const string TransferCall = nameof(TransferCall); + public const string Transition = nameof(Transition); + public const string TransitionEffect = nameof(TransitionEffect); + public const string TransitionPop = nameof(TransitionPop); + public const string TransitionPush = nameof(TransitionPush); + public const string Translate = nameof(Translate); + public const string Transportation = nameof(Transportation); + public const string Trending12 = nameof(Trending12); + public const string TriangleDown12 = nameof(TriangleDown12); + public const string TriangleLeft12 = nameof(TriangleLeft12); + public const string TriangleRight12 = nameof(TriangleRight12); + public const string TriangleShape = nameof(TriangleShape); + public const string TriangleShapeSolid = nameof(TriangleShapeSolid); + public const string TriangleSolid = nameof(TriangleSolid); + public const string TriangleSolidDown12 = nameof(TriangleSolidDown12); + public const string TriangleSolidLeft12 = nameof(TriangleSolidLeft12); + public const string TriangleSolidRight12 = nameof(TriangleSolidRight12); + public const string TriangleSolidUp12 = nameof(TriangleSolidUp12); + public const string TriangleUp12 = nameof(TriangleUp12); + public const string TriggerApproval = nameof(TriggerApproval); + public const string TriggerAuto = nameof(TriggerAuto); + public const string TriggerPhrase = nameof(TriggerPhrase); + public const string TriggerUser = nameof(TriggerUser); + public const string Trim = nameof(Trim); + public const string TrimEnd = nameof(TrimEnd); + public const string TrimStart = nameof(TrimStart); + public const string TripleColumn = nameof(TripleColumn); + public const string TripleColumnEdit = nameof(TripleColumnEdit); + public const string TripleColumnWide = nameof(TripleColumnWide); + public const string Trophy = nameof(Trophy); + public const string Trophy2 = nameof(Trophy2); + public const string Trophy2Solid = nameof(Trophy2Solid); + public const string TurnRight = nameof(TurnRight); + public const string TurnUserLeft = nameof(TurnUserLeft); + public const string TVMonitor = nameof(TVMonitor); + public const string TVMonitorSelected = nameof(TVMonitorSelected); + public const string TypeScriptLanguage = nameof(TypeScriptLanguage); + public const string Umbrella = nameof(Umbrella); + public const string UnavailableOffline = nameof(UnavailableOffline); + public const string Underline = nameof(Underline); + public const string UnderlineA = nameof(UnderlineA); + public const string UnderlineKorean = nameof(UnderlineKorean); + public const string UnderlineP = nameof(UnderlineP); + public const string UnderlineRussian = nameof(UnderlineRussian); + public const string UnderlineS = nameof(UnderlineS); + public const string UnderlineSerbian = nameof(UnderlineSerbian); + public const string Undo = nameof(Undo); + public const string Uneditable = nameof(Uneditable); + public const string Uneditable2 = nameof(Uneditable2); + public const string Uneditable2Mirrored = nameof(Uneditable2Mirrored); + public const string UneditableMirrored = nameof(UneditableMirrored); + public const string UneditableSolid12 = nameof(UneditableSolid12); + public const string UneditableSolidMirrored12 = nameof(UneditableSolidMirrored12); + public const string Unfavorite = nameof(Unfavorite); + public const string UngroupObject = nameof(UngroupObject); + public const string UniteShape = nameof(UniteShape); + public const string Unknown = nameof(Unknown); + public const string UnknownCall = nameof(UnknownCall); + public const string UnknownMirrored = nameof(UnknownMirrored); + public const string UnknownMirroredSolid = nameof(UnknownMirroredSolid); + public const string UnknownSolid = nameof(UnknownSolid); + public const string Unlock = nameof(Unlock); + public const string UnlockSolid = nameof(UnlockSolid); + public const string Unpin = nameof(Unpin); + public const string UnpublishContent = nameof(UnpublishContent); + public const string UnSetColor = nameof(UnSetColor); + public const string UnstackSelected = nameof(UnstackSelected); + public const string Unsubscribe = nameof(Unsubscribe); + public const string UnsyncFolder = nameof(UnsyncFolder); + public const string UnsyncOccurrence = nameof(UnsyncOccurrence); + public const string Untag = nameof(Untag); + public const string Up = nameof(Up); + public const string UpdateRestore = nameof(UpdateRestore); + public const string UpgradeAnalysis = nameof(UpgradeAnalysis); + public const string UpKey = nameof(UpKey); + public const string Upload = nameof(Upload); + public const string UpperCase = nameof(UpperCase); + public const string URLBlock = nameof(URLBlock); + public const string USB = nameof(USB); + public const string UserClapper = nameof(UserClapper); + public const string UserEvent = nameof(UserEvent); + public const string UserFollowed = nameof(UserFollowed); + public const string UserGauge = nameof(UserGauge); + public const string UserOptional = nameof(UserOptional); + public const string UserPause = nameof(UserPause); + public const string UserRemove = nameof(UserRemove); + public const string UserSync = nameof(UserSync); + public const string UserWarning = nameof(UserWarning); + public const string UserWindow = nameof(UserWindow); + public const string Vacation = nameof(Vacation); + public const string Vaccination = nameof(Vaccination); + public const string VaccinationRecent = nameof(VaccinationRecent); + public const string Variable = nameof(Variable); + public const string Variable2 = nameof(Variable2); + public const string Variable3 = nameof(Variable3); + public const string VariableGroup = nameof(VariableGroup); + public const string VB = nameof(VB); + public const string VennDiagram = nameof(VennDiagram); + public const string VerifiedBrand = nameof(VerifiedBrand); + public const string VerifiedBrandSolid = nameof(VerifiedBrandSolid); + public const string VersionControlPush = nameof(VersionControlPush); + public const string VerticalDistributeCenter = nameof(VerticalDistributeCenter); + public const string Video = nameof(Video); + public const string Video360Generic = nameof(Video360Generic); + public const string VideoAdd = nameof(VideoAdd); + public const string VideoLightOff = nameof(VideoLightOff); + public const string VideoOff = nameof(VideoOff); + public const string VideoOff2 = nameof(VideoOff2); + public const string VideoSearch = nameof(VideoSearch); + public const string VideoSolid = nameof(VideoSolid); + public const string View = nameof(View); + public const string ViewAll = nameof(ViewAll); + public const string ViewAll2 = nameof(ViewAll2); + public const string ViewDashboard = nameof(ViewDashboard); + public const string ViewInAR = nameof(ViewInAR); + public const string ViewList = nameof(ViewList); + public const string ViewListGroup = nameof(ViewListGroup); + public const string ViewListTree = nameof(ViewListTree); + public const string ViewOriginal = nameof(ViewOriginal); + public const string VirtualNetwork = nameof(VirtualNetwork); + public const string VisioDiagram = nameof(VisioDiagram); + public const string VisioDiagramSync = nameof(VisioDiagramSync); + public const string VisioDocument = nameof(VisioDocument); + public const string VisioLogo = nameof(VisioLogo); + public const string VisioLogo16 = nameof(VisioLogo16); + public const string VisioLogoInverse = nameof(VisioLogoInverse); + public const string VisioLogoInverse16 = nameof(VisioLogoInverse16); + public const string VisualBasicLanguage = nameof(VisualBasicLanguage); + public const string VisuallyImpaired = nameof(VisuallyImpaired); + public const string VisualsFolder = nameof(VisualsFolder); + public const string VisualsStore = nameof(VisualsStore); + public const string VisualStudioForWindows = nameof(VisualStudioForWindows); + public const string VisualStudioForWindowsAlt = nameof(VisualStudioForWindowsAlt); + public const string VivaTopicApp = nameof(VivaTopicApp); + public const string VoicemailForward = nameof(VoicemailForward); + public const string VoicemailIRM = nameof(VoicemailIRM); + public const string VoicemailReply = nameof(VoicemailReply); + public const string Volume0 = nameof(Volume0); + public const string Volume1 = nameof(Volume1); + public const string Volume2 = nameof(Volume2); + public const string Volume3 = nameof(Volume3); + public const string VolumeDisabled = nameof(VolumeDisabled); + public const string VSTSAltLogo1 = nameof(VSTSAltLogo1); + public const string VSTSAltLogo2 = nameof(VSTSAltLogo2); + public const string VSTSLogo = nameof(VSTSLogo); + public const string Waffle = nameof(Waffle); + public const string WaffleOffice365 = nameof(WaffleOffice365); + public const string WaitlistConfirm = nameof(WaitlistConfirm); + public const string WaitlistConfirmMirrored = nameof(WaitlistConfirmMirrored); + public const string Warning = nameof(Warning); + public const string Warning12 = nameof(Warning12); + public const string WarningSolid = nameof(WarningSolid); + public const string WavingHand = nameof(WavingHand); + public const string WebAppBuilderFragment = nameof(WebAppBuilderFragment); + public const string WebAppBuilderFragmentCreate = nameof(WebAppBuilderFragmentCreate); + public const string WebAppBuilderFragmentLock = nameof(WebAppBuilderFragmentLock); + public const string WebAppBuilderFragmentTest = nameof(WebAppBuilderFragmentTest); + public const string WebAppBuilderModule = nameof(WebAppBuilderModule); + public const string WebAppBuilderModuleLock = nameof(WebAppBuilderModuleLock); + public const string WebAppBuilderModuleTest = nameof(WebAppBuilderModuleTest); + public const string WebAppBuilderSlot = nameof(WebAppBuilderSlot); + public const string Webcam2 = nameof(Webcam2); + public const string Webcam2Off = nameof(Webcam2Off); + public const string WebComponents = nameof(WebComponents); + public const string WebEnvironment = nameof(WebEnvironment); + public const string WebPublish = nameof(WebPublish); + public const string WebSearch = nameof(WebSearch); + public const string Website = nameof(Website); + public const string WebTemplate = nameof(WebTemplate); + public const string Weights = nameof(Weights); + public const string Wheelchair = nameof(Wheelchair); + public const string Whiteboard = nameof(Whiteboard); + public const string WhiteBoardApp16 = nameof(WhiteBoardApp16); + public const string WhiteBoardApp32 = nameof(WhiteBoardApp32); + public const string WifiEthernet = nameof(WifiEthernet); + public const string WifiWarning4 = nameof(WifiWarning4); + public const string WindDirection = nameof(WindDirection); + public const string WindowEdit = nameof(WindowEdit); + public const string WindowsLogo = nameof(WindowsLogo); + public const string Wines = nameof(Wines); + public const string WipePhone = nameof(WipePhone); + public const string WordDocument = nameof(WordDocument); + public const string WordLogo = nameof(WordLogo); + public const string WordLogo16 = nameof(WordLogo16); + public const string WordLogoInverse = nameof(WordLogoInverse); + public const string WordLogoInverse16 = nameof(WordLogoInverse16); + public const string Work = nameof(Work); + public const string WorkFlow = nameof(WorkFlow); + public const string WorkforceManagement = nameof(WorkforceManagement); + public const string WorkItem = nameof(WorkItem); + public const string WorkItemAlert = nameof(WorkItemAlert); + public const string WorkItemBar = nameof(WorkItemBar); + public const string WorkItemBarSolid = nameof(WorkItemBarSolid); + public const string WorkItemBug = nameof(WorkItemBug); + public const string World = nameof(World); + public const string WorldClock = nameof(WorldClock); + public const string XPowerY = nameof(XPowerY); + public const string XRay = nameof(XRay); + public const string YammerLogo = nameof(YammerLogo); + public const string ZeroDayCalendar = nameof(ZeroDayCalendar); + public const string ZeroDayPatch = nameof(ZeroDayPatch); + public const string ZipFolder = nameof(ZipFolder); + public const string Zoom = nameof(Zoom); + public const string ZoomIn = nameof(ZoomIn); + public const string ZoomOut = nameof(ZoomOut); + public const string ZoomToFit = nameof(ZoomToFit); + public const string ZoomToFitAlt = nameof(ZoomToFitAlt); } diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Iac/Boilerplate.Iac.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Iac/Boilerplate.Iac.csproj index ff13273b72..54e7b1c9a2 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Iac/Boilerplate.Iac.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Iac/Boilerplate.Iac.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj index dedcf79efb..1d84220378 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj @@ -20,7 +20,7 @@ - compile; build; native; contentfiles; analyzers; buildtransitive + compile; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj index 4c58e0a8a9..1021e2106b 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj @@ -66,7 +66,7 @@ - + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index 94836c43d8..63d707c046 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -1,61 +1,62 @@  - - net8.0 - - true - false - - true - true - - false - service-worker-assets.js - false - true - Default - - true - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - + + net8.0 + + true + false + + true + true + + false + service-worker-assets.js + false + true + Default + + true + + + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj index 7446a7e597..8ddc623d40 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj @@ -16,7 +16,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -28,11 +28,11 @@ - + PreserveNewest - + diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index a10007a641..4b04931caa 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -26,6 +26,7 @@ + all diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index 98e0640fa0..f653c502be 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -27,6 +27,7 @@ + all diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index ad7ed9f1cf..1b7e9e2143 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -26,6 +26,7 @@ + all From 883f6c267ba8cbcaca40bd5ccc147398c6e4e419 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 24 Jan 2024 23:07:28 +0100 Subject: [PATCH 05/50] feat(templates): use latest version of velopack #6703 (#6718) --- .github/workflows/admin-sample.cd.yml | 2 +- .github/workflows/blazorui.demo.cd.yml | 2 +- .github/workflows/todo-sample.cd.yml | 2 +- .../Bit.BlazorUI.Demo.Client.Windows/.config/dotnet-tools.json | 2 +- .../Bit.BlazorUI.Demo.Client.Windows.csproj | 2 +- .../Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml | 2 +- .../Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml | 2 +- .../Client/Boilerplate.Client.Windows/.config/dotnet-tools.json | 2 +- .../Boilerplate.Client.Windows.csproj | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/admin-sample.cd.yml b/.github/workflows/admin-sample.cd.yml index 8e460427b1..3f9ed1b6e3 100644 --- a/.github/workflows/admin-sample.cd.yml +++ b/.github/workflows/admin-sample.cd.yml @@ -165,7 +165,7 @@ jobs: echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h echo A | xcopy .\bin\publish .\publish-result /s /e /h dotnet tool restore - dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows-x64.exe -r win-x64 --framework net8.0.1-x64-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel' + dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows-x86.exe -r win-x86 --framework net8.0.1-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel' - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/.github/workflows/blazorui.demo.cd.yml b/.github/workflows/blazorui.demo.cd.yml index d3e57d87ea..df87333975 100644 --- a/.github/workflows/blazorui.demo.cd.yml +++ b/.github/workflows/blazorui.demo.cd.yml @@ -132,7 +132,7 @@ jobs: echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h echo A | xcopy .\bin\publish .\publish-result /s /e /h dotnet tool restore - dotnet vpk pack -u Bit.BlazorUI.Demo.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Bit.BlazorUI.Demo.Client.Windows-x64.exe -r win-x64 --framework net8.0.1-x64-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Bit Blazor UI' + dotnet vpk pack -u Bit.BlazorUI.Demo.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Bit.BlazorUI.Demo.Client.Windows-x86.exe -r win-x86 --framework net8.0.1-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Bit Blazor UI' - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/.github/workflows/todo-sample.cd.yml b/.github/workflows/todo-sample.cd.yml index e9bfd7d4fa..95ae497430 100644 --- a/.github/workflows/todo-sample.cd.yml +++ b/.github/workflows/todo-sample.cd.yml @@ -180,7 +180,7 @@ jobs: echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h echo A | xcopy .\bin\publish .\publish-result /s /e /h dotnet tool restore - dotnet vpk pack -u TodoSample.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e TodoSample.Client.Windows-x64.exe -r win-x64 --framework net8.0.1-x64-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle TodoSample + dotnet vpk pack -u TodoSample.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e TodoSample.Client.Windows-x86.exe -r win-x86 --framework net8.0.1-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle TodoSample - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/.config/dotnet-tools.json b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/.config/dotnet-tools.json index c32f6b1e17..9e5e49d8fd 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/.config/dotnet-tools.json +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "vpk": { - "version": "0.0.212", + "version": "0.0.219", "commands": [ "vpk" ] diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj index ece42e811b..868efcc7cc 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj @@ -26,7 +26,7 @@ - + PreserveNewest diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml b/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml index 7bba2831d2..494553e906 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/.azure-devops/workflows/cd.yml @@ -195,7 +195,7 @@ jobs: echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h echo A | xcopy .\bin\publish .\publish-result /s /e /h dotnet tool restore - dotnet vpk pack -u Boilerplate.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Boilerplate.Client.Windows-x64.exe -r win-x64 --framework net8.0.1-x64-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Boilerplate' + dotnet vpk pack -u Boilerplate.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Boilerplate.Client.Windows-x86.exe -r win-x86 --framework net8.0.1-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Boilerplate' - task: PublishPipelineArtifact@1 displayName: Upload artifact diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml b/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml index 810a53722b..cae19e678b 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/.github/workflows/cd.yml @@ -170,7 +170,7 @@ jobs: echo A | xcopy .\bin\publish-x64 .\publish-result /s /e /h echo A | xcopy .\bin\publish .\publish-result /s /e /h dotnet tool restore - dotnet vpk pack -u Boilerplate.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Boilerplate.Client.Windows-x64.exe -r win-x64 --framework net8.0.1-x64-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Boilerplate' + dotnet vpk pack -u Boilerplate.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e Boilerplate.Client.Windows-x86.exe -r win-x86 --framework net8.0.1-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'Boilerplate' - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/.config/dotnet-tools.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/.config/dotnet-tools.json index c32f6b1e17..9e5e49d8fd 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/.config/dotnet-tools.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "vpk": { - "version": "0.0.212", + "version": "0.0.219", "commands": [ "vpk" ] diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj index 8ddc623d40..44748c95a0 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj @@ -27,7 +27,7 @@ - + PreserveNewest From 2d8e68175c7c66d6f66a67fe69e372f1fbe2c0c1 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 01:47:13 +0330 Subject: [PATCH 06/50] feat(prerelease): v-8.7.5-pre-01 #6716 (#6719) --- src/Bit.Build.props | 6 +++--- .../Bit.BlazorUI.Demo.Server.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Shared.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Core.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Maui.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.published.js | 2 +- .../Bit.BlazorUI.Demo.Client.Windows.csproj | 4 ++-- src/BlazorUI/Demo/Directory.Build.props | 2 +- .../Bit.Bswup.Demo/wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../Bit.Bswup/Scripts/bit-bswup.progress.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts | 2 +- .../FullDemo/Client/wwwroot/service-worker.js | 2 +- .../Client/wwwroot/service-worker.published.js | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.ts | 2 +- src/Butil/Bit.Butil/Scripts/butil.ts | 2 +- .../BlazorEmpty.Client/BlazorEmpty.Client.csproj | 8 ++++---- .../BlazorEmpty/BlazorEmpty.csproj | 8 ++++---- .../Boilerplate.Server/Boilerplate.Server.csproj | 4 ++-- .../Boilerplate.Shared/Boilerplate.Shared.csproj | 4 ++-- .../Boilerplate.Client.Core.csproj | 16 ++++++++-------- .../Boilerplate.Client.Maui.csproj | 4 ++-- .../Boilerplate.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.js | 2 +- .../Boilerplate.Client.Windows.csproj | 4 ++-- .../Bit.Boilerplate/src/Directory.Build.props | 2 +- .../Bit.Websites.Careers.Client.csproj | 10 +++++----- .../Bit.Websites.Careers.Server.csproj | 4 ++-- .../Bit.Websites.Careers.Shared.csproj | 4 ++-- src/Websites/Careers/src/Directory.Build.props | 2 +- .../Bit.Websites.Platform.Client.csproj | 12 ++++++------ .../Bit.Websites.Platform.Server.csproj | 4 ++-- .../Bit.Websites.Platform.Shared.csproj | 4 ++-- src/Websites/Platform/src/Directory.Build.props | 2 +- .../Bit.Websites.Sales.Client.csproj | 10 +++++----- .../Bit.Websites.Sales.Server.csproj | 4 ++-- .../Bit.Websites.Sales.Shared.csproj | 4 ++-- src/Websites/Sales/src/Directory.Build.props | 2 +- 43 files changed, 90 insertions(+), 90 deletions(-) diff --git a/src/Bit.Build.props b/src/Bit.Build.props index 1e07c6d960..49b880ee96 100644 --- a/src/Bit.Build.props +++ b/src/Bit.Build.props @@ -25,10 +25,10 @@ https://github.com/bitfoundation/bitplatform https://avatars.githubusercontent.com/u/22663390 - 8.7.4 + 8.7.5 - https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion) - $(ReleaseVersion) + https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-01 + $(ReleaseVersion)-pre-01 $(ReleaseVersion).$([System.DateTime]::Now.ToString(HHmm)) diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj index adf12f7848..cd21eddcba 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj index 849150cc15..2ebd0258cf 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj index 35488d1d3f..52374f1823 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj index ff9bbe606e..93c0994859 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj @@ -81,12 +81,12 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj index ad184b76e4..cfee6fb17f 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj @@ -26,12 +26,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js index 830250d093..05c993e662 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj index 868efcc7cc..145770cf7f 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Directory.Build.props b/src/BlazorUI/Demo/Directory.Build.props index 175b9a502d..d9bc2237fc 100644 --- a/src/BlazorUI/Demo/Directory.Build.props +++ b/src/BlazorUI/Demo/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js index 791512617d..2dea866c6f 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js index 127b77f11e..58288b88a5 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js index a948a599dd..28df6918ce 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js index 8aef76487b..0a62ac096f 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 self.assetsInclude = []; self.assetsExclude = [ diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts index 492d283cbd..80fce2d2c5 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bswup.progress version'] = '8.7.4'; +window['bit-bswup.progress version'] = '8.7.5-pre-01'; ; (function () { (window as any).startBswupProgress = (autoReload: boolean, diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts index b800b1d556..d5954e0f82 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts @@ -1,4 +1,4 @@ -self['bit-bswup.sw version'] = '8.7.4'; +self['bit-bswup.sw version'] = '8.7.5-pre-01'; interface Window { clients: any diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts index bd1d232221..916e5c60bc 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts @@ -1,4 +1,4 @@ -window['bit-bswup version'] = '8.7.4'; +window['bit-bswup version'] = '8.7.5-pre-01'; declare const Blazor: any; diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js index 036dab2772..ead5c1caca 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js index a6586ef4a9..8020701988 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4 +// bit version: 8.7.5-pre-01 self.assetsInclude = []; self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts index 25d85e100a..0f1b0cd275 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bup.progress version'] = '8.7.4'; +window['bit-bup.progress version'] = '8.7.5-pre-01'; ; (function () { (window as any).startBupProgress = (showLogs: boolean, showAssets: boolean, appContainerSelector: string, hideApp: boolean, autoHide: boolean) => { diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.ts index 76eba2d0b9..5a828b258e 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.ts @@ -1,4 +1,4 @@ -window['bit-bup version'] = '8.7.4'; +window['bit-bup version'] = '8.7.5-pre-01'; declare const Blazor: any; diff --git a/src/Butil/Bit.Butil/Scripts/butil.ts b/src/Butil/Bit.Butil/Scripts/butil.ts index 827c3d4548..31d2e98d6e 100644 --- a/src/Butil/Bit.Butil/Scripts/butil.ts +++ b/src/Butil/Bit.Butil/Scripts/butil.ts @@ -1,2 +1,2 @@ var BitButil = BitButil || {}; -BitButil.version = window['bit-butil version'] = '8.7.4'; \ No newline at end of file +BitButil.version = window['bit-butil version'] = '8.7.5-pre-01'; \ No newline at end of file diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj index 3618c1b76e..5e62df2e77 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj @@ -1,4 +1,4 @@ - + @@ -15,14 +15,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj index cdae94897c..8a57db13b1 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj @@ -1,4 +1,4 @@ - + @@ -18,14 +18,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj index 51c30ee587..fea2ae2ae7 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj index 1d84220378..81ffd6d5a3 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj index 0f168df707..0167084540 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj @@ -16,19 +16,19 @@ - - - - + + + + - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj index 1021e2106b..726d3ca4b9 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj @@ -84,11 +84,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index 63d707c046..395cbee6f5 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -31,12 +31,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js index 1ba7433da2..70ace5a532 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.4-pre-01 +// bit version: 8.7.5-pre-01-pre-01 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj index 44748c95a0..26c33531c3 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj @@ -17,11 +17,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props index 0985b10275..63b7d9804f 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props @@ -1,4 +1,4 @@ - + diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index 4b04931caa..074550049a 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj index 2a7525877f..d6403a7d53 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj index de57828be7..42d7bfbeaf 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Directory.Build.props b/src/Websites/Careers/src/Directory.Build.props index e8e1d36a0e..b3982fd500 100644 --- a/src/Websites/Careers/src/Directory.Build.props +++ b/src/Websites/Careers/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index f653c502be..7215cfbd58 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -24,16 +24,16 @@ - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj index b76ce2a8c4..0e1b961d35 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj index de57828be7..42d7bfbeaf 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Directory.Build.props b/src/Websites/Platform/src/Directory.Build.props index 73e924a8e7..fe789b9f15 100644 --- a/src/Websites/Platform/src/Directory.Build.props +++ b/src/Websites/Platform/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index 1b7e9e2143..3749e54041 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj index c537f0f1ab..f872c0cb6d 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj index de57828be7..42d7bfbeaf 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Directory.Build.props b/src/Websites/Sales/src/Directory.Build.props index 77327188a5..8c56f8a8e5 100644 --- a/src/Websites/Sales/src/Directory.Build.props +++ b/src/Websites/Sales/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 From ff27f86f498300d61cfdc29a275d8b1db459e8ba Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 02:31:24 +0330 Subject: [PATCH 07/50] feat(websites): update Platform website for new Butil #6720 (#6721) --- .../Pages/Butil/Butil10ElementPage.razor | 1 - .../src/Bit.Websites.Platform.Client/Pages/HomePage.razor.cs | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor index 4610701a89..5f95f8ae1c 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor @@ -1,6 +1,5 @@ @page "/butil/element" @inherits AppComponentBase -@inject Bit.Butil.Element element Date: Thu, 25 Jan 2024 00:58:43 +0100 Subject: [PATCH 08/50] feat(templates): add RESX_NeutralResourcesLanguage option to the Boilerplate solution file #6725 (#6726) --- src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln b/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln index 5aa1bd4dc7..4d0b997ddb 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln +++ b/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln @@ -106,6 +106,7 @@ Global #endif EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution + RESX_NeutralResourcesLanguage = en-US SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} EndGlobalSection EndGlobal From 82e36d3c441c74d5674f12e1d0b1a9116961c5da Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 03:45:27 +0330 Subject: [PATCH 09/50] fix(butil): resolve .NET linker issues in Butil #6722 (#6724) --- .../Internals/Element/FullScreenJsOptions.cs | 6 +++++ .../Element/ScrollIntoViewJsOptions.cs | 10 +++++++ .../Internals/Element/ScrollJsOptions.cs | 10 +++++++ .../Internals/Events/DomEventDispatcher.cs | 6 +++++ src/Butil/Bit.Butil/Publics/Crypto.cs | 5 ++++ .../Publics/Element/FullscreenOptions.cs | 4 +-- .../Publics/Element/ScrollIntoViewOptions.cs | 4 +-- .../{ScrollToOptions.cs => ScrollOptions.cs} | 10 +++---- .../Publics/ElementReferenceExtensions.cs | 8 ++++-- src/Butil/Bit.Butil/Publics/History.cs | 2 ++ src/Butil/Bit.Butil/Publics/Keyboard.cs | 2 ++ src/Butil/Bit.Butil/Publics/Screen.cs | 2 ++ src/Butil/Bit.Butil/Publics/Window.cs | 4 +-- .../Pages/ElementPage.razor | 26 ++++++++++--------- .../Pages/WindowPage.razor | 4 +-- 15 files changed, 76 insertions(+), 27 deletions(-) create mode 100644 src/Butil/Bit.Butil/Internals/Element/FullScreenJsOptions.cs create mode 100644 src/Butil/Bit.Butil/Internals/Element/ScrollIntoViewJsOptions.cs create mode 100644 src/Butil/Bit.Butil/Internals/Element/ScrollJsOptions.cs rename src/Butil/Bit.Butil/Publics/Element/{ScrollToOptions.cs => ScrollOptions.cs} (74%) diff --git a/src/Butil/Bit.Butil/Internals/Element/FullScreenJsOptions.cs b/src/Butil/Bit.Butil/Internals/Element/FullScreenJsOptions.cs new file mode 100644 index 0000000000..2fb353c953 --- /dev/null +++ b/src/Butil/Bit.Butil/Internals/Element/FullScreenJsOptions.cs @@ -0,0 +1,6 @@ +namespace Bit.Butil; + +internal class FullScreenJsOptions +{ + public string NavigationUI { get; set; } = default!; +} diff --git a/src/Butil/Bit.Butil/Internals/Element/ScrollIntoViewJsOptions.cs b/src/Butil/Bit.Butil/Internals/Element/ScrollIntoViewJsOptions.cs new file mode 100644 index 0000000000..74dc02fd3d --- /dev/null +++ b/src/Butil/Bit.Butil/Internals/Element/ScrollIntoViewJsOptions.cs @@ -0,0 +1,10 @@ +namespace Bit.Butil; + +internal class ScrollIntoViewJsOptions +{ + public string Behavior { get; set; } = default!; + + public string Block { get; set; } = default!; + + public string Inline { get; set; } = default!; +} diff --git a/src/Butil/Bit.Butil/Internals/Element/ScrollJsOptions.cs b/src/Butil/Bit.Butil/Internals/Element/ScrollJsOptions.cs new file mode 100644 index 0000000000..c06166b3df --- /dev/null +++ b/src/Butil/Bit.Butil/Internals/Element/ScrollJsOptions.cs @@ -0,0 +1,10 @@ +namespace Bit.Butil; + +internal class ScrollJsOptions +{ + public string Behavior { get; set; } = default!; + + public double? Top { get; set; } + + public double? Left { get; set; } +} diff --git a/src/Butil/Bit.Butil/Internals/Events/DomEventDispatcher.cs b/src/Butil/Bit.Butil/Internals/Events/DomEventDispatcher.cs index bc15942bbe..27c62b2e69 100644 --- a/src/Butil/Bit.Butil/Internals/Events/DomEventDispatcher.cs +++ b/src/Butil/Bit.Butil/Internals/Events/DomEventDispatcher.cs @@ -1,5 +1,6 @@ using System; using System.Threading.Tasks; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; namespace Bit.Butil; @@ -9,6 +10,11 @@ internal static class DomEventDispatcher private static readonly object FalseUseCapture = false; private static readonly object TrueUseCapture = true; + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ButilMouseEventArgs))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ButilKeyboardEventArgs))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(DomEventListenersManager))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(DomMouseEventListenersManager))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(DomKeyboardEventListenersManager))] internal static async Task AddEventListener(IJSRuntime js, string elementName, string domEvent, diff --git a/src/Butil/Bit.Butil/Publics/Crypto.cs b/src/Butil/Bit.Butil/Publics/Crypto.cs index 6463bf698d..e1b3671361 100644 --- a/src/Butil/Bit.Butil/Publics/Crypto.cs +++ b/src/Butil/Bit.Butil/Publics/Crypto.cs @@ -1,4 +1,5 @@ using System.Threading.Tasks; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; namespace Bit.Butil; @@ -16,6 +17,10 @@ public class Crypto(IJSRuntime js) ///
/// https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt ///
+ [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(AesCtrCryptoAlgorithmParams))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(AesCbcCryptoAlgorithmParams))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(AesGcmCryptoAlgorithmParams))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(RsaOaepCryptoAlgorithmParams))] public ValueTask Encrypt(T algorithm, byte[] key, byte[] data, CryptoKeyHash? keyHash = null) where T : ICryptoAlgorithmParams { if (algorithm.GetType() == typeof(RsaOaepCryptoAlgorithmParams)) diff --git a/src/Butil/Bit.Butil/Publics/Element/FullscreenOptions.cs b/src/Butil/Bit.Butil/Publics/Element/FullscreenOptions.cs index 01d2b1383f..794eac4221 100644 --- a/src/Butil/Bit.Butil/Publics/Element/FullscreenOptions.cs +++ b/src/Butil/Bit.Butil/Publics/Element/FullscreenOptions.cs @@ -4,7 +4,7 @@ public class FullScreenOptions { public FullScreenNavigationUI? NavigationUI { get; set; } - public object ToJsObject() + internal FullScreenJsOptions ToJsObject() { var navigationUI = NavigationUI switch { @@ -13,7 +13,7 @@ public object ToJsObject() _ => "auto", }; - return new + return new() { NavigationUI = navigationUI, }; diff --git a/src/Butil/Bit.Butil/Publics/Element/ScrollIntoViewOptions.cs b/src/Butil/Bit.Butil/Publics/Element/ScrollIntoViewOptions.cs index d59a52710b..f292001cf4 100644 --- a/src/Butil/Bit.Butil/Publics/Element/ScrollIntoViewOptions.cs +++ b/src/Butil/Bit.Butil/Publics/Element/ScrollIntoViewOptions.cs @@ -8,7 +8,7 @@ public class ScrollIntoViewOptions public ScrollLogicalPosition? Inline { get; set; } - public object ToJsObject() + internal ScrollIntoViewJsOptions ToJsObject() { var behavior = Behavior switch { @@ -33,7 +33,7 @@ public object ToJsObject() _ => "start", }; - return new + return new() { Behavior = behavior, Block = block, diff --git a/src/Butil/Bit.Butil/Publics/Element/ScrollToOptions.cs b/src/Butil/Bit.Butil/Publics/Element/ScrollOptions.cs similarity index 74% rename from src/Butil/Bit.Butil/Publics/Element/ScrollToOptions.cs rename to src/Butil/Bit.Butil/Publics/Element/ScrollOptions.cs index f8250787a6..51cea90d99 100644 --- a/src/Butil/Bit.Butil/Publics/Element/ScrollToOptions.cs +++ b/src/Butil/Bit.Butil/Publics/Element/ScrollOptions.cs @@ -1,6 +1,6 @@ namespace Bit.Butil; -public class ScrollToOptions +public class ScrollOptions { public ScrollBehavior? Behavior { get; set; } @@ -8,7 +8,7 @@ public class ScrollToOptions public double? Left { get; set; } - public object ToJsObject() + internal ScrollJsOptions ToJsObject() { var behavior = Behavior switch { @@ -17,11 +17,11 @@ public object ToJsObject() _ => "auto", }; - return new + return new() { Behavior = behavior, - Top, - Left + Top = Top, + Left = Left }; } } diff --git a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs index c6ba9b6746..39bf6cf562 100644 --- a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs +++ b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs @@ -1,6 +1,7 @@ using System; using System.Threading.Tasks; using System.Runtime.CompilerServices; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; using Microsoft.AspNetCore.Components; @@ -105,6 +106,7 @@ public static async ValueTask RemoveAttribute(this ElementReference element, str /// /// Asynchronously asks the browser to make the element fullscreen. /// + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(FullScreenJsOptions))] public static async ValueTask RequestFullScreen(this ElementReference element, FullScreenOptions? options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.requestFullScreen", element, options?.ToJsObject()); @@ -117,7 +119,8 @@ public static async ValueTask RequestPointerLock(this ElementReference element) /// /// Scrolls to a particular set of coordinates inside a given element. /// - public static async ValueTask Scroll(this ElementReference element, ScrollToOptions? options) + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ScrollJsOptions))] + public static async ValueTask Scroll(this ElementReference element, ScrollOptions? options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scroll", element, options?.ToJsObject(), null, null); /// /// Scrolls to a particular set of coordinates inside a given element. @@ -128,7 +131,7 @@ public static async ValueTask Scroll(this ElementReference element, double? x, d /// /// Scrolls an element by the given amount. /// - public static async ValueTask ScrollBy(this ElementReference element, ScrollToOptions? options) + public static async ValueTask ScrollBy(this ElementReference element, ScrollOptions? options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollBy", element, options?.ToJsObject(), null, null); /// /// Scrolls an element by the given amount. @@ -149,6 +152,7 @@ public static async ValueTask ScrollIntoView(this ElementReference element, bool /// /// Scrolls the page until the element gets into the view. /// + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ScrollIntoViewJsOptions))] public static async ValueTask ScrollIntoView(this ElementReference element, ScrollIntoViewOptions options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, null, options?.ToJsObject()); diff --git a/src/Butil/Bit.Butil/Publics/History.cs b/src/Butil/Bit.Butil/Publics/History.cs index b7b5a77a29..acafcab4c5 100644 --- a/src/Butil/Bit.Butil/Publics/History.cs +++ b/src/Butil/Bit.Butil/Publics/History.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Threading.Tasks; using System.Collections.Concurrent; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; namespace Bit.Butil; @@ -84,6 +85,7 @@ public async Task ReplaceState(object? state = null, string? url = null) /// /// The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. /// + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(HistoryListenersManager))] public async Task AddPopState(Action handler) { var listenerId = HistoryListenersManager.AddListener(handler); diff --git a/src/Butil/Bit.Butil/Publics/Keyboard.cs b/src/Butil/Bit.Butil/Publics/Keyboard.cs index b8d816e776..cbc8d47b4a 100644 --- a/src/Butil/Bit.Butil/Publics/Keyboard.cs +++ b/src/Butil/Bit.Butil/Publics/Keyboard.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Threading.Tasks; using System.Collections.Concurrent; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; namespace Bit.Butil; @@ -10,6 +11,7 @@ public class Keyboard(IJSRuntime js) : IDisposable { private readonly ConcurrentDictionary _handlers = new(); + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(KeyboardListenersManager))] public async Task Add(string code, Action handler, ButilModifiers modifiers = ButilModifiers.None, bool preventDefault = true, bool stopPropagation = true, bool repeat = false) { var listenerId = KeyboardListenersManager.AddListener(handler); diff --git a/src/Butil/Bit.Butil/Publics/Screen.cs b/src/Butil/Bit.Butil/Publics/Screen.cs index c0742a1198..0bdb724fd2 100644 --- a/src/Butil/Bit.Butil/Publics/Screen.cs +++ b/src/Butil/Bit.Butil/Publics/Screen.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Threading.Tasks; using System.Collections.Concurrent; +using System.Diagnostics.CodeAnalysis; using Microsoft.JSInterop; namespace Bit.Butil; @@ -79,6 +80,7 @@ public async Task GetWidth() ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Screen/change_event /// + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ScreenListenersManager))] public async Task AddChange(Action handler) { var listenerId = ScreenListenersManager.AddListener(handler); diff --git a/src/Butil/Bit.Butil/Publics/Window.cs b/src/Butil/Bit.Butil/Publics/Window.cs index ed1d78a2d3..6bec796b25 100644 --- a/src/Butil/Bit.Butil/Publics/Window.cs +++ b/src/Butil/Bit.Butil/Publics/Window.cs @@ -263,7 +263,7 @@ public async Task Prompt(string? message, string? defaultValue) ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll /// - public async Task Scroll(ScrollToOptions? options) + public async Task Scroll(ScrollOptions? options) => await js.InvokeVoidAsync("BitButil.window.scroll", options?.ToJsObject(), null, null); /// /// Scrolls the window to a particular place in the document. @@ -278,7 +278,7 @@ public async Task Scroll(float? x, float? y) ///
/// https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy ///
- public async Task ScrollBy(ScrollToOptions? options) + public async Task ScrollBy(ScrollOptions? options) => await js.InvokeVoidAsync("BitButil.window.scrollBy", options?.ToJsObject(), null, null); /// /// Scrolls the document in the window by the given amount. diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor index 65fd49b08c..30f717b05a 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor @@ -21,14 +21,16 @@

-
+
-
Element
+
Element
+

@@ -57,10 +59,10 @@

-X: +X:

-Y: +Y:

@@ -70,10 +72,10 @@ Y:

-X: +X:

-Y: +Y:

@@ -491,20 +493,20 @@ else private async Task Scroll() { - var scrollOptions = new ScrollToOptions() { Top = scrollY, Left = scrollX, Behavior = ScrollBehavior.Smooth }; + var scrollOptions = new ScrollOptions() { Top = scrollY, Left = scrollX, Behavior = ScrollBehavior.Smooth }; await elementRef.Scroll(scrollOptions); } private async Task ScrollBy() { - var scrollOptions = new ScrollToOptions() { Top = scrollByY, Left = scrollByX, Behavior = ScrollBehavior.Smooth }; + var scrollOptions = new ScrollOptions() { Top = scrollByY, Left = scrollByX, Behavior = ScrollBehavior.Smooth }; await elementRef.ScrollBy(scrollOptions); } private async Task ScrollIntoView() { - var scrollOptions = new ScrollIntoViewOptions() - { + var scrollOptions = new ScrollIntoViewOptions() + { Inline = ScrollLogicalPosition.Center, Block = ScrollLogicalPosition.Center, Behavior = ScrollBehavior.Smooth diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/WindowPage.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/WindowPage.razor index 3f3c242e9a..c91cb62f9c 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/WindowPage.razor +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/WindowPage.razor @@ -426,13 +426,13 @@ Y: private async Task Scroll() { - var scrollOptions = new ScrollToOptions() { Top = scrollY, Left = scrollX, Behavior = ScrollBehavior.Smooth }; + var scrollOptions = new ScrollOptions() { Top = scrollY, Left = scrollX, Behavior = ScrollBehavior.Smooth }; await window.Scroll(scrollOptions); } private async Task ScrollBy() { - var scrollOptions = new ScrollToOptions() { Top = scrollByY, Left = scrollByX, Behavior = ScrollBehavior.Smooth }; + var scrollOptions = new ScrollOptions() { Top = scrollByY, Left = scrollByX, Behavior = ScrollBehavior.Smooth }; await window.ScrollBy(scrollOptions); } From 3d76152a09e3bd71a27c4dfb3243f0d1978c42fd Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 03:54:35 +0330 Subject: [PATCH 10/50] feat(prerelease): v-8.7.5-pre-02 #6723 (#6727) --- src/Bit.Build.props | 4 ++-- .../Bit.BlazorUI.Demo.Server.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Shared.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Core.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Maui.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.published.js | 2 +- .../Bit.BlazorUI.Demo.Client.Windows.csproj | 4 ++-- src/BlazorUI/Demo/Directory.Build.props | 2 +- .../Bit.Bswup.Demo/wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../Bit.Bswup/Scripts/bit-bswup.progress.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts | 2 +- .../FullDemo/Client/wwwroot/service-worker.js | 2 +- .../Client/wwwroot/service-worker.published.js | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.ts | 2 +- src/Butil/Bit.Butil/Scripts/butil.ts | 2 +- .../BlazorEmpty.Client/BlazorEmpty.Client.csproj | 8 ++++---- .../BlazorEmpty/BlazorEmpty.csproj | 8 ++++---- .../Boilerplate.Server/Boilerplate.Server.csproj | 4 ++-- .../Boilerplate.Shared/Boilerplate.Shared.csproj | 4 ++-- .../Boilerplate.Client.Core.csproj | 16 ++++++++-------- .../Boilerplate.Client.Maui.csproj | 4 ++-- .../Boilerplate.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.js | 2 +- .../Boilerplate.Client.Windows.csproj | 4 ++-- .../Bit.Boilerplate/src/Directory.Build.props | 2 +- .../Bit.Websites.Careers.Client.csproj | 10 +++++----- .../Bit.Websites.Careers.Server.csproj | 4 ++-- .../Bit.Websites.Careers.Shared.csproj | 4 ++-- src/Websites/Careers/src/Directory.Build.props | 2 +- .../Bit.Websites.Platform.Client.csproj | 12 ++++++------ .../Bit.Websites.Platform.Server.csproj | 4 ++-- .../Bit.Websites.Platform.Shared.csproj | 4 ++-- src/Websites/Platform/src/Directory.Build.props | 2 +- .../Bit.Websites.Sales.Client.csproj | 10 +++++----- .../Bit.Websites.Sales.Server.csproj | 4 ++-- .../Bit.Websites.Sales.Shared.csproj | 4 ++-- src/Websites/Sales/src/Directory.Build.props | 2 +- 43 files changed, 89 insertions(+), 89 deletions(-) diff --git a/src/Bit.Build.props b/src/Bit.Build.props index 49b880ee96..7b60659e17 100644 --- a/src/Bit.Build.props +++ b/src/Bit.Build.props @@ -27,8 +27,8 @@ 8.7.5 - https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-01 - $(ReleaseVersion)-pre-01 + https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-02 + $(ReleaseVersion)-pre-02 $(ReleaseVersion).$([System.DateTime]::Now.ToString(HHmm)) diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj index cd21eddcba..23fb41997b 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj index 2ebd0258cf..7ed25ff300 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj index 52374f1823..3954ade330 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj index 93c0994859..4340ef8f58 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj @@ -81,12 +81,12 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj index cfee6fb17f..b41c1f4755 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj @@ -26,12 +26,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js index 05c993e662..58d720d9b6 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj index 145770cf7f..ec09fe5361 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Directory.Build.props b/src/BlazorUI/Demo/Directory.Build.props index d9bc2237fc..e7d3443bc9 100644 --- a/src/BlazorUI/Demo/Directory.Build.props +++ b/src/BlazorUI/Demo/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js index 2dea866c6f..0a739feac9 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js index 58288b88a5..744d0dc414 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js index 28df6918ce..4a27daf8ef 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js index 0a62ac096f..7453ab10b6 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 self.assetsInclude = []; self.assetsExclude = [ diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts index 80fce2d2c5..7ce39edbb4 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bswup.progress version'] = '8.7.5-pre-01'; +window['bit-bswup.progress version'] = '8.7.5-pre-02'; ; (function () { (window as any).startBswupProgress = (autoReload: boolean, diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts index d5954e0f82..2e7150f9ff 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts @@ -1,4 +1,4 @@ -self['bit-bswup.sw version'] = '8.7.5-pre-01'; +self['bit-bswup.sw version'] = '8.7.5-pre-02'; interface Window { clients: any diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts index 916e5c60bc..fac3dccdd4 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts @@ -1,4 +1,4 @@ -window['bit-bswup version'] = '8.7.5-pre-01'; +window['bit-bswup version'] = '8.7.5-pre-02'; declare const Blazor: any; diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js index ead5c1caca..c97c6e5c8a 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js index 8020701988..950b68d0eb 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01 +// bit version: 8.7.5-pre-02 self.assetsInclude = []; self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts index 0f1b0cd275..abe9bb8a05 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bup.progress version'] = '8.7.5-pre-01'; +window['bit-bup.progress version'] = '8.7.5-pre-02'; ; (function () { (window as any).startBupProgress = (showLogs: boolean, showAssets: boolean, appContainerSelector: string, hideApp: boolean, autoHide: boolean) => { diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.ts index 5a828b258e..e6497821b2 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.ts @@ -1,4 +1,4 @@ -window['bit-bup version'] = '8.7.5-pre-01'; +window['bit-bup version'] = '8.7.5-pre-02'; declare const Blazor: any; diff --git a/src/Butil/Bit.Butil/Scripts/butil.ts b/src/Butil/Bit.Butil/Scripts/butil.ts index 31d2e98d6e..8e570a3f44 100644 --- a/src/Butil/Bit.Butil/Scripts/butil.ts +++ b/src/Butil/Bit.Butil/Scripts/butil.ts @@ -1,2 +1,2 @@ var BitButil = BitButil || {}; -BitButil.version = window['bit-butil version'] = '8.7.5-pre-01'; \ No newline at end of file +BitButil.version = window['bit-butil version'] = '8.7.5-pre-02'; \ No newline at end of file diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj index 5e62df2e77..c616e4d3ae 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj @@ -1,4 +1,4 @@ - + @@ -15,14 +15,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj index 8a57db13b1..4bf823df1d 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj @@ -1,4 +1,4 @@ - + @@ -18,14 +18,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj index fea2ae2ae7..081fd5f374 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj index 81ffd6d5a3..fca712d421 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj index 0167084540..fd72c25635 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj @@ -16,19 +16,19 @@ - - - - + + + + - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj index 726d3ca4b9..cbe9e51659 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj @@ -84,11 +84,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index 395cbee6f5..bf17e415c1 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -31,12 +31,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js index 70ace5a532..a23028d840 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-01-pre-01 +// bit version: 8.7.5-pre-02-pre-01 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj index 26c33531c3..d9064b89e4 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj @@ -17,11 +17,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props index 63b7d9804f..8c3e3cbb55 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props @@ -1,4 +1,4 @@ - + diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index 074550049a..89f70b506f 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj index d6403a7d53..29808cf55e 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj index 42d7bfbeaf..9311ed6c1b 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Directory.Build.props b/src/Websites/Careers/src/Directory.Build.props index b3982fd500..b933dd0477 100644 --- a/src/Websites/Careers/src/Directory.Build.props +++ b/src/Websites/Careers/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index 7215cfbd58..2a36f458d0 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -24,16 +24,16 @@ - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj index 0e1b961d35..29c1459804 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj index 42d7bfbeaf..9311ed6c1b 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Directory.Build.props b/src/Websites/Platform/src/Directory.Build.props index fe789b9f15..36e90a40e4 100644 --- a/src/Websites/Platform/src/Directory.Build.props +++ b/src/Websites/Platform/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index 3749e54041..76e7dbd19a 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj index f872c0cb6d..b55b4d8269 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj index 42d7bfbeaf..9311ed6c1b 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Directory.Build.props b/src/Websites/Sales/src/Directory.Build.props index 8c56f8a8e5..7bc2653da1 100644 --- a/src/Websites/Sales/src/Directory.Build.props +++ b/src/Websites/Sales/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 From 3bac1490256aaf99c4336a3df53597a6d359ae84 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 04:13:46 +0330 Subject: [PATCH 11/50] feat(websites): update Platform website for new Butil #6728 (#6729) --- .../Pages/Butil/Butil10ElementPage.razor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs index 7cfb87204a..5f66e8bb0f 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs @@ -195,7 +195,7 @@ private async Task Matches() private async Task Scroll() { - var scrollOptions = new ScrollToOptions() + var scrollOptions = new ScrollOptions() { Top = scrollY, Left = scrollX, @@ -207,7 +207,7 @@ private async Task Scroll() private async Task ScrollBy() { - var scrollOptions = new ScrollToOptions() + var scrollOptions = new ScrollOptions() { Top = scrollByY, Left = scrollByX, From 2833f2187bce0fadf3dfc14a0cd05bb5ffa5569f Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Thu, 25 Jan 2024 09:53:33 +0330 Subject: [PATCH 12/50] fix(websites): navigation button urls on Butil's docs in Platform website #6730 (#6731) --- .../Pages/Butil/Butil03SetupPage.razor | 2 +- .../Pages/Butil/Butil04CryptoPage.razor | 2 +- .../Pages/Butil/Butil05KeyboardPage.razor | 2 +- .../Pages/Butil/Butil06ConsolePage.razor | 2 +- .../Pages/Butil/Butil07StoragePage.razor | 2 +- .../Pages/Butil/Butil08CookiePage.razor | 2 +- .../Pages/Butil/Butil09HistoryPage.razor | 2 +- .../Pages/Butil/Butil10ElementPage.razor | 2 +- .../Pages/Butil/Butil11WindowPage.razor | 2 +- .../Pages/Butil/Butil12DocumentPage.razor | 2 +- .../Pages/Butil/Butil13NavigatorPage.razor | 2 +- .../Pages/Butil/Butil14LocationPage.razor | 2 +- .../Pages/Butil/Butil15ScreenPage.razor | 2 +- .../src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil03SetupPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil03SetupPage.razor index c38c87b3c0..0fd3aa6892 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil03SetupPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil03SetupPage.razor @@ -34,4 +34,4 @@ builder.Services.AddBitButilServices(); - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor index 69e5d626db..8397c9c78a 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor @@ -87,4 +87,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor index b6bda637d8..a5754af2a3 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor @@ -57,4 +57,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor index 391a6c282c..33bb63fad5 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor @@ -599,4 +599,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor index 266646efef..de5a8144f4 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor @@ -200,4 +200,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor index 7cc02648ea..de4d1b4d32 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor @@ -115,4 +115,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor index 65b1bbb56f..c154eb095b 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor @@ -210,4 +210,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor index 5f95f8ae1c..f86e0de53e 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor @@ -1444,4 +1444,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor index 5c5cb7bb48..47bc8bfb63 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor @@ -365,4 +365,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor index fd6cdacd5f..bcfeda86c2 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor @@ -113,4 +113,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor index 4ee5c9d805..b965b90d61 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor @@ -379,4 +379,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor index 256f8fb683..58f59afa4c 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor @@ -360,4 +360,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor index 73021e829b..a3463c12b1 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor @@ -213,4 +213,4 @@ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs index e4397e484f..7443f3a9aa 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs @@ -56,7 +56,7 @@ public partial class MainLayout : IDisposable new BitNavItem { Text = "Overview", Url = "/butil/overview" }, new BitNavItem { Text = "Install", Url = "/butil/install" }, new BitNavItem { Text = "Setup", Url = "/butil/setup" }, - new BitNavItem { Text = "Crypto", Url = "/butil/Crypto" }, + new BitNavItem { Text = "Crypto", Url = "/butil/crypto" }, new BitNavItem { Text = "Keyboard", Url = "/butil/keyboard" }, new BitNavItem { Text = "Console", Url = "/butil/console" }, new BitNavItem { Text = "Storage", Url = "/butil/storage" }, From a102b5d8c6f568885ee2beaac1725ad8d5a8989b Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Thu, 25 Jan 2024 12:34:10 +0100 Subject: [PATCH 13/50] feat(templates): add missing exception handling for the windows app #6734 (#6735) --- .../Boilerplate.Client.Windows/App.xaml | 12 +++++--- .../Boilerplate.Client.Windows/App.xaml.cs | 11 ++++++++ .../MainWindow.xaml | 28 +++++++++++-------- 3 files changed, 36 insertions(+), 15 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml index 1cee354319..270ab536cb 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml @@ -1,4 +1,8 @@ - + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml.cs index dbc41f7fe1..312b689940 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/App.xaml.cs @@ -33,5 +33,16 @@ private void App_Exit(object sender, ExitEventArgs e) using StreamWriter writer = new StreamWriter(stream); writer.Write(JsonSerializer.Serialize(Properties)); } + + private void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) + { + try + { + ((MainWindow)MainWindow).BlazorWebView.Services.GetRequiredService().Handle(e.Exception); + } + catch { } + + e.Handled = true; + } } diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/MainWindow.xaml b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/MainWindow.xaml index 63ca760646..2b37a4e47e 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/MainWindow.xaml +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/MainWindow.xaml @@ -1,16 +1,22 @@ - + - + - + From 2aa67573b95715bc865613bf47b7d36b4ba8a729 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Thu, 25 Jan 2024 12:40:29 +0100 Subject: [PATCH 14/50] feat(templates): add RESX_CodeReferences property to the Boilerplate solution file #6732 (#6733) --- src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln b/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln index 4d0b997ddb..e803fa78ba 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln +++ b/src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.sln @@ -107,6 +107,7 @@ Global EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution RESX_NeutralResourcesLanguage = en-US + RESX_CodeReferences = {"Items":[{"Expression":"\\W($File.$Key)\\W","Extensions":".cs,.xaml,.cshtml,.razor","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($File.$Key)\\W","Extensions":".vbhtml","IsCaseSensitive":false,"SingleLineComment":null},{"Expression":"ResourceManager.GetString\\(\"($Key)\"\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"typeof\\((\\w+\\.)*($File)\\).+\"($Key)\"|\"($Key)\".+typeof\\((\\w+\\.)*($File)\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($Key)\\W","Extensions":".vb","IsCaseSensitive":false,"SingleLineComment":"'"},{"Expression":"\\W($File::$Key)\\W","Extensions":".cpp,.c,.hxx,.h","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"<%\\$\\s+Resources:\\s*($File)\\s*,\\s*($Key)\\s*%>","Extensions":".aspx,.ascx,.master","IsCaseSensitive":true,"SingleLineComment":null},{"Expression":"StringResourceKey\\.($Key)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\.($Key)","Extensions":".ts,.html","IsCaseSensitive":true,"SingleLineComment":"\/\/"}]} SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} EndGlobalSection EndGlobal From e4858db529eb5664ebee82261774c2d984179314 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Fri, 26 Jan 2024 17:41:14 +0330 Subject: [PATCH 15/50] fix(butil): resolve issues of element's hidden method in Butil #6715 (#6736) --- .../Bit.Butil/Publics/ElementReferenceExtensions.cs | 13 +++++++------ .../Bit.Butil.Demo.Core/Pages/ElementPage.razor | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs index 39bf6cf562..5b7189bb7f 100644 --- a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs +++ b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs @@ -391,24 +391,25 @@ public static async ValueTask SetEnterKeyHint(this ElementReference element, Ent ///
public static async ValueTask GetHidden(this ElementReference element) { - var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getHidden", element); - return value switch + var value = await GetJSRuntime(element).InvokeAsync("BitButil.element.getHidden", element); + var v = value.ToString() switch { - "true" => Hidden.True, + "True" => Hidden.True, "until-found" => Hidden.UntilFound, _ => Hidden.False }; + return v; } /// /// The HTMLElement property hidden reflects the value of the element's hidden attribute. /// public static async ValueTask SetHidden(this ElementReference element, Hidden value) { - var v = value switch + object v = value switch { - Hidden.True => "true", + Hidden.True => true, Hidden.UntilFound => "until-found", - _ => "false", + _ => false, }; await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setHidden", element, v); } diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor index 30f717b05a..bf21a257f8 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ElementPage.razor @@ -21,7 +21,7 @@

-
+
Date: Sat, 27 Jan 2024 00:57:50 +0330 Subject: [PATCH 16/50] feat(butil): add missing MDN links to docs of some of the Butil's APIs #6714 (#6737) --- .../Publics/ElementReferenceExtensions.cs | 136 +++++++++++++++++- src/Butil/Bit.Butil/Publics/History.cs | 61 ++++++-- src/Butil/Bit.Butil/Publics/Navigator.cs | 36 ++++- 3 files changed, 211 insertions(+), 22 deletions(-) diff --git a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs index 5b7189bb7f..9b28e8acc8 100644 --- a/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs +++ b/src/Butil/Bit.Butil/Publics/ElementReferenceExtensions.cs @@ -57,54 +57,72 @@ public static async ValueTask GetAttributeNames(this ElementReference /// /// Returns the size of an element and its position relative to the viewport. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect ///
public static async ValueTask GetBoundingClientRect(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getBoundingClientRect", element); /// /// Returns a boolean value indicating if the element has the specified attribute or not. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute ///
public static async ValueTask HasAttribute(this ElementReference element, string name) => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasAttribute", element, name); /// /// Returns a boolean value indicating if the element has one or more HTML attributes present. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes ///
public static async ValueTask HasAttributes(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasAttributes", element); /// /// Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture ///
public static async ValueTask HasPointerCapture(this ElementReference element, int pointerId) => await GetJSRuntime(element).InvokeAsync("BitButil.element.hasPointerCapture", element, pointerId); /// /// Returns a boolean value indicating whether or not the element would be selected by the specified selector string. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/matches ///
public static async ValueTask Matches(this ElementReference element, string selectors) => await GetJSRuntime(element).InvokeAsync("BitButil.element.matches", element, selectors); /// /// Releases (stops) pointer capture that was previously set for a specific pointer event. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture ///
public static async ValueTask ReleasePointerCapture(this ElementReference element, int pointerId) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.releasePointerCapture", element, pointerId); /// /// Removes the element from the children list of its parent. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/remove ///
public static async ValueTask Remove(this ElementReference element) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.remove", element); /// /// Removes the named attribute from the current node. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute ///
public static async ValueTask RemoveAttribute(this ElementReference element, string name) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.removeAttribute", element, name); /// /// Asynchronously asks the browser to make the element fullscreen. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen ///
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(FullScreenJsOptions))] public static async ValueTask RequestFullScreen(this ElementReference element, FullScreenOptions? options) @@ -112,45 +130,61 @@ public static async ValueTask RequestFullScreen(this ElementReference element, F /// /// Allows to asynchronously ask for the pointer to be locked on the given element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock ///
public static async ValueTask RequestPointerLock(this ElementReference element) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.requestPointerLock", element); /// /// Scrolls to a particular set of coordinates inside a given element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll ///
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ScrollJsOptions))] public static async ValueTask Scroll(this ElementReference element, ScrollOptions? options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scroll", element, options?.ToJsObject(), null, null); /// /// Scrolls to a particular set of coordinates inside a given element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll ///
public static async ValueTask Scroll(this ElementReference element, double? x, double? y) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scroll", element, null, x, y); /// /// Scrolls an element by the given amount. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy ///
public static async ValueTask ScrollBy(this ElementReference element, ScrollOptions? options) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollBy", element, options?.ToJsObject(), null, null); /// /// Scrolls an element by the given amount. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy ///
public static async ValueTask ScrollBy(this ElementReference element, double? x, double? y) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollBy", element, null, x, y); /// /// Scrolls the page until the element gets into the view. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView ///
public static async ValueTask ScrollIntoView(this ElementReference element) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, null, null); /// /// Scrolls the page until the element gets into the view. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView ///
public static async ValueTask ScrollIntoView(this ElementReference element, bool alignToTop) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.scrollIntoView", element, alignToTop, null); /// /// Scrolls the page until the element gets into the view. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView ///
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ScrollIntoViewJsOptions))] public static async ValueTask ScrollIntoView(this ElementReference element, ScrollIntoViewOptions options) @@ -158,133 +192,180 @@ public static async ValueTask ScrollIntoView(this ElementReference element, Scro /// /// Sets the value of a named attribute of the current node. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute ///
public static async ValueTask SetAttribute(this ElementReference element, string name, string value) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setAttribute", element, name, value); /// /// Designates a specific element as the capture target of future pointer events. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture ///
public static async ValueTask SetPointerCapture(this ElementReference element, int pointerId) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setPointerCapture", element, pointerId); /// /// Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute ///
public static async ValueTask ToggleAttribute(this ElementReference element, string name, bool? force) => await GetJSRuntime(element).InvokeAsync("BitButil.element.toggleAttribute", element, name, force); /// /// A string representing the access key assigned to the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey ///
public static async ValueTask GetAccessKey(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getAccessKey", element); /// /// A string representing the access key assigned to the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey ///
public static async ValueTask SetAccessKey(this ElementReference element, string key) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setAccessKey", element, key); /// /// A string representing the class of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/className ///
public static async ValueTask GetClassName(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getClassName", element); /// /// A string representing the class of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/className ///
public static async ValueTask SetClassName(this ElementReference element, string className) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setClassName", element, className); /// /// Returns a number representing the inner height of the element in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight ///
public static async ValueTask GetClientHeight(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientHeight", element); /// /// Returns a number representing the width of the left border of the element in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft ///
public static async ValueTask GetClientLeft(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientLeft", element); /// /// Returns a number representing the width of the top border of the element in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop ///
public static async ValueTask GetClientTop(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientTop", element); /// /// Returns a number representing the inner width of the element in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth ///
public static async ValueTask GetClientWidth(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.clientWidth", element); /// /// A string representing the id of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/id ///
public static async ValueTask GetId(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getId", element); /// /// A string representing the id of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/id ///
public static async ValueTask SetId(this ElementReference element, string id) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setId", element, id); /// /// A string representing the markup of the element's content. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML ///
public static async ValueTask GetInnerHtml(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInnerHTML", element); /// /// A string representing the markup of the element's content. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML ///
public static async ValueTask SetInnerHtml(this ElementReference element, string innerHtml) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInnerHTML", element, innerHtml); /// /// A string representing the markup of the element including its content. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML ///
public static async ValueTask GetOuterHtml(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getOuterHTML", element); /// - /// A string representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string. + /// A string representing the markup of the element including its content. When used as a setter, + /// replaces the element with nodes parsed from the given string. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML ///
public static async ValueTask SetOuterHtml(this ElementReference element, string outerHtml) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setOuterHTML", element, outerHtml); /// /// Returns a number representing the scroll view height of an element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight ///
public static async ValueTask GetScrollHeight(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollHeight", element); /// /// A number representing the left scroll offset of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft ///
public static async ValueTask GetScrollLeft(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollLeft", element); /// /// A number representing number of pixels the top of the element is scrolled vertically. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop ///
public static async ValueTask GetScrollTop(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollTop", element); /// /// Returns a number representing the scroll view width of the element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth ///
public static async ValueTask GetScrollWidth(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.scrollWidth", element); /// /// Returns a string with the name of the tag for the given element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName ///
public static async ValueTask GetTagName(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.tagName", element); /// /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable ///
public static async ValueTask GetContentEditable(this ElementReference element) { @@ -299,6 +380,8 @@ public static async ValueTask GetContentEditable(this ElementRe } /// /// The contentEditable property of the HTMLElement interface specifies whether or not the element is editable. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable ///
public static async ValueTask SetContentEditable(this ElementReference element, ContentEditable value) { @@ -314,12 +397,16 @@ public static async ValueTask SetContentEditable(this ElementReference element, /// /// Returns a boolean value indicating whether or not the content of the element can be edited. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/isContentEditable ///
public static async ValueTask IsContentEditable(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.isContentEditable", element); /// /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir ///
public static async ValueTask GetDir(this ElementReference element) { @@ -334,6 +421,8 @@ public static async ValueTask GetDir(this ElementReference element) } /// /// The HTMLElement.dir property gets or sets the text writing directionality of the content of the current element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir ///
public static async ValueTask SetDir(this ElementReference element, ElementDir value) { @@ -350,6 +439,8 @@ public static async ValueTask SetDir(this ElementReference element, ElementDir v /// /// The enterKeyHint property is an enumerated property defining what action label (or icon) /// to present for the enter key on virtual keyboards. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/enterKeyHint ///
public static async ValueTask GetEnterKeyHint(this ElementReference element) { @@ -369,6 +460,8 @@ public static async ValueTask GetEnterKeyHint(this ElementReferenc /// /// The enterKeyHint property is an enumerated property defining what action label (or icon) /// to present for the enter key on virtual keyboards. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/enterKeyHint ///
public static async ValueTask SetEnterKeyHint(this ElementReference element, EnterKeyHint value) { @@ -388,6 +481,8 @@ public static async ValueTask SetEnterKeyHint(this ElementReference element, Ent /// /// The HTMLElement property hidden reflects the value of the element's hidden attribute. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden ///
public static async ValueTask GetHidden(this ElementReference element) { @@ -402,6 +497,8 @@ public static async ValueTask GetHidden(this ElementReference element) } /// /// The HTMLElement property hidden reflects the value of the element's hidden attribute. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden ///
public static async ValueTask SetHidden(this ElementReference element, Hidden value) { @@ -415,31 +512,43 @@ public static async ValueTask SetHidden(this ElementReference element, Hidden va } /// - /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, - /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. + /// The HTMLElement property inert reflects the value of the element's inert attribute. + /// It is a boolean value that, when present, makes the browser "ignore" user input events + /// for the element, including focus events and events from assistive technologies. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert ///
public static async ValueTask GetInert(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInert", element); /// - /// The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, - /// makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. + /// The HTMLElement property inert reflects the value of the element's inert attribute. + /// It is a boolean value that, when present, makes the browser "ignore" user input events + /// for the element, including focus events and events from assistive technologies. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert ///
public static async ValueTask SetInert(this ElementReference element, bool value) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInert", element, value); /// /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText ///
public static async ValueTask GetInnerText(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getInnerText", element); /// /// The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText ///
public static async ValueTask SetInnerText(this ElementReference element, string value) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setInnerText", element, value); /// /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode ///
public static async ValueTask GetInputMode(this ElementReference element) { @@ -459,6 +568,8 @@ public static async ValueTask GetInputMode(this ElementReference elem } /// /// The HTMLElement property inputMode reflects the value of the element's inputmode attribute. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode ///
public static async ValueTask SetInputMode(this ElementReference element, InputMode value) { @@ -478,7 +589,10 @@ public static async ValueTask SetInputMode(this ElementReference element, InputM } /// - /// The HTMLElement.offsetHeight read-only property returns the height of an element, including vertical padding and borders in px. + /// The HTMLElement.offsetHeight read-only property returns the height of an element, + /// including vertical padding and borders in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight ///
public static async ValueTask GetOffsetHeight(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetHeight", element); @@ -486,6 +600,8 @@ public static async ValueTask GetOffsetHeight(this ElementReference eleme /// /// The HTMLElement.offsetLeft read-only property returns the number of pixels that the upper left corner /// of the current element is offset to the left within the HTMLElement.offsetParent node. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft ///
public static async ValueTask GetOffsetLeft(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetLeft", element); @@ -493,23 +609,31 @@ public static async ValueTask GetOffsetLeft(this ElementReference element /// /// The HTMLElement.offsetTop read-only property returns the distance from the outer border of the current element /// (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop ///
public static async ValueTask GetOffsetTop(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetLeft", element); /// /// The layout width of an element in px. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetWidth ///
public static async ValueTask GetOffsetWidth(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.offsetWidth", element); /// /// A number representing the position of the element in the tabbing order. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex ///
public static async ValueTask GetTabIndex(this ElementReference element) => await GetJSRuntime(element).InvokeAsync("BitButil.element.getTabIndex", element); /// /// A number representing the position of the element in the tabbing order. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex ///
public static async ValueTask SetTabIndex(this ElementReference element, int value) => await GetJSRuntime(element).InvokeVoidAsync("BitButil.element.setTabIndex", element, value); diff --git a/src/Butil/Bit.Butil/Publics/History.cs b/src/Butil/Bit.Butil/Publics/History.cs index acafcab4c5..bd6c0e4c03 100644 --- a/src/Butil/Bit.Butil/Publics/History.cs +++ b/src/Butil/Bit.Butil/Publics/History.cs @@ -19,12 +19,16 @@ public class History(IJSRuntime js) : IDisposable /// /// Returns an Integer representing the number of elements in the session history, including the currently loaded page. /// For example, for a page loaded in a new tab this property returns 1. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/length ///
public async Task GetLength() => await js.InvokeAsync("BitButil.history.length"); /// /// Gets default scroll restoration behavior on history navigation. This property can be either auto or manual. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration ///
public async Task GetScrollRestoration() { @@ -33,57 +37,80 @@ public async Task GetScrollRestoration() } /// - /// Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property can be either auto or manual. + /// Allows web applications to explicitly set default scroll restoration behavior on history navigation. + /// This property can be either auto or manual. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration ///
public async Task SetScrollRestoration(ScrollRestoration value) => await js.InvokeVoidAsync("BitButil.history.setScrollRestoration", value.ToString().ToLowerInvariant()); /// /// Returns an any value representing the state at the top of the history stack. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/state ///
public async Task GetState() => await js.InvokeAsync("BitButil.history.state"); /// - /// This asynchronous method goes to the previous page in session history, the same action as when the user clicks the browser's Back button. - /// Calling this method to go back beyond the first page in the session history has no effect and doesn't raise an exception. + /// This asynchronous method goes to the previous page in session history, the same action as + /// when the user clicks the browser's Back button. Calling this method to go back beyond the + /// first page in the session history has no effect and doesn't raise an exception. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/back ///
public async Task GoBack() => await js.InvokeVoidAsync("BitButil.history.back"); /// - /// This asynchronous method goes to the next page in session history, the same action as when the user clicks the browser's Forward button. - /// Calling this method to go forward beyond the most recent page in the session history has no effect and doesn't raise an exception. + /// This asynchronous method goes to the next page in session history, the same action as + /// when the user clicks the browser's Forward button. Calling this method to go forward + /// beyond the most recent page in the session history has no effect and doesn't raise an exception. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/forward ///
- /// public async Task GoForward() => await js.InvokeVoidAsync("BitButil.history.forward"); /// - /// Asynchronously loads a page from the session history, identified by its relative location to the current page, for example -1 for the previous page or 1 for the next page. - /// Calling this method without parameters or a value of 0 reloads the current page. + /// Asynchronously loads a page from the session history, identified by its relative location + /// to the current page, for example -1 for the previous page or 1 for the next page. Calling + /// this method without parameters or a value of 0 reloads the current page. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/go ///
public async Task Go(int? delta = null) => await js.InvokeVoidAsync("BitButil.history.go", delta); /// /// Pushes the given data onto the session history stack with the specified title (and, if provided, URL). + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/pushState ///
/// The state object can be anything that can be serialized. - /// The new history entry's URL. The new URL must be of the same origin as the current URL; otherwise PushState throws an exception. + /// The new history entry's URL. The new URL must be of the same origin as the current URL; + /// otherwise PushState throws an exception. public async Task PushState(object? state = null, string? url = null) => await js.InvokeVoidAsync("BitButil.history.pushState", state, string.Empty, url); /// /// Updates the most recent entry on the history stack to have the specified data, title, and, if provided, URL. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState ///
- /// An object which is associated with the history entry passed to the ReplaceState() method. The state object can be null. - /// The URL of the history entry. The new URL must be of the same origin as the current URL; otherwise ReplaceState throws an exception. + /// An object which is associated with the history entry passed to the ReplaceState() method. + /// The state object can be null. + /// The URL of the history entry. The new URL must be of the same origin as the current URL; + /// otherwise ReplaceState throws an exception. public async Task ReplaceState(object? state = null, string? url = null) => await js.InvokeVoidAsync("BitButil.history.replaceState", state, string.Empty, url); /// - /// The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. + /// The popstate event of the Window interface is fired when the active history entry changes while the user + /// navigates the session history. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event ///
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(HistoryListenersManager))] public async Task AddPopState(Action handler) @@ -97,7 +124,10 @@ public async Task AddPopState(Action handler) } /// - /// The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. + /// The popstate event of the Window interface is fired when the active history entry changes while the user + /// navigates the session history. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event ///
public Guid[] RemovePopState(Action handler) { @@ -109,7 +139,10 @@ public Guid[] RemovePopState(Action handler) } /// - /// The popstate event of the Window interface is fired when the active history entry changes while the user navigates the session history. + /// The popstate event of the Window interface is fired when the active history entry changes while the user + /// navigates the session history. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event ///
public void RemovePopState(Guid id) { diff --git a/src/Butil/Bit.Butil/Publics/Navigator.cs b/src/Butil/Bit.Butil/Publics/Navigator.cs index d8963187c3..312bdf5cde 100644 --- a/src/Butil/Bit.Butil/Publics/Navigator.cs +++ b/src/Butil/Bit.Butil/Publics/Navigator.cs @@ -11,91 +11,123 @@ namespace Bit.Butil; public class Navigator(IJSRuntime js) { /// - /// Returns the amount of device memory in gigabytes. This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024. + /// Returns the amount of device memory in gigabytes. + /// This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory ///
public async Task GetDeviceMemory() => await js.InvokeAsync("BitButil.navigator.deviceMemory"); /// /// Returns the number of logical processor cores available. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency ///
public async Task GetHardwareConcurrency() => await js.InvokeAsync("BitButil.navigator.hardwareConcurrency"); /// - /// Returns a string representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown. + /// Returns a string representing the preferred language of the user, usually the language of the browser UI. + /// The null value is returned when this is unknown. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language ///
public async Task GetLanguage() => await js.InvokeAsync("BitButil.navigator.language"); /// /// Returns an array of strings representing the languages known to the user, by order of preference. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages ///
public async Task GetLanguages() => await js.InvokeAsync("BitButil.navigator.languages"); /// /// Returns the maximum number of simultaneous touch contact points are supported by the current device. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints ///
public async Task GetMaxTouchPoints() => await js.InvokeAsync("BitButil.navigator.maxTouchPoints"); /// /// Returns a boolean value indicating whether the browser is working online. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine ///
public async Task IsOnLine() => await js.InvokeAsync("BitButil.navigator.onLine"); /// /// Returns true if the browser can display PDF files inline when navigating to them, and false otherwise. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/pdfViewerEnabled ///
public async Task IsPdfViewerEnabled() => await js.InvokeAsync("BitButil.navigator.pdfViewerEnabled"); /// /// Returns the user agent string for the current browser. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent ///
public async Task GetUserAgent() => await js.InvokeAsync("BitButil.navigator.userAgent"); /// /// Indicates whether the user agent is controlled by automation. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver ///
public async Task IsWebDriver() => await js.InvokeAsync("BitButil.navigator.webdriver"); /// /// Returns true if a call to Navigator.share() would succeed. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare ///
public async Task CanShare() => await js.InvokeAsync("BitButil.navigator.canShare"); /// /// Clears a badge on the current app's icon and returns a Promise that resolves with undefined. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clearAppBadge ///
public async Task ClearAppBadge() => await js.InvokeVoidAsync("BitButil.navigator.clearAppBadge"); /// /// Used to asynchronously transfer a small amount of data using HTTP from the User Agent to a web server. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon ///
public async Task SendBeacon() => await js.InvokeAsync("BitButil.navigator.sendBeacon"); /// /// Sets a badge on the icon associated with this app and returns a Promise that resolves with undefined. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/setAppBadge ///
public async Task SetAppBadge() => await js.InvokeVoidAsync("BitButil.navigator.setAppBadge"); /// /// Invokes the native sharing mechanism of the current platform. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share ///
public async Task Share(ShareData data) => await js.InvokeVoidAsync("BitButil.navigator.share", data); /// /// Causes vibration on devices with support for it. Does nothing if vibration support isn't available. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate ///
public async Task Vibrate(int[] pattern) => await js.InvokeAsync("BitButil.navigator.vibrate", pattern); From 6e2e9f13b93a8e662123f4b0b74d06c6ecd41df4 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Sat, 27 Jan 2024 20:20:42 +0100 Subject: [PATCH 17/50] feat(templates): improve identity settings in Boilerplate project template #6739 (#6740) --- .../src/Boilerplate.Server/Startup/Services.cs | 3 ++- .../Bit.Boilerplate/src/Boilerplate.Server/appsettings.json | 4 ++-- .../Extensions/IServiceCollectionExtensions.cs | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Startup/Services.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Startup/Services.cs index b1d833af2f..48e2a0289c 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Startup/Services.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Startup/Services.cs @@ -111,7 +111,8 @@ public static void Add(IServiceCollection services, IWebHostEnvironment env, ICo { fluentEmailServiceBuilder.AddSmtpSender(() => new(appSettings.EmailSettings.Host, appSettings.EmailSettings.Port) { - Credentials = new NetworkCredential(appSettings.EmailSettings.UserName, appSettings.EmailSettings.Password) + Credentials = new NetworkCredential(appSettings.EmailSettings.UserName, appSettings.EmailSettings.Password), + EnableSsl = true }); } else diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json index 4ad7ed44a6..f18d5aae2f 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json @@ -8,11 +8,11 @@ }, "AppSettings": { "IdentitySettings": { + "IdentityCertificatePassword": "P@ssw0rdP@ssw0rd", // It can also be configured using: dotnet user-secrets set "AppSettings:IdentitySettings:IdentityCertificatePassword" "P@ssw0rdP@ssw0rd" "Issuer": "Boilerplate", "Audience": "Boilerplate", - "IdentityCertificatePassword": "P@ssw0rdP@ssw0rd", // It can also be configured using: dotnet user-secrets set "AppSettings:IdentitySettings:IdentityCertificatePassword" "P@ssw0rdP@ssw0rd" - "BearerTokenExpiration": "0.01:00:00", // Format: D.HH:mm:ss "RefreshTokenExpiration": "14.00:00:00", // Format: D.HH:mm:ss + "BearerTokenExpiration": "0.01:00:00", // Used as jwt's expiration claim, access token's expires in and cookie's max age. Format: D.HH:mm:ss "PasswordRequireDigit": "false", "PasswordRequiredLength": "6", "PasswordRequireNonAlphanumeric": "false", diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Extensions/IServiceCollectionExtensions.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Extensions/IServiceCollectionExtensions.cs index e633ab70ba..128d5af46b 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Extensions/IServiceCollectionExtensions.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Extensions/IServiceCollectionExtensions.cs @@ -10,8 +10,9 @@ public static IServiceCollection AddSharedServices(this IServiceCollection servi services.TryAddTransient(); // Define authorization policies here to seamlessly integrate them across various components, - // including web api actions and razor pages using Authorize attribute, AuthorizeView in razor pages, and programmatically in C# for enhanced security and access control. - services.AddAuthorizationCore(options => options.AddPolicy("AdminOnly", authPolicyBuilder => authPolicyBuilder.RequireRole("Admin"))); + // including web api actions and razor pages using Authorize attribute, AuthorizeView in razor pages, + // and programmatically in C# by injecting IAuthorizationService for enhanced security and access control. + services.AddAuthorizationCore(options => options.AddPolicy("AdminsOnly", authPolicyBuilder => authPolicyBuilder.RequireRole("Admin"))); services.AddLocalization(); From b907703f001b01f3f97c5c98516641e452dbc02a Mon Sep 17 00:00:00 2001 From: Mohammad Aminsafaei Date: Sun, 28 Jan 2024 01:23:53 +0330 Subject: [PATCH 18/50] fix(blazorui): resolve issues of the BitDateRangePicker demo page #6742 (#6743) --- .../DateRangePicker/BitDateRangePickerDemo.razor.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs index 1b19578dad..daab9823a9 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs @@ -220,15 +220,15 @@ public partial class BitDateRangePickerDemo }, new() { - Name = "MaxRangeDays", - Type = "int?", + Name = "MaxDayRange", + Type = "uint", DefaultValue = "null", Description = "The maximum range of days allowed for selection in DateRangePicker.", }, new() { - Name = "MaxRangeTime", - Type = "int?", + Name = "MaxTimeRange", + Type = "TimeSpan?", DefaultValue = "null", Description = "The maximum range of time allowed for selection in DateRangePicker.", }, From 47f84004a412534fa4e2b8dfd73f390daefc1b4d Mon Sep 17 00:00:00 2001 From: Mohammad Aminsafaei Date: Sun, 28 Jan 2024 03:29:41 +0330 Subject: [PATCH 19/50] fix(blazorui): resolve errors when changing time in BitDateRangePicker #6674 (#6741) --- .../DateRangePicker/BitDateRangePicker.razor | 16 ++++++++-------- .../DateRangePicker/BitDateRangePicker.razor.cs | 9 ++++++--- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor index 11ec9884b2..987a43c74f 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor @@ -460,15 +460,15 @@
} - var startTimeIncreaseHourDisabled = CanChangeTime(true, true, true); - var startTimeDecreaseHourDisabled = CanChangeTime(false, true, true); - var startTimeIncreaseMinuteDisabled = CanChangeTime(true, false, true); - var startTimeDecreaseMinuteDisabled = CanChangeTime(false, false, true); + var startTimeIncreaseHourDisabled = IsIncreaseOrDecreaseButtonDisabled(true, true, true); + var startTimeDecreaseHourDisabled = IsIncreaseOrDecreaseButtonDisabled(false, true, true); + var startTimeIncreaseMinuteDisabled = IsIncreaseOrDecreaseButtonDisabled(true, false, true); + var startTimeDecreaseMinuteDisabled = IsIncreaseOrDecreaseButtonDisabled(false, false, true); - var endTimeIncreaseHourDisabled = CanChangeTime(true, true, false); - var endTimeDecreaseHourDisabled = CanChangeTime(false, true, false); - var endTimeIncreaseMinuteDisabled = CanChangeTime(true, false, false); - var endTimeDecreaseMinuteDisabled = CanChangeTime(false, false, false); + var endTimeIncreaseHourDisabled = IsIncreaseOrDecreaseButtonDisabled(true, true, false); + var endTimeDecreaseHourDisabled = IsIncreaseOrDecreaseButtonDisabled(false, true, false); + var endTimeIncreaseMinuteDisabled = IsIncreaseOrDecreaseButtonDisabled(true, false, false); + var endTimeDecreaseMinuteDisabled = IsIncreaseOrDecreaseButtonDisabled(false, false, false);
diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs index 31c327fb26..5b16efe793 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs @@ -1476,7 +1476,10 @@ private void UpdateTime() if (CurrentValue is null) return; if (CurrentValue.StartDate.HasValue is false && CurrentValue.EndDate.HasValue is false) return; - if (CurrentValue.StartDate!.Value.Date == CurrentValue.EndDate!.Value.Date && new TimeSpan(_startTimeHour, _startTimeMinute, 0) > new TimeSpan(_endTimeHour, _endTimeMinute, 0)) + var isEndTimeBiggerInOneDayRange = CurrentValue.StartDate.HasValue && CurrentValue.EndDate.HasValue && + CurrentValue.StartDate!.Value.Date == CurrentValue.EndDate!.Value.Date && + new TimeSpan(_startTimeHour, _startTimeMinute, 0) > new TimeSpan(_endTimeHour, _endTimeMinute, 0); + if (isEndTimeBiggerInOneDayRange) { _startTimeHour = _endTimeHour; _startTimeMinute = _endTimeMinute; @@ -1711,9 +1714,9 @@ private bool CanChangeTime(int? startTimeHour = null, int? startTimeMinute = nul return MaxTimeRange.Value.TotalMinutes > Math.Abs((startTime - endTime).TotalMinutes); } - private bool CanChangeTime(bool isNext, bool isHour, bool isStartTime) + private bool IsIncreaseOrDecreaseButtonDisabled(bool isNext, bool isHour, bool isStartTime) { - if (MaxTimeRange.HasValue is false) return true; + if (MaxTimeRange.HasValue is false) return false; var startTimeHour = _startTimeHour; var endTimeHour = _endTimeHour; From 93050ba4e26d9bcd9f2b76b76b6ebd93cf7c0416 Mon Sep 17 00:00:00 2001 From: Mohammad Aminsafaei Date: Mon, 29 Jan 2024 11:56:26 +0330 Subject: [PATCH 20/50] feat(blazorui): change OnSelectDate event to OnChange in BitDateRangePicker and fix issues #6677 (#6746) --- .../DateRangePicker/BitDateRangePickerTests.cs | 6 +++--- .../Inputs/DateRangePicker/BitDateRangePicker.razor.cs | 10 ++++++---- .../DateRangePicker/BitDateRangePickerDemo.razor.cs | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/BlazorUI/Bit.BlazorUI.Tests/DateRangePicker/BitDateRangePickerTests.cs b/src/BlazorUI/Bit.BlazorUI.Tests/DateRangePicker/BitDateRangePickerTests.cs index df3cc5dd45..6dac68e5e5 100644 --- a/src/BlazorUI/Bit.BlazorUI.Tests/DateRangePicker/BitDateRangePickerTests.cs +++ b/src/BlazorUI/Bit.BlazorUI.Tests/DateRangePicker/BitDateRangePickerTests.cs @@ -84,13 +84,13 @@ public void BitDateRangePickerShouldHandleOnClickEvent(bool isEnabled, int count public void BitDateRangePickerCalendarItemsShouldRespectIsEnabled(bool isEnabled) { var isOpen = true; - var selectedDateValue = 0; + var changeValue = 0; Context.JSInterop.Mode = JSRuntimeMode.Loose; var component = RenderComponent(parameters => { parameters.Bind(p => p.IsOpen, isOpen, v => isOpen = v); parameters.Add(p => p.IsEnabled, isEnabled); - parameters.Add(p => p.OnSelectDate, () => selectedDateValue++); + parameters.Add(p => p.OnChange, () => changeValue++); }); var dateItems = component.FindAll(".bit-dtrp-dbt"); @@ -98,7 +98,7 @@ public void BitDateRangePickerCalendarItemsShouldRespectIsEnabled(bool isEnabled Random random = new(); int randomNumber = random.Next(0, dateItems.Count - 1); dateItems[randomNumber].Click(); - Assert.AreEqual(isEnabled ? 1 : 0, selectedDateValue); + Assert.AreEqual(isEnabled ? 1 : 0, changeValue); } [DataTestMethod] diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs index 5b16efe793..936e603967 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DateRangePicker/BitDateRangePicker.razor.cs @@ -444,9 +444,9 @@ public bool IsUnderlined [Parameter] public EventCallback OnFocusOut { get; set; } /// - /// The callback for selecting a date in the DateRangePicker. + /// Callback for when the value changes in the DateRangePicker. /// - [Parameter] public EventCallback OnSelectDate { get; set; } + [Parameter] public EventCallback OnChange { get; set; } /// /// The placeholder text of the DateRangePicker's input. @@ -714,7 +714,7 @@ private async Task HandleOnChange(ChangeEventArgs e) CurrentValueAsString = e.Value?.ToString(); - await OnSelectDate.InvokeAsync(CurrentValue); + await OnChange.InvokeAsync(CurrentValue); } private async Task SelectDate(int dayIndex, int weekIndex) @@ -782,7 +782,7 @@ private async Task SelectDate(int dayIndex, int weekIndex) GenerateMonthData(_currentYear, _currentMonth); - await OnSelectDate.InvokeAsync(CurrentValue); + await OnChange.InvokeAsync(CurrentValue); } private void SelectMonth(int month) @@ -1490,6 +1490,8 @@ private void UpdateTime() StartDate = GetDateTimeOffset(CurrentValue.StartDate, _startTimeHour, _startTimeMinute), EndDate = GetDateTimeOffset(CurrentValue.EndDate, _endTimeHour, _endTimeMinute) }; + + _ = OnChange.InvokeAsync(CurrentValue); } private DateTimeOffset? GetDateTimeOffset(DateTimeOffset? date, int hour, int minute) diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs index daab9823a9..131e8f99f6 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/DateRangePicker/BitDateRangePickerDemo.razor.cs @@ -286,9 +286,9 @@ public partial class BitDateRangePickerDemo }, new() { - Name = "OnSelectDate", + Name = "OnChange", Type = "EventCallback", - Description = "The callback for selecting a date in the DateRangePicker.", + Description = "Callback for when the value changes in the DateRangePicker.", LinkType = LinkType.Link, Href = "#date-range-picker-value", }, From ca478ab1e1c2149e7573e0b35070efea883237c5 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Mon, 29 Jan 2024 15:08:43 +0330 Subject: [PATCH 21/50] feat(butil): add Clipboard APIs to Butil #6745 (#6747) --- src/Butil/Bit.Butil/BitButil.cs | 1 + src/Butil/Bit.Butil/Publics/Clipboard.cs | 58 +++++++++++++ .../Publics/Clipboard/ClipboardFormats.cs | 6 ++ .../Publics/Clipboard/ClipboardItem.cs | 8 ++ src/Butil/Bit.Butil/Scripts/clipboard.ts | 41 +++++++++ src/Butil/Bit.Butil/Scripts/crypto.ts | 18 ++-- src/Butil/Bit.Butil/Scripts/utils.ts | 11 +++ .../Pages/ClipboardPage.razor | 85 +++++++++++++++++++ .../Bit.Butil.Demo.Core/Shared/Header.razor | 3 +- 9 files changed, 219 insertions(+), 12 deletions(-) create mode 100644 src/Butil/Bit.Butil/Publics/Clipboard.cs create mode 100644 src/Butil/Bit.Butil/Publics/Clipboard/ClipboardFormats.cs create mode 100644 src/Butil/Bit.Butil/Publics/Clipboard/ClipboardItem.cs create mode 100644 src/Butil/Bit.Butil/Scripts/clipboard.ts create mode 100644 src/Butil/Bit.Butil/Scripts/utils.ts create mode 100644 src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ClipboardPage.razor diff --git a/src/Butil/Bit.Butil/BitButil.cs b/src/Butil/Bit.Butil/BitButil.cs index 9abe1f0b4b..735263a3c5 100644 --- a/src/Butil/Bit.Butil/BitButil.cs +++ b/src/Butil/Bit.Butil/BitButil.cs @@ -18,6 +18,7 @@ public static IServiceCollection AddBitButilServices(this IServiceCollection ser services.AddTransient(); services.AddTransient(); services.AddTransient(); + services.AddTransient(); return services; } diff --git a/src/Butil/Bit.Butil/Publics/Clipboard.cs b/src/Butil/Bit.Butil/Publics/Clipboard.cs new file mode 100644 index 0000000000..50235a9afb --- /dev/null +++ b/src/Butil/Bit.Butil/Publics/Clipboard.cs @@ -0,0 +1,58 @@ +using System.Diagnostics.CodeAnalysis; +using System.Threading.Tasks; +using Microsoft.JSInterop; +using static System.Net.Mime.MediaTypeNames; + +namespace Bit.Butil; + +public class Clipboard(IJSRuntime js) +{ + /// + /// Requests text from the system clipboard, returning a Promise that + /// is fulfilled with a string containing the clipboard's text once it's available. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/readText + ///
+ public async ValueTask ReadText() + => await js.InvokeAsync("BitButil.clipboard.readText"); + + /// + /// Writes text to the system clipboard, returning a Promise that is + /// resolved once the text is fully copied into the clipboard. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText + ///
+ public async ValueTask WriteText(string text) + { + if (text is not null) + { + await js.InvokeVoidAsync("BitButil.clipboard.writeText", text); + } + } + + /// + /// Requests arbitrary data (such as images) from the clipboard, returning a Promise that + /// resolves with an array of ClipboardItem objects containing the clipboard's contents. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/read + ///
+ [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ClipboardItem))] + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ClipboardFormats))] + public async ValueTask Read(ClipboardFormats? formats = null) + => await (formats is null ? js.InvokeAsync("BitButil.clipboard.read") + : js.InvokeAsync("BitButil.clipboard.read", formats)); + + /// + /// Writes arbitrary data to the system clipboard, returning a Promise + /// that resolves when the operation completes. + ///
+ /// https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/write + ///
+ public async ValueTask Write(ClipboardItem[] items) + { + if (items is not null) + { + await js.InvokeVoidAsync("BitButil.clipboard.write", (object)items); + } + } +} diff --git a/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardFormats.cs b/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardFormats.cs new file mode 100644 index 0000000000..8b881706bb --- /dev/null +++ b/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardFormats.cs @@ -0,0 +1,6 @@ +namespace Bit.Butil; + +public class ClipboardFormats +{ + public string[] Unsanitized { get; set; } = []; +} diff --git a/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardItem.cs b/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardItem.cs new file mode 100644 index 0000000000..3e1a29b109 --- /dev/null +++ b/src/Butil/Bit.Butil/Publics/Clipboard/ClipboardItem.cs @@ -0,0 +1,8 @@ +namespace Bit.Butil; + +public class ClipboardItem +{ + public string MimeType { get; set; } = default!; + + public byte[] Data { get; set; } = default!; +} diff --git a/src/Butil/Bit.Butil/Scripts/clipboard.ts b/src/Butil/Bit.Butil/Scripts/clipboard.ts new file mode 100644 index 0000000000..f64941ae3e --- /dev/null +++ b/src/Butil/Bit.Butil/Scripts/clipboard.ts @@ -0,0 +1,41 @@ +var BitButil = BitButil || {}; + +(function (butil: any) { + butil.clipboard = { + readText, + writeText, + read, + write + }; + + async function readText() { + return await window.navigator.clipboard.readText(); + } + + async function writeText(text: string) { + return await window.navigator.clipboard.writeText(text); + } + + async function read(formats) { + const clipboardItems = await (navigator.clipboard as any).read(formats); + const result = []; + for (const item of clipboardItems) { + for (const mimeType of item.types) { + const blob = await item.getType(mimeType); + const buffer = await blob.arrayBuffer(); + result.push({ mimeType: mimeType, data: new Uint8Array(buffer) }); + } + } + return result; + } + + async function write(items) { + const clipboardItems = []; + for (const item of items) { + const type = item.mimeType; + const blob = new Blob([butil.utils.arrayToBuffer(item.data)], { type }); + clipboardItems.push(new ClipboardItem({ [type]: blob })); + } + await navigator.clipboard.write(clipboardItems); + } +}(BitButil)); \ No newline at end of file diff --git a/src/Butil/Bit.Butil/Scripts/crypto.ts b/src/Butil/Bit.Butil/Scripts/crypto.ts index e3899590b9..a6828f2811 100644 --- a/src/Butil/Bit.Butil/Scripts/crypto.ts +++ b/src/Butil/Bit.Butil/Scripts/crypto.ts @@ -19,7 +19,7 @@ var BitButil = BitButil || {}; async function endecryptRsaOaep(algorithm, key, data, keyHash, func) { const cryptoAlgorithm = { name: algorithm.name, - label: arrayToBuffer(algorithm.label) + label: butil.utils.arrayToBuffer(algorithm.label) } const keyAlgorithm = { name: "RSA-OAEP", hash: keyHash ?? "SHA-256" }; @@ -30,7 +30,7 @@ var BitButil = BitButil || {}; async function endecryptAesCtr(algorithm, key, data, func) { const cryptoAlgorithm = { name: algorithm.name, - counter: arrayToBuffer(algorithm.counter), + counter: butil.utils.arrayToBuffer(algorithm.counter), length: algorithm.length } @@ -42,7 +42,7 @@ var BitButil = BitButil || {}; async function endecryptAesCbc(algorithm, key, data, func) { const cryptoAlgorithm = { name: algorithm.name, - iv: arrayToBuffer(algorithm.iv), + iv: butil.utils.arrayToBuffer(algorithm.iv), } const keyAlgorithm = { name: "AES-CBC" }; @@ -53,8 +53,8 @@ var BitButil = BitButil || {}; async function endecryptAesGcm(algorithm, key, data, func) { const cryptoAlgorithm = { name: algorithm.name, - iv: arrayToBuffer(algorithm.iv), - additionalData: arrayToBuffer(algorithm.additionalData), + iv: butil.utils.arrayToBuffer(algorithm.iv), + additionalData: butil.utils.arrayToBuffer(algorithm.additionalData), tagLength: algorithm.tagLength, } @@ -64,14 +64,10 @@ var BitButil = BitButil || {}; } async function endecrypt(cryptoAlgorithm, key, data, keyAlgorithm, func) { - const cryptoKey = await crypto.subtle.importKey("raw", arrayToBuffer(key), keyAlgorithm, false, ["encrypt", "decrypt"]); + const cryptoKey = await crypto.subtle.importKey("raw", butil.utils.arrayToBuffer(key), keyAlgorithm, false, ["encrypt", "decrypt"]); - const encryptedBuffer = await window.crypto.subtle[func](cryptoAlgorithm, cryptoKey, arrayToBuffer(data)); + const encryptedBuffer = await window.crypto.subtle[func](cryptoAlgorithm, cryptoKey, butil.utils.arrayToBuffer(data)); return new Uint8Array(encryptedBuffer); } - - function arrayToBuffer(array: Uint8Array): ArrayBuffer { - return array?.buffer.slice(array.byteOffset, array.byteLength + array.byteOffset) - } }(BitButil)); \ No newline at end of file diff --git a/src/Butil/Bit.Butil/Scripts/utils.ts b/src/Butil/Bit.Butil/Scripts/utils.ts new file mode 100644 index 0000000000..26f38ab794 --- /dev/null +++ b/src/Butil/Bit.Butil/Scripts/utils.ts @@ -0,0 +1,11 @@ +var BitButil = BitButil || {}; + +(function (butil: any) { + butil.utils = { + arrayToBuffer + }; + + function arrayToBuffer(array: Uint8Array) { + return array?.buffer.slice(array.byteOffset, array.byteLength + array.byteOffset) + } +}(BitButil)); \ No newline at end of file diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ClipboardPage.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ClipboardPage.razor new file mode 100644 index 0000000000..9722d112b4 --- /dev/null +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Pages/ClipboardPage.razor @@ -0,0 +1,85 @@ +@page "/clipboard" +@inject Bit.Butil.Console console +@inject Bit.Butil.Clipboard clipboard + +Clipboard Samples + +

Clipboard

+ +
+@@inject Bit.Butil.Clipboard clipboard
+
+@@code {
+    ...
+    await clipboard.WriteText("new clipboard text");
+    ...
+}
+
+ +
+
+ +

Open the DevTools console and start clicking on buttons

+ +
+
+ + + +
+
+
+ + +
+
+ + +
+
+
+ + + +
+
+
+ + +
+
+ + +@code { + private string newClipText; + private string newText; + + private async Task ReadText() + { + var text = await clipboard.ReadText(); + await console.Log("Clipboard.ReadText =", $"\"{text}\""); + } + + private async Task WriteText() + { + await clipboard.WriteText(newClipText ?? string.Empty); + await console.Log("Clipboard.WriteText =", $"\"{newClipText}\""); + } + + private async Task Read() + { + var items = await clipboard.Read(); + foreach (var item in items) + { + await console.Log("Clipboard.Read=", $"\"{item.MimeType}\",", System.Text.Encoding.UTF8.GetString(item.Data)); + } + } + + public async Task Write() + { + var data = System.Text.Encoding.UTF8.GetBytes(newText); + var item = new ClipboardItem() { MimeType = "text/plain", Data = data }; + await clipboard.Write([item]); + await console.Log("Clipboard.Write=", $"\"{item.MimeType}\",", System.Text.Encoding.UTF8.GetString(item.Data)); + } +} \ No newline at end of file diff --git a/src/Butil/Demo/Bit.Butil.Demo.Core/Shared/Header.razor b/src/Butil/Demo/Bit.Butil.Demo.Core/Shared/Header.razor index d09c247b29..fbe825bd5d 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Core/Shared/Header.razor +++ b/src/Butil/Demo/Bit.Butil.Demo.Core/Shared/Header.razor @@ -11,6 +11,7 @@ Location | Screen | Cookie | - Crypto + Crypto | + Clipboard

\ No newline at end of file From e103ca3838d00b45762718b94fd8f6d4f1163fdd Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Mon, 29 Jan 2024 15:55:02 +0330 Subject: [PATCH 22/50] feat(prerelease): v-8.7.5-pre-03 #6748 (#6749) --- src/Bit.Build.props | 4 ++-- .../Bit.BlazorUI.Demo.Server.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Shared.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Core.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Maui.csproj | 4 ++-- .../Bit.BlazorUI.Demo.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.published.js | 2 +- .../Bit.BlazorUI.Demo.Client.Windows.csproj | 4 ++-- src/BlazorUI/Demo/Directory.Build.props | 2 +- .../Bit.Bswup.Demo/wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../wwwroot/service-worker.js | 2 +- .../wwwroot/service-worker.published.js | 2 +- .../Bit.Bswup/Scripts/bit-bswup.progress.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts | 2 +- src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts | 2 +- .../FullDemo/Client/wwwroot/service-worker.js | 2 +- .../Client/wwwroot/service-worker.published.js | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts | 2 +- src/Bup/Bit.Bup/Scripts/bit-bup.ts | 2 +- src/Butil/Bit.Butil/Scripts/butil.ts | 2 +- .../BlazorEmpty.Client/BlazorEmpty.Client.csproj | 8 ++++---- .../BlazorEmpty/BlazorEmpty.csproj | 8 ++++---- .../Boilerplate.Server/Boilerplate.Server.csproj | 4 ++-- .../Boilerplate.Shared/Boilerplate.Shared.csproj | 4 ++-- .../Boilerplate.Client.Core.csproj | 16 ++++++++-------- .../Boilerplate.Client.Maui.csproj | 4 ++-- .../Boilerplate.Client.Web.csproj | 6 +++--- .../wwwroot/service-worker.js | 2 +- .../Boilerplate.Client.Windows.csproj | 4 ++-- .../Bit.Boilerplate/src/Directory.Build.props | 2 +- .../Bit.Websites.Careers.Client.csproj | 10 +++++----- .../Bit.Websites.Careers.Server.csproj | 4 ++-- .../Bit.Websites.Careers.Shared.csproj | 4 ++-- src/Websites/Careers/src/Directory.Build.props | 2 +- .../Bit.Websites.Platform.Client.csproj | 12 ++++++------ .../Bit.Websites.Platform.Server.csproj | 4 ++-- .../Bit.Websites.Platform.Shared.csproj | 4 ++-- src/Websites/Platform/src/Directory.Build.props | 2 +- .../Bit.Websites.Sales.Client.csproj | 10 +++++----- .../Bit.Websites.Sales.Server.csproj | 4 ++-- .../Bit.Websites.Sales.Shared.csproj | 4 ++-- src/Websites/Sales/src/Directory.Build.props | 2 +- 43 files changed, 89 insertions(+), 89 deletions(-) diff --git a/src/Bit.Build.props b/src/Bit.Build.props index 7b60659e17..0709b2aacd 100644 --- a/src/Bit.Build.props +++ b/src/Bit.Build.props @@ -27,8 +27,8 @@ 8.7.5 - https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-02 - $(ReleaseVersion)-pre-02 + https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-03 + $(ReleaseVersion)-pre-03 $(ReleaseVersion).$([System.DateTime]::Now.ToString(HHmm)) diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj index 23fb41997b..66f73e4b6e 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj index 7ed25ff300..2920e8a587 100644 --- a/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj +++ b/src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj index 3954ade330..a0de0f6c3c 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj index 4340ef8f58..e1c49cecd4 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj @@ -81,12 +81,12 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj index b41c1f4755..6297980afc 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj @@ -26,12 +26,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js index 58d720d9b6..1913f89f00 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj index ec09fe5361..b688428701 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj @@ -16,11 +16,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/BlazorUI/Demo/Directory.Build.props b/src/BlazorUI/Demo/Directory.Build.props index e7d3443bc9..b7aa874633 100644 --- a/src/BlazorUI/Demo/Directory.Build.props +++ b/src/BlazorUI/Demo/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js index 0a739feac9..b6b49032b7 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js index 744d0dc414..cd1fa1300a 100644 --- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; self.caseInsensitiveUrl = true; diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js index 4a27daf8ef..0f9dd4b490 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js index 7453ab10b6..4098dceb3a 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 self.assetsInclude = []; self.assetsExclude = [ diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts index 7ce39edbb4..209efcdb2a 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bswup.progress version'] = '8.7.5-pre-02'; +window['bit-bswup.progress version'] = '8.7.5-pre-03'; ; (function () { (window as any).startBswupProgress = (autoReload: boolean, diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts index 2e7150f9ff..2a49610906 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.sw.ts @@ -1,4 +1,4 @@ -self['bit-bswup.sw version'] = '8.7.5-pre-02'; +self['bit-bswup.sw version'] = '8.7.5-pre-03'; interface Window { clients: any diff --git a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts index fac3dccdd4..ed73a540ef 100644 --- a/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts +++ b/src/Bswup/Bit.Bswup/Scripts/bit-bswup.ts @@ -1,4 +1,4 @@ -window['bit-bswup version'] = '8.7.5-pre-02'; +window['bit-bswup version'] = '8.7.5-pre-03'; declare const Blazor: any; diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js index c97c6e5c8a..4f5f6fbcbd 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 // In development, always fetch from the network and do not enable offline support. // This is because caching would make development more difficult (changes would not diff --git a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js index 950b68d0eb..c8310af247 100644 --- a/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js +++ b/src/Bswup/FullDemo/Client/wwwroot/service-worker.published.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02 +// bit version: 8.7.5-pre-03 self.assetsInclude = []; self.assetsExclude = [/\.scp\.css$/, /weather\.json$/]; diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts index abe9bb8a05..30b4a56fc3 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.progress.ts @@ -1,4 +1,4 @@ -window['bit-bup.progress version'] = '8.7.5-pre-02'; +window['bit-bup.progress version'] = '8.7.5-pre-03'; ; (function () { (window as any).startBupProgress = (showLogs: boolean, showAssets: boolean, appContainerSelector: string, hideApp: boolean, autoHide: boolean) => { diff --git a/src/Bup/Bit.Bup/Scripts/bit-bup.ts b/src/Bup/Bit.Bup/Scripts/bit-bup.ts index e6497821b2..f7ce903e99 100644 --- a/src/Bup/Bit.Bup/Scripts/bit-bup.ts +++ b/src/Bup/Bit.Bup/Scripts/bit-bup.ts @@ -1,4 +1,4 @@ -window['bit-bup version'] = '8.7.5-pre-02'; +window['bit-bup version'] = '8.7.5-pre-03'; declare const Blazor: any; diff --git a/src/Butil/Bit.Butil/Scripts/butil.ts b/src/Butil/Bit.Butil/Scripts/butil.ts index 8e570a3f44..6ea0b8e301 100644 --- a/src/Butil/Bit.Butil/Scripts/butil.ts +++ b/src/Butil/Bit.Butil/Scripts/butil.ts @@ -1,2 +1,2 @@ var BitButil = BitButil || {}; -BitButil.version = window['bit-butil version'] = '8.7.5-pre-02'; \ No newline at end of file +BitButil.version = window['bit-butil version'] = '8.7.5-pre-03'; \ No newline at end of file diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj index c616e4d3ae..18a0962b32 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj @@ -1,4 +1,4 @@ - + @@ -15,14 +15,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj index 4bf823df1d..c4e6757c07 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty/BlazorEmpty.csproj @@ -1,4 +1,4 @@ - + @@ -18,14 +18,14 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj index 081fd5f374..55addb2715 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Boilerplate.Server.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj index fca712d421..65640da294 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Shared/Boilerplate.Shared.csproj @@ -5,11 +5,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj index fd72c25635..250d7d9838 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj @@ -16,19 +16,19 @@ - - - - + + + + - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj index cbe9e51659..7189201ef1 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Boilerplate.Client.Maui.csproj @@ -84,11 +84,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index bf17e415c1..05fb4ac5a0 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -31,12 +31,12 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js index a23028d840..a3dc097199 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js @@ -1,4 +1,4 @@ -// bit version: 8.7.5-pre-02-pre-01 +// bit version: 8.7.5-pre-03-pre-01 // https://github.com/bitfoundation/bitplatform/tree/develop/src/Bswup self.assetsInclude = []; diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj index d9064b89e4..347de9022e 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Windows/Boilerplate.Client.Windows.csproj @@ -17,11 +17,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props index 8c3e3cbb55..5dadffb533 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Build.props @@ -1,4 +1,4 @@ - + diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index 89f70b506f..8f181445df 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj index 29808cf55e..bada172976 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj index 9311ed6c1b..5ed5493434 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Careers/src/Directory.Build.props b/src/Websites/Careers/src/Directory.Build.props index b933dd0477..7312070e8f 100644 --- a/src/Websites/Careers/src/Directory.Build.props +++ b/src/Websites/Careers/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index 2a36f458d0..2ecadd33ec 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -24,16 +24,16 @@ - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj index 29c1459804..2b98d59614 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj index 9311ed6c1b..5ed5493434 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Platform/src/Directory.Build.props b/src/Websites/Platform/src/Directory.Build.props index 36e90a40e4..6bd1f534ac 100644 --- a/src/Websites/Platform/src/Directory.Build.props +++ b/src/Websites/Platform/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index 76e7dbd19a..cedb65ded6 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -24,15 +24,15 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj index b55b4d8269..d812df5cf8 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj index 9311ed6c1b..5ed5493434 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj @@ -6,11 +6,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Websites/Sales/src/Directory.Build.props b/src/Websites/Sales/src/Directory.Build.props index 7bc2653da1..0d46692b40 100644 --- a/src/Websites/Sales/src/Directory.Build.props +++ b/src/Websites/Sales/src/Directory.Build.props @@ -1,4 +1,4 @@ - + 12.0 From ff82216775ce897d937a0c4a7605ab9ef60da234 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Tue, 30 Jan 2024 20:01:20 +0330 Subject: [PATCH 23/50] feat(websites): add Butil's Clipboard docs to Platform website #6752 (#6757) --- .../Pages/Butil/Butil04CryptoPage.razor | 70 +- .../Pages/Butil/Butil05ClipboardPage.razor | 122 ++ .../Pages/Butil/Butil05ClipboardPage.razor.cs | 103 ++ ...r.scss => Butil05ClipboardPage.razor.scss} | 0 .../Pages/Butil/Butil06ConsolePage.razor | 602 ------- ...rdPage.razor => Butil06KeyboardPage.razor} | 30 +- ....razor.cs => Butil06KeyboardPage.razor.cs} | 4 +- ...or.scss => Butil06KeyboardPage.razor.scss} | 0 .../Pages/Butil/Butil07ConsolePage.razor | 558 +++++++ ...e.razor.cs => Butil07ConsolePage.razor.cs} | 2 +- ...zor.scss => Butil07ConsolePage.razor.scss} | 0 .../Pages/Butil/Butil07StoragePage.razor | 203 --- .../Pages/Butil/Butil08CookiePage.razor | 118 -- .../Pages/Butil/Butil08StoragePage.razor | 191 +++ ...e.razor.cs => Butil08StoragePage.razor.cs} | 2 +- ...zor.scss => Butil08StoragePage.razor.scss} | 0 .../Pages/Butil/Butil09CookiePage.razor | 112 ++ ...ge.razor.cs => Butil09CookiePage.razor.cs} | 2 +- ...azor.scss => Butil09CookiePage.razor.scss} | 0 .../Pages/Butil/Butil10ElementPage.razor | 1447 ----------------- ...oryPage.razor => Butil10HistoryPage.razor} | 14 - ...e.razor.cs => Butil10HistoryPage.razor.cs} | 2 +- ...zor.scss => Butil10HistoryPage.razor.scss} | 0 .../Pages/Butil/Butil11ElementPage.razor | 1365 ++++++++++++++++ ...e.razor.cs => Butil11ElementPage.razor.cs} | 2 +- ...zor.scss => Butil11ElementPage.razor.scss} | 0 ...ndowPage.razor => Butil12WindowPage.razor} | 266 ++- ...ge.razor.cs => Butil12WindowPage.razor.cs} | 2 +- ...azor.scss => Butil12WindowPage.razor.scss} | 0 ...ntPage.razor => Butil13DocumentPage.razor} | 28 +- ....razor.cs => Butil13DocumentPage.razor.cs} | 2 +- ...or.scss => Butil13DocumentPage.razor.scss} | 0 .../Pages/Butil/Butil13NavigatorPage.razor | 382 ----- .../Pages/Butil/Butil14LocationPage.razor | 363 ----- .../Pages/Butil/Butil14NavigatorPage.razor | 354 ++++ ...razor.cs => Butil14NavigatorPage.razor.cs} | 2 +- ...r.scss => Butil14NavigatorPage.razor.scss} | 0 .../Pages/Butil/Butil15LocationPage.razor | 339 ++++ ....razor.cs => Butil15LocationPage.razor.cs} | 2 +- ...or.scss => Butil15LocationPage.razor.scss} | 0 .../Pages/Butil/Butil15ScreenPage.razor | 216 --- .../Pages/Butil/Butil16ScreenPage.razor | 202 +++ ...ge.razor.cs => Butil16ScreenPage.razor.cs} | 2 +- .../Pages/Butil/Butil16ScreenPage.razor.scss | 20 + .../Shared/MainLayout.razor.cs | 1 + .../compilerconfig.json | 50 +- 46 files changed, 3591 insertions(+), 3589 deletions(-) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.cs rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil05KeyboardPage.razor.scss => Butil05ClipboardPage.razor.scss} (100%) delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil05KeyboardPage.razor => Butil06KeyboardPage.razor} (65%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil05KeyboardPage.razor.cs => Butil06KeyboardPage.razor.cs} (88%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil06ConsolePage.razor.scss => Butil06KeyboardPage.razor.scss} (100%) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil06ConsolePage.razor.cs => Butil07ConsolePage.razor.cs} (99%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil07StoragePage.razor.scss => Butil07ConsolePage.razor.scss} (100%) delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil07StoragePage.razor.cs => Butil08StoragePage.razor.cs} (99%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil08CookiePage.razor.scss => Butil08StoragePage.razor.scss} (100%) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil08CookiePage.razor.cs => Butil09CookiePage.razor.cs} (98%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil09HistoryPage.razor.scss => Butil09CookiePage.razor.scss} (100%) delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil09HistoryPage.razor => Butil10HistoryPage.razor} (95%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil09HistoryPage.razor.cs => Butil10HistoryPage.razor.cs} (98%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil11WindowPage.razor.scss => Butil10HistoryPage.razor.scss} (100%) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil10ElementPage.razor.cs => Butil11ElementPage.razor.cs} (99%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil10ElementPage.razor.scss => Butil11ElementPage.razor.scss} (100%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil11WindowPage.razor => Butil12WindowPage.razor} (62%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil11WindowPage.razor.cs => Butil12WindowPage.razor.cs} (98%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil12DocumentPage.razor.scss => Butil12WindowPage.razor.scss} (100%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil12DocumentPage.razor => Butil13DocumentPage.razor} (86%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil12DocumentPage.razor.cs => Butil13DocumentPage.razor.cs} (94%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil13NavigatorPage.razor.scss => Butil13DocumentPage.razor.scss} (100%) delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil13NavigatorPage.razor.cs => Butil14NavigatorPage.razor.cs} (99%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil14LocationPage.razor.scss => Butil14NavigatorPage.razor.scss} (100%) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil14LocationPage.razor.cs => Butil15LocationPage.razor.cs} (99%) rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil15ScreenPage.razor.scss => Butil15LocationPage.razor.scss} (100%) delete mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor rename src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/{Butil15ScreenPage.razor.cs => Butil16ScreenPage.razor.cs} (99%) create mode 100644 src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor index 8397c9c78a..49ab5c49b1 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil04CryptoPage.razor @@ -36,25 +36,23 @@ (MDN).

- - - -
-                                @encryptExampleCode
+                
+                    
+                        
+                            @encryptExampleCode
                             
-
- -
- -
- Encrypt -
-
-
Encrypted text: @encryptedText
-
-
-
- + + +
+ +
+ Encrypt +
+
+
Encrypted text: @encryptedText
+
+
+

@@ -63,28 +61,26 @@ (MDN).

- - - -
-                                @decryptExampleCode
+                
+                    
+                        
+                            @decryptExampleCode
                             
-
- -
- -
- Decrypt -
-
-
Decrypted text: @decryptedText
-
-
-
- + + +
+ +
+ Decrypt +
+
+
Decrypted text: @decryptedText
+
+
+
- + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor new file mode 100644 index 0000000000..eb0e61cea9 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor @@ -0,0 +1,122 @@ +@page "/butil/clipboard" +@inherits AppComponentBase +@inject Bit.Butil.Clipboard clipboard + + + +
+ Clipboard +
+ + How to use the Clipboard class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser Clipboard features you need to inject the Bit.Butil.Clipboard class and use it like this: +
+@@inject Bit.Butil.Clipboard clipboard
+
+@@code {
+    var text = await clipboard.ReadText();
+}
+
+
+ +
+ Methods +
+
+ ReadText:
+ Requests text from the system clipboard, returning a Promise that is fulfilled with + a string containing the clipboard's text once it's available + (MDN). +

+ + + +
@readTextExampleCode
+
+ +
+ ReadText +

+
Clipboard text: "@clipboardText"
+
+
+
+

+ + WriteText:
+ Requests text from the system clipboard, returning a Promise that is fulfilled with + a string containing the clipboard's text once it's available + (MDN). +

+ + + +
@writeTextExampleCode
+
+ +
+ +
+ WriteText +
+
+
+

+ Read:
+ Requests arbitrary data (such as images) from the clipboard, returning a Promise that + resolves with an array of ClipboardItem objects containing the clipboard's contents + (MDN). +

+ + + +
@readExampleCode
+
+ +
+ Read +

+ @foreach (var item in clipboardItems) + { +
Clipboard MimeType: "@item.MimeType"
+
Clipboard Data: "@System.Text.Encoding.UTF8.GetString(item.Data)"
+
+
+ } +
+
+
+

+ + Write:
+ Writes arbitrary data to the system clipboard, returning a Promise + that resolves when the operation completes + (MDN). +

+ + + +
@writeExampleCode
+
+ +
+ +
+ Write +
+
+
+

+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.cs new file mode 100644 index 0000000000..cb0b009cfb --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.cs @@ -0,0 +1,103 @@ +using Bit.Butil; + +namespace Bit.Websites.Platform.Client.Pages.Butil; + +public partial class Butil05ClipboardPage +{ + private string clipboardText = string.Empty; + private string newClipboardText = string.Empty; + private ClipboardItem[] clipboardItems = []; + private string newText = string.Empty; + + private async Task ReadText() + { + clipboardText = await clipboard.ReadText(); + } + + private async Task WriteText() + { + await clipboard.WriteText(newClipboardText); + } + + private async Task Read() + { + clipboardItems = await clipboard.Read(); + } + + private async Task Write() + { + var data = System.Text.Encoding.UTF8.GetBytes(newText); + var item = new ClipboardItem() { MimeType = "text/plain", Data = data }; + await clipboard.Write([item]); + } + + private string readTextExampleCode = +@"@inject Bit.Butil.Clipboard clipboard + +ReadText + +
Clipboard text: @clipboardText
+ +@code { + private string clipboardText = string.Empty; + + private async Task ReadText() + { + clipboardText = await clipboard.ReadText(); + } +}"; + + private string writeTextExampleCode = +@"@inject Bit.Butil.Clipboard clipboard + + + +WriteText + +@code { + private string newClipboardText = string.Empty; + + private async Task WriteText() + { + await clipboard.WriteText(newClipboardText); + } +}"; + + private string readExampleCode = +@"@inject Bit.Butil.Clipboard clipboard + +Read + +@foreach (var item in clipboardItems) +{ +
Clipboard MimeType: ""@item.MimeType""
+
Clipboard Data: ""@System.Text.Encoding.UTF8.GetString(item.Data)""
+} + +@code { + private ClipboardItem[] clipboardItems = []; + + private async Task Read() + { + clipboardItems = await clipboard.Read(); + } +}"; + + private string writeExampleCode = +@"@inject Bit.Butil.Clipboard clipboard + + + +Write + +@code { + private string newText = string.Empty; + + private async Task Write() + { + var data = System.Text.Encoding.UTF8.GetBytes(newText); + var item = new ClipboardItem() { MimeType = ""text/plain"", Data = data }; + await clipboard.Write([item]); + } +}"; +} diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05ClipboardPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor deleted file mode 100644 index 33bb63fad5..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor +++ /dev/null @@ -1,602 +0,0 @@ -@page "/butil/console" -@inherits AppComponentBase -@inject Bit.Butil.Console console - - - -
- Console -
- - How to use the Console class of the bit Butil? - -
- -
- Usage -
- To use the browser console features you need to inject the Bit.Butil.Console class and use it like this: -
-@@inject Bit.Butil.Console console
-
-@@code {
-    console.Log("This is a test log:", value);
-    console.Error("This is a test error:", value);
-    console.Assert(condition, "The condition failed!", value);
-}
-
-
- -
- Methods -
-
- Assert:
- Log a message and stack trace to console if the first argument is false - (MDN). -

- - - - -
-                                @assertExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Assert -
-
-
-
-
-

- - Count:
- Log the number of times this line has been called with the given label - (MDN). -

- - - - -
-                                @countExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Count -
-
-
-
-
-

- - CountReset:
- Resets the value of the counter with the given label - (MDN). -

- - - - -
-                                @countResetExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- CountReset -
-
-
-
-
-

- - Debug:
- Outputs a message to the console with the log level debug - (MDN). -

- - - - -
-                                @debugExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Debug -
-
-
-
-
-

- - Dir:
- Displays an interactive listing of the properties of a specified JavaScript object - (MDN). -

- - - - -
-                                @dirExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Dir -
-
-
-
-
-

- - Dirxml:
- Displays an XML/HTML Element representation of the specified object if possible or the JavaScript Object view if it is not possible - (MDN). -

- - - - -
-                                @dirxmlExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Dirxml -
-
-
-
-
-

- - Error:
- Outputs an error message. You may use string substitution and additional arguments with this method - (MDN). -

- - - - -
-                                @errorExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Error -
-
-
-
-
-

- - Group:
- Creates a new inline group, indenting all following output by another level. To move back out a level, call console.groupEnd() - (MDN). -

- - - - -
-                                @groupExampleCode
-                            
-
- -
-
Open the DevTools console and start clicking on the button
-
- Create group logs -
-
-
-
-
-

- - GroupCollapsed:
- Creates a new inline group, indenting all following output by another level. However, unlike console.group() this starts with the inline group collapsed requiring the use of a disclosure button to expand it. To move back out a level, call console.groupEnd() - (MDN). -

- - - - -
-                                @groupExampleCode
-                            
-
- -
-
Open the DevTools console and start clicking on the button
-
- Create group logs -
-
-
-
-
-

- - GroupEnd:
- Exits the current inline group - (MDN). -

- - - - -
-                                @groupExampleCode
-                            
-
- -
-
Open the DevTools console and start clicking on the button
-
- Create group logs -
-
-
-
-
-

- - Info:
- Informative logging of information. You may use string substitution and additional arguments with this method - (MDN). -

- - - - -
-                                @infoExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Info -
-
-
-
-
-

- - Log:
- For general output of logging information. You may use string substitution and additional arguments with this method - (MDN). -

- - - - -
-                                @logExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Log -
-
-
-
-
-

- - Warn:
- Outputs a warning message - (MDN). -

- - - - -
-                                @warnExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Warn -
-
-
-
-
-

- - Table:
- Displays tabular data as a table - (MDN). -

- - - - -
-                                @tableExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Table -
-
-
-
-
-

- - Profile:
- Starts the browser's built-in profiler (for example, the Firefox performance tool). You can specify an optional name for the profile - (MDN). -

- - - - -
-                                @profileExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Profile -
-
-
-
-
-

- - ProfileEnd:
- Stops the profiler. You can see the resulting profile in the browser's performance tool (for example, the Firefox performance tool) - (MDN). -

- - - - -
-                                @profileEndExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- ProfileEnd -
-
-
-
-
-

- - Time:
- Starts a timer with a name specified as an input parameter. Up to 10,000 simultaneous timers can run on a given page - (MDN). -

- - - - -
-                                @timeExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Time -
-
-
-
-
-

- - TimeLog:
- Logs the value of the specified timer to the console - (MDN). -

- - - - -
-                                @timeLogExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- TimeLog -
-
-
-
-
-

- - TimeEnd:
- Stops the specified timer and logs the elapsed time in milliseconds since it started - (MDN). -

- - - - -
-                                @timeEndExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- TimeEnd -
-
-
-
-
-

- - TimeStamp:
- Adds a marker to the browser performance tool's timeline - (MDN). -

- - - - -
-                                @timeStampExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- TimeStamp -
-
-
-
-
-

- - Trace:
- Outputs a stack trace - (MDN). -

- - - - -
-                                @traceExampleCode
-                            
-
- -
- -
-
Open the DevTools console and start clicking on the button
-
- Trace -
-
-
-
-
-

- - Clear:
- Clear the console - (MDN). -

- - - - -
-                                @clearExampleCode
-                            
-
- -
-
Open the DevTools console and start clicking on the button
-
- Clear -
-
-
-
-
-
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor similarity index 65% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor index a5754af2a3..1d5775fd50 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor @@ -36,25 +36,23 @@ Adds/Removes a handler to a keyboard key combination.

- - - -
-                                @addExampleCode
+                
+                    
+                        
+                            @addExampleCode
                             
-
- -
-
Press Ctrl+F to focus on search box
-
- -
-
-
- + + +
+
Press Ctrl+F to focus on search box
+
+ +
+
+ - + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor.cs similarity index 88% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor.cs index 4b1ab7471f..331eb0c8cf 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil05KeyboardPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil05KeyboardPage +public partial class Butil06KeyboardPage { private BitSearchBox searchBox = default!; @@ -14,7 +14,7 @@ protected override async Task OnInitAsync() private string addExampleCode = -@"@inject Bit.Butil.Document document +@"@inject Bit.Butil.Keyboard keyboard
Press Ctrl+F to focus on search box
diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06KeyboardPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor new file mode 100644 index 0000000000..3dc75f586d --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor @@ -0,0 +1,558 @@ +@page "/butil/console" +@inherits AppComponentBase +@inject Bit.Butil.Console console + + + +
+ Console +
+ + How to use the Console class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser console features you need to inject the Bit.Butil.Console class and use it like this: +
+@@inject Bit.Butil.Console console
+
+@@code {
+    console.Log("This is a test log:", value);
+    console.Error("This is a test error:", value);
+    console.Assert(condition, "The condition failed!", value);
+}
+
+
+ +
+ Methods +
+
+ Assert:
+ Log a message and stack trace to console if the first argument is false + (MDN). +

+ + + +
+                            @assertExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Assert +
+
+
+
+

+ + Count:
+ Log the number of times this line has been called with the given label + (MDN). +

+ + + +
+                            @countExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Count +
+
+
+
+

+ + CountReset:
+ Resets the value of the counter with the given label + (MDN). +

+ + + +
+                            @countResetExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ CountReset +
+
+
+
+

+ + Debug:
+ Outputs a message to the console with the log level debug + (MDN). +

+ + + +
+                            @debugExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Debug +
+
+
+
+

+ + Dir:
+ Displays an interactive listing of the properties of a specified JavaScript object + (MDN). +

+ + + +
+                            @dirExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Dir +
+
+
+
+

+ + Dirxml:
+ Displays an XML/HTML Element representation of the specified object if possible or the JavaScript Object view if it is not possible + (MDN). +

+ + + +
+                            @dirxmlExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Dirxml +
+
+
+
+

+ + Error:
+ Outputs an error message. You may use string substitution and additional arguments with this method + (MDN). +

+ + + +
+                            @errorExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Error +
+
+
+
+

+ + Group:
+ Creates a new inline group, indenting all following output by another level. To move back out a level, call console.groupEnd() + (MDN). +

+ + + +
+                            @groupExampleCode
+                            
+
+ +
+
Open the DevTools console and start clicking on the button
+
+ Create group logs +
+
+
+
+

+ + GroupCollapsed:
+ Creates a new inline group, indenting all following output by another level. However, unlike console.group() this starts with the inline group collapsed requiring the use of a disclosure button to expand it. To move back out a level, call console.groupEnd() + (MDN). +

+ + + +
+                            @groupExampleCode
+                            
+
+ +
+
Open the DevTools console and start clicking on the button
+
+ Create group logs +
+
+
+
+

+ + GroupEnd:
+ Exits the current inline group + (MDN). +

+ + + +
+                            @groupExampleCode
+                            
+
+ +
+
Open the DevTools console and start clicking on the button
+
+ Create group logs +
+
+
+
+

+ + Info:
+ Informative logging of information. You may use string substitution and additional arguments with this method + (MDN). +

+ + + +
+                            @infoExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Info +
+
+
+
+

+ + Log:
+ For general output of logging information. You may use string substitution and additional arguments with this method + (MDN). +

+ + + +
+                            @logExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Log +
+
+
+
+

+ + Warn:
+ Outputs a warning message + (MDN). +

+ + + +
+                            @warnExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Warn +
+
+
+
+

+ + Table:
+ Displays tabular data as a table + (MDN). +

+ + + +
+                            @tableExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Table +
+
+
+
+

+ + Profile:
+ Starts the browser's built-in profiler (for example, the Firefox performance tool). You can specify an optional name for the profile + (MDN). +

+ + + +
+                            @profileExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Profile +
+
+
+
+

+ + ProfileEnd:
+ Stops the profiler. You can see the resulting profile in the browser's performance tool (for example, the Firefox performance tool) + (MDN). +

+ + + +
+                            @profileEndExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ ProfileEnd +
+
+
+
+

+ + Time:
+ Starts a timer with a name specified as an input parameter. Up to 10,000 simultaneous timers can run on a given page + (MDN). +

+ + + +
+                            @timeExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Time +
+
+
+
+

+ + TimeLog:
+ Logs the value of the specified timer to the console + (MDN). +

+ + + +
+                            @timeLogExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ TimeLog +
+
+
+
+

+ + TimeEnd:
+ Stops the specified timer and logs the elapsed time in milliseconds since it started + (MDN). +

+ + + +
+                            @timeEndExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ TimeEnd +
+
+
+
+

+ + TimeStamp:
+ Adds a marker to the browser performance tool's timeline + (MDN). +

+ + + +
+                            @timeStampExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ TimeStamp +
+
+
+
+

+ + Trace:
+ Outputs a stack trace + (MDN). +

+ + + +
+                            @traceExampleCode
+                            
+
+ +
+ +
+
Open the DevTools console and start clicking on the button
+
+ Trace +
+
+
+
+

+ + Clear:
+ Clear the console + (MDN). +

+ + + +
+                            @clearExampleCode
+                            
+
+ +
+
Open the DevTools console and start clicking on the button
+
+ Clear +
+
+
+
+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor.cs index 24f2c4072d..e828ae06c5 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil06ConsolePage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor.cs @@ -1,6 +1,6 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil06ConsolePage +public partial class Butil07ConsolePage { private string value = "Test"; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07ConsolePage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor deleted file mode 100644 index de5a8144f4..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor +++ /dev/null @@ -1,203 +0,0 @@ -@page "/butil/storage" -@inherits AppComponentBase -@inject Bit.Butil.LocalStorage localStorage -@inject Bit.Butil.SessionStorage sessionStorage - - - -
- Storage -
- - How to use the Storage class of the bit Butil? - -
- -
- Usage -
- To use the browser storage features you need to inject the Bit.Butil.Storage class and use it like this: -
-@@inject Bit.Butil.LocalStorage localStorage
-@@inject Bit.Butil.SessionStorage sessionStorage
-
-@@code {
-    await localStorage.SetItem("my-key", "my-value");
-    await sessionStorage.SetItem("my-key2", "my-value2");
-}
-
-
- -
- Methods -
-
- GetLength:
- Returns an integer representing the number of data items stored in the Storage object - (MDN). -

- - - - -
-                                @getLengthExampleCode
-                            
-
- -
- GetLength -
-
-
LocalStorage length: @localLength
-
-
SessionStorage length: @sessionLength
-
-
-
-
-
-

- - GetKey:
- When passed a number n, this method will return the name of the nth key in the storage - (MDN). -

- - - - -
-                                @getKeyExampleCode
-                            
-
- -
- -
- GetKey -
-
-
LocalStorage key: @localKey
-
-
SessionStorage key: @sessionKey
-
-
-
-
-
-

- - GetItem:
- When passed a key name, will return that key's value - (MDN). -

- - - - -
-                                @getItemExampleCode
-                            
-
- -
- -
- -
-
- GetItem -
-
-
LocalStorage item: @currentLocalItem
-
-
SessionStorage item: @currentSessionItem
-
-
-
-
-
-

- - SetItem:
- When passed a key name and value, will add that key to the storage, or update that key's value if it already exists - (MDN). -

- - - - -
-                                @setItemExampleCode
-                            
-
- -
- -
- -
-
- SetItem -
-
-
-
-
-

- - RemoveItem:
- When passed a key name, will remove that key from the storage - (MDN). -

- - - - -
-                                @removeItemExampleCode
-                            
-
- -
- -
- -
-
- RemoveItem -
-
-
-
-
-

- - Clear:
- When invoked, will empty all keys out of the storage - (MDN). -

- - - - -
-                                @clearItemExampleCode
-                            
-
- -
- Clear -
-
-
-
-
-
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor deleted file mode 100644 index de4d1b4d32..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor +++ /dev/null @@ -1,118 +0,0 @@ -@page "/butil/cookie" -@inherits AppComponentBase -@inject Bit.Butil.Cookie cookie - - - -
- Cookie -
- - How to use the Cookie class of the bit Butil? - -
- -
- Usage -
- To use the browser cookie features you need to inject the Bit.Butil.Cookie class and use it like this: -
-@@inject Bit.Butil.Cookie cookie
-
-@@code {
-    await cookie.Remove("cookie-name");
-}
-
-
- -
- Methods -
-
- Set, Get:
- Gets/Sets a cookie by providing the cookie name - (MDN). -

- - - - -
-                                @cookieExampleCode
-                            
-
- -
- -
- -
- SetCookie -
-
-
- -
- GetCookie -
-
-
Cookie value: @currentCookieValue
-
-
-
-
-
-

- - GetAll:
- Gets all cookies registered on the current document. -

- - - - -
-                                @cookiesExampleCode
-                            
-
- -
- GetAllCookies -
-
-
Cookies: @currentCookies
-
-
-
-
-
-

- - Remove:
- Removes a cookie by providing the its name. -

- - - - -
-                                @removeExampleCode
-                            
-
- -
- -
- RemoveCookie -
-
-
-
-
-
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor new file mode 100644 index 0000000000..785006d0f0 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor @@ -0,0 +1,191 @@ +@page "/butil/storage" +@inherits AppComponentBase +@inject Bit.Butil.LocalStorage localStorage +@inject Bit.Butil.SessionStorage sessionStorage + + + +
+ Storage +
+ + How to use the Storage class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser storage features you need to inject the Bit.Butil.Storage class and use it like this: +
+@@inject Bit.Butil.LocalStorage localStorage
+@@inject Bit.Butil.SessionStorage sessionStorage
+
+@@code {
+    await localStorage.SetItem("my-key", "my-value");
+    await sessionStorage.SetItem("my-key2", "my-value2");
+}
+
+
+ +
+ Methods +
+
+ GetLength:
+ Returns an integer representing the number of data items stored in the Storage object + (MDN). +

+ + + +
+                            @getLengthExampleCode
+                            
+
+ +
+ GetLength +
+
+
LocalStorage length: @localLength
+
+
SessionStorage length: @sessionLength
+
+
+
+
+

+ + GetKey:
+ When passed a number n, this method will return the name of the nth key in the storage + (MDN). +

+ + + +
+                            @getKeyExampleCode
+                            
+
+ +
+ +
+ GetKey +
+
+
LocalStorage key: @localKey
+
+
SessionStorage key: @sessionKey
+
+
+
+
+

+ + GetItem:
+ When passed a key name, will return that key's value + (MDN). +

+ + + +
+                            @getItemExampleCode
+                            
+
+ +
+ +
+ +
+
+ GetItem +
+
+
LocalStorage item: @currentLocalItem
+
+
SessionStorage item: @currentSessionItem
+
+
+
+
+

+ + SetItem:
+ When passed a key name and value, will add that key to the storage, or update that key's value if it already exists + (MDN). +

+ + + +
+                            @setItemExampleCode
+                            
+
+ +
+ +
+ +
+
+ SetItem +
+
+
+
+

+ + RemoveItem:
+ When passed a key name, will remove that key from the storage + (MDN). +

+ + + +
+                            @removeItemExampleCode
+                            
+
+ +
+ +
+ +
+
+ RemoveItem +
+
+
+
+

+ + Clear:
+ When invoked, will empty all keys out of the storage + (MDN). +

+ + + +
+                            @clearItemExampleCode
+                            
+
+ +
+ Clear +
+
+
+
+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor.cs index 892461e9ec..f956c67b40 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil07StoragePage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor.cs @@ -1,6 +1,6 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil07StoragePage +public partial class Butil08StoragePage { private string? localLength; private string? sessionLength; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08StoragePage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor new file mode 100644 index 0000000000..4518721287 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor @@ -0,0 +1,112 @@ +@page "/butil/cookie" +@inherits AppComponentBase +@inject Bit.Butil.Cookie cookie + + + +
+ Cookie +
+ + How to use the Cookie class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser cookie features you need to inject the Bit.Butil.Cookie class and use it like this: +
+@@inject Bit.Butil.Cookie cookie
+
+@@code {
+    await cookie.Remove("cookie-name");
+}
+
+
+ +
+ Methods +
+
+ Set, Get:
+ Gets/Sets a cookie by providing the cookie name + (MDN). +

+ + + +
+                            @cookieExampleCode
+                            
+
+ +
+ +
+ +
+ SetCookie +
+
+
+ +
+ GetCookie +
+
+
Cookie value: @currentCookieValue
+
+
+
+
+

+ + GetAll:
+ Gets all cookies registered on the current document. +

+ + + +
+                            @cookiesExampleCode
+                            
+
+ +
+ GetAllCookies +
+
+
Cookies: @currentCookies
+
+
+
+
+

+ + Remove:
+ Removes a cookie by providing the its name. +

+ + + +
+                            @removeExampleCode
+                            
+
+ +
+ +
+ RemoveCookie +
+
+
+
+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor.cs similarity index 98% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor.cs index 9dc6ac15d4..e6734e2b73 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil08CookiePage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil08CookiePage +public partial class Butil09CookiePage { private string? newCookieName; private string? newCookieValue; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09CookiePage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor deleted file mode 100644 index f86e0de53e..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor +++ /dev/null @@ -1,1447 +0,0 @@ -@page "/butil/element" -@inherits AppComponentBase - - - -
- Element -
- - How to use the Element class of the bit Butil? - -
- -
- Usage -
- To use the browser Element features you need to inject the Bit.Butil.Element class and use it like this: -
-@@inject Bit.Butil.Element element
-
-...
-<div @@ref="elementRef">Element</div>
-...
-
-@@code {
-    private ElementReference elementRef;
-    ...
-    var rect = await element.GetBoundingClientRect(elementRef);
-    // or
-    var rect = await elementRef.GetBoundingClientRect();
-    ...
-}
-
-
- -
- Methods -
-
- GetAttribute:
- Retrieves the value of the named attribute from the current node and returns it as a string - (MDN). -

- - - - -
-                                @getAttributeExampleCode
-                            
-
- -
-
- Element -
-
- -
- GetAttribute -
-
-
Attribute: @currentAttribute
-
-
-
-
-
-

- - GetAttributeNames:
- Returns an array of attribute names from the current element - (MDN). -

- - - - -
-                                @getAttributeNamesExampleCode
-                            
-
- -
-
- Element -
-
- GetAttributeNames -
-
-
Attribute names: @currentAttributeNames
-
-
-
-
-
-

- - GetBoundingClientRect:
- Returns the size of an element and its position relative to the viewport - (MDN). -

- - - - -
-                                @getBoundingClientRectExampleCode
-                            
-
- -
-
- Element -
-
- GetBoundingClientRect -
-
-
Bounding client rect: @currentBoundingClientRect
-
-
-
-
-
-

- - HasAttribute:
- Returns a boolean value indicating if the element has the specified attribute or not - (MDN). -

- - - - -
-                                @hasAttributeExampleCode
-                            
-
- -
-
- Element -
-
- -
- GetHasAttribute -
-
-
Has attribute: @hasAttribute
-
-
-
-
-
-

- - HasAttributes:
- Returns a boolean value indicating if the element has one or more HTML attributes present - (MDN). -

- - - - -
-                                @hasAttributesExampleCode
-                            
-
- -
-
- Element -
-
- GetHasAttributes -
-
-
Has attributes: @hasAttributes
-
-
-
-
-
-

- - SetPointerCapture:
- Designates a specific element as the capture target of future pointer events - (MDN). -


- - HasPointerCapture:
- Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID - (MDN). -


- - ReleasePointerCapture:
- Releases (stops) pointer capture that was previously set for a specific pointer event - (MDN). -


- - RequestPointerLock:
- Allows to asynchronously ask for the pointer to be locked on the given element - (MDN). -

- - - - -
-                                @requestPointerLockExampleCode
-                            
-
- -
-
- Element -
-
- - RequestPointerLock - -
-
-
-
-
-

- - RequestFullScreen:
- Asynchronously asks the browser to make the element fullscreen - (MDN). -

- - - - -
-                                @requestFullScreenExampleCode
-                            
-
- -
-
- Element -
-
- RequestFullScreen -
-
-
-
-
-

- - Matches:
- Returns a boolean value indicating whether or not the element would be selected by the specified selector string - (MDN). -

- - - - -
-                                @matchesExampleCode
-                            
-
- -
-
- Element -
-
- -
- Matches -
-
-
Matches: @matches
-
-
-
-
-
-

- - Scroll:
- Scrolls to a particular set of coordinates inside a given element - (MDN). -

- - - - -
-                                @scrollExampleCode
-                            
-
- -
-
-
Element
-
-
- -
- -
- - - - - -
- Scroll -
-
-
-
-
-

- - ScrollBy:
- Scrolls an element by the given amount - (MDN). -

- - - - -
-                                @scrollByExampleCode
-                            
-
- -
-
-
Element
-
-
- -
- -
- - - - - -
- ScrollBy -
-
-
-
-
-

- - ScrollIntoView:
- Scrolls the page until the element gets into the view - (MDN). -

- - - - -
-                                @scrollIntoViewExampleCode
-                            
-
- -
-
- Element -
-
- - - - - - -
- - - - - - -
- - - - - -
- ScrollIntoView -
-
-
-
-
-

- - RemoveAttribute:
- Removes the named attribute from the current node - (MDN). -

- - - - -
-                                @removeAttributeExampleCode
-                            
-
- -
-
- Element -
-
- -
- RemoveAttribute -
-
-
-
-
-

- - SetAttribute:
- Sets the value of a named attribute of the current node - (MDN). -

- - - - -
-                                @setAttributeExampleCode
-                            
-
- -
-
- Element -
-
- -
- -
- SetAttribute -
-
-
-
-
-

- - ToggleAttribute:
- Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element - (MDN). -

- - - - -
-                                @toggleAttributeExampleCode
-                            
-
- -
-
- Element -
-
- -
- -
- ToggleAttribute -
-
-
-
-
-

- - SetAccessKey, GetAccessKey:
- Gets/Sets a string representing the access key assigned to the element - (MDN). -

- - - - -
-                                @accessKeyExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetAccessKey -   - GetAccessKey -
-
-
Access key: @currentAccessKey
-
-
-
-
-
-

- - SetClassName, GetClassName:
- Gets/Sets a string representing the class of the element - (MDN). -

- - - - -
-                                @classNameExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetClassName -   - GetClassName -
-
-
ClassName: @currentClassName
-
-
-
-
-
-

- - GetClientHeight:
- Returns a number representing the inner height of the element in px - (MDN). -

- - - - -
-                                @getClientHeightExampleCode
-                            
-
- -
-
- Element -
-
- GetClientHeight -
-
-
ClientHeight: @currentClientHeight
-
-
-
-
-
-

- - GetClientLeft:
- Returns a number representing the width of the left border of the element in px - (MDN). -

- - - - -
-                                @getClientLeftExampleCode
-                            
-
- -
-
- Element -
-
- GetClientLeft -
-
-
ClientLeft: @currentClientLeft
-
-
-
-
-
-

- - GetClientTop:
- Returns a number representing the width of the top border of the element in px - (MDN). -

- - - - -
-                                @getClientTopExampleCode
-                            
-
- -
-
- Element -
-
- GetClientTop -
-
-
ClientTop: @currentClientTop
-
-
-
-
-
-

- - GetClientWidth:
- Returns a number representing the inner width of the element in px - (MDN). -

- - - - -
-                                @getClientWidthExampleCode
-                            
-
- -
-
- Element -
-
- GetClientWidth -
-
-
ClientWidth: @currentClientWidth
-
-
-
-
-
-

- - SetId, GetId:
- Gets/Sets a string representing the id of the element - (MDN). -

- - - - -
-                                @idExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetId -   - GetId -
-
-
Id: @currentId
-
-
-
-
-
-

- - SetInnerHTML, GetInnerHTML:
- Gets/Sets a string representing the markup of the element's content - (MDN). -

- - - - -
-                                @innerHTMLExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetInnerHTML -   - GetInnerHTML -
-
-
InnerHTML: @currentInnerHTML
-
-
-
-
-
-

- - SetOuterHtml, GetOuterHtml:
- Gets/Sets a string representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string - (MDN). -

- - - - -
-                                @outerHTMLExampleCode
-                            
-
- -
-
- Element -
-
- GetOuterHTML -
-
-
OuterHTML: @currentOuterHTML
-
-
-
-
-
-

- - GetScrollHeight:
- Returns a number representing the scroll view height of an element - (MDN). -

- - - - -
-                                @getScrollHeightExampleCode
-                            
-
- -
-
-
Element
-
-
- GetScrollHeight -
-
-
ScrollHeight: @currentScrollHeight
-
-
-
-
-
-

- - GetScrollLeft:
- A number representing the left scroll offset of the element - (MDN). -

- - - - -
-                                @getScrollLeftExampleCode
-                            
-
- -
-
-
Element
-
-
- GetScrollLeft -
-
-
ScrollLeft: @currentScrollLeft
-
-
-
-
-
-

- - GetScrollTop:
- A number representing number of pixels the top of the element is scrolled vertically - (MDN). -

- - - - -
-                                @getScrollTopExampleCode
-                            
-
- -
-
-
Element
-
-
- GetScrollTop -
-
-
ScrollTop: @currentScrollTop
-
-
-
-
-
-

- - GetScrollWidth:
- Returns a number representing the scroll view width of the element - (MDN). -

- - - - -
-                                @getScrollWidthExampleCode
-                            
-
- -
-
-
Element
-
-
- GetScrollWidth -
-
-
ScrollWidth: @currentScrollWidth
-
-
-
-
-
-

- - GetTagName:
- Returns a string with the name of the tag for the given element - (MDN). -

- - - - -
-                                @getTagNameExampleCode
-                            
-
- -
-
- Element -
-
- GetTagName -
-
-
TagName: @currentTagName
-
-
-
-
-
-

- - IsContentEditable:
- Returns a boolean value indicating whether or not the content of the element can be edited - (MDN). -

- - - - -
-                                @isContentEditableExampleCode
-                            
-
- -
-
- Element -
-
- GetIsContentEditable -
-
-
Is content editable: @isContentEditable
-
-
-
-
-
-

- - SetContentEditable, GetContentEditable:
- Gets/Sets the contentEditable property, which specifies whether or not the element is editable - (MDN). -

- - - - -
-                                @contentEditableExampleCode
-                            
-
- -
-
- Element -
-
- - - - - - -
- SetContentEditable -   - GetContentEditable -
-
-
ContentEditable: @currentContentEditable
-
-
-
-
-
-

- - SetDir, GetDir:
- Gets/Sets the text writing directionality of the content of the current element - (MDN). -

- - - - -
-                                @dirExampleCode
-                            
-
- -
-
- Element -
-
- - - - - - -
- SetDir -   - GetDir -
-
-
Dir: @currentDir
-
-
-
-
-
-

- - SetEnterKeyHint, GetEnterKeyHint:
- Gets/Sets the enterKeyHint property, which is an enumerated property defining what action label (or icon) to present for the enter key on virtual keyboards - (MDN). -

- - - - -
-                                @enterKeyHintExampleCode
-                            
-
- -
- -
-
- - - - - - - - - - -
- SetEnterKeyHint -   - GetEnterKeyHint -
-
-
EnterKeyHint: @currentEnterKeyHint
-
-
-
-
-
-

- - SetHidden, GetHidden:
- Gets/Sets the hidden property, which reflects the value of the element's hidden attribute - (MDN). -


- - SetInert, GetInert:
- Gets/Sets the inert property, which reflects the value of the element's inert attribute. It is a boolean value that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies - (MDN). -

- - - - -
-                                @inertExampleCode
-                            
-
- -
-
-
Element
-
-
- -
- SetInert -   - GetInert -
-
-
Inert: @currentInert
-
-
-
-
-
-

- - SetInnerText, GetInnerText:
- Gets/Sets the innerText property, which represents the rendered text content of a node and its descendants - (MDN). -

- - - - -
-                                @innerTextExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetInnerText -   - GetInnerText -
-
-
InnerText: @currentInnerText
-
-
-
-
-
-

- - SetInputMode, GetInputMode:
- Gets/Sets the inputMode property, which reflects the value of the element's inputmode attribute - (MDN). -

- - - - -
-                                @inputModeExampleCode
-                            
-
- -
- -
-
- - - - - - - - - - - -
- SetInputMode -   - GetInputMode -
-
-
InputMode: @currentInputMode
-
-
-
-
-
-

- - SetTabIndex, GetTabIndex:
- Gets/Sets a number representing the position of the element in the tabbing order - (MDN). -

- - - - -
-                                @tabIndexExampleCode
-                            
-
- -
-
- Element -
-
- -
- SetTabIndex -   - GetTabIndex -
-
-
TabIndex: @currentTabIndex
-
-
-
-
-
-

- - GetOffsetHeight:
- Returns the height of an element, including vertical padding and borders in px - (MDN). -

- - - - -
-                                @getOffsetHeightExampleCode
-                            
-
- -
-
- Element -
-
- GetOffsetHeight -
-
-
OffsetHeight: @currentOffsetHeight
-
-
-
-
-
-

- - GetOffsetLeft:
- Returns the number of pixels that the upper left corner of the current element is offset to the left within the offsetParent node - (MDN). -

- - - - -
-                                @getOffsetLeftExampleCode
-                            
-
- -
-
- Element -
-
- GetOffsetLeft -
-
-
OffsetLeft: @currentOffsetLeft
-
-
-
-
-
-

- - GetOffsetTop:
- Returns the distance from the outer border of the current element (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element - (MDN). -

- - - - -
-                                @getOffsetTopExampleCode
-                            
-
- -
-
- Element -
-
- GetOffsetTop -
-
-
OffsetTop: @currentOffsetTop
-
-
-
-
-
-

- - GetOffsetWidth:
- The layout width of an element in px - (MDN). -

- - - - -
-                                @getOffsetWidthExampleCode
-                            
-
- -
-
- Element -
-
- GetOffsetWidth -
-
-
OffsetWidth: @currentOffsetWidth
-
-
-
-
-
-

- - Blur:
- Removes keyboard focus from the currently focused element - (MDN). -

- - - - -
-                                @blurExampleCode
-                            
-
- -
- -
-
- Blur -
-
-
-
-
-

- - Remove:
- Removes the element from the children list of its parent - (MDN). -
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor similarity index 95% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor index c154eb095b..b549099198 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor @@ -36,7 +36,6 @@ (MDN).

-
@@ -52,7 +51,6 @@
                             
-

@@ -61,7 +59,6 @@ (MDN).

-
@@ -76,7 +73,6 @@
                             
-

@@ -90,7 +86,6 @@ (MDN).

-
@@ -103,7 +98,6 @@
                             
-

@@ -113,7 +107,6 @@ (MDN).

-
@@ -126,7 +119,6 @@
                             
-

@@ -136,7 +128,6 @@ (MDN).

-
@@ -151,7 +142,6 @@
                             
-

@@ -160,7 +150,6 @@ (MDN).

-
@@ -175,7 +164,6 @@
                             
-

@@ -184,7 +172,6 @@ (MDN).

-
@@ -199,7 +186,6 @@
                             
-

diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor.cs similarity index 98% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor.cs index 56175a10e3..6da6bef066 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil09HistoryPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil09HistoryPage +public partial class Butil10HistoryPage { private string? historyLength; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10HistoryPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor new file mode 100644 index 0000000000..31a0bf23b6 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor @@ -0,0 +1,1365 @@ +@page "/butil/element" +@inherits AppComponentBase + + + +
+ Element +
+ + How to use the Element class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser Element features you need to inject the Bit.Butil.Element class and use it like this: +
+@@inject Bit.Butil.Element element
+
+...
+<div @@ref="elementRef">Element</div>
+...
+
+@@code {
+    private ElementReference elementRef;
+    ...
+    var rect = await element.GetBoundingClientRect(elementRef);
+    // or
+    var rect = await elementRef.GetBoundingClientRect();
+    ...
+}
+
+
+ +
+ Methods +
+
+ GetAttribute:
+ Retrieves the value of the named attribute from the current node and returns it as a string + (MDN). +

+ + + +
+                            @getAttributeExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ GetAttribute +
+
+
Attribute: @currentAttribute
+
+
+
+
+

+ + GetAttributeNames:
+ Returns an array of attribute names from the current element + (MDN). +

+ + + +
+                            @getAttributeNamesExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetAttributeNames +
+
+
Attribute names: @currentAttributeNames
+
+
+
+
+

+ + GetBoundingClientRect:
+ Returns the size of an element and its position relative to the viewport + (MDN). +

+ + + +
+                            @getBoundingClientRectExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetBoundingClientRect +
+
+
Bounding client rect: @currentBoundingClientRect
+
+
+
+
+

+ + HasAttribute:
+ Returns a boolean value indicating if the element has the specified attribute or not + (MDN). +

+ + + +
+                            @hasAttributeExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ GetHasAttribute +
+
+
Has attribute: @hasAttribute
+
+
+
+
+

+ + HasAttributes:
+ Returns a boolean value indicating if the element has one or more HTML attributes present + (MDN). +

+ + + +
+                            @hasAttributesExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetHasAttributes +
+
+
Has attributes: @hasAttributes
+
+
+
+
+

+ + SetPointerCapture:
+ Designates a specific element as the capture target of future pointer events + (MDN). +


+ + HasPointerCapture:
+ Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID + (MDN). +


+ + ReleasePointerCapture:
+ Releases (stops) pointer capture that was previously set for a specific pointer event + (MDN). +


+ + RequestPointerLock:
+ Allows to asynchronously ask for the pointer to be locked on the given element + (MDN). +

+ + + +
+                            @requestPointerLockExampleCode
+                            
+
+ +
+
+ Element +
+
+ + RequestPointerLock + +
+
+
+
+

+ + RequestFullScreen:
+ Asynchronously asks the browser to make the element fullscreen + (MDN). +

+ + + +
+                            @requestFullScreenExampleCode
+                            
+
+ +
+
+ Element +
+
+ RequestFullScreen +
+
+
+
+

+ + Matches:
+ Returns a boolean value indicating whether or not the element would be selected by the specified selector string + (MDN). +

+ + + +
+                            @matchesExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ Matches +
+
+
Matches: @matches
+
+
+
+
+

+ + Scroll:
+ Scrolls to a particular set of coordinates inside a given element + (MDN). +

+ + + +
+                            @scrollExampleCode
+                            
+
+ +
+
+
Element
+
+
+ +
+ +
+ + + + + +
+ Scroll +
+
+
+
+

+ + ScrollBy:
+ Scrolls an element by the given amount + (MDN). +

+ + + +
+                            @scrollByExampleCode
+                            
+
+ +
+
+
Element
+
+
+ +
+ +
+ + + + + +
+ ScrollBy +
+
+
+
+

+ + ScrollIntoView:
+ Scrolls the page until the element gets into the view + (MDN). +

+ + + +
+                            @scrollIntoViewExampleCode
+                            
+
+ +
+
+ Element +
+
+ + + + + + +
+ + + + + + +
+ + + + + +
+ ScrollIntoView +
+
+
+
+

+ + RemoveAttribute:
+ Removes the named attribute from the current node + (MDN). +

+ + + +
+                            @removeAttributeExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ RemoveAttribute +
+
+
+
+

+ + SetAttribute:
+ Sets the value of a named attribute of the current node + (MDN). +

+ + + +
+                            @setAttributeExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ +
+ SetAttribute +
+
+
+
+

+ + ToggleAttribute:
+ Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element + (MDN). +

+ + + +
+                            @toggleAttributeExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ +
+ ToggleAttribute +
+
+
+
+

+ + SetAccessKey, GetAccessKey:
+ Gets/Sets a string representing the access key assigned to the element + (MDN). +

+ + + +
+                            @accessKeyExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetAccessKey +   + GetAccessKey +
+
+
Access key: @currentAccessKey
+
+
+
+
+

+ + SetClassName, GetClassName:
+ Gets/Sets a string representing the class of the element + (MDN). +

+ + + +
+                            @classNameExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetClassName +   + GetClassName +
+
+
ClassName: @currentClassName
+
+
+
+
+

+ + GetClientHeight:
+ Returns a number representing the inner height of the element in px + (MDN). +

+ + + +
+                            @getClientHeightExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetClientHeight +
+
+
ClientHeight: @currentClientHeight
+
+
+
+
+

+ + GetClientLeft:
+ Returns a number representing the width of the left border of the element in px + (MDN). +

+ + + +
+                            @getClientLeftExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetClientLeft +
+
+
ClientLeft: @currentClientLeft
+
+
+
+
+

+ + GetClientTop:
+ Returns a number representing the width of the top border of the element in px + (MDN). +

+ + + +
+                            @getClientTopExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetClientTop +
+
+
ClientTop: @currentClientTop
+
+
+
+
+

+ + GetClientWidth:
+ Returns a number representing the inner width of the element in px + (MDN). +

+ + + +
+                            @getClientWidthExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetClientWidth +
+
+
ClientWidth: @currentClientWidth
+
+
+
+
+

+ + SetId, GetId:
+ Gets/Sets a string representing the id of the element + (MDN). +

+ + + +
+                            @idExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetId +   + GetId +
+
+
Id: @currentId
+
+
+
+
+

+ + SetInnerHTML, GetInnerHTML:
+ Gets/Sets a string representing the markup of the element's content + (MDN). +

+ + + +
+                            @innerHTMLExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetInnerHTML +   + GetInnerHTML +
+
+
InnerHTML: @currentInnerHTML
+
+
+
+
+

+ + SetOuterHtml, GetOuterHtml:
+ Gets/Sets a string representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string + (MDN). +

+ + + +
+                            @outerHTMLExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetOuterHTML +
+
+
OuterHTML: @currentOuterHTML
+
+
+
+
+

+ + GetScrollHeight:
+ Returns a number representing the scroll view height of an element + (MDN). +

+ + + +
+                            @getScrollHeightExampleCode
+                            
+
+ +
+
+
Element
+
+
+ GetScrollHeight +
+
+
ScrollHeight: @currentScrollHeight
+
+
+
+
+

+ + GetScrollLeft:
+ A number representing the left scroll offset of the element + (MDN). +

+ + + +
+                            @getScrollLeftExampleCode
+                            
+
+ +
+
+
Element
+
+
+ GetScrollLeft +
+
+
ScrollLeft: @currentScrollLeft
+
+
+
+
+

+ + GetScrollTop:
+ A number representing number of pixels the top of the element is scrolled vertically + (MDN). +

+ + + +
+                            @getScrollTopExampleCode
+                            
+
+ +
+
+
Element
+
+
+ GetScrollTop +
+
+
ScrollTop: @currentScrollTop
+
+
+
+
+

+ + GetScrollWidth:
+ Returns a number representing the scroll view width of the element + (MDN). +

+ + + +
+                            @getScrollWidthExampleCode
+                            
+
+ +
+
+
Element
+
+
+ GetScrollWidth +
+
+
ScrollWidth: @currentScrollWidth
+
+
+
+
+

+ + GetTagName:
+ Returns a string with the name of the tag for the given element + (MDN). +

+ + + +
+                            @getTagNameExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetTagName +
+
+
TagName: @currentTagName
+
+
+
+
+

+ + IsContentEditable:
+ Returns a boolean value indicating whether or not the content of the element can be edited + (MDN). +

+ + + +
+                            @isContentEditableExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetIsContentEditable +
+
+
Is content editable: @isContentEditable
+
+
+
+
+

+ + SetContentEditable, GetContentEditable:
+ Gets/Sets the contentEditable property, which specifies whether or not the element is editable + (MDN). +

+ + + +
+                            @contentEditableExampleCode
+                            
+
+ +
+
+ Element +
+
+ + + + + + +
+ SetContentEditable +   + GetContentEditable +
+
+
ContentEditable: @currentContentEditable
+
+
+
+
+

+ + SetDir, GetDir:
+ Gets/Sets the text writing directionality of the content of the current element + (MDN). +

+ + + +
+                            @dirExampleCode
+                            
+
+ +
+
+ Element +
+
+ + + + + + +
+ SetDir +   + GetDir +
+
+
Dir: @currentDir
+
+
+
+
+

+ + SetEnterKeyHint, GetEnterKeyHint:
+ Gets/Sets the enterKeyHint property, which is an enumerated property defining what action label (or icon) to present for the enter key on virtual keyboards + (MDN). +

+ + + +
+                            @enterKeyHintExampleCode
+                            
+
+ +
+ +
+
+ + + + + + + + + + +
+ SetEnterKeyHint +   + GetEnterKeyHint +
+
+
EnterKeyHint: @currentEnterKeyHint
+
+
+
+
+

+ + SetHidden, GetHidden:
+ Gets/Sets the hidden property, which reflects the value of the element's hidden attribute + (MDN). +


+ + SetInert, GetInert:
+ Gets/Sets the inert property, which reflects the value of the element's inert attribute. It is a boolean value that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies + (MDN). +

+ + + +
+                            @inertExampleCode
+                            
+
+ +
+
+
Element
+
+
+ +
+ SetInert +   + GetInert +
+
+
Inert: @currentInert
+
+
+
+
+

+ + SetInnerText, GetInnerText:
+ Gets/Sets the innerText property, which represents the rendered text content of a node and its descendants + (MDN). +

+ + + +
+                            @innerTextExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetInnerText +   + GetInnerText +
+
+
InnerText: @currentInnerText
+
+
+
+
+

+ + SetInputMode, GetInputMode:
+ Gets/Sets the inputMode property, which reflects the value of the element's inputmode attribute + (MDN). +

+ + + +
+                            @inputModeExampleCode
+                            
+
+ +
+ +
+
+ + + + + + + + + + + +
+ SetInputMode +   + GetInputMode +
+
+
InputMode: @currentInputMode
+
+
+
+
+

+ + SetTabIndex, GetTabIndex:
+ Gets/Sets a number representing the position of the element in the tabbing order + (MDN). +

+ + + +
+                            @tabIndexExampleCode
+                            
+
+ +
+
+ Element +
+
+ +
+ SetTabIndex +   + GetTabIndex +
+
+
TabIndex: @currentTabIndex
+
+
+
+
+

+ + GetOffsetHeight:
+ Returns the height of an element, including vertical padding and borders in px + (MDN). +

+ + + +
+                            @getOffsetHeightExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetOffsetHeight +
+
+
OffsetHeight: @currentOffsetHeight
+
+
+
+
+

+ + GetOffsetLeft:
+ Returns the number of pixels that the upper left corner of the current element is offset to the left within the offsetParent node + (MDN). +

+ + + +
+                            @getOffsetLeftExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetOffsetLeft +
+
+
OffsetLeft: @currentOffsetLeft
+
+
+
+
+

+ + GetOffsetTop:
+ Returns the distance from the outer border of the current element (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element + (MDN). +

+ + + +
+                            @getOffsetTopExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetOffsetTop +
+
+
OffsetTop: @currentOffsetTop
+
+
+
+
+

+ + GetOffsetWidth:
+ The layout width of an element in px + (MDN). +

+ + + +
+                            @getOffsetWidthExampleCode
+                            
+
+ +
+
+ Element +
+
+ GetOffsetWidth +
+
+
OffsetWidth: @currentOffsetWidth
+
+
+
+
+

+ + Blur:
+ Removes keyboard focus from the currently focused element + (MDN). +

+ + + +
+                            @blurExampleCode
+                            
+
+ +
+ +
+
+ Blur +
+
+
+
+

+ + Remove:
+ Removes the element from the children list of its parent + (MDN). +
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor.cs index 5f66e8bb0f..4bb578d545 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil10ElementPage +public partial class Butil11ElementPage { private string? attributeName; private string? currentAttribute; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil10ElementPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11ElementPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor similarity index 62% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor index 47bc8bfb63..fb1d8a6864 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor @@ -50,23 +50,21 @@ (MDN).

- - - -
-                                @getOriginExampleCode
+                
+                    
+                        
+                            @getOriginExampleCode
                             
-
- -
- GetInnerHeight -
-
-
InnerHeight is: @innerHeight
-
-
-
- + + +
+ GetInnerHeight +
+
+
InnerHeight is: @innerHeight
+
+
+

@@ -75,23 +73,21 @@ (MDN).

- - - -
-                                @getOriginExampleCode
+                
+                    
+                        
+                            @getOriginExampleCode
                             
-
- -
- GetInnerWidth -
-
-
InnerWidth is: @innerWidth
-
-
-
- + + +
+ GetInnerWidth +
+
+
InnerWidth is: @innerWidth
+
+
+

@@ -115,23 +111,21 @@ (MDN).

- - - -
-                                @getOriginExampleCode
+                
+                    
+                        
+                            @getOriginExampleCode
                             
-
- -
- GetOrigin -
-
-
Origin is: @origin
-
-
-
- + + +
+ GetOrigin +
+
+
Origin is: @origin
+
+
+

@@ -140,23 +134,21 @@ (MDN).

- - - -
-                                @getOuterHeightExampleCode
+                
+                    
+                        
+                            @getOuterHeightExampleCode
                             
-
- -
- GetOuterHeight -
-
-
OuterHeight is: @outerHeight
-
-
-
- + + +
+ GetOuterHeight +
+
+
OuterHeight is: @outerHeight
+
+
+

@@ -165,23 +157,21 @@ (MDN).

- - - -
-                                @getOuterWidthExampleCode
+                
+                    
+                        
+                            @getOuterWidthExampleCode
                             
-
- -
- GetOuterWidth -
-
-
OuterWidth is: @outerWidth
-
-
-
- + + +
+ GetOuterWidth +
+
+
OuterWidth is: @outerWidth
+
+
+

@@ -210,25 +200,23 @@ (MDN).

- - - -
-                                @btoaExampleCode
+                
+                    
+                        
+                            @btoaExampleCode
                             
-
- -
- -
- EncodeData -
-
-
Encoded data is: @btoaText
-
-
-
- + + +
+ +
+ EncodeData +
+
+
Encoded data is: @btoaText
+
+
+

@@ -237,25 +225,23 @@ (MDN).

- - - -
-                                @atobExampleCode
+                
+                    
+                        
+                            @atobExampleCode
                             
-
- -
- -
- DecodeData -
-
-
Decoded text is: @atobText
-
-
-
- + + +
+ +
+ DecodeData +
+
+
Decoded text is: @atobText
+
+
+

@@ -264,20 +250,18 @@ (MDN).

- - - -
-                                @alertExampleCode
+                
+                    
+                        
+                            @alertExampleCode
                             
-
- -
- ShowAlert -
-
-
- + + +
+ ShowAlert +
+
+

@@ -296,20 +280,18 @@ (MDN).

- - - -
-                                @confirmExampleCode
+                
+                    
+                        
+                            @confirmExampleCode
                             
-
- -
- ShowConfirm -
-
-
- + + +
+ ShowConfirm +
+
+

diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor.cs similarity index 98% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor.cs index d86d3a18f0..009c8246f9 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil11WindowPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor.cs @@ -1,6 +1,6 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil11WindowPage +public partial class Butil12WindowPage { private float innerHeight; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12WindowPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor similarity index 86% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor index bcfeda86c2..80d68d38c1 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor @@ -62,22 +62,20 @@ (MDN).

- - - -
-                                @designModeExampleCode
+                
+                    
+                        
+                            @designModeExampleCode
                             
-
- -
- -
- SetDesignMode -
-
-
- + + +
+ +
+ SetDesignMode +
+
+

diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor.cs similarity index 94% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor.cs index d5e921a875..a00f91c9d2 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil12DocumentPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil12DocumentPage +public partial class Butil13DocumentPage { private bool isDesignModeOn; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13DocumentPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor deleted file mode 100644 index b965b90d61..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor +++ /dev/null @@ -1,382 +0,0 @@ -@page "/butil/navigator" -@inherits AppComponentBase -@inject Bit.Butil.Navigator navigator - - - -
- Navigator -
- - How to use the Navigator class of the bit Butil? - -
- -
- Usage -
- To use the browser navigator features you need to inject the Bit.Butil.Navigator class and use it like this: -
-@@inject Bit.Butil.Navigator navigator
-
-@@code {
-    var userAgent = await navigator.GetUserAgent();
-}
-
-
- -
- Methods -
-
- GetDeviceMemory:
- Returns the amount of device memory in gigabytes. This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024 - (MDN). -

- - - - -
-                                @getDeviceMemoryExampleCode
-                            
-
- -
- GetDeviceMemory -
-
-
Device memory is: @deviceMemory
-
-
-
-
-
-

- - GetHardwareConcurrency:
- Returns the number of logical processor cores available - (MDN). -

- - - - -
-                                @getHardwareConcurrencyExampleCode
-                            
-
- -
- GetHardwareConcurrency -
-
-
Hardware concurrency is: @hardwareConcurrency
-
-
-
-
-
-

- - GetLanguage:
- Returns a string representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown - (MDN). -

- - - - -
-                                @getLanguageExampleCode
-                            
-
- -
- GetLanguage -
-
-
Language: @language
-
-
-
-
-
-

- - GetLanguages:
- Returns an array of strings representing the languages known to the user, by order of preference - (MDN). -

- - - - -
-                                @getLanguagesExampleCode
-                            
-
- -
- GetLanguages -
-
-
Languages: @languages
-
-
-
-
-
-

- - GetMaxTouchPoints:
- Returns the maximum number of simultaneous touch contact points are supported by the current device - (MDN). -

- - - - -
-                                @getMaxTouchPointsExampleCode
-                            
-
- -
- GetMaxTouchPoints -
-
-
Max touch points: @maxTouchPoints
-
-
-
-
-
-

- - IsOnLine:
- Returns a boolean value indicating whether the browser is working online - (MDN). -

- - - - -
-                                @isOnLineExampleCode
-                            
-
- -
- GetIsOnLine -
-
-
Is OnLine: @isOnLine
-
-
-
-
-
-

- - IsPdfViewerEnabled:
- Returns true if the browser can display PDF files inline when navigating to them, and false otherwise - (MDN). -

- - - - -
-                                @isPdfViewerEnabledExampleCode
-                            
-
- -
- GetIsPdfViewerEnabled -
-
-
Is Pdf viewer enabled: @isPdfViewerEnabled
-
-
-
-
-
-

- - GetUserAgent:
- Returns the user agent string for the current browser - (MDN). -

- - - - -
-                                @getUserAgentExampleCode
-                            
-
- -
- GetUserAgent -
-
-
User agent: @userAgent
-
-
-
-
-
-

- - IsWebDriver:
- Indicates whether the user agent is controlled by automation - (MDN). -


- - CanShare:
- Returns true if a call to navigator.Share() would succeed - (MDN). -

- - - - -
-                                @canShareExampleCode
-                            
-
- -
- GetCanShare -
-
-
Can share: @canShare
-
-
-
-
-
-

- - ClearAppBadge:
- Clears a badge on the current app's icon and returns a Promise that resolves with undefined - (MDN). -

- - - - -
-                                @clearAppBadgeExampleCode
-                            
-
- -
- ClearAppBadge -
-
-
-
-
-

- - SendBeacon:
- Used to asynchronously transfer a small amount of data using HTTP from the User Agent to a web server - (MDN). -

- - - - -
-                                @sendBeaconExampleCode
-                            
-
- -
- SendBeacon -
-
-
-
-
-

- - SetAppBadge:
- Sets a badge on the icon associated with this app and returns a Promise that resolves with undefined - (MDN). -

- - - - -
-                                @setAppBadgeExampleCode
-                            
-
- -
- SetAppBadge -
-
-
-
-
-

- - Share:
- Invokes the native sharing mechanism of the current platform - (MDN). -

- - - - -
-                                @shareExampleCode
-                            
-
- -
- -
- -
- -
- Share -
-
-
-
-
-

- - Vibrate:
- Causes vibration on devices with support for it. Does nothing if vibration support isn't available - (MDN). -

- - - - -
-                                @vibrateExampleCode
-                            
-
- -
- Vibrate -
-
-
-
-
-
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor deleted file mode 100644 index 58f59afa4c..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor +++ /dev/null @@ -1,363 +0,0 @@ -@page "/butil/location" -@inherits AppComponentBase -@inject Bit.Butil.Location location - - - -
- Location -
- - How to use the Location class of the bit Butil? - -
- -
- Usage -
- To use the browser location features you need to inject the Bit.Butil.Location class and use it like this: -
-@@inject Bit.Butil.Location location
-
-@@code {
-    await location.Reload();
-}
-
-
- -
- Methods -
-
- SetHref, GetHref:
- Gets/Sets the href of the location and then the associated document navigates to the new page - (MDN). -

- - - - -
-                                @hrefExampleCode
-                            
-
- -
- -
- SetHref -   - GetHref -
-
-
Href: @currentHref
-
-
-
-
-
-

- - SetProtocol, GetProtocol:
- Gets/Sets a string containing the protocol scheme of the URL, including the final ':' - (MDN). -

- - - - -
-                                @protocolExampleCode
-                            
-
- -
- -
- SetProtocol -   - GetProtocol -
-
-
Protocol: @currentProtocol
-
-
-
-
-
-

- - SetHost, GetHost:
- Gets/Sets a string containing the host, that is the hostname, a ':', and the port of the URL - (MDN). -

- - - - -
-                                @hostExampleCode
-                            
-
- -
- -
- SetHost -   - GetHost -
-
-
Host: @currentHost
-
-
-
-
-
-

- - SetHostname, GetHostname:
- Gets/Sets the hostname of the location and then the associated document navigates to the new page - (MDN). -

- - - - -
-                                @hostnameExampleCode
-                            
-
- -
- -
- SetHostname -   - GetHostname -
-
-
Hostname: @currentHostname
-
-
-
-
-
-

- - SetPort, GetPort:
- Gets/Sets the port of the location and then the associated document navigates to the new page - (MDN). -

- - - - -
-                                @portExampleCode
-                            
-
- -
- -
- SetPort -   - GetPort -
-
-
Port: @currentPort
-
-
-
-
-
-

- - SetPathname, GetPathname:
- Gets/Sets a string containing an initial '/' followed by the path of the URL, not including the query string or fragment - (MDN). -

- - - - -
-                                @pathnameExampleCode
-                            
-
- -
- -
- SetPathname -   - GetPathname -
-
-
Pathname: @currentPathname
-
-
-
-
-
-

- - SetSearch, GetSearch:
- Gets/Sets a string containing a '#' followed by the fragment identifier of the URL - (MDN). -

- - - - -
-                                @searchExampleCode
-                            
-
- -
- -
- SetSearch -   - GetSearch -
-
-
Search: @currentSearch
-
-
-
-
-
-

- - SetHash, GetHash:
- Gets/Sets the hash of the location and then the associated document navigates to the new page - (MDN). -

- - - - -
-                                @hashExampleCode
-                            
-
- -
- -
- SetHash -   - GetHash -
-
-
Hash: @currentHash
-
-
-
-
-
-

- - GetOrigin:
- Returns a string containing the canonical form of the origin of the specific location - (MDN). -

- - - - -
-                                @originExampleCode
-                            
-
- -
- GetOrigin -
-
-
Origin: @currentOrigin
-
-
-
-
-
-

- - Assign:
- Loads the resource at the URL provided in parameter - (MDN). -

- - - - -
-                                @assignExampleCode
-                            
-
- -
- -
- Assign -
-
-
-
-
-

- - Reload:
- Reloads the current URL, like the Refresh button - (MDN). -

- - - - -
-                                @reloadExampleCode
-                            
-
- -
- Reload -
-
-
-
-
-

- - Replace:
- Replaces the current resource with the one at the provided URL (redirects to the provided URL) - (MDN). -

- - - - -
-                                @replaceExampleCode
-                            
-
- -
- -
- Replace -
-
-
-
-
-
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor new file mode 100644 index 0000000000..5a2bcb9a57 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor @@ -0,0 +1,354 @@ +@page "/butil/navigator" +@inherits AppComponentBase +@inject Bit.Butil.Navigator navigator + + + +
+ Navigator +
+ + How to use the Navigator class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser navigator features you need to inject the Bit.Butil.Navigator class and use it like this: +
+@@inject Bit.Butil.Navigator navigator
+
+@@code {
+    var userAgent = await navigator.GetUserAgent();
+}
+
+
+ +
+ Methods +
+
+ GetDeviceMemory:
+ Returns the amount of device memory in gigabytes. This value is an approximation given by rounding to the nearest power of 2 and dividing that number by 1024 + (MDN). +

+ + + +
+                            @getDeviceMemoryExampleCode
+                            
+
+ +
+ GetDeviceMemory +
+
+
Device memory is: @deviceMemory
+
+
+
+
+

+ + GetHardwareConcurrency:
+ Returns the number of logical processor cores available + (MDN). +

+ + + +
+                            @getHardwareConcurrencyExampleCode
+                            
+
+ +
+ GetHardwareConcurrency +
+
+
Hardware concurrency is: @hardwareConcurrency
+
+
+
+
+

+ + GetLanguage:
+ Returns a string representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown + (MDN). +

+ + + +
+                            @getLanguageExampleCode
+                            
+
+ +
+ GetLanguage +
+
+
Language: @language
+
+
+
+
+

+ + GetLanguages:
+ Returns an array of strings representing the languages known to the user, by order of preference + (MDN). +

+ + + +
+                            @getLanguagesExampleCode
+                            
+
+ +
+ GetLanguages +
+
+
Languages: @languages
+
+
+
+
+

+ + GetMaxTouchPoints:
+ Returns the maximum number of simultaneous touch contact points are supported by the current device + (MDN). +

+ + + +
+                            @getMaxTouchPointsExampleCode
+                            
+
+ +
+ GetMaxTouchPoints +
+
+
Max touch points: @maxTouchPoints
+
+
+
+
+

+ + IsOnLine:
+ Returns a boolean value indicating whether the browser is working online + (MDN). +

+ + + +
+                            @isOnLineExampleCode
+                            
+
+ +
+ GetIsOnLine +
+
+
Is OnLine: @isOnLine
+
+
+
+
+

+ + IsPdfViewerEnabled:
+ Returns true if the browser can display PDF files inline when navigating to them, and false otherwise + (MDN). +

+ + + +
+                            @isPdfViewerEnabledExampleCode
+                            
+
+ +
+ GetIsPdfViewerEnabled +
+
+
Is Pdf viewer enabled: @isPdfViewerEnabled
+
+
+
+
+

+ + GetUserAgent:
+ Returns the user agent string for the current browser + (MDN). +

+ + + +
+                            @getUserAgentExampleCode
+                            
+
+ +
+ GetUserAgent +
+
+
User agent: @userAgent
+
+
+
+
+

+ + IsWebDriver:
+ Indicates whether the user agent is controlled by automation + (MDN). +


+ + CanShare:
+ Returns true if a call to navigator.Share() would succeed + (MDN). +

+ + + +
+                            @canShareExampleCode
+                            
+
+ +
+ GetCanShare +
+
+
Can share: @canShare
+
+
+
+
+

+ + ClearAppBadge:
+ Clears a badge on the current app's icon and returns a Promise that resolves with undefined + (MDN). +

+ + + +
+                            @clearAppBadgeExampleCode
+                            
+
+ +
+ ClearAppBadge +
+
+
+
+

+ + SendBeacon:
+ Used to asynchronously transfer a small amount of data using HTTP from the User Agent to a web server + (MDN). +

+ + + +
+                            @sendBeaconExampleCode
+                            
+
+ +
+ SendBeacon +
+
+
+
+

+ + SetAppBadge:
+ Sets a badge on the icon associated with this app and returns a Promise that resolves with undefined + (MDN). +

+ + + +
+                            @setAppBadgeExampleCode
+                            
+
+ +
+ SetAppBadge +
+
+
+
+

+ + Share:
+ Invokes the native sharing mechanism of the current platform + (MDN). +

+ + + +
+                            @shareExampleCode
+                            
+
+ +
+ +
+ +
+ +
+ Share +
+
+
+
+

+ + Vibrate:
+ Causes vibration on devices with support for it. Does nothing if vibration support isn't available + (MDN). +

+ + + +
+                            @vibrateExampleCode
+                            
+
+ +
+ Vibrate +
+
+
+
+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor.cs index 26c4c816b6..c49028930c 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil13NavigatorPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor.cs @@ -2,7 +2,7 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil13NavigatorPage +public partial class Butil14NavigatorPage { private string? deviceMemory; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14NavigatorPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor new file mode 100644 index 0000000000..2041a9e647 --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor @@ -0,0 +1,339 @@ +@page "/butil/location" +@inherits AppComponentBase +@inject Bit.Butil.Location location + + + +
+ Location +
+ + How to use the Location class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser location features you need to inject the Bit.Butil.Location class and use it like this: +
+@@inject Bit.Butil.Location location
+
+@@code {
+    await location.Reload();
+}
+
+
+ +
+ Methods +
+
+ SetHref, GetHref:
+ Gets/Sets the href of the location and then the associated document navigates to the new page + (MDN). +

+ + + +
+                            @hrefExampleCode
+                            
+
+ +
+ +
+ SetHref +   + GetHref +
+
+
Href: @currentHref
+
+
+
+
+

+ + SetProtocol, GetProtocol:
+ Gets/Sets a string containing the protocol scheme of the URL, including the final ':' + (MDN). +

+ + + +
+                            @protocolExampleCode
+                            
+
+ +
+ +
+ SetProtocol +   + GetProtocol +
+
+
Protocol: @currentProtocol
+
+
+
+
+

+ + SetHost, GetHost:
+ Gets/Sets a string containing the host, that is the hostname, a ':', and the port of the URL + (MDN). +

+ + + +
+                            @hostExampleCode
+                            
+
+ +
+ +
+ SetHost +   + GetHost +
+
+
Host: @currentHost
+
+
+
+
+

+ + SetHostname, GetHostname:
+ Gets/Sets the hostname of the location and then the associated document navigates to the new page + (MDN). +

+ + + +
+                            @hostnameExampleCode
+                            
+
+ +
+ +
+ SetHostname +   + GetHostname +
+
+
Hostname: @currentHostname
+
+
+
+
+

+ + SetPort, GetPort:
+ Gets/Sets the port of the location and then the associated document navigates to the new page + (MDN). +

+ + + +
+                            @portExampleCode
+                            
+
+ +
+ +
+ SetPort +   + GetPort +
+
+
Port: @currentPort
+
+
+
+
+

+ + SetPathname, GetPathname:
+ Gets/Sets a string containing an initial '/' followed by the path of the URL, not including the query string or fragment + (MDN). +

+ + + +
+                            @pathnameExampleCode
+                            
+
+ +
+ +
+ SetPathname +   + GetPathname +
+
+
Pathname: @currentPathname
+
+
+
+
+

+ + SetSearch, GetSearch:
+ Gets/Sets a string containing a '#' followed by the fragment identifier of the URL + (MDN). +

+ + + +
+                            @searchExampleCode
+                            
+
+ +
+ +
+ SetSearch +   + GetSearch +
+
+
Search: @currentSearch
+
+
+
+
+

+ + SetHash, GetHash:
+ Gets/Sets the hash of the location and then the associated document navigates to the new page + (MDN). +

+ + + +
+                            @hashExampleCode
+                            
+
+ +
+ +
+ SetHash +   + GetHash +
+
+
Hash: @currentHash
+
+
+
+
+

+ + GetOrigin:
+ Returns a string containing the canonical form of the origin of the specific location + (MDN). +

+ + + +
+                            @originExampleCode
+                            
+
+ +
+ GetOrigin +
+
+
Origin: @currentOrigin
+
+
+
+
+

+ + Assign:
+ Loads the resource at the URL provided in parameter + (MDN). +

+ + + +
+                            @assignExampleCode
+                            
+
+ +
+ +
+ Assign +
+
+
+
+

+ + Reload:
+ Reloads the current URL, like the Refresh button + (MDN). +

+ + + +
+                            @reloadExampleCode
+                            
+
+ +
+ Reload +
+
+
+
+

+ + Replace:
+ Replaces the current resource with the one at the provided URL (redirects to the provided URL) + (MDN). +

+ + + +
+                            @replaceExampleCode
+                            
+
+ +
+ +
+ Replace +
+
+
+
+
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor.cs index 4de1ae04e3..1b87b79a7d 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil14LocationPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor.cs @@ -1,6 +1,6 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil14LocationPage +public partial class Butil15LocationPage { private string? newHref; private string? currentHref; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor.scss similarity index 100% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor.scss rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15LocationPage.razor.scss diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor deleted file mode 100644 index a3463c12b1..0000000000 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor +++ /dev/null @@ -1,216 +0,0 @@ -@page "/butil/screen" -@inherits AppComponentBase -@inject Bit.Butil.Screen screen - - - -
- Screen -
- - How to use the Screen class of the bit Butil? - -
- -
- Usage -
- To use the browser screen features you need to inject the Bit.Butil.Screen class and use it like this: -
-@@inject Bit.Butil.Screen screen
-
-@@code {
-    var screenWidth = await screen.GetWidth();
-}
-
-
- -
- Methods -
-
- GetAvailableHeight:
- Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows - (MDN). -

- - - - -
-                                @getAvailableHeightExampleCode
-                            
-
- -
- GetAvailableHeight -
-
-
Available height: @availableHeight
-
-
-
-
-
-

- - GetAvailableWidth:
- Returns the amount of horizontal space in pixels available to the window - (MDN). -

- - - - -
-                                @getAvailableWidthExampleCode
-                            
-
- -
- GetAvailableWidth -
-
-
Available width: @availableWidth
-
-
-
-
-
-

- - GetColorDepth:
- Returns the color depth of the screen - (MDN). -

- - - - -
-                                @getColorDepthExampleCode
-                            
-
- -
- GetColorDepth -
-
-
Color depth: @colorDepth
-
-
-
-
-
-

- - GetHeight:
- Returns the height of the screen in pixels - (MDN). -

- - - - -
-                                @getHeightExampleCode
-                            
-
- -
- GetHeight -
-
-
Height: @height
-
-
-
-
-
-

- - IsExtended:
- Returns true if the user's device has multiple screens, and false if not - (MDN). -

- - - - -
-                                @getIsExtendedExampleCode
-                            
-
- -
- GetIsExtended -
-
-
Is extended: @isExtended
-
-
-
-
-
-

- - GetPixelDepth:
- Gets the bit depth of the screen - (MDN). -

- - - - -
-                                @getPixelDepthExampleCode
-                            
-
- -
- GetPixelDepth -
-
-
Pixel depth: @pixelDepth
-
-
-
-
-
-

- - GetWidth:
- Returns the width of the screen - (MDN). -

- - - - -
-                                @getWidthExampleCode
-                            
-
- -
- GetWidth -
-
-
Width: @width
-
-
-
-
-
-

- - AddChange, RemoveChange:
- Fired on a specific screen when it changes in some way — width or height, available width or height, color depth, or orientation - (MDN). -
-
-
- - diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor new file mode 100644 index 0000000000..d66180372f --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor @@ -0,0 +1,202 @@ +@page "/butil/screen" +@inherits AppComponentBase +@inject Bit.Butil.Screen screen + + + +
+ Screen +
+ + How to use the Screen class of the bit Butil? + +
+ +
+ Usage +
+ To use the browser screen features you need to inject the Bit.Butil.Screen class and use it like this: +
+@@inject Bit.Butil.Screen screen
+
+@@code {
+    var screenWidth = await screen.GetWidth();
+}
+
+
+ +
+ Methods +
+
+ GetAvailableHeight:
+ Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows + (MDN). +

+ + + +
+                            @getAvailableHeightExampleCode
+                            
+
+ +
+ GetAvailableHeight +
+
+
Available height: @availableHeight
+
+
+
+
+

+ + GetAvailableWidth:
+ Returns the amount of horizontal space in pixels available to the window + (MDN). +

+ + + +
+                            @getAvailableWidthExampleCode
+                            
+
+ +
+ GetAvailableWidth +
+
+
Available width: @availableWidth
+
+
+
+
+

+ + GetColorDepth:
+ Returns the color depth of the screen + (MDN). +

+ + + +
+                            @getColorDepthExampleCode
+                            
+
+ +
+ GetColorDepth +
+
+
Color depth: @colorDepth
+
+
+
+
+

+ + GetHeight:
+ Returns the height of the screen in pixels + (MDN). +

+ + + +
+                            @getHeightExampleCode
+                            
+
+ +
+ GetHeight +
+
+
Height: @height
+
+
+
+
+

+ + IsExtended:
+ Returns true if the user's device has multiple screens, and false if not + (MDN). +

+ + + +
+                            @getIsExtendedExampleCode
+                            
+
+ +
+ GetIsExtended +
+
+
Is extended: @isExtended
+
+
+
+
+

+ + GetPixelDepth:
+ Gets the bit depth of the screen + (MDN). +

+ + + +
+                            @getPixelDepthExampleCode
+                            
+
+ +
+ GetPixelDepth +
+
+
Pixel depth: @pixelDepth
+
+
+
+
+

+ + GetWidth:
+ Returns the width of the screen + (MDN). +

+ + + +
+                            @getWidthExampleCode
+                            
+
+ +
+ GetWidth +
+
+
Width: @width
+
+
+
+
+

+ + AddChange, RemoveChange:
+ Fired on a specific screen when it changes in some way — width or height, available width or height, color depth, or orientation + (MDN). +
+
+
+ + diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.cs similarity index 99% rename from src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor.cs rename to src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.cs index 562b7fcf4a..500f383a06 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil15ScreenPage.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.cs @@ -1,6 +1,6 @@ namespace Bit.Websites.Platform.Client.Pages.Butil; -public partial class Butil15ScreenPage +public partial class Butil16ScreenPage { private string? availableHeight; diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.scss b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.scss new file mode 100644 index 0000000000..7daf60a86e --- /dev/null +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Butil/Butil16ScreenPage.razor.scss @@ -0,0 +1,20 @@ +@import '../../Styles/abstracts/_colors.scss'; +@import '../../Styles/abstracts/_mixins.scss'; +@import '../../Styles/abstracts/_functions.scss'; +@import '../../Styles/abstracts/_media-queries.scss'; + +.page-container { + @include PageContainer; +} + +.section-card { + @include SectionCard; +} + +.section-card-txt { + @include SectionCardText; +} + +.code-box { + @include CodeBox; +} diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs index 7443f3a9aa..c7964a7d51 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Shared/MainLayout.razor.cs @@ -57,6 +57,7 @@ public partial class MainLayout : IDisposable new BitNavItem { Text = "Install", Url = "/butil/install" }, new BitNavItem { Text = "Setup", Url = "/butil/setup" }, new BitNavItem { Text = "Crypto", Url = "/butil/crypto" }, + new BitNavItem { Text = "Clipboard", Url = "/butil/clipboard" }, new BitNavItem { Text = "Keyboard", Url = "/butil/keyboard" }, new BitNavItem { Text = "Console", Url = "/butil/console" }, new BitNavItem { Text = "Storage", Url = "/butil/storage" }, diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/compilerconfig.json b/src/Websites/Platform/src/Bit.Websites.Platform.Client/compilerconfig.json index 7a4e341103..5c5f48fad7 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/compilerconfig.json +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/compilerconfig.json @@ -246,68 +246,74 @@ "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil05KeyboardPage.razor.css", - "inputFile": "Pages/Butil/Butil05KeyboardPage.razor.scss", + "outputFile": "Pages/Butil/Butil05ClipboardPage.razor.css", + "inputFile": "Pages/Butil/Butil05ClipboardPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil06ConsolePage.razor.css", - "inputFile": "Pages/Butil/Butil06ConsolePage.razor.scss", + "outputFile": "Pages/Butil/Butil06KeyboardPage.razor.css", + "inputFile": "Pages/Butil/Butil06KeyboardPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil07StoragePage.razor.css", - "inputFile": "Pages/Butil/Butil07StoragePage.razor.scss", + "outputFile": "Pages/Butil/Butil07ConsolePage.razor.css", + "inputFile": "Pages/Butil/Butil07ConsolePage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil08CookiePage.razor.css", - "inputFile": "Pages/Butil/Butil08CookiePage.razor.scss", + "outputFile": "Pages/Butil/Butil08StoragePage.razor.css", + "inputFile": "Pages/Butil/Butil08StoragePage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil09HistoryPage.razor.css", - "inputFile": "Pages/Butil/Butil09HistoryPage.razor.scss", + "outputFile": "Pages/Butil/Butil09CookiePage.razor.css", + "inputFile": "Pages/Butil/Butil09CookiePage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil10ElementPage.razor.css", - "inputFile": "Pages/Butil/Butil10ElementPage.razor.scss", + "outputFile": "Pages/Butil/Butil10HistoryPage.razor.css", + "inputFile": "Pages/Butil/Butil10HistoryPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil11WindowPage.razor.css", - "inputFile": "Pages/Butil/Butil11WindowPage.razor.scss", + "outputFile": "Pages/Butil/Butil11ElementPage.razor.css", + "inputFile": "Pages/Butil/Butil11ElementPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil12DocumentPage.razor.css", - "inputFile": "Pages/Butil/Butil12DocumentPage.razor.scss", + "outputFile": "Pages/Butil/Butil12WindowPage.razor.css", + "inputFile": "Pages/Butil/Butil12WindowPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil13NavigatorPage.razor.css", - "inputFile": "Pages/Butil/Butil13NavigatorPage.razor.scss", + "outputFile": "Pages/Butil/Butil13DocumentPage.razor.css", + "inputFile": "Pages/Butil/Butil13DocumentPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil14LocationPage.razor.css", - "inputFile": "Pages/Butil/Butil14LocationPage.razor.scss", + "outputFile": "Pages/Butil/Butil14NavigatorPage.razor.css", + "inputFile": "Pages/Butil/Butil14NavigatorPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } }, { - "outputFile": "Pages/Butil/Butil15ScreenPage.razor.css", - "inputFile": "Pages/Butil/Butil15ScreenPage.razor.scss", + "outputFile": "Pages/Butil/Butil15LocationPage.razor.css", + "inputFile": "Pages/Butil/Butil15LocationPage.razor.scss", + "minify": { "enabled": false }, + "options": { "sourceMap": false } + }, + { + "outputFile": "Pages/Butil/Butil16ScreenPage.razor.css", + "inputFile": "Pages/Butil/Butil16ScreenPage.razor.scss", "minify": { "enabled": false }, "options": { "sourceMap": false } } From 8450849ccc114b3d39801b3696f4e1f4ac7669fd Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Tue, 30 Jan 2024 17:32:20 +0100 Subject: [PATCH 24/50] feat(templates): use smtp tls port 587 in boilerplate #6755 (#6756) --- .../Bit.Boilerplate/src/Boilerplate.Server/appsettings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json index f18d5aae2f..22c1d15484 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/appsettings.json @@ -24,7 +24,7 @@ }, "EmailSettings": { "Host": "LocalFolder", // Local folder means storing emails as .eml file in bin/Debug/net8.0/sent-emails folder (Recommended for testing purposes only) instead of sending them using smtp server. - "Port": "25", + "Port": "587", "DefaultFromEmail": "info@Boilerplate.com", "DefaultFromName": "Boilerplate", "UserName": null, From c2c3229740e5106477f8c53c4d37be4e1e344b52 Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Wed, 31 Jan 2024 07:27:59 +0100 Subject: [PATCH 25/50] feat(infra): add WasmBuildNative property to all project files #6750 (#6751) --- .../Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj | 1 + .../Bit.BlazorUI.Demo.Client.Web.csproj | 1 + src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj | 1 + .../Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj | 1 + src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj | 1 + src/Bup/Bit.Bup.Demo/Bit.Bup.Demo.csproj | 1 + src/Bup/FullDemo/Client/Bit.Bup.Demo.Client.csproj | 1 + src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj | 1 + .../Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj | 1 + .../Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj | 1 + .../Bit.Websites.Careers.Client.csproj | 1 + .../Bit.Websites.Platform.Client.csproj | 1 + .../Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj | 1 + 13 files changed, 13 insertions(+) diff --git a/src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj b/src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj index 1119460d81..0c6ae3786a 100644 --- a/src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj +++ b/src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj @@ -6,6 +6,7 @@ enable true Default + true diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj index 6297980afc..b0ed97391c 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj @@ -14,6 +14,7 @@ false true Default + true diff --git a/src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj b/src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj index ca3e06ece3..66d002e1e0 100644 --- a/src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj +++ b/src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj @@ -6,6 +6,7 @@ enable service-worker-assets.js false + true diff --git a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj index a15cb4b613..bcf52ac28e 100644 --- a/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj +++ b/src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj @@ -8,6 +8,7 @@ Default service-worker-assets.js false + true diff --git a/src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj b/src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj index 3b3d93cfc9..f7b5d3c357 100644 --- a/src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj +++ b/src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj @@ -6,6 +6,7 @@ enable service-worker-assets.js false + true diff --git a/src/Bup/Bit.Bup.Demo/Bit.Bup.Demo.csproj b/src/Bup/Bit.Bup.Demo/Bit.Bup.Demo.csproj index dfaa3989c8..bf5f369742 100644 --- a/src/Bup/Bit.Bup.Demo/Bit.Bup.Demo.csproj +++ b/src/Bup/Bit.Bup.Demo/Bit.Bup.Demo.csproj @@ -4,6 +4,7 @@ net8.0 enable enable + true diff --git a/src/Bup/FullDemo/Client/Bit.Bup.Demo.Client.csproj b/src/Bup/FullDemo/Client/Bit.Bup.Demo.Client.csproj index 0157da5296..f225ef5945 100644 --- a/src/Bup/FullDemo/Client/Bit.Bup.Demo.Client.csproj +++ b/src/Bup/FullDemo/Client/Bit.Bup.Demo.Client.csproj @@ -4,6 +4,7 @@ net8.0 enable enable + true diff --git a/src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj b/src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj index 8b2442f929..b51a2d8a13 100644 --- a/src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj +++ b/src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj @@ -4,6 +4,7 @@ net8.0 enable enable + true diff --git a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj index 18a0962b32..ab25df3c88 100644 --- a/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj +++ b/src/Templates/BlazorEmpty/Bit.BlazorEmpty/BlazorEmpty.Client/BlazorEmpty.Client.csproj @@ -8,6 +8,7 @@ enable true Default + true diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index 05fb4ac5a0..332ed71de1 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -17,6 +17,7 @@ true + true diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index 8f181445df..25291ec15a 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -11,6 +11,7 @@ BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) + true diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index 2ecadd33ec..55f569152f 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -11,6 +11,7 @@ BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) + true diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index cedb65ded6..8bdd2182b9 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -11,6 +11,7 @@ BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) + true From 71d9a84e5a1e87fd556125d594c5bb2a79a1ebf5 Mon Sep 17 00:00:00 2001 From: Mohammad Aminsafaei Date: Wed, 31 Jan 2024 14:05:41 +0330 Subject: [PATCH 26/50] feat(blazorui): add clear button to BitDatePicker #6744 (#6760) --- .../Inputs/DatePicker/BitDatePicker.razor | 17 ++++++++++++- .../Inputs/DatePicker/BitDatePicker.razor.cs | 20 ++++++++++++++- .../Inputs/DatePicker/BitDatePicker.scss | 25 +++++++++++++++++++ .../DatePicker/BitDatePickerClassStyles.cs | 10 ++++++++ .../Inputs/DatePicker/BitDatePickerDemo.razor | 2 ++ .../DatePicker/BitDatePickerDemo.razor.cs | 10 +++++++- 6 files changed, 81 insertions(+), 3 deletions(-) diff --git a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DatePicker/BitDatePicker.razor b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DatePicker/BitDatePicker.razor index 32596152c6..f9ae4a580b 100644 --- a/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DatePicker/BitDatePicker.razor +++ b/src/BlazorUI/Bit.BlazorUI/Components/Inputs/DatePicker/BitDatePicker.razor @@ -21,7 +21,8 @@
- + + @if (IsEnabled && ShowClearButton && CurrentValue.HasValue) + { +