diff --git a/demos/bulletchart/settings/App.razor b/demos/bulletchart/settings/App.razor index b0d9d21e..11f244a0 100644 --- a/demos/bulletchart/settings/App.razor +++ b/demos/bulletchart/settings/App.razor @@ -267,7 +267,6 @@ private void valueSliderChange(IDictionary e) { double newValue = Double.Parse(e["value"].ToString()); - Console.WriteLine(newValue); myBulletChart.val(newValue); } diff --git a/demos/colorpicker/settings/App.razor b/demos/colorpicker/settings/App.razor new file mode 100644 index 00000000..ec1e3e64 --- /dev/null +++ b/demos/colorpicker/settings/App.razor @@ -0,0 +1,32 @@ + + + +
+
Color Modes
+ + + Saturation Color Mode + + + + Hue Color Mode + +
+ +@code { + JqxColorPicker myColorPicker; + JqxRadioButton hueModeBtn; + + void onChecked(IDictionary e) + { + if (hueModeBtn.isChecked) + { + myColorPicker.colorMode = "hue"; + } + else + { + myColorPicker.colorMode = "saturation"; + } + } +} diff --git a/demos/datatable/rowselectionhover/App.razor b/demos/datatable/rowselectionhover/App.razor index 5662f46a..99f39579 100644 --- a/demos/datatable/rowselectionhover/App.razor +++ b/demos/datatable/rowselectionhover/App.razor @@ -8,17 +8,17 @@
Settings
Select Row: - @* - *@ +

