Socket
Socket
Sign inDemoInstall

@momsfriendlydevco/angular-ui-query-builder

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@momsfriendlydevco/angular-ui-query-builder

MongoDB format query-builder UI component for Angular


Version published
Weekly downloads
16
increased by700%
Maintainers
3
Weekly downloads
 
Created
Source

angular-ui-query-builder

MongoDB format query-builder UI component for Angular.

Demo.

Installation

  1. Grab the NPM
npm install --save @momsfriendlydevco/angular-ui-query-builder
  1. Install the required script + CSS somewhere in your build chain or include it in a HTML header:
<script src="/libs/angular-ui-query-builder/dist/angular-ui-query-builder.min.js"/>
<link href="/libs/angular-ui-query-builder/dist/angular-ui-query-builder.min.css" rel="stylesheet" type="text/css"/>
  1. Include the router in your main angular.module() call:
var app = angular.module('app', ['angular-ui-query-builder'])
  1. Use somewhere in your template:
<ui-query-builder query="$ctrl.myQuery" spec="$ctrl.mySpec"></ui-query-builder>

A demo is also available. To use this follow the instructions in the demo directory.

TODO

  • Basic field filtering
  • CSS tidyup
  • Compound queries - $or / $and
  • Automatically moving from a static string ($eq condition) to a multiple choice enum ($in) when a comma is used in a string
  • Convert string ENUMs to a $in type automatically
  • Number filtering - above, below, between
  • Date support - date selector, before, after
  • Nicer syntax support for $regexp
  • Support for $length
  • Nicer multi level path support

FAQs

Package last updated on 03 Oct 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc