From c6298c5db8b0acda7fbac367b9c477a01b9d5331 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Mon, 31 Dec 2018 10:35:09 -0800 Subject: [PATCH] Examples deploy --- examples/bundle.js | 2 +- examples/report.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bundle.js b/examples/bundle.js index ad7d7cc5..f263eea1 100644 --- a/examples/bundle.js +++ b/examples/bundle.js @@ -3,7 +3,7 @@ object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=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=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!0},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){var e;return(e=console).log.apply(e,arguments)},e.exports=t.default},function(e,t,n){"use strict";(function(t){var n="undefined"==typeof window?t:window,r=function(e,t,n){return function(r,i){var o=e(function(){t.call(this,o),r.apply(this,arguments)}.bind(this),i);return this[n]?this[n].push(o):this[n]=[o],o}},i=function(e,t){return function(n){if(this[t]){var r=this[t].indexOf(n);-1!==r&&this[t].splice(r,1)}e(n)}},o="TimerMixin_timeouts",a=i(n.clearTimeout,o),l=r(n.setTimeout,a,o),s="TimerMixin_intervals",u=i(n.clearInterval,s),c=r(n.setInterval,function(){},s),f="TimerMixin_immediates",d=i(n.clearImmediate,f),p=r(n.setImmediate,d,f),h="TimerMixin_rafs",m=i(n.cancelAnimationFrame,h),_={componentWillUnmount:function(){this[o]&&this[o].forEach(function(e){n.clearTimeout(e)}),this[o]=null,this[s]&&this[s].forEach(function(e){n.clearInterval(e)}),this[s]=null,this[f]&&this[f].forEach(function(e){n.clearImmediate(e)}),this[f]=null,this[h]&&this[h].forEach(function(e){n.cancelAnimationFrame(e)}),this[h]=null},setTimeout:l,clearTimeout:a,setInterval:c,clearInterval:u,setImmediate:p,clearImmediate:d,requestAnimationFrame:r(n.requestAnimationFrame,m,h),cancelAnimationFrame:m};e.exports=_}).call(this,n(64))},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;console.warn("`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead"),this.scrollTo({x:t,y:e,animated:!1})},render:function(){var e=this.props,t=e.contentContainerStyle,n=e.horizontal,i=e.onContentSizeChange,o=e.refreshControl,a=e.stickyHeaderIndices,s=e.pagingEnabled,d=(e.keyboardDismissMode,e.onScroll,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","keyboardDismissMode","onScroll"])),h={};i&&(h={onLayout:this._handleContentOnLayout});var m=!n&&Array.isArray(a),_=m||s?p.default.Children.map(this.props.children,function(e,t){if(null==e)return e;var n=m&&a.indexOf(t)>-1;return n||s?p.default.createElement(f.default,{style:c.default.compose(n&&g.stickyHeader,s&&g.pagingEnabledChild)},e):void 0}):this.props.children,y=p.default.createElement(f.default,r({},h,{children:_,collapsable:!1,ref:this._setInnerViewRef,style:c.default.compose(n&&g.contentContainerHorizontal,t)})),b=n?g.baseHorizontal:g.baseVertical,v=n?g.pagingEnabledHorizontal:g.pagingEnabledVertical,N=Object.assign({},d,{style:[b,s&&v,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject}),E=u.default;return(0,l.default)(void 0!==E,"ScrollViewClass must not be undefined"),o?p.default.cloneElement(o,{style:N.style},p.default.createElement(E,r({},N,{ref:this._setScrollViewRef,style:b}),y)):p.default.createElement(E,r({},N,{ref:this._setScrollViewRef}),y)},_handleContentOnLayout:function(e){var t=e.nativeEvent.layout,n=t.width,r=t.height;this.props.onContentSizeChange(n,r)},_handleScroll:function(e){"on-drag"===this.props.keyboardDismissMode&&(0,o.default)(),this.scrollResponderHandleScroll(e)},_setInnerViewRef:function(e){this._innerViewRef=e},_setScrollViewRef:function(e){this._scrollViewRef=e}}),b={flexGrow:1,flexShrink:1,transform:[{translateZ:0}],WebkitOverflowScrolling:"touch"},g=c.default.create({baseVertical:Object.assign({},b,{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:Object.assign({},b,{flexDirection:"row",overflowX:"auto",overflowY:"hidden"}),contentContainerHorizontal:{flexDirection:"row"},stickyHeader:{position:"sticky",top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:"x mandatory"},pagingEnabledVertical:{scrollSnapType:"y mandatory"},pagingEnabledChild:{scrollSnapAlign:"start"}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r={UIManager:function(e){return e&&e.__esModule?e:{default:e}}(n(29)).default};t.default=r,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(123)),i=o(n(10));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,r.default)(e);return function(e,n,r,o){var a=e;if(e[n]){a={};var l=i.default.flatten(e[n]),s=Object.keys(l).reduce(function(e,t){return 0!==t.indexOf("--")&&(e[t]=l[t]),e},{});a[n]=s}for(var u=arguments.length,c=Array(u>4?u-4:0),f=4;f=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 i=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:i}))}}),_=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)),i=u(n(381)),o=u(n(25)),a=(u(n(130)),u(n(380))),l=(u(n(8)),u(n(379))),s=u(n(29));u(n(11));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",y="ERROR",b={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},g={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",E="RESPONDER_GRANT",w="RESPONDER_RELEASE",x="RESPONDER_TERMINATED",S="ENTER_PRESS_RECT",T="LEAVE_PRESS_RECT",C="LONG_PRESS_DETECTED",k={NOT_RESPONDER:{DELAY:y,RESPONDER_GRANT:f,RESPONDER_RELEASE:y,RESPONDER_TERMINATED:y,ENTER_PRESS_RECT:y,LEAVE_PRESS_RECT:y,LONG_PRESS_DETECTED:y},RESPONDER_INACTIVE_PRESS_IN:{DELAY:p,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:f,LEAVE_PRESS_RECT:d,LONG_PRESS_DETECTED:y},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:h,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:f,LEAVE_PRESS_RECT:d,LONG_PRESS_DETECTED:y},RESPONDER_ACTIVE_PRESS_IN:{DELAY:y,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:p,LEAVE_PRESS_RECT:h,LONG_PRESS_DETECTED:m},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:y,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:p,LEAVE_PRESS_RECT:h,LONG_PRESS_DETECTED:y},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:y,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:m,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:m},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:y,RESPONDER_GRANT:y,RESPONDER_RELEASE:c,RESPONDER_TERMINATED:c,ENTER_PRESS_RECT:m,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:y},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,o.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(E,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(w,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},i=r.left,o=r.top,a=r.right,s=r.bottom,u=this.touchableGetHitSlop?this.touchableGetHitSlop():null;u&&(i+=u.left,o+=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-i&&p>t.top-o&&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,i.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:b.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:C,ItemSeparatorComponent:O,PlainInput:function(e){return h.createElement(w,(0,i.default)({autoCapitalize:"none",autoCorrect:!1,clearButtonMode:"always",underlineColorAndroid:"transparent",style:j.searchTextInput},e,{__source:{fileName:d,lineNumber:222}}))},SeparatorComponent:P,Spindicator:I,genItemData:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=t;r0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(27),i=n(338),o=n(102),a=n(109)("IE_PROTO"),l=function(){},s=function(){var e,t=n(107)("iframe"),r=o.length;for(t.style.display="none",n(151).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("