npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

noinfopath-forms

v0.1.8

Published

noinfopath forms module

Downloads

4

Readme

noinfopath.forms

@version 0.1.8

Combines the functionality of validation from bootstrap and angular.

noForm : Directive

NOTE: This directive requires a parent element that is decorated with an ng-form directive.

Attributes

|Name|Description| |----|-----------| |no-form|When Undefined configuration comes from the other attribute added to the element. When a string is provided, it is the configuration key for accessing the form's configuration from the noConfig service.| |no-provider|The name of the NoInfoPath service that will provide the CRUD transport.| |no-database|The location of the Tables or Collections that this form will read and write to.| |no-datasource|The name of a table, view or collection contained in the database. The data source must expose a NoCRUD interface.|

Usage

<div no-form no-provider="noIndexedDB" no-database="FCFNv2" no-datasoure="Cooperator">
   ... other form elements ...
</div>

OR


<div no-form="myform">
   ... other form elements ...
</div>

NoInfoPath Form Configuration

When a NoInfoPath Form Configuration is used, it defines the semantics of how data is read and written by the form. The following is an example of how the configuration object is defined. Note that when datasource is a String that it is the name of an entity on the database. When an obect it is instructions on how to proccess multi-table relationships represented by the form.

Sample NoInfoPath Form Configuration
{
	"myform": {
		"provider": "noWebSQL",
		"database": "FCFNv3",
		"datasource": {
			"create": [
				"Cooperators",
				"Addresses",
				"CooperatorAddresses":
				[
					"Cooperators",
					"Addresses"
				]

				],
			"read": "vwCooperator",
			"update": [
				"Cooperators",
				"Addresses"
				],
			"destroy": [
				"CooperatorAddresses",
				"Cooperators",
				"Addresses"
				]
			}
	}
}

noErrors

The noErrors directive provides the container for applying the BootStrap validation CSS, in response to AngularJS validation attributes. The directive works in conjunction with with the noSubmit and noReset directive.

It also provides compatibliy with Kendo UI controls and no-file-upload component.

noSubmit

When user clicks submit, checks to make sure the data is appropriate and returns an error if not.

noReset

When user clicks reset, form is reset to null state.