jre-client-side
v1.1.6
Published
Client side library for JRE
Downloads
19
Readme
JRE-Client-Side
Change Log
1.1.5
7/24/2024
- Bug fix for
ObjectsEqual
function
1.1.4
3/27/2024
- Added SetErrorPageStorage function
- Added ObjectsEqual function that checks if an object is equal to another
- Added DownloadFileFromFetch function that takes the response object from a fetch request and then downloads the file to the user's browser
- Added a
required
CSS class for labels that adds a red asterisk after the label
1.1.3
3/2/2024
- Added FetchGetZipFile method to download a zip file from a controller
- Had to use Fetch instead of AJAX due to blob/error handling
- Used just like the other GET,POST,PUT,DELETE methods
1.1.0
1/5/2024
- Added early version of JRE-PDF for embedding PDFs into web pages
- More documentation and improvements coming soon but main functionality should stay the same
- Replaced deprecated document.ready calls
1.0.16
12/18/2023
- Should be a fix for sometimes getting an error when calling ClearLocalCache on mobile
1.0.15
12/11/2023
- Added customized pdf.js library with HTML viewer for embedded PDF editing/filling
1.0.14
12/7/2023
- Changed GoToError to be ProcessError so that it is clearer what is doing (not just redirecting to an error)
- Kept GoToError but marked it as deprecated so intellisense will warn you. Will remove eventually
- Fixes to JRE-Speech to work on iOS/iPadOS
1.0.13
11/15/2023
- Commented LoadStyleSheet calls in JRE-Files and JRE-Speech
- Added null check to GoToError
1.0.12
10/30/2023
- Changed dynamic loading of scripts to point to lib instead of a CDN
- Added ClearLocalCache function to JRE.js. This required a ClearLocalCache function in the CommonController
1.0.11
10/10/2023
- Added custom "date" type for stupidtable sorting
- To use the date type, just set the attribute data-sort="date" on the th
- Added JRE-TableNav.js to allow for navigating through a table using the arrow keys similar to excel
- To enable it on a table
$('#MyTable input, #MyTable textarea').on("keydown", function (e) { DetectArrowKey(e); });
- To enable it on a table
1.0.10
10/10/2023
- Modified table sorting on load to allow for sorting tables that do not have an id attribute defined
1.0.9
9/28/2023
- Bug fix
1.0.8
9/28/2023
JRE-Files.js
- Changed constructor to take an object to allow for multiple optional params
- Added ability to define whether it takes multiple files or not
- Added custom label
- Added custom file size limit
- Added loading of BS Icons stylesheet for you if it is not already found
- Improved styling
- Removed old code and comments
JRE.js
- Added showing of toasts on page load so you dont have to do this manually (supports adding toasts to layout file)
- Modified PostBtnEnable to hide all .postSpinner to support calling it in GoToError
- Should not cause issues as only one should be spinning at a time
- Could also use the postBtnFilter param if you need to filter down to a specific spinner
- Added AJAX methods for PUT and DELETE
- Modified LoadScript to check if the script is already references in the page before loading it
- Added LoadStyleSheet similar to LoadScript
- Added the following toast helper functions
- ShowSuccessToast
- ShowErrorToast
- SetSuccessToastStorage
- SetErrorToastStorage
JRE-Speech.js
- Added speech-to-text functionality
- Just need to add "jre-speech" class to controls where you want speech-to-text
- Basic Examples:
<input class="jre-speech" /> <textarea class="jre-speech"></textarea>