@corva/ui 0.52.0-5 → 0.52.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/components/OffsetWellMap/OffsetWellMap.d.ts +5 -1
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellMap/WellTooltip.d.ts +2 -1
- package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -1
- package/components/OffsetWellMap/WellTooltip.js +1 -1
- package/package.json +2 -2
- package/utils/index.d.ts +1 -2
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
- package/utils/recaptcha.d.ts +0 -3
- package/utils/recaptcha.d.ts.map +0 -1
- package/utils/recaptcha.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default OffsetWellMap;
|
|
2
|
-
declare function OffsetWellMap({ isViewOnly, subjectWell, wells, offsetWellIds, radius, handleChanageOffsetWell, activeWellId, }: {
|
|
2
|
+
declare function OffsetWellMap({ isViewOnly, subjectWell, wells, offsetWellIds, radius, handleChanageOffsetWell, activeWellId, isClickable, }: {
|
|
3
3
|
isViewOnly: any;
|
|
4
4
|
subjectWell: any;
|
|
5
5
|
wells: any;
|
|
@@ -7,6 +7,7 @@ declare function OffsetWellMap({ isViewOnly, subjectWell, wells, offsetWellIds,
|
|
|
7
7
|
radius: any;
|
|
8
8
|
handleChanageOffsetWell: any;
|
|
9
9
|
activeWellId: any;
|
|
10
|
+
isClickable: any;
|
|
10
11
|
}): JSX.Element;
|
|
11
12
|
declare namespace OffsetWellMap {
|
|
12
13
|
namespace propTypes {
|
|
@@ -20,10 +21,13 @@ declare namespace OffsetWellMap {
|
|
|
20
21
|
const radius: PropTypes.Validator<number>;
|
|
21
22
|
const handleChanageOffsetWell: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
23
|
const activeWellId: PropTypes.Validator<number>;
|
|
24
|
+
const isClickable: PropTypes.Requireable<boolean>;
|
|
23
25
|
}
|
|
24
26
|
namespace defaultProps {
|
|
25
27
|
const subjectWell_1: any;
|
|
26
28
|
export { subjectWell_1 as subjectWell };
|
|
29
|
+
const isClickable_1: boolean;
|
|
30
|
+
export { isClickable_1 as isClickable };
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/OffsetWellMap.js"],"names":[],"mappings":";AA+BA
|
|
1
|
+
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/OffsetWellMap.js"],"names":[],"mappings":";AA+BA;;;;;;;;;gBAoXC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useMemo as t,useRef as n,useState as o,useEffect as c,createElement as i}from"react";import u from"react-dom";import{get as l}from"lodash";import a from"prop-types";import s from"classnames";import{Tooltip as d}from"@material-ui/core";import{Add as m,Remove as f}from"@material-ui/icons";import p from"mapbox.js";import{mapbox as v}from"../../utils/index.js";import b from"./OffsetWellMap.module.css.js";import{usePreviousWells as h}from"./effects/usePreviousWells.js";import{WellTooltip as y}from"./WellTooltip.js";import{getAllFormations as C}from"./utils.js";import{jsx as
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useMemo as t,useRef as n,useState as o,useEffect as c,createElement as i}from"react";import u from"react-dom";import{get as l}from"lodash";import a from"prop-types";import s from"classnames";import{Tooltip as d}from"@material-ui/core";import{Add as m,Remove as f}from"@material-ui/icons";import p from"mapbox.js";import{mapbox as v}from"../../utils/index.js";import b from"./OffsetWellMap.module.css.js";import{usePreviousWells as h}from"./effects/usePreviousWells.js";import{WellTooltip as y}from"./WellTooltip.js";import{getAllFormations as C}from"./utils.js";import{jsx as k,jsxs as B,Fragment as g}from"react/jsx-runtime";var O=v.isValidCoordinates,W=[29.749907,-95.358421],T=["_renderer","_bounds","min"],D=function(a){var v=a.isViewOnly,D=a.subjectWell,x=a.wells,N=a.offsetWellIds,j=a.radius,F=a.handleChanageOffsetWell,z=a.activeWellId,E=a.isClickable,L=t((function(){return D&&l(D,"topHole.coordinates")}),[D]),w=t((function(){return C(x)}),[x]),I=n(),Z=n(),_=n(),q=n(),M=n(null),P=o(!1),R=e(P,2),V=R[0],G=R[1],S=n(),A=n(),H=(null==D?void 0:D.id)===z,U=h(x),J=o(null),K=e(J,2),Q=K[0],X=K[1],Y=o(3),$=e(Y,2),rr=$[0],er=$[1];c((function(){I.current=p.mapbox.map(I.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(W,3).on("zoomend",(function(){return er(I.current.getZoom())})),I.current.doubleClickZoom.disable(),p.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(I.current)}),[]),c((function(){if(I.current){if(Z.current&&(I.current.removeLayer(Z.current),Z.current=null),_.current&&I.current.removeLayer(_.current),!L)return Z.current=null,void(_.current=null);j&&(Z.current=p.circle(L,1609.34*j,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),Z.current.addTo(I.current))}}),[j,L]);var tr=function(r,e,t,n,o,c){c&&(r.setStyle({fillColor:"#63EFFF"}),G(!0)),M.current=p.circleMarker(e,{radius:c?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:c?"#63EFFF":t,className:"circle_highlight"}),M.current.addEventListener("mouseout",(function(){q.current.removeFrom(I.current),q.current=p.featureGroup(S.current),q.current.addTo(I.current),I.current.closePopup(),c&&(r.setStyle({fillColor:"#03BCD4"}),G(!1))})),M.current.addEventListener("click",(function(){v||F(n,!o)}));var i=S.current.concat(M.current);q.current.removeFrom(I.current),q.current=p.featureGroup(i),q.current.addTo(I.current)},nr=function(r,e,t,n,o){var c=document.createElement("div"),a=i(y(),{isViewOnly:v,well:r,color:l(w,r.formation,"#BDBDBD"),isOffsetWell:e,isSubjectWell:t,offset:o,isClickable:E});u.render(k(g,{children:a}),c),p.popup().setLatLng(n).setContent(c).openOn(I.current)};c((function(){if(I.current&&x&&N){I.current.closePopup(),q.current&&q.current.removeFrom(I.current);var r=[],e=[],t=[];x.forEach((function(r){r.id!==(null==D?void 0:D.id)&&(N.includes(r.id)?e.push(r):t.push(r))})),[].concat(t,e,[D]).forEach((function(e){var t,n=null==e||null===(t=e.topHole)||void 0===t?void 0:t.coordinates;if(n&&O(n)){var o=(null==D?void 0:D.id)===e.id,c=N.includes(e.id)&&!o,i=o?"#03BCD4":l(w,e.formation,"#BDBDBD"),u=c?.7:.3;if(c){var a=p.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillColor:i,calssname:"circle_500",fillOpacity:.08});r.push(a)}var s=p.circleMarker(n,{radius:5,stroke:!1,fill:!0,fillOpacity:o?1:u,fillColor:i,className:"circle_500"});if(s.addEventListener("mouseover",(function(r){var t=[0,0];Q&&l(r.target,T)&&(t=[l(r.target,T).x-Q.x,l(r.target,T).y-Q.y]),nr(e,c,o,n,t),tr(s,n,i,e,c,o)})),o&&(A.current=s),r.push(s),e.id===z&&!H){var d=p.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:i,className:"circle_1200"});r.push(d)}}})),r.length&&(q.current=p.featureGroup(r),q.current.addTo(I.current)),S.current=r,setTimeout((function(){Z.current&&Z.current.bringToBack(),I.current&&Z.current&&x!==U&&I.current.fitBounds(Z.current.getBounds(),{padding:[5,5]})}),500)}}),[D,x,N,Q]),c((function(){if(V&&l(I.current,T)){var r=[l(I.current,T).x-Q.x,l(I.current,T).y-Q.y];nr(D,!1,!0,L,r)}}),[V,Q,D,L]),c((function(){if(I.current&&L){_.current&&_.current.removeFrom(I.current);var r=p.icon({iconUrl:V||H?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:V||H?[70,20]:[62,12],iconAnchor:V||H?[35,29]:[31,25],className:"dot"});_.current=p.marker(L,{icon:r}),_.current.addTo(I.current),A.current&&(_.current.addEventListener("mouseover",(function(){G(!0),tr(A.current,L,"#03BCD4",D,!0,!0)})),_.current.addEventListener("mouseout",(function(){q.current.removeFrom(I.current),q.current=p.featureGroup(S.current),q.current.addTo(I.current),I.current.closePopup(),A.current.setStyle({fillColor:"#03BCD4"}),G(!1)})))}}),[V,L,j,D,H,Q]),c((function(){setTimeout((function(){Z.current&&Z.current.bringToBack(),D?I.current&&Z.current&&j&&I.current.fitBounds(Z.current.getBounds(),{padding:[5,5]}):I.current&&q.current&&I.current.fitBounds(q.current.getBounds()),l(I.current,T)&&X(l(I.current,T))}),500)}),[j,D]);return k("div",{className:b.mapView,children:k("div",{className:b.mapMain,ref:I,children:B("div",{className:b.zoomGroup,children:[k(d,{title:rr<18?"Zoom in":"",placement:"left",children:k("div",{className:s(b.zoomButton,r({},b.zoomDisabled,18===rr)),onClick:function(){I.current.setZoom(rr+1)},children:k(m,{className:b.zoomInOutIcon})})}),k(d,{title:rr>1?"Zoom out":"",placement:"left",children:k("div",{className:s(b.zoomButton,r({},b.zoomDisabled,1===rr)),onClick:function(){rr>1&&I.current.setZoom(rr-1)},children:k(f,{className:b.zoomInOutIcon})})})]})})})};D.propTypes={isViewOnly:a.bool.isRequired,subjectWell:a.shape({id:a.number,formation:a.string}),wells:a.arrayOf(a.shape({})).isRequired,offsetWellIds:a.arrayOf(a.number).isRequired,radius:a.number.isRequired,handleChanageOffsetWell:a.func.isRequired,activeWellId:a.number.isRequired,isClickable:a.bool},D.defaultProps={subjectWell:null,isClickable:!0};export{D as default};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export function WellTooltip(): ({ isViewOnly, well, color, isOffsetWell, isSubjectWell, offset }: {
|
|
1
|
+
export function WellTooltip(): ({ isViewOnly, well, color, isOffsetWell, isSubjectWell, offset, isClickable }: {
|
|
2
2
|
isViewOnly: any;
|
|
3
3
|
well: any;
|
|
4
4
|
color: any;
|
|
5
5
|
isOffsetWell: any;
|
|
6
6
|
isSubjectWell: any;
|
|
7
7
|
offset: any;
|
|
8
|
+
isClickable: any;
|
|
8
9
|
}) => JSX.Element;
|
|
9
10
|
//# sourceMappingURL=WellTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WellTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/WellTooltip.js"],"names":[],"mappings":"AAMO
|
|
1
|
+
{"version":3,"file":"WellTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/WellTooltip.js"],"names":[],"mappings":"AAMO;;;;;;;;kBA6CJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"classnames";import
|
|
1
|
+
import e from"classnames";import l from"moment";import o from"@material-ui/icons/Info";import i from"@material-ui/icons/Block";import t from"./WellTooltip.module.css.js";import{jsxs as a,jsx as m}from"react/jsx-runtime";var s=function(){return function(s){var n=s.isViewOnly,r=s.well,c=s.color,f=s.isOffsetWell,d=s.isSubjectWell,p=s.offset,N=s.isClickable;return a("div",{className:t.wellTooltip,style:{marginLeft:null==p?void 0:p[0],marginTop:null==p?void 0:p[1]},children:[m("span",{className:e(t.commonItem,t.wellName),children:r.name}),a("div",{className:t.tooltipItem,children:["Depth: ",Number.isFinite(r.totalDepth)?Math.floor(r.totalDepth).toFixed(2):"N/A",Number.isFinite(r.totalDepth)&&m("span",{className:t.unit,children:" ft"})]}),a("div",{className:e(t.commonItem,t.tooltipItem),children:["Release Date: ",Number.isFinite(r.rigReleaseDate)?l.unix(r.rigReleaseDate).format("MM/DD/YYYY"):"N/A"]}),a("div",{className:e(t.commonItem,t.formationItem),children:["Target Formation:",m("div",{className:t.formation,style:{backgroundColor:c}}),r.formation]}),!n&&!d&&N&&a("div",{className:e(t.commonItem,t.info),children:[f?m(i,{className:t.blockIcon}):m(o,{className:t.infoIcon}),m("span",f?{className:t.infoLabel,children:"Click to deselect Offset Well"}:{className:t.infoLabel,children:"Click to select Offset Well"})]})]})}};export{s as WellTooltip};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/ui",
|
|
3
|
-
"version": "0.52.0-
|
|
3
|
+
"version": "0.52.0-7",
|
|
4
4
|
"description": "Shared components/utils for Corva ui projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"corva-ui"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
87
87
|
"@babel/preset-env": "^7.12.11",
|
|
88
88
|
"@babel/preset-react": "^7.12.10",
|
|
89
|
-
"@corva/dc-platform-shared": "0.1.7-
|
|
89
|
+
"@corva/dc-platform-shared": "^0.1.7-5",
|
|
90
90
|
"@corva/eslint-config-browser": "^0.0.4",
|
|
91
91
|
"@date-io/moment": "1.3.13",
|
|
92
92
|
"@material-ui/core": "4.11.2",
|
package/utils/index.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ import * as mobileDetect from "./mobileDetect";
|
|
|
58
58
|
import * as nativeMessages from "./nativeMessages";
|
|
59
59
|
import * as notifications from "./notifications";
|
|
60
60
|
import * as permissions from "./permissions";
|
|
61
|
-
import * as recaptcha from "./recaptcha";
|
|
62
61
|
import { removeNotification } from "./notificationToasts";
|
|
63
62
|
import * as reports from "./reports";
|
|
64
63
|
import * as rollbar from "./rollbar";
|
|
@@ -75,5 +74,5 @@ import * as torqueAndHookloadUtils from "./torqueAndHookloadUtils";
|
|
|
75
74
|
import { updateLocalStorageItem } from "./localStorage";
|
|
76
75
|
export const updateUserUnits: ({ userUnits, companyUnits }: any) => void;
|
|
77
76
|
import { sharedDCStore } from "./sharedDCStore";
|
|
78
|
-
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, getConvertKeys, getLocalStorageItem, goals, jsonaDataFormatter, lasParser, loadable, main, mapUnits, metricsUtils, mobileDetect, nativeMessages, notifications, permissions,
|
|
77
|
+
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, getConvertKeys, getLocalStorageItem, goals, jsonaDataFormatter, lasParser, loadable, main, mapUnits, metricsUtils, mobileDetect, nativeMessages, notifications, permissions, removeNotification, reports, rollbar, showErrorNotification, showInfoNotification, showNeutralNotification, showSuccessNotification, showWarningNotification, showToast, sqlParser, themeVariables, time, torqueAndHookloadUtils, updateLocalStorageItem, sharedDCStore };
|
|
79
78
|
//# 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 r from"@babel/runtime/helpers/defineProperty";import*as t from"./StageDesignVActualUtils.js";export{t 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 m,convertValue as n,getAllUnitTypes as f,getDefaultImperialUnit as c,getDefaultUnits as l,getUnitDescription as j,getUnitDisplay as x,getUnitPlural as g,getUnitPreference as u,getUnitsByType as y,getUnitSingular as b,getUnitSystem as U,updateUserUnits as d,getUserUnits as v,subscribeForUserUnitsUpdates as h,convertImmutables as O,convertImmutablesByBatch as D,getUniqueUnitsByType as S}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 C from"./devcenter.js";export{C as devcenter};import*as N from"./drillstring/index.js";export{N as drillstring};import*as T from"./DrillstringUtils.js";export{T 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 B from"./lasParser.js";export{B as lasParser};import*as F from"./loadable.js";export{F as loadable};import*as K from"./main.js";export{K as main};import*as q from"./mapUnits.js";export{q as mapUnits};import*as V from"./mapbox.js";import*as J from"./metrics/index.js";export{J as metricsUtils};import*as L from"./mobileDetect.js";export{L as mobileDetect};import*as H from"./nativeMessages.js";export{H as nativeMessages};import*as M from"./notifications.js";export{M as notifications};import*as R from"./feed.js";export{R as feed};import*as W from"./permissions.js";export{W as permissions};import*as z from"./reports.js";export{z as reports};import*as G from"./rollbar.js";export{G as rollbar};import*as Q from"./sqlParser.js";export{Q as sqlParser};import*as X from"./time.js";export{X as time};import*as Y from"./torqueAndHookloadUtils.js";export{Y as torqueAndHookloadUtils};import*as Z from"./accuracy.js";export{Z 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 $ from"./dashboardReports.js";export{$ as dashboardReports};import*as _ from"./apps.js";export{_ as apps};import*as rr from"./themeVariables.js";export{rr as themeVariables};import*as tr from"./env.js";export{tr as env};import*as or from"./fileExtension.js";export{or as fileExtension};export{jsonaDataFormatter}from"./jsonaDataFormatter.js";import*as er from"./bha.js";export{er as bha};export{getLocalStorageItem,updateLocalStorageItem}from"./localStorage.js";export{sharedDCStore}from"./sharedDCStore.js";
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import*as t from"./StageDesignVActualUtils.js";export{t 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 m,convertValue as n,getAllUnitTypes as f,getDefaultImperialUnit as c,getDefaultUnits as l,getUnitDescription as j,getUnitDisplay as x,getUnitPlural as g,getUnitPreference as u,getUnitsByType as y,getUnitSingular as b,getUnitSystem as U,updateUserUnits as d,getUserUnits as v,subscribeForUserUnitsUpdates as h,convertImmutables as O,convertImmutablesByBatch as D,getUniqueUnitsByType as S}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 C from"./devcenter.js";export{C as devcenter};import*as N from"./drillstring/index.js";export{N as drillstring};import*as T from"./DrillstringUtils.js";export{T 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 B from"./lasParser.js";export{B as lasParser};import*as F from"./loadable.js";export{F as loadable};import*as K from"./main.js";export{K as main};import*as q from"./mapUnits.js";export{q as mapUnits};import*as V from"./mapbox.js";import*as J from"./metrics/index.js";export{J as metricsUtils};import*as L from"./mobileDetect.js";export{L as mobileDetect};import*as H from"./nativeMessages.js";export{H as nativeMessages};import*as M from"./notifications.js";export{M as notifications};import*as R from"./feed.js";export{R as feed};import*as W from"./permissions.js";export{W as permissions};import*as z from"./reports.js";export{z as reports};import*as G from"./rollbar.js";export{G as rollbar};import*as Q from"./sqlParser.js";export{Q as sqlParser};import*as X from"./time.js";export{X as time};import*as Y from"./torqueAndHookloadUtils.js";export{Y as torqueAndHookloadUtils};import*as Z from"./accuracy.js";export{Z 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 $ from"./dashboardReports.js";export{$ as dashboardReports};import*as _ from"./apps.js";export{_ as apps};import*as rr from"./themeVariables.js";export{rr as themeVariables};import*as tr from"./env.js";export{tr as env};import*as or from"./fileExtension.js";export{or as fileExtension};export{jsonaDataFormatter}from"./jsonaDataFormatter.js";import*as er from"./bha.js";export{er as bha};export{getLocalStorageItem,updateLocalStorageItem}from"./localStorage.js";export{sharedDCStore}from"./sharedDCStore.js";function sr(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),o.push.apply(o,e)}return o}var ar={get:function(r,t){var o=r[t];return"function"==typeof o?function(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];return o.apply(r,e.map((function(r){return r.toJS?r.toJS():r})))}:o}};function ir(t){return new Proxy(function(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?sr(Object(e),!0).forEach((function(o){r(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sr(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}({},t),ar)}var pr=m,mr=n,nr=f,fr=c,cr=l,lr=j,jr=x,xr=g,gr=u,ur=y,yr=b,br=U,Ur=d,dr=v,vr=h,hr=O,Or=D,Dr=S,Sr=ir(V),wr=ir(p);export{wr as components,pr as convertArray,hr as convertImmutables,Or as convertImmutablesByBatch,mr as convertValue,nr as getAllUnitTypes,fr as getDefaultImperialUnit,cr as getDefaultUnits,Dr as getUniqueUnitsByType,lr as getUnitDescription,jr as getUnitDisplay,xr as getUnitPlural,gr as getUnitPreference,yr as getUnitSingular,br as getUnitSystem,ur as getUnitsByType,dr as getUserUnits,Sr as mapbox,vr as subscribeForUserUnitsUpdates,Ur as updateUserUnits};
|
package/utils/recaptcha.d.ts
DELETED
package/utils/recaptcha.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recaptcha.d.ts","sourceRoot":"","sources":["../../src/utils/recaptcha.js"],"names":[],"mappings":"AAQA,4CAKC;AATD,2HAE0B"}
|
package/utils/recaptcha.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var c=(process.env.REACT_APP_API_URL||"").includes("api.corva.ai")?"6LcD9rIiAAAAABAlTq0c4mpbiwdcEN10wDbqcYT4":"6LcdL7IiAAAAAAgBjpeKEf_b_T-mqDAjOvuNOjCz";function e(){var e=document.createElement("script");e.async=!0,e.src="https://www.google.com/recaptcha/enterprise.js?render=".concat(c),document.body.appendChild(e)}export{c as GOOGLE_RECAPTCHA_KEY,e as initializeRecaptcha};
|