1.1.8 • Published 5 months ago

jre-client-side v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

JRE-Client-Side

Guide Followed

Change Log

1.1.8

2/11/2025

  • Added AjaxPatch to JRE.js to allow for PATCH requests

1.1.7

1/16/2025

  • Added CSS to hide tooltips when printing

1.1.6

7/31/2024

  • Added the ability to skip rows and columns in JRE-TableNav.js
  • Made JRE-TableNav.js an extension method of jQuery
    • Example of skipping rows and columns with classes WeeklyTotalRow and PTE-Greyed-Out
      $("#TimecardsTable").tableNav(new ArrowKeyOptions({skipWithClasses: ["WeeklyTotalRow", "PTE-Greyed-Out"]}));
  • Added alphanumeric type for stupidtable sorting

  • 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);
      });

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>
      	
1.1.8

5 months ago

1.1.7

6 months ago

1.1.6-rc2

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.5-rc1

12 months ago

1.1.6-rc1

12 months ago

1.1.5-alpha1

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

2 years ago

1.1.0-rc1

2 years ago

1.0.16

2 years ago

1.0.16-rc2

2 years ago

1.0.16-rc1

2 years ago

1.0.15

2 years ago

1.0.15-rc1

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.11-rc2

2 years ago

1.0.11-rc1

2 years ago

1.0.10

2 years ago

1.0.10-rc2

2 years ago

1.0.10-rc1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.7-beta1

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago