From 74619bdd4c24ee6f663d756a9b0a1133a5d156d8 Mon Sep 17 00:00:00 2001 From: Chris Lewis Date: Wed, 30 Aug 2017 12:35:08 -0700 Subject: [PATCH] Prepare Release 1.27.0 (#1513) * Prepare Release 1.27.0 * Revert @blueprintjs/core dependency versions in site-landing/ and docs/ * [DateTimePicker] Fix where changing TimePicker clears date (#1474) * Fixes #1402 time picker change clears data picker * Add unit test to verify passing the same prop twice does not change the selected date * Change unit test name to be more accurate * Delete extra whitespace and newlines * Add unit test for rerendering with undefined value prop * Incorporate datetime PR #1474 --- docs/blueprint-landing.css | 38 +- docs/blueprint-landing.js | 8 +- docs/docs/site-docs.css | 38 +- docs/docs/site-docs.js | 3075 ++++++++++++++++++++----------- package.json | 2 +- packages/core/package.json | 2 +- packages/datetime/package.json | 2 +- packages/labs/package.json | 2 +- packages/site-docs/package.json | 10 +- packages/table/package.json | 2 +- 10 files changed, 2004 insertions(+), 1175 deletions(-) diff --git a/docs/blueprint-landing.css b/docs/blueprint-landing.css index c3597386b2..d608101a99 100644 --- a/docs/blueprint-landing.css +++ b/docs/blueprint-landing.css @@ -2803,16 +2803,15 @@ a.pt-button { -webkit-appearance: none; -moz-appearance: none; appearance: none; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; position: absolute; top: 0; right: 0; left: 0; - margin-right: 70px; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - height: 30px; - line-height: 30px; - color: #5c7080; + padding-right: 80px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -2849,19 +2848,16 @@ a.pt-button { background-color: #f5f8fa; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); color: #182026; + min-width: 24px; + min-height: 24px; + line-height: 24px; position: absolute; top: 0; right: 0; - left: 100%; - margin-left: -1px; + margin: 3px; border-radius: 3px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; width: 70px; - height: 30px; - padding: 0 10px; text-align: center; - line-height: 30px; content: "Browse"; } .pt-file-upload-input::after:hover { box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); @@ -2889,16 +2885,18 @@ a.pt-button { background-color: #d8e1e8; background-image: none; } .pt-large .pt-file-upload-input { - margin-right: 85px; height: 40px; line-height: 40px; - font-size: 16px; } + font-size: 16px; + padding-right: 95px; } + .pt-large .pt-file-upload-input[type="search"], .pt-large .pt-file-upload-input.pt-round { + padding: 0 15px; } .pt-large .pt-file-upload-input::after { - width: 85px; - height: 40px; - padding: 0 15px; - line-height: 40px; - font-size: 16px; } + min-width: 30px; + min-height: 30px; + line-height: 30px; + margin: 5px; + width: 85px; } .pt-dark .pt-file-upload-input { box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); background: rgba(16, 22, 26, 0.3); diff --git a/docs/blueprint-landing.js b/docs/blueprint-landing.js index 88c30632af..5ae4978390 100644 --- a/docs/blueprint-landing.js +++ b/docs/blueprint-landing.js @@ -34172,12 +34172,15 @@ var tabIndicator = (React.createElement("div", { className: "pt-tab-indicator-wrapper", style: indicatorWrapperStyle }, React.createElement("div", { className: "pt-tab-indicator" }))); var classes = classNames(Classes.TABS, (_b = {}, _b[Classes.VERTICAL] = this.props.vertical, _b), this.props.className); + var tabListClasses = classNames(Classes.TAB_LIST, (_c = {}, + _c[Classes.LARGE] = this.props.large, + _c)); return (React.createElement("div", { className: classes }, - React.createElement("div", { className: Classes.TAB_LIST, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" }, + React.createElement("div", { className: tabListClasses, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" }, this.props.animate ? tabIndicator : undefined, tabTitles), tabPanels)); - var _b; + var _b, _c; }; Tabs2.prototype.componentDidMount = function () { this.moveSelectionIndicator(); @@ -34258,6 +34261,7 @@ Tabs2.Tab = tab2_1.Tab2; Tabs2.defaultProps = { animate: true, + large: false, renderActiveTabPanelOnly: false, vertical: false, }; diff --git a/docs/docs/site-docs.css b/docs/docs/site-docs.css index a66ad2dae2..bc51cfbf70 100644 --- a/docs/docs/site-docs.css +++ b/docs/docs/site-docs.css @@ -3017,16 +3017,15 @@ a.pt-button.pt-disabled { -webkit-appearance: none; -moz-appearance: none; appearance: none; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; position: absolute; top: 0; right: 0; left: 0; - margin-right: 70px; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - height: 30px; - line-height: 30px; - color: #5c7080; + padding-right: 80px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -3063,19 +3062,16 @@ a.pt-button.pt-disabled { background-color: #f5f8fa; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); color: #182026; + min-width: 24px; + min-height: 24px; + line-height: 24px; position: absolute; top: 0; right: 0; - left: 100%; - margin-left: -1px; + margin: 3px; border-radius: 3px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; width: 70px; - height: 30px; - padding: 0 10px; text-align: center; - line-height: 30px; content: "Browse"; } .pt-file-upload-input::after:hover { box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1); @@ -3103,16 +3099,18 @@ a.pt-button.pt-disabled { background-color: #d8e1e8; background-image: none; } .pt-large .pt-file-upload-input { - margin-right: 85px; height: 40px; line-height: 40px; - font-size: 16px; } + font-size: 16px; + padding-right: 95px; } +.pt-large .pt-file-upload-input[type="search"], .pt-large .pt-file-upload-input.pt-round { + padding: 0 15px; } .pt-large .pt-file-upload-input::after { - width: 85px; - height: 40px; - padding: 0 15px; - line-height: 40px; - font-size: 16px; } + min-width: 30px; + min-height: 30px; + line-height: 30px; + margin: 5px; + width: 85px; } .pt-dark .pt-file-upload-input { box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.3), inset 0 1px 1px rgba(16, 22, 26, 0.4); background: rgba(16, 22, 26, 0.3); diff --git a/docs/docs/site-docs.js b/docs/docs/site-docs.js index f525c02f35..a574e58c83 100644 --- a/docs/docs/site-docs.js +++ b/docs/docs/site-docs.js @@ -52,15 +52,15 @@ var ReactDOM = __webpack_require__(33); var docs_1 = __webpack_require__(172); var blueprintDocs_1 = __webpack_require__(298); - var ReactDocs = __webpack_require__(332); - var reactExamples_1 = __webpack_require__(341); - var docs = __webpack_require__(623); - var releases = __webpack_require__(624) + var ReactDocs = __webpack_require__(333); + var reactExamples_1 = __webpack_require__(342); + var docs = __webpack_require__(629); + var releases = __webpack_require__(630) .map(function (pkg) { pkg.url = "https://www.npmjs.com/package/" + pkg.name; return pkg; }); - var versions = __webpack_require__(625) + var versions = __webpack_require__(631) .map(function (version) { return ({ url: "https://palantir.github.io/blueprint/docs/" + version, version: version, @@ -33132,12 +33132,15 @@ var tabIndicator = (React.createElement("div", { className: "pt-tab-indicator-wrapper", style: indicatorWrapperStyle }, React.createElement("div", { className: "pt-tab-indicator" }))); var classes = classNames(Classes.TABS, (_b = {}, _b[Classes.VERTICAL] = this.props.vertical, _b), this.props.className); + var tabListClasses = classNames(Classes.TAB_LIST, (_c = {}, + _c[Classes.LARGE] = this.props.large, + _c)); return (React.createElement("div", { className: classes }, - React.createElement("div", { className: Classes.TAB_LIST, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" }, + React.createElement("div", { className: tabListClasses, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" }, this.props.animate ? tabIndicator : undefined, tabTitles), tabPanels)); - var _b; + var _b, _c; }; Tabs2.prototype.componentDidMount = function () { this.moveSelectionIndicator(); @@ -33218,6 +33221,7 @@ Tabs2.Tab = tab2_1.Tab2; Tabs2.defaultProps = { animate: true, + large: false, renderActiveTabPanelOnly: false, vertical: false, }; @@ -35710,7 +35714,7 @@ var tslib_1 = __webpack_require__(1); var core_1 = __webpack_require__(179); var labs_1 = __webpack_require__(300); - var classNames = __webpack_require__(331); + var classNames = __webpack_require__(332); var React = __webpack_require__(3); var NavbarActions = (function (_super) { tslib_1.__extends(NavbarActions, _super); @@ -35830,6 +35834,7 @@ __export(__webpack_require__(328)); __export(__webpack_require__(329)); __export(__webpack_require__(330)); + __export(__webpack_require__(331)); @@ -40610,6 +40615,205 @@ /***/ }), /* 330 */ +/***/ (function(module, exports, __webpack_require__) { + + /* + * Copyright 2017 Palantir Technologies, Inc. All rights reserved. + * Licensed under the BSD-3 License as modified (the “License”); you may obtain a copy + * of the license at https://github.com/palantir/blueprint/blob/master/LICENSE + * and https://github.com/palantir/blueprint/blob/master/PATENTS + */ + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); + var React = __webpack_require__(3); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(303); + var Classes = __webpack_require__(302); + var Suggest = Suggest_1 = (function (_super) { + tslib_1.__extends(Suggest, _super); + function Suggest() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.state = { + isOpen: false, + isTyping: false, + query: "", + }; + // not using defaultProps, because they're hard to type with generics (can't + // use on static members). but we still want to keep default values in + // one, necessarily non-`static` place. note that Partial is necessary to + // avoid having to define all required props, and all of these values must + // be referenced manually in code. + _this.DEFAULT_PROPS = { + closeOnSelect: true, + inputProps: {}, + openOnKeyDown: false, + popoverProps: {}, + }; + _this.TypedQueryList = _1.QueryList.ofType(); + _this.refHandlers = { + input: function (ref) { return _this.input = ref; }, + queryList: function (ref) { return _this.queryList = ref; }, + }; + _this.renderQueryList = function (listProps) { + var _a = _this.props, inputValueRenderer = _a.inputValueRenderer, _b = _a.inputProps, inputProps = _b === void 0 ? _this.DEFAULT_PROPS.inputProps : _b, _c = _a.popoverProps, popoverProps = _c === void 0 ? _this.DEFAULT_PROPS.popoverProps : _c; + var _d = _this.state, isTyping = _d.isTyping, selectedItem = _d.selectedItem, query = _d.query; + var ref = inputProps.ref, htmlInputProps = tslib_1.__rest(inputProps, ["ref"]); + var handleKeyDown = listProps.handleKeyDown, handleKeyUp = listProps.handleKeyUp; + var inputValue = isTyping + ? query + : (selectedItem ? inputValueRenderer(selectedItem) : ""); + return (React.createElement(core_1.Popover, tslib_1.__assign({ autoFocus: false, enforceFocus: false, isOpen: _this.state.isOpen, position: core_1.Position.BOTTOM_LEFT }, popoverProps, { className: classNames(listProps.className, popoverProps.className), onInteraction: _this.handlePopoverInteraction, popoverClassName: classNames(Classes.SELECT_POPOVER, popoverProps.popoverClassName), popoverDidOpen: _this.handlePopoverDidOpen, popoverWillClose: _this.handlePopoverWillClose }), + React.createElement(core_1.InputGroup, tslib_1.__assign({ placeholder: "Search...", value: inputValue }, htmlInputProps, { inputRef: _this.refHandlers.input, onChange: _this.handleQueryChange, onFocus: _this.handleInputFocus, onKeyDown: _this.getTargetKeyDownHandler(handleKeyDown), onKeyUp: _this.getTargetKeyUpHandler(handleKeyUp) })), + React.createElement("div", { onKeyDown: handleKeyDown, onKeyUp: handleKeyUp }, + React.createElement(core_1.Menu, { ulRef: listProps.itemsParentRef }, _this.renderItems(listProps))))); + }; + _this.selectText = function () { + if (_this.input != null) { + // wait until the input is properly focused to select the text inside of it + requestAnimationFrame(function () { return _this.input.setSelectionRange(0, _this.input.value.length); }); + } + }; + _this.handleInputFocus = function (event) { + var _a = _this.props, _b = _a.openOnKeyDown, openOnKeyDown = _b === void 0 ? _this.DEFAULT_PROPS.openOnKeyDown : _b, _c = _a.inputProps, inputProps = _c === void 0 ? _this.DEFAULT_PROPS.inputProps : _c; + _this.selectText(); + if (!openOnKeyDown) { + _this.setState({ isOpen: true }); + } + core_1.Utils.safeInvoke(inputProps.onFocus, event); + }; + _this.handleActiveItemChange = function (activeItem) { return _this.setState({ activeItem: activeItem }); }; + _this.handleItemSelect = function (item, event) { + var _a = _this.props.closeOnSelect, closeOnSelect = _a === void 0 ? _this.DEFAULT_PROPS.closeOnSelect : _a; + var nextOpenState; + if (!closeOnSelect) { + _this.input.focus(); + _this.selectText(); + nextOpenState = true; + } + else { + _this.input.blur(); + nextOpenState = false; + } + _this.setState({ + isOpen: nextOpenState, + isTyping: false, + query: "", + selectedItem: item, + }); + core_1.Utils.safeInvoke(_this.props.onItemSelect, item, event); + }; + _this.handlePopoverInteraction = function (nextOpenState) { return requestAnimationFrame(function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + if (_this.input != null && _this.input !== document.activeElement) { + // the input is no longer focused so we can close the popover + _this.setState({ isOpen: false }); + } + core_1.Utils.safeInvoke(popoverProps.onInteraction, nextOpenState); + }); }; + _this.handlePopoverDidOpen = function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + // scroll active item into view after popover transition completes and all dimensions are stable. + if (_this.queryList != null) { + _this.queryList.scrollActiveItemIntoView(); + } + core_1.Utils.safeInvoke(popoverProps.popoverDidOpen); + }; + _this.handlePopoverWillClose = function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + var selectedItem = _this.state.selectedItem; + // reset the query when the popover close, make sure that the list + // isn't filtered on when the popover opens next + _this.setState({ + activeItem: selectedItem ? selectedItem : _this.props.items[0], + query: "", + }); + core_1.Utils.safeInvoke(popoverProps.popoverDidOpen); + }; + _this.handleQueryChange = function (event) { + var _a = _this.props.inputProps, inputProps = _a === void 0 ? _this.DEFAULT_PROPS.inputProps : _a; + _this.setState({ + isTyping: true, + query: event.currentTarget.value, + }); + core_1.Utils.safeInvoke(inputProps.onChange, event); + }; + _this.getTargetKeyDownHandler = function (handleQueryListKeyDown) { + return function (e) { + var which = e.which; + var _a = _this.state, isTyping = _a.isTyping, selectedItem = _a.selectedItem; + var _b = _this.props, _c = _b.inputProps, inputProps = _c === void 0 ? _this.DEFAULT_PROPS.inputProps : _c, _d = _b.openOnKeyDown, openOnKeyDown = _d === void 0 ? _this.DEFAULT_PROPS.openOnKeyDown : _d; + if (which === core_1.Keys.ESCAPE || which === core_1.Keys.TAB) { + _this.input.blur(); + _this.setState({ + isOpen: false, + selectedItem: isTyping ? undefined : selectedItem, + }); + } + else if (openOnKeyDown + && which !== core_1.Keys.BACKSPACE + && which !== core_1.Keys.ARROW_LEFT + && which !== core_1.Keys.ARROW_RIGHT) { + _this.setState({ isOpen: true }); + } + if (_this.state.isOpen) { + core_1.Utils.safeInvoke(handleQueryListKeyDown, e); + } + core_1.Utils.safeInvoke(inputProps.onKeyDown, e); + }; + }; + _this.getTargetKeyUpHandler = function (handleQueryListKeyUp) { + return function (e) { + var _a = _this.props.inputProps, inputProps = _a === void 0 ? _this.DEFAULT_PROPS.inputProps : _a; + if (_this.state.isOpen) { + core_1.Utils.safeInvoke(handleQueryListKeyUp, e); + } + core_1.Utils.safeInvoke(inputProps.onKeyUp, e); + }; + }; + return _this; + } + Suggest.ofType = function () { + return Suggest_1; + }; + Suggest.prototype.render = function () { + // omit props specific to this component, spread the rest. + var _a = this.props, itemRenderer = _a.itemRenderer, inputProps = _a.inputProps, noResults = _a.noResults, popoverProps = _a.popoverProps, restProps = tslib_1.__rest(_a, ["itemRenderer", "inputProps", "noResults", "popoverProps"]); + return React.createElement(this.TypedQueryList, tslib_1.__assign({}, restProps, { activeItem: this.state.activeItem, onActiveItemChange: this.handleActiveItemChange, onItemSelect: this.handleItemSelect, query: this.state.query, ref: this.refHandlers.queryList, renderer: this.renderQueryList })); + }; + Suggest.prototype.componentDidUpdate = function (_prevProps, prevState) { + if (this.state.isOpen && !prevState.isOpen && this.queryList != null) { + this.queryList.scrollActiveItemIntoView(); + } + }; + Suggest.prototype.renderItems = function (_a) { + var activeItem = _a.activeItem, filteredItems = _a.filteredItems, handleItemSelect = _a.handleItemSelect; + var _b = this.props, itemRenderer = _b.itemRenderer, noResults = _b.noResults; + if (filteredItems.length === 0) { + return noResults; + } + return filteredItems.map(function (item, index) { return itemRenderer({ + index: index, + item: item, + handleClick: function (e) { return handleItemSelect(item, e); }, + isActive: item === activeItem, + }); }); + }; + return Suggest; + }(React.Component)); + Suggest.displayName = "Blueprint.Suggest"; + Suggest = Suggest_1 = tslib_1.__decorate([ + PureRender + ], Suggest); + exports.Suggest = Suggest; + var Suggest_1; + + + +/***/ }), +/* 331 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -40804,7 +41008,7 @@ /***/ }), -/* 331 */ +/* 332 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -40858,7 +41062,7 @@ /***/ }), -/* 332 */ +/* 333 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -40866,21 +41070,21 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(333)); - __export(__webpack_require__(335)); - __export(__webpack_require__(338)); + __export(__webpack_require__(334)); + __export(__webpack_require__(336)); + __export(__webpack_require__(339)); /***/ }), -/* 333 */ +/* 334 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classNames = __webpack_require__(331); + var classNames = __webpack_require__(332); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var clickToCopy_1 = __webpack_require__(334); + var clickToCopy_1 = __webpack_require__(335); function expand(color) { return [color + "1", color + "2", color + "3", color + "4", color + "5"]; } @@ -40958,13 +41162,13 @@ /***/ }), -/* 334 */ +/* 335 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var classNames = __webpack_require__(331); + var classNames = __webpack_require__(332); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); @@ -41014,18 +41218,18 @@ /***/ }), -/* 335 */ +/* 336 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var chroma = __webpack_require__(336); - var classNames = __webpack_require__(331); + var chroma = __webpack_require__(337); + var classNames = __webpack_require__(332); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var colorPalettes_1 = __webpack_require__(333); + var colorPalettes_1 = __webpack_require__(334); var MIN_STEPS = 3; var MAX_STEPS = 20; var QUALITATIVE = [ @@ -41164,7 +41368,7 @@ /***/ }), -/* 336 */ +/* 337 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module) { @@ -43875,10 +44079,10 @@ }).call(this); - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(337)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(338)(module))) /***/ }), -/* 337 */ +/* 338 */ /***/ (function(module, exports) { module.exports = function(module) { @@ -43894,7 +44098,7 @@ /***/ }), -/* 338 */ +/* 339 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -43902,7 +44106,7 @@ var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); var docs_1 = __webpack_require__(172); - var docsIcon_1 = __webpack_require__(339); + var docsIcon_1 = __webpack_require__(340); var ICONS_PER_ROW = 5; var Icons = (function (_super) { tslib_1.__extends(Icons, _super); @@ -43963,7 +44167,7 @@ Icons.defaultProps = { iconFilter: isIconFiltered, iconRenderer: renderIcon, - icons: __webpack_require__(340), + icons: __webpack_require__(341), }; exports.Icons = Icons; function isIconFiltered(query, icon) { @@ -43975,7 +44179,7 @@ /***/ }), -/* 339 */ +/* 340 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -43983,7 +44187,7 @@ var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var clickToCopy_1 = __webpack_require__(334); + var clickToCopy_1 = __webpack_require__(335); var GITHUB_PATH = "https://github.com/palantir/blueprint/blob/master/resources/icons"; var DocsIcon = (function (_super) { tslib_1.__extends(DocsIcon, _super); @@ -44017,7 +44221,7 @@ /***/ }), -/* 340 */ +/* 341 */ /***/ (function(module, exports) { module.exports = [ @@ -46887,17 +47091,17 @@ ]; /***/ }), -/* 341 */ +/* 342 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); - var CoreExamples = __webpack_require__(342); - var DateExamples = __webpack_require__(377); - var LabsExamples = __webpack_require__(540); - var TableExamples = __webpack_require__(561); + var CoreExamples = __webpack_require__(343); + var DateExamples = __webpack_require__(378); + var LabsExamples = __webpack_require__(541); + var TableExamples = __webpack_require__(564); var blueprintDocs_1 = __webpack_require__(298); var SRC_HREF_BASE = "https://github.com/palantir/blueprint/blob/master/packages"; exports.reactExamples = {}; @@ -46922,7 +47126,7 @@ /***/ }), -/* 342 */ +/* 343 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -46930,13 +47134,12 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(343)); __export(__webpack_require__(344)); - __export(__webpack_require__(348)); + __export(__webpack_require__(345)); __export(__webpack_require__(349)); __export(__webpack_require__(350)); __export(__webpack_require__(351)); - __export(__webpack_require__(353)); + __export(__webpack_require__(352)); __export(__webpack_require__(354)); __export(__webpack_require__(355)); __export(__webpack_require__(356)); @@ -46946,13 +47149,13 @@ __export(__webpack_require__(360)); __export(__webpack_require__(361)); __export(__webpack_require__(362)); - __export(__webpack_require__(352)); __export(__webpack_require__(363)); + __export(__webpack_require__(353)); __export(__webpack_require__(364)); __export(__webpack_require__(365)); __export(__webpack_require__(366)); __export(__webpack_require__(367)); - __export(__webpack_require__(369)); + __export(__webpack_require__(368)); __export(__webpack_require__(370)); __export(__webpack_require__(371)); __export(__webpack_require__(372)); @@ -46960,10 +47163,11 @@ __export(__webpack_require__(374)); __export(__webpack_require__(375)); __export(__webpack_require__(376)); + __export(__webpack_require__(377)); /***/ }), -/* 343 */ +/* 344 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47017,7 +47221,7 @@ /***/ }), -/* 344 */ +/* 345 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47027,7 +47231,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var intentSelect_1 = __webpack_require__(345); + var intentSelect_1 = __webpack_require__(346); var ButtonsExample = (function (_super) { tslib_1.__extends(ButtonsExample, _super); function ButtonsExample() { @@ -47094,13 +47298,13 @@ /***/ }), -/* 345 */ +/* 346 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(346); - var intent_1 = __webpack_require__(347); + var Classes = __webpack_require__(347); + var intent_1 = __webpack_require__(348); var React = __webpack_require__(3); var INTENTS = [ { label: "None", value: intent_1.Intent.NONE }, @@ -47116,12 +47320,12 @@ /***/ }), -/* 346 */ +/* 347 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var intent_1 = __webpack_require__(347); + var intent_1 = __webpack_require__(348); exports.DARK = "pt-dark"; exports.ACTIVE = "pt-active"; exports.MINIMAL = "pt-minimal"; @@ -47283,7 +47487,7 @@ /***/ }), -/* 347 */ +/* 348 */ /***/ (function(module, exports) { "use strict"; @@ -47299,7 +47503,7 @@ /***/ }), -/* 348 */ +/* 349 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47343,7 +47547,7 @@ /***/ }), -/* 349 */ +/* 350 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47402,7 +47606,7 @@ /***/ }), -/* 350 */ +/* 351 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47465,7 +47669,7 @@ /***/ }), -/* 351 */ +/* 352 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47473,7 +47677,7 @@ var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var overlayExample_1 = __webpack_require__(352); + var overlayExample_1 = __webpack_require__(353); var DialogExample = (function (_super) { tslib_1.__extends(DialogExample, _super); function DialogExample() { @@ -47501,7 +47705,7 @@ /***/ }), -/* 352 */ +/* 353 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47575,7 +47779,7 @@ /***/ }), -/* 353 */ +/* 354 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47649,7 +47853,7 @@ /***/ }), -/* 354 */ +/* 355 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47682,7 +47886,7 @@ /***/ }), -/* 355 */ +/* 356 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47692,7 +47896,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var intentSelect_1 = __webpack_require__(345); + var intentSelect_1 = __webpack_require__(346); var INPUT_ID = "EditableTextExample-max-length"; var EditableTextExample = (function (_super) { tslib_1.__extends(EditableTextExample, _super); @@ -47743,7 +47947,7 @@ /***/ }), -/* 356 */ +/* 357 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47789,7 +47993,7 @@ /***/ }), -/* 357 */ +/* 358 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -47994,7 +48198,7 @@ /***/ }), -/* 358 */ +/* 359 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48037,7 +48241,7 @@ /***/ }), -/* 359 */ +/* 360 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48093,7 +48297,7 @@ /***/ }), -/* 360 */ +/* 361 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48103,7 +48307,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var intentSelect_1 = __webpack_require__(345); + var intentSelect_1 = __webpack_require__(346); var MIN_VALUES = [ { label: "None", value: null }, { label: "-10", value: -10 }, @@ -48210,7 +48414,7 @@ /***/ }), -/* 361 */ +/* 362 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48334,7 +48538,7 @@ /***/ }), -/* 362 */ +/* 363 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48361,7 +48565,7 @@ /***/ }), -/* 363 */ +/* 364 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48538,7 +48742,7 @@ /***/ }), -/* 364 */ +/* 365 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48547,7 +48751,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var intentSelect_1 = __webpack_require__(345); + var intentSelect_1 = __webpack_require__(346); var ProgressExample = (function (_super) { tslib_1.__extends(ProgressExample, _super); function ProgressExample() { @@ -48582,7 +48786,7 @@ /***/ }), -/* 365 */ +/* 366 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48611,7 +48815,7 @@ /***/ }), -/* 366 */ +/* 367 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48656,7 +48860,7 @@ /***/ }), -/* 367 */ +/* 368 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48665,8 +48869,8 @@ var classNames = __webpack_require__(200); var React = __webpack_require__(3); var docs_1 = __webpack_require__(172); - var Classes = __webpack_require__(346); - var text_1 = __webpack_require__(368); + var Classes = __webpack_require__(347); + var text_1 = __webpack_require__(369); var TextExample = (function (_super) { tslib_1.__extends(TextExample, _super); function TextExample() { @@ -48692,7 +48896,7 @@ /***/ }), -/* 368 */ +/* 369 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48701,7 +48905,7 @@ var classNames = __webpack_require__(200); var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(346); + var Classes = __webpack_require__(347); var Text = (function (_super) { tslib_1.__extends(Text, _super); function Text() { @@ -48744,7 +48948,7 @@ /***/ }), -/* 369 */ +/* 370 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48753,7 +48957,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var progressExample_1 = __webpack_require__(364); + var progressExample_1 = __webpack_require__(365); var SIZES = [ { label: "Default", value: "" }, { label: "Small", value: core_1.Classes.SMALL }, @@ -48786,7 +48990,7 @@ /***/ }), -/* 370 */ +/* 371 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48838,7 +49042,7 @@ /***/ }), -/* 371 */ +/* 372 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48911,7 +49115,7 @@ /***/ }), -/* 372 */ +/* 373 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48973,7 +49177,7 @@ /***/ }), -/* 373 */ +/* 374 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -49017,7 +49221,7 @@ /***/ }), -/* 374 */ +/* 375 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -49148,7 +49352,7 @@ /***/ }), -/* 375 */ +/* 376 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -49206,7 +49410,7 @@ /***/ }), -/* 376 */ +/* 377 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -49298,7 +49502,7 @@ /***/ }), -/* 377 */ +/* 378 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -49306,27 +49510,27 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(378)); - __export(__webpack_require__(535)); + __export(__webpack_require__(379)); __export(__webpack_require__(536)); __export(__webpack_require__(537)); __export(__webpack_require__(538)); __export(__webpack_require__(539)); + __export(__webpack_require__(540)); /***/ }), -/* 378 */ +/* 379 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); - var formatSelect_1 = __webpack_require__(533); - var precisionSelect_1 = __webpack_require__(534); + var src_1 = __webpack_require__(381); + var formatSelect_1 = __webpack_require__(534); + var precisionSelect_1 = __webpack_require__(535); var DateInputExample = (function (_super) { tslib_1.__extends(DateInputExample, _super); function DateInputExample() { @@ -49369,7 +49573,7 @@ /***/ }), -/* 379 */ +/* 380 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** @@ -49585,37 +49789,37 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 380 */ +/* 381 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classes = __webpack_require__(381); - var react_day_picker_1 = __webpack_require__(382); + var classes = __webpack_require__(382); + var react_day_picker_1 = __webpack_require__(383); exports.IDatePickerLocaleUtils = react_day_picker_1.LocaleUtils; exports.Classes = classes; - var dateUtils_1 = __webpack_require__(402); + var dateUtils_1 = __webpack_require__(403); exports.DateRangeBoundary = dateUtils_1.DateRangeBoundary; - var dateInput_1 = __webpack_require__(520); + var dateInput_1 = __webpack_require__(521); exports.DateInput = dateInput_1.DateInput; - var datePicker_1 = __webpack_require__(523); + var datePicker_1 = __webpack_require__(524); exports.DatePicker = datePicker_1.DatePicker; exports.DatePickerFactory = datePicker_1.DatePickerFactory; - var dateTimePicker_1 = __webpack_require__(527); + var dateTimePicker_1 = __webpack_require__(528); exports.DateTimePicker = dateTimePicker_1.DateTimePicker; - var dateRangeInput_1 = __webpack_require__(529); + var dateRangeInput_1 = __webpack_require__(530); exports.DateRangeInput = dateRangeInput_1.DateRangeInput; - var dateRangePicker_1 = __webpack_require__(530); + var dateRangePicker_1 = __webpack_require__(531); exports.DateRangePicker = dateRangePicker_1.DateRangePicker; exports.DateRangePickerFactory = dateRangePicker_1.DateRangePickerFactory; - var timePicker_1 = __webpack_require__(528); + var timePicker_1 = __webpack_require__(529); exports.TimePicker = timePicker_1.TimePicker; exports.TimePickerFactory = timePicker_1.TimePickerFactory; exports.TimePickerPrecision = timePicker_1.TimePickerPrecision; /***/ }), -/* 381 */ +/* 382 */ /***/ (function(module, exports) { "use strict"; @@ -49651,19 +49855,19 @@ /***/ }), -/* 382 */ +/* 383 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable no-var */ /* eslint-env node */ - var DayPicker = __webpack_require__(383); - var DateUtils = __webpack_require__(396); - var LocaleUtils = __webpack_require__(397); - var ModifiersUtils = __webpack_require__(400); - var Weekday = __webpack_require__(399); - var Navbar = __webpack_require__(391); - var PropTypes = __webpack_require__(385); + var DayPicker = __webpack_require__(384); + var DateUtils = __webpack_require__(397); + var LocaleUtils = __webpack_require__(398); + var ModifiersUtils = __webpack_require__(401); + var Weekday = __webpack_require__(400); + var Navbar = __webpack_require__(392); + var PropTypes = __webpack_require__(386); module.exports = DayPicker.default || DayPicker; module.exports.DateUtils = DateUtils.default || DateUtils; @@ -49675,7 +49879,7 @@ /***/ }), -/* 383 */ +/* 384 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -49692,51 +49896,51 @@ var _react2 = _interopRequireDefault(_react); - var _Caption = __webpack_require__(384); + var _Caption = __webpack_require__(385); var _Caption2 = _interopRequireDefault(_Caption); - var _Navbar = __webpack_require__(391); + var _Navbar = __webpack_require__(392); var _Navbar2 = _interopRequireDefault(_Navbar); - var _Month = __webpack_require__(393); + var _Month = __webpack_require__(394); var _Month2 = _interopRequireDefault(_Month); - var _Day = __webpack_require__(398); + var _Day = __webpack_require__(399); var _Day2 = _interopRequireDefault(_Day); - var _Weekday = __webpack_require__(399); + var _Weekday = __webpack_require__(400); var _Weekday2 = _interopRequireDefault(_Weekday); - var _Helpers = __webpack_require__(395); + var _Helpers = __webpack_require__(396); var Helpers = _interopRequireWildcard(_Helpers); - var _DateUtils = __webpack_require__(396); + var _DateUtils = __webpack_require__(397); var DateUtils = _interopRequireWildcard(_DateUtils); - var _LocaleUtils = __webpack_require__(397); + var _LocaleUtils = __webpack_require__(398); var LocaleUtils = _interopRequireWildcard(_LocaleUtils); - var _ModifiersUtils = __webpack_require__(400); + var _ModifiersUtils = __webpack_require__(401); var ModifiersUtils = _interopRequireWildcard(_ModifiersUtils); - var _classNames = __webpack_require__(392); + var _classNames = __webpack_require__(393); var _classNames2 = _interopRequireDefault(_classNames); - var _keys = __webpack_require__(401); + var _keys = __webpack_require__(402); var _keys2 = _interopRequireDefault(_keys); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -50363,7 +50567,7 @@ /***/ }), -/* 384 */ +/* 385 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50377,7 +50581,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -50411,7 +50615,7 @@ /***/ }), -/* 385 */ +/* 386 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50423,7 +50627,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _propTypes = __webpack_require__(386); + var _propTypes = __webpack_require__(387); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -50454,7 +50658,7 @@ /***/ }), -/* 386 */ +/* 387 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -50485,12 +50689,12 @@ } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(387)(); + module.exports = __webpack_require__(388)(); } /***/ }), -/* 387 */ +/* 388 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -50504,9 +50708,9 @@ 'use strict'; - var emptyFunction = __webpack_require__(388); - var invariant = __webpack_require__(389); - var ReactPropTypesSecret = __webpack_require__(390); + var emptyFunction = __webpack_require__(389); + var invariant = __webpack_require__(390); + var ReactPropTypesSecret = __webpack_require__(391); module.exports = function() { function shim(props, propName, componentName, location, propFullName, secret) { @@ -50555,7 +50759,7 @@ /***/ }), -/* 388 */ +/* 389 */ /***/ (function(module, exports) { "use strict"; @@ -50598,7 +50802,7 @@ module.exports = emptyFunction; /***/ }), -/* 389 */ +/* 390 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -50658,7 +50862,7 @@ module.exports = invariant; /***/ }), -/* 390 */ +/* 391 */ /***/ (function(module, exports) { /** @@ -50678,7 +50882,7 @@ /***/ }), -/* 391 */ +/* 392 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50693,11 +50897,11 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); - var _classNames = __webpack_require__(392); + var _classNames = __webpack_require__(393); var _classNames2 = _interopRequireDefault(_classNames); @@ -50776,7 +50980,7 @@ /***/ }), -/* 392 */ +/* 393 */ /***/ (function(module, exports) { 'use strict'; @@ -50813,7 +51017,7 @@ /***/ }), -/* 393 */ +/* 394 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50827,17 +51031,17 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); - var _Weekdays = __webpack_require__(394); + var _Weekdays = __webpack_require__(395); var _Weekdays2 = _interopRequireDefault(_Weekdays); - var _Helpers = __webpack_require__(395); + var _Helpers = __webpack_require__(396); - var _DateUtils = __webpack_require__(396); + var _DateUtils = __webpack_require__(397); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -50955,7 +51159,7 @@ /***/ }), -/* 394 */ +/* 395 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50969,7 +51173,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -51031,7 +51235,7 @@ /***/ }), -/* 395 */ +/* 396 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -51052,9 +51256,9 @@ exports.getWeekArray = getWeekArray; exports.startOfMonth = startOfMonth; - var _DateUtils = __webpack_require__(396); + var _DateUtils = __webpack_require__(397); - var _LocaleUtils = __webpack_require__(397); + var _LocaleUtils = __webpack_require__(398); function cancelEvent(e) { e.preventDefault(); @@ -51181,7 +51385,7 @@ /***/ }), -/* 396 */ +/* 397 */ /***/ (function(module, exports) { "use strict"; @@ -51392,7 +51596,7 @@ /***/ }), -/* 397 */ +/* 398 */ /***/ (function(module, exports) { 'use strict'; @@ -51447,7 +51651,7 @@ /***/ }), -/* 398 */ +/* 399 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -51461,11 +51665,11 @@ var _react2 = _interopRequireDefault(_react); - var _classNames = __webpack_require__(392); + var _classNames = __webpack_require__(393); var _classNames2 = _interopRequireDefault(_classNames); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -51576,7 +51780,7 @@ /***/ }), -/* 399 */ +/* 400 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -51591,7 +51795,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(385); + var _PropTypes = __webpack_require__(386); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -51643,7 +51847,7 @@ /***/ }), -/* 400 */ +/* 401 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -51654,9 +51858,9 @@ exports.dayMatchesModifier = dayMatchesModifier; exports.getModifiersForDay = getModifiersForDay; - var _DateUtils = __webpack_require__(396); + var _DateUtils = __webpack_require__(397); - var _Helpers = __webpack_require__(395); + var _Helpers = __webpack_require__(396); /** * Return `true` if a date matches the specified modifier. @@ -51724,7 +51928,7 @@ /***/ }), -/* 401 */ +/* 402 */ /***/ (function(module, exports) { "use strict"; @@ -51744,12 +51948,12 @@ /***/ }), -/* 402 */ +/* 403 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var moment = __webpack_require__(403); + var moment = __webpack_require__(404); var DateRangeBoundary; (function (DateRangeBoundary) { DateRangeBoundary[DateRangeBoundary["START"] = 0] = "START"; @@ -51992,7 +52196,7 @@ /***/ }), -/* 403 */ +/* 404 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {//! moment.js @@ -53824,7 +54028,7 @@ module && module.exports) { try { oldLocale = globalLocale._abbr; - __webpack_require__(404)("./" + name); + __webpack_require__(405)("./" + name); // because defineLocale currently also sets the global locale, we // want to undo that for lazy loaded locales getSetGlobalLocale(oldLocale); @@ -56459,243 +56663,243 @@ }))); - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(337)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(338)(module))) /***/ }), -/* 404 */ +/* 405 */ /***/ (function(module, exports, __webpack_require__) { var map = { - "./af": 405, - "./af.js": 405, - "./ar": 406, - "./ar-dz": 407, - "./ar-dz.js": 407, - "./ar-kw": 408, - "./ar-kw.js": 408, - "./ar-ly": 409, - "./ar-ly.js": 409, - "./ar-ma": 410, - "./ar-ma.js": 410, - "./ar-sa": 411, - "./ar-sa.js": 411, - "./ar-tn": 412, - "./ar-tn.js": 412, - "./ar.js": 406, - "./az": 413, - "./az.js": 413, - "./be": 414, - "./be.js": 414, - "./bg": 415, - "./bg.js": 415, - "./bn": 416, - "./bn.js": 416, - "./bo": 417, - "./bo.js": 417, - "./br": 418, - "./br.js": 418, - "./bs": 419, - "./bs.js": 419, - "./ca": 420, - "./ca.js": 420, - "./cs": 421, - "./cs.js": 421, - "./cv": 422, - "./cv.js": 422, - "./cy": 423, - "./cy.js": 423, - "./da": 424, - "./da.js": 424, - "./de": 425, - "./de-at": 426, - "./de-at.js": 426, - "./de-ch": 427, - "./de-ch.js": 427, - "./de.js": 425, - "./dv": 428, - "./dv.js": 428, - "./el": 429, - "./el.js": 429, - "./en-au": 430, - "./en-au.js": 430, - "./en-ca": 431, - "./en-ca.js": 431, - "./en-gb": 432, - "./en-gb.js": 432, - "./en-ie": 433, - "./en-ie.js": 433, - "./en-nz": 434, - "./en-nz.js": 434, - "./eo": 435, - "./eo.js": 435, - "./es": 436, - "./es-do": 437, - "./es-do.js": 437, - "./es.js": 436, - "./et": 438, - "./et.js": 438, - "./eu": 439, - "./eu.js": 439, - "./fa": 440, - "./fa.js": 440, - "./fi": 441, - "./fi.js": 441, - "./fo": 442, - "./fo.js": 442, - "./fr": 443, - "./fr-ca": 444, - "./fr-ca.js": 444, - "./fr-ch": 445, - "./fr-ch.js": 445, - "./fr.js": 443, - "./fy": 446, - "./fy.js": 446, - "./gd": 447, - "./gd.js": 447, - "./gl": 448, - "./gl.js": 448, - "./gom-latn": 449, - "./gom-latn.js": 449, - "./he": 450, - "./he.js": 450, - "./hi": 451, - "./hi.js": 451, - "./hr": 452, - "./hr.js": 452, - "./hu": 453, - "./hu.js": 453, - "./hy-am": 454, - "./hy-am.js": 454, - "./id": 455, - "./id.js": 455, - "./is": 456, - "./is.js": 456, - "./it": 457, - "./it.js": 457, - "./ja": 458, - "./ja.js": 458, - "./jv": 459, - "./jv.js": 459, - "./ka": 460, - "./ka.js": 460, - "./kk": 461, - "./kk.js": 461, - "./km": 462, - "./km.js": 462, - "./kn": 463, - "./kn.js": 463, - "./ko": 464, - "./ko.js": 464, - "./ky": 465, - "./ky.js": 465, - "./lb": 466, - "./lb.js": 466, - "./lo": 467, - "./lo.js": 467, - "./lt": 468, - "./lt.js": 468, - "./lv": 469, - "./lv.js": 469, - "./me": 470, - "./me.js": 470, - "./mi": 471, - "./mi.js": 471, - "./mk": 472, - "./mk.js": 472, - "./ml": 473, - "./ml.js": 473, - "./mr": 474, - "./mr.js": 474, - "./ms": 475, - "./ms-my": 476, - "./ms-my.js": 476, - "./ms.js": 475, - "./my": 477, - "./my.js": 477, - "./nb": 478, - "./nb.js": 478, - "./ne": 479, - "./ne.js": 479, - "./nl": 480, - "./nl-be": 481, - "./nl-be.js": 481, - "./nl.js": 480, - "./nn": 482, - "./nn.js": 482, - "./pa-in": 483, - "./pa-in.js": 483, - "./pl": 484, - "./pl.js": 484, - "./pt": 485, - "./pt-br": 486, - "./pt-br.js": 486, - "./pt.js": 485, - "./ro": 487, - "./ro.js": 487, - "./ru": 488, - "./ru.js": 488, - "./sd": 489, - "./sd.js": 489, - "./se": 490, - "./se.js": 490, - "./si": 491, - "./si.js": 491, - "./sk": 492, - "./sk.js": 492, - "./sl": 493, - "./sl.js": 493, - "./sq": 494, - "./sq.js": 494, - "./sr": 495, - "./sr-cyrl": 496, - "./sr-cyrl.js": 496, - "./sr.js": 495, - "./ss": 497, - "./ss.js": 497, - "./sv": 498, - "./sv.js": 498, - "./sw": 499, - "./sw.js": 499, - "./ta": 500, - "./ta.js": 500, - "./te": 501, - "./te.js": 501, - "./tet": 502, - "./tet.js": 502, - "./th": 503, - "./th.js": 503, - "./tl-ph": 504, - "./tl-ph.js": 504, - "./tlh": 505, - "./tlh.js": 505, - "./tr": 506, - "./tr.js": 506, - "./tzl": 507, - "./tzl.js": 507, - "./tzm": 508, - "./tzm-latn": 509, - "./tzm-latn.js": 509, - "./tzm.js": 508, - "./uk": 510, - "./uk.js": 510, - "./ur": 511, - "./ur.js": 511, - "./uz": 512, - "./uz-latn": 513, - "./uz-latn.js": 513, - "./uz.js": 512, - "./vi": 514, - "./vi.js": 514, - "./x-pseudo": 515, - "./x-pseudo.js": 515, - "./yo": 516, - "./yo.js": 516, - "./zh-cn": 517, - "./zh-cn.js": 517, - "./zh-hk": 518, - "./zh-hk.js": 518, - "./zh-tw": 519, - "./zh-tw.js": 519 + "./af": 406, + "./af.js": 406, + "./ar": 407, + "./ar-dz": 408, + "./ar-dz.js": 408, + "./ar-kw": 409, + "./ar-kw.js": 409, + "./ar-ly": 410, + "./ar-ly.js": 410, + "./ar-ma": 411, + "./ar-ma.js": 411, + "./ar-sa": 412, + "./ar-sa.js": 412, + "./ar-tn": 413, + "./ar-tn.js": 413, + "./ar.js": 407, + "./az": 414, + "./az.js": 414, + "./be": 415, + "./be.js": 415, + "./bg": 416, + "./bg.js": 416, + "./bn": 417, + "./bn.js": 417, + "./bo": 418, + "./bo.js": 418, + "./br": 419, + "./br.js": 419, + "./bs": 420, + "./bs.js": 420, + "./ca": 421, + "./ca.js": 421, + "./cs": 422, + "./cs.js": 422, + "./cv": 423, + "./cv.js": 423, + "./cy": 424, + "./cy.js": 424, + "./da": 425, + "./da.js": 425, + "./de": 426, + "./de-at": 427, + "./de-at.js": 427, + "./de-ch": 428, + "./de-ch.js": 428, + "./de.js": 426, + "./dv": 429, + "./dv.js": 429, + "./el": 430, + "./el.js": 430, + "./en-au": 431, + "./en-au.js": 431, + "./en-ca": 432, + "./en-ca.js": 432, + "./en-gb": 433, + "./en-gb.js": 433, + "./en-ie": 434, + "./en-ie.js": 434, + "./en-nz": 435, + "./en-nz.js": 435, + "./eo": 436, + "./eo.js": 436, + "./es": 437, + "./es-do": 438, + "./es-do.js": 438, + "./es.js": 437, + "./et": 439, + "./et.js": 439, + "./eu": 440, + "./eu.js": 440, + "./fa": 441, + "./fa.js": 441, + "./fi": 442, + "./fi.js": 442, + "./fo": 443, + "./fo.js": 443, + "./fr": 444, + "./fr-ca": 445, + "./fr-ca.js": 445, + "./fr-ch": 446, + "./fr-ch.js": 446, + "./fr.js": 444, + "./fy": 447, + "./fy.js": 447, + "./gd": 448, + "./gd.js": 448, + "./gl": 449, + "./gl.js": 449, + "./gom-latn": 450, + "./gom-latn.js": 450, + "./he": 451, + "./he.js": 451, + "./hi": 452, + "./hi.js": 452, + "./hr": 453, + "./hr.js": 453, + "./hu": 454, + "./hu.js": 454, + "./hy-am": 455, + "./hy-am.js": 455, + "./id": 456, + "./id.js": 456, + "./is": 457, + "./is.js": 457, + "./it": 458, + "./it.js": 458, + "./ja": 459, + "./ja.js": 459, + "./jv": 460, + "./jv.js": 460, + "./ka": 461, + "./ka.js": 461, + "./kk": 462, + "./kk.js": 462, + "./km": 463, + "./km.js": 463, + "./kn": 464, + "./kn.js": 464, + "./ko": 465, + "./ko.js": 465, + "./ky": 466, + "./ky.js": 466, + "./lb": 467, + "./lb.js": 467, + "./lo": 468, + "./lo.js": 468, + "./lt": 469, + "./lt.js": 469, + "./lv": 470, + "./lv.js": 470, + "./me": 471, + "./me.js": 471, + "./mi": 472, + "./mi.js": 472, + "./mk": 473, + "./mk.js": 473, + "./ml": 474, + "./ml.js": 474, + "./mr": 475, + "./mr.js": 475, + "./ms": 476, + "./ms-my": 477, + "./ms-my.js": 477, + "./ms.js": 476, + "./my": 478, + "./my.js": 478, + "./nb": 479, + "./nb.js": 479, + "./ne": 480, + "./ne.js": 480, + "./nl": 481, + "./nl-be": 482, + "./nl-be.js": 482, + "./nl.js": 481, + "./nn": 483, + "./nn.js": 483, + "./pa-in": 484, + "./pa-in.js": 484, + "./pl": 485, + "./pl.js": 485, + "./pt": 486, + "./pt-br": 487, + "./pt-br.js": 487, + "./pt.js": 486, + "./ro": 488, + "./ro.js": 488, + "./ru": 489, + "./ru.js": 489, + "./sd": 490, + "./sd.js": 490, + "./se": 491, + "./se.js": 491, + "./si": 492, + "./si.js": 492, + "./sk": 493, + "./sk.js": 493, + "./sl": 494, + "./sl.js": 494, + "./sq": 495, + "./sq.js": 495, + "./sr": 496, + "./sr-cyrl": 497, + "./sr-cyrl.js": 497, + "./sr.js": 496, + "./ss": 498, + "./ss.js": 498, + "./sv": 499, + "./sv.js": 499, + "./sw": 500, + "./sw.js": 500, + "./ta": 501, + "./ta.js": 501, + "./te": 502, + "./te.js": 502, + "./tet": 503, + "./tet.js": 503, + "./th": 504, + "./th.js": 504, + "./tl-ph": 505, + "./tl-ph.js": 505, + "./tlh": 506, + "./tlh.js": 506, + "./tr": 507, + "./tr.js": 507, + "./tzl": 508, + "./tzl.js": 508, + "./tzm": 509, + "./tzm-latn": 510, + "./tzm-latn.js": 510, + "./tzm.js": 509, + "./uk": 511, + "./uk.js": 511, + "./ur": 512, + "./ur.js": 512, + "./uz": 513, + "./uz-latn": 514, + "./uz-latn.js": 514, + "./uz.js": 513, + "./vi": 515, + "./vi.js": 515, + "./x-pseudo": 516, + "./x-pseudo.js": 516, + "./yo": 517, + "./yo.js": 517, + "./zh-cn": 518, + "./zh-cn.js": 518, + "./zh-hk": 519, + "./zh-hk.js": 519, + "./zh-tw": 520, + "./zh-tw.js": 520 }; function webpackContext(req) { return __webpack_require__(webpackContextResolve(req)); @@ -56708,11 +56912,11 @@ }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; - webpackContext.id = 404; + webpackContext.id = 405; /***/ }), -/* 405 */ +/* 406 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -56720,7 +56924,7 @@ //! author : Werner Mollentze : https://github.com/wernerm ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -56790,7 +56994,7 @@ /***/ }), -/* 406 */ +/* 407 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -56800,7 +57004,7 @@ //! author : forabi https://github.com/forabi ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -56937,7 +57141,7 @@ /***/ }), -/* 407 */ +/* 408 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -56945,7 +57149,7 @@ //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57001,7 +57205,7 @@ /***/ }), -/* 408 */ +/* 409 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57009,7 +57213,7 @@ //! author : Nusret Parlak: https://github.com/nusretparlak ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57065,7 +57269,7 @@ /***/ }), -/* 409 */ +/* 410 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57073,7 +57277,7 @@ //! author : Ali Hmer: https://github.com/kikoanis ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57196,7 +57400,7 @@ /***/ }), -/* 410 */ +/* 411 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57205,7 +57409,7 @@ //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57261,7 +57465,7 @@ /***/ }), -/* 411 */ +/* 412 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57269,7 +57473,7 @@ //! author : Suhail Alkowaileet : https://github.com/xsoh ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57371,7 +57575,7 @@ /***/ }), -/* 412 */ +/* 413 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57379,7 +57583,7 @@ //! author : Nader Toukabri : https://github.com/naderio ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57435,7 +57639,7 @@ /***/ }), -/* 413 */ +/* 414 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57443,7 +57647,7 @@ //! author : topchiyev : https://github.com/topchiyev ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57545,7 +57749,7 @@ /***/ }), -/* 414 */ +/* 415 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57555,7 +57759,7 @@ //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57684,7 +57888,7 @@ /***/ }), -/* 415 */ +/* 416 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57692,7 +57896,7 @@ //! author : Krasen Borisov : https://github.com/kraz ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57779,7 +57983,7 @@ /***/ }), -/* 416 */ +/* 417 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57787,7 +57991,7 @@ //! author : Kaushik Gandhi : https://github.com/kaushikgandhi ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -57903,7 +58107,7 @@ /***/ }), -/* 417 */ +/* 418 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -57911,7 +58115,7 @@ //! author : Thupten N. Chakrishar : https://github.com/vajradog ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58027,7 +58231,7 @@ /***/ }), -/* 418 */ +/* 419 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58035,7 +58239,7 @@ //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58140,7 +58344,7 @@ /***/ }), -/* 419 */ +/* 420 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58149,7 +58353,7 @@ //! based on (hr) translation by Bojan Marković ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58288,7 +58492,7 @@ /***/ }), -/* 420 */ +/* 421 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58296,7 +58500,7 @@ //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58381,7 +58585,7 @@ /***/ }), -/* 421 */ +/* 422 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58389,7 +58593,7 @@ //! author : petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58558,7 +58762,7 @@ /***/ }), -/* 422 */ +/* 423 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58566,7 +58770,7 @@ //! author : Anatoly Mironov : https://github.com/mirontoli ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58626,7 +58830,7 @@ /***/ }), -/* 423 */ +/* 424 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58635,7 +58839,7 @@ //! author : https://github.com/ryangreaves ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58712,7 +58916,7 @@ /***/ }), -/* 424 */ +/* 425 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58720,7 +58924,7 @@ //! author : Ulrik Nielsen : https://github.com/mrbase ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58777,7 +58981,7 @@ /***/ }), -/* 425 */ +/* 426 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58787,7 +58991,7 @@ //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58860,7 +59064,7 @@ /***/ }), -/* 426 */ +/* 427 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58871,7 +59075,7 @@ //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -58944,7 +59148,7 @@ /***/ }), -/* 427 */ +/* 428 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -58952,7 +59156,7 @@ //! author : sschueller : https://github.com/sschueller ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59027,7 +59231,7 @@ /***/ }), -/* 428 */ +/* 429 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59035,7 +59239,7 @@ //! author : Jawish Hameed : https://github.com/jawish ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59132,7 +59336,7 @@ /***/ }), -/* 429 */ +/* 430 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59140,7 +59344,7 @@ //! author : Aggelos Karalias : https://github.com/mehiel ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59237,7 +59441,7 @@ /***/ }), -/* 430 */ +/* 431 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59245,7 +59449,7 @@ //! author : Jared Morse : https://github.com/jarcoal ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59309,7 +59513,7 @@ /***/ }), -/* 431 */ +/* 432 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59317,7 +59521,7 @@ //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59377,7 +59581,7 @@ /***/ }), -/* 432 */ +/* 433 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59385,7 +59589,7 @@ //! author : Chris Gedrim : https://github.com/chrisgedrim ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59449,7 +59653,7 @@ /***/ }), -/* 433 */ +/* 434 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59457,7 +59661,7 @@ //! author : Chris Cartlidge : https://github.com/chriscartlidge ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59521,7 +59725,7 @@ /***/ }), -/* 434 */ +/* 435 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59529,7 +59733,7 @@ //! author : Luke McGregor : https://github.com/lukemcgregor ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59593,7 +59797,7 @@ /***/ }), -/* 435 */ +/* 436 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59603,7 +59807,7 @@ //! comment : miestasmia corrected the translation by colindean ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59671,7 +59875,7 @@ /***/ }), -/* 436 */ +/* 437 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59679,7 +59883,7 @@ //! author : Julio Napurí : https://github.com/julionc ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59759,14 +59963,14 @@ /***/ }), -/* 437 */ +/* 438 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Spanish (Dominican Republic) [es-do] ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59846,7 +60050,7 @@ /***/ }), -/* 438 */ +/* 439 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59855,7 +60059,7 @@ //! improvements : Illimar Tambek : https://github.com/ragulka ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -59931,7 +60135,7 @@ /***/ }), -/* 439 */ +/* 440 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -59939,7 +60143,7 @@ //! author : Eneko Illarramendi : https://github.com/eillarra ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60002,7 +60206,7 @@ /***/ }), -/* 440 */ +/* 441 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60010,7 +60214,7 @@ //! author : Ebrahim Byagowi : https://github.com/ebraminio ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60114,7 +60318,7 @@ /***/ }), -/* 441 */ +/* 442 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60122,7 +60326,7 @@ //! author : Tarmo Aidantausta : https://github.com/bleadof ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60226,7 +60430,7 @@ /***/ }), -/* 442 */ +/* 443 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60234,7 +60438,7 @@ //! author : Ragnar Johannesen : https://github.com/ragnar123 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60291,7 +60495,7 @@ /***/ }), -/* 443 */ +/* 444 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60299,7 +60503,7 @@ //! author : John Fischer : https://github.com/jfroffice ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60379,7 +60583,7 @@ /***/ }), -/* 444 */ +/* 445 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60387,7 +60591,7 @@ //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60458,7 +60662,7 @@ /***/ }), -/* 445 */ +/* 446 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60466,7 +60670,7 @@ //! author : Gaspard Bucher : https://github.com/gaspard ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60541,7 +60745,7 @@ /***/ }), -/* 446 */ +/* 447 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60549,7 +60753,7 @@ //! author : Robin van der Vliet : https://github.com/robin0van0der0v ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60621,7 +60825,7 @@ /***/ }), -/* 447 */ +/* 448 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60629,7 +60833,7 @@ //! author : Jon Ashdown : https://github.com/jonashdown ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60702,7 +60906,7 @@ /***/ }), -/* 448 */ +/* 449 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60710,7 +60914,7 @@ //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60784,7 +60988,7 @@ /***/ }), -/* 449 */ +/* 450 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60792,7 +60996,7 @@ //! author : The Discoverer : https://github.com/WikiDiscoverer ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -60911,7 +61115,7 @@ /***/ }), -/* 450 */ +/* 451 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -60921,7 +61125,7 @@ //! author : Tal Ater : https://github.com/TalAter ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61015,7 +61219,7 @@ /***/ }), -/* 451 */ +/* 452 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61023,7 +61227,7 @@ //! author : Mayank Singhal : https://github.com/mayanksinghal ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61144,7 +61348,7 @@ /***/ }), -/* 452 */ +/* 453 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61152,7 +61356,7 @@ //! author : Bojan Marković : https://github.com/bmarkovic ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61294,7 +61498,7 @@ /***/ }), -/* 453 */ +/* 454 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61302,7 +61506,7 @@ //! author : Adam Brunner : https://github.com/adambrunner ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61408,7 +61612,7 @@ /***/ }), -/* 454 */ +/* 455 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61416,7 +61620,7 @@ //! author : Armendarabyan : https://github.com/armendarabyan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61508,7 +61712,7 @@ /***/ }), -/* 455 */ +/* 456 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61517,7 +61721,7 @@ //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61596,7 +61800,7 @@ /***/ }), -/* 456 */ +/* 457 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61604,7 +61808,7 @@ //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61728,7 +61932,7 @@ /***/ }), -/* 457 */ +/* 458 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61737,7 +61941,7 @@ //! author: Mattia Larentis: https://github.com/nostalgiaz ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61803,7 +62007,7 @@ /***/ }), -/* 458 */ +/* 459 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61811,7 +62015,7 @@ //! author : LI Long : https://github.com/baryon ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61888,7 +62092,7 @@ /***/ }), -/* 459 */ +/* 460 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61897,7 +62101,7 @@ //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -61976,7 +62180,7 @@ /***/ }), -/* 460 */ +/* 461 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -61984,7 +62188,7 @@ //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62070,7 +62274,7 @@ /***/ }), -/* 461 */ +/* 462 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62078,7 +62282,7 @@ //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62162,7 +62366,7 @@ /***/ }), -/* 462 */ +/* 463 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62170,7 +62374,7 @@ //! author : Kruy Vanna : https://github.com/kruyvanna ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62225,7 +62429,7 @@ /***/ }), -/* 463 */ +/* 464 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62233,7 +62437,7 @@ //! author : Rajeev Naik : https://github.com/rajeevnaikte ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62356,7 +62560,7 @@ /***/ }), -/* 464 */ +/* 465 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62365,7 +62569,7 @@ //! author : Jeeeyul Lee ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62430,7 +62634,7 @@ /***/ }), -/* 465 */ +/* 466 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62438,7 +62642,7 @@ //! author : Chyngyz Arystan uulu : https://github.com/chyngyz ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62523,7 +62727,7 @@ /***/ }), -/* 466 */ +/* 467 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62532,7 +62736,7 @@ //! author : David Raison : https://github.com/kwisatz ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62665,7 +62869,7 @@ /***/ }), -/* 467 */ +/* 468 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62673,7 +62877,7 @@ //! author : Ryan Hart : https://github.com/ryanhart2 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62740,7 +62944,7 @@ /***/ }), -/* 468 */ +/* 469 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62748,7 +62952,7 @@ //! author : Mindaugas Mozūras : https://github.com/mmozuras ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62862,7 +63066,7 @@ /***/ }), -/* 469 */ +/* 470 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62871,7 +63075,7 @@ //! author : Jānis Elmeris : https://github.com/JanisE ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -62964,7 +63168,7 @@ /***/ }), -/* 470 */ +/* 471 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -62972,7 +63176,7 @@ //! author : Miodrag Nikač : https://github.com/miodragnikac ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63080,7 +63284,7 @@ /***/ }), -/* 471 */ +/* 472 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63088,7 +63292,7 @@ //! author : John Corrigan : https://github.com/johnideal ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63149,7 +63353,7 @@ /***/ }), -/* 472 */ +/* 473 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63157,7 +63361,7 @@ //! author : Borislav Mickov : https://github.com/B0k0 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63244,7 +63448,7 @@ /***/ }), -/* 473 */ +/* 474 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63252,7 +63456,7 @@ //! author : Floyd Pink : https://github.com/floydpink ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63330,7 +63534,7 @@ /***/ }), -/* 474 */ +/* 475 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63339,7 +63543,7 @@ //! author : Vivek Athalye : https://github.com/vnathalye ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63494,7 +63698,7 @@ /***/ }), -/* 475 */ +/* 476 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63502,7 +63706,7 @@ //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63581,7 +63785,7 @@ /***/ }), -/* 476 */ +/* 477 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63590,7 +63794,7 @@ //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63669,7 +63873,7 @@ /***/ }), -/* 477 */ +/* 478 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63679,7 +63883,7 @@ //! author : Tin Aung Lin : https://github.com/thanyawzinmin ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63770,7 +63974,7 @@ /***/ }), -/* 478 */ +/* 479 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63779,7 +63983,7 @@ //! Sigurd Gartmann : https://github.com/sigurdga ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63838,7 +64042,7 @@ /***/ }), -/* 479 */ +/* 480 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63846,7 +64050,7 @@ //! author : suvash : https://github.com/suvash ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -63966,7 +64170,7 @@ /***/ }), -/* 480 */ +/* 481 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -63975,7 +64179,7 @@ //! author : Jacob Middag : https://github.com/middagj ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64059,7 +64263,7 @@ /***/ }), -/* 481 */ +/* 482 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64068,7 +64272,7 @@ //! author : Jacob Middag : https://github.com/middagj ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64152,7 +64356,7 @@ /***/ }), -/* 482 */ +/* 483 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64160,7 +64364,7 @@ //! author : https://github.com/mechuwind ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64217,7 +64421,7 @@ /***/ }), -/* 483 */ +/* 484 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64225,7 +64429,7 @@ //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64346,7 +64550,7 @@ /***/ }), -/* 484 */ +/* 485 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64354,7 +64558,7 @@ //! author : Rafal Hirsz : https://github.com/evoL ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64458,7 +64662,7 @@ /***/ }), -/* 485 */ +/* 486 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64466,7 +64670,7 @@ //! author : Jefferson : https://github.com/jalex79 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64528,7 +64732,7 @@ /***/ }), -/* 486 */ +/* 487 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64536,7 +64740,7 @@ //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64594,7 +64798,7 @@ /***/ }), -/* 487 */ +/* 488 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64603,7 +64807,7 @@ //! author : Valentin Agachi : https://github.com/avaly ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64674,7 +64878,7 @@ /***/ }), -/* 488 */ +/* 489 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64684,7 +64888,7 @@ //! author : Коренберг Марк : https://github.com/socketpair ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64862,7 +65066,7 @@ /***/ }), -/* 489 */ +/* 490 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64870,7 +65074,7 @@ //! author : Narain Sagar : https://github.com/narainsagar ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -64965,7 +65169,7 @@ /***/ }), -/* 490 */ +/* 491 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -64973,7 +65177,7 @@ //! authors : Bård Rolstad Henriksen : https://github.com/karamell ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65031,7 +65235,7 @@ /***/ }), -/* 491 */ +/* 492 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65039,7 +65243,7 @@ //! author : Sampath Sitinamaluwa : https://github.com/sampathsris ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65107,7 +65311,7 @@ /***/ }), -/* 492 */ +/* 493 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65116,7 +65320,7 @@ //! based on work of petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65262,7 +65466,7 @@ /***/ }), -/* 493 */ +/* 494 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65270,7 +65474,7 @@ //! author : Robert Sedovšek : https://github.com/sedovsek ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65429,7 +65633,7 @@ /***/ }), -/* 494 */ +/* 495 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65439,7 +65643,7 @@ //! author : Oerd Cukalla : https://github.com/oerd ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65504,7 +65708,7 @@ /***/ }), -/* 495 */ +/* 496 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65512,7 +65716,7 @@ //! author : Milan Janačković : https://github.com/milan-j ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65619,7 +65823,7 @@ /***/ }), -/* 496 */ +/* 497 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65627,7 +65831,7 @@ //! author : Milan Janačković : https://github.com/milan-j ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65734,7 +65938,7 @@ /***/ }), -/* 497 */ +/* 498 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65742,7 +65946,7 @@ //! author : Nicolai Davies : https://github.com/nicolaidavies ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65828,7 +66032,7 @@ /***/ }), -/* 498 */ +/* 499 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65836,7 +66040,7 @@ //! author : Jens Alm : https://github.com/ulmus ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65902,7 +66106,7 @@ /***/ }), -/* 499 */ +/* 500 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65910,7 +66114,7 @@ //! author : Fahad Kassim : https://github.com/fadsel ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -65966,7 +66170,7 @@ /***/ }), -/* 500 */ +/* 501 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -65974,7 +66178,7 @@ //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66101,7 +66305,7 @@ /***/ }), -/* 501 */ +/* 502 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66109,7 +66313,7 @@ //! author : Krishna Chaitanya Thota : https://github.com/kcthota ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66195,7 +66399,7 @@ /***/ }), -/* 502 */ +/* 503 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66204,7 +66408,7 @@ //! author : Onorio De J. Afonso : https://github.com/marobo ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66268,7 +66472,7 @@ /***/ }), -/* 503 */ +/* 504 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66276,7 +66480,7 @@ //! author : Kridsada Thanabulpong : https://github.com/sirn ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66340,7 +66544,7 @@ /***/ }), -/* 504 */ +/* 505 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66348,7 +66552,7 @@ //! author : Dan Hagman : https://github.com/hagmandan ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66407,7 +66611,7 @@ /***/ }), -/* 505 */ +/* 506 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66415,7 +66619,7 @@ //! author : Dominika Kruk : https://github.com/amaranthrose ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66532,7 +66736,7 @@ /***/ }), -/* 506 */ +/* 507 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66541,7 +66745,7 @@ //! Burak Yiğit Kaya: https://github.com/BYK ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66627,7 +66831,7 @@ /***/ }), -/* 507 */ +/* 508 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66636,7 +66840,7 @@ //! author : Iustì Canun ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66723,7 +66927,7 @@ /***/ }), -/* 508 */ +/* 509 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66731,7 +66935,7 @@ //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66786,7 +66990,7 @@ /***/ }), -/* 509 */ +/* 510 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66794,7 +66998,7 @@ //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -66849,7 +67053,7 @@ /***/ }), -/* 510 */ +/* 511 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -66858,7 +67062,7 @@ //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67005,7 +67209,7 @@ /***/ }), -/* 511 */ +/* 512 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67014,7 +67218,7 @@ //! author : Zack : https://github.com/ZackVision ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67109,7 +67313,7 @@ /***/ }), -/* 512 */ +/* 513 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67117,7 +67321,7 @@ //! author : Sardor Muminov : https://github.com/muminoff ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67172,7 +67376,7 @@ /***/ }), -/* 513 */ +/* 514 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67180,7 +67384,7 @@ //! author : Rasulbek Mirzayev : github.com/Rasulbeeek ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67235,7 +67439,7 @@ /***/ }), -/* 514 */ +/* 515 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67243,7 +67447,7 @@ //! author : Bang Nguyen : https://github.com/bangnk ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67319,7 +67523,7 @@ /***/ }), -/* 515 */ +/* 516 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67327,7 +67531,7 @@ //! author : Andrew Hood : https://github.com/andrewhood125 ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67392,7 +67596,7 @@ /***/ }), -/* 516 */ +/* 517 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67400,7 +67604,7 @@ //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67457,7 +67661,7 @@ /***/ }), -/* 517 */ +/* 518 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67466,7 +67670,7 @@ //! author : Zeno Zeng : https://github.com/zenozeng ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67573,7 +67777,7 @@ /***/ }), -/* 518 */ +/* 519 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67583,7 +67787,7 @@ //! author : Konstantin : https://github.com/skfd ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67683,7 +67887,7 @@ /***/ }), -/* 519 */ +/* 520 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -67692,7 +67896,7 @@ //! author : Chris Lam : https://github.com/hehachris ;(function (global, factory) { - true ? factory(__webpack_require__(403)) : + true ? factory(__webpack_require__(404)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -67792,21 +67996,21 @@ /***/ }), -/* 520 */ +/* 521 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); - var classNames = __webpack_require__(521); - var moment = __webpack_require__(403); + var tslib_1 = __webpack_require__(380); + var classNames = __webpack_require__(522); + var moment = __webpack_require__(404); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var dateUtils_1 = __webpack_require__(402); - var errors_1 = __webpack_require__(522); - var datePicker_1 = __webpack_require__(523); - var datePickerCore_1 = __webpack_require__(526); - var dateTimePicker_1 = __webpack_require__(527); + var dateUtils_1 = __webpack_require__(403); + var errors_1 = __webpack_require__(523); + var datePicker_1 = __webpack_require__(524); + var datePickerCore_1 = __webpack_require__(527); + var dateTimePicker_1 = __webpack_require__(528); var DateInput = (function (_super) { tslib_1.__extends(DateInput, _super); function DateInput(props, context) { @@ -68010,7 +68214,7 @@ /***/ }), -/* 521 */ +/* 522 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -68064,7 +68268,7 @@ /***/ }), -/* 522 */ +/* 523 */ /***/ (function(module, exports) { "use strict"; @@ -68086,21 +68290,21 @@ /***/ }), -/* 523 */ +/* 524 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(521); + var classNames = __webpack_require__(522); var React = __webpack_require__(3); - var ReactDayPicker = __webpack_require__(382); - var Classes = __webpack_require__(381); - var DateUtils = __webpack_require__(402); - var Errors = __webpack_require__(522); - var datePickerCaption_1 = __webpack_require__(524); - var datePickerCore_1 = __webpack_require__(526); + var ReactDayPicker = __webpack_require__(383); + var Classes = __webpack_require__(382); + var DateUtils = __webpack_require__(403); + var Errors = __webpack_require__(523); + var datePickerCaption_1 = __webpack_require__(525); + var datePickerCore_1 = __webpack_require__(527); var DatePicker = (function (_super) { tslib_1.__extends(DatePicker, _super); function DatePicker(props, context) { @@ -68306,17 +68510,17 @@ /***/ }), -/* 524 */ +/* 525 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(521); + var classNames = __webpack_require__(522); var React = __webpack_require__(3); - var Classes = __webpack_require__(381); - var Utils = __webpack_require__(525); + var Classes = __webpack_require__(382); + var Utils = __webpack_require__(526); var DatePickerCaption = (function (_super) { tslib_1.__extends(DatePickerCaption, _super); function DatePickerCaption() { @@ -68386,7 +68590,7 @@ /***/ }), -/* 525 */ +/* 526 */ /***/ (function(module, exports) { "use strict"; @@ -68418,7 +68622,7 @@ /***/ }), -/* 526 */ +/* 527 */ /***/ (function(module, exports) { "use strict"; @@ -68470,19 +68674,19 @@ /***/ }), -/* 527 */ +/* 528 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); - var classNames = __webpack_require__(521); + var tslib_1 = __webpack_require__(380); + var classNames = __webpack_require__(522); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(381); - var DateUtils = __webpack_require__(402); - var datePicker_1 = __webpack_require__(523); - var timePicker_1 = __webpack_require__(528); + var Classes = __webpack_require__(382); + var DateUtils = __webpack_require__(403); + var datePicker_1 = __webpack_require__(524); + var timePicker_1 = __webpack_require__(529); var DateTimePicker = (function (_super) { tslib_1.__extends(DateTimePicker, _super); function DateTimePicker(props, context) { @@ -68515,7 +68719,10 @@ React.createElement(timePicker_1.TimePicker, tslib_1.__assign({}, this.props.timePickerProps, { onChange: this.handleTimeChange, value: value })))); }; DateTimePicker.prototype.componentWillReceiveProps = function (nextProps) { - if (nextProps.value != null) { + if (this.props.value === nextProps.value) { + return; + } + else if (nextProps.value != null) { this.setState({ dateValue: nextProps.value, timeValue: nextProps.value, @@ -68536,18 +68743,18 @@ /***/ }), -/* 528 */ +/* 529 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(521); + var classNames = __webpack_require__(522); var React = __webpack_require__(3); - var Classes = __webpack_require__(381); - var DateUtils = __webpack_require__(402); - var Utils = __webpack_require__(525); + var Classes = __webpack_require__(382); + var DateUtils = __webpack_require__(403); + var Utils = __webpack_require__(526); var TimePickerPrecision; (function (TimePickerPrecision) { TimePickerPrecision[TimePickerPrecision["MINUTE"] = 0] = "MINUTE"; @@ -68867,20 +69074,20 @@ /***/ }), -/* 529 */ +/* 530 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); - var classNames = __webpack_require__(521); - var moment = __webpack_require__(403); + var tslib_1 = __webpack_require__(380); + var classNames = __webpack_require__(522); + var moment = __webpack_require__(404); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var dateUtils_1 = __webpack_require__(402); - var Errors = __webpack_require__(522); - var datePickerCore_1 = __webpack_require__(526); - var dateRangePicker_1 = __webpack_require__(530); + var dateUtils_1 = __webpack_require__(403); + var Errors = __webpack_require__(523); + var datePickerCore_1 = __webpack_require__(527); + var dateRangePicker_1 = __webpack_require__(531); ; ; var DateRangeInput = (function (_super) { @@ -69462,24 +69669,24 @@ /***/ }), -/* 530 */ +/* 531 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(521); + var classNames = __webpack_require__(522); var React = __webpack_require__(3); - var DayPicker = __webpack_require__(382); - var DateClasses = __webpack_require__(381); - var DateUtils = __webpack_require__(402); - var dateUtils_1 = __webpack_require__(402); - var Errors = __webpack_require__(522); - var monthAndYear_1 = __webpack_require__(531); - var datePickerCaption_1 = __webpack_require__(524); - var datePickerCore_1 = __webpack_require__(526); - var dateRangeSelectionStrategy_1 = __webpack_require__(532); + var DayPicker = __webpack_require__(383); + var DateClasses = __webpack_require__(382); + var DateUtils = __webpack_require__(403); + var dateUtils_1 = __webpack_require__(403); + var Errors = __webpack_require__(523); + var monthAndYear_1 = __webpack_require__(532); + var datePickerCaption_1 = __webpack_require__(525); + var datePickerCore_1 = __webpack_require__(527); + var dateRangeSelectionStrategy_1 = __webpack_require__(533); var DateRangePicker = (function (_super) { tslib_1.__extends(DateRangePicker, _super); function DateRangePicker(props, context) { @@ -69845,12 +70052,12 @@ /***/ }), -/* 531 */ +/* 532 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var dateUtils_1 = __webpack_require__(402); + var dateUtils_1 = __webpack_require__(403); var MonthAndYear = (function () { function MonthAndYear(month, year) { if (month !== null && year !== null) { @@ -69907,12 +70114,12 @@ /***/ }), -/* 532 */ +/* 533 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var dateUtils_1 = __webpack_require__(402); + var dateUtils_1 = __webpack_require__(403); ; var DateRangeSelectionStrategy = (function () { function DateRangeSelectionStrategy() { @@ -70049,7 +70256,7 @@ /***/ }), -/* 533 */ +/* 534 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70065,14 +70272,14 @@ /***/ }), -/* 534 */ +/* 535 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(179); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); + var src_1 = __webpack_require__(381); exports.PrecisionSelect = function (props) { return (React.createElement("label", { className: core_1.Classes.LABEL }, props.label == null ? props.label : "Precision", React.createElement("div", { className: core_1.Classes.SELECT }, @@ -70084,18 +70291,18 @@ /***/ }), -/* 535 */ +/* 536 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var classNames = __webpack_require__(521); - var moment = __webpack_require__(403); + var classNames = __webpack_require__(522); + var moment = __webpack_require__(404); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); + var src_1 = __webpack_require__(381); var FORMAT = "dddd, LL"; exports.Moment = function (_a) { var date = _a.date, _b = _a.format, format = _b === void 0 ? FORMAT : _b; @@ -70137,17 +70344,17 @@ /***/ }), -/* 536 */ +/* 537 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); - var formatSelect_1 = __webpack_require__(533); + var src_1 = __webpack_require__(381); + var formatSelect_1 = __webpack_require__(534); var DateRangeInputExample = (function (_super) { tslib_1.__extends(DateRangeInputExample, _super); function DateRangeInputExample() { @@ -70193,18 +70400,18 @@ /***/ }), -/* 537 */ +/* 538 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var moment = __webpack_require__(403); + var moment = __webpack_require__(404); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); - var datePickerExample_1 = __webpack_require__(535); + var src_1 = __webpack_require__(381); + var datePickerExample_1 = __webpack_require__(536); var MIN_DATE_OPTIONS = [ { label: "None", value: undefined }, { label: "4 months ago", value: moment().add(-4, "months").toDate() }, @@ -70277,17 +70484,17 @@ /***/ }), -/* 538 */ +/* 539 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(380); - var datePickerExample_1 = __webpack_require__(535); + var src_1 = __webpack_require__(381); + var datePickerExample_1 = __webpack_require__(536); var DateTimePickerExample = (function (_super) { tslib_1.__extends(DateTimePickerExample, _super); function DateTimePickerExample() { @@ -70309,18 +70516,18 @@ /***/ }), -/* 539 */ +/* 540 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(379); + var tslib_1 = __webpack_require__(380); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var precisionSelect_1 = __webpack_require__(534); - var src_1 = __webpack_require__(380); - var timePicker_1 = __webpack_require__(528); + var precisionSelect_1 = __webpack_require__(535); + var src_1 = __webpack_require__(381); + var timePicker_1 = __webpack_require__(529); var MinimumHours; (function (MinimumHours) { MinimumHours[MinimumHours["NONE"] = 0] = "NONE"; @@ -70404,7 +70611,7 @@ /***/ }), -/* 540 */ +/* 541 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70412,16 +70619,17 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(541)); - __export(__webpack_require__(556)); - __export(__webpack_require__(557)); + __export(__webpack_require__(542)); __export(__webpack_require__(558)); __export(__webpack_require__(559)); __export(__webpack_require__(560)); + __export(__webpack_require__(561)); + __export(__webpack_require__(562)); + __export(__webpack_require__(563)); /***/ }), -/* 541 */ +/* 542 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70431,8 +70639,8 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); - var data_1 = __webpack_require__(555); + var src_1 = __webpack_require__(543); + var data_1 = __webpack_require__(557); var FilmMultiSelect = src_1.MultiSelect.ofType(); var INTENTS = [core_1.Intent.NONE, core_1.Intent.PRIMARY, core_1.Intent.SUCCESS, core_1.Intent.DANGER, core_1.Intent.WARNING]; var MultiSelectExample = (function (_super) { @@ -70527,7 +70735,7 @@ /***/ }), -/* 542 */ +/* 543 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70535,22 +70743,22 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(543)); - __export(__webpack_require__(545)); + __export(__webpack_require__(544)); + __export(__webpack_require__(546)); /***/ }), -/* 543 */ +/* 544 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classes = __webpack_require__(544); + var classes = __webpack_require__(545); exports.Classes = classes; /***/ }), -/* 544 */ +/* 545 */ /***/ (function(module, exports) { "use strict"; @@ -70567,7 +70775,7 @@ /***/ }), -/* 545 */ +/* 546 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70575,17 +70783,18 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(546)); __export(__webpack_require__(547)); __export(__webpack_require__(548)); - __export(__webpack_require__(551)); + __export(__webpack_require__(549)); __export(__webpack_require__(552)); __export(__webpack_require__(553)); __export(__webpack_require__(554)); + __export(__webpack_require__(555)); + __export(__webpack_require__(556)); /***/ }), -/* 546 */ +/* 547 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70595,8 +70804,8 @@ var PureRender = __webpack_require__(307); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var _1 = __webpack_require__(545); - var Classes = __webpack_require__(544); + var _1 = __webpack_require__(546); + var Classes = __webpack_require__(545); var Omnibox = Omnibox_1 = (function (_super) { tslib_1.__extends(Omnibox, _super); function Omnibox() { @@ -70682,7 +70891,7 @@ /***/ }), -/* 547 */ +/* 548 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70693,9 +70902,9 @@ var React = __webpack_require__(3); var react_popper_1 = __webpack_require__(312); var core_1 = __webpack_require__(179); - var tooltip2_1 = __webpack_require__(548); - var arrow_1 = __webpack_require__(549); - var popperUtils_1 = __webpack_require__(550); + var tooltip2_1 = __webpack_require__(549); + var arrow_1 = __webpack_require__(550); + var popperUtils_1 = __webpack_require__(551); var Popover2 = (function (_super) { tslib_1.__extends(Popover2, _super); function Popover2(props, context) { @@ -70950,7 +71159,7 @@ /***/ }), -/* 548 */ +/* 549 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70960,7 +71169,7 @@ var PureRender = __webpack_require__(307); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var popover2_1 = __webpack_require__(547); + var popover2_1 = __webpack_require__(548); var Tooltip2 = (function (_super) { tslib_1.__extends(Tooltip2, _super); function Tooltip2() { @@ -70989,7 +71198,7 @@ /***/ }), -/* 549 */ +/* 550 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70997,7 +71206,7 @@ var React = __webpack_require__(3); var react_popper_1 = __webpack_require__(312); var core_1 = __webpack_require__(179); - var popperUtils_1 = __webpack_require__(550); + var popperUtils_1 = __webpack_require__(551); var SVG_SHADOW_PATH = "M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378" + "-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"; var SVG_ARROW_PATH = "M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005" + @@ -71022,7 +71231,7 @@ /***/ }), -/* 550 */ +/* 551 */ /***/ (function(module, exports) { "use strict"; @@ -71093,7 +71302,7 @@ /***/ }), -/* 551 */ +/* 552 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71226,7 +71435,7 @@ /***/ }), -/* 552 */ +/* 553 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71236,8 +71445,8 @@ var PureRender = __webpack_require__(307); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var _1 = __webpack_require__(545); - var Classes = __webpack_require__(544); + var _1 = __webpack_require__(546); + var Classes = __webpack_require__(545); var MultiSelect = MultiSelect_1 = (function (_super) { tslib_1.__extends(MultiSelect, _super); function MultiSelect() { @@ -71364,7 +71573,7 @@ /***/ }), -/* 553 */ +/* 554 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71374,8 +71583,8 @@ var PureRender = __webpack_require__(307); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var _1 = __webpack_require__(545); - var Classes = __webpack_require__(544); + var _1 = __webpack_require__(546); + var Classes = __webpack_require__(545); var Select = Select_1 = (function (_super) { tslib_1.__extends(Select, _super); function Select() { @@ -71488,7 +71697,188 @@ /***/ }), -/* 554 */ +/* 555 */ +/***/ (function(module, exports, __webpack_require__) { + + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); + var React = __webpack_require__(3); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(546); + var Classes = __webpack_require__(545); + var Suggest = Suggest_1 = (function (_super) { + tslib_1.__extends(Suggest, _super); + function Suggest() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.state = { + isOpen: false, + isTyping: false, + query: "", + }; + _this.DEFAULT_PROPS = { + closeOnSelect: true, + inputProps: {}, + openOnKeyDown: false, + popoverProps: {}, + }; + _this.TypedQueryList = _1.QueryList.ofType(); + _this.refHandlers = { + input: function (ref) { return _this.input = ref; }, + queryList: function (ref) { return _this.queryList = ref; }, + }; + _this.renderQueryList = function (listProps) { + var _a = _this.props, inputValueRenderer = _a.inputValueRenderer, _b = _a.inputProps, inputProps = _b === void 0 ? _this.DEFAULT_PROPS.inputProps : _b, _c = _a.popoverProps, popoverProps = _c === void 0 ? _this.DEFAULT_PROPS.popoverProps : _c; + var _d = _this.state, isTyping = _d.isTyping, selectedItem = _d.selectedItem, query = _d.query; + var ref = inputProps.ref, htmlInputProps = tslib_1.__rest(inputProps, ["ref"]); + var handleKeyDown = listProps.handleKeyDown, handleKeyUp = listProps.handleKeyUp; + var inputValue = isTyping + ? query + : (selectedItem ? inputValueRenderer(selectedItem) : ""); + return (React.createElement(core_1.Popover, tslib_1.__assign({ autoFocus: false, enforceFocus: false, isOpen: _this.state.isOpen, position: core_1.Position.BOTTOM_LEFT }, popoverProps, { className: classNames(listProps.className, popoverProps.className), onInteraction: _this.handlePopoverInteraction, popoverClassName: classNames(Classes.SELECT_POPOVER, popoverProps.popoverClassName), popoverDidOpen: _this.handlePopoverDidOpen, popoverWillClose: _this.handlePopoverWillClose }), + React.createElement(core_1.InputGroup, tslib_1.__assign({ placeholder: "Search...", value: inputValue }, htmlInputProps, { inputRef: _this.refHandlers.input, onChange: _this.handleQueryChange, onFocus: _this.handleInputFocus, onKeyDown: _this.getTargetKeyDownHandler(handleKeyDown), onKeyUp: _this.getTargetKeyUpHandler(handleKeyUp) })), + React.createElement("div", { onKeyDown: handleKeyDown, onKeyUp: handleKeyUp }, + React.createElement(core_1.Menu, { ulRef: listProps.itemsParentRef }, _this.renderItems(listProps))))); + }; + _this.selectText = function () { + if (_this.input != null) { + requestAnimationFrame(function () { return _this.input.setSelectionRange(0, _this.input.value.length); }); + } + }; + _this.handleInputFocus = function (event) { + var _a = _this.props, _b = _a.openOnKeyDown, openOnKeyDown = _b === void 0 ? _this.DEFAULT_PROPS.openOnKeyDown : _b, _c = _a.inputProps, inputProps = _c === void 0 ? _this.DEFAULT_PROPS.inputProps : _c; + _this.selectText(); + if (!openOnKeyDown) { + _this.setState({ isOpen: true }); + } + core_1.Utils.safeInvoke(inputProps.onFocus, event); + }; + _this.handleActiveItemChange = function (activeItem) { return _this.setState({ activeItem: activeItem }); }; + _this.handleItemSelect = function (item, event) { + var _a = _this.props.closeOnSelect, closeOnSelect = _a === void 0 ? _this.DEFAULT_PROPS.closeOnSelect : _a; + var nextOpenState; + if (!closeOnSelect) { + _this.input.focus(); + _this.selectText(); + nextOpenState = true; + } + else { + _this.input.blur(); + nextOpenState = false; + } + _this.setState({ + isOpen: nextOpenState, + isTyping: false, + query: "", + selectedItem: item, + }); + core_1.Utils.safeInvoke(_this.props.onItemSelect, item, event); + }; + _this.handlePopoverInteraction = function (nextOpenState) { return requestAnimationFrame(function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + if (_this.input != null && _this.input !== document.activeElement) { + _this.setState({ isOpen: false }); + } + core_1.Utils.safeInvoke(popoverProps.onInteraction, nextOpenState); + }); }; + _this.handlePopoverDidOpen = function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + if (_this.queryList != null) { + _this.queryList.scrollActiveItemIntoView(); + } + core_1.Utils.safeInvoke(popoverProps.popoverDidOpen); + }; + _this.handlePopoverWillClose = function () { + var _a = _this.props.popoverProps, popoverProps = _a === void 0 ? {} : _a; + var selectedItem = _this.state.selectedItem; + _this.setState({ + activeItem: selectedItem ? selectedItem : _this.props.items[0], + query: "", + }); + core_1.Utils.safeInvoke(popoverProps.popoverDidOpen); + }; + _this.handleQueryChange = function (event) { + var _a = _this.props.inputProps, inputProps = _a === void 0 ? _this.DEFAULT_PROPS.inputProps : _a; + _this.setState({ + isTyping: true, + query: event.currentTarget.value, + }); + core_1.Utils.safeInvoke(inputProps.onChange, event); + }; + _this.getTargetKeyDownHandler = function (handleQueryListKeyDown) { + return function (e) { + var which = e.which; + var _a = _this.state, isTyping = _a.isTyping, selectedItem = _a.selectedItem; + var _b = _this.props, _c = _b.inputProps, inputProps = _c === void 0 ? _this.DEFAULT_PROPS.inputProps : _c, _d = _b.openOnKeyDown, openOnKeyDown = _d === void 0 ? _this.DEFAULT_PROPS.openOnKeyDown : _d; + if (which === core_1.Keys.ESCAPE || which === core_1.Keys.TAB) { + _this.input.blur(); + _this.setState({ + isOpen: false, + selectedItem: isTyping ? undefined : selectedItem, + }); + } + else if (openOnKeyDown + && which !== core_1.Keys.BACKSPACE + && which !== core_1.Keys.ARROW_LEFT + && which !== core_1.Keys.ARROW_RIGHT) { + _this.setState({ isOpen: true }); + } + if (_this.state.isOpen) { + core_1.Utils.safeInvoke(handleQueryListKeyDown, e); + } + core_1.Utils.safeInvoke(inputProps.onKeyDown, e); + }; + }; + _this.getTargetKeyUpHandler = function (handleQueryListKeyUp) { + return function (e) { + var _a = _this.props.inputProps, inputProps = _a === void 0 ? _this.DEFAULT_PROPS.inputProps : _a; + if (_this.state.isOpen) { + core_1.Utils.safeInvoke(handleQueryListKeyUp, e); + } + core_1.Utils.safeInvoke(inputProps.onKeyUp, e); + }; + }; + return _this; + } + Suggest.ofType = function () { + return Suggest_1; + }; + Suggest.prototype.render = function () { + var _a = this.props, itemRenderer = _a.itemRenderer, inputProps = _a.inputProps, noResults = _a.noResults, popoverProps = _a.popoverProps, restProps = tslib_1.__rest(_a, ["itemRenderer", "inputProps", "noResults", "popoverProps"]); + return React.createElement(this.TypedQueryList, tslib_1.__assign({}, restProps, { activeItem: this.state.activeItem, onActiveItemChange: this.handleActiveItemChange, onItemSelect: this.handleItemSelect, query: this.state.query, ref: this.refHandlers.queryList, renderer: this.renderQueryList })); + }; + Suggest.prototype.componentDidUpdate = function (_prevProps, prevState) { + if (this.state.isOpen && !prevState.isOpen && this.queryList != null) { + this.queryList.scrollActiveItemIntoView(); + } + }; + Suggest.prototype.renderItems = function (_a) { + var activeItem = _a.activeItem, filteredItems = _a.filteredItems, handleItemSelect = _a.handleItemSelect; + var _b = this.props, itemRenderer = _b.itemRenderer, noResults = _b.noResults; + if (filteredItems.length === 0) { + return noResults; + } + return filteredItems.map(function (item, index) { return itemRenderer({ + index: index, + item: item, + handleClick: function (e) { return handleItemSelect(item, e); }, + isActive: item === activeItem, + }); }); + }; + return Suggest; + }(React.Component)); + Suggest.displayName = "Blueprint.Suggest"; + Suggest = Suggest_1 = tslib_1.__decorate([ + PureRender + ], Suggest); + exports.Suggest = Suggest; + var Suggest_1; + + +/***/ }), +/* 556 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71498,7 +71888,7 @@ var PureRender = __webpack_require__(307); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(544); + var Classes = __webpack_require__(545); var NONE = -1; var TagInput = (function (_super) { tslib_1.__extends(TagInput, _super); @@ -71649,7 +72039,7 @@ /***/ }), -/* 555 */ +/* 557 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71760,7 +72150,7 @@ /***/ }), -/* 556 */ +/* 558 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71770,8 +72160,8 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); - var data_1 = __webpack_require__(555); + var src_1 = __webpack_require__(543); + var data_1 = __webpack_require__(557); var FilmOmnibox = src_1.Omnibox.ofType(); var OmniboxExample = (function (_super) { tslib_1.__extends(OmniboxExample, _super); @@ -71854,7 +72244,7 @@ /***/ }), -/* 557 */ +/* 559 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -71865,7 +72255,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); + var src_1 = __webpack_require__(543); var INTERACTION_KINDS = [ { label: "Click", value: core_1.PopoverInteractionKind.CLICK.toString() }, { label: "Click (target only)", value: core_1.PopoverInteractionKind.CLICK_TARGET_ONLY.toString() }, @@ -72038,7 +72428,7 @@ /***/ }), -/* 558 */ +/* 560 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72048,8 +72438,8 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); - var data_1 = __webpack_require__(555); + var src_1 = __webpack_require__(543); + var data_1 = __webpack_require__(557); var FilmSelect = src_1.Select.ofType(); var SelectExample = (function (_super) { tslib_1.__extends(SelectExample, _super); @@ -72109,7 +72499,7 @@ /***/ }), -/* 559 */ +/* 561 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72119,7 +72509,77 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); + var src_1 = __webpack_require__(543); + var data_1 = __webpack_require__(557); + var FilmSuggest = src_1.Suggest.ofType(); + var SuggestExample = (function (_super) { + tslib_1.__extends(SuggestExample, _super); + function SuggestExample() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.state = { + closeOnSelect: true, + film: data_1.TOP_100_FILMS[0], + minimal: true, + openOnKeyDown: false, + }; + _this.handleCloseOnSelectChange = _this.handleSwitchChange("closeOnSelect"); + _this.handleOpenOnKeyDownChange = _this.handleSwitchChange("openOnKeyDown"); + _this.handleMinimalChange = _this.handleSwitchChange("minimal"); + _this.renderInputValue = function (film) { + return film.title; + }; + _this.handleValueChange = function (film) { return _this.setState({ film: film }); }; + return _this; + } + SuggestExample.prototype.renderExample = function () { + var _a = this.state, film = _a.film, minimal = _a.minimal, flags = tslib_1.__rest(_a, ["film", "minimal"]); + return (React.createElement(FilmSuggest, tslib_1.__assign({}, flags, { inputValueRenderer: this.renderInputValue, items: data_1.TOP_100_FILMS, itemPredicate: this.filterFilm, itemRenderer: this.renderFilm, noResults: React.createElement(core_1.MenuItem, { disabled: true, text: "No results." }), onItemSelect: this.handleValueChange, popoverProps: { popoverClassName: minimal ? core_1.Classes.MINIMAL : "" } }))); + }; + SuggestExample.prototype.renderOptions = function () { + return [ + [ + React.createElement(core_1.Switch, { key: "closeOnSelect", label: "Close on select", checked: this.state.closeOnSelect, onChange: this.handleCloseOnSelectChange }), + React.createElement(core_1.Switch, { key: "openOnKeyDown", label: "Open popover on key down", checked: this.state.openOnKeyDown, onChange: this.handleOpenOnKeyDownChange }), + React.createElement(core_1.Switch, { key: "minimal", label: "Minimal popover style", checked: this.state.minimal, onChange: this.handleMinimalChange }), + ], + ]; + }; + SuggestExample.prototype.renderFilm = function (_a) { + var handleClick = _a.handleClick, isActive = _a.isActive, film = _a.item; + var classes = classNames((_b = {}, + _b[core_1.Classes.ACTIVE] = isActive, + _b[core_1.Classes.INTENT_PRIMARY] = isActive, + _b)); + return (React.createElement(core_1.MenuItem, { className: classes, label: film.year.toString(), key: film.rank, onClick: handleClick, text: film.rank + ". " + film.title })); + var _b; + }; + SuggestExample.prototype.filterFilm = function (query, film, index) { + return (index + 1 + ". " + film.title.toLowerCase() + " " + film.year).indexOf(query.toLowerCase()) >= 0; + }; + SuggestExample.prototype.handleSwitchChange = function (prop) { + var _this = this; + return function (event) { + _this.setState((_a = {}, _a[prop] = event.currentTarget.checked, _a)); + var _a; + }; + }; + return SuggestExample; + }(docs_1.BaseExample)); + exports.SuggestExample = SuggestExample; + + +/***/ }), +/* 562 */ +/***/ (function(module, exports, __webpack_require__) { + + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var React = __webpack_require__(3); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(543); var INTENTS = [core_1.Intent.NONE, core_1.Intent.PRIMARY, core_1.Intent.SUCCESS, core_1.Intent.DANGER, core_1.Intent.WARNING]; var VALUES = [ React.createElement("strong", null, "Albert"), @@ -72179,7 +72639,7 @@ /***/ }), -/* 560 */ +/* 563 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72188,7 +72648,7 @@ var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(542); + var src_1 = __webpack_require__(543); var Tooltip2Example = (function (_super) { tslib_1.__extends(Tooltip2Example, _super); function Tooltip2Example() { @@ -72238,7 +72698,7 @@ /***/ }), -/* 561 */ +/* 564 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72246,29 +72706,29 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(562)); - __export(__webpack_require__(614)); - __export(__webpack_require__(615)); - __export(__webpack_require__(616)); - __export(__webpack_require__(617)); - __export(__webpack_require__(618)); - __export(__webpack_require__(619)); + __export(__webpack_require__(565)); __export(__webpack_require__(620)); __export(__webpack_require__(621)); + __export(__webpack_require__(622)); + __export(__webpack_require__(623)); + __export(__webpack_require__(624)); + __export(__webpack_require__(625)); + __export(__webpack_require__(626)); + __export(__webpack_require__(627)); /***/ }), -/* 562 */ +/* 565 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); - var bigSpaceRocks = __webpack_require__(613); + var src_1 = __webpack_require__(567); + var bigSpaceRocks = __webpack_require__(619); exports.CellsLoadingConfiguration = { ALL: "all", FIRST_COLUMN: "first-column", @@ -72358,7 +72818,7 @@ /***/ }), -/* 563 */ +/* 566 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** @@ -72574,57 +73034,57 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 564 */ +/* 567 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - __webpack_require__(565); - var cell_1 = __webpack_require__(566); + __webpack_require__(568); + var cell_1 = __webpack_require__(569); exports.Cell = cell_1.Cell; - var editableCell_1 = __webpack_require__(575); + var editableCell_1 = __webpack_require__(578); exports.EditableCell = editableCell_1.EditableCell; - var jsonFormat_1 = __webpack_require__(578); + var jsonFormat_1 = __webpack_require__(581); exports.JSONFormat = jsonFormat_1.JSONFormat; - var truncatedFormat_1 = __webpack_require__(579); + var truncatedFormat_1 = __webpack_require__(582); exports.TruncatedPopoverMode = truncatedFormat_1.TruncatedPopoverMode; exports.TruncatedFormat = truncatedFormat_1.TruncatedFormat; - var column_1 = __webpack_require__(580); + var column_1 = __webpack_require__(583); exports.Column = column_1.Column; - var index_1 = __webpack_require__(581); + var index_1 = __webpack_require__(584); exports.Clipboard = index_1.Clipboard; exports.Grid = index_1.Grid; exports.Rect = index_1.Rect; exports.Utils = index_1.Utils; - var draggable_1 = __webpack_require__(576); + var draggable_1 = __webpack_require__(579); exports.Draggable = draggable_1.Draggable; - var menus_1 = __webpack_require__(587); + var menus_1 = __webpack_require__(590); exports.CopyCellsMenuItem = menus_1.CopyCellsMenuItem; - var resizeHandle_1 = __webpack_require__(590); + var resizeHandle_1 = __webpack_require__(593); exports.Orientation = resizeHandle_1.Orientation; exports.ResizeHandle = resizeHandle_1.ResizeHandle; - var selectable_1 = __webpack_require__(591); + var selectable_1 = __webpack_require__(594); exports.DragSelectable = selectable_1.DragSelectable; - var columnHeaderCell_1 = __webpack_require__(592); + var columnHeaderCell_1 = __webpack_require__(595); exports.ColumnHeaderCell = columnHeaderCell_1.ColumnHeaderCell; exports.HorizontalCellDivider = columnHeaderCell_1.HorizontalCellDivider; - var rowHeaderCell_1 = __webpack_require__(595); + var rowHeaderCell_1 = __webpack_require__(598); exports.RowHeaderCell = rowHeaderCell_1.RowHeaderCell; - var editableName_1 = __webpack_require__(596); + var editableName_1 = __webpack_require__(599); exports.EditableName = editableName_1.EditableName; - var regions_1 = __webpack_require__(584); + var regions_1 = __webpack_require__(587); exports.ColumnLoadingOption = regions_1.ColumnLoadingOption; exports.RegionCardinality = regions_1.RegionCardinality; exports.Regions = regions_1.Regions; exports.RowLoadingOption = regions_1.RowLoadingOption; exports.SelectionModes = regions_1.SelectionModes; exports.TableLoadingOption = regions_1.TableLoadingOption; - var table_1 = __webpack_require__(597); + var table_1 = __webpack_require__(600); exports.Table = table_1.Table; /***/ }), -/* 565 */ +/* 568 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global, process) { /*! @@ -76473,18 +76933,18 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(115))) /***/ }), -/* 566 */ +/* 569 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); var core_1 = __webpack_require__(179); - var loadableContent_1 = __webpack_require__(570); + var loadableContent_1 = __webpack_require__(573); exports.emptyCellRenderer = function () { return React.createElement(Cell, null); }; var Cell = (function (_super) { tslib_1.__extends(Cell, _super); @@ -76521,7 +76981,7 @@ /***/ }), -/* 567 */ +/* 570 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -76575,7 +77035,7 @@ /***/ }), -/* 568 */ +/* 571 */ /***/ (function(module, exports) { "use strict"; @@ -76690,12 +77150,12 @@ /***/ }), -/* 569 */ +/* 572 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classNames = __webpack_require__(567); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); ; var CSS_FONT_PROPERTIES = [ @@ -76996,13 +77456,13 @@ /***/ }), -/* 570 */ +/* 573 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var LoadableContent = (function (_super) { @@ -77036,7 +77496,7 @@ /***/ }), -/* 571 */ +/* 574 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -77045,8 +77505,8 @@ */ 'use strict'; - var warning = __webpack_require__(572); - var shallowEqual = __webpack_require__(574); + var warning = __webpack_require__(575); + var shallowEqual = __webpack_require__(577); @@ -77108,7 +77568,7 @@ /***/ }), -/* 572 */ +/* 575 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -77123,7 +77583,7 @@ 'use strict'; - var emptyFunction = __webpack_require__(573); + var emptyFunction = __webpack_require__(576); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -77179,7 +77639,7 @@ module.exports = warning; /***/ }), -/* 573 */ +/* 576 */ /***/ (function(module, exports) { "use strict"; @@ -77222,7 +77682,7 @@ module.exports = emptyFunction; /***/ }), -/* 574 */ +/* 577 */ /***/ (function(module, exports) { /** @@ -77294,19 +77754,19 @@ module.exports = shallowEqual; /***/ }), -/* 575 */ +/* 578 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); - var draggable_1 = __webpack_require__(576); - var cell_1 = __webpack_require__(566); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); + var draggable_1 = __webpack_require__(579); + var cell_1 = __webpack_require__(569); var EditableCell = (function (_super) { tslib_1.__extends(EditableCell, _super); function EditableCell(props, context) { @@ -77375,17 +77835,17 @@ /***/ }), -/* 576 */ +/* 579 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var utils_1 = __webpack_require__(569); - var dragEvents_1 = __webpack_require__(577); + var utils_1 = __webpack_require__(572); + var dragEvents_1 = __webpack_require__(580); var REATTACH_PROPS_KEYS = [ "stopPropagation", "preventDefault", @@ -77425,7 +77885,7 @@ /***/ }), -/* 577 */ +/* 580 */ /***/ (function(module, exports) { "use strict"; @@ -77568,16 +78028,16 @@ /***/ }), -/* 578 */ +/* 581 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var truncatedFormat_1 = __webpack_require__(579); + var Classes = __webpack_require__(571); + var truncatedFormat_1 = __webpack_require__(582); var JSONFormat = (function (_super) { tslib_1.__extends(JSONFormat, _super); function JSONFormat() { @@ -77615,16 +78075,16 @@ /***/ }), -/* 579 */ +/* 582 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(567); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); + var Classes = __webpack_require__(571); var CONTENT_DIV_WIDTH_DELTA = 25; var TruncatedPopoverMode; (function (TruncatedPopoverMode) { @@ -77712,15 +78172,15 @@ /***/ }), -/* 580 */ +/* 583 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var cell_1 = __webpack_require__(566); + var cell_1 = __webpack_require__(569); var Column = (function (_super) { tslib_1.__extends(Column, _super); function Column() { @@ -77738,25 +78198,25 @@ /***/ }), -/* 581 */ +/* 584 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var clipboard_1 = __webpack_require__(582); + var clipboard_1 = __webpack_require__(585); exports.Clipboard = clipboard_1.Clipboard; - var grid_1 = __webpack_require__(583); + var grid_1 = __webpack_require__(586); exports.Grid = grid_1.Grid; - var rect_1 = __webpack_require__(585); + var rect_1 = __webpack_require__(588); exports.Rect = rect_1.Rect; - var roundSize_1 = __webpack_require__(586); + var roundSize_1 = __webpack_require__(589); exports.RoundSize = roundSize_1.RoundSize; - var utils_1 = __webpack_require__(569); + var utils_1 = __webpack_require__(572); exports.Utils = utils_1.Utils; /***/ }), -/* 582 */ +/* 585 */ /***/ (function(module, exports) { "use strict"; @@ -77825,16 +78285,16 @@ /***/ }), -/* 583 */ +/* 586 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var regions_1 = __webpack_require__(584); - var Classes = __webpack_require__(568); - var rect_1 = __webpack_require__(585); - var utils_1 = __webpack_require__(569); + var tslib_1 = __webpack_require__(566); + var regions_1 = __webpack_require__(587); + var Classes = __webpack_require__(571); + var rect_1 = __webpack_require__(588); + var utils_1 = __webpack_require__(572); var Grid = (function () { function Grid(rowHeights, columnWidths, bleed, ghostHeight, ghostWidth) { if (bleed === void 0) { bleed = Grid.DEFAULT_BLEED; } @@ -78102,13 +78562,13 @@ /***/ }), -/* 584 */ +/* 587 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); var RegionCardinality; (function (RegionCardinality) { RegionCardinality[RegionCardinality["CELLS"] = 0] = "CELLS"; @@ -78558,7 +79018,7 @@ /***/ }), -/* 585 */ +/* 588 */ /***/ (function(module, exports) { "use strict"; @@ -78624,6 +79084,13 @@ Rect.prototype.containsY = function (clientY) { return clientY >= this.top && clientY <= this.top + this.height; }; + Rect.prototype.equals = function (rect) { + return rect != null + && this.left === rect.left + && this.top === rect.top + && this.width === rect.width + && this.height === rect.height; + }; return Rect; }()); Rect.ORIGIN = new Rect(0, 0, 0, 0); @@ -78631,14 +79098,14 @@ /***/ }), -/* 586 */ +/* 589 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); + var Classes = __webpack_require__(571); var RoundSize = (function (_super) { tslib_1.__extends(RoundSize, _super); function RoundSize() { @@ -78672,7 +79139,7 @@ /***/ }), -/* 587 */ +/* 590 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -78680,22 +79147,22 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(588)); - __export(__webpack_require__(589)); + __export(__webpack_require__(591)); + __export(__webpack_require__(592)); /***/ }), -/* 588 */ +/* 591 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var PureRender = __webpack_require__(571); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var clipboard_1 = __webpack_require__(582); - var regions_1 = __webpack_require__(584); + var clipboard_1 = __webpack_require__(585); + var regions_1 = __webpack_require__(587); var CopyCellsMenuItem = (function (_super) { tslib_1.__extends(CopyCellsMenuItem, _super); function CopyCellsMenuItem() { @@ -78723,12 +79190,12 @@ /***/ }), -/* 589 */ +/* 592 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var regions_1 = __webpack_require__(584); + var regions_1 = __webpack_require__(587); var MenuContext = (function () { function MenuContext(target, selectedRegions, numRows, numCols) { this.target = target; @@ -78755,17 +79222,17 @@ /***/ }), -/* 590 */ +/* 593 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var draggable_1 = __webpack_require__(576); + var Classes = __webpack_require__(571); + var draggable_1 = __webpack_require__(579); var Orientation; (function (Orientation) { Orientation[Orientation["HORIZONTAL"] = 1] = "HORIZONTAL"; @@ -78842,19 +79309,19 @@ /***/ }), -/* 591 */ +/* 594 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var PureRender = __webpack_require__(571); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(569); - var dragEvents_1 = __webpack_require__(577); - var draggable_1 = __webpack_require__(576); - var regions_1 = __webpack_require__(584); + var utils_1 = __webpack_require__(572); + var dragEvents_1 = __webpack_require__(580); + var draggable_1 = __webpack_require__(579); + var regions_1 = __webpack_require__(587); var DragSelectable = (function (_super) { tslib_1.__extends(DragSelectable, _super); function DragSelectable() { @@ -79053,19 +79520,19 @@ /***/ }), -/* 592 */ +/* 595 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(568); - var Errors = __webpack_require__(593); - var loadableContent_1 = __webpack_require__(570); - var headerCell_1 = __webpack_require__(594); + var Classes = __webpack_require__(571); + var Errors = __webpack_require__(596); + var loadableContent_1 = __webpack_require__(573); + var headerCell_1 = __webpack_require__(597); function HorizontalCellDivider() { return React.createElement("div", { className: Classes.TABLE_HORIZONTAL_CELL_DIVIDER }); } @@ -79167,7 +79634,7 @@ /***/ }), -/* 593 */ +/* 596 */ /***/ (function(module, exports) { "use strict"; @@ -79183,17 +79650,17 @@ /***/ }), -/* 594 */ +/* 597 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); var HeaderCell = (function (_super) { tslib_1.__extends(HeaderCell, _super); function HeaderCell() { @@ -79234,19 +79701,19 @@ /***/ }), -/* 595 */ +/* 598 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); - var Classes = __webpack_require__(568); - var Errors = __webpack_require__(593); - var loadableContent_1 = __webpack_require__(570); - var headerCell_1 = __webpack_require__(594); + var Classes = __webpack_require__(571); + var Errors = __webpack_require__(596); + var loadableContent_1 = __webpack_require__(573); + var headerCell_1 = __webpack_require__(597); var RowHeaderCell = (function (_super) { tslib_1.__extends(RowHeaderCell, _super); function RowHeaderCell() { @@ -79273,17 +79740,17 @@ /***/ }), -/* 596 */ +/* 599 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(567); - var PureRender = __webpack_require__(571); + var classNames = __webpack_require__(570); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); + var Classes = __webpack_require__(571); var EditableName = (function (_super) { tslib_1.__extends(EditableName, _super); function EditableName() { @@ -79302,34 +79769,37 @@ /***/ }), -/* 597 */ +/* 600 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); var core_2 = __webpack_require__(179); - var classNames = __webpack_require__(567); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var column_1 = __webpack_require__(580); - var Classes = __webpack_require__(568); - var clipboard_1 = __webpack_require__(582); - var Errors = __webpack_require__(593); - var grid_1 = __webpack_require__(583); - var rect_1 = __webpack_require__(585); - var utils_1 = __webpack_require__(569); - var columnHeader_1 = __webpack_require__(598); - var columnHeaderCell_1 = __webpack_require__(592); - var rowHeader_1 = __webpack_require__(604); - var resizeSensor_1 = __webpack_require__(605); - var guides_1 = __webpack_require__(606); - var regions_1 = __webpack_require__(607); - var locator_1 = __webpack_require__(608); - var tableQuadrant_1 = __webpack_require__(609); - var tableQuadrantStack_1 = __webpack_require__(610); - var regions_2 = __webpack_require__(584); - var tableBody_1 = __webpack_require__(611); + var column_1 = __webpack_require__(583); + var Classes = __webpack_require__(571); + var clipboard_1 = __webpack_require__(585); + var Errors = __webpack_require__(596); + var grid_1 = __webpack_require__(586); + var FocusedCellUtils = __webpack_require__(601); + var ScrollUtils = __webpack_require__(602); + var rect_1 = __webpack_require__(588); + var renderMode_1 = __webpack_require__(603); + var utils_1 = __webpack_require__(572); + var columnHeader_1 = __webpack_require__(604); + var columnHeaderCell_1 = __webpack_require__(595); + var rowHeader_1 = __webpack_require__(610); + var resizeSensor_1 = __webpack_require__(611); + var guides_1 = __webpack_require__(612); + var regions_1 = __webpack_require__(613); + var locator_1 = __webpack_require__(614); + var tableQuadrant_1 = __webpack_require__(615); + var tableQuadrantStack_1 = __webpack_require__(616); + var regions_2 = __webpack_require__(587); + var tableBody_1 = __webpack_require__(617); var Table = Table_1 = (function (_super) { tslib_1.__extends(Table, _super); function Table(props, context) { @@ -79337,6 +79807,7 @@ _this.refHandlers = { columnHeader: function (ref) { return _this.columnHeaderElement = ref; }, mainQuadrant: function (ref) { return _this.mainQuadrantElement = ref; }, + quadrantStack: function (ref) { return _this.quadrantStackInstance = ref; }, rowHeader: function (ref) { return _this.rowHeaderElement = ref; }, scrollContainer: function (ref) { return _this.scrollContainerElement = ref; }, }; @@ -79443,7 +79914,7 @@ if (showFrozenRowsOnly === void 0) { showFrozenRowsOnly = false; } if (showFrozenColumnsOnly === void 0) { showFrozenColumnsOnly = false; } var _a = _this, grid = _a.grid, locator = _a.locator; - var _b = _this.props, allowMultipleSelection = _b.allowMultipleSelection, fillBodyWithGhostCells = _b.fillBodyWithGhostCells, loadingOptions = _b.loadingOptions, renderBodyContextMenu = _b.renderBodyContextMenu, selectedRegionTransform = _b.selectedRegionTransform; + var _b = _this.props, allowMultipleSelection = _b.allowMultipleSelection, fillBodyWithGhostCells = _b.fillBodyWithGhostCells, loadingOptions = _b.loadingOptions, renderBodyContextMenu = _b.renderBodyContextMenu, renderMode = _b.renderMode, selectedRegionTransform = _b.selectedRegionTransform; var numFrozenColumns = _this.getNumFrozenColumnsClamped(); var numFrozenRows = _this.getNumFrozenRowsClamped(); var _c = _this.state, selectedRegions = _c.selectedRegions, viewportRect = _c.viewportRect; @@ -79453,10 +79924,18 @@ var columnIndexEnd = showFrozenColumnsOnly ? numFrozenColumns : columnIndices.columnIndexEnd; var rowIndexStart = showFrozenRowsOnly ? 0 : rowIndices.rowIndexStart; var rowIndexEnd = showFrozenRowsOnly ? numFrozenRows : rowIndices.rowIndexEnd; + var onCompleteRender = quadrantType === tableQuadrant_1.QuadrantType.MAIN + ? _this.handleCompleteRender + : undefined; return (React.createElement("div", null, - React.createElement(tableBody_1.TableBody, { allowMultipleSelection: allowMultipleSelection, cellRenderer: _this.bodyCellRenderer, grid: grid, loading: _this.hasLoadingOption(loadingOptions, regions_2.TableLoadingOption.CELLS), locator: locator, onFocus: _this.handleFocus, onSelection: _this.getEnabledSelectionHandler(regions_2.RegionCardinality.CELLS), renderBodyContextMenu: renderBodyContextMenu, selectedRegions: selectedRegions, selectedRegionTransform: selectedRegionTransform, viewportRect: viewportRect, columnIndexStart: columnIndexStart, columnIndexEnd: columnIndexEnd, rowIndexStart: rowIndexStart, rowIndexEnd: rowIndexEnd, numFrozenColumns: showFrozenColumnsOnly ? numFrozenColumns : undefined, numFrozenRows: showFrozenRowsOnly ? numFrozenRows : undefined }), + React.createElement(tableBody_1.TableBody, { allowMultipleSelection: allowMultipleSelection, cellRenderer: _this.bodyCellRenderer, grid: grid, loading: _this.hasLoadingOption(loadingOptions, regions_2.TableLoadingOption.CELLS), locator: locator, onCompleteRender: onCompleteRender, onFocus: _this.handleFocus, onSelection: _this.getEnabledSelectionHandler(regions_2.RegionCardinality.CELLS), renderBodyContextMenu: renderBodyContextMenu, renderMode: renderMode, selectedRegions: selectedRegions, selectedRegionTransform: selectedRegionTransform, viewportRect: viewportRect, columnIndexStart: columnIndexStart, columnIndexEnd: columnIndexEnd, rowIndexStart: rowIndexStart, rowIndexEnd: rowIndexEnd, numFrozenColumns: showFrozenColumnsOnly ? numFrozenColumns : undefined, numFrozenRows: showFrozenRowsOnly ? numFrozenRows : undefined }), _this.maybeRenderRegions(_this.styleBodyRegion, quadrantType))); }; + _this.handleCompleteRender = function () { + if (_this.state.viewportRect != null) { + core_1.Utils.safeInvoke(_this.props.onCompleteRender); + } + }; _this.handleFocusMoveLeft = function (e) { return _this.handleFocusMove(e, "left"); }; _this.handleFocusMoveLeftInternal = function (e) { return _this.handleFocusMoveInternal(e, "left"); }; _this.handleFocusMoveRight = function (e) { return _this.handleFocusMove(e, "right"); }; @@ -79473,27 +79952,29 @@ && numFrozenColumns != null && numFrozenColumns > 0; var fixedHeight = _this.grid.getHeight(); var fixedWidth = _this.grid.getWidth(); + var alignmentCorrection = 1; + var alignmentCorrectionString = "-" + alignmentCorrection + "px"; switch (cardinality) { case regions_2.RegionCardinality.CELLS: return style; case regions_2.RegionCardinality.FULL_COLUMNS: - style.top = "-1px"; - style.height = fixedHeight; + style.top = alignmentCorrectionString; + style.height = fixedHeight + alignmentCorrection; return style; case regions_2.RegionCardinality.FULL_ROWS: - style.left = "-1px"; - style.width = fixedWidth; + style.left = alignmentCorrectionString; + style.width = fixedWidth + alignmentCorrection; if (canHideRightBorder) { - style.right = "-1px"; + style.right = alignmentCorrectionString; } return style; case regions_2.RegionCardinality.FULL_TABLE: - style.left = "-1px"; - style.top = "-1px"; - style.width = fixedWidth; - style.height = fixedHeight; + style.left = alignmentCorrectionString; + style.top = alignmentCorrectionString; + style.width = fixedWidth + alignmentCorrection; + style.height = fixedHeight + alignmentCorrection; if (canHideRightBorder) { - style.right = "-1px"; + style.right = alignmentCorrectionString; } return style; default: @@ -79797,7 +80278,12 @@ }; _this.updateViewportRect = function (nextViewportRect) { _this.setState({ viewportRect: nextViewportRect }); - _this.invokeOnVisibleCellsChangeCallback(nextViewportRect); + var viewportRect = _this.state.viewportRect; + var didViewportChange = (viewportRect != null && !viewportRect.equals(nextViewportRect)) + || (viewportRect == null && nextViewportRect != null); + if (didViewportChange) { + _this.invokeOnVisibleCellsChangeCallback(nextViewportRect); + } }; _this.getMaxFrozenColumnIndex = function () { var numFrozenColumns = _this.getNumFrozenColumnsClamped(); @@ -79823,15 +80309,7 @@ var newRowHeights = utils_1.Utils.times(numRows, function () { return defaultRowHeight; }); newRowHeights = utils_1.Utils.assignSparseValues(newRowHeights, rowHeights); var selectedRegions = (props.selectedRegions == null) ? [] : props.selectedRegions; - var focusedCell; - if (props.enableFocus) { - if (props.focusedCell != null) { - focusedCell = props.focusedCell; - } - else { - focusedCell = { col: 0, row: 0, focusSelectionIndex: 0 }; - } - } + var focusedCell = FocusedCellUtils.getInitialFocusedCell(props.enableFocus, props.focusedCell, undefined, selectedRegions); _this.state = { columnWidths: newColumnWidths, focusedCell: focusedCell, @@ -79852,13 +80330,40 @@ } return columnIdToIndex; }; + Table.prototype.resizeRowsByTallestCell = function (columnIndices) { + var _this = this; + var tallest = 0; + if (columnIndices == null) { + var viewportColumnIndices = this.grid.getColumnIndicesInRect(this.state.viewportRect); + for (var col = viewportColumnIndices.columnIndexStart; col <= viewportColumnIndices.columnIndexEnd; col++) { + tallest = Math.max(tallest, this.locator.getTallestVisibleCellInColumn(col)); + } + } + else { + var columnIndicesArray = Array.isArray(columnIndices) ? columnIndices : [columnIndices]; + var tallestByColumns = columnIndicesArray.map(function (col) { return _this.locator.getTallestVisibleCellInColumn(col); }); + tallest = Math.max.apply(Math, tallestByColumns); + } + var rowHeights = Array(this.state.rowHeights.length).fill(tallest); + this.invalidateGrid(); + this.setState({ rowHeights: rowHeights }); + }; + Table.prototype.scrollToRegion = function (region) { + var _a = this.state.viewportRect, currScrollLeft = _a.left, currScrollTop = _a.top; + var numFrozenRows = this.getNumFrozenRowsClamped(); + var numFrozenColumns = this.getNumFrozenColumnsClamped(); + var _b = ScrollUtils.getScrollPositionForRegion(region, currScrollLeft, currScrollTop, this.grid.getCumulativeWidthBefore, this.grid.getCumulativeHeightBefore, numFrozenRows, numFrozenColumns), scrollLeft = _b.scrollLeft, scrollTop = _b.scrollTop; + var correctedScrollLeft = this.shouldDisableHorizontalScroll() ? 0 : scrollLeft; + var correctedScrollTop = this.shouldDisableVerticalScroll() ? 0 : scrollTop; + this.quadrantStackInstance.scrollToPosition(correctedScrollLeft, correctedScrollTop); + }; Table.prototype.shouldComponentUpdate = function (nextProps, nextState) { var propKeysBlacklist = { exclude: Table_1.SHALLOW_COMPARE_PROP_KEYS_BLACKLIST }; var stateKeysBlacklist = { exclude: Table_1.SHALLOW_COMPARE_STATE_KEYS_BLACKLIST }; return !utils_1.Utils.shallowCompareKeys(this.props, nextProps, propKeysBlacklist) || !utils_1.Utils.shallowCompareKeys(this.state, nextState, stateKeysBlacklist) - || !utils_1.Utils.deepCompareKeys(this.props, nextProps, ["selectedRegions"]) - || !utils_1.Utils.deepCompareKeys(this.state, nextState, ["selectedRegions"]); + || !utils_1.Utils.deepCompareKeys(this.props, nextProps, Table_1.SHALLOW_COMPARE_PROP_KEYS_BLACKLIST) + || !utils_1.Utils.deepCompareKeys(this.state, nextState, Table_1.SHALLOW_COMPARE_STATE_KEYS_BLACKLIST); }; Table.prototype.componentWillReceiveProps = function (nextProps) { var _this = this; @@ -79884,15 +80389,13 @@ return isSelectionModeEnabled && regions_2.Regions.isRegionValidForTable(region, numRows, numCols); }); } - var newFocusedCellCoordinates = (focusedCell == null) - ? this.state.focusedCell - : focusedCell; + var newFocusedCell = FocusedCellUtils.getInitialFocusedCell(enableFocus, focusedCell, this.state.focusedCell, newSelectedRegions); this.childrenArray = newChildArray; this.columnIdToIndex = Table_1.createColumnIdIndex(this.childrenArray); this.invalidateGrid(); this.setState({ columnWidths: newColumnWidths, - focusedCell: enableFocus ? newFocusedCellCoordinates : undefined, + focusedCell: newFocusedCell, rowHeights: newRowHeights, selectedRegions: newSelectedRegions, }); @@ -79908,7 +80411,7 @@ _c[Classes.TABLE_SELECTION_ENABLED] = this.isSelectionModeEnabled(regions_2.RegionCardinality.CELLS), _c), className); return (React.createElement("div", { className: classes, ref: this.setRootTableRef, onScroll: this.handleRootScroll }, - React.createElement(tableQuadrantStack_1.TableQuadrantStack, { bodyRef: this.setBodyRef, columnHeaderRef: this.refHandlers.columnHeader, grid: this.grid, handleColumnResizeGuide: this.handleColumnResizeGuide, handleColumnsReordering: this.handleColumnsReordering, handleRowResizeGuide: this.handleRowResizeGuide, handleRowsReordering: this.handleRowsReordering, isHorizontalScrollDisabled: this.shouldDisableHorizontalScroll(), isRowHeaderShown: isRowHeaderShown, isVerticalScrollDisabled: this.shouldDisableVerticalScroll(), numFrozenColumns: this.getNumFrozenColumnsClamped(), numFrozenRows: this.getNumFrozenRowsClamped(), onScroll: this.handleBodyScroll, quadrantRef: this.refHandlers.mainQuadrant, renderBody: this.renderBody, renderColumnHeader: this.renderColumnHeader, renderMenu: this.renderMenu, renderRowHeader: this.renderRowHeader, rowHeaderRef: this.refHandlers.rowHeader, scrollContainerRef: this.refHandlers.scrollContainer }), + React.createElement(tableQuadrantStack_1.TableQuadrantStack, { bodyRef: this.setBodyRef, columnHeaderRef: this.refHandlers.columnHeader, grid: this.grid, handleColumnResizeGuide: this.handleColumnResizeGuide, handleColumnsReordering: this.handleColumnsReordering, handleRowResizeGuide: this.handleRowResizeGuide, handleRowsReordering: this.handleRowsReordering, isHorizontalScrollDisabled: this.shouldDisableHorizontalScroll(), isRowHeaderShown: isRowHeaderShown, isVerticalScrollDisabled: this.shouldDisableVerticalScroll(), numFrozenColumns: this.getNumFrozenColumnsClamped(), numFrozenRows: this.getNumFrozenRowsClamped(), onScroll: this.handleBodyScroll, quadrantRef: this.refHandlers.mainQuadrant, ref: this.refHandlers.quadrantStack, renderBody: this.renderBody, renderColumnHeader: this.renderColumnHeader, renderMenu: this.renderMenu, renderRowHeader: this.renderRowHeader, rowHeaderRef: this.refHandlers.rowHeader, scrollContainerRef: this.refHandlers.scrollContainer }), React.createElement("div", { className: classNames(Classes.TABLE_OVERLAY_LAYER, "bp-table-reordering-cursor-overlay") }), React.createElement(guides_1.GuideLayer, { className: Classes.TABLE_RESIZE_GUIDES, verticalGuides: verticalGuides, horizontalGuides: horizontalGuides }))); var _c; @@ -79917,24 +80420,6 @@ var hotkeys = [this.maybeRenderCopyHotkey(), this.maybeRenderSelectAllHotkey(), this.maybeRenderFocusHotkeys()]; return (React.createElement(core_2.Hotkeys, null, hotkeys.filter(function (element) { return element !== undefined; }))); }; - Table.prototype.resizeRowsByTallestCell = function (columnIndices) { - var _this = this; - var tallest = 0; - if (columnIndices == null) { - var viewportColumnIndices = this.grid.getColumnIndicesInRect(this.state.viewportRect); - for (var col = viewportColumnIndices.columnIndexStart; col <= viewportColumnIndices.columnIndexEnd; col++) { - tallest = Math.max(tallest, this.locator.getTallestVisibleCellInColumn(col)); - } - } - else { - var columnIndicesArray = Array.isArray(columnIndices) ? columnIndices : [columnIndices]; - var tallestByColumns = columnIndicesArray.map(function (col) { return _this.locator.getTallestVisibleCellInColumn(col); }); - tallest = Math.max.apply(Math, tallestByColumns); - } - var rowHeights = Array(this.state.rowHeights.length).fill(tallest); - this.invalidateGrid(); - this.setState({ rowHeights: rowHeights }); - }; Table.prototype.componentDidMount = function () { var _this = this; this.validateGrid(); @@ -80128,10 +80613,12 @@ var didScrollLeftChange = nextScrollLeft !== viewportRect.left; if (didScrollTopChange || didScrollLeftChange) { if (didScrollTopChange) { - this.bodyElement.scrollTop = nextScrollTop; + var topCorrection = this.shouldDisableVerticalScroll() ? 0 : this.columnHeaderElement.clientHeight; + this.scrollContainerElement.scrollTop = nextScrollTop + topCorrection; } if (didScrollLeftChange) { - this.bodyElement.scrollLeft = nextScrollLeft; + var leftCorrection = this.shouldDisableHorizontalScroll() ? 0 : this.rowHeaderElement.clientWidth; + this.scrollContainerElement.scrollLeft = nextScrollLeft + leftCorrection; } var nextViewportRect = new rect_1.Rect(nextScrollLeft, nextScrollTop, viewportRect.width, viewportRect.height); this.updateViewportRect(nextViewportRect); @@ -80175,6 +80662,7 @@ minColumnWidth: 50, minRowHeight: 20, numRows: 0, + renderMode: renderMode_1.RenderMode.BATCH, renderRowHeader: rowHeader_1.renderDefaultRowHeader, selectionModes: regions_2.SelectionModes.ALL, }; @@ -80183,6 +80671,7 @@ ]; Table.SHALLOW_COMPARE_STATE_KEYS_BLACKLIST = [ "selectedRegions", + "viewportRect", ]; Table = Table_1 = tslib_1.__decorate([ core_2.HotkeysTarget @@ -80192,20 +80681,109 @@ /***/ }), -/* 598 */ +/* 601 */ +/***/ (function(module, exports, __webpack_require__) { + + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var tslib_1 = __webpack_require__(566); + var regions_1 = __webpack_require__(587); + function getInitialFocusedCell(enableFocus, focusedCellFromProps, focusedCellFromState, selectedRegions) { + if (!enableFocus) { + return undefined; + } + else if (focusedCellFromProps != null) { + return focusedCellFromProps; + } + else if (focusedCellFromState != null) { + return focusedCellFromState; + } + else if (selectedRegions.length > 0) { + return tslib_1.__assign({}, regions_1.Regions.getFocusCellCoordinatesFromRegion(selectedRegions[0]), { focusSelectionIndex: 0 }); + } + else { + return { col: 0, row: 0, focusSelectionIndex: 0 }; + } + } + exports.getInitialFocusedCell = getInitialFocusedCell; + + +/***/ }), +/* 602 */ +/***/ (function(module, exports, __webpack_require__) { + + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var regions_1 = __webpack_require__(587); + function getScrollPositionForRegion(region, currScrollLeft, currScrollTop, getLeftOffset, getTopOffset, numFrozenRows, numFrozenColumns) { + if (numFrozenRows === void 0) { numFrozenRows = 0; } + if (numFrozenColumns === void 0) { numFrozenColumns = 0; } + var cardinality = regions_1.Regions.getRegionCardinality(region); + var scrollTop = currScrollTop; + var scrollLeft = currScrollLeft; + var frozenColumnsCumulativeWidth = getLeftOffset(numFrozenColumns); + var frozenRowsCumulativeHeight = getTopOffset(numFrozenRows); + switch (cardinality) { + case regions_1.RegionCardinality.CELLS: { + var topOffset = getTopOffset(region.rows[0]); + var leftOffset = getLeftOffset(region.cols[0]); + scrollTop = getClampedScrollPosition(topOffset, frozenRowsCumulativeHeight); + scrollLeft = getClampedScrollPosition(leftOffset, frozenColumnsCumulativeWidth); + break; + } + case regions_1.RegionCardinality.FULL_ROWS: { + var topOffset = getTopOffset(region.rows[0]); + scrollTop = getClampedScrollPosition(topOffset, frozenRowsCumulativeHeight); + break; + } + case regions_1.RegionCardinality.FULL_COLUMNS: { + var leftOffset = getLeftOffset(region.cols[0]); + scrollLeft = getClampedScrollPosition(leftOffset, frozenColumnsCumulativeWidth); + break; + } + default: { + scrollTop = 0; + scrollLeft = 0; + break; + } + } + return { scrollLeft: scrollLeft, scrollTop: scrollTop }; + } + exports.getScrollPositionForRegion = getScrollPositionForRegion; + function getClampedScrollPosition(scrollOffset, frozenRegionCumulativeSize) { + return Math.max(scrollOffset - frozenRegionCumulativeSize, 0); + } + + +/***/ }), +/* 603 */ +/***/ (function(module, exports) { + + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); + var RenderMode; + (function (RenderMode) { + RenderMode[RenderMode["BATCH"] = 0] = "BATCH"; + RenderMode[RenderMode["NONE"] = 1] = "NONE"; + })(RenderMode = exports.RenderMode || (exports.RenderMode = {})); + ; + + +/***/ }), +/* 604 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var index_1 = __webpack_require__(581); - var resizeHandle_1 = __webpack_require__(590); - var regions_1 = __webpack_require__(584); - var columnHeaderCell_1 = __webpack_require__(592); - var header_1 = __webpack_require__(599); + var Classes = __webpack_require__(571); + var index_1 = __webpack_require__(584); + var resizeHandle_1 = __webpack_require__(593); + var regions_1 = __webpack_require__(587); + var columnHeaderCell_1 = __webpack_require__(595); + var header_1 = __webpack_require__(605); var ColumnHeader = (function (_super) { tslib_1.__extends(ColumnHeader, _super); function ColumnHeader() { @@ -80296,22 +80874,22 @@ /***/ }), -/* 599 */ +/* 605 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(567); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var batcher_1 = __webpack_require__(600); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); - var reorderable_1 = __webpack_require__(602); - var resizable_1 = __webpack_require__(603); - var selectable_1 = __webpack_require__(591); - var regions_1 = __webpack_require__(584); + var batcher_1 = __webpack_require__(606); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); + var reorderable_1 = __webpack_require__(608); + var resizable_1 = __webpack_require__(609); + var selectable_1 = __webpack_require__(594); + var regions_1 = __webpack_require__(587); var RESET_CELL_KEYS_BLACKLIST = [ "endIndex", "startIndex", @@ -80468,13 +81046,13 @@ /***/ }), -/* 600 */ +/* 606 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(179); - var requestIdleCallback_1 = __webpack_require__(601); + var requestIdleCallback_1 = __webpack_require__(607); var Batcher = (function () { function Batcher() { var _this = this; @@ -80588,7 +81166,7 @@ /***/ }), -/* 601 */ +/* 607 */ /***/ (function(module, exports) { "use strict"; @@ -80637,17 +81215,17 @@ /***/ }), -/* 602 */ +/* 608 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(569); - var draggable_1 = __webpack_require__(576); - var regions_1 = __webpack_require__(584); + var utils_1 = __webpack_require__(572); + var draggable_1 = __webpack_require__(579); + var regions_1 = __webpack_require__(587); var DragReorderable = (function (_super) { tslib_1.__extends(DragReorderable, _super); function DragReorderable() { @@ -80725,16 +81303,16 @@ /***/ }), -/* 603 */ +/* 609 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var PureRender = __webpack_require__(571); + var tslib_1 = __webpack_require__(566); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); - var index_1 = __webpack_require__(581); - var resizeHandle_1 = __webpack_require__(590); + var index_1 = __webpack_require__(584); + var resizeHandle_1 = __webpack_require__(593); var Resizable = (function (_super) { tslib_1.__extends(Resizable, _super); function Resizable(props, context) { @@ -80814,19 +81392,19 @@ /***/ }), -/* 604 */ +/* 610 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var resizeHandle_1 = __webpack_require__(590); - var regions_1 = __webpack_require__(584); - var header_1 = __webpack_require__(599); - var rowHeaderCell_1 = __webpack_require__(595); + var Classes = __webpack_require__(571); + var resizeHandle_1 = __webpack_require__(593); + var regions_1 = __webpack_require__(587); + var header_1 = __webpack_require__(605); + var rowHeaderCell_1 = __webpack_require__(598); var RowHeader = (function (_super) { tslib_1.__extends(RowHeader, _super); function RowHeader() { @@ -80906,12 +81484,12 @@ /***/ }), -/* 605 */ +/* 611 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(568); + var Classes = __webpack_require__(571); var ResizeSensor = (function () { function ResizeSensor() { } @@ -80984,16 +81562,16 @@ /***/ }), -/* 606 */ +/* 612 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); var GuideLayer = (function (_super) { tslib_1.__extends(GuideLayer, _super); function GuideLayer() { @@ -81039,17 +81617,17 @@ /***/ }), -/* 607 */ +/* 613 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); - var regions_1 = __webpack_require__(584); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); + var regions_1 = __webpack_require__(587); var UPDATE_PROPS_KEYS = [ "className", ]; @@ -81084,14 +81662,14 @@ /***/ }), -/* 608 */ +/* 614 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(568); - var rect_1 = __webpack_require__(585); - var utils_1 = __webpack_require__(569); + var Classes = __webpack_require__(571); + var rect_1 = __webpack_require__(588); + var utils_1 = __webpack_require__(572); var Locator = (function () { function Locator(tableElement, bodyElement) { var _this = this; @@ -81241,17 +81819,17 @@ /***/ }), -/* 609 */ +/* 615 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var classNames = __webpack_require__(567); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var Errors = __webpack_require__(593); + var Classes = __webpack_require__(571); + var Errors = __webpack_require__(596); var QuadrantType; (function (QuadrantType) { QuadrantType[QuadrantType["MAIN"] = 0] = "MAIN"; @@ -81314,17 +81892,17 @@ /***/ }), -/* 610 */ +/* 616 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); var React = __webpack_require__(3); - var Classes = __webpack_require__(568); - var utils_1 = __webpack_require__(569); - var tableQuadrant_1 = __webpack_require__(609); + var Classes = __webpack_require__(571); + var utils_1 = __webpack_require__(572); + var tableQuadrant_1 = __webpack_require__(615); var TableQuadrantStack = (function (_super) { tslib_1.__extends(TableQuadrantStack, _super); function TableQuadrantStack(props, context) { @@ -81510,6 +82088,12 @@ return _this; var _a, _b; } + TableQuadrantStack.prototype.scrollToPosition = function (scrollLeft, scrollTop) { + var scrollContainer = this.quadrantRefs[tableQuadrant_1.QuadrantType.MAIN].scrollContainer; + this.wasMainQuadrantScrollChangedFromOtherOnWheelCallback = false; + scrollContainer.scrollLeft = scrollLeft; + scrollContainer.scrollTop = scrollTop; + }; TableQuadrantStack.prototype.componentDidMount = function () { this.emitRefs(); this.syncQuadrantSizes(); @@ -81591,10 +82175,10 @@ var scrollbarHeight = mainQuadrantScrollElement.offsetHeight - mainQuadrantScrollElement.clientHeight; topQuadrantElement.style.right = scrollbarWidth + "px"; leftQuadrantElement.style.bottom = scrollbarHeight + "px"; - this.syncRowHeaderSize(topQuadrantRowHeaderElement, rowHeaderWidth); - this.syncRowHeaderSize(topLeftQuadrantRowHeaderElement, rowHeaderWidth); + this.maybeSyncRowHeaderSize(topQuadrantRowHeaderElement, rowHeaderWidth); + this.maybeSyncRowHeaderSize(topLeftQuadrantRowHeaderElement, rowHeaderWidth); }; - TableQuadrantStack.prototype.syncRowHeaderSize = function (rowHeaderElement, width) { + TableQuadrantStack.prototype.maybeSyncRowHeaderSize = function (rowHeaderElement, width) { if (rowHeaderElement == null) { return; } @@ -81612,7 +82196,7 @@ }; TableQuadrantStack.prototype.adjustVerticalGuides = function (verticalGuides, quadrantType) { var scrollAmount = this.quadrantRefs[quadrantType].scrollContainer.scrollLeft; - var rowHeaderWidth = this.quadrantRefs[quadrantType].rowHeader.clientWidth; + var rowHeaderWidth = this.getRowHeaderWidth(quadrantType); var adjustedVerticalGuides = verticalGuides != null ? verticalGuides.map(function (verticalGuide) { return verticalGuide - scrollAmount + rowHeaderWidth; }) : verticalGuides; @@ -81626,6 +82210,10 @@ : horizontalGuides; return adjustedHorizontalGuides; }; + TableQuadrantStack.prototype.getRowHeaderWidth = function (quadrantType) { + var rowHeader = this.quadrantRefs[quadrantType].rowHeader; + return rowHeader == null ? 0 : rowHeader.clientWidth; + }; return TableQuadrantStack; }(core_1.AbstractComponent)); TableQuadrantStack.defaultProps = { @@ -81637,23 +82225,25 @@ /***/ }), -/* 611 */ +/* 617 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); - var classNames = __webpack_require__(567); + var tslib_1 = __webpack_require__(566); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(570); var React = __webpack_require__(3); - var cell_1 = __webpack_require__(566); - var batcher_1 = __webpack_require__(600); - var Classes = __webpack_require__(568); - var contextMenuTargetWrapper_1 = __webpack_require__(612); - var rect_1 = __webpack_require__(585); - var utils_1 = __webpack_require__(569); - var menus_1 = __webpack_require__(587); - var selectable_1 = __webpack_require__(591); - var regions_1 = __webpack_require__(584); + var cell_1 = __webpack_require__(569); + var batcher_1 = __webpack_require__(606); + var Classes = __webpack_require__(571); + var contextMenuTargetWrapper_1 = __webpack_require__(618); + var rect_1 = __webpack_require__(588); + var renderMode_1 = __webpack_require__(603); + var utils_1 = __webpack_require__(572); + var menus_1 = __webpack_require__(590); + var selectable_1 = __webpack_require__(594); + var regions_1 = __webpack_require__(587); var UPDATE_PROPS_KEYS = [ "grid", "locator", @@ -81677,6 +82267,7 @@ function TableBody() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.batcher = new batcher_1.Batcher(); + _this.isRenderingBatchedCells = false; _this.renderContextMenu = function (e) { var _a = _this.props, selectedRegions = _a.selectedRegions, renderBodyContextMenu = _a.renderBodyContextMenu, grid = _a.grid; if (renderBodyContextMenu == null) { @@ -81729,6 +82320,9 @@ TableBody.cellReactKey = function (rowIndex, columnIndex) { return "cell-" + rowIndex + "-" + columnIndex; }; + TableBody.prototype.componentDidMount = function () { + this.maybeInvokeOnCompleteRender(); + }; TableBody.prototype.shouldComponentUpdate = function (nextProps) { var propKeysWhitelist = { include: UPDATE_PROPS_KEYS }; return !utils_1.Utils.shallowCompareKeys(this.props, nextProps, propKeysWhitelist); @@ -81740,12 +82334,28 @@ this.batcher.reset(); } }; + TableBody.prototype.componentDidUpdate = function () { + this.maybeInvokeOnCompleteRender(); + }; TableBody.prototype.componentWillUnmount = function () { this.batcher.cancelOutstandingCallback(); }; TableBody.prototype.render = function () { + var _a = this.props, allowMultipleSelection = _a.allowMultipleSelection, grid = _a.grid, numFrozenColumns = _a.numFrozenColumns, numFrozenRows = _a.numFrozenRows, onFocus = _a.onFocus, onSelection = _a.onSelection, renderMode = _a.renderMode, selectedRegions = _a.selectedRegions, selectedRegionTransform = _a.selectedRegionTransform; + var cells = (renderMode === renderMode_1.RenderMode.BATCH) + ? this.renderBatchedCells() + : this.renderAllCells(); + var defaultStyle = grid.getRect().sizeStyle(); + var style = { + height: (numFrozenRows != null) ? grid.getCumulativeHeightAt(numFrozenRows - 1) : defaultStyle.height, + width: (numFrozenColumns != null) ? grid.getCumulativeWidthAt(numFrozenColumns - 1) : defaultStyle.width, + }; + return (React.createElement(selectable_1.DragSelectable, { allowMultipleSelection: allowMultipleSelection, locateClick: this.locateClick, locateDrag: this.locateDrag, onFocus: onFocus, onSelection: onSelection, onSelectionEnd: this.handleSelectionEnd, selectedRegions: selectedRegions, selectedRegionTransform: selectedRegionTransform }, + React.createElement(contextMenuTargetWrapper_1.ContextMenuTargetWrapper, { className: classNames(Classes.TABLE_BODY_VIRTUAL_CLIENT, Classes.TABLE_CELL_CLIENT), renderContextMenu: this.renderContextMenu, style: style }, cells))); + }; + TableBody.prototype.renderBatchedCells = function () { var _this = this; - var _a = this.props, allowMultipleSelection = _a.allowMultipleSelection, columnIndexEnd = _a.columnIndexEnd, columnIndexStart = _a.columnIndexStart, grid = _a.grid, numFrozenColumns = _a.numFrozenColumns, numFrozenRows = _a.numFrozenRows, onFocus = _a.onFocus, onSelection = _a.onSelection, rowIndexEnd = _a.rowIndexEnd, rowIndexStart = _a.rowIndexStart, selectedRegions = _a.selectedRegions, selectedRegionTransform = _a.selectedRegionTransform; + var _a = this.props, columnIndexEnd = _a.columnIndexEnd, columnIndexStart = _a.columnIndexStart, rowIndexEnd = _a.rowIndexEnd, rowIndexStart = _a.rowIndexStart; this.batcher.startNewBatch(); for (var rowIndex = rowIndexStart; rowIndex <= rowIndexEnd; rowIndex++) { for (var columnIndex = columnIndexStart; columnIndex <= columnIndexEnd; columnIndex++) { @@ -81757,31 +82367,50 @@ this.batcher.idleCallback(function () { return _this.forceUpdate(); }); } var cells = this.batcher.getList(); - var defaultStyle = grid.getRect().sizeStyle(); - var style = { - height: (numFrozenRows != null) ? grid.getCumulativeHeightAt(numFrozenRows - 1) : defaultStyle.height, - width: (numFrozenColumns != null) ? grid.getCumulativeWidthAt(numFrozenColumns - 1) : defaultStyle.width, - }; - return (React.createElement(selectable_1.DragSelectable, { allowMultipleSelection: allowMultipleSelection, locateClick: this.locateClick, locateDrag: this.locateDrag, onFocus: onFocus, onSelection: onSelection, onSelectionEnd: this.handleSelectionEnd, selectedRegions: selectedRegions, selectedRegionTransform: selectedRegionTransform }, - React.createElement(contextMenuTargetWrapper_1.ContextMenuTargetWrapper, { className: classNames(Classes.TABLE_BODY_VIRTUAL_CLIENT, Classes.TABLE_CELL_CLIENT), renderContextMenu: this.renderContextMenu, style: style }, cells))); + return cells; + }; + TableBody.prototype.renderAllCells = function () { + var _a = this.props, columnIndexEnd = _a.columnIndexEnd, columnIndexStart = _a.columnIndexStart, grid = _a.grid, rowIndexEnd = _a.rowIndexEnd, rowIndexStart = _a.rowIndexStart; + var cells = []; + for (var rowIndex = rowIndexStart; rowIndex <= rowIndexEnd; rowIndex++) { + for (var columnIndex = columnIndexStart; columnIndex <= columnIndexEnd; columnIndex++) { + var extremaClasses = grid.getExtremaClasses(rowIndex, columnIndex, rowIndexEnd, columnIndexEnd); + var isGhost = grid.isGhostIndex(rowIndex, columnIndex); + cells.push(this.renderCell(rowIndex, columnIndex, extremaClasses, isGhost)); + } + } + return cells; + }; + TableBody.prototype.maybeInvokeOnCompleteRender = function () { + var _a = this.props, onCompleteRender = _a.onCompleteRender, renderMode = _a.renderMode; + if (renderMode === renderMode_1.RenderMode.BATCH + && this.isRenderingBatchedCells + && this.batcher.isDone()) { + this.isRenderingBatchedCells = false; + core_1.Utils.safeInvoke(onCompleteRender); + } + else if (renderMode === renderMode_1.RenderMode.NONE) { + core_1.Utils.safeInvoke(onCompleteRender); + } }; return TableBody; }(React.Component)); TableBody.defaultProps = { loading: false, + renderMode: renderMode_1.RenderMode.BATCH, }; exports.TableBody = TableBody; /***/ }), -/* 612 */ +/* 618 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var core_1 = __webpack_require__(179); - var PureRender = __webpack_require__(571); + var PureRender = __webpack_require__(574); var React = __webpack_require__(3); var ContextMenuTargetWrapper = (function (_super) { tslib_1.__extends(ContextMenuTargetWrapper, _super); @@ -81805,7 +82434,7 @@ /***/ }), -/* 613 */ +/* 619 */ /***/ (function(module, exports) { module.exports = [ @@ -81988,17 +82617,17 @@ ]; /***/ }), -/* 614 */ +/* 620 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); - var bigSpaceRocks = __webpack_require__(613); + var src_1 = __webpack_require__(567); + var bigSpaceRocks = __webpack_require__(619); var ColumnLoadingExample = (function (_super) { tslib_1.__extends(ColumnLoadingExample, _super); function ColumnLoadingExample() { @@ -82053,15 +82682,15 @@ /***/ }), -/* 615 */ +/* 621 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); + var src_1 = __webpack_require__(567); var TableDollarExample = (function (_super) { tslib_1.__extends(TableDollarExample, _super); function TableDollarExample() { @@ -82078,16 +82707,16 @@ /***/ }), -/* 616 */ +/* 622 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); + var src_1 = __webpack_require__(567); var TableEditableExample = (function (_super) { tslib_1.__extends(TableEditableExample, _super); function TableEditableExample() { @@ -82179,15 +82808,15 @@ /***/ }), -/* 617 */ +/* 623 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); + var src_1 = __webpack_require__(567); var LOCAL_TIMEZONE_OFFSET_MSEC = new Date().getTimezoneOffset() * 60 * 1000; var TIME_ZONES = [ ["-12:00", -12.0, "Etc/GMT+12"], @@ -82277,15 +82906,15 @@ /***/ }), -/* 618 */ +/* 624 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); + var src_1 = __webpack_require__(567); var NUM_ROWS = 20; var NUM_COLUMNS = 20; var NUM_FROZEN_ROWS = 2; @@ -82313,17 +82942,17 @@ /***/ }), -/* 619 */ +/* 625 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); - var bigSpaceRocks = __webpack_require__(613); + var src_1 = __webpack_require__(567); + var bigSpaceRocks = __webpack_require__(619); var TableLoadingExample = (function (_super) { tslib_1.__extends(TableLoadingExample, _super); function TableLoadingExample() { @@ -82384,16 +83013,16 @@ /***/ }), -/* 620 */ +/* 626 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); + var src_1 = __webpack_require__(567); var REORDERABLE_TABLE_DATA = [ ["A", "Apple", "Ape", "Albania", "Anchorage"], ["B", "Banana", "Boa", "Brazil", "Boston"], @@ -82465,17 +83094,17 @@ /***/ }), -/* 621 */ +/* 627 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(563); + var tslib_1 = __webpack_require__(566); var React = __webpack_require__(3); var core_1 = __webpack_require__(179); var docs_1 = __webpack_require__(172); - var src_1 = __webpack_require__(564); - var sumo = __webpack_require__(622); + var src_1 = __webpack_require__(567); + var sumo = __webpack_require__(628); var AbstractSortableColumn = (function () { function AbstractSortableColumn(name, index) { this.name = name; @@ -82637,7 +83266,7 @@ /***/ }), -/* 622 */ +/* 628 */ /***/ (function(module, exports) { module.exports = [ @@ -83394,7 +84023,7 @@ ]; /***/ }), -/* 623 */ +/* 629 */ /***/ (function(module, exports) { module.exports = { @@ -84810,6 +85439,11 @@ "level": 3, "route": "table-js.table" }, + { + "title": "Instance methods", + "level": 4, + "route": "table-js.instance-methods" + }, { "title": "Column", "level": 3, @@ -84878,6 +85512,11 @@ "level": 4, "route": "labs.item-renderer-api" }, + { + "title": "Suggest", + "level": 2, + "route": "labs.suggest" + }, { "title": "MultiSelect", "level": 2, @@ -87906,6 +88545,25 @@ "tag": "interface", "value": "ISelectItemRendererProps" }, + { + "tag": "heading", + "value": "Suggest", + "level": 2, + "route": "labs.suggest" + }, + "

Suggest behaves similarly to Select, except it renders a text input as the Popover target instead of arbitrary children.

\n", + { + "tag": "reactExample", + "value": "SuggestExample" + }, + { + "tag": "interface", + "value": "ISuggestProps" + }, + { + "tag": "interface", + "value": "ISelectItemRendererProps" + }, { "tag": "heading", "value": "MultiSelect", @@ -88023,7 +88681,7 @@ "value": "ITooltip2Props" } ], - "contentsRaw": "@# Labs\n\n
\n
Under construction
\n The **[@blueprintjs/labs](https://www.npmjs.com/package/@blueprintjs/labs)** NPM package contains **unstable React components under active development by team members**. It is an incubator and staging area for components as we refine the API design; as such, this package will never reach 1.0.0, and every minor version should be considered breaking.\n
\n\n@## Select\n\nUse `Select` for choosing one item from a list. The component's children will be wrapped in a `Popover` that contains the list and an optional `InputGroup` to filter it. Provide a predicate to customize the filtering algorithm. The value of a `Select` (the currently chosen item) is uncontrolled: listen to changes with `onItemSelect`.\n\n@reactExample SelectExample\n\n```tsx\nimport { Button, MenuItem } from \"@blueprintjs/core\";\nimport { Select } from \"@blueprintjs/labs\";\nimport { Film, TOP_100_FILMS, filterFilm, renderFilm } from \"./demoData\";\n\n// Select is a generic component to work with your data types.\n// In TypeScript, you must first obtain a non-generic reference:\nconst FilmSelect = Select.ofType();\n\nReactDOM.render(\n }\n onItemSelect={...}\n >\n {/* children become the popover target; render value here */}\n