New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rest-grid

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-grid

Rest Grid Library

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

RestGrid

Build Status

This project was generated with Angular CLI version 1.7.3.

Example

<rg-rest-grid [endpoint]="endpoint" (onActionClick)="onActionClick($event)"></rg-rest-grid>
import { Component } from '@angular/core';

@Component({
  selector: 'rg-root',
  templateUrl: './app.component.html'
})
export class AppComponent {
  endpoint: String = '/api/elements';

  onActionClick(data): void {
    console.log('parent', data);
  }
}

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Documentation

Filtering

TypesDescription
numberColumnFilterA Number Filter for number comparisons.
textColumnFilterA Text Filter for string comparisons.
dateColumnFilterA Date Filter for date comparisons.
setColumnFilterA set of data filter type.

Sorting

TypesDescription
numberComparatorSorting for numbers.
textComparatorSorting for strings.
dateComparatorSorting for date entities.

Current "tree -I node_modules"

.
|-- LICENSE
|-- README.md
|-- api
|   |-- elements
|   |   |-- data.json
|   |   `-- grid.json
|   `-- index.js
|-- config
|   |-- environment.prod.ts
|   `-- environment.ts
|-- copy.js
|-- e2e
|   |-- app.e2e-spec.ts
|   |-- app.po.ts
|   `-- tsconfig.e2e.json
|-- example
|   |-- app
|   |   |-- app.component.html
|   |   |-- app.component.scss
|   |   |-- app.component.ts
|   |   `-- app.module.ts
|   |-- assets
|   |-- favicon.ico
|   |-- index.html
|   |-- main.ts
|   |-- polyfills.ts
|   |-- test.ts
|   |-- tsconfig.app.json
|   |-- tsconfig.spec.json
|   `-- typings.d.ts
|-- karma.conf.js
|-- ng-package.json
|-- package-lock.json
|-- package.json
|-- protractor.conf.js
|-- proxy.conf.json
|-- src
|   |-- contextual-menu
|   |   |-- contextual-menu.component.html
|   |   |-- contextual-menu.component.ts
|   |   `-- contextual-menu.module.ts
|   |-- filters
|   |   |-- date
|   |   |   |-- date-filter.component.css
|   |   |   |-- date-filter.component.html
|   |   |   `-- date-filter.component.ts
|   |   |-- number
|   |   |   |-- number-filter.component.css
|   |   |   |-- number-filter.component.html
|   |   |   `-- number-filter.component.ts
|   |   `-- string
|   |       |-- string-filter.component.css
|   |       |-- string-filter.component.html
|   |       `-- string-filter.component.ts
|   |-- index.ts
|   |-- options
|   |   `-- grid-options.interface.ts
|   |-- rest-grid.component.html
|   |-- rest-grid.component.spec.ts
|   |-- rest-grid.component.ts
|   |-- rest-grid.module.ts
|   `-- rest-grid.scss
|-- tsconfig.json
`-- tslint.json

14 directories, 50 files

Keywords

angular

FAQs

Package last updated on 08 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts