diff --git a/build/react-whs.js b/build/react-whs.js index 355193f..0561c89 100644 --- a/build/react-whs.js +++ b/build/react-whs.js @@ -1,6 +1,7 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("whs")):"function"==typeof define&&define.amd?define(["whs"],t):"object"==typeof exports?exports.WHSReact=t(require("whs")):e.WHSReact=t(e.WHS)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=63)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return function(t){function r(){var t;o(this,r);for(var n=arguments.length,u=Array(n),a=0;a1){for(var h=Array(v),b=0;b1){for(var m=Array(_),g=0;g<_;g++)m[g]=arguments[g+2];l.children=m}return s(e.type,p,d,y,v,h,l)},s.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},e.exports=s},function(e,t,r){"use strict";function n(e,t,r,n,i,u,a,c){if(o(t),!e){var f;if(void 0===t)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,i,u,a,c],l=0;f=new Error(t.replace(/%s/g,function(){return s[l++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var o=function(e){};e.exports=n},function(e,t,r){"use strict";function n(e){for(var t=arguments.length-1,r="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,n=0;n0?t.map(function(t){return e.wrapChild(t)}):t?this.wrapChild(t):null}},{key:"mount",value:function(){var e=this;this.props.onParentMount&&this.props.parent&&this.props.onParentMount(function(){return e.props.parent.add(e.native)}),this.defer.forEach(function(e){return e()})}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e,t,n,r,u,i,a,c){if(o(t),!e){var f;if(void 0===t)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,u,i,a,c],l=0;f=new Error(t.replace(/%s/g,function(){return s[l++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var o=function(e){};o=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")},e.exports=r},function(e,t,n){"use strict";var r=n(4),o=r,u=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2?n-2:0),o=2;o0?t.map(function(t){return e.wrapChild(t)}):t?this.wrapChild(t):null}},{key:"mount",value:function(){var e=this;this.props.onParentMount&&this.props.parent&&this.props.onParentMount(function(){return e.props.parent.add(e.native)}),this.defer.forEach(function(e){return e()})}}]),t}(c.Component)},function(e,t,r){"use strict";var n={current:null};e.exports=n},function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,r){"use strict";var n={};e.exports=n},function(e,t,r){"use strict";var n=!1;e.exports=n},function(e,t,r){"use strict";function n(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.App=void 0;var a=function(){function e(e,t){for(var r=0;r>"),k={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:a(),arrayOf:c,element:f(),instanceOf:s,node:y(),objectOf:p,oneOf:l,oneOfType:d,shape:v};o.prototype=Error.prototype,e.exports=k},function(e,t,r){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.props=e,this.context=t,this.refs=c,this.updater=r||a}function o(){}var i=r(6),u=r(9),a=r(10),c=r(8);o.prototype=u.prototype,n.prototype=new o,n.prototype.constructor=n,i(n.prototype,u.prototype),n.prototype.isPureReactComponent=!0,e.exports=n},function(e,t,r){"use strict";e.exports="15.4.2"},function(e,t,r){"use strict";function n(e){return i.isValidElement(e)?void 0:o("143"),e}var o=r(5),i=r(3);r(4);e.exports=n},function(e,t,r){"use strict";function n(e,t){return e&&"object"==typeof e&&null!=e.key?f.escape(e.key):t.toString(36)}function o(e,t,r,i){var p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===a)return r(i,e,""===t?s+n(e,0):t),1;var d,y,v=0,h=""===t?s:t+l;if(Array.isArray(e))for(var b=0;b.")}return t}function x(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=S(t);if(!Ye[n]){Ye[n]=!0;var r="";e&&e._owner&&e._owner!==re.current&&(r=" It was passed a child from "+qe(e._owner)+"."),Be=e,Fe(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',n,r,Ve()),Be=null}}}function R(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n1?t-1:0),r=1;r2?n-2:0),o=2;o1){for(var y=Array(d),v=0;v1){for(var y=Array(d),v=0;v