1.2.5 • Published 4 years ago

@getbeyond/ng-js-beyond-js v1.2.5

Weekly downloads
46
License
MIT
Repository
github
Last release
4 years ago

ngJsBeyond

This package is written to integrate the $beyond service library with AngularJS. The package is written in ES6 compiled into ES5 via Webpack with Babel.

ngJsBeyond Module

This is the primary package that exposes the $beyond providers.

ngJsBeyond.ui Module

This module can be used in place of ngJsBeyond and exposes Angular UI enhancements, such as our standard toolbar and sidenav directives.

You will likely want to use this module in place of standard ngJsBeyond unless you're writing a UI completely custom.

API Interceptor

The included interceptor will handle 401 redirects back to login.

To include the interceptor, you must manually opt in by modifying your config block with:

$httpProvider.interceptors.push('beyondInterceptorAPI');

Directives

App-Launcher

The App Launcher can be used by included 'beyond-app-launcher' as either an element or attribute. It will replace the item it is attached to. The app-launcher will accept an object into the property beyondApp. From there, it will render out the icon and handle a user attempting to launch an app.

Apps-Menu

The Apps Menu is used when a user has a smaller screen and the App Launcher's in the toolbar need a place to overflow. If a single app overflows, all apps will show in the Apps Menu.

Page-Header

The Page Header is used to construct a common menu of appearance and functionality. It uses a series of child directives to build itself.

Page-Header-Left

The Page Header Left directive is used as a child of Page Header to group all objects within it and keep them floating to the left.

Page-Header-Right

The Page Header Left directive is used as a child of Page Header to group all objects within it and keep them floating to the right.

Page-Header-Link

The Page Header link directive is used as a child of Page Header to ensure that links are built with the proper syntax.

Locations Autocomplete

The Locations Autocomplete directive provides a locations multiselect with chips. Locations are provided through the ng-model attribute. Listening to changes can be done through the ng-change attribute. The directive initializes in an asychronous manner, a listener can be attached to on-ready to be notified once it is ready.

Date Range

The Date Range directive provides date inputs with a combo containing preset values such as 'Yesterday', 'Last Weeek' etc.

ngTable

This HTML template is built into ngJsBeyond.ui in order to get a Beyond built pagination system for the popular ngTable plugin.

Sidenav

The Sidenav is an extension of the ngMaterial sidenav, customized to populate itself based off of account and app settings. You can use it as either an element or attribute by including 'beyond-sidenav'. It will replace the item it is attached to.

Toolbar

The Toolbar builds upon the ngMaterial toolbar, and builds itself with user info. It will also control the sidenav, so there is a dependency to use beyond-sidenav or md-sidenav. It will also populate the app toolbar with the app-launcher directive.

Usermenu

The Usermenu is a dropdown style menu with the users most basic functions, as well as the ability to view their most recent alerts.

Dependencies

ngJsBeyond has been written to supplement existing libraries.

You must include these libraries in your Beyond-App in order for ngJsBeyond to work. They have been left out on purpose in order to allow for CDN and other optimization tools. These libraries will come pre-loaded as a dependency with the Beyond-App scaffold, so do not remove them!

LibraryVersionStatus
Angular1.5.8Good
Angular Animate1.5.8Good
Angular Aria1.5.8Good
Angular Cache4.6.0Good
Angular Cookies1.5.8Good
Angular Material1.1.9Good
Lo-Dash4.17.10Good

Commands

CommandResults
gulpClean & Build
gulp cleanDelete the dist/ directory
gulp buildRebuild files into dist/
gulp testRun unit tests with coverage reporting
gulp test:tddRun unit tests continuously with coverage reporting
gulp bumpBump build number in package.json. Ex v1.0.x
gulp bump:minorBump minor number in package.json. Ex v1.x.0. Resets build number
gulp bump:majorBump major number in package.json. Ex vx.0.0. Resets build and minor numbers
1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago