nav tabs on admin dashboard
This commit is contained in:
4
node_modules/object.omit/LICENSE
generated
vendored
4
node_modules/object.omit/LICENSE
generated
vendored
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2016, Jon Schlinkert
|
||||
Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
THE SOFTWARE.
|
||||
31
node_modules/object.omit/README.md
generated
vendored
31
node_modules/object.omit/README.md
generated
vendored
@@ -1,7 +1,9 @@
|
||||
# object.omit [](https://www.npmjs.com/package/object.omit) [](https://npmjs.org/package/object.omit) [](https://npmjs.org/package/object.omit) [](https://travis-ci.org/jonschlinkert/object.omit)
|
||||
# object.omit [](https://www.npmjs.com/package/object.omit) [](https://npmjs.org/package/object.omit) [](https://npmjs.org/package/object.omit) [](https://travis-ci.org/jonschlinkert/object.omit)
|
||||
|
||||
> Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.
|
||||
|
||||
Follow this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), for updates on this project and others.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
@@ -73,6 +75,8 @@ var res = omit(obj, ['a'], function (val, key) {
|
||||
|
||||
### Related projects
|
||||
|
||||
You might also be interested in these projects:
|
||||
|
||||
* [object.defaults](https://www.npmjs.com/package/object.defaults): Like `extend` but only copies missing properties/values to the target object. | [homepage](https://github.com/jonschlinkert/object.defaults "Like `extend` but only copies missing properties/values to the target object.")
|
||||
* [object.filter](https://www.npmjs.com/package/object.filter): Create a new object filtered to have only properties for which the callback returns true. | [homepage](https://github.com/jonschlinkert/object.filter "Create a new object filtered to have only properties for which the callback returns true.")
|
||||
* [object.pick](https://www.npmjs.com/package/object.pick): Returns a filtered copy of an object with only the specified keys, similar to `_.pick… [more](https://github.com/jonschlinkert/object.pick) | [homepage](https://github.com/jonschlinkert/object.pick "Returns a filtered copy of an object with only the specified keys, similar to`_.pick` from lodash / underscore.")
|
||||
@@ -83,22 +87,29 @@ var res = omit(obj, ['a'], function (val, key) {
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 21 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 1 | [bfred-it](https://github.com/bfred-it) |
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verb verb-generate-readme && verb
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -d && npm test
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
@@ -106,13 +117,13 @@ $ npm install -d && npm test
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT license](https://github.com/jonschlinkert/object.omit/blob/master/LICENSE).
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 27, 2016._
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 03, 2017._
|
||||
37
node_modules/object.omit/index.js
generated
vendored
37
node_modules/object.omit/index.js
generated
vendored
@@ -1,40 +1,37 @@
|
||||
/*!
|
||||
* object.omit <https://github.com/jonschlinkert/object.omit>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var isObject = require('is-extendable');
|
||||
var forOwn = require('for-own');
|
||||
|
||||
module.exports = function omit(obj, keys) {
|
||||
module.exports = function omit(obj, props, fn) {
|
||||
if (!isObject(obj)) return {};
|
||||
|
||||
keys = [].concat.apply([], [].slice.call(arguments, 1));
|
||||
var last = keys[keys.length - 1];
|
||||
var res = {}, fn;
|
||||
if (typeof props === 'function') {
|
||||
fn = props;
|
||||
props = [];
|
||||
}
|
||||
|
||||
if (typeof last === 'function') {
|
||||
fn = keys.pop();
|
||||
if (typeof props === 'string') {
|
||||
props = [props];
|
||||
}
|
||||
|
||||
var isFunction = typeof fn === 'function';
|
||||
if (!keys.length && !isFunction) {
|
||||
return obj;
|
||||
}
|
||||
var keys = Object.keys(obj);
|
||||
var res = {};
|
||||
|
||||
forOwn(obj, function(value, key) {
|
||||
if (keys.indexOf(key) === -1) {
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
var key = keys[i];
|
||||
var val = obj[key];
|
||||
|
||||
if (!isFunction) {
|
||||
res[key] = value;
|
||||
} else if (fn(value, key, obj)) {
|
||||
res[key] = value;
|
||||
}
|
||||
if (!props || (props.indexOf(key) === -1 && (!isFunction || fn(val, key, obj)))) {
|
||||
res[key] = val;
|
||||
}
|
||||
});
|
||||
}
|
||||
return res;
|
||||
};
|
||||
|
||||
21
node_modules/object.omit/node_modules/for-own/LICENSE
generated
vendored
21
node_modules/object.omit/node_modules/for-own/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, 2017, Jon Schlinkert
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
85
node_modules/object.omit/node_modules/for-own/README.md
generated
vendored
85
node_modules/object.omit/node_modules/for-own/README.md
generated
vendored
@@ -1,85 +0,0 @@
|
||||
# for-own [](https://www.npmjs.com/package/for-own) [](https://npmjs.org/package/for-own) [](https://npmjs.org/package/for-own) [](https://travis-ci.org/jonschlinkert/for-own)
|
||||
|
||||
> Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save for-own
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var forOwn = require('for-own');
|
||||
|
||||
var obj = {a: 'foo', b: 'bar', c: 'baz'};
|
||||
var values = [];
|
||||
var keys = [];
|
||||
|
||||
forOwn(obj, function (value, key, o) {
|
||||
keys.push(key);
|
||||
values.push(value);
|
||||
});
|
||||
|
||||
console.log(keys);
|
||||
//=> ['a', 'b', 'c'];
|
||||
|
||||
console.log(values);
|
||||
//=> ['foo', 'bar', 'baz'];
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten "Recursively flatten an array or arrays. This is the fastest implementation of array flatten.")
|
||||
* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map "Returns an array of mapped values from an array or object.")
|
||||
* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js")
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 10 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 1 | [javiercejudo](https://github.com/javiercejudo) |
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 26, 2017._
|
||||
19
node_modules/object.omit/node_modules/for-own/index.js
generated
vendored
19
node_modules/object.omit/node_modules/for-own/index.js
generated
vendored
@@ -1,19 +0,0 @@
|
||||
/*!
|
||||
* for-own <https://github.com/jonschlinkert/for-own>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var forIn = require('for-in');
|
||||
var hasOwn = Object.prototype.hasOwnProperty;
|
||||
|
||||
module.exports = function forOwn(obj, fn, thisArg) {
|
||||
forIn(obj, function(val, key) {
|
||||
if (hasOwn.call(obj, key)) {
|
||||
return fn.call(thisArg, obj[key], key, obj);
|
||||
}
|
||||
});
|
||||
};
|
||||
109
node_modules/object.omit/node_modules/for-own/package.json
generated
vendored
109
node_modules/object.omit/node_modules/for-own/package.json
generated
vendored
@@ -1,109 +0,0 @@
|
||||
{
|
||||
"_from": "for-own@^0.1.4",
|
||||
"_id": "for-own@0.1.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
|
||||
"_location": "/object.omit/for-own",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "for-own@^0.1.4",
|
||||
"name": "for-own",
|
||||
"escapedName": "for-own",
|
||||
"rawSpec": "^0.1.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.1.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/object.omit"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
|
||||
"_shasum": "5265c681a4f294dabbf17c9509b6763aa84510ce",
|
||||
"_spec": "for-own@^0.1.4",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\object.omit",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/for-own/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Javier Cejudo",
|
||||
"email": "javier@javiercejudo.com",
|
||||
"url": "https://www.javiercejudo.com"
|
||||
},
|
||||
{
|
||||
"name": "Jon Schlinkert",
|
||||
"email": "jon.schlinkert@sellside.com",
|
||||
"url": "http://twitter.com/jonschlinkert"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"for-in": "^1.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/for-own",
|
||||
"keywords": [
|
||||
"for",
|
||||
"for-in",
|
||||
"for-own",
|
||||
"has",
|
||||
"has-own",
|
||||
"hasOwn",
|
||||
"key",
|
||||
"keys",
|
||||
"object",
|
||||
"own",
|
||||
"value"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "for-own",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/for-own.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"run": true,
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-flatten",
|
||||
"collection-map",
|
||||
"for-in"
|
||||
]
|
||||
},
|
||||
"reflinks": [
|
||||
"verb"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "0.1.5"
|
||||
}
|
||||
50
node_modules/object.omit/package.json
generated
vendored
50
node_modules/object.omit/package.json
generated
vendored
@@ -1,29 +1,29 @@
|
||||
{
|
||||
"_from": "object.omit@^2.0.0",
|
||||
"_id": "object.omit@2.0.1",
|
||||
"_from": "object.omit@^3.0.0",
|
||||
"_id": "object.omit@3.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
|
||||
"_integrity": "sha512-EO+BCv6LJfu+gBIF3ggLicFebFLN5zqzz/WWJlMFfkMyGth+oBkhxzDl0wx2W4GkLzuQs/FsSkXZb2IMWQqmBQ==",
|
||||
"_location": "/object.omit",
|
||||
"_phantomChildren": {
|
||||
"for-in": "1.0.2"
|
||||
"is-plain-object": "2.0.4"
|
||||
},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "object.omit@^2.0.0",
|
||||
"raw": "object.omit@^3.0.0",
|
||||
"name": "object.omit",
|
||||
"escapedName": "object.omit",
|
||||
"rawSpec": "^2.0.0",
|
||||
"rawSpec": "^3.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
"fetchSpec": "^3.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/http-proxy-middleware/micromatch"
|
||||
"/babel-merge"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
|
||||
"_shasum": "1a9c744829f39dbb858c76ca3579ae2a54ebd1fa",
|
||||
"_spec": "object.omit@^2.0.0",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\http-proxy-middleware\\node_modules\\micromatch",
|
||||
"_resolved": "https://registry.npmjs.org/object.omit/-/object.omit-3.0.0.tgz",
|
||||
"_shasum": "0e3edc2fce2ba54df5577ff529f6d97bd8a522af",
|
||||
"_spec": "object.omit@^3.0.0",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\babel-merge",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
@@ -32,16 +32,24 @@
|
||||
"url": "https://github.com/jonschlinkert/object.omit/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Federico Brigante",
|
||||
"url": "https://twitter.com/bfred_it"
|
||||
},
|
||||
{
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "http://twitter.com/jonschlinkert"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"for-own": "^0.1.4",
|
||||
"is-extendable": "^0.1.1"
|
||||
"is-extendable": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.1.2",
|
||||
"should": "^11.1.1"
|
||||
"gulp-format-md": "^1.0.0",
|
||||
"mocha": "^3.5.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
@@ -90,11 +98,7 @@
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
},
|
||||
"reflinks": [
|
||||
"verb",
|
||||
"verb-generate-readme"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "2.0.1"
|
||||
"version": "3.0.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user