@corva/ui 0.76.0-6 → 0.76.0-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.
- package/cjs-bundle/utils/delayedHighcharts.js +1 -0
- package/cjs-bundle/utils/index.js +1 -1
- package/package.json +1 -1
- package/utils/delayedHighcharts.d.ts +2 -0
- package/utils/delayedHighcharts.d.ts.map +1 -0
- package/utils/delayedHighcharts.js +1 -0
- package/utils/index.d.ts +2 -1
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("lodash");exports.enableHighchartsDelayedTooltip=function(r){var t={},o=function(e){return e.map((function(e){return"".concat(e.category," ").concat(e.series.name,": ").concat(e.x," ").concat(e.y)})).join(", ")};function a(e,r){return e===r||Array.isArray(r)&&r.some((function(r){return r===e}))}r.wrap(r.Tooltip.prototype,"refresh",(function(r){for(var i=this,n=arguments.length,s=new Array(n>1?n-1:0),c=1;c<n;c++)s[c-1]=arguments[c];var p=this.chart.options.tooltip.delayForDisplay;if(p>0){var l=Array.isArray(s[0])?o(s[0]):s[0].series.name;t[l]&&(clearTimeout(t[l]),delete t[l]),this.chart.tooltip.hide(),t[l]=setTimeout((function(){a(i.chart.hoverPoint,s[0])&&(e.every(s[0],e.isEmpty)||r.apply(i,s))}),p)}else r.apply(this,s)}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("./StageDesignVActualUtils.js"),r=require("./alerts.js"),s=require("./audio.js"),o=require("./casing/index.js"),i=require("./chartSeries.js"),n=require("./completion.js"),a=require("./components.js"),p=require("./convert.js"),u=require("./csvExport.js"),c=require("./devcenter.js"),l=require("./drillstring/index.js"),x=require("./DrillstringUtils.js"),g=require("./FluidCheckUtils.js"),f=require("./formatting.js"),j=require("./ga.js"),m=require("./goals.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("./StageDesignVActualUtils.js"),r=require("./alerts.js"),s=require("./audio.js"),o=require("./casing/index.js"),i=require("./chartSeries.js"),n=require("./completion.js"),a=require("./components.js"),p=require("./convert.js"),u=require("./csvExport.js"),c=require("./devcenter.js"),l=require("./drillstring/index.js"),x=require("./DrillstringUtils.js"),g=require("./FluidCheckUtils.js"),f=require("./formatting.js"),j=require("./ga.js"),m=require("./goals.js"),d=require("./lasParser.js"),q=require("./main.js"),y=require("./mapUnits.js"),U=require("./mapbox.js"),b=require("./metrics/index.js"),v=require("./mobileDetect.js"),h=require("./nativeMessages.js"),S=require("./notifications.js"),D=require("./feed.js"),O=require("./permissions.js"),w=require("./reports.js"),T=require("./time.js"),P=require("./torqueAndHookloadUtils.js"),N=require("./accuracy.js"),C=require("./notificationToasts.js"),I=require("./devcenterToasts.js"),A=require("./convertKeys.js"),B=require("./dashboardReports.js"),E=require("./apps.js"),k=require("./themeVariables.js"),H=require("./env.js"),K=require("./fileExtension.js"),F=require("./jsonaDataFormatter.js"),L=require("./bha.js"),M=require("./localStorage.js"),V=require("./sharedDCStore.js"),_=require("../components/UserMention/utils/index.js"),W=require("./resolveWellHubSlug.js"),J=require("./delayedHighcharts.js"),R=require("./delay.js");function z(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function G(e){return Object.freeze({__proto__:null,default:e})}var Q=z(e),X=G(d),Y=G(q),Z=G(y),$=G(O);function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}var te={get:function(e,t){var r=e[t];return"function"==typeof r?function(){for(var t=arguments.length,s=new Array(t),o=0;o<t;o++)s[o]=arguments[o];return r.apply(e,s.map((function(e){return e.toJS?e.toJS():e})))}:r}};function re(e){return new Proxy(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){Q.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),te)}var se=p.convertArray,oe=p.convertValue,ie=p.getAllUnitTypes,ne=p.getDefaultImperialUnit,ae=p.getDefaultUnits,pe=p.getUnitDescription,ue=p.getUnitDisplay,ce=p.getUnitPlural,le=p.getUnitPreference,xe=p.getUnitsByType,ge=p.getUnitSingular,fe=p.getUnitSystem,je=p.updateUserUnits,me=p.getUserUnits,de=p.subscribeForUserUnitsUpdates,qe=p.convertImmutables,ye=p.convertImmutablesByBatch,Ue=p.getUniqueUnitsByType,be=re(U),ve=re(a);exports.StageDesignVActualUtils=t,exports.alerts=r,exports.audio=s,exports.casing=o,exports.chartSeries=i,exports.completion=n,exports.convert=p,exports.csvExport=u,exports.devcenter=c,exports.drillstring=l,exports.drillstringUtils=x,exports.fluidCheckUtils=g,exports.formatting=f,exports.ga=j,exports.goals=m,exports.lasParser=X,exports.main=Y,exports.mapUnits=Z,exports.metricsUtils=b,exports.mobileDetect=v,exports.nativeMessages=h,exports.notifications=S,exports.feed=D,exports.permissions=$,exports.reports=w,exports.time=T,exports.torqueAndHookloadUtils=P,exports.accuracy=N,exports.createNotification=C.createNotification,exports.removeNotification=C.removeNotification,exports.showErrorNotification=C.showErrorNotification,exports.showInfoNotification=C.showInfoNotification,exports.showNeutralNotification=C.showNeutralNotification,exports.showSuccessNotification=C.showSuccessNotification,exports.showWarningNotification=C.showWarningNotification,exports.showToast=I.showToast,exports.convertKeysToCamelCase=A.convertKeysToCamelCase,exports.convertKeysToSnakeCase=A.convertKeysToSnakeCase,exports.getConvertKeys=A.getConvertKeys,exports.dashboardReports=B,exports.apps=E,exports.themeVariables=k,exports.env=H,exports.fileExtension=K,exports.jsonaDataFormatter=F.jsonaDataFormatter,exports.bha=L,exports.getLocalStorageItem=M.getLocalStorageItem,exports.updateLocalStorageItem=M.updateLocalStorageItem,exports.sharedDCStore=V.sharedDCStore,exports.formatMentionText=_.formatMentionText,exports.isSuggestionsListOpened=_.isSuggestionsListOpened,exports.resolveWellHubSlug=W,exports.enableHighchartsDelayedTooltip=J.enableHighchartsDelayedTooltip,exports.delay=R.delay,exports.components=ve,exports.convertArray=se,exports.convertImmutables=qe,exports.convertImmutablesByBatch=ye,exports.convertValue=oe,exports.getAllUnitTypes=ie,exports.getDefaultImperialUnit=ne,exports.getDefaultUnits=ae,exports.getUniqueUnitsByType=Ue,exports.getUnitDescription=pe,exports.getUnitDisplay=ue,exports.getUnitPlural=ce,exports.getUnitPreference=le,exports.getUnitSingular=ge,exports.getUnitSystem=fe,exports.getUnitsByType=xe,exports.getUserUnits=me,exports.mapbox=be,exports.subscribeForUserUnitsUpdates=de,exports.updateUserUnits=je;
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delayedHighcharts.d.ts","sourceRoot":"","sources":["../../src/utils/delayedHighcharts.js"],"names":[],"mappings":"AAIA,sEAuCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{every as r,isEmpty as t}from"lodash";function o(o){var e={},n=function(r){return r.map((function(r){return"".concat(r.category," ").concat(r.series.name,": ").concat(r.x," ").concat(r.y)})).join(", ")};function a(r,t){return r===t||Array.isArray(t)&&t.some((function(t){return t===r}))}o.wrap(o.Tooltip.prototype,"refresh",(function(o){for(var i=this,c=arguments.length,s=new Array(c>1?c-1:0),p=1;p<c;p++)s[p-1]=arguments[p];var u=this.chart.options.tooltip.delayForDisplay;if(u>0){var h=Array.isArray(s[0])?n(s[0]):s[0].series.name;e[h]&&(clearTimeout(e[h]),delete e[h]),this.chart.tooltip.hide(),e[h]=setTimeout((function(){a(i.chart.hoverPoint,s[0])&&(r(s[0],t)||o.apply(i,s))}),u)}else o.apply(this,s)}))}export{o as enableHighchartsDelayedTooltip};
|
package/utils/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as audio from "./audio";
|
|
|
7
7
|
import * as bha from "./bha";
|
|
8
8
|
import * as casing from "./casing";
|
|
9
9
|
import * as chartSeries from "./chartSeries";
|
|
10
|
+
import { enableHighchartsDelayedTooltip } from "./delayedHighcharts";
|
|
10
11
|
import * as completion from "./completion";
|
|
11
12
|
export const components: any;
|
|
12
13
|
import * as convert from "./convert";
|
|
@@ -87,5 +88,5 @@ export const updateUserUnits: ({ userUnits, companyUnits }: {
|
|
|
87
88
|
companyUnits: Record<string, string>;
|
|
88
89
|
}) => void;
|
|
89
90
|
import { isSuggestionsListOpened } from "../components/UserMention/utils";
|
|
90
|
-
export { StageDesignVActualUtils, accuracy, alerts, apps, audio, bha, casing, chartSeries, completion, convert, convertKeysToCamelCase, convertKeysToSnakeCase, createNotification, csvExport, dashboardReports, devcenter, drillstring, drillstringUtils, env, feed, fileExtension, fluidCheckUtils, formatting, ga, formatMentionText, getConvertKeys, getLocalStorageItem, goals, jsonaDataFormatter, lasParser, main, mapUnits, metricsUtils, mobileDetect, nativeMessages, notifications, permissions, removeNotification, reports, resolveWellHubSlug, sharedDCStore, showErrorNotification, showInfoNotification, showNeutralNotification, showSuccessNotification, showToast, showWarningNotification, themeVariables, time, torqueAndHookloadUtils, updateLocalStorageItem, isSuggestionsListOpened };
|
|
91
|
+
export { StageDesignVActualUtils, accuracy, alerts, apps, audio, bha, casing, chartSeries, enableHighchartsDelayedTooltip, completion, convert, convertKeysToCamelCase, convertKeysToSnakeCase, createNotification, csvExport, dashboardReports, devcenter, drillstring, drillstringUtils, env, feed, fileExtension, fluidCheckUtils, formatting, ga, formatMentionText, getConvertKeys, getLocalStorageItem, goals, jsonaDataFormatter, lasParser, main, mapUnits, metricsUtils, mobileDetect, nativeMessages, notifications, permissions, removeNotification, reports, resolveWellHubSlug, sharedDCStore, showErrorNotification, showInfoNotification, showNeutralNotification, showSuccessNotification, showToast, showWarningNotification, themeVariables, time, torqueAndHookloadUtils, updateLocalStorageItem, isSuggestionsListOpened };
|
|
91
92
|
//# sourceMappingURL=index.d.ts.map
|
package/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.js"],"names":[],"mappings":";;;;;;;;;;;AA6FA,6BAAuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADvE,yBAA+D"}
|
package/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import*as r from"./StageDesignVActualUtils.js";export{r as StageDesignVActualUtils};import*as o from"./alerts.js";export{o as alerts};import*as e from"./audio.js";export{e as audio};import*as s from"./casing/index.js";export{s as casing};import*as a from"./chartSeries.js";export{a as chartSeries};import*as i from"./completion.js";export{i as completion};import*as p from"./components.js";import{convertArray as n,convertValue as m,getAllUnitTypes as f,getDefaultImperialUnit as c,getDefaultUnits as l,getUnitDescription as j,getUnitDisplay as x,getUnitPlural as u,getUnitPreference as g,getUnitsByType as y,getUnitSingular as d,getUnitSystem as
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import*as r from"./StageDesignVActualUtils.js";export{r as StageDesignVActualUtils};import*as o from"./alerts.js";export{o as alerts};import*as e from"./audio.js";export{e as audio};import*as s from"./casing/index.js";export{s as casing};import*as a from"./chartSeries.js";export{a as chartSeries};import*as i from"./completion.js";export{i as completion};import*as p from"./components.js";import{convertArray as n,convertValue as m,getAllUnitTypes as f,getDefaultImperialUnit as c,getDefaultUnits as l,getUnitDescription as j,getUnitDisplay as x,getUnitPlural as u,getUnitPreference as g,getUnitsByType as y,getUnitSingular as d,getUnitSystem as b,updateUserUnits as U,getUserUnits as v,subscribeForUserUnitsUpdates as h,convertImmutables as O,convertImmutablesByBatch as S,getUniqueUnitsByType as D}from"./convert.js";import*as w from"./convert.js";export{w as convert};import*as P from"./csvExport.js";export{P as csvExport};import*as T from"./devcenter.js";export{T as devcenter};import*as C from"./drillstring/index.js";export{C as drillstring};import*as N from"./DrillstringUtils.js";export{N as drillstringUtils};import*as I from"./FluidCheckUtils.js";export{I as fluidCheckUtils};import*as k from"./formatting.js";export{k as formatting};import*as A from"./ga.js";export{A as ga};import*as E from"./goals.js";export{E as goals};import*as H from"./lasParser.js";export{H as lasParser};import*as B from"./main.js";export{B as main};import*as F from"./mapUnits.js";export{F as mapUnits};import*as K from"./mapbox.js";import*as L from"./metrics/index.js";export{L as metricsUtils};import*as M from"./mobileDetect.js";export{M as mobileDetect};import*as V from"./nativeMessages.js";export{V as nativeMessages};import*as W from"./notifications.js";export{W as notifications};import*as q from"./feed.js";export{q as feed};import*as J from"./permissions.js";export{J as permissions};import*as R from"./reports.js";export{R as reports};import*as z from"./time.js";export{z as time};import*as G from"./torqueAndHookloadUtils.js";export{G as torqueAndHookloadUtils};import*as Q from"./accuracy.js";export{Q as accuracy};export{createNotification,removeNotification,showErrorNotification,showInfoNotification,showNeutralNotification,showSuccessNotification,showWarningNotification}from"./notificationToasts.js";export{showToast}from"./devcenterToasts.js";export{convertKeysToCamelCase,convertKeysToSnakeCase,getConvertKeys}from"./convertKeys.js";import*as X from"./dashboardReports.js";export{X as dashboardReports};import*as Y from"./apps.js";export{Y as apps};import*as Z from"./themeVariables.js";export{Z as themeVariables};import*as $ from"./env.js";export{$ as env};import*as _ from"./fileExtension.js";export{_ as fileExtension};export{jsonaDataFormatter}from"./jsonaDataFormatter.js";import*as tt from"./bha.js";export{tt as bha};export{getLocalStorageItem,updateLocalStorageItem}from"./localStorage.js";export{sharedDCStore}from"./sharedDCStore.js";export{formatMentionText,isSuggestionsListOpened}from"../components/UserMention/utils/index.js";export{default as resolveWellHubSlug}from"./resolveWellHubSlug.js";export{enableHighchartsDelayedTooltip}from"./delayedHighcharts.js";export{delay}from"./delay.js";function rt(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,e)}return o}var ot={get:function(t,r){var o=t[r];return"function"==typeof o?function(){for(var r=arguments.length,e=new Array(r),s=0;s<r;s++)e[s]=arguments[s];return o.apply(t,e.map((function(t){return t.toJS?t.toJS():t})))}:o}};function et(r){return new Proxy(function(r){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?rt(Object(e),!0).forEach((function(o){t(r,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):rt(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}))}return r}({},r),ot)}var st=n,at=m,it=f,pt=c,nt=l,mt=j,ft=x,ct=u,lt=g,jt=y,xt=d,ut=b,gt=U,yt=v,dt=h,bt=O,Ut=S,vt=D,ht=et(K),Ot=et(p);export{Ot as components,st as convertArray,bt as convertImmutables,Ut as convertImmutablesByBatch,at as convertValue,it as getAllUnitTypes,pt as getDefaultImperialUnit,nt as getDefaultUnits,vt as getUniqueUnitsByType,mt as getUnitDescription,ft as getUnitDisplay,ct as getUnitPlural,lt as getUnitPreference,xt as getUnitSingular,ut as getUnitSystem,jt as getUnitsByType,yt as getUserUnits,ht as mapbox,dt as subscribeForUserUnitsUpdates,gt as updateUserUnits};
|