From 1fe7a8e9f474fb145b0bad79cbe55c489e70e1ac Mon Sep 17 00:00:00 2001 From: Deepak Grover Date: Thu, 12 Apr 2018 14:27:32 +0530 Subject: [PATCH] web: build v2.4.0 --- packages/reactivecore | 2 +- packages/web/package.json | 2 +- packages/web/umd/reactivesearch.js | 2 +- packages/web/umd/reactivesearch.js.br | Bin 110524 -> 110577 bytes packages/web/umd/reactivesearch.js.gzip | Bin 138540 -> 138560 bytes yarn.lock | 211 ++++++++++++------------ 6 files changed, 108 insertions(+), 109 deletions(-) diff --git a/packages/reactivecore b/packages/reactivecore index 6eddd146a7..f56af3fc3f 160000 --- a/packages/reactivecore +++ b/packages/reactivecore @@ -1 +1 @@ -Subproject commit 6eddd146a7b911e6845da34da7ffc5080e2640d2 +Subproject commit f56af3fc3fb01fc9664889d34273d314d2a28a62 diff --git a/packages/web/package.json b/packages/web/package.json index 4c3cf72a2d..a2dd1c3230 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -27,7 +27,7 @@ "author": "metagrover", "license": "Apache-2.0", "dependencies": { - "@appbaseio/reactivecore": "^1.5.2", + "@appbaseio/reactivecore": "^1.5.3", "appbase-js": "^2.3.0", "downshift": "^1.31.2", "emotion": "^9.0.0", diff --git a/packages/web/umd/reactivesearch.js b/packages/web/umd/reactivesearch.js index 8d1a6626e5..cbea1334aa 100644 --- a/packages/web/umd/reactivesearch.js +++ b/packages/web/umd/reactivesearch.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("ReactiveSearch",["react"],t):"object"==typeof exports?exports.ReactiveSearch=t(require("react")):e.ReactiveSearch=t(e.React)}("undefined"==typeof self?this:self,function(e){var t=Math.PI,n=Math.sqrt,r=Math.LN2,o=Math.abs,a=Math.log,i=Math.pow,s=String.fromCharCode,u=Math.exp,l=Math.expm1,c=Math.max,f=Math.round,p=Math.floor,d=Math.ceil,h=Math.min;return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=195)}([function(e,t,n){var r=n(4),o=n(34),a=n(24),i=n(25),s=n(31),u=function(e,t,n){var l,c,f,p,d=e&u.F,h=e&u.G,y=e&u.S,m=e&u.P,g=e&u.B,v=h?r:y?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(l in h&&(n=t),n)c=!d&&v&&void 0!==v[l],f=(c?v:n)[l],p=g&&c?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,v&&i(v,l,f,e&u.U),b[l]!=f&&a(b,l,p),m&&w[l]!=f&&(w[l]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(t){t.exports=e},function(e,t,n){function r(e,t){return isNaN(e[t])?new Error(t+" value must be a number"):"lat"===t&&(-90>e[t]||90e[t]||180>8-a%1*8)){if(255<(e=n.charCodeAt(a+=.75)))throw new Error('"btoa" failed: The string to be encoded contains characters outside of the Latin1 range.');o=o<<8|e}return r},t.isAppbase=function(e){return n(e.url,"scalr.api.appbase.io")},t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=0|16*Math.random();return("x"==e?t:8|3&t).toString(16)})}},function(e,t,n){var r=n(14),o=n(47);e.exports=n(13)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(4),o=n(24),a=n(27),i=n(48)("src"),s=Function.toString,u=(""+s).split("toString");n(34).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(a(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(a(n,i)||o(n,i,e[t]?""+e[t]:u.join(t+""))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||s.call(this)})},function(e,t,n){var r=n(0),o=n(6),a=n(36),i=/"/g,s=function(e,t,n,r){var o=a(e)+"",s="<"+t;return""!==n&&(s+=" "+n+'="'+(r+"").replace(i,""")+'"'),s+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3v;v++)if((5==e||l||v in y)&&(p=y[v],d=m(p,v,h),e))if(n)b[v]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:b.push(p)}else if(u)return!1;return l?-1:3==e||u?u:b}}},function(e,t,n){"use strict";t.__esModule=!0,t.input=t.suggestions=t.suggestionsContainer=void 0;var r=n(21),o=n(17),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.theme;return(0,r.css)("border:1px solid ",t.colors.alertColor,";")},s=(0,r.css)("width:100%;height:42px;padding:8px 12px;border:1px solid #ccc;background-color:#fafafa;font-size:0.9rem;outline:none;&:focus{background-color:#fff;}"),u=function(e){return(0,r.css)("border-color:",e.colors.borderColor,";")},l=function(e){var t=e.theme;return(0,r.css)("background-color:",t.colors.backgroundColor,";color:",t.colors.textColor,";",u(t),";&:focus{background-color:",t.colors.backgroundColor,";}")},c=(0,a.default)("input",{target:"enqjda90"})(s,";",function(e){return"dark"===e.themePreset&&l},";",function(e){return e.showIcon&&"left"===e.iconPosition&&(0,r.css)("padding-left:32px;")},";",function(e){return e.showIcon&&"right"===e.iconPosition&&(0,r.css)("padding-right:32px;")},";",function(e){return e.showClear&&(0,r.css)("padding-right:32px;")},";",function(e){return e.showClear&&e.showIcon&&"right"===e.iconPosition&&(0,r.css)("padding-right:48px;")},";",function(e){return e.alert&&i},";"),f=(0,r.css)("position:relative;.cancel-icon{cursor:pointer;}");t.default=c,t.suggestionsContainer=f,t.suggestions=function(e,t){return(0,r.css)("display:block;width:100%;border:1px solid #ccc;background-color:#fff;font-size:0.9rem;z-index:3;position:absolute;top:41px;margin:0;padding:0;list-style:none;max-height:260px;overflow-y:auto;&.small{top:30px;}li{display:flex;justify-content:space-between;cursor:pointer;padding:10px;user-select:none;& > .trim{display:block;display:-webkit-box;width:100%;max-height:2.3rem;line-height:1.2rem;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}&:hover,&:focus{background-color:#eee;}}","dark"===e&&u(t))},t.input=s},function(e,t,n){"use strict";if(n(13)){var r=n(49),o=n(4),a=n(6),i=n(0),s=n(86),u=n(125),l=n(31),c=n(55),d=n(47),h=n(24),y=n(57),m=n(37),g=n(15),v=n(172),b=n(51),w=n(35),C=n(27),_=n(69),O=n(7),P=n(18),S=n(116),k=n(52),E=n(30),x=n(53).f,I=n(118),R=n(48),T=n(10),N=n(39),M=n(77),A=n(84),j=n(121),V=n(61),D=n(81),L=n(54),F=n(120),Q=n(162),q=n(14),U=n(29),B=q.f,W=U.f,H=o.RangeError,z=o.TypeError,K=o.Uint8Array,Y=Array.prototype,G=u.ArrayBuffer,J=u.DataView,X=N(0),Z=N(2),$=N(3),ee=N(4),te=N(5),ne=N(6),re=M(!0),oe=M(!1),ae=j.values,ie=j.keys,se=j.entries,ue=Y.lastIndexOf,le=Y.reduce,ce=Y.reduceRight,fe=Y.join,pe=Y.sort,de=Y.slice,he=Y.toString,ye=Y.toLocaleString,me=T("iterator"),ge=T("toStringTag"),ve=R("typed_constructor"),be=R("def_constructor"),we=s.CONSTR,Ce=s.TYPED,_e=s.VIEW,Oe=N(1,function(e,t){return xe(A(e,e[be]),t)}),Pe=a(function(){return 1===new K(new Uint16Array([1]).buffer)[0]}),Se=!!K&&!!K.prototype.set&&a(function(){new K(1).set({})}),ke=function(e,t){var n=m(e);if(0>n||n%t)throw H("Wrong offset!");return n},Ee=function(e){if(O(e)&&Ce in e)return e;throw z(e+" is not a typed array!")},xe=function(e,t){if(!(O(e)&&ve in e))throw z("It is not a typed array constructor!");return new e(t)},Ie=function(e,t){return Re(A(e,e[be]),t)},Re=function(e,t){for(var n=0,r=t.length,o=xe(e,r);r>n;)o[n]=t[n++];return o},Te=function(e,t,n){B(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,r,o,a,i,s=P(e),u=arguments.length,c=1t;t++)o[t]=f?c(s[t],t):s[t];return o},Me=function(){for(var e=0,t=arguments.length,n=xe(this,t);t>e;)n[e]=arguments[e++];return n},Ae=!!K&&a(function(){ye.call(new K(1))}),je=function(){return ye.apply(Ae?de.call(Ee(this)):Ee(this),arguments)},Ve={copyWithin:function(e,t){return Q.call(Ee(this),e,t,2n)throw H("Wrong length!");for(;a(r=f(r))?0:255(i=d-p))throw H("Wrong length!")}else if((i=g(o)*t)+p>d)throw H("Wrong length!");s=i/t}else s=v(n),i=s*t,a=new G(i);for(h(e,"_d",{b:a,o:p,l:i,e:s,v:new J(a)});f ({})}!");return t}if(!O(e))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return void 0===this.outerTheme?e:r({},this.outerTheme,e)}function c(e){this.broadcast.publish(this.getTheme(e))}function f(){return this.props.children?y.Children.only(this.props.children):null}function p(){var e=this,t=this.context[C];return void 0===t?void console.error("[withTheme] Please use ThemeProvider to be able to use withTheme"):void(this.unsubscribeId=t.subscribe(function(t){e.setState({theme:t})}))}function d(){-1!==this.unsubscribeId&&this.context[C].unsubscribe(this.unsubscribeId)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"ThemeProvider",function(){return P}),n.d(t,"withTheme",function(){return S}),n.d(t,"channel",function(){return C}),n.d(t,"contextTypes",function(){return _});var h,y=n(1),m=(n.n(y),n(19)),g=n.n(m),v=n(136),b=n.n(v),w=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var o=t[n];void 0!==o&&o(r)}},subscribe:function(e){var o=n;return t[o]=e,n+=1,e(r),o},unsubscribe:function(e){t[e]=void 0}}},C="__EMOTION_THEMING__",_=(h={},h[C]=g.a.object,h),O=function(e){return"[object Object]"===Object.prototype.toString.call(e)},P=function(e){function t(){var t;return t=e.call(this)||this,t.getTheme=t.getTheme.bind(t),t}o(t,e);var n=t.prototype;return n.componentWillMount=a,n.getChildContext=i,n.componentWillReceiveProps=s,n.componentWillUnmount=u,n.getTheme=l,n.publish=c,n.render=f,t}(y.Component);P.childContextTypes=_,P.contextTypes=_;var S=function(e){function t(){return Object(y.createElement)(e,r({theme:this.state.theme},this.props))}var n=e.displayName||e.name||"Component",a=function(e){function n(){return e.apply(this,arguments)||this}o(n,e);var r=n.prototype;return r.componentWillMount=p,r.componentWillUnmount=d,r.render=t,n}(y.Component);return a.displayName="WithTheme("+n+")",a.contextTypes=_,b()(a,e)}},function(e,t,n){"use strict";function r(e){return this instanceof r?(l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),void this.once("end",o)):new r(e)}function o(){this.allowHalfOpen||this._writableState.ended||i.nextTick(a,this)}function a(e){e.end()}var i=n(74),s=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var u=n(66);u.inherits=n(58);var l=n(138),c=n(99);u.inherits(r,l);for(var f,p=s(c.prototype),d=0;de?c(e+t,0):h(e,t)}},function(e,t,n){var r=n(3),o=n(149),a=n(103),i=n(102)("IE_PROTO"),s=function(){},u=function(){var e,t=n(100)("iframe"),r=a.length;for(t.style.display="none",n(104).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("