Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jul 20, 2016
1 parent 79ad9c2 commit 17aeefe
Show file tree
Hide file tree
Showing 13 changed files with 157 additions and 173 deletions.
2 changes: 1 addition & 1 deletion dist/css/react-widgets.css

Large diffs are not rendered by default.

49 changes: 24 additions & 25 deletions dist/react-widgets-globalize.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
/*! (c) 2016 Jason Quense | https://github.com/jquense/react-widgets/blob/master/License.txt */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("ReactWidgets"));
else if(typeof define === 'function' && define.amd)
define([, "ReactWidgets"], factory);
else if(typeof exports === 'object')
exports["ReactWidgets"] = factory(require("react"), require("ReactWidgets"));
else
root["ReactWidgets"] = factory(root["React"], root["ReactWidgets"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_20__, __WEBPACK_EXTERNAL_MODULE_91__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

Expand Down Expand Up @@ -51,19 +41,33 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

/*** IMPORTS FROM imports-loader ***/
var module = __webpack_require__(1);
var args = [Globalize];


if (typeof module === 'function') {
module.apply(null, args || [])
}


/***/ 0:

/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {

'use strict';

exports.__esModule = true;
exports.default = globalizeLocalizers;

var _react = __webpack_require__(20);
var _react = __webpack_require__(2);

var _configure = __webpack_require__(91);
var _configure = __webpack_require__(3);

var _configure2 = _interopRequireDefault(_configure);

Expand Down Expand Up @@ -264,21 +268,16 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];

/***/ },

/***/ 20:
/* 2 */
/***/ function(module, exports) {

module.exports = __WEBPACK_EXTERNAL_MODULE_20__;
module.exports = window.React;

/***/ },

/***/ 91:
/* 3 */
/***/ function(module, exports) {

module.exports = __WEBPACK_EXTERNAL_MODULE_91__;
module.exports = window.ReactWidgets;

/***/ }

/******/ })
});
;
/******/ ]);
42 changes: 21 additions & 21 deletions dist/react-widgets-moment.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
/*! (c) 2016 Jason Quense | https://github.com/jquense/react-widgets/blob/master/License.txt */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("ReactWidgets"));
else if(typeof define === 'function' && define.amd)
define(["ReactWidgets"], factory);
else if(typeof exports === 'object')
exports["ReactWidgets"] = factory(require("ReactWidgets"));
else
root["ReactWidgets"] = factory(root["ReactWidgets"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_91__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

Expand Down Expand Up @@ -51,9 +41,23 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

/*** IMPORTS FROM imports-loader ***/
var module = __webpack_require__(1);
var args = [moment];


if (typeof module === 'function') {
module.apply(null, args || [])
}


/***/ 0:

/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {

'use strict';
Expand Down Expand Up @@ -119,7 +123,7 @@ return /******/ (function(modules) { // webpackBootstrap
return localizer;
};

var _configure = __webpack_require__(91);
var _configure = __webpack_require__(2);

var _configure2 = _interopRequireDefault(_configure);

Expand All @@ -128,14 +132,10 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];

/***/ },

/***/ 91:
/* 2 */
/***/ function(module, exports) {

module.exports = __WEBPACK_EXTERNAL_MODULE_91__;
module.exports = window.ReactWidgets;

/***/ }

/******/ })
});
;
/******/ ]);
59 changes: 28 additions & 31 deletions dist/react-widgets-simple-number.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
/*! (c) 2016 Jason Quense | https://github.com/jquense/react-widgets/blob/master/License.txt */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("ReactWidgets"));
else if(typeof define === 'function' && define.amd)
define(["ReactWidgets"], factory);
else if(typeof exports === 'object')
exports["ReactWidgets"] = factory(require("ReactWidgets"));
else
root["ReactWidgets"] = factory(root["ReactWidgets"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_91__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

Expand Down Expand Up @@ -51,9 +41,23 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

/*** IMPORTS FROM imports-loader ***/
var module = __webpack_require__(1);
var args = [];


if (typeof module === 'function') {
module.apply(null, args || [])
}



/***/ 0:
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {

'use strict';
Expand All @@ -64,15 +68,15 @@ return /******/ (function(modules) { // webpackBootstrap

exports.default = simpleNumber;

var _configure = __webpack_require__(91);
var _configure = __webpack_require__(2);

var _configure2 = _interopRequireDefault(_configure);

var _formatNumberWithString = __webpack_require__(92);
var _formatNumberWithString = __webpack_require__(3);

var _formatNumberWithString2 = _interopRequireDefault(_formatNumberWithString);

var _deconstructNumberFormat = __webpack_require__(93);
var _deconstructNumberFormat = __webpack_require__(4);

var _deconstructNumberFormat2 = _interopRequireDefault(_deconstructNumberFormat);

Expand Down Expand Up @@ -137,21 +141,19 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];

/***/ },

/***/ 91:
/* 2 */
/***/ function(module, exports) {

module.exports = __WEBPACK_EXTERNAL_MODULE_91__;
module.exports = window.ReactWidgets;

/***/ },

/***/ 92:
/* 3 */
/***/ function(module, exports, __webpack_require__) {

'use strict';

var deconstructNumberFormat = __webpack_require__(93);
var formatFactory = __webpack_require__(94);
var deconstructNumberFormat = __webpack_require__(4);
var formatFactory = __webpack_require__(5);

exports = module.exports = function formatNumberWithString(value, requiredFormat, overrideOptions) {

Expand Down Expand Up @@ -187,8 +189,7 @@ return /******/ (function(modules) { // webpackBootstrap
};

/***/ },

/***/ 93:
/* 4 */
/***/ function(module, exports) {

'use strict';
Expand Down Expand Up @@ -393,8 +394,7 @@ return /******/ (function(modules) { // webpackBootstrap
};

/***/ },

/***/ 94:
/* 5 */
/***/ function(module, exports) {


Expand Down Expand Up @@ -655,7 +655,4 @@ return /******/ (function(modules) { // webpackBootstrap


/***/ }

/******/ })
});
;
/******/ ]);
28 changes: 11 additions & 17 deletions dist/react-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -2187,13 +2187,16 @@ return /******/ (function(modules) { // webpackBootstrap
function dataIndexOf(data, item, valueField) {
var idx = -1,
len = data.length,
finder = function finder(datum) {
isValueEqual = function isValueEqual(datum) {
return valueMatcher(item, datum, valueField);
};

while (++idx < len) {
if (finder(data[idx])) return idx;
}return -1;
var datum = data[idx];
if (datum === item || isValueEqual(datum)) return idx;
}

return -1;
}

/**
Expand All @@ -2205,15 +2208,7 @@ return /******/ (function(modules) { // webpackBootstrap
}

function dataItem(data, item, valueField) {
var first = data[0],
idx;

// make an attempt to see if we were passed in dataItem vs just a valueField value
// either an object with the right prop, or a primitive
// { valueField: 5 } || "hello" [ "hello" ]
if ((0, _.has)(item, valueField) || (typeof first === 'undefined' ? 'undefined' : _typeof(first)) === (typeof item === 'undefined' ? 'undefined' : _typeof(item))) return item;

idx = dataIndexOf(data, dataValue(item, valueField), valueField);
var idx = dataIndexOf(data, dataValue(item, valueField), valueField);

if (idx !== -1) return data[idx];

Expand Down Expand Up @@ -8715,7 +8710,6 @@ return /******/ (function(modules) { // webpackBootstrap

mixins: [__webpack_require__(52), __webpack_require__(55), __webpack_require__(56), __webpack_require__(61), __webpack_require__(62)({
willHandle: function willHandle(focused) {

focused && this.focus();
},
didHandle: function didHandle(focused) {
Expand Down Expand Up @@ -8965,8 +8959,8 @@ return /******/ (function(modules) { // webpackBootstrap
var elementProps = _3.default.omitOwnProps(this, List);

var shouldRenderTags = !!dataItems.length,
shouldRenderPopup = open || (0, _widgetHelpers.isFirstFocusedRender)(this),
shouldShowCreate = this._shouldShowCreate();
shouldRenderPopup = (0, _widgetHelpers.isFirstFocusedRender)(this) || open,
shouldShowCreate = this.shouldShowCreate();

var tagsID = (0, _widgetHelpers.instanceId)(this, '_taglist'),
listID = (0, _widgetHelpers.instanceId)(this, '__listbox'),
Expand Down Expand Up @@ -9082,7 +9076,7 @@ return /******/ (function(modules) { // webpackBootstrap

if (key === 'ArrowDown') {
var next = list.next(focusedItem),
creating = this._shouldShowCreate() && focusedItem === next || focusedItem === null;
creating = this.shouldShowCreate() && focusedItem === next || focusedItem === null;

next = creating ? null : next;

Expand Down Expand Up @@ -9136,7 +9130,7 @@ return /******/ (function(modules) { // webpackBootstrap

return items;
},
_shouldShowCreate: function _shouldShowCreate() {
shouldShowCreate: function shouldShowCreate() {
var _props6 = this.props;
var textField = _props6.textField;
var searchTerm = _props6.searchTerm;
Expand Down
9 changes: 4 additions & 5 deletions lib/Multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ var Multiselect = _react2.default.createClass((_obj = {

mixins: [require('./mixins/TimeoutMixin'), require('./mixins/DataFilterMixin'), require('./mixins/PopupScrollToMixin'), require('./mixins/RtlParentContextMixin'), require('./mixins/FocusMixin')({
willHandle: function willHandle(focused) {

focused && this.focus();
},
didHandle: function didHandle(focused) {
Expand Down Expand Up @@ -404,8 +403,8 @@ var Multiselect = _react2.default.createClass((_obj = {
var elementProps = _3.default.omitOwnProps(this, List);

var shouldRenderTags = !!dataItems.length,
shouldRenderPopup = open || (0, _widgetHelpers.isFirstFocusedRender)(this),
shouldShowCreate = this._shouldShowCreate();
shouldRenderPopup = (0, _widgetHelpers.isFirstFocusedRender)(this) || open,
shouldShowCreate = this.shouldShowCreate();

var tagsID = (0, _widgetHelpers.instanceId)(this, '_taglist'),
listID = (0, _widgetHelpers.instanceId)(this, '__listbox'),
Expand Down Expand Up @@ -521,7 +520,7 @@ var Multiselect = _react2.default.createClass((_obj = {

if (key === 'ArrowDown') {
var next = list.next(focusedItem),
creating = this._shouldShowCreate() && focusedItem === next || focusedItem === null;
creating = this.shouldShowCreate() && focusedItem === next || focusedItem === null;

next = creating ? null : next;

Expand Down Expand Up @@ -575,7 +574,7 @@ var Multiselect = _react2.default.createClass((_obj = {

return items;
},
_shouldShowCreate: function _shouldShowCreate() {
shouldShowCreate: function shouldShowCreate() {
var _props6 = this.props;
var textField = _props6.textField;
var searchTerm = _props6.searchTerm;
Expand Down
2 changes: 1 addition & 1 deletion lib/less/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ ul.rw-list {
.rw-combobox input.rw-input,
.rw-datetimepicker input.rw-input,
.rw-numberpicker input.rw-input {
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075)");
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
}


Expand Down
Loading

0 comments on commit 17aeefe

Please sign in to comment.