@datorama/core 21.4.0-rc.6 → 21.4.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -627,5 +627,5 @@ function(t,e,o){if(void 0===o&&(o=1),!_t(e)||!_t(o))throw"period/initialDelay sh
627
627
  *
628
628
  * Use of this source code is governed by an Apache License 2.0 license that can be
629
629
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
630
- */,t.prependChild=Yt,t.publicApi=So,t.query=Ft,t.queryAll=Gt,t.random=function(t,e){if(void 0===t&&(t=0),void 0===e&&(e=1),!_t(t))throw"the lower bound is not a number";if(!_t(e))throw"the upper bound is not a number";if(t>e)throw"the upper bound should be grater than the lower bound";return 0===t&&1===e?Math.random():t+Math.floor(Math.random()*(e-t+1))},t.rawDiff=function(t,e){return JSON.stringify(t)!==JSON.stringify(e)},t.reject=function(t,e){return S(t,e)},t.relativeDateTypes=mn,t.removeClass=Wt,t.resolveRange=_s,t.round=function(t,e){if(!_t(t))throw"value to round is not a number";if(e&&!_t(e))throw"precision value is not a number";var n=e?Math.pow(10,e):Math.pow(10,2);return Math.round(t*n)/n},t.searchHighlightCellRenderer=Br,t.searchResultsGroupSort=ao,t.searchResultsSort=po,t.setAttr=zt,t.setAttribute=Qt,t.setDimensions=oe,t.setEmptyFolderClass=Aa,t.setGridConfiguration=function(t){er=mt(mt({},er),t)},t.setGridModel=ir,t.setMaxDimensions=function(t,e,n){oe(t,e,n,"max-")},t.setMinDimensions=ie,t.setStyle=Vt,t.setStyles=Ht,t.size=ye,t.sortBy=function(t,e){return y(t,e)},t.stubs=ap,t.supportedLocales=en,t.tapLog=function(t){return r.tap((function(e){return console.log("%c["+t+": Next]","color: #4CAF50;",e)}),(function(e){return console.log("%c"+t+": Error]","color: #F44336;",e)}),(function(){return console.log("%c["+t+": Complete]","color: #2196F3;")}))},t.tapOnce=$a,t.throttle=function(t,e,n){return T(t,e,n)},t.toBoolean=ge,t.toFormData=function(t,e){var n,o;void 0===e&&(e={});var i=new FormData;try{for(var r=wt(Object.keys(t)),a=r.next();!a.done;a=r.next()){var s=a.value,l=t[s];if(e.multiFileKey&&l instanceof FileList)for(var c=0,p=l.length;c<p;c++)i.append(s+"[]",l[c]);else i.append(s,l)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return i},t.toNumber=fe,t.toResponseBody=function(){return n.pipe(r.filter((function(t){return t.type===ht.HttpEventType.Response})),r.map((function(t){return t.body})))},t.toString=function(t){return t?t.toString():""},t.toggleClass=Kt,t.toolbarActionToContextAction=Lr,t.unescape=function(t){return B(t)},t.union=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return d.apply(void 0,xt(t))},t.uniq=de,t.uniqBy=ue,t.uploadProgress=function(t){return r.tap((function(e){e.type===ht.HttpEventType.UploadProgress&&t(Math.round(100*e.loaded/e.total))}))},t.validBase64Image=Re,t.validUrl=Ae,t.validateCondition=Tr,t.validateDate=Ps,t.validateDateCondition=Ir,t.validateFilter=Er,t.validateNumberCondition=Dr,t.validateRange=Rs,t.validateStringCondition=Or,t.values=Ce,t.workerMap=function(t){return function(e){return new n.Observable((function(n){var o=function(t){var e=new Blob(["self.cb = "+t+";self.onmessage = function (e) { self.postMessage(self.cb(e.data)) }"],{type:"text/javascript"}),n=URL.createObjectURL(e);return new Worker(n)}(t);return o.onmessage=function(t){n.next(t.data),o.terminate()},o.onerror=function(t){n.error(t),o.terminate()},e.subscribe({next:function(t){o.postMessage(t)}})}))}},t.zoneStable=En,t.ɵ0=va,t.ɵ1=Ca,t.ɵ2=fn,t.ɵb=Bn,t.ɵc=Po,t.ɵd=An,t.ɵe=fr,t.ɵf=sr,t.ɵg=Ma,t.ɵh=zs,t.ɵi=$s,t.ɵj=Js,t.ɵk=ja,t.ɵl=Cl,t.ɵm=fl,t.ɵn=gl,t.ɵo=Nl,Object.defineProperty(t,"__esModule",{value:!0})}));
630
+ */,t.prependChild=Yt,t.publicApi=So,t.query=Ft,t.queryAll=Gt,t.random=function(t,e){if(void 0===t&&(t=0),void 0===e&&(e=1),!_t(t))throw"the lower bound is not a number";if(!_t(e))throw"the upper bound is not a number";if(t>e)throw"the upper bound should be grater than the lower bound";return 0===t&&1===e?Math.random():t+Math.floor(Math.random()*(e-t+1))},t.rawDiff=function(t,e){return JSON.stringify(t)!==JSON.stringify(e)},t.reject=function(t,e){return S(t,e)},t.relativeDateTypes=mn,t.removeClass=Wt,t.resolveRange=_s,t.round=function(t,e){if(!_t(t))throw"value to round is not a number";if(e&&!_t(e))throw"precision value is not a number";var n=e?Math.pow(10,e):Math.pow(10,2);return Math.round(t*n)/n},t.searchHighlightCellRenderer=Br,t.searchResultsGroupSort=ao,t.searchResultsSort=po,t.setAttr=zt,t.setAttribute=Qt,t.setDimensions=oe,t.setEmptyFolderClass=Aa,t.setGridConfiguration=function(t){er=mt(mt({},er),t)},t.setGridModel=ir,t.setMaxDimensions=function(t,e,n){oe(t,e,n,"max-")},t.setMinDimensions=ie,t.setStyle=Vt,t.setStyles=Ht,t.size=ye,t.sortBy=function(t,e){return y(t,e)},t.stubs=ap,t.supportedLocales=en,t.tapLog=function(t){return r.tap((function(e){return console.log("%c["+t+": Next]","color: #4CAF50;",e)}),(function(e){return console.log("%c"+t+": Error]","color: #F44336;",e)}),(function(){return console.log("%c["+t+": Complete]","color: #2196F3;")}))},t.tapOnce=$a,t.throttle=function(t,e,n){return T(t,e,n)},t.toBoolean=ge,t.toFormData=function(t,e){var n,o;void 0===e&&(e={});var i=new FormData;try{for(var r=wt(Object.keys(t)),a=r.next();!a.done;a=r.next()){var s=a.value,l=t[s];if(e.multiFileKey&&l instanceof FileList)for(var c=0,p=l.length;c<p;c++)i.append(s+"[]",l[c]);else i.append(s,l)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return i},t.toNumber=fe,t.toResponseBody=function(){return n.pipe(r.filter((function(t){return t.type===ht.HttpEventType.Response})),r.map((function(t){return t.body})))},t.toString=function(t){return t?t.toString():""},t.toggleClass=Kt,t.toolbarActionToContextAction=Lr,t.tryParsePivotValue=pr,t.unescape=function(t){return B(t)},t.union=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return d.apply(void 0,xt(t))},t.uniq=de,t.uniqBy=ue,t.uploadProgress=function(t){return r.tap((function(e){e.type===ht.HttpEventType.UploadProgress&&t(Math.round(100*e.loaded/e.total))}))},t.validBase64Image=Re,t.validUrl=Ae,t.validateCondition=Tr,t.validateDate=Ps,t.validateDateCondition=Ir,t.validateFilter=Er,t.validateNumberCondition=Dr,t.validateRange=Rs,t.validateStringCondition=Or,t.values=Ce,t.workerMap=function(t){return function(e){return new n.Observable((function(n){var o=function(t){var e=new Blob(["self.cb = "+t+";self.onmessage = function (e) { self.postMessage(self.cb(e.data)) }"],{type:"text/javascript"}),n=URL.createObjectURL(e);return new Worker(n)}(t);return o.onmessage=function(t){n.next(t.data),o.terminate()},o.onerror=function(t){n.error(t),o.terminate()},e.subscribe({next:function(t){o.postMessage(t)}})}))}},t.zoneStable=En,t.ɵ0=va,t.ɵ1=Ca,t.ɵ2=fn,t.ɵb=Bn,t.ɵc=Po,t.ɵd=An,t.ɵe=fr,t.ɵf=sr,t.ɵg=Ma,t.ɵh=zs,t.ɵi=$s,t.ɵj=Js,t.ɵk=ja,t.ɵl=Cl,t.ɵm=fl,t.ɵn=gl,t.ɵo=Nl,Object.defineProperty(t,"__esModule",{value:!0})}));
631
631
  //# sourceMappingURL=datorama-core.umd.min.js.map