Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

21
web/node_modules/omit.js/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2016 Benjy Cui
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.

29
web/node_modules/omit.js/README.md generated vendored Normal file
View File

@@ -0,0 +1,29 @@
# omit.js
[![](https://img.shields.io/travis/benjycui/omit.js.svg?style=flat-square)](https://travis-ci.org/benjycui/omit.js)
[![npm package](https://img.shields.io/npm/v/omit.js.svg?style=flat-square)](https://www.npmjs.org/package/omit.js)
[![NPM downloads](http://img.shields.io/npm/dm/omit.js.svg?style=flat-square)](https://npmjs.org/package/omit.js)
[![Dependency Status](https://david-dm.org/benjycui/omit.js.svg?style=flat-square)](https://david-dm.org/benjycui/omit.js)
Utility function to create a shallow copy of an object which had dropped some fields.
## Usage
```bash
npm i --save omit.js
```
```js
var omit = require('omit.js');
omit({ name: 'Benjy', age: 18 }, [ 'name' ]); // => { age: 18 }
```
## API
### omit(obj: Object, fields: string[]): Object
Return a shallow copy which had dropped fields.
## License
MIT

11
web/node_modules/omit.js/es/index.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import _extends from "babel-runtime/helpers/extends";
function omit(obj, fields) {
var shallowCopy = _extends({}, obj);
for (var i = 0; i < fields.length; i++) {
var key = fields[i];
delete shallowCopy[key];
}
return shallowCopy;
}
export default omit;

6
web/node_modules/omit.js/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
declare function Omit<T, K extends keyof T>(
obj: T,
keys: Array<K>
): Pick<T, Exclude<keyof T, K>>;
export default Omit;

23
web/node_modules/omit.js/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require("babel-runtime/helpers/extends");
var _extends3 = _interopRequireDefault(_extends2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function omit(obj, fields) {
var shallowCopy = (0, _extends3["default"])({}, obj);
for (var i = 0; i < fields.length; i++) {
var key = fields[i];
delete shallowCopy[key];
}
return shallowCopy;
}
exports["default"] = omit;
module.exports = exports['default'];

76
web/node_modules/omit.js/package.json generated vendored Normal file
View File

@@ -0,0 +1,76 @@
{
"_from": "omit.js@^1.0.2",
"_id": "omit.js@1.0.2",
"_inBundle": false,
"_integrity": "sha512-/QPc6G2NS+8d4L/cQhbk6Yit1WTB6Us2g84A7A/1+w9d/eRGHyEqC5kkQtHVoHZ5NFWGG7tUGgrhVZwgZanKrQ==",
"_location": "/omit.js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "omit.js@^1.0.2",
"name": "omit.js",
"escapedName": "omit.js",
"rawSpec": "^1.0.2",
"saveSpec": null,
"fetchSpec": "^1.0.2"
},
"_requiredBy": [
"/antd"
],
"_resolved": "https://registry.npmjs.org/omit.js/-/omit.js-1.0.2.tgz",
"_shasum": "91a14f0eba84066dfa015bf30e474c47f30bc858",
"_spec": "omit.js@^1.0.2",
"_where": "/Users/thilina/TestProjects/icehrm-pro/web/node_modules/antd",
"author": {
"name": "Benjy Cui",
"email": "benjytrys@gmail.com"
},
"bugs": {
"url": "https://github.com/benjycui/omit.js/issues"
},
"bundleDependencies": false,
"dependencies": {
"babel-runtime": "^6.23.0"
},
"deprecated": false,
"description": "Utility function to create a shallow copy of an object which had dropped some fields.",
"devDependencies": {
"assert": "^1.4.1",
"rc-test": "^6.0.7",
"rc-tools": "^6.3.3"
},
"files": [
"lib",
"es",
"dist",
"index.d.ts"
],
"homepage": "https://github.com/benjycui/omit.js#readme",
"keywords": [
"object",
"omit"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"name": "omit.js",
"repository": {
"type": "git",
"url": "git+https://github.com/benjycui/omit.js.git"
},
"scripts": {
"build": "rc-tools run build",
"compile": "rc-tools run compile --babel-runtime",
"coverage": "rc-test run coverage",
"eslint-fix": "eslint --fix ./index.js ./test",
"gh-pages": "rc-tools run gh-pages",
"lint": "rc-tools run lint",
"prepublish": "rc-tools run guard",
"pub": "rc-tools run pub --babel-runtime",
"start": "rc-tools run server",
"test": "rc-test run test"
},
"types": "index.d.ts",
"version": "1.0.2"
}