LP1850473: manual and automated eslint fixes Automatic fixes from `npm run lint -- --fix` Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
lp1993824: grids enhancement; support for saving filter sets turned off by default Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
lp1993824: grids enhancement; add grid button adjacent labels to eg-grid Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
LP1917092: Filter shelving location grid to non-deleted by default To test: 1) Go to Admin > Local admin > Shelving locations editor. 2) Note that there is a filter enabled: Deleted = No. 3) Check through the grid entries to confirm that no deleted locations exist in the grid. 4) Remove the filter. 5) Note that the deleted entries are now available to you if you need them. Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Elizabeth Thomsen <et@noblenet.org> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
LP1904036 Grid column header label fix Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Merge repair Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid auto columns label/etc fixes * Ensure the datatype is propagated to auto columns. * Display 'class: fieldname' in the column picker, but only display field name in the grid header to avoid large column names. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid wildcard column support cleanup Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1891699 Ang grid column picker sorting Angular grid column picker displays colums in the following order: 1. Visible colums first, sorted alphabetically. 2. Non-visible columns second, sorted alphabetically. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Mike Risher <mrisher@catalyte.io> Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid wildcard column support Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 billing history tabs; sql cleanup Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid flat data service/support Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid flat data service/support Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 grid toolbar button supports routerlink Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid toolbarLabel option Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1904036 Grid rowSelectionChange Output Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1934164 Grid context/duration date minor refactoring Move some repeated code into a shared method. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu>
LP1934164 egDueDate and egOrgDateInContext Angular pipes These support displaying dates in the timezone of a specified org unit. Example: {{circ.xact_start() | egOrgDateInContext:circ.circ_lib():circ.duration()}} The format service also gets a dateOnlyIntervalField parameter to display dates as dates or dates + time depending on whether the provided duration is day-granular. Also adds a handy pipe (egDueDate) which takes a circulation as its value and collects the correct parameters to display the due date in the correct time zone and with the correct dateOnlyIntervalField value. Example: {{circ | egDueDate}} Includes Sandbox examples. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu>
LP1948035 Angular 12 updates Run ng upgrade from 10 -> 11 -> 12. Updates package.json deps for Angular 12. Removes deprecated angular/http dependency Fix a couple of cases where Promise<any> now requires resolve(something) instead of resolve() (which would be Promise<void>). Fix some CSS syntax issues. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
LP1923640 Manage visibility of grid action menu entries Adds a new Angular Grid configuration menu entry labeled "Manage Actions Menu", which launches a new dialog which allows staff to show/hide individual entries in the grid toolbar actions menu / context menu. The new menu action is disabled when a grid has no toolbar actions. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>