2.1.0 • Published 6 years ago

@noinfopath/noinfopath-ui v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

NoInfoPath Home


NoInfoPath UI (noinfopath-ui) @version 2.0.32

build status

Copyright (c) 2017 The NoInfoPath Group, LLC.

Licensed under the MIT License. (MIT)


noAutoComplete Directive

NoBtnGroupDirective

NoButtonDirective

Extands a standard button element to support noActionQueue configurations that are store in area.json files.

Configuration

{
	myButtonConfig: {
"actions": [
			{
				"provider": "$state",
				"method": "go",
				"noContextParams": true,
				"params": [
					"efr.project.search",
					{
						"provider": "noStateHelper",
						"method": "makeStateParams",
						"params": [
							{
								"key": "id",
								"provider": "scope",
								"property": "document.ProjectID.ID"
							}
						],
						"passLocalScope": true
					}
				]
			}
		]
	}
}

NoInfoPath Home


NoInfoPath UI (noinfopath-ui) @version 2.0.32

Build Status

Copyright (c) 2017 The NoInfoPath Group, LLC.

Licensed under the MIT License. (MIT)


noDataPanel Directive

Renders a databound panel that can contain any kind of HTML content, which can be bound data on $scope. The datasources bring bound to are NoInfoPath data providers.

Sample HTML

<no-data-panel no-form="noForms.noComponents.foo"/>
PropertyDescription
no-formThe property that the configuration is located for the NoDataPanel

Sample Configuration

{
	"foo": {
		"scopeKey": "foo",
		"noDataPanel": {
			"version": 1,
			"saveOnRootScope": true,
			"resultType": "one"
			"refresh": {
				"property": "bar"
			},
			"templateUrl": "foo.html"
		},
		"noDataSource": {
			"dataProvider": "noWebSQL",
			"databaseName": "testdb",
			"entityName": "Foo",
			"primaryKey": "FooID",
			"filter": [
				{
					"field": "FooID",
					"operator": "eq",
					"value": {
						"source": "$stateParams",
						"property": "id"
					}
				}
			]
		}
	}
}
Configuration PropertyTypeDescription
scopeKeyStringThe property that the NoDataPanel directive will databind to
noDataPanelObjectA configuration object specific to the NoDataPanel directive
noDataPanel.refreshObjectAn object holding configuration that will trigger the NoDataPanel to request data again
noDataPanel.refresh.propertyStringThe property on the scope that the NoDataPanel to watch. On change, it will request the data again
noDataPanel.resultTypeStringDefault one. The type of call that will be performed when the NoDataPanel uses the NoDataSource to query for data
noDataPanel.saveOnRootScopeBooleanDefault false. Sets what NoDataPanel returns on the local scope if false, or the rootScope if true.
noDataPanel.templateUrlStringThe path to an html document to load within the NoDataPanel directive
noDataPanel.versionIntergerDefault 1. If version is 1, NoDataPanel saves a NoResults object to the scopeKey. If version is 2, NoDataPanel saves a NoDataModel object to the scopeKey
noDataSourceObjectConfiguration for NoInfoPath Data NoDataSource. Read more here: NoDataSource

NoInfoPath Home

NoInfoPath UI (noinfopath-ui)

@version 2.0.32 build status

Copyright (c) 2017 The NoInfoPath Group, LLC.

Licensed under the MIT License. (MIT)


noNotificationService

Has the ability to create notifications in the DOM with a message and specific options.

Sample Usage

This sample show how to use the noNotificationService service in your code.

noNotificationService.appendMessage("Hello World", {id: "jawnjawnjawn"});

Sample Options

{
    ttl: 1000, // Time to live in milliseconds
    dismissible: false, // If true, message will be stuck until dismissed
    type: "info" // A specific type that connects to bootstrap classes. Can be warning, info, danger, or success
}
Option NameDescription
ttlThis is the time to live. It defaults to 1000 ms (1 second).
dismissableThis is default to false. If set to true, the notification will have an "x" and stay on the screen until dismissed.
typeThis corresponds to the bootstrap classes. Possible values are warning, info, danger, or success. Default is info.
classesAn array of CSS classes to add onto the notification
idA specific id can be given so the same message cannot be shown repeatedly.

How it Works

When append message is called, an element is appended to the DOM, off the <no-notifications> element. It uses CSS defined in _notification.scss. $interval is used to update the age property on the element. When the age is greater than the ttl defined in the options, the element is removed.

NoInfoPath Home


NoInfoPath UI (noinfopath-ui) @version 2.0.32

build status

Copyright (c) 2017 The NoInfoPath Group, LLC.

Licensed under the MIT License. (MIT)


noThumbnailViewer Directive

2.1.0

6 years ago

2.0.59

7 years ago

2.0.58

7 years ago

2.0.57

7 years ago

2.0.56

7 years ago

2.0.55

7 years ago

2.0.54

7 years ago

2.0.53

7 years ago

2.0.52

7 years ago

2.0.51

7 years ago

2.0.50

7 years ago

2.0.49

7 years ago

2.0.48

7 years ago

2.0.46

7 years ago

2.0.45

7 years ago

2.0.44

7 years ago

2.0.42

7 years ago

2.0.41

7 years ago

2.0.40

7 years ago

2.0.37

7 years ago

2.0.36

7 years ago

2.0.35

7 years ago

2.0.33

7 years ago

2.0.32

7 years ago

2.0.31

7 years ago

2.0.29

7 years ago

2.0.25

7 years ago

2.0.24

7 years ago

2.0.23

7 years ago

2.0.22

7 years ago

2.0.20

7 years ago

2.0.19

7 years ago

2.0.18

7 years ago

2.0.17

7 years ago

2.0.16

7 years ago

2.0.15

7 years ago

1.2.16

7 years ago

2.0.14

7 years ago

2.0.13

7 years ago

2.0.12

7 years ago

1.2.15

7 years ago

2.0.11

8 years ago

2.0.10

8 years ago

2.0.9

8 years ago

2.0.8

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

1.2.14

8 years ago

1.2.13

8 years ago

1.2.11

8 years ago

1.2.10

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago