Initial commit

This commit is contained in:
pasketti
2026-04-05 16:14:49 -04:00
commit ebee3a5534
14059 changed files with 2588797 additions and 0 deletions

4
node_modules/react-fontawesome/.babelrc generated vendored Normal file
View File

@@ -0,0 +1,4 @@
{
"presets": [ "es2015", "stage-2", "react" ],
"plugins": [ "add-module-exports" ]
}

141
node_modules/react-fontawesome/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,141 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _screenReaderStyles = require('./screen-reader-styles');
var _screenReaderStyles2 = _interopRequireDefault(_screenReaderStyles);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
/**
* A React component for the font-awesome icon library.
*
* @param {String} [ariaLabel] An extra accessibility label to put on the icon
* @param {Boolean} [border=false] Whether or not to show a border radius
* @param {String} [className] An extra set of CSS classes to add to the component
* @param {Object} [cssModule] Option to pass FontAwesome CSS as a module
* @param {Boolean} [fixedWidth=false] Make buttons fixed width
* @param {String} [flip=false] Flip the icon's orientation.
* @param {Boolean} [inverse=false]Inverse the icon's color
* @param {String} name Name of the icon to use
* @param {Boolean} [pulse=false] Rotate icon with 8 steps, rather than smoothly
* @param {Number} [rotate] The degress to rotate the icon by
* @param {String} [size] The icon scaling size
* @param {Boolean} [spin=false] Spin the icon
* @param {String} [stack] Stack an icon on top of another
* @param {String} [tag=span] The HTML tag to use as a string, eg 'i' or 'em'
* @module FontAwesome
* @type {ReactClass}
*/
var FontAwesome = function (_React$Component) {
_inherits(FontAwesome, _React$Component);
function FontAwesome() {
_classCallCheck(this, FontAwesome);
var _this = _possibleConstructorReturn(this, (FontAwesome.__proto__ || Object.getPrototypeOf(FontAwesome)).call(this));
_this.displayName = 'FontAwesome';
return _this;
}
_createClass(FontAwesome, [{
key: 'render',
value: function render() {
var _props = this.props,
border = _props.border,
cssModule = _props.cssModule,
className = _props.className,
fixedWidth = _props.fixedWidth,
flip = _props.flip,
inverse = _props.inverse,
name = _props.name,
pulse = _props.pulse,
rotate = _props.rotate,
size = _props.size,
spin = _props.spin,
stack = _props.stack,
_props$tag = _props.tag,
tag = _props$tag === undefined ? 'span' : _props$tag,
ariaLabel = _props.ariaLabel,
props = _objectWithoutProperties(_props, ['border', 'cssModule', 'className', 'fixedWidth', 'flip', 'inverse', 'name', 'pulse', 'rotate', 'size', 'spin', 'stack', 'tag', 'ariaLabel']);
var classNames = [];
if (cssModule) {
classNames.push(cssModule['fa']);
classNames.push(cssModule['fa-' + name]);
size && classNames.push(cssModule['fa-' + size]);
spin && classNames.push(cssModule['fa-spin']);
pulse && classNames.push(cssModule['fa-pulse']);
border && classNames.push(cssModule['fa-border']);
fixedWidth && classNames.push(cssModule['fa-fw']);
inverse && classNames.push(cssModule['fa-inverse']);
flip && classNames.push(cssModule['fa-flip-' + flip]);
rotate && classNames.push(cssModule['fa-rotate-' + rotate]);
stack && classNames.push(cssModule['fa-stack-' + stack]);
} else {
classNames.push('fa');
classNames.push('fa-' + name);
size && classNames.push('fa-' + size);
spin && classNames.push('fa-spin');
pulse && classNames.push('fa-pulse');
border && classNames.push('fa-border');
fixedWidth && classNames.push('fa-fw');
inverse && classNames.push('fa-inverse');
flip && classNames.push('fa-flip-' + flip);
rotate && classNames.push('fa-rotate-' + rotate);
stack && classNames.push('fa-stack-' + stack);
}
// Add any custom class names at the end.
className && classNames.push(className);
return _react2.default.createElement(tag, _extends({}, props, { 'aria-hidden': true, className: classNames.join(' ') }), ariaLabel ? _react2.default.createElement('span', { style: _screenReaderStyles2.default }, ariaLabel) : null);
}
}]);
return FontAwesome;
}(_react2.default.Component);
FontAwesome.propTypes = {
ariaLabel: _propTypes2.default.string,
border: _propTypes2.default.bool,
className: _propTypes2.default.string,
cssModule: _propTypes2.default.object,
fixedWidth: _propTypes2.default.bool,
flip: _propTypes2.default.oneOf(['horizontal', 'vertical']),
inverse: _propTypes2.default.bool,
name: _propTypes2.default.string.isRequired,
pulse: _propTypes2.default.bool,
rotate: _propTypes2.default.oneOf([90, 180, 270]),
size: _propTypes2.default.oneOf(['lg', '2x', '3x', '4x', '5x']),
spin: _propTypes2.default.bool,
stack: _propTypes2.default.oneOf(['1x', '2x']),
tag: _propTypes2.default.string
};
exports.default = FontAwesome;
module.exports = exports['default'];

View File

@@ -0,0 +1,16 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
position: 'absolute',
width: '1px',
height: '1px',
padding: '0px',
margin: '-1px',
overflow: 'hidden',
clip: 'rect(0px, 0px, 0px, 0px)',
border: '0px'
};
module.exports = exports['default'];

21
node_modules/react-fontawesome/license generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Dana Woodman
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.

52
node_modules/react-fontawesome/package.json generated vendored Normal file
View File

@@ -0,0 +1,52 @@
{
"name": "react-fontawesome",
"version": "1.6.1",
"description": "A React component for the font-awesome icon library.",
"repository": {
"type": "git",
"url": "git+https://github.com/danawoodman/react-fontawesome.git"
},
"bujs": {
"url": "https://github.com/danawoodman/react-fontawesome/issues"
},
"main": "lib/index.js",
"author": {
"name": "Dana Woodman",
"email": "dana@danawoodman.com",
"url": "danawoodman.com"
},
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.6.5",
"babel-core": "^6.7.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"chai": "^3.2.0",
"eslint": "^3.19.0",
"eslint-plugin-nodeca": "^1.0.3",
"eslint-plugin-react": "^6.10.3",
"jsdoc-to-markdown": "^3.0.0",
"jsdom": "^9.12.0",
"mocha": "^3.2.0",
"mocha-jsdom": "^1.0.0",
"mocha-sinon": "^2.0.0",
"prettier-eslint": "^5.1.0",
"prettier-eslint-cli": "^3.4.1",
"react": "^15.0.1",
"react-dom": "^15.0.1",
"sinon": "^2.1.0",
"sinon-chai": "^2.8.0"
},
"homepage": "https://github.com/danawoodman/react-fontawesome#readme",
"engines": {
"node": ">=0.10.0"
},
"peerDependencies": {
"react": ">=0.12.0"
},
"dependencies": {
"prop-types": "^15.5.6"
}
}