From 1490c4eedea80f40d366973d539ee6984ab187d9 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 28 Jun 2018 09:49:53 -0700 Subject: [PATCH] Examples deploy --- examples/bundle.js | 4 ++-- examples/report.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/bundle.js b/examples/bundle.js index 0e87aad9..cb6a9166 100644 --- a/examples/bundle.js +++ b/examples/bundle.js @@ -3,7 +3,7 @@ object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["delayLongPress","delayPressIn","delayPressOut","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset"])),n=a.default.Children.only(this.props.children),r=n.props.children;(0,f.default)(!n.type||"Text"!==n.type.displayName,"TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See "+(n._owner&&n._owner.getName&&n._owner.getName()||""));var o=u.default.TOUCH_TARGET_DEBUG&&n.type&&"Text"===n.type.displayName?[!this.props.disabled&&_.actionable,n.props.style,{color:"red"}]:[!this.props.disabled&&_.actionable,n.props.style];return a.default.cloneElement(n,Object.assign({},t,{accessible:!1!==this.props.accessible,children:r,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:o}))}}),_=l.default.create({actionable:{cursor:"pointer",touchAction:"manipulation"}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(132)),o=u(n(376)),i=u(n(24)),a=(u(n(130)),u(n(375))),l=(u(n(0)),u(n(374))),s=u(n(28));u(n(10));function u(e){return e&&e.__esModule?e:{default:e}}var c="NOT_RESPONDER",f="RESPONDER_INACTIVE_PRESS_IN",d="RESPONDER_INACTIVE_PRESS_OUT",p="RESPONDER_ACTIVE_PRESS_IN",h="RESPONDER_ACTIVE_PRESS_OUT",m="RESPONDER_ACTIVE_LONG_PRESS_IN",_="RESPONDER_ACTIVE_LONG_PRESS_OUT",b="ERROR",g={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},y={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},v={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},N="DELAY",w="RESPONDER_GRANT",E="RESPONDER_RELEASE",x="RESPONDER_TERMINATED",S="ENTER_PRESS_RECT",C="LEAVE_PRESS_RECT",T="LONG_PRESS_DETECTED",k={NOT_RESPONDER:{DELAY:b,RESPONDER_GRANT:f,RESPONDER_RELEASE:b,RESPONDER_TERMINATED:b,ENTER_PRESS_RECT:b,LEAVE_PRESS_RECT:b,LONG_PRESS_DETECTED:b},RESPONDER_INACTIVE_PRESS_IN:{DELAY:p,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:f,LEAVE_PRESS_RECT:d,LONG_PRESS_DETECTED:b},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:h,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:f,LEAVE_PRESS_RECT:d,LONG_PRESS_DETECTED:b},RESPONDER_ACTIVE_PRESS_IN:{DELAY:b,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:p,LEAVE_PRESS_RECT:h,LONG_PRESS_DETECTED:m},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:b,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:p,LEAVE_PRESS_RECT:h,LONG_PRESS_DETECTED:b},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:b,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:m,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:m},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:b,RESPONDER_GRANT:b,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:m,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:b},error:{DELAY:c,RESPONDER_GRANT:f,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:c,LEAVE_PRESS_RECT:c,LONG_PRESS_DETECTED:c}},R={Mixin:{componentDidMount:function(){var e=this;this._touchableNode=(0,i.default)(this),this._touchableNode&&this._touchableNode.addEventListener&&(this._touchableBlurListener=function(t){e._isTouchableKeyboardActive&&(e.state.touchable.touchState&&e.state.touchable.touchState!==c&&e.touchableHandleResponderTerminate({nativeEvent:t}),e._isTouchableKeyboardActive=!1)},this._touchableNode.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){this._touchableNode&&this._touchableNode.addEventListener&&this._touchableNode.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=c,this.state.touchable.responderID=t,this._receiveSignal(w,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(n=isNaN(n)?130:n)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n):(this.state.touchable.positionOnActivate=null,this._handleDelay(e));var r=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;r=isNaN(r)?370:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this._receiveSignal(E,e)},touchableHandleResponderTerminate:function(e){this._receiveSignal(x,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.touchState!==f&&this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},o=r.left,i=r.top,a=r.right,s=r.bottom,u=this.touchableGetHitSlop?this.touchableGetHitSlop():null;u&&(o+=u.left,i+=u.top,a+=u.right,s+=u.bottom);var c=l.default.extractSingleTouch(e.nativeEvent),d=c&&c.pageX,p=c&&c.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(d,p,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(d>t.left-o&&p>t.top-i&&d=0;n--)t=(t<<5)-t+e.charCodeAt(n);return t}var D={height:30,width:100},V=v.hairlineWidth;var j=v.create({headerFooter:(0,o.default)({},D,{alignSelf:"center",alignItems:"center",justifyContent:"center"}),headerFooterContainer:{backgroundColor:"rgb(239, 239, 244)"},horizItem:{alignSelf:"flex-start"},item:{flex:1},itemSeparator:{height:V,backgroundColor:"rgb(200, 199, 204)",marginLeft:60},option:{flexDirection:"row",padding:8,paddingRight:0},row:{flexDirection:"row",padding:10,backgroundColor:"white"},searchTextInput:{backgroundColor:"white",borderColor:"#cccccc",borderRadius:3,borderWidth:1,paddingLeft:8,paddingVertical:0,height:26,fontSize:14,flexGrow:1},separator:{height:V,backgroundColor:"rgb(200, 199, 204)"},smallSwitch:g.select({android:{top:1,margin:-6,transform:[{scale:.7}]},ios:{top:4,margin:-10,transform:[{scale:.5}]}}),stacked:{alignItems:"center",backgroundColor:"white",padding:10},thumb:{width:50,height:50,left:-5},spindicator:{marginLeft:"auto",marginTop:8,width:2,height:16,backgroundColor:"darkgray"},stackedText:{padding:4,fontSize:18},text:{flex:1}});e.exports={FooterComponent:k,HeaderComponent:R,ItemComponent:T,ItemSeparatorComponent:I,PlainInput:function(e){return h.createElement(E,(0,o.default)({autoCapitalize:"none",autoCorrect:!1,clearButtonMode:"always",underlineColorAndroid:"transparent",style:j.searchTextInput},e,{__source:{fileName:d,lineNumber:222}}))},SeparatorComponent:P,Spindicator:O,genItemData:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=t;r0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),o=n(333),i=n(102),a=n(109)("IE_PROTO"),l=function(){},s=function(){var e,t=n(107)("iframe"),r=i.length;for(t.style.display="none",n(151).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("