diff --git a/demo/js/demo.bundle.js b/demo/js/demo.bundle.js index 0208b2826..ad9049b52 100644 --- a/demo/js/demo.bundle.js +++ b/demo/js/demo.bundle.js @@ -110,7 +110,7 @@ React.render(React.createElement( ) ), document.getElementById("basic")); -},{"react":"/Users/allen/Node/react-bootstrap-table/node_modules/react/react.js","react-bootstrap-table":"react-bootstrap-table"}],"/Users/allen/Node/react-bootstrap-table/node_modules/browserify/node_modules/events/events.js":[function(require,module,exports){ +},{"react":"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/react/react.js","react-bootstrap-table":"react-bootstrap-table"}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/browserify/node_modules/events/events.js":[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -413,78 +413,20 @@ function isUndefined(arg) { return arg === void 0; } -},{}],"/Users/allen/Node/react-bootstrap-table/node_modules/browserify/node_modules/process/browser.js":[function(require,module,exports){ -// shim for using process in browser - -var process = module.exports = {}; -var queue = []; -var draining = false; - -function drainQueue() { - if (draining) { - return; - } - draining = true; - var currentQueue; - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - var i = -1; - while (++i < len) { - currentQueue[i](); - } - len = queue.length; - } - draining = false; -} -process.nextTick = function (fun) { - queue.push(fun); - if (!draining) { - setTimeout(drainQueue, 0); - } -}; - -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -// TODO(shtylman) -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - -},{}],"/Users/allen/Node/react-bootstrap-table/node_modules/classnames/index.js":[function(require,module,exports){ +},{}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/classnames/index.js":[function(require,module,exports){ /*! Copyright (c) 2015 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ +/* global define */ (function () { 'use strict'; - function classNames () { + var hasOwn = {}.hasOwnProperty; + function classNames () { var classes = ''; for (var i = 0; i < arguments.length; i++) { @@ -493,15 +435,13 @@ process.umask = function() { return 0; }; var argType = typeof arg; - if ('string' === argType || 'number' === argType) { + if (argType === 'string' || argType === 'number') { classes += ' ' + arg; - } else if (Array.isArray(arg)) { classes += ' ' + classNames.apply(null, arg); - - } else if ('object' === argType) { + } else if (argType === 'object') { for (var key in arg) { - if (arg.hasOwnProperty(key) && arg[key]) { + if (hasOwn.call(arg, key) && arg[key]) { classes += ' ' + key; } } @@ -513,19 +453,17 @@ process.umask = function() { return 0; }; if (typeof module !== 'undefined' && module.exports) { module.exports = classNames; - } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd){ - // AMD. Register as an anonymous module. - define(function () { + } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) { + // register as 'classnames', consistent with npm package name + define('classnames', function () { return classNames; }); } else { window.classNames = classNames; } - }()); -},{}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/CSSCore.js":[function(require,module,exports){ -(function (process){ +},{}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/fbjs/lib/CSSCore.js":[function(require,module,exports){ /** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. @@ -560,7 +498,7 @@ var CSSCore = { * @return {DOMElement} the element passed in */ addClass: function (element, className) { - !!/\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.addClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; + !!/\s/.test(className) ? "development" !== 'production' ? invariant(false, 'CSSCore.addClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; if (className) { if (element.classList) { @@ -580,7 +518,7 @@ var CSSCore = { * @return {DOMElement} the element passed in */ removeClass: function (element, className) { - !!/\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSSCore.removeClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; + !!/\s/.test(className) ? "development" !== 'production' ? invariant(false, 'CSSCore.removeClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : undefined; if (className) { if (element.classList) { @@ -613,7 +551,7 @@ var CSSCore = { * @return {boolean} true if the element has the class, false if not */ hasClass: function (element, className) { - !!/\s/.test(className) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : undefined; + !!/\s/.test(className) ? "development" !== 'production' ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : undefined; if (element.classList) { return !!className && element.classList.contains(className); } @@ -623,877 +561,623 @@ var CSSCore = { }; module.exports = CSSCore; -}).call(this,require('_process')) -//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9mYmpzL2xpYi9DU1NDb3JlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Q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cyA6IENTU0NvcmUucmVtb3ZlQ2xhc3MpKGVsZW1lbnQsIGNsYXNzTmFtZSk7XG4gIH0sXG5cbiAgLyoqXG4gICAqIFRlc3RzIHdoZXRoZXIgdGhlIGVsZW1lbnQgaGFzIHRoZSBjbGFzcyBzcGVjaWZpZWQuXG4gICAqXG4gICAqIEBwYXJhbSB7RE9NTm9kZXxET01XaW5kb3d9IGVsZW1lbnQgdGhlIGVsZW1lbnQgdG8gc2V0IHRoZSBjbGFzcyBvblxuICAgKiBAcGFyYW0ge3N0cmluZ30gY2xhc3NOYW1lIHRoZSBDU1MgY2xhc3NOYW1lXG4gICAqIEByZXR1cm4ge2Jvb2xlYW59IHRydWUgaWYgdGhlIGVsZW1lbnQgaGFzIHRoZSBjbGFzcywgZmFsc2UgaWYgbm90XG4gICAqL1xuICBoYXNDbGFzczogZnVuY3Rpb24gKGVsZW1lbnQsIGNsYXNzTmFtZSkge1xuICAgICEhL1xccy8udGVzdChjbGFzc05hbWUpID8gcHJvY2Vzcy5lbnYuTk9ERV9FTlYgIT09ICdwcm9kdWN0aW9uJyA/IGludmFyaWFudChmYWxzZSwgJ0NTUy5oYXNDbGFzcyB0YWtlcyBvbmx5IGEgc2luZ2xlIGNsYXNzIG5hbWUuJykgOiBpbnZhcmlhbnQoZmFsc2UpIDogdW5kZWZpbmVkO1xuICAgIGlmIChlbGVtZW50LmNsYXNzTGlzdCkge1xuICAgICAgcmV0dXJuICEhY2xhc3NOYW1lICYmIGVsZW1lbnQuY2xhc3NMaXN0LmNvbnRhaW5zKGNsYXNzTmFtZSk7XG4gICAgfVxuICAgIHJldHVybiAoJyAnICsgZWxlbWVudC5jbGFzc05hbWUgKyAnICcpLmluZGV4T2YoJyAnICsgY2xhc3NOYW1lICsgJyAnKSA+IC0xO1xuICB9XG5cbn07XG5cbm1vZHVsZS5leHBvcnRzID0gQ1NTQ29yZTsiXX0= -},{"./invariant":"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/invariant.js","_process":"/Users/allen/Node/react-bootstrap-table/node_modules/browserify/node_modules/process/browser.js"}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/EventListener.js":[function(require,module,exports){ -(function (process){ +},{"./invariant":"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/fbjs/lib/invariant.js"}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/fbjs/lib/invariant.js":[function(require,module,exports){ /** * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. * - * @providesModule EventListener - * @typechecks + * @providesModule invariant */ 'use strict'; -var emptyFunction = require('./emptyFunction'); - /** - * Upstream version of event listener. Does not take into account specific - * nature of platform. + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. */ -var EventListener = { - /** - * Listen to DOM events during the bubble phase. - * - * @param {DOMEventTarget} target DOM element to register listener on. - * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. - * @param {function} callback Callback function. - * @return {object} Object with a `remove` method. - */ - listen: function (target, eventType, callback) { - if (target.addEventListener) { - target.addEventListener(eventType, callback, false); - return { - remove: function () { - target.removeEventListener(eventType, callback, false); - } - }; - } else if (target.attachEvent) { - target.attachEvent('on' + eventType, callback); - return { - remove: function () { - target.detachEvent('on' + eventType, callback); - } - }; + +var invariant = function (condition, format, a, b, c, d, e, f) { + if ("development" !== 'production') { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); } - }, + } - /** - * Listen to DOM events during the capture phase. - * - * @param {DOMEventTarget} target DOM element to register listener on. - * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. - * @param {function} callback Callback function. - * @return {object} Object with a `remove` method. - */ - capture: function (target, eventType, callback) { - if (target.addEventListener) { - target.addEventListener(eventType, callback, true); - return { - remove: function () { - target.removeEventListener(eventType, callback, true); - } - }; + if (!condition) { + var error; + if (format === undefined) { + error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.'); } else { - if (process.env.NODE_ENV !== 'production') { - console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.'); - } - return { - remove: emptyFunction - }; + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + })); } - }, - registerDefault: function () {} + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } }; -module.exports = EventListener; -}).call(this,require('_process')) -//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9mYmpzL2xpYi9FdmVudExpc3RlbmVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7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lbnRUeXBlLCBjYWxsYmFjaywgdHJ1ZSk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICByZW1vdmU6IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICB0YXJnZXQucmVtb3ZlRXZlbnRMaXN0ZW5lcihldmVudFR5cGUsIGNhbGxiYWNrLCB0cnVlKTtcbiAgICAgICAgfVxuICAgICAgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgaWYgKHByb2Nlc3MuZW52Lk5PREVfRU5WICE9PSAncHJvZHVjdGlvbicpIHtcbiAgICAgICAgY29uc29sZS5lcnJvcignQXR0ZW1wdGVkIHRvIGxpc3RlbiB0byBldmVudHMgZHVyaW5nIHRoZSBjYXB0dXJlIHBoYXNlIG9uIGEgJyArICdicm93c2VyIHRoYXQgZG9lcyBub3Qgc3VwcG9ydCB0aGUgY2FwdHVyZSBwaGFzZS4gWW91ciBhcHBsaWNhdGlvbiAnICsgJ3dpbGwgbm90IHJlY2VpdmUgc29tZSBldmVudHMuJyk7XG4gICAgICB9XG4gICAgICByZXR1cm4ge1xuICAgICAgICByZW1vdmU6IGVtcHR5RnVuY3Rpb25cbiAgICAgIH07XG4gICAgfVxuICB9LFxuXG4gIHJlZ2lzdGVyRGVmYXVsdDogZnVuY3Rpb24gKCkge31cbn07XG5cbm1vZHVsZS5leHBvcnRzID0gRXZlbnRMaXN0ZW5lcjsiXX0= -},{"./emptyFunction":"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/emptyFunction.js","_process":"/Users/allen/Node/react-bootstrap-table/node_modules/browserify/node_modules/process/browser.js"}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/ExecutionEnvironment.js":[function(require,module,exports){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule ExecutionEnvironment - */ - -'use strict'; - -var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); - -/** - * Simple, lightweight module assisting with the detection and context of - * Worker. Helps avoid circular dependencies and allows code to reason about - * whether or not they are in a Worker, even if they never include the main - * `ReactWorker` dependency. - */ -var ExecutionEnvironment = { +module.exports = invariant; +},{}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/react-toastr/lib/ToastContainer.js":[function(require,module,exports){ +"use strict"; - canUseDOM: canUseDOM, +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; }; - canUseWorkers: typeof Worker !== 'undefined', +var React = require("react/addons"); +var update = React.addons.update; - canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent), +var ToastMessage = React.createFactory(require("./ToastMessage")); - canUseViewport: canUseDOM && !!window.screen, +function noop() {} - isInWorker: !canUseDOM // For now, this is true - might change in the future. +module.exports = React.createClass({ + displayName: "ToastContainer", -}; + error: function error(message, title, optionsOverride) { + this._notify(this.props.toastType.error, message, title, optionsOverride); + }, -module.exports = ExecutionEnvironment; -},{}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/camelize.js":[function(require,module,exports){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule camelize - * @typechecks - */ + info: function info(message, title, optionsOverride) { + this._notify(this.props.toastType.info, message, title, optionsOverride); + }, -"use strict"; + success: function success(message, title, optionsOverride) { + this._notify(this.props.toastType.success, message, title, optionsOverride); + }, -var _hyphenPattern = /-(.)/g; + warning: function warning(message, title, optionsOverride) { + this._notify(this.props.toastType.warning, message, title, optionsOverride); + }, -/** - * Camelcases a hyphenated string, for example: - * - * > camelize('background-color') - * < "backgroundColor" - * - * @param {string} string - * @return {string} - */ -function camelize(string) { - return string.replace(_hyphenPattern, function (_, character) { - return character.toUpperCase(); - }); -} + clear: function clear() { + var refs = this.refs; + var key; + for (key in refs) { + refs[key].hideToast(false); + } + }, -module.exports = camelize; -},{}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/camelizeStyleName.js":[function(require,module,exports){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule camelizeStyleName - * @typechecks - */ + getDefaultProps: function getDefaultProps() { + return { + toastType: { + error: "error", + info: "info", + success: "success", + warning: "warning" + }, + id: "toast-container", + toastMessageFactory: ToastMessage, + preventDuplicates: false, + newestOnTop: true, + onClick: noop + }; + }, -'use strict'; + getInitialState: function getInitialState() { + return { + toasts: [], + toastId: 0, + previousMessage: null + }; + }, -var camelize = require('./camelize'); + render: function render() { + return this._render(this.props, this.state); + }, -var msPattern = /^-ms-/; + _notify: function _notify(type, message, title, optionsOverride) { + var props = this.props; + var state = this.state; -/** - * Camelcases a hyphenated CSS property name, for example: - * - * > camelizeStyleName('background-color') - * < "backgroundColor" - * > camelizeStyleName('-moz-transition') - * < "MozTransition" - * > camelizeStyleName('-ms-transition') - * < "msTransition" - * - * As Andi Smith suggests - * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix - * is converted to lowercase `ms`. - * - * @param {string} string - * @return {string} - */ -function camelizeStyleName(string) { - return camelize(string.replace(msPattern, 'ms-')); -} - -module.exports = camelizeStyleName; -},{"./camelize":"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/camelize.js"}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/containsNode.js":[function(require,module,exports){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule containsNode - * @typechecks - */ - -'use strict'; + if (props.preventDuplicates) { + if (state.previousMessage === message) { + return; + } + } + var key = state.toastId++; + var toastId = key; + var newToast = update(optionsOverride || {}, { + $merge: { + type: type, + title: title, + message: message, + toastId: toastId, + key: key, + ref: "toasts__" + key, + handleOnClick: this._handle_toast_on_click, + handleRemove: this._handle_toast_remove + } + }); + var toastOperation = {}; + toastOperation["" + (props.newestOnTop ? "$unshift" : "$push")] = [newToast]; -var isTextNode = require('./isTextNode'); + var newState = update(state, { + toasts: toastOperation, + previousMessage: { $set: message } + }); + this.setState(newState); + }, -/*eslint-disable no-bitwise */ + _handle_toast_on_click: function _handle_toast_on_click(event) { + this.props.onClick(event); + if (event.defaultPrevented) { + return; + } + event.preventDefault(); + event.stopPropagation(); + }, -/** - * Checks if a given DOM node contains or is another DOM node. - * - * @param {?DOMNode} outerNode Outer DOM node. - * @param {?DOMNode} innerNode Inner DOM node. - * @return {boolean} True if `outerNode` contains or is `innerNode`. - */ -function containsNode(_x, _x2) { - var _again = true; + _handle_toast_remove: function _handle_toast_remove(toastId) { + var _this = this; - _function: while (_again) { - var outerNode = _x, - innerNode = _x2; - _again = false; + var state = this.state; - if (!outerNode || !innerNode) { - return false; - } else if (outerNode === innerNode) { + state.toasts["" + (this.props.newestOnTop ? "reduceRight" : "reduce")](function (found, toast, index) { + if (found || toast.toastId !== toastId) { + return false; + } + _this.setState(update(state, { + toasts: { $splice: [[index, 1]] } + })); return true; - } else if (isTextNode(outerNode)) { - return false; - } else if (isTextNode(innerNode)) { - _x = outerNode; - _x2 = innerNode.parentNode; - _again = true; - continue _function; - } else if (outerNode.contains) { - return outerNode.contains(innerNode); - } else if (outerNode.compareDocumentPosition) { - return !!(outerNode.compareDocumentPosition(innerNode) & 16); - } else { - return false; - } - } -} - -module.exports = containsNode; -},{"./isTextNode":"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/isTextNode.js"}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/createArrayFromMixed.js":[function(require,module,exports){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule createArrayFromMixed - * @typechecks - */ + }, false); + }, -'use strict'; + _render: function _render(props, state) { + return React.createElement( + "div", + _extends({}, props, { "aria-live": "polite", role: "alert" }), + state.toasts.map(function (toast) { + return props.toastMessageFactory(toast); + }) + ); + } +}); +},{"./ToastMessage":"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/react-toastr/lib/ToastMessage/index.js","react/addons":"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/react/addons.js"}],"/Users/jreynolds/Development/Personal/react-bootstrap-table/node_modules/react-toastr/lib/ToastMessage/animationMixin.js":[function(require,module,exports){ +"use strict"; -var toArray = require('./toArray'); +var CSSCore = require("fbjs/lib/CSSCore"); +var ReactTransitionEvents = require("react/lib/ReactTransitionEvents"); +var TICK = 17; +var toString = Object.prototype.toString; -/** - * Perform a heuristic test to determine if an object is "array-like". - * - * A monk asked Joshu, a Zen master, "Has a dog Buddha nature?" - * Joshu replied: "Mu." - * - * This function determines if its argument has "array nature": it returns - * true if the argument is an actual array, an `arguments' object, or an - * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()). - * - * It will return false for other array-like objects like Filelist. - * - * @param {*} obj - * @return {boolean} - */ -function hasArrayNature(obj) { - return( - // not null/false - !!obj && ( - // arrays are objects, NodeLists are functions in Safari - typeof obj == 'object' || typeof obj == 'function') && - // quacks like an array - 'length' in obj && - // not window - !('setInterval' in obj) && - // no DOM node should be considered an array-like - // a 'select' element has 'length' and 'item' properties on IE8 - typeof obj.nodeType != 'number' && ( - // a real array - Array.isArray(obj) || - // arguments - 'callee' in obj || - // HTMLCollection/NodeList - 'item' in obj) - ); -} +module.exports = { + getDefaultProps: function getDefaultProps() { + return { + transition: null, //some examples defined in index.scss (scale, fadeInOut, rotate) + showAnimation: "animated bounceIn", //or other animations from animate.css + hideAnimation: "animated bounceOut", + timeOut: 5000, + extendedTimeOut: 1000 + }; + }, -/** - * Ensure that the argument is an array by wrapping it in an array if it is not. - * Creates a copy of the argument if it is already an array. - * - * This is mostly useful idiomatically: - * - * var createArrayFromMixed = require('createArrayFromMixed'); - * - * function takesOneOrMoreThings(things) { - * things = createArrayFromMixed(things); - * ... - * } - * - * This allows you to treat `things' as an array, but accept scalars in the API. - * - * If you need to convert an array-like object, like `arguments`, into an array - * use toArray instead. - * - * @param {*} obj - * @return {array} - */ -function createArrayFromMixed(obj) { - if (!hasArrayNature(obj)) { - return [obj]; - } else if (Array.isArray(obj)) { - return obj.slice(); - } else { - return toArray(obj); - } -} + componentWillMount: function componentWillMount() { + this.classNameQueue = []; + this.isHiding = false; + this.intervalId = null; + }, -module.exports = createArrayFromMixed; -},{"./toArray":"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/toArray.js"}],"/Users/allen/Node/react-bootstrap-table/node_modules/fbjs/lib/createNodesFromMarkup.js":[function(require,module,exports){ -(function (process){ -/** - * Copyright 2013-2015, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule createNodesFromMarkup - * @typechecks - */ + componentDidMount: function componentDidMount() { + var _this = this; -/*eslint-disable fb-www/unsafe-html*/ + var props = this.props; -'use strict'; + this._show(props); -var ExecutionEnvironment = require('./ExecutionEnvironment'); + var onHideComplete = function onHideComplete() { + if (_this.isHiding) { + _this._set_is_hiding(false); + ReactTransitionEvents.removeEndEventListener(node, onHideComplete); + _this._handle_remove(); + } + }; -var createArrayFromMixed = require('./createArrayFromMixed'); -var getMarkupWrap = require('./getMarkupWrap'); -var invariant = require('./invariant'); + var node = this.getDOMNode(); + ReactTransitionEvents.addEndEventListener(node, onHideComplete); -/** - * Dummy container used to render all markup. - */ -var dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null; + if (0 < props.timeOut) { + this._set_interval_id(setTimeout(this.hideToast, props.timeOut)); + } + }, + componentWillUnmount: function componentWillUnmount() { + if (this.intervalId) { + clearTimeout(this.intervalId); + } + }, + _set_transition: function _set_transition(hide) { + var animationType = hide ? "leave" : "enter"; + var node = this.getDOMNode(); + var className = this.props.transition + "-" + animationType; + var activeClassName = className + "-active"; -/** - * Pattern used by `getNodeName`. - */ -var nodeNamePattern = /^\s*<(\w+)/; + var endListener = function endListener(e) { + if (e && e.target !== node) { + return; + } -/** - * Extracts the `nodeName` of the first element in a string of markup. - * - * @param {string} markup String of markup. - * @return {?string} Node name of the supplied markup. - */ -function getNodeName(markup) { - var nodeNameMatch = markup.match(nodeNamePattern); - return nodeNameMatch && nodeNameMatch[1].toLowerCase(); -} + CSSCore.removeClass(node, className); + CSSCore.removeClass(node, activeClassName); -/** - * Creates an array containing the nodes rendered from the supplied markup. The - * optionally supplied `handleScript` function will be invoked once for each - *