You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2016/02/01 18:40:22 UTC
[3/6] fauxton commit: updated refs/heads/master to e6450a0
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/cab6fc2d/assets/js/libs/react-bootstrap.js
----------------------------------------------------------------------
diff --git a/assets/js/libs/react-bootstrap.js b/assets/js/libs/react-bootstrap.js
index caef22b..e02b0bf 100644
--- a/assets/js/libs/react-bootstrap.js
+++ b/assets/js/libs/react-bootstrap.js
@@ -1,16265 +1,17083 @@
(function webpackUniversalModuleDefinition(root, factory) {
- if(typeof exports === 'object' && typeof module === 'object')
- module.exports = factory(require("react"));
- else if(typeof define === 'function' && define.amd)
- define(["react"], factory);
- else if(typeof exports === 'object')
- exports["ReactBootstrap"] = factory(require("react"));
- else
- root["ReactBootstrap"] = factory(root["React"]);
-})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) {
+ if(typeof exports === 'object' && typeof module === 'object')
+ module.exports = factory(require("react"), require("react-dom"));
+ else if(typeof define === 'function' && define.amd)
+ define(["react", "react-dom"], factory);
+ else if(typeof exports === 'object')
+ exports["ReactBootstrap"] = factory(require("react"), require("react-dom"));
+ else
+ root["ReactBootstrap"] = factory(root["React"], root["ReactDOM"]);
+})(this, function(__WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_63__) {
return /******/ (function(modules) { // webpackBootstrap
-/******/ // The module cache
-/******/ var installedModules = {};
+/******/ // The module cache
+/******/ var installedModules = {};
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
-/******/ // Check if module is in cache
-/******/ if(installedModules[moduleId])
-/******/ return installedModules[moduleId].exports;
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId])
+/******/ return installedModules[moduleId].exports;
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = installedModules[moduleId] = {
-/******/ exports: {},
-/******/ id: moduleId,
-/******/ loaded: false
-/******/ };
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ exports: {},
+/******/ id: moduleId,
+/******/ loaded: false
+/******/ };
-/******/ // Execute the module function
-/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/ // Flag the module as loaded
-/******/ module.loaded = true;
+/******/ // Flag the module as loaded
+/******/ module.loaded = true;
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
-/******/ // expose the modules object (__webpack_modules__)
-/******/ __webpack_require__.m = modules;
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = modules;
-/******/ // expose the module cache
-/******/ __webpack_require__.c = installedModules;
+/******/ // expose the module cache
+/******/ __webpack_require__.c = installedModules;
-/******/ // __webpack_public_path__
-/******/ __webpack_require__.p = "";
+/******/ // __webpack_public_path__
+/******/ __webpack_require__.p = "";
-/******/ // Load entry module and return exports
-/******/ return __webpack_require__(0);
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
- 'use strict';
+ 'use strict';
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- var _interopRequireWildcard = __webpack_require__(2)['default'];
+ var _interopRequireWildcard = __webpack_require__(2)['default'];
- exports.__esModule = true;
+ exports.__esModule = true;
- var _utilsChildrenValueInputValidation = __webpack_require__(3);
+ var _utilsChildrenValueInputValidation = __webpack_require__(3);
- var _utilsChildrenValueInputValidation2 = _interopRequireDefault(_utilsChildrenValueInputValidation);
+ var _utilsChildrenValueInputValidation2 = _interopRequireDefault(_utilsChildrenValueInputValidation);
- var _utilsCreateChainedFunction = __webpack_require__(6);
+ var _utilsCreateChainedFunction = __webpack_require__(6);
- var _utilsCreateChainedFunction2 = _interopRequireDefault(_utilsCreateChainedFunction);
+ var _utilsCreateChainedFunction2 = _interopRequireDefault(_utilsCreateChainedFunction);
- var _utilsValidComponentChildren = __webpack_require__(7);
+ var _utilsValidComponentChildren = __webpack_require__(7);
- var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
+ var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
- var _Accordion2 = __webpack_require__(8);
+ var _utilsBootstrapUtils = __webpack_require__(8);
- var _Accordion3 = _interopRequireDefault(_Accordion2);
+ var _utilsBootstrapUtils2 = _interopRequireDefault(_utilsBootstrapUtils);
- exports.Accordion = _Accordion3['default'];
+ var _Accordion2 = __webpack_require__(34);
- var _Affix2 = __webpack_require__(32);
+ var _Accordion3 = _interopRequireDefault(_Accordion2);
- var _Affix3 = _interopRequireDefault(_Affix2);
+ exports.Accordion = _Accordion3['default'];
- exports.Affix = _Affix3['default'];
+ var _Alert2 = __webpack_require__(38);
- var _AffixMixin2 = __webpack_require__(33);
+ var _Alert3 = _interopRequireDefault(_Alert2);
- var _AffixMixin3 = _interopRequireDefault(_AffixMixin2);
+ exports.Alert = _Alert3['default'];
- exports.AffixMixin = _AffixMixin3['default'];
+ var _Badge2 = __webpack_require__(39);
- var _Alert2 = __webpack_require__(43);
+ var _Badge3 = _interopRequireDefault(_Badge2);
- var _Alert3 = _interopRequireDefault(_Alert2);
+ exports.Badge = _Badge3['default'];
- exports.Alert = _Alert3['default'];
+ var _Breadcrumb2 = __webpack_require__(40);
- var _Badge2 = __webpack_require__(44);
+ var _Breadcrumb3 = _interopRequireDefault(_Breadcrumb2);
- var _Badge3 = _interopRequireDefault(_Badge2);
+ exports.Breadcrumb = _Breadcrumb3['default'];
- exports.Badge = _Badge3['default'];
+ var _BreadcrumbItem2 = __webpack_require__(41);
- var _BootstrapMixin2 = __webpack_require__(28);
+ var _BreadcrumbItem3 = _interopRequireDefault(_BreadcrumbItem2);
- var _BootstrapMixin3 = _interopRequireDefault(_BootstrapMixin2);
+ exports.BreadcrumbItem = _BreadcrumbItem3['default'];
- exports.BootstrapMixin = _BootstrapMixin3['default'];
+ var _Button2 = __webpack_require__(51);
- var _Breadcrumb2 = __webpack_require__(45);
+ var _Button3 = _interopRequireDefault(_Button2);
- var _Breadcrumb3 = _interopRequireDefault(_Breadcrumb2);
+ exports.Button = _Button3['default'];
- exports.Breadcrumb = _Breadcrumb3['default'];
+ var _ButtonGroup2 = __webpack_require__(54);
- var _BreadcrumbItem2 = __webpack_require__(46);
+ var _ButtonGroup3 = _interopRequireDefault(_ButtonGroup2);
- var _BreadcrumbItem3 = _interopRequireDefault(_BreadcrumbItem2);
+ exports.ButtonGroup = _ButtonGroup3['default'];
- exports.BreadcrumbItem = _BreadcrumbItem3['default'];
+ var _ButtonInput2 = __webpack_require__(56);
- var _Button2 = __webpack_require__(62);
+ var _ButtonInput3 = _interopRequireDefault(_ButtonInput2);
- var _Button3 = _interopRequireDefault(_Button2);
+ exports.ButtonInput = _ButtonInput3['default'];
- exports.Button = _Button3['default'];
+ var _ButtonToolbar2 = __webpack_require__(60);
- var _ButtonGroup2 = __webpack_require__(68);
+ var _ButtonToolbar3 = _interopRequireDefault(_ButtonToolbar2);
- var _ButtonGroup3 = _interopRequireDefault(_ButtonGroup2);
+ exports.ButtonToolbar = _ButtonToolbar3['default'];
- exports.ButtonGroup = _ButtonGroup3['default'];
+ var _Carousel2 = __webpack_require__(61);
- var _ButtonInput2 = __webpack_require__(64);
+ var _Carousel3 = _interopRequireDefault(_Carousel2);
- var _ButtonInput3 = _interopRequireDefault(_ButtonInput2);
+ exports.Carousel = _Carousel3['default'];
- exports.ButtonInput = _ButtonInput3['default'];
+ var _CarouselItem2 = __webpack_require__(62);
- var _ButtonToolbar2 = __webpack_require__(70);
+ var _CarouselItem3 = _interopRequireDefault(_CarouselItem2);
- var _ButtonToolbar3 = _interopRequireDefault(_ButtonToolbar2);
+ exports.CarouselItem = _CarouselItem3['default'];
- exports.ButtonToolbar = _ButtonToolbar3['default'];
+ var _Col2 = __webpack_require__(65);
- var _Carousel2 = __webpack_require__(71);
+ var _Col3 = _interopRequireDefault(_Col2);
- var _Carousel3 = _interopRequireDefault(_Carousel2);
+ exports.Col = _Col3['default'];
- exports.Carousel = _Carousel3['default'];
+ var _CollapsibleNav2 = __webpack_require__(66);
- var _CarouselItem2 = __webpack_require__(72);
+ var _CollapsibleNav3 = _interopRequireDefault(_CollapsibleNav2);
- var _CarouselItem3 = _interopRequireDefault(_CarouselItem2);
+ exports.CollapsibleNav = _CollapsibleNav3['default'];
- exports.CarouselItem = _CarouselItem3['default'];
+ var _Dropdown2 = __webpack_require__(82);
- var _Col2 = __webpack_require__(74);
+ var _Dropdown3 = _interopRequireDefault(_Dropdown2);
- var _Col3 = _interopRequireDefault(_Col2);
+ exports.Dropdown = _Dropdown3['default'];
- exports.Col = _Col3['default'];
+ var _DropdownButton2 = __webpack_require__(168);
- var _CollapsibleNav2 = __webpack_require__(79);
+ var _DropdownButton3 = _interopRequireDefault(_DropdownButton2);
- var _CollapsibleNav3 = _interopRequireDefault(_CollapsibleNav2);
+ exports.DropdownButton = _DropdownButton3['default'];
- exports.CollapsibleNav = _CollapsibleNav3['default'];
+ var _Glyphicon2 = __webpack_require__(59);
- var _Dropdown2 = __webpack_require__(92);
+ var _Glyphicon3 = _interopRequireDefault(_Glyphicon2);
- var _Dropdown3 = _interopRequireDefault(_Dropdown2);
+ exports.Glyphicon = _Glyphicon3['default'];
- exports.Dropdown = _Dropdown3['default'];
+ var _Grid2 = __webpack_require__(170);
- var _DropdownButton2 = __webpack_require__(177);
+ var _Grid3 = _interopRequireDefault(_Grid2);
- var _DropdownButton3 = _interopRequireDefault(_DropdownButton2);
+ exports.Grid = _Grid3['default'];
- exports.DropdownButton = _DropdownButton3['default'];
+ var _Image2 = __webpack_require__(171);
- var _Glyphicon2 = __webpack_require__(67);
+ var _Image3 = _interopRequireDefault(_Image2);
- var _Glyphicon3 = _interopRequireDefault(_Glyphicon2);
+ exports.Image = _Image3['default'];
- exports.Glyphicon = _Glyphicon3['default'];
+ var _Input2 = __webpack_require__(172);
- var _Grid2 = __webpack_require__(178);
+ var _Input3 = _interopRequireDefault(_Input2);
- var _Grid3 = _interopRequireDefault(_Grid2);
+ exports.Input = _Input3['default'];
- exports.Grid = _Grid3['default'];
+ var _Interpolate2 = __webpack_require__(175);
- var _Image2 = __webpack_require__(179);
+ var _Interpolate3 = _interopRequireDefault(_Interpolate2);
- var _Image3 = _interopRequireDefault(_Image2);
+ exports.Interpolate = _Interpolate3['default'];
- exports.Image = _Image3['default'];
+ var _Jumbotron2 = __webpack_require__(176);
- var _Input2 = __webpack_require__(180);
+ var _Jumbotron3 = _interopRequireDefault(_Jumbotron2);
- var _Input3 = _interopRequireDefault(_Input2);
+ exports.Jumbotron = _Jumbotron3['default'];
- exports.Input = _Input3['default'];
+ var _Label2 = __webpack_require__(177);
- var _Interpolate2 = __webpack_require__(183);
+ var _Label3 = _interopRequireDefault(_Label2);
- var _Interpolate3 = _interopRequireDefault(_Interpolate2);
+ exports.Label = _Label3['default'];
- exports.Interpolate = _Interpolate3['default'];
+ var _ListGroup2 = __webpack_require__(178);
- var _Jumbotron2 = __webpack_require__(184);
+ var _ListGroup3 = _interopRequireDefault(_ListGroup2);
- var _Jumbotron3 = _interopRequireDefault(_Jumbotron2);
+ exports.ListGroup = _ListGroup3['default'];
- exports.Jumbotron = _Jumbotron3['default'];
+ var _ListGroupItem2 = __webpack_require__(179);
- var _Label2 = __webpack_require__(185);
+ var _ListGroupItem3 = _interopRequireDefault(_ListGroupItem2);
- var _Label3 = _interopRequireDefault(_Label2);
+ exports.ListGroupItem = _ListGroupItem3['default'];
- exports.Label = _Label3['default'];
+ var _MenuItem2 = __webpack_require__(180);
- var _ListGroup2 = __webpack_require__(186);
+ var _MenuItem3 = _interopRequireDefault(_MenuItem2);
- var _ListGroup3 = _interopRequireDefault(_ListGroup2);
+ exports.MenuItem = _MenuItem3['default'];
- exports.ListGroup = _ListGroup3['default'];
+ var _Modal2 = __webpack_require__(181);
- var _ListGroupItem2 = __webpack_require__(187);
+ var _Modal3 = _interopRequireDefault(_Modal2);
- var _ListGroupItem3 = _interopRequireDefault(_ListGroupItem2);
+ exports.Modal = _Modal3['default'];
- exports.ListGroupItem = _ListGroupItem3['default'];
+ var _ModalBody2 = __webpack_require__(188);
- var _MenuItem2 = __webpack_require__(188);
+ var _ModalBody3 = _interopRequireDefault(_ModalBody2);
- var _MenuItem3 = _interopRequireDefault(_MenuItem2);
+ exports.ModalBody = _ModalBody3['default'];
- exports.MenuItem = _MenuItem3['default'];
+ var _ModalFooter2 = __webpack_require__(191);
- var _Modal2 = __webpack_require__(189);
+ var _ModalFooter3 = _interopRequireDefault(_ModalFooter2);
- var _Modal3 = _interopRequireDefault(_Modal2);
+ exports.ModalFooter = _ModalFooter3['default'];
- exports.Modal = _Modal3['default'];
+ var _ModalHeader2 = __webpack_require__(189);
- var _ModalBody2 = __webpack_require__(200);
+ var _ModalHeader3 = _interopRequireDefault(_ModalHeader2);
- var _ModalBody3 = _interopRequireDefault(_ModalBody2);
+ exports.ModalHeader = _ModalHeader3['default'];
- exports.ModalBody = _ModalBody3['default'];
+ var _ModalTitle2 = __webpack_require__(190);
- var _ModalFooter2 = __webpack_require__(203);
+ var _ModalTitle3 = _interopRequireDefault(_ModalTitle2);
- var _ModalFooter3 = _interopRequireDefault(_ModalFooter2);
+ exports.ModalTitle = _ModalTitle3['default'];
- exports.ModalFooter = _ModalFooter3['default'];
+ var _Nav2 = __webpack_require__(207);
- var _ModalHeader2 = __webpack_require__(201);
+ var _Nav3 = _interopRequireDefault(_Nav2);
- var _ModalHeader3 = _interopRequireDefault(_ModalHeader2);
+ exports.Nav = _Nav3['default'];
- exports.ModalHeader = _ModalHeader3['default'];
+ var _Navbar2 = __webpack_require__(208);
- var _ModalTitle2 = __webpack_require__(202);
+ var _Navbar3 = _interopRequireDefault(_Navbar2);
- var _ModalTitle3 = _interopRequireDefault(_ModalTitle2);
+ exports.Navbar = _Navbar3['default'];
- exports.ModalTitle = _ModalTitle3['default'];
+ var _NavBrand2 = __webpack_require__(210);
- var _Nav2 = __webpack_require__(204);
+ var _NavBrand3 = _interopRequireDefault(_NavBrand2);
- var _Nav3 = _interopRequireDefault(_Nav2);
+ exports.NavBrand = _NavBrand3['default'];
- exports.Nav = _Nav3['default'];
+ var _NavbarBrand2 = __webpack_require__(211);
- var _Navbar2 = __webpack_require__(205);
+ var _NavbarBrand3 = _interopRequireDefault(_NavbarBrand2);
- var _Navbar3 = _interopRequireDefault(_Navbar2);
+ exports.NavbarBrand = _NavbarBrand3['default'];
- exports.Navbar = _Navbar3['default'];
+ var _NavDropdown2 = __webpack_require__(215);
- var _NavBrand2 = __webpack_require__(206);
+ var _NavDropdown3 = _interopRequireDefault(_NavDropdown2);
- var _NavBrand3 = _interopRequireDefault(_NavBrand2);
+ exports.NavDropdown = _NavDropdown3['default'];
- exports.NavBrand = _NavBrand3['default'];
+ var _NavItem2 = __webpack_require__(216);
- var _NavDropdown2 = __webpack_require__(207);
+ var _NavItem3 = _interopRequireDefault(_NavItem2);
- var _NavDropdown3 = _interopRequireDefault(_NavDropdown2);
+ exports.NavItem = _NavItem3['default'];
- exports.NavDropdown = _NavDropdown3['default'];
+ var _Overlay2 = __webpack_require__(217);
- var _NavItem2 = __webpack_require__(208);
+ var _Overlay3 = _interopRequireDefault(_Overlay2);
- var _NavItem3 = _interopRequireDefault(_NavItem2);
+ exports.Overlay = _Overlay3['default'];
- exports.NavItem = _NavItem3['default'];
+ var _OverlayTrigger2 = __webpack_require__(226);
- var _Overlay2 = __webpack_require__(209);
+ var _OverlayTrigger3 = _interopRequireDefault(_OverlayTrigger2);
- var _Overlay3 = _interopRequireDefault(_Overlay2);
+ exports.OverlayTrigger = _OverlayTrigger3['default'];
- exports.Overlay = _Overlay3['default'];
+ var _PageHeader2 = __webpack_require__(227);
- var _OverlayTrigger2 = __webpack_require__(218);
+ var _PageHeader3 = _interopRequireDefault(_PageHeader2);
- var _OverlayTrigger3 = _interopRequireDefault(_OverlayTrigger2);
+ exports.PageHeader = _PageHeader3['default'];
- exports.OverlayTrigger = _OverlayTrigger3['default'];
+ var _PageItem2 = __webpack_require__(228);
- var _PageHeader2 = __webpack_require__(221);
+ var _PageItem3 = _interopRequireDefault(_PageItem2);
- var _PageHeader3 = _interopRequireDefault(_PageHeader2);
+ exports.PageItem = _PageItem3['default'];
- exports.PageHeader = _PageHeader3['default'];
+ var _Pager2 = __webpack_require__(229);
- var _PageItem2 = __webpack_require__(222);
+ var _Pager3 = _interopRequireDefault(_Pager2);
- var _PageItem3 = _interopRequireDefault(_PageItem2);
+ exports.Pager = _Pager3['default'];
- exports.PageItem = _PageItem3['default'];
+ var _Pagination2 = __webpack_require__(230);
- var _Pager2 = __webpack_require__(223);
+ var _Pagination3 = _interopRequireDefault(_Pagination2);
- var _Pager3 = _interopRequireDefault(_Pager2);
+ exports.Pagination = _Pagination3['default'];
- exports.Pager = _Pager3['default'];
+ var _Panel2 = __webpack_require__(233);
- var _Pagination2 = __webpack_require__(224);
+ var _Panel3 = _interopRequireDefault(_Panel2);
- var _Pagination3 = _interopRequireDefault(_Pagination2);
+ exports.Panel = _Panel3['default'];
- exports.Pagination = _Pagination3['default'];
+ var _PanelGroup2 = __webpack_require__(35);
- var _Panel2 = __webpack_require__(227);
+ var _PanelGroup3 = _interopRequireDefault(_PanelGroup2);
- var _Panel3 = _interopRequireDefault(_Panel2);
+ exports.PanelGroup = _PanelGroup3['default'];
- exports.Panel = _Panel3['default'];
+ var _Popover2 = __webpack_require__(234);
- var _PanelGroup2 = __webpack_require__(25);
+ var _Popover3 = _interopRequireDefault(_Popover2);
- var _PanelGroup3 = _interopRequireDefault(_PanelGroup2);
+ exports.Popover = _Popover3['default'];
- exports.PanelGroup = _PanelGroup3['default'];
+ var _ProgressBar2 = __webpack_require__(235);
- var _Popover2 = __webpack_require__(228);
+ var _ProgressBar3 = _interopRequireDefault(_ProgressBar2);
- var _Popover3 = _interopRequireDefault(_Popover2);
+ exports.ProgressBar = _ProgressBar3['default'];
- exports.Popover = _Popover3['default'];
+ var _ResponsiveEmbed2 = __webpack_require__(236);
- var _ProgressBar2 = __webpack_require__(229);
+ var _ResponsiveEmbed3 = _interopRequireDefault(_ResponsiveEmbed2);
- var _ProgressBar3 = _interopRequireDefault(_ProgressBar2);
+ exports.ResponsiveEmbed = _ResponsiveEmbed3['default'];
- exports.ProgressBar = _ProgressBar3['default'];
+ var _Row2 = __webpack_require__(237);
- var _ResponsiveEmbed2 = __webpack_require__(230);
+ var _Row3 = _interopRequireDefault(_Row2);
- var _ResponsiveEmbed3 = _interopRequireDefault(_ResponsiveEmbed2);
+ exports.Row = _Row3['default'];
- exports.ResponsiveEmbed = _ResponsiveEmbed3['default'];
+ var _SafeAnchor2 = __webpack_require__(42);
- var _Row2 = __webpack_require__(231);
+ var _SafeAnchor3 = _interopRequireDefault(_SafeAnchor2);
- var _Row3 = _interopRequireDefault(_Row2);
+ exports.SafeAnchor = _SafeAnchor3['default'];
- exports.Row = _Row3['default'];
+ var _SplitButton3 = __webpack_require__(238);
- var _SafeAnchor2 = __webpack_require__(47);
+ var _SplitButton4 = _interopRequireDefault(_SplitButton3);
- var _SafeAnchor3 = _interopRequireDefault(_SafeAnchor2);
+ exports.SplitButton = _SplitButton4['default'];
- exports.SafeAnchor = _SafeAnchor3['default'];
+ var _SplitButton5 = _interopRequireDefault(_SplitButton3);
- var _SplitButton3 = __webpack_require__(232);
+ exports.SplitButton = _SplitButton5['default'];
- var _SplitButton4 = _interopRequireDefault(_SplitButton3);
+ var _Tab2 = __webpack_require__(240);
- exports.SplitButton = _SplitButton4['default'];
+ var _Tab3 = _interopRequireDefault(_Tab2);
- var _SplitButton5 = _interopRequireDefault(_SplitButton3);
+ exports.Tab = _Tab3['default'];
- exports.SplitButton = _SplitButton5['default'];
+ var _Table2 = __webpack_require__(241);
- var _styleMaps2 = __webpack_require__(29);
+ var _Table3 = _interopRequireDefault(_Table2);
- var _styleMaps3 = _interopRequireDefault(_styleMaps2);
+ exports.Table = _Table3['default'];
- exports.styleMaps = _styleMaps3['default'];
+ var _Tabs2 = __webpack_require__(242);
- var _SubNav2 = __webpack_require__(234);
+ var _Tabs3 = _interopRequireDefault(_Tabs2);
- var _SubNav3 = _interopRequireDefault(_SubNav2);
+ exports.Tabs = _Tabs3['default'];
- exports.SubNav = _SubNav3['default'];
+ var _Thumbnail2 = __webpack_require__(243);
- var _Tab2 = __webpack_require__(235);
+ var _Thumbnail3 = _interopRequireDefault(_Thumbnail2);
- var _Tab3 = _interopRequireDefault(_Tab2);
+ exports.Thumbnail = _Thumbnail3['default'];
- exports.Tab = _Tab3['default'];
+ var _Tooltip2 = __webpack_require__(244);
- var _Table2 = __webpack_require__(236);
+ var _Tooltip3 = _interopRequireDefault(_Tooltip2);
- var _Table3 = _interopRequireDefault(_Table2);
+ exports.Tooltip = _Tooltip3['default'];
- exports.Table = _Table3['default'];
+ var _Well2 = __webpack_require__(245);
- var _Tabs2 = __webpack_require__(237);
+ var _Well3 = _interopRequireDefault(_Well2);
- var _Tabs3 = _interopRequireDefault(_Tabs2);
+ exports.Well = _Well3['default'];
- exports.Tabs = _Tabs3['default'];
+ var _Collapse2 = __webpack_require__(67);
- var _Thumbnail2 = __webpack_require__(238);
+ var _Collapse3 = _interopRequireDefault(_Collapse2);
- var _Thumbnail3 = _interopRequireDefault(_Thumbnail2);
+ exports.Collapse = _Collapse3['default'];
- exports.Thumbnail = _Thumbnail3['default'];
+ var _Fade2 = __webpack_require__(186);
- var _Tooltip2 = __webpack_require__(239);
+ var _Fade3 = _interopRequireDefault(_Fade2);
- var _Tooltip3 = _interopRequireDefault(_Tooltip2);
+ exports.Fade = _Fade3['default'];
- exports.Tooltip = _Tooltip3['default'];
+ var _FormControls2 = __webpack_require__(173);
- var _Well2 = __webpack_require__(240);
+ var _FormControls = _interopRequireWildcard(_FormControls2);
- var _Well3 = _interopRequireDefault(_Well2);
-
- exports.Well = _Well3['default'];
-
- var _Collapse2 = __webpack_require__(80);
-
- var _Collapse3 = _interopRequireDefault(_Collapse2);
-
- exports.Collapse = _Collapse3['default'];
-
- var _Fade2 = __webpack_require__(198);
-
- var _Fade3 = _interopRequireDefault(_Fade2);
-
- exports.Fade = _Fade3['default'];
-
- var _FormControls2 = __webpack_require__(181);
-
- var _FormControls = _interopRequireWildcard(_FormControls2);
-
- exports.FormControls = _FormControls;
- var utils = {
- childrenValueInputValidation: _utilsChildrenValueInputValidation2['default'],
- createChainedFunction: _utilsCreateChainedFunction2['default'],
- ValidComponentChildren: _utilsValidComponentChildren2['default']
- };
- exports.utils = utils;
+ exports.FormControls = _FormControls;
+ var utils = {
+ bootstrapUtils: _utilsBootstrapUtils2['default'],
+ childrenValueInputValidation: _utilsChildrenValueInputValidation2['default'],
+ createChainedFunction: _utilsCreateChainedFunction2['default'],
+ ValidComponentChildren: _utilsValidComponentChildren2['default']
+ };
+ exports.utils = utils;
/***/ },
/* 1 */
/***/ function(module, exports) {
- "use strict";
+ "use strict";
- exports["default"] = function (obj) {
- return obj && obj.__esModule ? obj : {
- "default": obj
- };
- };
+ exports["default"] = function (obj) {
+ return obj && obj.__esModule ? obj : {
+ "default": obj
+ };
+ };
- exports.__esModule = true;
+ exports.__esModule = true;
/***/ },
/* 2 */
/***/ function(module, exports) {
- "use strict";
+ "use strict";
- exports["default"] = function (obj) {
- if (obj && obj.__esModule) {
- return obj;
- } else {
- var newObj = {};
+ exports["default"] = function (obj) {
+ if (obj && obj.__esModule) {
+ return obj;
+ } else {
+ var newObj = {};
- if (obj != null) {
- for (var key in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
- }
- }
+ if (obj != null) {
+ for (var key in obj) {
+ if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
+ }
+ }
- newObj["default"] = obj;
- return newObj;
- }
- };
+ newObj["default"] = obj;
+ return newObj;
+ }
+ };
- exports.__esModule = true;
+ exports.__esModule = true;
/***/ },
/* 3 */
/***/ function(module, exports, __webpack_require__) {
- 'use strict';
+ 'use strict';
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- exports.__esModule = true;
- exports['default'] = valueValidation;
+ exports.__esModule = true;
+ exports['default'] = valueValidation;
- var _react = __webpack_require__(4);
+ var _react = __webpack_require__(4);
- var _react2 = _interopRequireDefault(_react);
+ var _react2 = _interopRequireDefault(_react);
- var _reactPropTypesLibSinglePropFrom = __webpack_require__(5);
+ var _reactPropTypesLibSinglePropFrom = __webpack_require__(5);
- var _reactPropTypesLibSinglePropFrom2 = _interopRequireDefault(_reactPropTypesLibSinglePropFrom);
+ var _reactPropTypesLibSinglePropFrom2 = _interopRequireDefault(_reactPropTypesLibSinglePropFrom);
- function valueValidation(props, propName, componentName) {
- var error = _reactPropTypesLibSinglePropFrom2['default']('children', 'value')(props, propName, componentName);
+ function valueValidation(props, propName, componentName) {
+ var error = _reactPropTypesLibSinglePropFrom2['default']('children', 'value')(props, propName, componentName);
- if (!error) {
- error = _react2['default'].PropTypes.node(props, propName, componentName);
- }
+ if (!error) {
+ error = _react2['default'].PropTypes.node(props, propName, componentName);
+ }
- return error;
- }
+ return error;
+ }
- module.exports = exports['default'];
+ module.exports = exports['default'];
/***/ },
/* 4 */
/***/ function(module, exports) {
- module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
+ module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
/***/ },
/* 5 */
/***/ function(module, exports) {
- /**
- * Checks if only one of the listed properties is in use. An error is given
- * if multiple have a value
- *
- * @param props
- * @param propName
- * @param componentName
- * @returns {Error|undefined}
- */
- 'use strict';
-
- exports.__esModule = true;
- exports['default'] = createSinglePropFromChecker;
-
- function createSinglePropFromChecker() {
- for (var _len = arguments.length, arrOfProps = Array(_len), _key = 0; _key < _len; _key++) {
- arrOfProps[_key] = arguments[_key];
- }
-
- function validate(props, propName, componentName) {
- var usedPropCount = arrOfProps.map(function (listedProp) {
- return props[listedProp];
- }).reduce(function (acc, curr) {
- return acc + (curr !== undefined ? 1 : 0);
- }, 0);
-
- if (usedPropCount > 1) {
- var first = arrOfProps[0];
- var others = arrOfProps.slice(1);
-
- var message = others.join(', ') + ' and ' + first;
- return new Error('Invalid prop \'' + propName + '\', only one of the following ' + ('may be provided: ' + message));
- }
- }
- return validate;
- }
-
- module.exports = exports['default'];
+ /**
+ * Checks if only one of the listed properties is in use. An error is given
+ * if multiple have a value
+ *
+ * @param props
+ * @param propName
+ * @param componentName
+ * @returns {Error|undefined}
+ */
+ 'use strict';
+
+ exports.__esModule = true;
+ exports['default'] = createSinglePropFromChecker;
+
+ function createSinglePropFromChecker() {
+ for (var _len = arguments.length, arrOfProps = Array(_len), _key = 0; _key < _len; _key++) {
+ arrOfProps[_key] = arguments[_key];
+ }
+
+ function validate(props, propName, componentName) {
+ var usedPropCount = arrOfProps.map(function (listedProp) {
+ return props[listedProp];
+ }).reduce(function (acc, curr) {
+ return acc + (curr !== undefined ? 1 : 0);
+ }, 0);
+
+ if (usedPropCount > 1) {
+ var first = arrOfProps[0];
+ var others = arrOfProps.slice(1);
+
+ var message = others.join(', ') + ' and ' + first;
+ return new Error('Invalid prop \'' + propName + '\', only one of the following ' + ('may be provided: ' + message));
+ }
+ }
+ return validate;
+ }
+
+ module.exports = exports['default'];
/***/ },
/* 6 */
/***/ function(module, exports) {
- /**
- * Safe chained function
- *
- * Will only create a new function if needed,
- * otherwise will pass back existing functions or null.
- *
- * @param {function} functions to chain
- * @returns {function|null}
- */
- 'use strict';
-
- exports.__esModule = true;
- function createChainedFunction() {
- for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
- funcs[_key] = arguments[_key];
- }
-
- return funcs.filter(function (f) {
- return f != null;
- }).reduce(function (acc, f) {
- if (typeof f !== 'function') {
- throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');
- }
-
- if (acc === null) {
- return f;
- }
-
- return function chainedFunction() {
- for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
-
- acc.apply(this, args);
- f.apply(this, args);
- };
- }, null);
- }
-
- exports['default'] = createChainedFunction;
- module.exports = exports['default'];
+ /**
+ * Safe chained function
+ *
+ * Will only create a new function if needed,
+ * otherwise will pass back existing functions or null.
+ *
+ * @param {function} functions to chain
+ * @returns {function|null}
+ */
+ 'use strict';
+
+ exports.__esModule = true;
+ function createChainedFunction() {
+ for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
+ funcs[_key] = arguments[_key];
+ }
+
+ return funcs.filter(function (f) {
+ return f != null;
+ }).reduce(function (acc, f) {
+ if (typeof f !== 'function') {
+ throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');
+ }
+
+ if (acc === null) {
+ return f;
+ }
+
+ return function chainedFunction() {
+ for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+ args[_key2] = arguments[_key2];
+ }
+
+ acc.apply(this, args);
+ f.apply(this, args);
+ };
+ }, null);
+ }
+
+ exports['default'] = createChainedFunction;
+ module.exports = exports['default'];
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
- 'use strict';
-
- var _interopRequireDefault = __webpack_require__(1)['default'];
-
- exports.__esModule = true;
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- /**
- * Maps children that are typically specified as `props.children`,
- * but only iterates over children that are "valid components".
- *
- * The mapFunction provided index will be normalised to the components mapped,
- * so an invalid component would not increase the index.
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} mapFunction.
- * @param {*} mapContext Context for mapFunction.
- * @return {object} Object containing the ordered map of results.
- */
- function mapValidComponents(children, func, context) {
- var index = 0;
-
- return _react2['default'].Children.map(children, function (child) {
- if (_react2['default'].isValidElement(child)) {
- var lastIndex = index;
- index++;
- return func.call(context, child, lastIndex);
- }
-
- return child;
- });
- }
-
- /**
- * Iterates through children that are typically specified as `props.children`,
- * but only iterates over children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} forEachFunc.
- * @param {*} forEachContext Context for forEachContext.
- */
- function forEachValidComponents(children, func, context) {
- var index = 0;
-
- return _react2['default'].Children.forEach(children, function (child) {
- if (_react2['default'].isValidElement(child)) {
- func.call(context, child, index);
- index++;
- }
- });
- }
-
- /**
- * Count the number of "valid components" in the Children container.
- *
- * @param {?*} children Children tree container.
- * @returns {number}
- */
- function numberOfValidComponents(children) {
- var count = 0;
-
- _react2['default'].Children.forEach(children, function (child) {
- if (_react2['default'].isValidElement(child)) {
- count++;
- }
- });
-
- return count;
- }
-
- /**
- * Determine if the Child container has one or more "valid components".
- *
- * @param {?*} children Children tree container.
- * @returns {boolean}
- */
- function hasValidComponent(children) {
- var hasValid = false;
-
- _react2['default'].Children.forEach(children, function (child) {
- if (!hasValid && _react2['default'].isValidElement(child)) {
- hasValid = true;
- }
- });
-
- return hasValid;
- }
-
- function find(children, finder) {
- var child = undefined;
-
- forEachValidComponents(children, function (c, idx) {
- if (!child && finder(c, idx, children)) {
- child = c;
- }
- });
-
- return child;
- }
-
- /**
- * Finds children that are typically specified as `props.children`,
- * but only iterates over children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} findFunc.
- * @param {*} findContext Context for findContext.
- * @returns {array} of children that meet the findFunc return statement
- */
- function findValidComponents(children, func, context) {
- var index = 0;
- var returnChildren = [];
-
- _react2['default'].Children.forEach(children, function (child) {
- if (_react2['default'].isValidElement(child)) {
- if (func.call(context, child, index)) {
- returnChildren.push(child);
- }
- index++;
- }
- });
-
- return returnChildren;
- }
-
- exports['default'] = {
- map: mapValidComponents,
- forEach: forEachValidComponents,
- numberOf: numberOfValidComponents,
- find: find,
- findValidComponents: findValidComponents,
- hasValidComponent: hasValidComponent
- };
- module.exports = exports['default'];
+ 'use strict';
+
+ var _interopRequireDefault = __webpack_require__(1)['default'];
+
+ exports.__esModule = true;
+
+ var _react = __webpack_require__(4);
+
+ var _react2 = _interopRequireDefault(_react);
+
+ /**
+ * Maps children that are typically specified as `props.children`,
+ * but only iterates over children that are "valid components".
+ *
+ * The mapFunction provided index will be normalised to the components mapped,
+ * so an invalid component would not increase the index.
+ *
+ * @param {?*} children Children tree container.
+ * @param {function(*, int)} mapFunction.
+ * @param {*} mapContext Context for mapFunction.
+ * @return {object} Object containing the ordered map of results.
+ */
+ function mapValidComponents(children, func, context) {
+ var index = 0;
+
+ return _react2['default'].Children.map(children, function (child) {
+ if (_react2['default'].isValidElement(child)) {
+ var lastIndex = index;
+ index++;
+ return func.call(context, child, lastIndex);
+ }
+
+ return child;
+ });
+ }
+
+ /**
+ * Iterates through children that are typically specified as `props.children`,
+ * but only iterates over children that are "valid components".
+ *
+ * The provided forEachFunc(child, index) will be called for each
+ * leaf child with the index reflecting the position relative to "valid components".
+ *
+ * @param {?*} children Children tree container.
+ * @param {function(*, int)} forEachFunc.
+ * @param {*} forEachContext Context for forEachContext.
+ */
+ function forEachValidComponents(children, func, context) {
+ var index = 0;
+
+ return _react2['default'].Children.forEach(children, function (child) {
+ if (_react2['default'].isValidElement(child)) {
+ func.call(context, child, index);
+ index++;
+ }
+ });
+ }
+
+ /**
+ * Count the number of "valid components" in the Children container.
+ *
+ * @param {?*} children Children tree container.
+ * @returns {number}
+ */
+ function numberOfValidComponents(children) {
+ var count = 0;
+
+ _react2['default'].Children.forEach(children, function (child) {
+ if (_react2['default'].isValidElement(child)) {
+ count++;
+ }
+ });
+
+ return count;
+ }
+
+ /**
+ * Determine if the Child container has one or more "valid components".
+ *
+ * @param {?*} children Children tree container.
+ * @returns {boolean}
+ */
+ function hasValidComponent(children) {
+ var hasValid = false;
+
+ _react2['default'].Children.forEach(children, function (child) {
+ if (!hasValid && _react2['default'].isValidElement(child)) {
+ hasValid = true;
+ }
+ });
+
+ return hasValid;
+ }
+
+ function find(children, finder) {
+ var child = undefined;
+
+ forEachValidComponents(children, function (c, idx) {
+ if (!child && finder(c, idx, children)) {
+ child = c;
+ }
+ });
+
+ return child;
+ }
+
+ /**
+ * Finds children that are typically specified as `props.children`,
+ * but only iterates over children that are "valid components".
+ *
+ * The provided forEachFunc(child, index) will be called for each
+ * leaf child with the index reflecting the position relative to "valid components".
+ *
+ * @param {?*} children Children tree container.
+ * @param {function(*, int)} findFunc.
+ * @param {*} findContext Context for findContext.
+ * @returns {array} of children that meet the findFunc return statement
+ */
+ function findValidComponents(children, func, context) {
+ var index = 0;
+ var returnChildren = [];
+
+ _react2['default'].Children.forEach(children, function (child) {
+ if (_react2['default'].isValidElement(child)) {
+ if (func.call(context, child, index)) {
+ returnChildren.push(child);
+ }
+ index++;
+ }
+ });
+
+ return returnChildren;
+ }
+
+ exports['default'] = {
+ map: mapValidComponents,
+ forEach: forEachValidComponents,
+ numberOf: numberOfValidComponents,
+ find: find,
+ findValidComponents: findValidComponents,
+ hasValidComponent: hasValidComponent
+ };
+ module.exports = exports['default'];
/***/ },
/* 8 */
/***/ function(module, exports, __webpack_require__) {
- 'use strict';
+ 'use strict';
+
+ var _extends = __webpack_require__(9)['default'];
+
+ var _interopRequireDefault = __webpack_require__(1)['default'];
+
+ exports.__esModule = true;
+
+ var _react = __webpack_require__(4);
+
+ var _styleMaps = __webpack_require__(25);
+
+ var _styleMaps2 = _interopRequireDefault(_styleMaps);
- var _extends = __webpack_require__(9)['default'];
+ var _invariant = __webpack_require__(32);
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ var _invariant2 = _interopRequireDefault(_invariant);
- exports.__esModule = true;
+ var _warning = __webpack_require__(33);
- var _react = __webpack_require__(4);
+ var _warning2 = _interopRequireDefault(_warning);
- var _react2 = _interopRequireDefault(_react);
+ function curry(fn) {
+ return function () {
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- var _PanelGroup = __webpack_require__(25);
+ var last = args[args.length - 1];
+ if (typeof last === 'function') {
+ return fn.apply(undefined, args);
+ }
+ return function (Component) {
+ return fn.apply(undefined, args.concat([Component]));
+ };
+ };
+ }
- var _PanelGroup2 = _interopRequireDefault(_PanelGroup);
+ function prefix(props, variant) {
+ if (props === undefined) props = {};
- var Accordion = _react2['default'].createClass({
- displayName: 'Accordion',
+ !(props.bsClass || '').trim() ? true ? _invariant2['default'](false, 'A `bsClass` prop is required for this component') : _invariant2['default'](false) : undefined;
+ return props.bsClass + (variant ? '-' + variant : '');
+ }
- render: function render() {
- return _react2['default'].createElement(
- _PanelGroup2['default'],
- _extends({}, this.props, { accordion: true }),
- this.props.children
- );
- }
- });
+ var bsClass = curry(function (defaultClass, Component) {
+ var propTypes = Component.propTypes || (Component.propTypes = {});
+ var defaultProps = Component.defaultProps || (Component.defaultProps = {});
- exports['default'] = Accordion;
- module.exports = exports['default'];
+ propTypes.bsClass = _react.PropTypes.string;
+ defaultProps.bsClass = defaultClass;
+
+ return Component;
+ });
+
+ exports.bsClass = bsClass;
+ var bsStyles = curry(function (styles, defaultStyle, Component) {
+ if (typeof defaultStyle !== 'string') {
+ Component = defaultStyle;
+ defaultStyle = undefined;
+ }
+
+ var existing = Component.STYLES || [];
+ var propTypes = Component.propTypes || {};
+
+ styles.forEach(function (style) {
+ if (existing.indexOf(style) === -1) {
+ existing.push(style);
+ }
+ });
+
+ var propType = _react.PropTypes.oneOf(existing);
+
+ // expose the values on the propType function for documentation
+ Component.STYLES = propType._values = existing;
+
+ Component.propTypes = _extends({}, propTypes, {
+ bsStyle: propType
+ });
+
+ if (defaultStyle !== undefined) {
+ var defaultProps = Component.defaultProps || (Component.defaultProps = {});
+ defaultProps.bsStyle = defaultStyle;
+ }
+
+ return Component;
+ });
+
+ exports.bsStyles = bsStyles;
+ var bsSizes = curry(function (sizes, defaultSize, Component) {
+ if (typeof defaultSize !== 'string') {
+ Component = defaultSize;
+ defaultSize = undefined;
+ }
+
+ var existing = Component.SIZES || [];
+ var propTypes = Component.propTypes || {};
+
+ sizes.forEach(function (size) {
+ if (existing.indexOf(size) === -1) {
+ existing.push(size);
+ }
+ });
+
+ var values = existing.reduce(function (result, size) {
+ if (_styleMaps2['default'].SIZES[size] && _styleMaps2['default'].SIZES[size] !== size) {
+ result.push(_styleMaps2['default'].SIZES[size]);
+ }
+ return result.concat(size);
+ }, []);
+
+ var propType = _react.PropTypes.oneOf(values);
+
+ propType._values = values;
+
+ // expose the values on the propType function for documentation
+ Component.SIZES = existing;
+
+ Component.propTypes = _extends({}, propTypes, {
+ bsSize: propType
+ });
+
+ if (defaultSize !== undefined) {
+ var defaultProps = Component.defaultProps || (Component.defaultProps = {});
+ defaultProps.bsSize = defaultSize;
+ }
+
+ return Component;
+ });
+
+ exports.bsSizes = bsSizes;
+ exports['default'] = {
+
+ prefix: prefix,
+
+ getClassSet: function getClassSet(props) {
+ var classes = {};
+ var bsClassName = prefix(props);
+
+ if (bsClassName) {
+ var bsSize = undefined;
+
+ classes[bsClassName] = true;
+
+ if (props.bsSize) {
+ bsSize = _styleMaps2['default'].SIZES[props.bsSize] || bsSize;
+ }
+
+ if (bsSize) {
+ classes[prefix(props, bsSize)] = true;
+ }
+
+ if (props.bsStyle) {
+ if (props.bsStyle.indexOf(prefix(props)) === 0) {
+ true ? _warning2['default'](false, // small migration convenience, since the old method required manual prefixing
+ 'bsStyle will automatically prefix custom values with the bsClass, so there is no ' + 'need to append it manually. (bsStyle: ' + props.bsStyle + ', bsClass: ' + prefix(props) + ')') : undefined;
+ classes[props.bsStyle] = true;
+ } else {
+ classes[prefix(props, props.bsStyle)] = true;
+ }
+ }
+ }
+
+ return classes;
+ },
+
+ /**
+ * Add a style variant to a Component. Mutates the propTypes of the component
+ * in order to validate the new variant.
+ */
+ addStyle: function addStyle(Component, styleVariant) {
+ bsStyles(styleVariant, Component);
+ }
+ };
+ var _curry = curry;
+ exports._curry = _curry;
/***/ },
/* 9 */
/***/ function(module, exports, __webpack_require__) {
- "use strict";
+ "use strict";
- var _Object$assign = __webpack_require__(10)["default"];
+ var _Object$assign = __webpack_require__(10)["default"];
- exports["default"] = _Object$assign || function (target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
+ exports["default"] = _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];
- }
- }
- }
+ for (var key in source) {
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
+ target[key] = source[key];
+ }
+ }
+ }
- return target;
- };
+ return target;
+ };
- exports.__esModule = true;
+ exports.__esModule = true;
/***/ },
/* 10 */
/***/ function(module, exports, __webpack_require__) {
- module.exports = { "default": __webpack_require__(11), __esModule: true };
+ module.exports = { "default": __webpack_require__(11), __esModule: true };
/***/ },
/* 11 */
/***/ function(module, exports, __webpack_require__) {
- __webpack_require__(12);
- module.exports = __webpack_require__(15).Object.assign;
+ __webpack_require__(12);
+ module.exports = __webpack_require__(15).Object.assign;
/***/ },
/* 12 */
/***/ function(module, exports, __webpack_require__) {
- // 19.1.3.1 Object.assign(target, source)
- var $def = __webpack_require__(13);
+ // 19.1.3.1 Object.assign(target, source)
+ var $export = __webpack_require__(13);
- $def($def.S + $def.F, 'Object', {assign: __webpack_require__(16)});
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(18)});
/***/ },
/* 13 */
/***/ function(module, exports, __webpack_require__) {
- var global = __webpack_require__(14)
- , core = __webpack_require__(15)
- , PROTOTYPE = 'prototype';
- var ctx = function(fn, that){
- return function(){
- return fn.apply(that, arguments);
- };
- };
- var $def = function(type, name, source){
- var key, own, out, exp
- , isGlobal = type & $def.G
- , isProto = type & $def.P
- , target = isGlobal ? global : type & $def.S
- ? global[name] : (global[name] || {})[PROTOTYPE]
- , exports = isGlobal ? core : core[name] || (core[name] = {});
- if(isGlobal)source = name;
- for(key in source){
- // contains in native
- own = !(type & $def.F) && target && key in target;
- if(own && key in exports)continue;
- // export native or passed
- out = own ? target[key] : source[key];
- // prevent global pollution for namespaces
- if(isGlobal && typeof target[key] != 'function')exp = source[key];
- // bind timers to global for call from export context
- else if(type & $def.B && own)exp = ctx(out, global);
- // wrap global constructors for prevent change them in library
- else if(type & $def.W && target[key] == out)!function(C){
- exp = function(param){
- return this instanceof C ? new C(param) : C(param);
- };
- exp[PROTOTYPE] = C[PROTOTYPE];
- }(out);
- else exp = isProto && typeof out == 'function' ? ctx(Function.call, out) : out;
- // export
- exports[key] = exp;
- if(isProto)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
- }
- };
- // type bitmap
- $def.F = 1; // forced
- $def.G = 2; // global
- $def.S = 4; // static
- $def.P = 8; // proto
- $def.B = 16; // bind
- $def.W = 32; // wrap
- module.exports = $def;
+ var global = __webpack_require__(14)
+ , core = __webpack_require__(15)
+ , ctx = __webpack_require__(16)
+ , PROTOTYPE = 'prototype';
+
+ var $export = function(type, name, source){
+ var IS_FORCED = type & $export.F
+ , IS_GLOBAL = type & $export.G
+ , IS_STATIC = type & $export.S
+ , IS_PROTO = type & $export.P
+ , IS_BIND = type & $export.B
+ , IS_WRAP = type & $export.W
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
+ , key, own, out;
+ if(IS_GLOBAL)source = name;
+ for(key in source){
+ // contains in native
+ own = !IS_FORCED && target && key in target;
+ if(own && key in exports)continue;
+ // export native or passed
+ out = own ? target[key] : source[key];
+ // prevent global pollution for namespaces
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
+ // bind timers to global for call from export context
+ : IS_BIND && own ? ctx(out, global)
+ // wrap global constructors for prevent change them in library
+ : IS_WRAP && target[key] == out ? (function(C){
+ var F = function(param){
+ return this instanceof C ? new C(param) : C(param);
+ };
+ F[PROTOTYPE] = C[PROTOTYPE];
+ return F;
+ // make static versions for prototype methods
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+ if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
+ }
+ };
+ // type bitmap
+ $export.F = 1; // forced
+ $export.G = 2; // global
+ $export.S = 4; // static
+ $export.P = 8; // proto
+ $export.B = 16; // bind
+ $export.W = 32; // wrap
+ module.exports = $export;
/***/ },
/* 14 */
/***/ function(module, exports) {
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- var UNDEFINED = 'undefined';
- var global = module.exports = typeof window != UNDEFINED && window.Math == Math
- ? window : typeof self != UNDEFINED && self.Math == Math ? self : Function('return this')();
- if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
/***/ },
/* 15 */
/***/ function(module, exports) {
- var core = module.exports = {version: '1.2.1'};
- if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
+ var core = module.exports = {version: '1.2.6'};
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
- // 19.1.2.1 Object.assign(target, source, ...)
- var toObject = __webpack_require__(17)
- , IObject = __webpack_require__(19)
- , enumKeys = __webpack_require__(21)
- , has = __webpack_require__(23);
-
- // should work with symbols and should have deterministic property order (V8 bug)
- module.exports = __webpack_require__(24)(function(){
- var a = Object.assign
- , A = {}
- , B = {}
- , S = Symbol()
- , K = 'abcdefghijklmnopqrst';
- A[S] = 7;
- K.split('').forEach(function(k){ B[k] = k; });
- return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
- }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
- var T = toObject(target)
- , l = arguments.length
- , i = 1;
- while(l > i){
- var S = IObject(arguments[i++])
- , keys = enumKeys(S)
- , length = keys.length
- , j = 0
- , key;
- while(length > j)if(has(S, key = keys[j++]))T[key] = S[key];
- }
- return T;
- } : Object.assign;
+ // optional / simple context binding
+ var aFunction = __webpack_require__(17);
+ module.exports = function(fn, that, length){
+ aFunction(fn);
+ if(that === undefined)return fn;
+ switch(length){
+ case 1: return function(a){
+ return fn.call(that, a);
+ };
+ case 2: return function(a, b){
+ return fn.call(that, a, b);
+ };
+ case 3: return function(a, b, c){
+ return fn.call(that, a, b, c);
+ };
+ }
+ return function(/* ...args */){
+ return fn.apply(that, arguments);
+ };
+ };
/***/ },
/* 17 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ function(module, exports) {
- // 7.1.13 ToObject(argument)
- var defined = __webpack_require__(18);
- module.exports = function(it){
- return Object(defined(it));
- };
+ module.exports = function(it){
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+ return it;
+ };
/***/ },
/* 18 */
-/***/ function(module, exports) {
+/***/ function(module, exports, __webpack_require__) {
- // 7.2.1 RequireObjectCoercible(argument)
- module.exports = function(it){
- if(it == undefined)throw TypeError("Can't call method on " + it);
- return it;
- };
+ // 19.1.2.1 Object.assign(target, source, ...)
+ var $ = __webpack_require__(19)
+ , toObject = __webpack_require__(20)
+ , IObject = __webpack_require__(22);
+
+ // should work with symbols and should have deterministic property order (V8 bug)
+ module.exports = __webpack_require__(24)(function(){
+ var a = Object.assign
+ , A = {}
+ , B = {}
+ , S = Symbol()
+ , K = 'abcdefghijklmnopqrst';
+ A[S] = 7;
+ K.split('').forEach(function(k){ B[k] = k; });
+ return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
+ var T = toObject(target)
+ , $$ = arguments
+ , $$len = $$.length
+ , index = 1
+ , getKeys = $.getKeys
+ , getSymbols = $.getSymbols
+ , isEnum = $.isEnum;
+ while($$len > index){
+ var S = IObject($$[index++])
+ , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
+ , length = keys.length
+ , j = 0
+ , key;
+ while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
+ }
+ return T;
+ } : Object.assign;
/***/ },
/* 19 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ function(module, exports) {
- // indexed object, fallback for non-array-like ES3 strings
- var cof = __webpack_require__(20);
- module.exports = 0 in Object('z') ? Object : function(it){
- return cof(it) == 'String' ? it.split('') : Object(it);
- };
+ var $Object = Object;
+ module.exports = {
+ create: $Object.create,
+ getProto: $Object.getPrototypeOf,
+ isEnum: {}.propertyIsEnumerable,
+ getDesc: $Object.getOwnPropertyDescriptor,
+ setDesc: $Object.defineProperty,
+ setDescs: $Object.defineProperties,
+ getKeys: $Object.keys,
+ getNames: $Object.getOwnPropertyNames,
+ getSymbols: $Object.getOwnPropertySymbols,
+ each: [].forEach
+ };
/***/ },
/* 20 */
-/***/ function(module, exports) {
-
- var toString = {}.toString;
+/***/ function(module, exports, __webpack_require__) {
- module.exports = function(it){
- return toString.call(it).slice(8, -1);
- };
+ // 7.1.13 ToObject(argument)
+ var defined = __webpack_require__(21);
+ module.exports = function(it){
+ return Object(defined(it));
+ };
/***/ },
/* 21 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ function(module, exports) {
- // all enumerable object keys, includes symbols
- var $ = __webpack_require__(22);
- module.exports = function(it){
- var keys = $.getKeys(it)
- , getSymbols = $.getSymbols;
- if(getSymbols){
- var symbols = getSymbols(it)
- , isEnum = $.isEnum
- , i = 0
- , key;
- while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);
- }
- return keys;
- };
+ // 7.2.1 RequireObjectCoercible(argument)
+ module.exports = function(it){
+ if(it == undefined)throw TypeError("Can't call method on " + it);
+ return it;
+ };
/***/ },
/* 22 */
-/***/ function(module, exports) {
+/***/ function(module, exports, __webpack_require__) {
- var $Object = Object;
- module.exports = {
- create: $Object.create,
- getProto: $Object.getPrototypeOf,
- isEnum: {}.propertyIsEnumerable,
- getDesc: $Object.getOwnPropertyDescriptor,
- setDesc: $Object.defineProperty,
- setDescs: $Object.defineProperties,
- getKeys: $Object.keys,
- getNames: $Object.getOwnPropertyNames,
- getSymbols: $Object.getOwnPropertySymbols,
- each: [].forEach
- };
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
+ var cof = __webpack_require__(23);
+ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
+ return cof(it) == 'String' ? it.split('') : Object(it);
+ };
/***/ },
/* 23 */
/***/ function(module, exports) {
- var hasOwnProperty = {}.hasOwnProperty;
- module.exports = function(it, key){
- return hasOwnProperty.call(it, key);
- };
+ var toString = {}.toString;
+
+ module.exports = function(it){
+ return toString.call(it).slice(8, -1);
+ };
/***/ },
/* 24 */
/***/ function(module, exports) {
- module.exports = function(exec){
- try {
- return !!exec();
- } catch(e){
- return true;
- }
- };
+ module.exports = function(exec){
+ try {
+ return !!exec();
+ } catch(e){
+ return true;
+ }
+ };
/***/ },
/* 25 */
/***/ function(module, exports, __webpack_require__) {
- /* eslint react/prop-types: [2, {ignore: "bsStyle"}] */
- /* BootstrapMixin contains `bsStyle` type validation */
-
- 'use strict';
-
- var _objectWithoutProperties = __webpack_require__(26)['default'];
-
- var _extends = __webpack_require__(9)['default'];
-
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ 'use strict';
+
+ var _Object$assign = __webpack_require__(10)['default'];
+
+ var _Object$create = __webpack_require__(26)['default'];
+
+ var _Object$keys = __webpack_require__(28)['default'];
+
+ exports.__esModule = true;
+
+ var constant = function constant(obj) {
+ return _Object$assign(_Object$create({
+ values: function values() {
+ var _this = this;
+
+ return _Object$keys(this).map(function (k) {
+ return _this[k];
+ });
+ }
+ }), obj);
+ };
+
+ var styleMaps = {
+
+ SIZES: {
+ 'large': 'lg',
+ 'medium': 'md',
+ 'small': 'sm',
+ 'xsmall': 'xs',
+ 'lg': 'lg',
+ 'md': 'md',
+ 'sm': 'sm',
+ 'xs': 'xs'
+ },
+ GRID_COLUMNS: 12
+ };
+
+ var Sizes = constant({
+ LARGE: 'large',
+ MEDIUM: 'medium',
+ SMALL: 'small',
+ XSMALL: 'xsmall'
+ });
+
+ exports.Sizes = Sizes;
+ var State = constant({
+ SUCCESS: 'success',
+ WARNING: 'warning',
+ DANGER: 'danger',
+ INFO: 'info'
+ });
+
+ exports.State = State;
+ var DEFAULT = 'default';
+ exports.DEFAULT = DEFAULT;
+ var PRIMARY = 'primary';
+ exports.PRIMARY = PRIMARY;
+ var LINK = 'link';
+ exports.LINK = LINK;
+ var INVERSE = 'inverse';
+
+ exports.INVERSE = INVERSE;
+ exports['default'] = styleMaps;
- exports.__esModule = true;
-
- var _react = __webpack_require__(4);
-
- var _react2 = _interopRequireDefault(_react);
-
- var _classnames = __webpack_require__(27);
+/***/ },
+/* 26 */
+/***/ function(module, exports, __webpack_require__) {
- var _classnames2 = _interopRequireDefault(_classnames);
+ module.exports = { "default": __webpack_require__(27), __esModule: true };
- var _BootstrapMixin = __webpack_require__(28);
+/***/ },
+/* 27 */
+/***/ function(module, exports, __webpack_require__) {
- var _BootstrapMixin2 = _interopRequireDefault(_BootstrapMixin);
+ var $ = __webpack_require__(19);
+ module.exports = function create(P, D){
+ return $.create(P, D);
+ };
- var _utilsValidComponentChildren = __webpack_require__(7);
+/***/ },
+/* 28 */
+/***/ function(module, exports, __webpack_require__) {
- var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
+ module.exports = { "default": __webpack_require__(29), __esModule: true };
- var PanelGroup = _react2['default'].createClass({
- displayName: 'PanelGroup',
+/***/ },
+/* 29 */
+/***/ function(module, exports, __webpack_require__) {
- mixins: [_BootstrapMixin2['default']],
+ __webpack_require__(30);
+ module.exports = __webpack_require__(15).Object.keys;
- propTypes: {
- accordion: _react2['default'].PropTypes.bool,
- activeKey: _react2['default'].PropTypes.any,
- className: _react2['default'].PropTypes.string,
- children: _react2['default'].PropTypes.node,
- defaultActiveKey: _react2['default'].PropTypes.any,
- onSelect: _react2['default'].PropTypes.func
- },
+/***/ },
+/* 30 */
+/***/ function(module, exports, __webpack_require__) {
- getDefaultProps: function getDefaultProps() {
- return {
- accordion: false,
- bsClass: 'panel-group'
- };
- },
+ // 19.1.2.14 Object.keys(O)
+ var toObject = __webpack_require__(20);
- getInitialState: function getInitialState() {
- var defaultActiveKey = this.props.defaultActiveKey;
+ __webpack_require__(31)('keys', function($keys){
+ return function keys(it){
+ return $keys(toObject(it));
+ };
+ });
- return {
- activeKey: defaultActiveKey
- };
- },
+/***/ },
+/* 31 */
+/***/ function(module, exports, __webpack_require__) {
- render: function render() {
- var classes = this.getBsClassSet();
- var _props = this.props;
- var className = _props.className;
+ // most Object methods by ES6 should accept primitives
+ var $export = __webpack_require__(13)
+ , core = __webpack_require__(15)
+ , fails = __webpack_require__(24);
+ module.exports = function(KEY, exec){
+ var fn = (core.Object || {})[KEY] || Object[KEY]
+ , exp = {};
+ exp[KEY] = exec(fn);
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
+ };
- var props = _objectWithoutProperties(_props, ['className']);
+/***/ },
+/* 32 */
+/***/ function(module, exports, __webpack_require__) {
- if (this.props.accordion) {
- props.role = 'tablist';
- }
- return _react2['default'].createElement(
- 'div',
- _extends({}, props, { className: _classnames2['default'](className, classes), onSelect: null }),
- _utilsValidComponentChildren2['default'].map(props.children, this.renderPanel)
- );
- },
+ /**
+ * 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.
+ */
+
+ 'use strict';
+
+ /**
+ * 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 invariant = function(condition, format, a, b, c, d, e, f) {
+ if (true) {
+ if (format === undefined) {
+ throw new Error('invariant requires an error message argument');
+ }
+ }
+
+ 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 {
+ var args = [a, b, c, d, e, f];
+ var argIndex = 0;
+ error = new Error(
+ format.replace(/%s/g, function() { return args[argIndex++]; })
+ );
+ error.name = 'Invariant Violation';
+ }
+
+ error.framesToPop = 1; // we don't care about invariant's own frame
+ throw error;
+ }
+ };
+
+ module.exports = invariant;
- renderPanel: function renderPanel(child, index) {
- var activeKey = this.props.activeKey != null ? this.props.activeKey : this.state.activeKey;
- var props = {
- bsStyle: child.props.bsStyle || this.props.bsStyle,
- key: child.key ? child.key : index,
- ref: child.ref
- };
+/***/ },
+/* 33 */
+/***/ function(module, exports, __webpack_require__) {
- if (this.props.accordion) {
- props.headerRole = 'tab';
- props.panelRole = 'tabpanel';
- props.collapsible = true;
- props.expanded = child.props.eventKey === activeKey;
- props.onSelect = this.handleSelect;
- }
+ /**
+ * Copyright 2014-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.
+ */
+
+ 'use strict';
+
+ /**
+ * Similar to invariant but only logs a warning if the condition is not met.
+ * This can be used to log issues in development environments in critical
+ * paths. Removing the logging code for production environments will keep the
+ * same logic and follow the same code paths.
+ */
+
+ var warning = function() {};
+
+ if (true) {
+ warning = function(condition, format, args) {
+ var len = arguments.length;
+ args = new Array(len > 2 ? len - 2 : 0);
+ for (var key = 2; key < len; key++) {
+ args[key - 2] = arguments[key];
+ }
+ if (format === undefined) {
+ throw new Error(
+ '`warning(condition, format, ...args)` requires a warning ' +
+ 'message argument'
+ );
+ }
+
+ if (format.length < 10 || (/^[s\W]*$/).test(format)) {
+ throw new Error(
+ 'The warning format should be able to uniquely identify this ' +
+ 'warning. Please, use a more descriptive format than: ' + format
+ );
+ }
+
+ if (!condition) {
+ var argIndex = 0;
+ var message = 'Warning: ' +
+ format.replace(/%s/g, function() {
+ return args[argIndex++];
+ });
+ if (typeof console !== 'undefined') {
+ console.error(message);
+ }
+ try {
+ // This error was thrown as a convenience so that you can use this stack
+ // to find the callsite that caused this warning to fire.
+ throw new Error(message);
+ } catch(x) {}
+ }
+ };
+ }
+
+ module.exports = warning;
- return _react.cloneElement(child, props);
- },
- shouldComponentUpdate: function shouldComponentUpdate() {
- // Defer any updates to this component during the `onSelect` handler.
- return !this._isChanging;
- },
+/***/ },
+/* 34 */
+/***/ function(module, exports, __webpack_require__) {
- handleSelect: function handleSelect(e, key) {
- e.preventDefault();
+ 'use strict';
- if (this.props.onSelect) {
- this._isChanging = true;
- this.props.onSelect(key);
- this._isChanging = false;
- }
+ var _extends = __webpack_require__(9)['default'];
- if (this.state.activeKey === key) {
- key = null;
- }
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- this.setState({
- activeKey: key
- });
- }
- });
+ exports.__esModule = true;
- exports['default'] = PanelGroup;
- module.exports = exports['default'];
+ var _react = __webpack_require__(4);
-/***/ },
-/* 26 */
-/***/ function(module, exports) {
+ var _react2 = _interopRequireDefault(_react);
- "use strict";
+ var _PanelGroup = __webpack_require__(35);
- exports["default"] = function (obj, keys) {
- var target = {};
+ var _PanelGroup2 = _interopRequireDefault(_PanelGroup);
- for (var i in obj) {
- if (keys.indexOf(i) >= 0) continue;
- if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
- target[i] = obj[i];
- }
+ var Accordion = _react2['default'].createClass({
+ displayName: 'Accordion',
- return target;
- };
+ render: function render() {
+ return _react2['default'].createElement(
+ _PanelGroup2['default'],
+ _extends({}, this.props, { accordion: true }),
+ this.props.children
+ );
+ }
+ });
- exports.__esModule = true;
+ exports['default'] = Accordion;
+ module.exports = exports['default'];
/***/ },
-/* 27 */
+/* 35 */
/***/ function(module, exports, __webpack_require__) {
- var __WEBPACK_AMD_DEFINE_RESULT__;/*!
- Copyright (c) 2015 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
- */
- /* global define */
-
- (function () {
- 'use strict';
+ 'use strict';
- var hasOwn = {}.hasOwnProperty;
+ var _objectWithoutProperties = __webpack_require__(36)['default'];
- function classNames () {
- var classes = '';
+ var _extends = __webpack_require__(9)['default'];
- for (var i = 0; i < arguments.length; i++) {
- var arg = arguments[i];
- if (!arg) continue;
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- var argType = typeof arg;
+ exports.__esModule = true;
- if (argType === 'string' || argType === 'number') {
- classes += ' ' + arg;
- } else if (Array.isArray(arg)) {
- classes += ' ' + classNames.apply(null, arg);
- } else if (argType === 'object') {
- for (var key in arg) {
- if (hasOwn.call(arg, key) && arg[key]) {
- classes += ' ' + key;
- }
- }
- }
- }
+ var _react = __webpack_require__(4);
- return classes.substr(1);
- }
+ var _react2 = _interopRequireDefault(_react);
- if (typeof module !== 'undefined' && module.exports) {
- module.exports = classNames;
- } else if (true) {
- // register as 'classnames', consistent with npm package name
- !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {
- return classNames;
- }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- } else {
- window.classNames = classNames;
- }
- }());
+ var _classnames = __webpack_require__(37);
+ var _classnames2 = _interopRequireDefault(_classnames);
-/***/ },
-/* 28 */
-/***/ function(module, exports, __webpack_require__) {
+ var _utilsBootstrapUtils = __webpack_require__(8);
- 'use strict';
+ var _utilsBootstrapUtils2 = _interopRequireDefault(_utilsBootstrapUtils);
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ var _utilsValidComponentChildren = __webpack_require__(7);
- exports.__esModule = true;
+ var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
- var _react = __webpack_require__(4);
+ var PanelGroup = _react2['default'].createClass({
+ displayName: 'PanelGroup',
- var _react2 = _interopRequireDefault(_react);
+ propTypes: {
+ accordion: _react2['default'].PropTypes.bool,
+ activeKey: _react2['default'].PropTypes.any,
+ className: _react2['default'].PropTypes.string,
+ children: _react2['default'].PropTypes.node,
+ defaultActiveKey: _react2['default'].PropTypes.any,
+ onSelect: _react2['default'].PropTypes.func
+ },
- var _styleMaps = __webpack_require__(29);
+ getDefaultProps: function getDefaultProps() {
+ return {
+ accordion: false
+ };
+ },
- var _styleMaps2 = _interopRequireDefault(_styleMaps);
+ getInitialState: function getInitialState() {
+ var defaultActiveKey = this.props.defaultActiveKey;
- var _reactPropTypesLibKeyOf = __webpack_require__(30);
+ return {
+ activeKey: defaultActiveKey
+ };
+ },
- var _reactPropTypesLibKeyOf2 = _interopRequireDefault(_reactPropTypesLibKeyOf);
+ render: function render() {
+ var classes = _utilsBootstrapUtils2['default'].getClassSet(this.props);
+ var _props = this.props;
+ var className = _props.className;
- var BootstrapMixin = {
- propTypes: {
- /**
- * bootstrap className
- * @private
- */
- bsClass: _reactPropTypesLibKeyOf2['default'](_styleMaps2['default'].CLASSES),
- /**
- * Style variants
- * @type {("default"|"primary"|"success"|"info"|"warning"|"danger"|"link")}
- */
- bsStyle: _react2['default'].PropTypes.oneOf(_styleMaps2['default'].STYLES),
- /**
- * Size variants
- * @type {("xsmall"|"small"|"medium"|"large"|"xs"|"sm"|"md"|"lg")}
- */
- bsSize: _reactPropTypesLibKeyOf2['default'](_styleMaps2['default'].SIZES)
- },
+ var props = _objectWithoutProperties(_props, ['className']);
- getBsClassSet: function getBsClassSet() {
- var classes = {};
+ if (this.props.accordion) {
+ props.role = 'tablist';
+ }
+ return _react2['default'].createElement(
+ 'div',
+ _extends({}, props, { className: _classnames2['default'](className, classes), onSelect: null }),
+ _utilsValidComponentChildren2['default'].map(props.children, this.renderPanel)
+ );
+ },
- var bsClass = this.props.bsClass && _styleMaps2['default'].CLASSES[this.props.bsClass];
- if (bsClass) {
- classes[bsClass] = true;
+ renderPanel: function renderPanel(child, index) {
+ var activeKey = this.props.activeKey != null ? this.props.activeKey : this.state.activeKey;
- var prefix = bsClass + '-';
+ var props = {
+ bsStyle: child.props.bsStyle || this.props.bsStyle,
+ key: child.key ? child.key : index,
+ ref: child.ref
+ };
- var bsSize = this.props.bsSize && _styleMaps2['default'].SIZES[this.props.bsSize];
- if (bsSize) {
- classes[prefix + bsSize] = true;
- }
+ if (this.props.accordion) {
+ props.headerRole = 'tab';
+ props.panelRole = 'tabpanel';
+ props.collapsible = true;
+ props.expanded = child.props.eventKey === activeKey;
+ props.onSelect = this.handleSelect;
+ }
- if (this.props.bsStyle) {
- if (_styleMaps2['default'].STYLES.indexOf(this.props.bsStyle) >= 0) {
- classes[prefix + this.props.bsStyle] = true;
- } else {
- classes[this.props.bsStyle] = true;
- }
- }
- }
+ return _react.cloneElement(child, props);
+ },
- return classes;
- },
+ shouldComponentUpdate: function shouldComponentUpdate() {
+ // Defer any updates to this component during the `onSelect` handler.
+ return !this._isChanging;
+ },
- prefixClass: function prefixClass(subClass) {
- return _styleMaps2['default'].CLASSES[this.props.bsClass] + '-' + subClass;
- }
- };
+ handleSelect: function handleSelect(e, key) {
+ e.preventDefault();
- exports['default'] = BootstrapMixin;
- module.exports = exports['default'];
+ if (this.props.onSelect) {
+ this._isChanging = true;
+ this.props.onSelect(key);
+ this._isChanging = false;
+ }
-/***/ },
-/* 29 */
-/***/ function(module, exports) {
+ if (this.state.activeKey === key) {
+ key = null;
+ }
- 'use strict';
-
- exports.__esModule = true;
- var styleMaps = {
- CLASSES: {
- 'alert': 'alert',
- 'button': 'btn',
- 'button-group': 'btn-group',
- 'button-toolbar': 'btn-toolbar',
- 'column': 'col',
- 'input-group': 'input-group',
- 'form': 'form',
- 'glyphicon': 'glyphicon',
- 'label': 'label',
- 'thumbnail': 'thumbnail',
- 'list-group-item': 'list-group-item',
- 'panel': 'panel',
- 'panel-group': 'panel-group',
- 'pagination': 'pagination',
- 'progress-bar': 'progress-bar',
- 'nav': 'nav',
- 'navbar': 'navbar',
- 'modal': 'modal',
- 'row': 'row',
- 'well': 'well'
- },
- STYLES: ['default', 'primary', 'success', 'info', 'warning', 'danger', 'link', 'inline', 'tabs', 'pills'],
- addStyle: function addStyle(name) {
- styleMaps.STYLES.push(name);
- },
- SIZES: {
- 'large': 'lg',
- 'medium': 'md',
- 'small': 'sm',
- 'xsmall': 'xs',
- 'lg': 'lg',
- 'md': 'md',
- 'sm': 'sm',
- 'xs': 'xs'
- },
- GRID_COLUMNS: 12
- };
-
- exports['default'] = styleMaps;
- module.exports = exports['default'];
+ this.setState({
+ activeKey: key
+ });
+ }
+ });
+
+ exports['default'] = _utilsBootstrapUtils.bsClass('panel-group', PanelGroup);
+ module.exports = exports['default'];
/***/ },
-/* 30 */
-/***/ function(module, exports, __webpack_require__) {
-
- 'use strict';
+/* 36 */
+/***/ function(module, exports) {
- exports.__esModule = true;
- exports['default'] = keyOf;
+ "use strict";
- var _common = __webpack_require__(31);
+ exports["default"] = function (obj, keys) {
+ var target = {};
- /**
- * Checks whether a prop matches a key of an associated object
- *
- * @param props
- * @param propName
- * @param componentName
- * @returns {Error|undefined}
- */
+ for (var i in obj) {
+ if (keys.indexOf(i) >= 0) continue;
+ if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
+ target[i] = obj[i];
+ }
- function keyOf(obj) {
- function validate(props, propName, componentName) {
- var propValue = props[propName];
- if (!obj.hasOwnProperty(propValue)) {
- var valuesString = JSON.stringify(Object.keys(obj));
- return new Error(_common.errMsg(props, propName, componentName, ', expected one of ' + valuesString + '.'));
- }
- }
- return _common.createChainableTypeChecker(validate);
- }
+ return target;
+ };
- module.exports = exports['default'];
+ exports.__esModule = true;
/***/ },
-/* 31 */
-/***/ function(module, exports) {
-
- 'use strict';
-
- exports.__esModule = true;
- exports.errMsg = errMsg;
- exports.createChainableTypeChecker = createChainableTypeChecker;
-
- function errMsg(props, propName, componentName, msgContinuation) {
- return 'Invalid prop \'' + propName + '\' of value \'' + props[propName] + '\'' + (' supplied to \'' + componentName + '\'' + msgContinuation);
- }
-
- /**
- * Create chain-able isRequired validator
- *
- * Largely copied directly from:
- * https://github.com/facebook/react/blob/0.11-stable/src/core/ReactPropTypes.js#L94
- */
-
- function createChainableTypeChecker(validate) {
- function checkType(isRequired, props, propName, componentName) {
- componentName = componentName || '<<anonymous>>';
- if (props[propName] == null) {
- if (isRequired) {
- return new Error('Required prop \'' + propName + '\' was not specified in \'' + componentName + '\'.');
- }
- } else {
- return validate(props, propName, componentName);
- }
- }
+/* 37 */
+/***/ function(module, exports, __webpack_require__) {
- var chainedCheckType = checkType.bind(null, false);
- chainedCheckType.isRequired = checkType.bind(null, true);
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+ Copyright (c) 2016 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+ */
+ /* global define */
+
+ (function () {
+ 'use strict';
+
+ var hasOwn = {}.hasOwnProperty;
+
+ function classNames () {
+ var classes = [];
+
+ for (var i = 0; i < arguments.length; i++) {
+ var arg = arguments[i];
+ if (!arg) continue;
+
+ var argType = typeof arg;
+
+ if (argType === 'string' || argType === 'number') {
+ classes.push(arg);
+ } else if (Array.isArray(arg)) {
+ classes.push(classNames.apply(null, arg));
+ } else if (argType === 'object') {
+ for (var key in arg) {
+ if (hasOwn.call(arg, key) && arg[key]) {
+ classes.push(key);
+ }
+ }
+ }
+ }
+
+ return classes.join(' ');
+ }
+
+ if (typeof module !== 'undefined' && module.exports) {
+ module.exports = classNames;
+ } else if (true) {
+ // register as 'classnames', consistent with npm package name
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
+ return classNames;
+ }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+ } else {
+ window.classNames = classNames;
+ }
+ }());
- return chainedCheckType;
- }
/***/ },
-/* 32 */
+/* 38 */
/***/ function(module, exports, __webpack_require__) {
- 'use strict';
+ 'use strict';
- var _extends = __webpack_require__(9)['default'];
+ var _extends = __webpack_require__(9)['default'];
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- exports.__esModule = true;
+ exports.__esModule = true;
- var _react = __webpack_require__(4);
+ var _react = __webpack_require__(4);
- var _react2 = _interopRequireDefault(_react);
+ var _react2 = _interopRequireDefault(_react);
- var _classnames = __webpack_require__(27);
+ var _classnames = __webpack_require__(37);
- var _classnames2 = _interopRequireDefault(_classnames);
+ var _classnames2 = _interopRequireDefault(_classnames);
- var _AffixMixin = __webpack_require__(33);
+ var _utilsBootstrapUtils = __webpack_require__(8);
- var _AffixMixin2 = _interopRequireDefault(_AffixMixin);
+ var _utilsBootstrapUtils2 = _interopRequireDefault(_utilsBootstrapUtils);
- var Affix = _react2['default'].createClass({
- displayName: 'Affix',
+ var _styleMaps = __webpack_require__(25);
- mixins: [_AffixMixin2['default']],
+ var Alert = _react2['default'].createClass({
+ displayName: 'Alert',
- render: function render() {
- var holderStyle = _extends({
- top: this.state.affixPositionTop
- }, this.props.style);
+ propTypes: {
+ onDismiss: _react2['default'].PropTypes.func,
+ dismissAfter: _react2['default'].PropTypes.number,
+ closeLabel: _react2['default'].PropTypes.string
+ },
- // eslint-disable-line react/prop-types
- return _react2['default'].createElement(
- 'div',
- _extends({}, this.props, {
- className: _classnames2['default'](this.props.className, this.state.affixClass),
- style: holderStyle }),
- this.props.children
- );
- }
- });
+ getDefaultProps: function getDefaultProps() {
+ return {
+ closeLabel: 'Close Alert'
+ };
+ },
- exports['default'] = Affix;
- module.exports = exports['default'];
- // we don't want to expose the `style` property
-
-/***/ },
-/* 33 */
-/***/ function(module, exports, __webpack_require__) {
+ renderDismissButton: function renderDismissButton() {
+ return _react2['default'].createElement(
+ 'button',
+ {
+ type: 'button',
+ className: 'close',
+ onClick: this.props.onDismiss,
+ 'aria-hidden': 'true',
+ tabIndex: '-1' },
+ _react2['default'].createElement(
+ 'span',
+ null,
+ '×'
+ )
+ );
+ },
- 'use strict';
+ renderSrOnlyDismissButton: function renderSrOnlyDismissButton() {
+ return _react2['default'].createElement(
+ 'button',
+ {
+ type: 'button',
+ className: 'close sr-only',
+ onClick: this.props.onDismiss },
+ this.props.closeLabel
+ );
+ },
- var _interopRequireDefault = __webpack_require__(1)['default'];
+ render: function render() {
+ var classes = _utilsBootstrapUtils2['default'].getClassSet(this.props);
+ var isDismissable = !!this.props.onDismiss;
- exports.__esModule = true;
+ classes[_utilsBootstrapUtils2['default'].prefix(this.props, 'dismissable')] = isDismissable;
- var _react = __webpack_require__(4);
+ return _react2['default'].createElement(
+ 'div',
+ _extends({}, this.props, { role: 'alert', className: _classnames2['default'](this.props.className, classes) }),
+ isDismissable ? this.renderDismissButton() : null,
+ this.props.children,
+ isDismissable ? this.renderSrOnlyDismissButton() : null
+ );
+ },
- var _react2 = _interopRequireDefault(_react);
+ componentDidMount: function componentDidMount() {
+ if (this.props.dismissAfter && this.props.onDismiss) {
+ this.dismissTimer = setTimeout(this.props.onDismiss, this.props.dismissAfter);
+ }
+ },
- var _utilsDomUtils = __webpack_require__(34);
+ componentWillUnmount: function componentWillUnmount() {
+ clearTimeout(this.dismissTimer);
+ }
+ });
- var _utilsDomUtils2 = _interopRequireDefault(_utilsDomUtils);
+ exports['default'] = _utilsBootstrapUtils.bsStyles(_styleMaps.State.values(), _styleMaps.State.INFO, _utilsBootstrapUtils.bsClass('alert', Alert));
+ module.exports = exports['default'];
- var _domHelpersQueryOffset = __webpack_require__(38);
+/***/ },
+/* 39 */
+/***/ function(module, exports, __webpack_require__) {
- var _domHelpersQueryOffset2 = _interopRequireDefault(_domHelpersQueryOffset);
+ 'use strict';
- var _utilsEventListener = __webpack_require__(42);
+ var _extends = __webpack_require__(9)['default'];
- var _utilsEventListener2 = _interopRequireDefault(_utilsEventListener);
+ var _interopRequireDefault = __webpack_require__(1)['default'];
- var AffixMixin = {
- propTypes: {
- offset: _react2['default'].PropTypes.number,
- offsetTop: _react2['default'].PropTypes.number,
- offsetBottom: _react2['default'].PropTypes.number
- },
+ exports.__esModule = true;
- getInitialState: function getInitialState() {
- return {
- affixClass: 'affix-top'
- };
- },
+ var _react = __webpack_require__(4);
- getPinnedOffset: function getPinnedOffset(DOMNode) {
- if (this.pinnedOffset) {
- return this.pinnedOffset;
- }
+ var _react2 = _interopRequireDefault(_react);
- DOMNode.className = DOMNode.className.replace(/affix-top|affix-bottom|affix/, '');
- DOMNode.className += DOMNode.className.length ? ' affix' : 'affix';
+ var _utilsValidComponentChildren = __webpack_require__(7);
- this.pinnedOffset = _domHelpersQueryOffset2['default'](DOMNode).top - window.pageYOffset;
+ var _utilsValidComponentChildren2 = _interopRequireDefault(_utilsValidComponentChildren);
- return this.pinnedOffset;
- },
+ var _classnames = __webpack_require__(37);
- checkPosition: function checkPosition() {
- var DOMNode = undefined,
- scrollHeight = undefined,
- scrollTop = undefined,
- position = undefined,
- offsetTop = undefined,
- offsetBottom = und
<TRUNCATED>