+ width=105 height=30> Select + width=135 height=30> Clear Selection
@@ -111,7 +111,7 @@ public void rowSelectBtnOnClick(IDictionary e) { - int index = 10; // int.Parse(myInput.value.ToString()); + int index = int.Parse(myInput.value.ToString()); myDataTable.selectRow(index); } diff --git a/demos/dragdrop/events/App.razor b/demos/dragdrop/events/App.razor new file mode 100644 index 00000000..96dbbf58 --- /dev/null +++ b/demos/dragdrop/events/App.razor @@ -0,0 +1,113 @@ +
+
+ + + +
+ I can be dragged only inside my parent +
+
+ +
+
+ I am a drop target +
+
+ +
+ + +
+ +@code { + JqxPanel myPanel; + + string dropTarget = ".drop-target"; + + IDictionary restricter = new Dictionary + { + { "left", 10 }, + { "top", 45 }, + { "width", 200 }, + { "height", 200 } + }; + + void onDragStart(IDictionary e) + { + addEvent("DragStart"); + } + + void onDragEnd(IDictionary e) + { + addEvent("DragEnd"); + } + + void onDropTargetEnter(IDictionary e) + { + addEvent("DropTargetEnter"); + } + + void onDropTargetLeave(IDictionary e) + { + addEvent("DropTargetLeave"); + } + + void addEvent(string type) + { + myPanel.prepend("
" + type + "
"); + } +} + + diff --git a/demos/form/defaultfunctionality/App.razor b/demos/form/defaultfunctionality/App.razor new file mode 100644 index 00000000..d38d7708 --- /dev/null +++ b/demos/form/defaultfunctionality/App.razor @@ -0,0 +1,141 @@ +
+ +
+ +@code { + static IDictionary[] columns = new Dictionary[] + { + new Dictionary + { + { "type", "button" }, + { "text", "Sign Up" }, + { "width", "90px" }, + { "columnWidth", "50%" }, + { "align", "right" } + }, + new Dictionary + { + { "type", "button" }, + { "text", "Cancel" }, + { "width", "90px" }, + { "columnWidth", "50%" } + } + }; + + IDictionary value = new Dictionary + { + { "firstName", "John" }, + { "lastName", "Scott" }, + { "address", "1st Ave SW" }, + { "city", "San Antonio" }, + { "state", "Texas" }, + { "zip", "78209" } + }; + + IDictionary[] template = new Dictionary[] + { + new Dictionary + { + { "bind", "firstName" }, + { "type", "text" }, + { "label", "First name" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" }, + { "info", "Enter first name" }, + { "infoPosition", "right" } + }, + new Dictionary + { + { "bind", "lastName" }, + { "type", "text" }, + { "label", "Last name" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" }, + { "info", "Enter last name" }, + { "infoPosition", "right" } + }, + new Dictionary + { + { "bind", "company" }, + { "type", "text" }, + { "label", "Company" }, + { "required", false }, + { "labelWidth", "85px" }, + { "width", "250px" } + }, + new Dictionary + { + { "bind", "address" }, + { "type", "text" }, + { "label", "Address" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" } + }, + new Dictionary + { + { "bind", "city" }, + { "type", "text" }, + { "label", "City" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" } + }, + new Dictionary + { + { "bind", "state" }, + { "type", "option" }, + { "label", "State" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" }, + { "component", "jqxDropDownList" }, + { + "options", + new Dictionary[] + { + new Dictionary + { + { "value", "California" } + }, + new Dictionary + { + { "value", "New York" } + }, + new Dictionary + { + { "value", "Oregon" } + }, + new Dictionary + { + { "value", "Illinois" } + }, + new Dictionary + { + { "value", "Texas" } + } + } + } + }, + new Dictionary + { + { "bind", "zip" }, + { "type", "text" }, + { "label", "Zip code" }, + { "required", true }, + { "labelWidth", "85px" }, + { "width", "250px" } + }, + new Dictionary + { + { "rowHeight", "10px" }, + { "type", "blank" } + }, + new Dictionary + { + { "columns", columns } + } + }; +} diff --git a/demos/formattedinput/exponentialnotation/App.razor b/demos/formattedinput/exponentialnotation/App.razor index d026e79c..5ab94ab2 100644 --- a/demos/formattedinput/exponentialnotation/App.razor +++ b/demos/formattedinput/exponentialnotation/App.razor @@ -1,22 +1,21 @@ @inject IJSRuntime JSRuntime; + width=250 height=25 value=330000 radix=radix decimalNotation=decimalNotation>
- Get decimal value - Get exponential notation + Get decimal value + Get exponential notation
- Get scientific notation - Get engineering notation + Get scientific notation + Get engineering notation
@code { JqxFormattedInput myFormattedInput; string radix = "decimal"; - string decimalNotation = "exponential"; - int buttonWidth = 175; + string decimalNotation = "exponential"; private void getDecimal(IDictionary e) { diff --git a/demos/formattedinput/keyboardnavigation/App.razor b/demos/formattedinput/keyboardnavigation/App.razor index 259142e6..5b8c70f0 100644 --- a/demos/formattedinput/keyboardnavigation/App.razor +++ b/demos/formattedinput/keyboardnavigation/App.razor @@ -1,5 +1,5 @@  + width=250 height=25 radix=radix value=value dropDown=true>
diff --git a/demos/formattedinput/simpleinput/App.razor b/demos/formattedinput/simpleinput/App.razor index bfa74ef7..a46ea3b1 100644 --- a/demos/formattedinput/simpleinput/App.razor +++ b/demos/formattedinput/simpleinput/App.razor @@ -1,15 +1,18 @@ @inject IJSRuntime JSRuntime; - + + -Get octal value -Get decimal value -Get hexadecimal value +Get octal value +Get decimal value +Get hexadecimal value @code { JqxFormattedInput myFormattedInput; + string radix = "binary"; - int buttonWidth = 175; private void getOctal(IDictionary e) { diff --git a/demos/menu/keyboardnavigation/App.razor b/demos/menu/keyboardnavigation/App.razor index fbe88360..6b213153 100644 --- a/demos/menu/keyboardnavigation/App.razor +++ b/demos/menu/keyboardnavigation/App.razor @@ -1,6 +1,4 @@ -@inject IJSRuntime JSRuntime; - -
  • Home
  • @@ -77,9 +75,6 @@
    -

    -
    -

    • Tab - Once the focus is received, users will be able to use the keyboard to change the focused menu item.
    • Shift+Tab - reverses the direction of the tab order. Once in the widget, a Shift+Tab will take the user to the previous menu item.
    • @@ -93,16 +88,10 @@
    @code { - JqxMenu myMenu; - ElementReference log; + JqxMenu myMenu; private void onMenuReady() { myMenu.focus(); } - - private void itemClick(IDictionary e) - { - JSRuntime.InvokeAsync("Example.updateLog", log, "Clicked: " + e["innerText"]); - } } diff --git a/demos/menu/keyboardnavigation/index.js b/demos/menu/keyboardnavigation/index.js deleted file mode 100644 index e66055fd..00000000 --- a/demos/menu/keyboardnavigation/index.js +++ /dev/null @@ -1,5 +0,0 @@ -window.Example = { - updateLog: function (element, html) { - element.innerHTML = html; - } -}; diff --git a/demos/treemap/automaticrendering/App.razor b/demos/treemap/automaticrendering/App.razor new file mode 100644 index 00000000..127c729a --- /dev/null +++ b/demos/treemap/automaticrendering/App.razor @@ -0,0 +1,29 @@ + + + +@code { + string colorMode = "autoColors"; + + IDictionary[] source = new Dictionary[] + { + new Dictionary { { "label", "USA" }, { "value", 104 } }, + new Dictionary { { "label", "'People\'s Republic of China" }, { "value", 88 } }, + new Dictionary { { "label", "Great Britain" }, { "value", 65 } }, + new Dictionary { { "label", "Russian Federation" }, { "value", 82 } }, + new Dictionary { { "label", "Germany" }, { "value", 44 } }, + new Dictionary { { "label", "Republic of Korea" }, { "value", 28 } }, + new Dictionary { { "label", "France" }, { "value", 34 } }, + new Dictionary { { "label", "Italy" }, { "value", 28 } }, + new Dictionary { { "label", "Hungary" }, { "value", 17 } }, + new Dictionary { { "label", "Australia" }, { "value", 35 } }, + new Dictionary { { "label", "Japan" }, { "value", 38 } }, + new Dictionary { { "label", "Kazakhstan" }, { "value", 13 } }, + new Dictionary { { "label", "Netherlands" }, { "value", 20 } }, + new Dictionary { { "label", "Ukraine" }, { "value", 20 } }, + new Dictionary { { "label", "New Zealand" }, { "value", 13 } }, + new Dictionary { { "label", "Cuba" }, { "value", 14 } } + }; +} diff --git a/demos/validator/defaultfunctionality/App.razor b/demos/validator/defaultfunctionality/App.razor new file mode 100644 index 00000000..ba765ab0 --- /dev/null +++ b/demos/validator/defaultfunctionality/App.razor @@ -0,0 +1,88 @@ + +
    +

    + Register +

    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Username:
    Password:
    Real name:
    E-mail:
    SSN:
    Phone:
    Zip code:
    +
    + I Accept Terms +
    +
    + + Send + +
    +
    +
    +
    +
    + +@code { + JqxValidator myValidator; + + string expanderToggleMode = "none"; + + IDictionary[] validatorRules = new Dictionary[] + { + new Dictionary { { "input", "#userInput" }, { "message", "Username is required!" }, { "action", "keyup, blur" }, { "rule", "required" } }, + new Dictionary { { "input", "#userInput" }, { "message", "Your username must be between 3 and 12 characters!" }, { "action", "keyup, blur" }, { "rule", "length=3,12" } }, + new Dictionary { { "input", "#realNameInput" }, { "message", "Real Name is required!" }, { "action", "keyup, blur" }, { "rule", "required" } }, + new Dictionary { { "input", "#realNameInput" }, { "message", "Your real name must contain only letters!" }, { "action", "keyup" }, { "rule", "notNumber" } }, + new Dictionary { { "input", "#realNameInput" }, { "message", "Your real name must be between 3 and 12 characters!" }, { "action", "keyup" }, { "rule", "length=2,12" } }, + new Dictionary { { "input", "#passwordInput" }, { "message", "Password is required!" }, { "action", "keyup, blur" }, { "rule", "required" } }, + new Dictionary { { "input", "#passwordInput" }, { "message", "Your password must be between 4 and 12 characters!" }, { "action", "keyup, blur" }, { "rule", "length=4,12" } }, + new Dictionary { { "input", "#emailInput" }, { "message", "E-mail is required!" }, { "action", "keyup, blur" }, { "rule", "required" } }, + new Dictionary { { "input", "#emailInput" }, { "message", "Invalid e-mail!" }, { "action", "keyup" }, { "rule", "email" } }, + new Dictionary { { "input", "#ssnInput" }, { "message", "Invalid SSN!" }, { "action", "valuechanged, blur" }, { "rule", "ssn" } }, + new Dictionary { { "input", "#phoneInput" }, { "message", "Invalid phone number!" }, { "action", "valuechanged, blur" }, { "rule", "phone" } }, + new Dictionary { { "input", "#zipInput" }, { "message", "Invalid zip code!" }, { "action", "valuechanged, blur" }, { "rule", "zipCode" } }, + new Dictionary { { "input", "#acceptCheckBox" }, { "message", "You have to accept the terms" }, { "action", "change" }, { "rule", "required" } } + }; + + void sendBtnClicked(IDictionary e) + { + myValidator.validate("#form"); + } +} diff --git a/demos/window/righttoleftlayout/App.razor b/demos/window/righttoleftlayout/App.razor index 90c84693..43344875 100644 --- a/demos/window/righttoleftlayout/App.razor +++ b/demos/window/righttoleftlayout/App.razor @@ -17,7 +17,7 @@
    - +

    30 St Mary Axe

    @@ -50,7 +50,7 @@ @code { JqxWindow window; - Dictionary position = new Dictionary() { { "x", 20 }, { "y", 70 } }; + IDictionary position = new Dictionary { { "x", 20 }, { "y", 70 } }; protected override async Task OnAfterRenderAsync(bool firstRender) { @@ -59,15 +59,16 @@ string result = await JSRuntime.InvokeAsync("Example.getCoordinates", "#jqxWidget"); string[] tokens = result.Split(";"); int[] convertedItems = Array.ConvertAll(tokens, int.Parse); - int top = convertedItems[0]; - int left = convertedItems[1]; - IDictionary newPosition = new Dictionary() + int top = convertedItems[0] + 50; + int left = convertedItems[1] + 50; + + IDictionary newPosition = new Dictionary { - { "x", (left + 50) }, - { "y", (top + 50) } + { "x", left }, + { "y", top } }; - window.setOptions(new Dictionary() { { "position", newPosition } }); + window.setOptions(new Dictionary { { "position", newPosition } }); } } diff --git a/dev-project/App.razor b/dev-project/App.razor index ce9f7508..ec1e3e64 100644 --- a/dev-project/App.razor +++ b/dev-project/App.razor @@ -1,297 +1,32 @@ - - - -
    - List of tools -
    -
    - Help topics -
    - -
    - Document 1 content -
    -
    - Document 2 content -
    - -
    - List of errors -
    - -
    - -
    -
    - List of properties -
    - -
    -
    -

    - Themes installation complete. -

    -

    - List of installed stylesheet files. Include at least one stylesheet Theme file and - the images folder: -

    -
      -
    • - styles/jqx.base.css: Stylesheet for the base Theme. The jqx.base.css file should - be always included in your project. -
    • -
    • styles/jqx.arctic.css: Stylesheet for the Arctic Theme
    • -
    • styles/jqx.web.css: Stylesheet for the Web Theme
    • -
    • styles/jqx.bootstrap.css: Stylesheet for the Bootstrap Theme
    • -
    • styles/jqx.classic.css: Stylesheet for the Classic Theme
    • -
    • styles/jqx.darkblue.css: Stylesheet for the DarkBlue Theme
    • -
    • styles/jqx.energyblue.css: Stylesheet for the EnergyBlue Theme
    • -
    • styles/jqx.shinyblack.css: Stylesheet for the ShinyBlack Theme
    • -
    • styles/jqx.office.css: Stylesheet for the Office Theme
    • -
    • styles/jqx.metro.css: Stylesheet for the Metro Theme
    • -
    • styles/jqx.metrodark.css: Stylesheet for the Metro Dark Theme
    • -
    • styles/jqx.orange.css: Stylesheet for the Orange Theme
    • -
    • styles/jqx.summer.css: Stylesheet for the Summer Theme
    • -
    • styles/jqx.black.css: Stylesheet for the Black Theme
    • -
    • styles/jqx.fresh.css: Stylesheet for the Fresh Theme
    • -
    • styles/jqx.highcontrast.css: Stylesheet for the HighContrast Theme
    • -
    • styles/jqx.blackberry.css: Stylesheet for the Blackberry Theme
    • -
    • styles/jqx.android.css: Stylesheet for the Android Theme
    • -
    • styles/jqx.mobile.css: Stylesheet for the Mobile Theme
    • -
    • styles/jqx.windowsphone.css: Stylesheet for the Windows Phone Theme
    • -
    • styles/jqx.ui-darkness.css: Stylesheet for the UI Darkness Theme
    • -
    • styles/jqx.ui-lightness.css: Stylesheet for the UI Lightness Theme
    • -
    • styles/jqx.ui-le-frog.css: Stylesheet for the UI Le Frog Theme
    • -
    • styles/jqx.ui-overcast.css: Stylesheet for the UI Overcast Theme
    • -
    • styles/jqx.ui-redmond.css: Stylesheet for the UI Redmond Theme
    • -
    • styles/jqx.ui-smoothness.css: Stylesheet for the UI Smoothness Theme
    • -
    • styles/jqx.ui-start.css: Stylesheet for the UI Start Theme
    • -
    • styles/jqx.ui-sunny.css: Stylesheet for the UI Sunny Theme
    • -
    • styles/images: contains images referenced in the stylesheet files
    • -
    -
    -
    -
    + + + +
    +
    Color Modes
    + + + Saturation Color Mode + + + + Hue Color Mode + +
    @code { - string treeSize = "100%"; + JqxColorPicker myColorPicker; + JqxRadioButton hueModeBtn; - IDictionary[] treeSource = new Dictionary[] + void onChecked(IDictionary e) { - new Dictionary + if (hueModeBtn.isChecked) { - { "label", "Project" }, - { "expanded", true }, - { "icon", "../images/earth.png" }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "label", "css" }, - { "expanded", true }, - { "icon", "../images/folder.png" }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "label", "jqx.base.css" }, - { "icon", "../images/nav1.png" }, - }, - new Dictionary - { - { "label", "jqx.energyblue.css" }, - { "icon", "../images/nav1.png" }, - }, - new Dictionary - { - { "label", "jqx.orange.css" }, - { "icon", "../images/nav1.png" }, - } - } - } - }, - new Dictionary - { - { "label", "scripts" }, - { "icon", "../images/folder.png" }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "label", "jqxcore.js" }, - { "icon", "../images/nav1.png" }, - }, - new Dictionary - { - { "label", "jqxdata.js" }, - { "icon", "../images/nav1.png" }, - }, - new Dictionary - { - { "label", "jqxgrid.js" }, - { "icon", "../images/nav1.png" }, - } - } - } - }, - new Dictionary - { - { "label", "index.htm" }, - { "icon", "../images/folder.png" } - } - } - } + myColorPicker.colorMode = "hue"; } - }; - - IDictionary[] layout = new Dictionary[] - { - new Dictionary - { - { "type", "layoutGroup" }, - { "orientation", "horizontal" }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "autoHideGroup" }, - { "alignment", "left" }, - { "width", 80 }, - { "unpinnedWidth", 200 }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Toolbox" }, - { "contentContainer", "ToolboxPanel" } - }, - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Help" }, - { "contentContainer", "HelpPanel" } - } - } - } - }, - new Dictionary - { - { "type", "layoutGroup" }, - { "orientation", "vertical" }, - { "width", 500 }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "documentGroup" }, - { "height", 400 }, - { "minHeight", 200 }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "documentPanel" }, - { "title", "Document 1" }, - { "contentContainer", "Document1Panel" } - }, - new Dictionary - { - { "type", "documentPanel" }, - { "title", "Document 2" }, - { "contentContainer", "Document2Panel" } - } - } - } - }, - new Dictionary - { - { "type", "tabbedGroup" }, - { "height", 200 }, - { "pinnedHeight", 30 }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Error List" }, - { "contentContainer", "ErrorListPanel" } - } - } - } - } - } - } - }, - new Dictionary - { - { "type", "tabbedGroup" }, - { "width", 220 }, - { "minWidth", 200 }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Solution Explorer" }, - { "contentContainer", "SolutionExplorerPanel" } - }, - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Properties" }, - { "contentContainer", "PropertiesPanel" } - } - } - } - } - } - } - }, - new Dictionary + else { - { "type", "floatGroup" }, - { "width", 500 }, - { "height", 300 }, - { - "position", - new Dictionary - { - { "x", 350 }, - { "y", 250 } - } - }, - { - "items", - new Dictionary[] - { - new Dictionary - { - { "type", "layoutPanel" }, - { "title", "Output" }, - { "contentContainer", "OutputPanel" }, - { "selected", true } - } - } - } + myColorPicker.colorMode = "saturation"; } - }; + } } diff --git a/library/jQWidgets.Blazor/wwwroot/jqxBlazor.js b/library/jQWidgets.Blazor/wwwroot/jqxBlazor.js index bfbdf1cc..3ca411aa 100644 --- a/library/jQWidgets.Blazor/wwwroot/jqxBlazor.js +++ b/library/jQWidgets.Blazor/wwwroot/jqxBlazor.js @@ -17,9 +17,6 @@ window.jqxBlazor = { options = checkForIsoStrings(options); options = checkForDataAdapterNeed(options); - console.log(options); - console.log(id); - console.log(name); instances[id] = new window[name]('#' + id, options); }, diff --git a/processors/site-demos.js b/processors/site-demos.js index f5f46e91..e427b85c 100644 --- a/processors/site-demos.js +++ b/processors/site-demos.js @@ -47,9 +47,9 @@ async function generateSiteDemos() { } // // uncomment to test a single demo - if (!(widgetFolder === 'dockinglayout' && demoFolder === 'defaultfunctionality')) { - continue; - } + // if (!(widgetFolder === 'colorpicker' && demoFolder === 'settings')) { + // continue; + // } // creates the demo folder in release/demos/[demo] await createFolder(widgetFolder, demoFolder); diff --git a/release/blazor-buttons/index.htm b/release/blazor-buttons/index.htm index 7042f240..6c37f0bb 100644 --- a/release/blazor-buttons/index.htm +++ b/release/blazor-buttons/index.htm @@ -101,9 +101,9 @@
  • Default Functionality
  • -
  • +
  • RepeatButton
  • diff --git a/release/blazor-colorpicker/index.htm b/release/blazor-colorpicker/index.htm index 31417ff8..92f36820 100644 --- a/release/blazor-colorpicker/index.htm +++ b/release/blazor-colorpicker/index.htm @@ -100,9 +100,9 @@ jqxColorPicker

      -
    • +
    • Settings
    • diff --git a/release/blazor-datatable/blazor-datatable-rowselectionhover.htm b/release/blazor-datatable/blazor-datatable-rowselectionhover.htm index 6ddfa5f7..3b5df13c 100644 --- a/release/blazor-datatable/blazor-datatable-rowselectionhover.htm +++ b/release/blazor-datatable/blazor-datatable-rowselectionhover.htm @@ -11,19 +11,15 @@ - - - + + - - - - - + + diff --git a/release/blazor-dragdrop/blazor-dragdrop-events.htm b/release/blazor-dragdrop/blazor-dragdrop-events.htm index d8814b10..2141c7bd 100644 --- a/release/blazor-dragdrop/blazor-dragdrop-events.htm +++ b/release/blazor-dragdrop/blazor-dragdrop-events.htm @@ -10,10 +10,13 @@ + + + - - + + diff --git a/release/blazor-dragdrop/index.htm b/release/blazor-dragdrop/index.htm index fc2a3e19..957a343d 100644 --- a/release/blazor-dragdrop/index.htm +++ b/release/blazor-dragdrop/index.htm @@ -99,9 +99,9 @@ jqxDragDrop

        -
      • +
      • Events
      • diff --git a/release/blazor-form/index.htm b/release/blazor-form/index.htm index 037de5ca..badff36c 100644 --- a/release/blazor-form/index.htm +++ b/release/blazor-form/index.htm @@ -95,7 +95,7 @@ diff --git a/release/blazor-treemap/index.htm b/release/blazor-treemap/index.htm index 771332b0..ecb12515 100644 --- a/release/blazor-treemap/index.htm +++ b/release/blazor-treemap/index.htm @@ -100,13 +100,13 @@ jqxTreeMap

        diff --git a/release/blazor-validator/blazor-validator-defaultfunctionality.htm b/release/blazor-validator/blazor-validator-defaultfunctionality.htm index 5ef183fa..58ee87de 100644 --- a/release/blazor-validator/blazor-validator-defaultfunctionality.htm +++ b/release/blazor-validator/blazor-validator-defaultfunctionality.htm @@ -10,10 +10,16 @@ + + + + + + + + - - diff --git a/release/blazor-validator/index.htm b/release/blazor-validator/index.htm index 98660822..3b6dce77 100644 --- a/release/blazor-validator/index.htm +++ b/release/blazor-validator/index.htm @@ -103,12 +103,12 @@
      • Default Functionality
      • -
      • +
      diff --git a/release/demos/bulletchart/settings/index.dll b/release/demos/bulletchart/settings/index.dll index 3124740c..579406f0 100644 Binary files a/release/demos/bulletchart/settings/index.dll and b/release/demos/bulletchart/settings/index.dll differ diff --git a/release/demos/colorpicker/settings/blazor.boot.json b/release/demos/colorpicker/settings/blazor.boot.json new file mode 100644 index 00000000..7a99bfc5 --- /dev/null +++ b/release/demos/colorpicker/settings/blazor.boot.json @@ -0,0 +1,32 @@ +{ + "assemblies": + [ + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.HttpClient.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.dll", + "../framework/_framework/_bin/Microsoft.Bcl.AsyncInterfaces.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Primitives.dll", + "../framework/_framework/_bin/Microsoft.JSInterop.dll", + "../framework/_framework/_bin/Mono.WebAssembly.Interop.dll", + "../framework/_framework/_bin/System.Core.dll", + "../framework/_framework/_bin/System.Net.Http.dll", + "../framework/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll", + "../framework/_framework/_bin/System.Text.Encodings.Web.dll", + "../framework/_framework/_bin/System.Text.Json.dll", + "../framework/_framework/_bin/System.dll", + "../framework/_framework/_bin/WebAssembly.Bindings.dll", + "../framework/_framework/_bin/WebAssembly.Net.Http.dll", + "../framework/_framework/_bin/jQWidgets.Blazor.dll", + "../framework/_framework/_bin/mscorlib.dll", + "../demos/colorpicker/settings/index.dll" + ], + "entryAssembly": "index", + "linkerEnabled": true +} + \ No newline at end of file diff --git a/release/demos/colorpicker/settings/blazor.webassembly.js b/release/demos/colorpicker/settings/blazor.webassembly.js new file mode 100644 index 00000000..3285c4ca --- /dev/null +++ b/release/demos/colorpicker/settings/blazor.webassembly.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/colorpicker/settings/index.dll b/release/demos/colorpicker/settings/index.dll new file mode 100644 index 00000000..3a2dd044 Binary files /dev/null and b/release/demos/colorpicker/settings/index.dll differ diff --git a/release/demos/colorpicker/settings/index.js b/release/demos/colorpicker/settings/index.js new file mode 100644 index 00000000..e69de29b diff --git a/release/demos/datatable/rowselectionhover/index.dll b/release/demos/datatable/rowselectionhover/index.dll index 6d5dc494..666e0e74 100644 Binary files a/release/demos/datatable/rowselectionhover/index.dll and b/release/demos/datatable/rowselectionhover/index.dll differ diff --git a/release/demos/dragdrop/events/blazor.boot.json b/release/demos/dragdrop/events/blazor.boot.json new file mode 100644 index 00000000..f33b9c8f --- /dev/null +++ b/release/demos/dragdrop/events/blazor.boot.json @@ -0,0 +1,32 @@ +{ + "assemblies": + [ + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.HttpClient.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.dll", + "../framework/_framework/_bin/Microsoft.Bcl.AsyncInterfaces.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Primitives.dll", + "../framework/_framework/_bin/Microsoft.JSInterop.dll", + "../framework/_framework/_bin/Mono.WebAssembly.Interop.dll", + "../framework/_framework/_bin/System.Core.dll", + "../framework/_framework/_bin/System.Net.Http.dll", + "../framework/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll", + "../framework/_framework/_bin/System.Text.Encodings.Web.dll", + "../framework/_framework/_bin/System.Text.Json.dll", + "../framework/_framework/_bin/System.dll", + "../framework/_framework/_bin/WebAssembly.Bindings.dll", + "../framework/_framework/_bin/WebAssembly.Net.Http.dll", + "../framework/_framework/_bin/jQWidgets.Blazor.dll", + "../framework/_framework/_bin/mscorlib.dll", + "../demos/dragdrop/events/index.dll" + ], + "entryAssembly": "index", + "linkerEnabled": true +} + \ No newline at end of file diff --git a/release/demos/dragdrop/events/blazor.webassembly.js b/release/demos/dragdrop/events/blazor.webassembly.js new file mode 100644 index 00000000..3c41f39f --- /dev/null +++ b/release/demos/dragdrop/events/blazor.webassembly.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/dragdrop/events/index.dll b/release/demos/dragdrop/events/index.dll new file mode 100644 index 00000000..06635b74 Binary files /dev/null and b/release/demos/dragdrop/events/index.dll differ diff --git a/release/demos/dragdrop/events/index.js b/release/demos/dragdrop/events/index.js new file mode 100644 index 00000000..e69de29b diff --git a/release/demos/form/defaultfunctionality/blazor.boot.json b/release/demos/form/defaultfunctionality/blazor.boot.json new file mode 100644 index 00000000..fac03d4d --- /dev/null +++ b/release/demos/form/defaultfunctionality/blazor.boot.json @@ -0,0 +1,32 @@ +{ + "assemblies": + [ + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.HttpClient.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.dll", + "../framework/_framework/_bin/Microsoft.Bcl.AsyncInterfaces.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Primitives.dll", + "../framework/_framework/_bin/Microsoft.JSInterop.dll", + "../framework/_framework/_bin/Mono.WebAssembly.Interop.dll", + "../framework/_framework/_bin/System.Core.dll", + "../framework/_framework/_bin/System.Net.Http.dll", + "../framework/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll", + "../framework/_framework/_bin/System.Text.Encodings.Web.dll", + "../framework/_framework/_bin/System.Text.Json.dll", + "../framework/_framework/_bin/System.dll", + "../framework/_framework/_bin/WebAssembly.Bindings.dll", + "../framework/_framework/_bin/WebAssembly.Net.Http.dll", + "../framework/_framework/_bin/jQWidgets.Blazor.dll", + "../framework/_framework/_bin/mscorlib.dll", + "../demos/form/defaultfunctionality/index.dll" + ], + "entryAssembly": "index", + "linkerEnabled": true +} + \ No newline at end of file diff --git a/release/demos/form/defaultfunctionality/blazor.webassembly.js b/release/demos/form/defaultfunctionality/blazor.webassembly.js new file mode 100644 index 00000000..7e6c7563 --- /dev/null +++ b/release/demos/form/defaultfunctionality/blazor.webassembly.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/form/defaultfunctionality/index.dll b/release/demos/form/defaultfunctionality/index.dll new file mode 100644 index 00000000..80aced80 Binary files /dev/null and b/release/demos/form/defaultfunctionality/index.dll differ diff --git a/release/demos/form/defaultfunctionality/index.js b/release/demos/form/defaultfunctionality/index.js new file mode 100644 index 00000000..e69de29b diff --git a/release/demos/formattedinput/defaultfunctionality/index.dll b/release/demos/formattedinput/defaultfunctionality/index.dll index 0d280b40..ae9933c6 100644 Binary files a/release/demos/formattedinput/defaultfunctionality/index.dll and b/release/demos/formattedinput/defaultfunctionality/index.dll differ diff --git a/release/demos/formattedinput/exponentialnotation/index.dll b/release/demos/formattedinput/exponentialnotation/index.dll index 078c1bca..c786112f 100644 Binary files a/release/demos/formattedinput/exponentialnotation/index.dll and b/release/demos/formattedinput/exponentialnotation/index.dll differ diff --git a/release/demos/formattedinput/fluidsize/index.dll b/release/demos/formattedinput/fluidsize/index.dll index 01d89564..c3f72da2 100644 Binary files a/release/demos/formattedinput/fluidsize/index.dll and b/release/demos/formattedinput/fluidsize/index.dll differ diff --git a/release/demos/formattedinput/keyboardnavigation/index.dll b/release/demos/formattedinput/keyboardnavigation/index.dll index 5dd21dae..03ded836 100644 Binary files a/release/demos/formattedinput/keyboardnavigation/index.dll and b/release/demos/formattedinput/keyboardnavigation/index.dll differ diff --git a/release/demos/formattedinput/negativenumbers/index.dll b/release/demos/formattedinput/negativenumbers/index.dll index 53c75cd3..0c803dae 100644 Binary files a/release/demos/formattedinput/negativenumbers/index.dll and b/release/demos/formattedinput/negativenumbers/index.dll differ diff --git a/release/demos/formattedinput/righttoleftlayout/index.dll b/release/demos/formattedinput/righttoleftlayout/index.dll index dff299d8..a4b2a874 100644 Binary files a/release/demos/formattedinput/righttoleftlayout/index.dll and b/release/demos/formattedinput/righttoleftlayout/index.dll differ diff --git a/release/demos/formattedinput/simpleinput/index.dll b/release/demos/formattedinput/simpleinput/index.dll index 796bbdde..1266d769 100644 Binary files a/release/demos/formattedinput/simpleinput/index.dll and b/release/demos/formattedinput/simpleinput/index.dll differ diff --git a/release/demos/formattedinput/uppercasehexadecimals/index.dll b/release/demos/formattedinput/uppercasehexadecimals/index.dll index cd0476ed..20ae68ef 100644 Binary files a/release/demos/formattedinput/uppercasehexadecimals/index.dll and b/release/demos/formattedinput/uppercasehexadecimals/index.dll differ diff --git a/release/demos/formattedinput/validation/index.dll b/release/demos/formattedinput/validation/index.dll index bd9e6ffa..52deb9a3 100644 Binary files a/release/demos/formattedinput/validation/index.dll and b/release/demos/formattedinput/validation/index.dll differ diff --git a/release/demos/menu/keyboardnavigation/index.dll b/release/demos/menu/keyboardnavigation/index.dll index 099097de..41ef13f4 100644 Binary files a/release/demos/menu/keyboardnavigation/index.dll and b/release/demos/menu/keyboardnavigation/index.dll differ diff --git a/release/demos/menu/keyboardnavigation/index.js b/release/demos/menu/keyboardnavigation/index.js index 6f238cd2..e69de29b 100644 --- a/release/demos/menu/keyboardnavigation/index.js +++ b/release/demos/menu/keyboardnavigation/index.js @@ -1,5 +0,0 @@ -window.Example = { - updateLog: function (element, html) { - element.innerHTML = html; - } -}; diff --git a/release/demos/treemap/automaticrendering/blazor.boot.json b/release/demos/treemap/automaticrendering/blazor.boot.json new file mode 100644 index 00000000..4ece58ec --- /dev/null +++ b/release/demos/treemap/automaticrendering/blazor.boot.json @@ -0,0 +1,32 @@ +{ + "assemblies": + [ + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.HttpClient.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.dll", + "../framework/_framework/_bin/Microsoft.Bcl.AsyncInterfaces.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Primitives.dll", + "../framework/_framework/_bin/Microsoft.JSInterop.dll", + "../framework/_framework/_bin/Mono.WebAssembly.Interop.dll", + "../framework/_framework/_bin/System.Core.dll", + "../framework/_framework/_bin/System.Net.Http.dll", + "../framework/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll", + "../framework/_framework/_bin/System.Text.Encodings.Web.dll", + "../framework/_framework/_bin/System.Text.Json.dll", + "../framework/_framework/_bin/System.dll", + "../framework/_framework/_bin/WebAssembly.Bindings.dll", + "../framework/_framework/_bin/WebAssembly.Net.Http.dll", + "../framework/_framework/_bin/jQWidgets.Blazor.dll", + "../framework/_framework/_bin/mscorlib.dll", + "../demos/treemap/automaticrendering/index.dll" + ], + "entryAssembly": "index", + "linkerEnabled": true +} + \ No newline at end of file diff --git a/release/demos/treemap/automaticrendering/blazor.webassembly.js b/release/demos/treemap/automaticrendering/blazor.webassembly.js new file mode 100644 index 00000000..a43bc87c --- /dev/null +++ b/release/demos/treemap/automaticrendering/blazor.webassembly.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/treemap/automaticrendering/index.dll b/release/demos/treemap/automaticrendering/index.dll new file mode 100644 index 00000000..78ddee28 Binary files /dev/null and b/release/demos/treemap/automaticrendering/index.dll differ diff --git a/release/demos/treemap/automaticrendering/index.js b/release/demos/treemap/automaticrendering/index.js new file mode 100644 index 00000000..e69de29b diff --git a/release/demos/validator/defaultfunctionality/blazor.boot.json b/release/demos/validator/defaultfunctionality/blazor.boot.json new file mode 100644 index 00000000..acbba82a --- /dev/null +++ b/release/demos/validator/defaultfunctionality/blazor.boot.json @@ -0,0 +1,32 @@ +{ + "assemblies": + [ + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Blazor.HttpClient.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll", + "../framework/_framework/_bin/Microsoft.AspNetCore.Components.dll", + "../framework/_framework/_bin/Microsoft.Bcl.AsyncInterfaces.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Configuration.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll", + "../framework/_framework/_bin/Microsoft.Extensions.Primitives.dll", + "../framework/_framework/_bin/Microsoft.JSInterop.dll", + "../framework/_framework/_bin/Mono.WebAssembly.Interop.dll", + "../framework/_framework/_bin/System.Core.dll", + "../framework/_framework/_bin/System.Net.Http.dll", + "../framework/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll", + "../framework/_framework/_bin/System.Text.Encodings.Web.dll", + "../framework/_framework/_bin/System.Text.Json.dll", + "../framework/_framework/_bin/System.dll", + "../framework/_framework/_bin/WebAssembly.Bindings.dll", + "../framework/_framework/_bin/WebAssembly.Net.Http.dll", + "../framework/_framework/_bin/jQWidgets.Blazor.dll", + "../framework/_framework/_bin/mscorlib.dll", + "../demos/validator/defaultfunctionality/index.dll" + ], + "entryAssembly": "index", + "linkerEnabled": true +} + \ No newline at end of file diff --git a/release/demos/validator/defaultfunctionality/blazor.webassembly.js b/release/demos/validator/defaultfunctionality/blazor.webassembly.js new file mode 100644 index 00000000..06f01356 --- /dev/null +++ b/release/demos/validator/defaultfunctionality/blazor.webassembly.js @@ -0,0 +1 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/validator/defaultfunctionality/index.dll b/release/demos/validator/defaultfunctionality/index.dll new file mode 100644 index 00000000..42dff1c7 Binary files /dev/null and b/release/demos/validator/defaultfunctionality/index.dll differ diff --git a/release/demos/validator/defaultfunctionality/index.js b/release/demos/validator/defaultfunctionality/index.js new file mode 100644 index 00000000..e69de29b diff --git a/release/demos/window/righttoleftlayout/blazor.boot.json b/release/demos/window/righttoleftlayout/blazor.boot.json index abf41c79..e05842af 100644 --- a/release/demos/window/righttoleftlayout/blazor.boot.json +++ b/release/demos/window/righttoleftlayout/blazor.boot.json @@ -24,7 +24,7 @@ "../framework/_framework/_bin/WebAssembly.Net.Http.dll", "../framework/_framework/_bin/jQWidgets.Blazor.dll", "../framework/_framework/_bin/mscorlib.dll", - "../demos/window\righttoleftlayout/index.dll" + "../demos/window/righttoleftlayout/index.dll" ], "entryAssembly": "index", "linkerEnabled": true diff --git a/release/demos/window/righttoleftlayout/blazor.webassembly.js b/release/demos/window/righttoleftlayout/blazor.webassembly.js index 7bffad33..cf42ada3 100644 --- a/release/demos/window/righttoleftlayout/blazor.webassembly.js +++ b/release/demos/window/righttoleftlayout/blazor.webassembly.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=45)}([,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(18);var r=n(26),o=n(13),a={},i=!1;function u(e,t,n){var o=a[e];o||(o=a[e]=new r.BrowserRenderer(e)),o.attachRootComponentToLogicalElement(n,t)}t.attachRootComponentToLogicalElement=u,t.attachRootComponentToElement=function(e,t,n){var r=document.querySelector(e);if(!r)throw new Error("Could not find any element matching selector '"+e+"'.");u(n||0,o.toLogicalElement(r,!0),t)},t.renderBatch=function(e,t){var n=a[e];if(!n)throw new Error("There is no browser renderer with ID "+e+".");for(var r=t.arrayRangeReader,o=t.updatedComponents(),u=r.values(o),l=r.count(o),s=t.referenceFrames(),c=r.values(s),d=t.diffReader,f=0;f0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&!t)throw new Error("New logical elements must start empty, or allowExistingContents must be true");return e[r]=[],e}function u(e,t,n){var a=e;if(e instanceof Comment&&(s(a)&&s(a).length>0))throw new Error("Not implemented: inserting non-empty logical container");if(l(a))throw new Error("Not implemented: moving existing logical children");var i=s(t);if(n0;)e(r,0);var a=r;a.parentNode.removeChild(a)},t.getLogicalParent=l,t.getLogicalSiblingEnd=function(e){return e[a]||null},t.getLogicalChild=function(e,t){return s(e)[t]},t.isSvgElement=function(e){return"http://www.w3.org/2000/svg"===c(e).namespaceURI},t.getLogicalChildrenArray=s,t.permuteLogicalChildren=function(e,t){var n=s(e);t.forEach(function(e){e.moveRangeStart=n[e.fromSiblingIndex],e.moveRangeEnd=function e(t){if(t instanceof Element)return t;var n=d(t);if(n)return n.previousSibling;var r=l(t);return r instanceof Element?r.lastChild:e(r)}(e.moveRangeStart)}),t.forEach(function(t){var r=t.moveToBeforeMarker=document.createComment("marker"),o=n[t.toSiblingIndex+1];o?o.parentNode.insertBefore(r,o):f(r,e)}),t.forEach(function(e){for(var t=e.moveToBeforeMarker,n=t.parentNode,r=e.moveRangeStart,o=e.moveRangeEnd,a=r;a;){var i=a.nextSibling;if(n.insertBefore(a,t),a===o)break;a=i}n.removeChild(t)}),t.forEach(function(e){n[e.toSiblingIndex]=e.moveRangeStart})},t.getClosestDomElement=c},,,,function(e,t,n){"use strict";var r;!function(e){window.DotNet=e;var t=[],n={},r={},o=1,a=null;function i(e){t.push(e)}function u(e,t,n,r){var o=s();if(o.invokeDotNetFromJS){var a=JSON.stringify(r,h),i=o.invokeDotNetFromJS(e,t,n,a);return i?d(i):null}throw new Error("The current dispatcher does not support synchronous calls from JS to .NET. Use invokeMethodAsync instead.")}function l(e,t,r,a){if(e&&r)throw new Error("For instance method calls, assemblyName should be null. Received '"+e+"'.");var i=o++,u=new Promise(function(e,t){n[i]={resolve:e,reject:t}});try{var l=JSON.stringify(a,h);s().beginInvokeDotNetFromJS(i,e,t,r,l)}catch(e){c(i,!1,e)}return u}function s(){if(null!==a)return a;throw new Error("No .NET call dispatcher has been set.")}function c(e,t,r){if(!n.hasOwnProperty(e))throw new Error("There is no pending async call with ID "+e+".");var o=n[e];delete n[e],t?o.resolve(r):o.reject(r)}function d(e){return e?JSON.parse(e,function(e,n){return t.reduce(function(t,n){return n(e,t)},n)}):null}function f(e){return e instanceof Error?e.message+" "+e.stack:e?e.toString():"null"}function p(e){if(r.hasOwnProperty(e))return r[e];var t,n=window,o="window";if(e.split(".").forEach(function(e){if(!(e in n))throw new Error("Could not find '"+e+"' in '"+o+"'.");t=n,n=n[e],o+="."+e}),n instanceof Function)return n=n.bind(t),r[e]=n,n;throw new Error("The value '"+o+"' is not a function.")}e.attachDispatcher=function(e){a=e},e.attachReviver=i,e.invokeMethod=function(e,t){for(var n=[],r=2;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>2,r=Module.HEAPU32[n+1];if(r>s)throw new Error("Cannot read uint64 with high order part "+r+", because the result would exceed Number.MAX_SAFE_INTEGER.");return r*l+Module.HEAPU32[n]},readFloatField:function(e,t){return Module.getValue(e+(t||0),"float")},readObjectField:function(e,t){return Module.getValue(e+(t||0),"i32")},readStringField:function(e,n){var r=Module.getValue(e+(n||0),"i32");return 0===r?null:t.monoPlatform.toJavaScriptString(r)},readStructField:function(e,t){return e+(t||0)}};var c=document.createElement("a");function d(e){return e+12}function f(e,t,n){var r="["+e+"] "+t+":"+n;return Module.mono_bind_static_method(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),o=window.chrome&&navigator.userAgent.indexOf("Edge")<0,a=!1;function i(){return a&&o}t.hasDebuggingEnabled=i,t.attachDebuggerHotkey=function(e){a=e.some(function(e){return/.pdb$/.test(r.getFileNameFromUrl(e))});var t=navigator.platform.match(/^Mac/i)?"Cmd":"Alt";i()&&console.info("Debugging hotkey: Shift+"+t+"+D (when application has focus)"),document.addEventListener("keydown",function(e){var t;e.shiftKey&&(e.metaKey||e.altKey)&&"KeyD"===e.code&&(a?o?((t=document.createElement("a")).href="../../../framework/_framework/debug?url="+encodeURIComponent(location.href),t.target="_blank",t.rel="noopener noreferrer",t.click()):console.error("Currently, only Edge(Chromium) or Chrome is supported for debugging."):console.error("Cannot start debugging, because the application was not compiled with debugging enabled."))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=function(){function e(e){this.batchAddress=e,this.arrayRangeReader=a,this.arrayBuilderSegmentReader=i,this.diffReader=u,this.editReader=l,this.frameReader=s}return e.prototype.updatedComponents=function(){return r.platform.readStructField(this.batchAddress,0)},e.prototype.referenceFrames=function(){return r.platform.readStructField(this.batchAddress,a.structLength)},e.prototype.disposedComponentIds=function(){return r.platform.readStructField(this.batchAddress,2*a.structLength)},e.prototype.disposedEventHandlerIds=function(){return r.platform.readStructField(this.batchAddress,3*a.structLength)},e.prototype.updatedComponentsEntry=function(e,t){return c(e,t,u.structLength)},e.prototype.referenceFramesEntry=function(e,t){return c(e,t,s.structLength)},e.prototype.disposedComponentIdsEntry=function(e,t){var n=c(e,t,4);return r.platform.readInt32Field(n)},e.prototype.disposedEventHandlerIdsEntry=function(e,t){var n=c(e,t,8);return r.platform.readUint64Field(n)},e}();t.SharedMemoryRenderBatch=o;var a={structLength:8,values:function(e){return r.platform.readObjectField(e,0)},count:function(e){return r.platform.readInt32Field(e,4)}},i={structLength:12,values:function(e){var t=r.platform.readObjectField(e,0),n=r.platform.getObjectFieldsBaseAddress(t);return r.platform.readObjectField(n,0)},offset:function(e){return r.platform.readInt32Field(e,4)},count:function(e){return r.platform.readInt32Field(e,8)}},u={structLength:4+i.structLength,componentId:function(e){return r.platform.readInt32Field(e,0)},edits:function(e){return r.platform.readStructField(e,4)},editsEntry:function(e,t){return c(e,t,l.structLength)}},l={structLength:20,editType:function(e){return r.platform.readInt32Field(e,0)},siblingIndex:function(e){return r.platform.readInt32Field(e,4)},newTreeIndex:function(e){return r.platform.readInt32Field(e,8)},moveToSiblingIndex:function(e){return r.platform.readInt32Field(e,8)},removedAttributeName:function(e){return r.platform.readStringField(e,16)}},s={structLength:36,frameType:function(e){return r.platform.readInt16Field(e,4)},subtreeLength:function(e){return r.platform.readInt32Field(e,8)},elementReferenceCaptureId:function(e){return r.platform.readStringField(e,16)},componentId:function(e){return r.platform.readInt32Field(e,12)},elementName:function(e){return r.platform.readStringField(e,16)},textContent:function(e){return r.platform.readStringField(e,16)},markupContent:function(e){return r.platform.readStringField(e,16)},attributeName:function(e){return r.platform.readStringField(e,16)},attributeValue:function(e){return r.platform.readStringField(e,24)},attributeEventHandlerId:function(e){return r.platform.readUint64Field(e,8)}};function c(e,t,n){return r.platform.getArrayEntryPtr(e,t,n)}}]); \ No newline at end of file diff --git a/release/demos/window/righttoleftlayout/index.dll b/release/demos/window/righttoleftlayout/index.dll index 007230f6..0cb71775 100644 Binary files a/release/demos/window/righttoleftlayout/index.dll and b/release/demos/window/righttoleftlayout/index.dll differ diff --git a/release/index.htm b/release/index.htm index 2658ae57..5c31d2fb 100644 --- a/release/index.htm +++ b/release/index.htm @@ -258,10 +258,10 @@

      Blazor UI Components

      -
    • +
    • @@ -396,12 +396,12 @@

      Blazor UI Components

    • -
    • +
    • @@ -409,10 +409,10 @@

      Blazor UI Components

      jqxDataTable
    -
  • +
  • @@ -521,6 +521,13 @@

    Blazor UI Components

    jqxSplitter
  • + +
  • diff --git a/release/top.htm b/release/top.htm index 8d036ada..f7e5d74c 100644 --- a/release/top.htm +++ b/release/top.htm @@ -160,10 +160,10 @@

    Blazor UI Components

  • -
  • +
  • @@ -304,21 +304,21 @@

    Blazor UI Components

  • -
  • +
  • -
  • +
  • @@ -423,6 +423,13 @@

    Blazor UI Components

    jqxSplitter
  • +