From 9b94e5cd5ca781ca4e0dc19d6ad930f41c26ae10 Mon Sep 17 00:00:00 2001 From: Taiizor <41683699+Taiizor@users.noreply.github.com> Date: Tue, 6 Dec 2022 16:48:22 +0300 Subject: [PATCH] Infrastructure Preparation 26 --- ...Taiizor.Essentials.Blazor.Conforyon.csproj | 6 +- .../Extension/Interop.cs | 16 +- .../Resources/Raw/AppCenter.Blazor.js | 88 -- .../Resources/Raw/Conforyon.Blazor.js | 962 -------------- .../Resources/Raw/Custom.Blazor.js | 24 - .../Resources/Raw/None.Blazor.js | 4 - .../Resources/Raw/Taiizor.Blazor.js | 1156 ----------------- .../Taiizor.Essentials.Blazor.csproj | 12 +- .../Value/Internal.cs | 4 +- .../wwwroot/None.Blazor.js | 4 + 10 files changed, 26 insertions(+), 2250 deletions(-) delete mode 100644 src/Taiizor.Essentials.Blazor/Resources/Raw/AppCenter.Blazor.js delete mode 100644 src/Taiizor.Essentials.Blazor/Resources/Raw/Conforyon.Blazor.js delete mode 100644 src/Taiizor.Essentials.Blazor/Resources/Raw/Custom.Blazor.js delete mode 100644 src/Taiizor.Essentials.Blazor/Resources/Raw/None.Blazor.js delete mode 100644 src/Taiizor.Essentials.Blazor/Resources/Raw/Taiizor.Blazor.js create mode 100644 src/Taiizor.Essentials.Blazor/wwwroot/None.Blazor.js diff --git a/src/Taiizor.Essentials.Blazor.Conforyon/Taiizor.Essentials.Blazor.Conforyon.csproj b/src/Taiizor.Essentials.Blazor.Conforyon/Taiizor.Essentials.Blazor.Conforyon.csproj index 3461376..9c696d9 100644 --- a/src/Taiizor.Essentials.Blazor.Conforyon/Taiizor.Essentials.Blazor.Conforyon.csproj +++ b/src/Taiizor.Essentials.Blazor.Conforyon/Taiizor.Essentials.Blazor.Conforyon.csproj @@ -1,7 +1,7 @@  - net5.0;net6.0;net7.0 + net6.0;net7.0 enable enable preview @@ -85,10 +85,6 @@ Changes are detailed at https://github.com/Taiizor/Taiizor.Essentials.Blazor/rel - - - - diff --git a/src/Taiizor.Essentials.Blazor/Extension/Interop.cs b/src/Taiizor.Essentials.Blazor/Extension/Interop.cs index 2682359..569cf12 100644 --- a/src/Taiizor.Essentials.Blazor/Extension/Interop.cs +++ b/src/Taiizor.Essentials.Blazor/Extension/Interop.cs @@ -11,12 +11,24 @@ public class Interop public Interop(IJSRuntime JSR) { - _ = new Interop(JSR, Internal.JavascriptFiles, Internal.IncldueExecute); + HI.CheckRuntime(JSR); + + JS = JSR; } public Interop(IJSRuntime JSR, Dictionary Files) { - _ = new Interop(JSR, Files, Internal.IncldueExecute); + HI.CheckRuntime(JSR); + + JS = JSR; + + foreach (KeyValuePair File in Internal.JavascriptFiles) + { + if (!Files.ContainsKey(File.Key) || Files[File.Key]) + { + _ = Call("eval", Javascript.File(File.Key)); + } + } } public Interop(IJSRuntime JSR, Dictionary Files, bool Execute) diff --git a/src/Taiizor.Essentials.Blazor/Resources/Raw/AppCenter.Blazor.js b/src/Taiizor.Essentials.Blazor/Resources/Raw/AppCenter.Blazor.js deleted file mode 100644 index d27d0a6..0000000 --- a/src/Taiizor.Essentials.Blazor/Resources/Raw/AppCenter.Blazor.js +++ /dev/null @@ -1,88 +0,0 @@ -console.log('%cAppCenter Blazor Javascript has started.', 'color: #1E90FF'); - - -var AppCenter = {}; - - -AppCenter.Track = {}; -AppCenter.Track.Event = {}; -AppCenter.Track.Error = {}; - - -AppCenter.Watch = {}; -AppCenter.Watch.Event = {}; -AppCenter.Watch.Error = {}; - - - -AppCenter.Track.Event.Basic = function (Name) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackEventBasic", Name); -} - -AppCenter.Track.Event.Normal = function (Name, Key, Value) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackEventNormal", Name, Key, Value); -} - -AppCenter.Track.Event.Advanced = function (Name, Properties) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackEventAdvanced", Name, Properties); -} - - -AppCenter.Watch.Event.Basic = function (Name) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchEventBasic", Name); -} - -AppCenter.Watch.Event.Normal = function (Name, Key, Value) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchEventNormal", Name, Key, Value); -} - -AppCenter.Watch.Event.Advanced = function (Name, Properties) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchEventAdvanced", Name, Properties); -} - - - -AppCenter.Track.Error.Basic = function (Exception) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorBasic", Exception); -} - -AppCenter.Track.Error.Normal = function (Exception, Key, Value) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorNormal", Exception, Key, Value); -} - -AppCenter.Track.Error.Advanced = function (Exception, Properties) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorAdvanced", Exception, Properties); -} - -AppCenter.Track.Error.Hard = function (Exception, Properties, Text, TextFile, Image, ImageFile, Extension) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorHard", Exception, Properties, Text, TextFile, Image, ImageFile, Extension); -} - -AppCenter.Track.Error.Expert = function (Exception, Properties, Text, TextFile, Image, ImageFile, Extension) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorExpert", Exception, Properties, Text, TextFile, Image, ImageFile, Extension); -} - -AppCenter.Track.Error.God = function (Exception, Properties, Attachments) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "TrackErrorGod", Exception, Properties, Attachments); -} - - -AppCenter.Watch.Error.Baby = function (Name) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchErrorBaby", Name); -} - -AppCenter.Watch.Error.Basic = function (Exception) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchErrorBasic", Exception); -} - -AppCenter.Watch.Error.Normal = function (Exception, Key, Value) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchErrorNormal", Exception, Key, Value); -} - -AppCenter.Watch.Error.Advanced = function (Exception, Properties) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchErrorAdvanced", Exception, Properties); -} - -AppCenter.Watch.Error.Hard = function (Exception, Properties, Attachments) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Maui.AppCenter", "WatchErrorHard", Exception, Properties, Attachments); -} \ No newline at end of file diff --git a/src/Taiizor.Essentials.Blazor/Resources/Raw/Conforyon.Blazor.js b/src/Taiizor.Essentials.Blazor/Resources/Raw/Conforyon.Blazor.js deleted file mode 100644 index 89a87a0..0000000 --- a/src/Taiizor.Essentials.Blazor/Resources/Raw/Conforyon.Blazor.js +++ /dev/null @@ -1,962 +0,0 @@ -console.log('%cConforyon Blazor Javascript has started.', 'color: #FFC000'); - - -var Conforyon = {}; - - -Conforyon.Clear = false; -Conforyon.Empty = "Empty!"; -Conforyon.Error = "Error!"; - - -Conforyon.Enum = {}; - -Conforyon.Enum.ColorType = { - RGB1: "RGB1", - RGB2: "RGB2", - RGB3: "RGB3", - RRGGBB1: "RRGGBB1", - RRGGBB2: "RRGGBB2", - RRGGBB3: "RRGGBB3", - RR: "RR", - GG: "GG", - BB: "BB", - OnlyR: "OnlyR", - OnlyG: "OnlyG", - OnlyB: "OnlyB" -}; - -Conforyon.Enum.CryptologyType = { - AES: "AES", - MD5: "MD5", - SHA1: "SHA1", - SHA256: "SHA256", - SHA384: "SHA384", - SHA512: "SHA512", - TEXT: "TEXT", - BASE: "BASE" -}; - -Conforyon.Enum.CryptologyCipherMode = { - CBC: "CBC", - ECB: "ECB", - OFB: "OFB", - CFB: "CFB", - CTS: "CTS" -}; - -Conforyon.Enum.HashType = { - MD5: "MD5", - SHA1: "SHA1", - SHA256: "SHA256", - SHA384: "SHA384", - SHA512: "SHA512" -}; - -Conforyon.Enum.LengthType = { - MM: "MM", - CM: "CM", - DM: "DM", - M: "M", - DAM: "DAM", - HM: "HM", - KM: "KM" -}; - -Conforyon.Enum.SpeedType = { - MPH: "MPH", - KPH: "KPH" -}; - -Conforyon.Enum.StorageType = { - Bit: "Bit", - Byte: "Byte", - KB: "KB", - MB: "MB", - GB: "GB", - TB: "TB", - PB: "PB", - EB: "EB", - ZB: "ZB", - YB: "YB" -} - -Conforyon.Enum.TimeType = { - Nanosecond: "Nanosecond", - Microsecond: "Microsecond", - Millisecond: "Millisecond", - Second: "Second", - Minute: "Minute", - Hour: "Hour", - Day: "Day", - Week: "Week", - Year: "Year", - Century: "Century", - Millennium: "Millennium" -} - -Conforyon.Enum.WeightType = { - Milligram: "Milligram", - Gram: "Gram", - KG: "KG" -}; - -Conforyon.Enum.TypographyType = { - INCH: "INCH", - CM: "CM", - PX: "PX" -}; - -Conforyon.Enum.TemperatureType = { - Kelvin: "Kelvin", - Celsius: "Celsius", - Fahrenheit: "Fahrenheit" -}; - -Conforyon.Enum.MethodType = { - DataStorage: "DataStorage", - Temperature: "Temperature", - Typography: "Typography", - Speed: "Speed", - Error: "Error", - Time: "Time" -}; - - -Conforyon.Helper = {}; -Conforyon.Helper.Value = {}; -Conforyon.Helper.Culture = {}; -Conforyon.Helper.Value.Value = "8"; -Conforyon.Helper.Value.First = "Bit"; -Conforyon.Helper.Value.Last = "Byte"; -Conforyon.Helper.Culture.Name = "en-GB"; -Conforyon.Helper.Culture.Override = false; -Conforyon.Helper.Value.ErrorMethod = Conforyon.Enum.MethodType.Error; -Conforyon.Helper.Value.ValueMethod = Conforyon.Enum.MethodType.DataStorage; - - -Conforyon.Time = {}; -Conforyon.Time.Auto = {}; -Conforyon.Time.Normal = {}; -Conforyon.Time.Comma = false; -Conforyon.Time.PostComma = 0; -Conforyon.Time.Decimal = false; -Conforyon.Time.TypeText = false; - -Conforyon.Hash = {}; -Conforyon.Hash.File = {}; -Conforyon.Hash.File.Md5 = {}; -Conforyon.Hash.File.Sha1 = {}; -Conforyon.Hash.File.Sha256 = {}; -Conforyon.Hash.File.Sha384 = {}; -Conforyon.Hash.File.Sha512 = {}; -Conforyon.Hash.Uppercase = false; - -Conforyon.Board = {}; -Conforyon.Board.Text = {}; -Conforyon.Board.Audio = {}; - -Conforyon.Speed = {}; -Conforyon.Speed.Mph = {}; -Conforyon.Speed.Kph = {}; -Conforyon.Speed.Text = true; -Conforyon.Speed.Mph.Kph = {}; -Conforyon.Speed.Kph.Mph = {}; -Conforyon.Speed.PostComma = 0; - -Conforyon.Color = {}; -Conforyon.Color.Hex = {}; -Conforyon.Color.Rgb = {}; -Conforyon.Color.Sharp = false; -Conforyon.Color.Type = Conforyon.Enum.ColorType.RGB1; - -Conforyon.Unicode = {}; -Conforyon.Unicode.Char = {}; -Conforyon.Unicode.Ascii = {}; -Conforyon.Unicode.Bracket = ','; - -Conforyon.Typology = {}; -Conforyon.Typology.Cm = {}; -Conforyon.Typology.Px = {}; -Conforyon.Typology.Inch = {}; -Conforyon.Typology.Cm.Px = {}; -Conforyon.Typology.Px.Cm = {}; -Conforyon.Typology.Cm.Inch = {}; -Conforyon.Typology.Px.Inch = {}; -Conforyon.Typology.Inch.Cm = {}; -Conforyon.Typology.Inch.Px = {}; -Conforyon.Typology.PostComma = 0; - -Conforyon.Storage = {}; -Conforyon.Storage.Auto = {}; -Conforyon.Storage.Normal = {}; -Conforyon.Storage.Comma = false; -Conforyon.Storage.PostComma = 0; -Conforyon.Storage.Decimal = false; -Conforyon.Storage.TypeText = false; - -Conforyon.Cryptology = {}; -Conforyon.Cryptology.Aes = {}; -Conforyon.Cryptology.Base = {}; -Conforyon.Cryptology.Text = {}; -Conforyon.Cryptology.Text.Md5 = {}; -Conforyon.Cryptology.Text.Sha1 = {}; -Conforyon.Cryptology.Text.Base = {}; -Conforyon.Cryptology.Text.Sha256 = {}; -Conforyon.Cryptology.Text.Sha384 = {}; -Conforyon.Cryptology.Text.Sha512 = {}; -Conforyon.Cryptology.Uppercase = false; -Conforyon.Cryptology.IV = "QxQsRoZQws61N46H"; -Conforyon.Cryptology.Key = "uS830kWPrPSPyZK0pS7Pgw3wP3SvLOGr"; -Conforyon.Cryptology.Mode = Conforyon.Enum.CryptologyCipherMode.CBC; - -Conforyon.Temperature = {}; -Conforyon.Temperature.Text = true; -Conforyon.Temperature.Kelvin = {}; -Conforyon.Temperature.Celsius = {}; -Conforyon.Temperature.PostComma = 0; -Conforyon.Temperature.Fahrenheit = {}; -Conforyon.Temperature.Kelvin.Celsius = {}; -Conforyon.Temperature.Celsius.Kelvin = {}; -Conforyon.Temperature.Kelvin.Fahrenheit = {}; -Conforyon.Temperature.Fahrenheit.Kelvin = {}; -Conforyon.Temperature.Celsius.Fahrenheit = {}; -Conforyon.Temperature.Fahrenheit.Celsius = {}; - - - -Conforyon.Helper.Value.Get = function (Method = Conforyon.Helper.Value.ValueMethod, First = Conforyon.Helper.Value.First, Last = Conforyon.Helper.Value.Last, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperGetValue", Method, First, Last, Error); -} - -Conforyon.Helper.Value.Set = function (Method = Conforyon.Helper.Value.ValueMethod, First = Conforyon.Helper.Value.First, Last = Conforyon.Helper.Value.Last, Value = Conforyon.Helper.Value.Value, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetValue", Method, First, Last, Value, Error); -} - -Conforyon.Helper.Value.List = function (Method = Conforyon.Helper.Value.ErrorMethod, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperListValue", Method, Error); -} - -Conforyon.Helper.Value.ListJson = function (Method = Conforyon.Helper.Value.ErrorMethod, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperListValueJson", Method, Error); -} - -Conforyon.Helper.Value.Reset = function () { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperResetValue"); -} - - -Conforyon.Helper.Culture.GetName = function (Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperGetCultureName", Error); -} - -Conforyon.Helper.Culture.GetUiName = function (Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperGetUICultureName", Error); -} - -Conforyon.Helper.Culture.GetThreadName = function (Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperGetThreadCultureName", Error); -} - -Conforyon.Helper.Culture.GetThreadUiName = function (Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperGetThreadUICultureName", Error); -} - -Conforyon.Helper.Culture.Set = function (Name = Conforyon.Helper.Culture.Name, Override = Conforyon.Helper.Culture.Override) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetCulture", Name, Override); -} - -Conforyon.Helper.Culture.SetAll = function (Name = Conforyon.Helper.Culture.Name, Override = Conforyon.Helper.Culture.Override) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetAllCulture", Name, Override); -} - -Conforyon.Helper.Culture.SetUi = function (Name = Conforyon.Helper.Culture.Name, Override = Conforyon.Helper.Culture.Override) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetUICulture", Name, Override); -} - -Conforyon.Helper.Culture.SetThread = function (Name = Conforyon.Helper.Culture.Name, Override = Conforyon.Helper.Culture.Override) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetThreadCulture", Name, Override); -} - -Conforyon.Helper.Culture.SetThreadUi = function (Name = Conforyon.Helper.Culture.Name, Override = Conforyon.Helper.Culture.Override) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HelperSetThreadUICulture", Name, Override); -} - - - -Conforyon.Board.Audio.CopyPath = function (Path) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardAudioCopyPath", Path); -} - -Conforyon.Board.Audio.CopyByte = function (Bytes) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardAudioCopyByte", Bytes); -} - -Conforyon.Board.Audio.PasteStream = function (Clear = Conforyon.Clear) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardAudioPasteStream", Clear); -} - - -Conforyon.Board.Text.CopyInteger = function (Number) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyInteger", Number); -} - -Conforyon.Board.Text.CopyLong = function (Number) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyLong", Number); -} - -Conforyon.Board.Text.CopyDouble = function (Number) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyDouble", Number); -} - -Conforyon.Board.Text.CopyFloat = function (Number) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyFloat", Number); -} - -Conforyon.Board.Text.CopyObject = function (Value) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyObject", Value); -} - -Conforyon.Board.Text.CopyText = function (Text) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextCopyText", Text); -} - -Conforyon.Board.Text.PasteText = function (Clear = Conforyon.Clear, Back = Conforyon.Empty) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "BoardTextPasteText", Clear, Back); -} - - - -Conforyon.Color.Hex.RgbObject = function (Hex, Type = Conforyon.Color.Type, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorHexRgbObject", Hex, Type, Error); -} - -Conforyon.Color.Hex.RgbText = function (Hex, Type = Conforyon.Color.Type, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorHexRgbText", Hex, Type, Error); -} - - -Conforyon.Color.Rgb.HexInteger = function (R, G, B, Sharp = Conforyon.Color.Sharp, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorRgbHexInteger", R, G, B, Sharp, Error); -} - -Conforyon.Color.Rgb.HexLong = function (R, G, B, Sharp = Conforyon.Color.Sharp, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorRgbHexLong", R, G, B, Sharp, Error); -} - -Conforyon.Color.Rgb.HexObject = function (R, G, B, Sharp = Conforyon.Color.Sharp, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorRgbHexObject", R, G, B, Sharp, Error); -} - -Conforyon.Color.Rgb.HexText = function (R, G, B, Sharp = Conforyon.Color.Sharp, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "ColorRgbHexText", R, G, B, Sharp, Error); -} - - - -Conforyon.Cryptology.Aes.EncryptInteger = function (Number, IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptInteger", Number, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.EncryptLong = function (Number, IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptLong", Number, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.EncryptDouble = function (Number, IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptDouble", Number, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.EncryptFloat = function (Number, IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptFloat", Number, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.EncryptObject = function (Value, IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptObject", Value, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.EncryptText = function (Text, IV = IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesEncryptText", Text, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.DecryptObject = function (Base, IV = IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesDecryptObject", Base, IV, Key, Mode, Error); -} - -Conforyon.Cryptology.Aes.DecryptText = function (Base, IV = IV = Conforyon.Cryptology.IV, Key = Conforyon.Cryptology.Key, Mode = Conforyon.Cryptology.Mode, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyAesDecryptText", Base, IV, Key, Mode, Error); -} - - -Conforyon.Cryptology.Base.DecryptObject = function (Base, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyBaseDecryptObject", Base, Error); -} - -Conforyon.Cryptology.Base.DecryptText = function (Base, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyBaseDecryptText", Base, Error); -} - - -Conforyon.Cryptology.Text.Base.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Base.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Base.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Base.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Base.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Base.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextBaseEncryptText", Text, Uppercase, Error); -} - - -Conforyon.Cryptology.Text.Md5.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Md5.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Md5.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Md5.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Md5.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Md5.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextMd5EncryptText", Text, Uppercase, Error); -} - - -Conforyon.Cryptology.Text.Sha1.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha1.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha1.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha1.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha1.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha1.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha1EncryptText", Text, Uppercase, Error); -} - - -Conforyon.Cryptology.Text.Sha256.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha256.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha256.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha256.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha256.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha256.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha256EncryptText", Text, Uppercase, Error); -} - - -Conforyon.Cryptology.Text.Sha384.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha384.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha384.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha384.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha384.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha384.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha384EncryptText", Text, Uppercase, Error); -} - - -Conforyon.Cryptology.Text.Sha512.EncryptInteger = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptInteger", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha512.EncryptLong = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptLong", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha512.EncryptDouble = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptDouble", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha512.EncryptFloat = function (Number, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptFloat", Number, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha512.EncryptObject = function (Value, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptObject", Value, Uppercase, Error); -} - -Conforyon.Cryptology.Text.Sha512.EncryptText = function (Text, Uppercase = Conforyon.Cryptology.Uppercase, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "CryptologyTextSha512EncryptText", Text, Uppercase, Error); -} - - - -Conforyon.Hash.File.Md5.EncryptObject = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileMd5EncryptObject", Path, Uppercase, Error); -} - -Conforyon.Hash.File.Md5.EncryptText = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileMd5EncryptText", Path, Uppercase, Error); -} - - -Conforyon.Hash.File.Sha1.EncryptObject = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha1EncryptObject", Path, Uppercase, Error); -} - -Conforyon.Hash.File.Sha1.EncryptText = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha1EncryptText", Path, Uppercase, Error); -} - - -Conforyon.Hash.File.Sha256.EncryptObject = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha256EncryptObject", Path, Uppercase, Error); -} - -Conforyon.Hash.File.Sha256.EncryptText = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha256EncryptText", Path, Uppercase, Error); -} - - -Conforyon.Hash.File.Sha384.EncryptObject = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha384EncryptObject", Path, Uppercase, Error); -} - -Conforyon.Hash.File.Sha384.EncryptText = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha384EncryptText", Path, Uppercase, Error); -} - - -Conforyon.Hash.File.Sha512.EncryptObject = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha512EncryptObject", Path, Uppercase, Error); -} - -Conforyon.Hash.File.Sha512.EncryptText = function (Path, Uppercase = Conforyon.Hash.Uppercase, Error = Conforyon.Error) { - Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "HashFileSha512EncryptText", Path, Uppercase, Error); -} - - - -Conforyon.Speed.Kph.Mph.ConvertInteger = function (Kilometers, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedKphMphConvertInteger", Kilometers, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Kph.Mph.ConvertLong = function (Kilometers, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedKphMphConvertLong", Kilometers, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Kph.Mph.ConvertObject = function (Kilometers, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedKphMphConvertObject", Kilometers, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Kph.Mph.ConvertText = function (Kilometers, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedKphMphConvertText", Kilometers, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Speed.Mph.Kph.ConvertInteger = function (Miles, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedMphKphConvertInteger", Miles, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Mph.Kph.ConvertLong = function (Miles, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedMphKphConvertLong", Miles, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Mph.Kph.ConvertObject = function (Miles, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedMphKphConvertObject", Miles, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Speed.Mph.Kph.ConvertText = function (Miles, Decimal, Comma, PostComma = Conforyon.Speed.PostComma, Text = Conforyon.Speed.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "SpeedMphKphConvertText", Miles, Decimal, Comma, PostComma, Text, Error); -} - - - -Conforyon.Storage.Auto.ConvertInteger = function (InputVariable, InputType, TypeText = Conforyon.Storage.TypeText, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageAutoConvertInteger", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Auto.ConvertLong = function (InputVariable, InputType, TypeText = Conforyon.Storage.TypeText, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageAutoConvertLong", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Auto.ConvertObject = function (InputVariable, InputType, TypeText = Conforyon.Storage.TypeText, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageAutoConvertObject", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Auto.ConvertText = function (InputVariable, InputType, TypeText = Conforyon.Storage.TypeText, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageAutoConvertText", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Storage.Normal.ConvertInteger = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageNormalConvertInteger", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Normal.ConvertLong = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageNormalConvertLong", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Normal.ConvertObject = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageNormalConvertObject", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Storage.Normal.ConvertText = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Storage.Decimal, Comma = Conforyon.Storage.Comma, PostComma = Conforyon.Storage.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "StorageNormalConvertText", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - - - -Conforyon.Temperature.Kelvin.Celsius.ConvertInteger = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinCelsiusConvertInteger", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Celsius.ConvertLong = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinCelsiusConvertLong", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Celsius.ConvertObject = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinCelsiusConvertObject", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Celsius.ConvertText = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinCelsiusConvertText", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Temperature.Kelvin.Fahrenheit.ConvertInteger = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinFahrenheitConvertInteger", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Fahrenheit.ConvertLong = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinFahrenheitConvertLong", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Fahrenheit.ConvertObject = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinFahrenheitConvertObject", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Kelvin.Fahrenheit.ConvertText = function (Kelvin, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureKelvinFahrenheitConvertText", Kelvin, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Temperature.Celsius.Kelvin.ConvertInteger = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusKelvinConvertInteger", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Kelvin.ConvertLong = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusKelvinConvertLong", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Kelvin.ConvertObject = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusKelvinConvertObject", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Kelvin.ConvertText = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusKelvinConvertText", Celsius, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Temperature.Celsius.Fahrenheit.ConvertInteger = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusFahrenheitConvertInteger", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Fahrenheit.ConvertLong = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusFahrenheitConvertLong", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Fahrenheit.ConvertObject = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusFahrenheitConvertObject", Celsius, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Celsius.Fahrenheit.ConvertText = function (Celsius, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureCelsiusFahrenheitConvertText", Celsius, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Temperature.Fahrenheit.Kelvin.ConvertInteger = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitKelvinConvertInteger", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Kelvin.ConvertLong = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitKelvinConvertLong", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Kelvin.ConvertObject = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitKelvinConvertObject", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Kelvin.ConvertText = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitKelvinConvertText", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - - -Conforyon.Temperature.Fahrenheit.Celsius.ConvertInteger = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitCelsiusConvertInteger", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Celsius.ConvertLong = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitCelsiusConvertLong", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Celsius.ConvertObject = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitCelsiusConvertObject", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - -Conforyon.Temperature.Fahrenheit.Celsius.ConvertText = function (Fahrenheit, Decimal, Comma, PostComma = Conforyon.Temperature.PostComma, Text = Conforyon.Temperature.Text, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TemperatureFahrenheitCelsiusConvertText", Fahrenheit, Decimal, Comma, PostComma, Text, Error); -} - - - -Conforyon.Time.Auto.ConvertInteger = function (InputVariable, InputType, TypeText = Conforyon.Time.TypeText, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeAutoConvertInteger", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Auto.ConvertLong = function (InputVariable, InputType, TypeText = Conforyon.Time.TypeText, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeAutoConvertLong", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Auto.ConvertObject = function (InputVariable, InputType, TypeText = Conforyon.Time.TypeText, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeAutoConvertObject", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Auto.ConvertText = function (InputVariable, InputType, TypeText = Conforyon.Time.TypeText, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeAutoConvertText", InputVariable, InputType, TypeText, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Time.Normal.ConvertInteger = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeNormalConvertInteger", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Normal.ConvertLong = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeNormalConvertLong", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Normal.ConvertObject = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeNormalConvertObject", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - -Conforyon.Time.Normal.ConvertText = function (InputVariable, InputType, TypeConvert, Decimal = Conforyon.Time.Decimal, Comma = Conforyon.Time.Comma, PostComma = Conforyon.Time.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TimeNormalConvertText", InputVariable, InputType, TypeConvert, Decimal, Comma, PostComma, Error); -} - - - -Conforyon.Typology.Cm.Px.ConvertInteger = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmPxConvertInteger", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Px.ConvertLong = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmPxConvertLong", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Px.ConvertObject = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmPxConvertObject", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Px.ConvertText = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmPxConvertText", Centimeter, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Typology.Cm.Inch.ConvertInteger = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmInchConvertInteger", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Inch.ConvertLong = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmInchConvertLong", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Inch.ConvertObject = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmInchConvertObject", Centimeter, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Cm.Inch.ConvertText = function (Centimeter, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyCmInchConvertText", Centimeter, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Typology.Px.Cm.ConvertInteger = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxCmConvertInteger", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Cm.ConvertLong = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxCmConvertLong", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Cm.ConvertObject = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxCmConvertObject", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Cm.ConvertText = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxCmConvertText", Pixel, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Typology.Px.Inch.ConvertInteger = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxInchConvertInteger", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Inch.ConvertLong = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxInchConvertLong", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Inch.ConvertObject = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxInchConvertObject", Pixel, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Px.Inch.ConvertText = function (Pixel, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyPxInchConvertText", Pixel, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Typology.Inch.Cm.ConvertInteger = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchCmConvertInteger", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Cm.ConvertLong = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchCmConvertLong", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Cm.ConvertObject = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchCmConvertObject", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Cm.ConvertText = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchCmConvertText", Inch, Decimal, Comma, PostComma, Error); -} - - -Conforyon.Typology.Inch.Px.ConvertInteger = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchPxConvertInteger", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Px.ConvertLong = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchPxConvertLong", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Px.ConvertObject = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchPxConvertObject", Inch, Decimal, Comma, PostComma, Error); -} - -Conforyon.Typology.Inch.Px.ConvertText = function (Inch, Decimal, Comma, PostComma = Conforyon.Typology.PostComma, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "TypologyInchPxConvertText", Inch, Decimal, Comma, PostComma, Error); -} - - - -Conforyon.Unicode.Ascii.CharInteger = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharInteger", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharLong = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharLong", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharDouble = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharDouble", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharFloat = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharFloat", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharChar = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharChar", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharObject = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharObject", Ascii, Bracket, Error); -} - -Conforyon.Unicode.Ascii.CharText = function (Ascii, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeAsciiCharText", Ascii, Bracket, Error); -} - - -Conforyon.Unicode.Char.AsciiInteger = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiInteger", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiLong = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiLong", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiDouble = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiDouble", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiFloat = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiFloat", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiChar = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiChar", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiObject = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiObject", Char, Bracket, Error); -} - -Conforyon.Unicode.Char.AsciiText = function (Char, Bracket = Conforyon.Unicode.Bracket, Error = Conforyon.Error) { - return Taiizor.Invoke.MethodAsync("Taiizor.Essentials.Blazor.Conforyon", "UnicodeCharAsciiText", Char, Bracket, Error); -} \ No newline at end of file diff --git a/src/Taiizor.Essentials.Blazor/Resources/Raw/Custom.Blazor.js b/src/Taiizor.Essentials.Blazor/Resources/Raw/Custom.Blazor.js deleted file mode 100644 index 89b56df..0000000 --- a/src/Taiizor.Essentials.Blazor/Resources/Raw/Custom.Blazor.js +++ /dev/null @@ -1,24 +0,0 @@ -console.log('%cCustom Blazor Javascript has started.', 'color: #2E8B57'); - - -var Custom = {}; - - - -if (!String.prototype.format) { - String.prototype.format = function () { - var args = arguments; - return this.replace(/{(\d+)}/g, function(match, number) { - return typeof args[number] != 'undefined' ? args[number] : match; - }); - }; -} - -if (!String.format) { - String.format = function (format) { - var args = Array.prototype.slice.call(arguments, 1); - return format.replace(/{(\d+)}/g, function(match, number) { - return typeof args[number] != 'undefined' ? args[number] : match; - }); - }; -} \ No newline at end of file diff --git a/src/Taiizor.Essentials.Blazor/Resources/Raw/None.Blazor.js b/src/Taiizor.Essentials.Blazor/Resources/Raw/None.Blazor.js deleted file mode 100644 index 1576a4a..0000000 --- a/src/Taiizor.Essentials.Blazor/Resources/Raw/None.Blazor.js +++ /dev/null @@ -1,4 +0,0 @@ -console.log('%cNone Blazor Javascript has started.', 'color: #000000'); - - -var None = {}; \ No newline at end of file diff --git a/src/Taiizor.Essentials.Blazor/Resources/Raw/Taiizor.Blazor.js b/src/Taiizor.Essentials.Blazor/Resources/Raw/Taiizor.Blazor.js deleted file mode 100644 index 6cbd7f4..0000000 --- a/src/Taiizor.Essentials.Blazor/Resources/Raw/Taiizor.Blazor.js +++ /dev/null @@ -1,1156 +0,0 @@ -console.log('%cTaiizor Blazor Javascript has started.', 'color: #DC143C'); - - -var Taiizor = {}; - - -Taiizor.Meta = {}; -Taiizor.Meta.Other = {}; -Taiizor.Meta.Author = {}; -Taiizor.Meta.Robots = {}; -Taiizor.Meta.Charset = {}; -Taiizor.Meta.Refresh = {}; -Taiizor.Meta.Twitter = {}; -Taiizor.Meta.Keywords = {}; -Taiizor.Meta.Viewport = {}; -Taiizor.Meta.Manifest = {}; -Taiizor.Meta.Canonical = {}; -Taiizor.Meta.OpenGraph = {}; -Taiizor.Meta.Description = {}; -Taiizor.Meta.ContentType = {}; -Taiizor.Meta.ShortcutIcon = {}; - -Taiizor.Meta.Enum = { - Other: "", - Author: "author", - Robots: "robots", - Charset: "charset", - Refresh: "refresh", - Twitter: "twitter:", - Keywords: "keywords", - Viewport: "viewport", - Manifest: "manifest", - Canonical: "canonical", - OpenGraph: "og:", - Description: "description", - ContentType: "content-type", - ShortcutIcon: "shortcut icon" -}; - -Taiizor.Meta.Other.Enum = { - ThemeColor: "theme-color", - ColorScheme: "color-scheme", - MsApplicationTileColor: "msapplication-TileColor", - MsApplicationTileImage: "msapplication-TileImage", - AppleMobileWebAppCapable: "apple-mobile-web-app-capable", - MsApplicationNavButtonColor: "msapplication-navbutton-color", - AppleMobileWebAppStatusBarStyle: "apple-mobile-web-app-status-bar-style" -}; - -Taiizor.Meta.Twitter.Enum = { - Url: "url", - Card: "card", - Site: "site", - Type: "type", - Image: "image", - Title: "title", - Description: "description" -}; - -Taiizor.Meta.OpenGraph.Enum = { - Url: "url", - Type: "type", - Title: "title", - Image: "image", - Locale: "locale", - Sitename: "site_name", - Description: "description" -}; - - -Taiizor.Storage = {}; -Taiizor.Storage.Local = {}; -Taiizor.Storage.Session = {}; - - -Taiizor.Add = {}; -Taiizor.Add.Script = {}; - - -Taiizor.Attribute = {}; - - -Taiizor.Class = {}; - - -Taiizor.Cookie = {}; - - -Taiizor.Include = {}; - - -Taiizor.Invoke = {}; -Taiizor.Invoke.Reference = {}; - - -Taiizor.Lang = {}; -Taiizor.Lang.Tag = {}; -Taiizor.Lang.Html = {}; -Taiizor.Lang.Head = {}; -Taiizor.Lang.Body = {}; - - -Taiizor.Location = {}; -Taiizor.Location.Href = {}; -Taiizor.Location.Host = {}; -Taiizor.Location.Port = {}; -Taiizor.Location.Hash = {}; -Taiizor.Location.Origin = {}; -Taiizor.Location.Search = {}; -Taiizor.Location.Pathname = {}; -Taiizor.Location.Hostname = {}; -Taiizor.Location.Protocol = {}; - - -Taiizor.Redirect = {}; - - -Taiizor.Reload = {}; - - -Taiizor.Style = {}; -Taiizor.Style.Styles = []; - - -Taiizor.Title = {}; - - - -Taiizor.Storage.Session.Set = function (sessionKey, sessionValue) { - sessionStorage.setItem(sessionKey, sessionValue); -} - -Taiizor.Storage.Session.Get = function (sessionKey) { - return sessionStorage.getItem(sessionKey); -} - -Taiizor.Storage.Session.Check = function (sessionKey) { - let sessionValue = Taiizor.Storage.Session.Get(sessionKey); - if (sessionValue == null || sessionValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Storage.Session.Delete = function (sessionKey, execute = false) { - if (Taiizor.Storage.Session.Check(sessionKey) || execute) { - sessionStorage.removeItem(sessionKey); - } -} - - - -Taiizor.Storage.Local.Set = function (localKey, localValue) { - localStorage.setItem(localKey, localValue); -} - -Taiizor.Storage.Local.Get = function (localKey) { - return localStorage.getItem(localKey); -} - -Taiizor.Storage.Local.Check = function (localKey) { - let localValue = Taiizor.Storage.Local.Get(localKey); - if (localValue == null || localValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Storage.Local.Delete = function (localKey, execute = false) { - if (Taiizor.Storage.Local.Check(localKey) || execute) { - localStorage.removeItem(localKey); - } -} - - - -Taiizor.Meta.Check = function (metaName) { - let metaValue = Taiizor.Meta.Selector(metaName); - if (metaValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Meta.Check.Link = function (metaName) { - let metaValue = Taiizor.Meta.Selector.Link(metaName); - if (metaValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Meta.Check.Equiv = function (metaName) { - let metaValue = Taiizor.Meta.Selector.Equiv(metaName); - if (metaValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Meta.Check.Property = function (metaName) { - let metaValue = Taiizor.Meta.Selector.Property(metaName); - if (metaValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Meta.Check.Advanced = function (metaName) { - let metaValue = Taiizor.Meta.Selector.Advanced(metaName); - if (metaValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Meta.Content = function (metaName) { - let metaValue = Taiizor.Meta.Check(metaName); - if (metaValue) { - return Taiizor.Meta.Selector(metaName).content; - } else { - return 'undefined'; - } -} - -Taiizor.Meta.Content.Link = function (metaName) { - let metaValue = Taiizor.Meta.Check.Link(metaName); - if (metaValue) { - return Taiizor.Meta.Selector.Link(metaName).href; - } else { - return 'undefined'; - } -} - -Taiizor.Meta.Content.Equiv = function (metaName) { - let metaValue = Taiizor.Meta.Check.Equiv(metaName); - if (metaValue) { - return Taiizor.Meta.Selector.Equiv(metaName).content; - } else { - return 'undefined'; - } -} - -Taiizor.Meta.Content.Property = function (metaName) { - let metaValue = Taiizor.Meta.Check.Property(metaName); - if (metaValue) { - return Taiizor.Meta.Selector.Property(metaName).content; - } else { - return 'undefined'; - } -} - -Taiizor.Meta.Content.Advanced = function (metaName) { - let metaValue = Taiizor.Meta.Check.Advanced(metaName); - if (metaValue) { - return Taiizor.Meta.Selector.Advanced(metaName).getAttribute(metaName); - } else { - return 'undefined'; - } -} - -Taiizor.Meta.Selector = function (metaName) { - return document.querySelector('meta[name="' + metaName + '"]'); -} - -Taiizor.Meta.Selector.Link = function (metaName) { - return document.querySelector('link[rel="' + metaName + '"]'); -} - -Taiizor.Meta.Selector.Equiv = function (metaName) { - return document.querySelector('meta[http-equiv="' + metaName + '"]'); -} - -Taiizor.Meta.Selector.Property = function (metaName) { - return document.querySelector('meta[property="' + metaName + '"]'); -} - -Taiizor.Meta.Selector.Advanced = function (metaName) { - return document.querySelector('meta[' + metaName + ']'); -} - -Taiizor.Meta.Author.Set = function (authorName) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Author)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Author).content = authorName; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Author.Remove = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Author) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Author).remove(); - } -} - -Taiizor.Meta.Canonical.Set = function (uri) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.Canonical)) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.Canonical).href = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Canonical.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.Canonical) || execute) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.Canonical).remove(); - } -} - -Taiizor.Meta.Charset.Set = function (encoding) { - if (Taiizor.Meta.Check.Advanced(Taiizor.Meta.Enum.Charset)) { - Taiizor.Meta.Selector.Advanced(Taiizor.Meta.Enum.Charset).setAttribute(Taiizor.Meta.Enum.Charset, encoding); - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Charset.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Advanced(Taiizor.Meta.Enum.Charset) || execute) { - Taiizor.Meta.Selector.Advanced(Taiizor.Meta.Enum.Charset).remove(); - } -} - -Taiizor.Meta.ContentType.Set = function (content) { - if (Taiizor.Meta.Check.Equiv(Taiizor.Meta.Enum.ContentType)) { - Taiizor.Meta.Selector.Equiv(Taiizor.Meta.Enum.ContentType).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.ContentType.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Equiv(Taiizor.Meta.Enum.ContentType) || execute) { - Taiizor.Meta.Selector.Equiv(Taiizor.Meta.Enum.ContentType).remove(); - } -} - -Taiizor.Meta.Description.Set = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Description)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Description).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Description.Remove = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Description) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Description).remove(); - } -} - -Taiizor.Meta.Keywords.Set = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Keywords)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Keywords).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Keywords.Remove = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Keywords) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Keywords).remove(); - } -} - -Taiizor.Meta.Manifest.Set = function (path) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.Manifest)) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.Manifest).href = path; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Manifest.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.Manifest) || execute) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.Manifest).remove(); - } -} - -Taiizor.Meta.OpenGraph.SetUrl = function (uri) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Url)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Url).content = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetType = function (content) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Type)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Type).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetTitle = function (content) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Title)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Title).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetImage = function (uri) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Image)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Image).content = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetLocale = function (content) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Locale)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Locale).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetSitename = function (content) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Sitename)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Sitename).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.SetDescription = function (content) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Description)) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Description).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.OpenGraph.RemoveUrl = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Url) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Url).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveType = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Type) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Type).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveTitle = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Title) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Title).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveImage = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Image) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Image).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveLocale = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Locale) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Locale).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveSitename = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Sitename) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Sitename).remove(); - } -} - -Taiizor.Meta.OpenGraph.RemoveDescription = function (execute = false) { - if (Taiizor.Meta.Check.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Description) || execute) { - Taiizor.Meta.Selector.Property(Taiizor.Meta.Enum.OpenGraph + Taiizor.Meta.OpenGraph.Enum.Description).remove(); - } -} - -Taiizor.Meta.Other.SetThemeColor = function (hex) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.ThemeColor)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.ThemeColor).content = hex; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetColorScheme = function (theme) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.ColorScheme)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.ColorScheme).content = theme; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetMsApplicationTileColor = function (hex) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationTileColor)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationTileColor).content = hex; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetMsApplicationTileImage = function (uri) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationTileImage)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationTileImage).content = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetMsApplicationNavButtonColor = function (hex) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationNavButtonColor)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationNavButtonColor).content = hex; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetAppleMobileWebAppCapable = function (value) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.AppleMobileWebAppCapable)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.AppleMobileWebAppCapable).content = value; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.SetAppleMobileWebAppStatusBarStyle = function (value) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.AppleMobileWebAppStatusBarStyle)) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.AppleMobileWebAppStatusBarStyle).content = value; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Other.RemoveThemeColor = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.ThemeColor) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.ThemeColor).remove(); - } -} - -Taiizor.Meta.Other.RemoveColorScheme = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.ColorScheme) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.ColorScheme).remove(); - } -} - -Taiizor.Meta.Other.RemoveMsApplicationTileColor = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationTileColor) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationTileColor).remove(); - } -} - -Taiizor.Meta.Other.RemoveMsApplicationTileImage = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationTileImage) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationTileImage).remove(); - } -} - -Taiizor.Meta.Other.RemoveMsApplicationNavButtonColor = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.MsApplicationNavButtonColor) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.MsApplicationNavButtonColor).remove(); - } -} - -Taiizor.Meta.Other.RemoveAppleMobileWebAppCapable = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.AppleMobileWebAppCapable) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.AppleMobileWebAppCapable).remove(); - } -} - -Taiizor.Meta.Other.RemoveAppleMobileWebAppStatusBarStyle = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Other.Enum.AppleMobileWebAppStatusBarStyle) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Other.Enum.AppleMobileWebAppStatusBarStyle).remove(); - } -} - -Taiizor.Meta.Refresh.Set = function (content) { - if (Taiizor.Meta.Check.Equiv(Taiizor.Meta.Enum.Refresh)) { - Taiizor.Meta.Selector.Equiv(Taiizor.Meta.Enum.Refresh).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Refresh.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Equiv(Taiizor.Meta.Enum.Refresh) || execute) { - Taiizor.Meta.Selector.Equiv(Taiizor.Meta.Enum.Refresh).remove(); - } -} - -Taiizor.Meta.Robots.Set = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Robots)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Robots).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Robots.Remove = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Robots) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Robots).remove(); - } -} - -Taiizor.Meta.ShortcutIcon.Set = function (path) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.ShortcutIcon)) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.ShortcutIcon).href = path; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.ShortcutIcon.Remove = function (execute = false) { - if (Taiizor.Meta.Check.Link(Taiizor.Meta.Enum.ShortcutIcon) || execute) { - Taiizor.Meta.Selector.Link(Taiizor.Meta.Enum.ShortcutIcon).remove(); - } -} - -Taiizor.Meta.Twitter.SetUrl = function (uri) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Url)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Url).content = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetCard = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Card)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Card).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetSite = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Site)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Site).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetType = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Type)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Type).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetImage = function (uri) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Image)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Image).content = uri; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetTitle = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Title)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Title).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.SetDescription = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Description)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Description).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Twitter.RemoveUrl = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Url) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Url).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveCard = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Card) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Card).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveSite = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Site) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Site).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveType = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Type) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Type).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveImage = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Image) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Image).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveTitle = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Title) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Title).remove(); - } -} - -Taiizor.Meta.Twitter.RemoveDescription = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Description) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Twitter + Taiizor.Meta.Twitter.Enum.Description).remove(); - } -} - -Taiizor.Meta.Viewport.Set = function (content) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Viewport)) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Viewport).content = content; - } else { - Taiizor.Add.Head(''); - } -} - -Taiizor.Meta.Viewport.Remove = function (execute = false) { - if (Taiizor.Meta.Check(Taiizor.Meta.Enum.Viewport) || execute) { - Taiizor.Meta.Selector(Taiizor.Meta.Enum.Viewport).remove(); - } -} - - - -Taiizor.Add.Head = function (tagHtml) { - document.head.appendChild(document.createRange().createContextualFragment(tagHtml)); -} - -Taiizor.Add.Body = function (tagHtml) { - document.body.appendChild(document.createRange().createContextualFragment(tagHtml)); -} - -Taiizor.Add.Element = function (elementId, tagHtml) { - document.getElementById(elementId).appendChild(document.createRange().createContextualFragment(tagHtml)); -} - -Taiizor.Add.Script.Head = function (textNode) { - var element = document.createElement('script'); - element.setAttribute('type', 'text/javascript'); - - element.appendChild(document.createTextNode(textNode)); - document.head.appendChild(element); -} - -Taiizor.Add.Script.Body = function (textNode) { - var element = document.createElement('script'); - element.setAttribute('type', 'text/javascript'); - - element.appendChild(document.createTextNode(textNode)); - document.body.appendChild(element); -} - -Taiizor.Add.Script.Element = function (elementId, textNode) { - var element = document.createElement('script'); - element.setAttribute('type', 'text/javascript'); - - element.appendChild(document.createTextNode(textNode)); - document.getElementById(elementId).appendChild(element); -} - - - -Taiizor.Attribute.Set = function (elementId, propertyName, propertyValue) { - document.getElementById(elementId).setAttribute(propertyName, propertyValue); -} - -Taiizor.Attribute.Get = function (elementId, propertyName) { - return document.getElementById(elementId).getAttribute(propertyName); -} - -Taiizor.Attribute.Check = function (elementId, propertyName) { - let propertyValue = Taiizor.Attribute.Get(elementId, propertyName); - //if (propertyValue == null || propertyValue == '') { - if (propertyValue == null) { - return false; - } else { - return true; - } -} - -Taiizor.Attribute.Remove = function (elementId, propertyName) { - document.getElementById(elementId).removeAttribute(propertyName); -} - - - -Taiizor.Class.Add = function (classId, className) { - document.getElementById(classId).classList.add(className); -} - -Taiizor.Class.Set = function (classId, className) { - document.getElementById(classId).className = className; -} - -Taiizor.Class.Get = function (classId) { - return document.getElementById(classId).className; -} - -Taiizor.Class.List = function (classId) { - let classList = document.getElementById(classId).classList; - let classArray = []; - for (let i = 0; i < classList.length; i++) { - classArray.push(classList[i]); - } - - return classArray; -} - -Taiizor.Class.Toggle = function (classId, className) { - document.getElementById(classId).classList.toggle(className); -} - -Taiizor.Class.Check = function (classId, className) { - return document.getElementById(classId).classList.contains(className); -} - -Taiizor.Class.Remove = function (classId, className) { - - document.getElementById(classId).classList.remove(className); -} - - - -Taiizor.Cookie.Set = function (cookieName, cookieValue, exDays, path) { - const d = new Date(); - d.setTime(d.getTime() + (exDays * 24 * 60 * 60 * 1000)); - let expires = 'expires=' + d.toUTCString(); - let paths = 'path=' + path; - document.cookie = cookieName + '=' + cookieValue + ';' + expires + ';' + paths; -} - -Taiizor.Cookie.Get = function (cookieName) { - let name = cookieName + '='; - let ca = document.cookie.split(';'); - for (let i = 0; i < ca.length; i++) { - let c = ca[i]; - while (c.charAt(0) == ' ') { - c = c.substring(1); - } - if (c.indexOf(name) == 0) { - return c.substring(name.length, c.length); - } - } - - return ''; -} - -Taiizor.Cookie.Check = function (cookieName) { - let cookieValue = Taiizor.Cookie.Get(cookieName); - if (cookieValue == null || cookieValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Cookie.Delete = function (cookieName, execute = false) { - if (Taiizor.Cookie.Check(cookieName) || execute) { - document.cookie = cookieName + '=; Max-Age=-99999999;'; - } -} - - - -Taiizor.Include.Font = function (path, rel) { - var customFont = document.createElement('link'); - customFont.setAttribute('href', path); - customFont.setAttribute('rel', rel); - document.head.appendChild(customFont); -} - -Taiizor.Include.Font.Element = function (elementId, path, rel) { - var customFont = document.createElement('link'); - customFont.setAttribute('href', path); - customFont.setAttribute('rel', rel); - document.getElementById(elementId).appendChild(customFont); -} - -Taiizor.Include.Js = function (path) { - var customScript = document.createElement('script'); - customScript.setAttribute('src', path); - document.body.appendChild(customScript); -} - -Taiizor.Include.Js.Element = function (elementId, path) { - var customScript = document.createElement('script'); - customScript.setAttribute('src', path); - document.getElementById(elementId).appendChild(customScript); -} - -Taiizor.Include.Css = function (path, rel, type) { - var customStylesheet = document.createElement('link'); - customStylesheet.setAttribute('href', path); - customStylesheet.setAttribute('rel', rel); - customStylesheet.setAttribute('type', type); - document.head.appendChild(customStylesheet); -} - -Taiizor.Include.Css.Element = function (elementId, path, rel, type) { - var customStylesheet = document.createElement('link'); - customStylesheet.setAttribute('href', path); - customStylesheet.setAttribute('rel', rel); - customStylesheet.setAttribute('type', type); - document.getElementById(elementId).appendChild(customStylesheet); -} - - - -Taiizor.Invoke.MethodAsync = function (assemblyName, methodName, ...args) { - if (arguments != null && arguments.length > 0) { - return DotNet.invokeMethodAsync(assemblyName, methodName, ...args); - } else { - return DotNet.invokeMethodAsync(assemblyName, methodName); - } -} - -Taiizor.Invoke.Reference.MethodAsync = function (objectReference, methodName, ...args) { - if (arguments != null && arguments.length > 0) { - return objectReference.invokeMethodAsync(methodName, ...args); - } else { - return objectReference.invokeMethodAsync(methodName); - } - - //objectReference.dispose(); -} - - - -Taiizor.Lang.Html.Set = function (languageCode) { - document.documentElement.lang = languageCode; -} - -Taiizor.Lang.Html.Get = function () { - return document.documentElement.lang; -} - -Taiizor.Lang.Html.Check = function () { - let langValue = Taiizor.Lang.Html.Get(); - if (langValue == null || langValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Lang.Head.Set = function (languageCode) { - document.head.lang = languageCode; -} - -Taiizor.Lang.Head.Get = function () { - return document.head.lang; -} - -Taiizor.Lang.Head.Check = function () { - let langValue = Taiizor.Lang.Head.Get(); - if (langValue == null || langValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Lang.Body.Get = function (languageCode) { - document.body.lang = languageCode; -} - -Taiizor.Lang.Body.Get = function () { - return document.body.lang; -} - -Taiizor.Lang.Body.Check = function () { - let langValue = Taiizor.Lang.Body.Get(); - if (langValue == null || langValue == '') { - return false; - } else { - return true; - } -} - -Taiizor.Lang.Tag.Set = function (tagHtml, languageCode) { - document.getElementById(tagHtml).lang = languageCode; -} - -Taiizor.Lang.Tag.Get = function (tagHtml) { - try { - return document.getElementById(tagHtml).lang; - } catch { - return ''; - } -} - -Taiizor.Lang.Tag.Check = function (tagHtml) { - let langValue = Taiizor.Lang.Tag.Get(tagHtml); - if (langValue == null || langValue == '') { - return false; - } else { - return true; - } -} - - - -Taiizor.Location.Href.Set = function (href = '') { - window.location.href = href; -} - -Taiizor.Location.Href.Get = function () { - return window.location.href; -} - -Taiizor.Location.Host.Set = function (host = '') { - window.location.host = host; -} - -Taiizor.Location.Host.Get = function () { - return window.location.host; -} - -Taiizor.Location.Hostname.Set = function (hostname = '') { - window.location.hostname = hostname; -} - -Taiizor.Location.Hostname.Get = function () { - return window.location.hostname; -} - -Taiizor.Location.Origin.Set = function (origin = '') { - window.location.origin = origin; -} - -Taiizor.Location.Origin.Get = function () { - return window.location.origin; -} - -Taiizor.Location.Pathname.Set = function (pathname = '') { - window.location.pathname = pathname; -} - -Taiizor.Location.Pathname.Get = function () { - return window.location.pathname; -} - -Taiizor.Location.Port.Set = function (port = '443') { - window.location.port = port; -} - -Taiizor.Location.Port.Get = function () { - return window.location.port; -} - -Taiizor.Location.Protocol.Set = function (protocol = 'https:') { - window.location.protocol = protocol; -} - -Taiizor.Location.Protocol.Get = function () { - return window.location.protocol; -} - -Taiizor.Location.Search.Set = function (search = '') { - window.location.search = search; -} - -Taiizor.Location.Search.Get = function () { - return window.location.search; -} - -Taiizor.Location.Hash.Set = function (hash = '') { - window.location.hash = hash; -} - -Taiizor.Location.Hash.Get = function () { - return window.location.hash; -} - - - -Taiizor.Redirect.Location = function (uri = '/') { - location.href = uri; - //window.location.href = uri; -} - - - -Taiizor.Reload.Page = function () { - window.location.reload(); -} - -Taiizor.Reload.Element = function (elementId, methodType) { - if (methodType === true) { - var container = document.getElementById(elementId); - var content = container.innerHTML; - container.innerHTML = content; - } else { - document.getElementById(elementId).innerHTML = document.getElementById(elementId).innerHTML; - } -} - - - -Taiizor.Style.Set = function (styleId, stylePair) { - document.getElementById(styleId).style = stylePair; -} - -Taiizor.Style.Add = function (styleId, styleName, styleValue) { - document.getElementById(styleId).style.setProperty(styleName, styleValue); -} - -Taiizor.Style.Toggle = function (styleId) { - var style = document.getElementById(styleId).style.cssText; - - if (style != '') { - Taiizor.Style.Styles[styleId] = document.getElementById(styleId).style.cssText; - document.getElementById(styleId).style.cssText = null; - } else if (Taiizor.Style.Styles[styleId] != null) { - document.getElementById(styleId).style.cssText = Taiizor.Style.Styles[styleId]; - Taiizor.Style.Styles[styleId] = null; - } -} - -Taiizor.Style.Remove = function (styleId, styleName) { - document.getElementById(styleId).style.removeProperty(styleName); -} - - - -Taiizor.Title.Set = function (title) { - document.title = title; -} - -Taiizor.Title.Get = function () { - return document.title; -} - -Taiizor.Title.Check = function () { - let titleValue = Taiizor.Title.Get(); - if (titleValue == null || titleValue == '') { - return false; - } - else { - return true; - } -} \ No newline at end of file diff --git a/src/Taiizor.Essentials.Blazor/Taiizor.Essentials.Blazor.csproj b/src/Taiizor.Essentials.Blazor/Taiizor.Essentials.Blazor.csproj index 1612fc3..1ca3a25 100644 --- a/src/Taiizor.Essentials.Blazor/Taiizor.Essentials.Blazor.csproj +++ b/src/Taiizor.Essentials.Blazor/Taiizor.Essentials.Blazor.csproj @@ -1,7 +1,7 @@ - net5.0;net6.0;net7.0 + net6.0;net7.0 enable enable preview @@ -57,11 +57,10 @@ Changes are detailed at https://github.com/Taiizor/Taiizor.Essentials.Blazor/rel - - - - - + + + + @@ -90,7 +89,6 @@ Changes are detailed at https://github.com/Taiizor/Taiizor.Essentials.Blazor/rel - diff --git a/src/Taiizor.Essentials.Blazor/Value/Internal.cs b/src/Taiizor.Essentials.Blazor/Value/Internal.cs index ffd6e1e..82a8070 100644 --- a/src/Taiizor.Essentials.Blazor/Value/Internal.cs +++ b/src/Taiizor.Essentials.Blazor/Value/Internal.cs @@ -8,7 +8,7 @@ internal class Internal public static readonly string DefaultCulture = "en-GB"; - public static readonly string JavascriptFile = "Taiizor.Essentials.Blazor.Resources.Raw.{0}.Blazor.js"; + public static readonly string JavascriptFile = "Taiizor.Essentials.Blazor.wwwroot.{0}.Blazor.js"; public static Dictionary MetaNames = new() { @@ -68,7 +68,7 @@ internal class Internal { JavascriptEnum.AppCenter, true }, { JavascriptEnum.Conforyon, true } }; - + public static Dictionary IncludeJavascript = new() { { JavascriptEnum.Custom, true }, diff --git a/src/Taiizor.Essentials.Blazor/wwwroot/None.Blazor.js b/src/Taiizor.Essentials.Blazor/wwwroot/None.Blazor.js new file mode 100644 index 0000000..170e1b7 --- /dev/null +++ b/src/Taiizor.Essentials.Blazor/wwwroot/None.Blazor.js @@ -0,0 +1,4 @@ +console.log('%cNone Blazor Javascript has started.', 'color: #000000'); + + +var None = {}; \ No newline at end of file