@corva/ui 3.80.0-5 → 3.80.0-6
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/components/Chart/effects/useChartModifier.js +1 -1
- package/cjs-bundle/components/Chart/effects/useChartModifier.js.map +1 -1
- package/cjs-bundle/config/highcharts/highcharts.js +1 -1
- package/cjs-bundle/config/highcharts/highcharts.js.map +1 -1
- package/cjs-bundle/config/initGlobalDependencies.js +1 -1
- package/cjs-bundle/config/initGlobalDependencies.js.map +1 -1
- package/components/Chart/effects/useChartModifier.d.ts.map +1 -1
- package/components/Chart/effects/useChartModifier.js +1 -1
- package/components/Chart/effects/useChartModifier.js.map +1 -1
- package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
- package/config/highcharts/highcharts.d.ts +1 -3
- package/config/highcharts/highcharts.d.ts.map +1 -1
- package/config/highcharts/highcharts.js +1 -1
- package/config/highcharts/highcharts.js.map +1 -1
- package/config/highcharts/index.d.ts +0 -1
- package/config/highcharts/index.d.ts.map +1 -1
- package/config/initGlobalDependencies.d.ts +1 -1
- package/config/initGlobalDependencies.d.ts.map +1 -1
- package/config/initGlobalDependencies.js +1 -1
- package/config/initGlobalDependencies.js.map +1 -1
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/cjs-bundle/config/highcharts/constants.js +0 -2
- package/cjs-bundle/config/highcharts/constants.js.map +0 -1
- package/cjs-bundle/config/highcharts/getHighchartsV10.js +0 -2
- package/cjs-bundle/config/highcharts/getHighchartsV10.js.map +0 -1
- package/cjs-bundle/config/highcharts/getHighchartsV8.js +0 -2
- package/cjs-bundle/config/highcharts/getHighchartsV8.js.map +0 -1
- package/config/highcharts/constants.d.ts +0 -3
- package/config/highcharts/constants.d.ts.map +0 -1
- package/config/highcharts/constants.js +0 -2
- package/config/highcharts/constants.js.map +0 -1
- package/config/highcharts/getHighchartsV10.d.ts +0 -24
- package/config/highcharts/getHighchartsV10.d.ts.map +0 -1
- package/config/highcharts/getHighchartsV10.js +0 -2
- package/config/highcharts/getHighchartsV10.js.map +0 -1
- package/config/highcharts/getHighchartsV8.d.ts +0 -24
- package/config/highcharts/getHighchartsV8.d.ts.map +0 -1
- package/config/highcharts/getHighchartsV8.js +0 -2
- package/config/highcharts/getHighchartsV8.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@babel/runtime/helpers/defineProperty"),e=require("@material-ui/core"),t=require("lodash"),o=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@babel/runtime/helpers/defineProperty"),e=require("@material-ui/core"),t=require("lodash"),o=require("react"),s=require("../formations.js");function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}var i=a(r);function n(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function c(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?n(Object(t),!0).forEach((function(e){i.default(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}var u=e.makeStyles({axisGrab:{cursor:"grab"},axisCrosshair:{cursor:"crosshair"}});exports.useChartModifier=function(r){var e=r.chart,a=r.chartOptions,i=r.isZoomEnabled,n=r.isMinHeightChart,l=r.handleChartSelection,p=r.onZoomChangeCallback,f=r.isAxesCoordinatesShown,g=u();o.useEffect((function(){var r;if(!t.isEmpty(e)){var o={zIndex:1,color:"#ffffff",dashStyle:"dash"};e.plotBackground.element.style.cursor=n||!i?"grab":"crosshair",e.series.forEach((function(r){var e;return null==r||null===(e=r.group)||void 0===e?void 0:e.css({cursor:n||!i?"grab":"crosshair"})})),e.update({chart:c(c({},a),{},{plotBackgroundColor:"transparent",zooming:{type:n||!i?"none":a.zoomType,panning:{enabled:!i,type:(null===(r=a.panning)||void 0===r?void 0:r.type)||"xy"},panKey:""}}),xAxis:{crosshair:f?o:null,className:i?g.axisCrosshair:g.axisGrab,events:{afterSetExtremes:function(r){var t,o;"zoom"!==r.trigger&&"navigator"!==r.trigger||l(),null!==(t=e.xAxis)&&void 0!==t&&null!==(o=t[0].userOptions.plotLines)&&void 0!==o&&o.length&&s.updateAxisStyles({chart:e}),p(r)}}},yAxis:{crosshair:f?o:null,className:i?g.axisCrosshair:g.axisGrab,events:{afterSetExtremes:function(r){"zoom"!==r.trigger&&"navigator"!==r.trigger||l(),p(r)}}},plotOptions:{series:{cursor:n||!i?"grab":"crosshair"}}})}}),[i,l,f])};
|
|
2
2
|
//# sourceMappingURL=useChartModifier.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartModifier.js","sources":["../../../../../src/components/Chart/effects/useChartModifier.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\nimport { isEmpty } from 'lodash';\nimport { useEffect } from 'react';\n\nimport { updateAxisStyles } from '../formations';\n\
|
|
1
|
+
{"version":3,"file":"useChartModifier.js","sources":["../../../../../src/components/Chart/effects/useChartModifier.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\nimport { isEmpty } from 'lodash';\nimport { useEffect } from 'react';\n\nimport { updateAxisStyles } from '../formations';\n\nconst useStyles = makeStyles({\n axisGrab: {\n cursor: 'grab',\n },\n axisCrosshair: {\n cursor: 'crosshair',\n },\n});\n\nexport const useChartModifier = ({\n chart,\n chartOptions,\n isZoomEnabled,\n isMinHeightChart,\n handleChartSelection,\n onZoomChangeCallback,\n isAxesCoordinatesShown,\n}) => {\n const classes = useStyles();\n\n useEffect(() => {\n if (isEmpty(chart)) {\n return;\n }\n\n const crosshairConfig = {\n zIndex: 1,\n color: '#ffffff',\n dashStyle: 'dash',\n };\n // eslint-disable-next-line no-param-reassign\n chart.plotBackground.element.style.cursor =\n isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair';\n\n chart.series.forEach(seriesItem =>\n seriesItem?.group?.css({\n cursor: isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair',\n })\n );\n\n chart.update({\n chart: {\n ...chartOptions,\n plotBackgroundColor: 'transparent',\n zooming: {\n type: isMinHeightChart || !isZoomEnabled ? 'none' : chartOptions.zoomType,\n panning: {\n enabled: !isZoomEnabled,\n type: chartOptions.panning?.type || 'xy',\n },\n panKey: '',\n },\n },\n xAxis: {\n crosshair: isAxesCoordinatesShown ? crosshairConfig : null,\n className: isZoomEnabled ? classes.axisCrosshair : classes.axisGrab,\n events: {\n afterSetExtremes(e) {\n if (e.trigger === 'zoom' || e.trigger === 'navigator') {\n handleChartSelection();\n }\n if (chart.xAxis?.[0].userOptions.plotLines?.length) {\n updateAxisStyles({ chart });\n }\n onZoomChangeCallback(e);\n },\n },\n },\n yAxis: {\n crosshair: isAxesCoordinatesShown ? crosshairConfig : null,\n className: isZoomEnabled ? classes.axisCrosshair : classes.axisGrab,\n events: {\n afterSetExtremes(e) {\n if (e.trigger === 'zoom' || e.trigger === 'navigator') {\n handleChartSelection();\n }\n onZoomChangeCallback(e);\n },\n },\n },\n plotOptions: {\n series: {\n cursor: isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair',\n },\n },\n });\n }, [isZoomEnabled, handleChartSelection, isAxesCoordinatesShown]);\n};\n"],"names":["useStyles","makeStyles","axisGrab","cursor","axisCrosshair","_ref","chart","chartOptions","isZoomEnabled","isMinHeightChart","handleChartSelection","onZoomChangeCallback","isAxesCoordinatesShown","classes","useEffect","_chartOptions$panning","isEmpty","crosshairConfig","zIndex","color","dashStyle","plotBackground","element","style","series","forEach","seriesItem","_seriesItem$group","group","css","update","plotBackgroundColor","zooming","type","zoomType","panning","enabled","panKey","xAxis","crosshair","className","events","afterSet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GAAAA,EAAwCI,QAC1CC,mBAAiB,CAAE5C,MAAAA,IAErBK,EAAqBgC,EACvB,IAGJQ,MAAO,CACLZ,UAAW3B,EAAyBK,EAAkB,KACtDuB,UAAWhC,EAAgBK,EAAQT,cAAgBS,EAAQX,SAC3DuC,OAAQ,CACNC,iBAAgB,SAACC,GACG,SAAdA,EAAEG,SAAoC,cAAdH,EAAEG,SAC5BpC,IAEFC,EAAqBgC,EACvB,IAGJS,YAAa,CACX5B,OAAQ,CACNrB,OAAQM,IAAqBD,EAAgB,OAAS,eA3D5D,CA+DD,GAAE,CAACA,EAAeE,EAAsBE,GAC3C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/asyncToGenerator"),t=require("@babel/runtime/helpers/slicedToArray"),r=require("@babel/runtime/helpers/typeof"),a=require("@babel/runtime/regenerator"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/asyncToGenerator"),t=require("@babel/runtime/helpers/slicedToArray"),r=require("@babel/runtime/helpers/typeof"),a=require("@babel/runtime/regenerator"),u=require("highcharts"),l=require("highcharts/highcharts-more"),i=require("highcharts/modules/solid-gauge"),n=require("highcharts/modules/heatmap"),o=require("highcharts/modules/boost"),s=require("highcharts/modules/exporting"),d=require("highcharts/modules/xrange"),h=require("highcharts/modules/dumbbell"),f=require("highcharts/modules/pattern-fill"),c=require("highcharts/modules/annotations"),p=require("highcharts-multicolor-series"),g=require("dompurify"),b=require("./highcharts-contour.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=m(e),q=m(t),y=m(r),A=m(a),S=m(u),w=m(l),x=m(i),T=m(n),E=m(o),_=m(s),j=m(d),O=m(h),H=m(f),P=m(c),C=m(p),L=m(g),M=function e(t){return"string"==typeof t?L.default.sanitize(t):("object"===y.default(t)&&null!==t&&Object.entries(t).forEach((function(r){var a=q.default(r,2),u=a[0],l=a[1];"string"==typeof l?t[u]=L.default.sanitize(t[u]):Array.isArray(l)?l.forEach((function(r,a){t[u][a]=e(r)})):"object"===y.default(l)&&(t[u]=e(l))})),t)},z=function(){var e,t=document.createElement("canvas").getContext("webgl"),r=null==t?void 0:t.createShader(t.VERTEX_SHADER);if(!r)return!1;t.shaderSource(r,"void main(){gl_Position=vec4(0.0,0.0,0.0,1.0);}"),t.compileShader(r);var a=!!t.getShaderParameter(r,t.COMPILE_STATUS);return t.deleteShader(r),null===(e=t.getExtension("WEBGL_lose_context"))||void 0===e||e.loseContext(),a};function B(){return B=v.default(A.default.mark((function e(){var t;return A.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.Highcharts=S.default,S.default.AST.bypassHTMLFiltering=!0,S.default.AST.allowedAttributes.push("viewBox"),S.default.AST.allowedAttributes.push("fill-rule"),S.default.AST.allowedAttributes.push("clip-rule"),C.default(S.default),w.default(S.default),x.default(S.default),T.default(S.default),E.default(S.default),_.default(S.default),j.default(S.default),O.default(S.default),H.default(S.default),b(S.default),P.default(S.default),t=S.default.chart,S.default.chart=function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length,u=new Array(a>2?a-2:0),l=2;l<a;l++)u[l-2]=arguments[l];return t.apply(void 0,[e,M(r)].concat(u))},S.default.setOptions({boost:{enabled:z()},plotOptions:{series:{states:{inactive:{enabled:!1}}}}});case 19:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}exports.initHighcharts=function(){return B.apply(this,arguments)};
|
|
2
2
|
//# sourceMappingURL=highcharts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highcharts.js","sources":["../../../../src/config/highcharts/highcharts.js"],"sourcesContent":["/* eslint-disable */\n// TODO: all the plugins should be checked, legacy code\n\
|
|
1
|
+
{"version":3,"file":"highcharts.js","sources":["../../../../src/config/highcharts/highcharts.js"],"sourcesContent":["/* eslint-disable */\n// TODO: all the plugins should be checked, legacy code\n\nimport Highcharts from 'highcharts';\nimport highchartsMore from 'highcharts/highcharts-more';\nimport addSolidGauge from 'highcharts/modules/solid-gauge';\nimport addHeatmap from 'highcharts/modules/heatmap';\nimport addBoost from 'highcharts/modules/boost';\nimport addExporting from 'highcharts/modules/exporting';\nimport addXrange from 'highcharts/modules/xrange';\nimport addDumbbell from 'highcharts/modules/dumbbell';\nimport addPatternFill from 'highcharts/modules/pattern-fill';\nimport addAnnotations from 'highcharts/modules/annotations';\nimport HighchartsMulticolorSeries from 'highcharts-multicolor-series';\nimport DOMPurify from 'dompurify';\n\nimport addContour from './highcharts-contour';\n\nconst stripHTMLRecurse = o => {\n if (typeof o === 'string') {\n return DOMPurify.sanitize(o);\n }\n\n if (typeof o === 'object' && o !== null)\n Object.entries(o).forEach(([key, value]) => {\n if (typeof value === 'string') {\n o[key] = DOMPurify.sanitize(o[key]);\n } else if (Array.isArray(value)) {\n value.forEach((item, i) => {\n o[key][i] = stripHTMLRecurse(item);\n });\n } else if (typeof value === 'object') {\n o[key] = stripHTMLRecurse(value);\n }\n });\n\n return o;\n};\n\n// Highcharts' own hasWebGLSupport() only proves a context can be created, which the\n// drivers that fail here can do. Compiling one shader is what separates them.\nconst isBoostSupported = () => {\n const gl = document.createElement('canvas').getContext('webgl');\n const shader = gl?.createShader(gl.VERTEX_SHADER);\n if (!shader) return false;\n\n gl.shaderSource(shader, 'void main(){gl_Position=vec4(0.0,0.0,0.0,1.0);}');\n gl.compileShader(shader);\n const isCompiled = !!gl.getShaderParameter(shader, gl.COMPILE_STATUS);\n\n gl.deleteShader(shader);\n gl.getExtension('WEBGL_lose_context')?.loseContext();\n\n return isCompiled;\n};\n\nexport async function initHighcharts() {\n // Dev Center apps and the highcharts modules read the global, not the module import.\n window.Highcharts = Highcharts;\n\n // NOTE: Temporary disable HTML filtering for duration of migration to v10, as this is the main breaking change in v10, should be removed after migration\n Highcharts.AST.bypassHTMLFiltering = true;\n\n // Adding needed custom attributes for some SVG icons\n Highcharts.AST.allowedAttributes.push('viewBox');\n Highcharts.AST.allowedAttributes.push('fill-rule');\n Highcharts.AST.allowedAttributes.push('clip-rule');\n\n HighchartsMulticolorSeries(Highcharts);\n // NOTE: Highcharts patching. It should be done in one place before any chart in rendered\n // in order to avoid conflicts\n highchartsMore(Highcharts);\n addSolidGauge(Highcharts); // https://www.highcharts.com/docs/chart-and-series-types/angular-gauges\n addHeatmap(Highcharts); // https://www.highcharts.com/docs/chart-and-series-types/heatmap\n addBoost(Highcharts); // https://www.highcharts.com/docs/advanced-chart-features/boost-module\n addExporting(Highcharts); // https://www.highcharts.com/docs/export-module/export-module-overview\n addXrange(Highcharts); // https://www.highcharts.com/docs/advanced-chart-features/boost-module\n addDumbbell(Highcharts);\n addPatternFill(Highcharts);\n addContour(Highcharts);\n addAnnotations(Highcharts);\n\n // https://github.com/highcharts/highcharts/security/advisories/GHSA-8j65-4pcq-xq95\n const originalChartFn = Highcharts.chart;\n Highcharts.chart = function (container, options = {}, ...restParams) {\n return originalChartFn(container, stripHTMLRecurse(options), ...restParams);\n };\n\n /**\n * Adjust default highcharts effects globally for better use in our apps\n *\n * 1. Stop animation for inactive series\n * ref: https://api.highcharts.com/highcharts/plotOptions.series.states.inactive.enabled\n *\n * 2. Keep boost off where its shaders will not compile. boost.enabled defaults to\n * true once addBoost has run, and on such drivers boost carries on with a null\n * program and throws out of getAttribLocation mid-render, taking the chart with\n * it. Charts keep GPU acceleration everywhere the driver works.\n *\n */\n Highcharts.setOptions({\n boost: {\n enabled: isBoostSupported(),\n },\n plotOptions: {\n series: {\n states: {\n inactive: {\n enabled: false,\n },\n },\n },\n },\n });\n}\n"],"names":["stripHTMLRecurse","o","DOMPurify","sanitize","_typeof","Object","entries","forEach","_ref","_ref2","_slicedToArray","key","value","Array","isArray","item","i","isBoostSupported","_gl$getExtension","gl","document","createElement","getContext","shader","createShader","VERTEX_SHADER","shaderSource","compileShader","isCompiled","getShaderParameter","COMPILE_STATUS","deleteShader","getExtension","loseContext","_initHighcharts","_asyncToGenerator","_regeneratorRuntime","mark","_callee","originalChartFn","wrap","_context","prev","next","window","Highcharts","AST","bypassHTMLFiltering","allowedAttributes","push","HighchartsMulticolorSeries","highchartsMore","addSolidGauge","addHeatmap","addBoost","addExporting","addXrange","addDumbbell","addPatternFill","addContour","addAnnotations","chart","container","options","arguments","length","undefined","_len","restParams","_key","setOptions","boost","enabled","plotOptions","series","states","inactive","stop","apply","this"],"mappings":"i7BAkBMA,EAAmB,SAAnBA,EAAmBC,GACvB,MAAiB,iBAANA,EACFC,EAAS,QAACC,SAASF,IAGX,WAAbG,UAAOH,IAAwB,OAANA,GAC3BI,OAAOC,QAAQL,GAAGM,SAAQ,SAAkBC,GAAA,IAAAC,EAAAC,EAAAA,QAAAF,EAAA,GAAhBG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GACf,iBAAVG,EACTX,EAAEU,GAAOT,EAAS,QAACC,SAASF,EAAEU,IACrBE,MAAMC,QAAQF,GACvBA,EAAML,SAAQ,SAACQ,EAAMC,GACnBf,EAAEU,GAAKK,GAAKhB,EAAiBe,EAC/B,IAC0B,WAAjBX,EAAA,QAAOQ,KAChBX,EAAEU,GAAOX,EAAiBY,GAE9B,IAEKX,EACT,EAIMgB,EAAmB,WAAM,IAAAC,EACvBC,EAAKC,SAASC,cAAc,UAAUC,WAAW,SACjDC,EAASJ,aAAE,EAAFA,EAAIK,aAAaL,EAAGM,eACnC,IAAKF,EAAQ,OAAO,EAEpBJ,EAAGO,aAAaH,EAAQ,mDACxBJ,EAAGQ,cAAcJ,GACjB,IAAMK,IAAeT,EAAGU,mBAAmBN,EAAQJ,EAAGW,gBAKtD,OAHAX,EAAGY,aAAaR,GACqB,QAArCJ,EAAAA,EAAGa,aAAa,6BAAqB,IAAAd,GAArCA,EAAuCe,cAEhCL,CACT,EA4DC,SAAAM,IAAA,OAAAA,EA1DMC,EAAAA,QAAAC,EAAAA,QAAAC,MAAA,SAAAC,IAAA,IAAAC,EAAA,OAAAH,UAAAI,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"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./highcharts/highcharts.js"),i=require("../clients/subscriptions.js");require("./extendNative.js"),exports.initGlobalDependencies=function(){var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./highcharts/highcharts.js"),i=require("../clients/subscriptions.js");require("./extendNative.js"),exports.initGlobalDependencies=function(){var t=e.initHighcharts();return i.initializeSocketClient(),t};
|
|
2
2
|
//# sourceMappingURL=initGlobalDependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initGlobalDependencies.js","sources":["../../../src/config/initGlobalDependencies.js"],"sourcesContent":["import { initHighcharts } from '~/config/highcharts';\nimport { initializeSocketClient } from '~/clients/subscriptions';\nimport './extendNative.js';\n\
|
|
1
|
+
{"version":3,"file":"initGlobalDependencies.js","sources":["../../../src/config/initGlobalDependencies.js"],"sourcesContent":["import { initHighcharts } from '~/config/highcharts';\nimport { initializeSocketClient } from '~/clients/subscriptions';\nimport './extendNative.js';\n\nexport function initGlobalDependencies() {\n const highchartsReady = initHighcharts();\n\n initializeSocketClient();\n\n return highchartsReady;\n}\n"],"names":["highchartsReady","initHighcharts","initializeSocketClient"],"mappings":"qNAIO,WACL,IAAMA,EAAkBC,EAAAA,iBAIxB,OAFAC,EAAAA,yBAEOF,CACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB;;;;;;;;UA8E5B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import{makeStyles as e}from"@material-ui/core";import{isEmpty as o}from"lodash";import{useEffect as t}from"react";import{updateAxisStyles as n}from"../formations.js";function
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import{makeStyles as e}from"@material-ui/core";import{isEmpty as o}from"lodash";import{useEffect as t}from"react";import{updateAxisStyles as n}from"../formations.js";function a(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.push.apply(o,t)}return o}function i(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?a(Object(t),!0).forEach((function(o){r(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var s=e({axisGrab:{cursor:"grab"},axisCrosshair:{cursor:"crosshair"}}),c=function(r){var e=r.chart,a=r.chartOptions,c=r.isZoomEnabled,l=r.isMinHeightChart,p=r.handleChartSelection,u=r.onZoomChangeCallback,f=r.isAxesCoordinatesShown,g=s();t((function(){var r;if(!o(e)){var t={zIndex:1,color:"#ffffff",dashStyle:"dash"};e.plotBackground.element.style.cursor=l||!c?"grab":"crosshair",e.series.forEach((function(r){var e;return null==r||null===(e=r.group)||void 0===e?void 0:e.css({cursor:l||!c?"grab":"crosshair"})})),e.update({chart:i(i({},a),{},{plotBackgroundColor:"transparent",zooming:{type:l||!c?"none":a.zoomType,panning:{enabled:!c,type:(null===(r=a.panning)||void 0===r?void 0:r.type)||"xy"},panKey:""}}),xAxis:{crosshair:f?t:null,className:c?g.axisCrosshair:g.axisGrab,events:{afterSetExtremes:function(r){var o,t;"zoom"!==r.trigger&&"navigator"!==r.trigger||p(),null!==(o=e.xAxis)&&void 0!==o&&null!==(t=o[0].userOptions.plotLines)&&void 0!==t&&t.length&&n({chart:e}),u(r)}}},yAxis:{crosshair:f?t:null,className:c?g.axisCrosshair:g.axisGrab,events:{afterSetExtremes:function(r){"zoom"!==r.trigger&&"navigator"!==r.trigger||p(),u(r)}}},plotOptions:{series:{cursor:l||!c?"grab":"crosshair"}}})}}),[c,p,f])};export{c as useChartModifier};
|
|
2
2
|
//# sourceMappingURL=useChartModifier.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartModifier.js","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\nimport { isEmpty } from 'lodash';\nimport { useEffect } from 'react';\n\nimport { updateAxisStyles } from '../formations';\n\
|
|
1
|
+
{"version":3,"file":"useChartModifier.js","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\nimport { isEmpty } from 'lodash';\nimport { useEffect } from 'react';\n\nimport { updateAxisStyles } from '../formations';\n\nconst useStyles = makeStyles({\n axisGrab: {\n cursor: 'grab',\n },\n axisCrosshair: {\n cursor: 'crosshair',\n },\n});\n\nexport const useChartModifier = ({\n chart,\n chartOptions,\n isZoomEnabled,\n isMinHeightChart,\n handleChartSelection,\n onZoomChangeCallback,\n isAxesCoordinatesShown,\n}) => {\n const classes = useStyles();\n\n useEffect(() => {\n if (isEmpty(chart)) {\n return;\n }\n\n const crosshairConfig = {\n zIndex: 1,\n color: '#ffffff',\n dashStyle: 'dash',\n };\n // eslint-disable-next-line no-param-reassign\n chart.plotBackground.element.style.cursor =\n isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair';\n\n chart.series.forEach(seriesItem =>\n seriesItem?.group?.css({\n cursor: isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair',\n })\n );\n\n chart.update({\n chart: {\n ...chartOptions,\n plotBackgroundColor: 'transparent',\n zooming: {\n type: isMinHeightChart || !isZoomEnabled ? 'none' : chartOptions.zoomType,\n panning: {\n enabled: !isZoomEnabled,\n type: chartOptions.panning?.type || 'xy',\n },\n panKey: '',\n },\n },\n xAxis: {\n crosshair: isAxesCoordinatesShown ? crosshairConfig : null,\n className: isZoomEnabled ? classes.axisCrosshair : classes.axisGrab,\n events: {\n afterSetExtremes(e) {\n if (e.trigger === 'zoom' || e.trigger === 'navigator') {\n handleChartSelection();\n }\n if (chart.xAxis?.[0].userOptions.plotLines?.length) {\n updateAxisStyles({ chart });\n }\n onZoomChangeCallback(e);\n },\n },\n },\n yAxis: {\n crosshair: isAxesCoordinatesShown ? crosshairConfig : null,\n className: isZoomEnabled ? classes.axisCrosshair : classes.axisGrab,\n events: {\n afterSetExtremes(e) {\n if (e.trigger === 'zoom' || e.trigger === 'navigator') {\n handleChartSelection();\n }\n onZoomChangeCallback(e);\n },\n },\n },\n plotOptions: {\n series: {\n cursor: isMinHeightChart || !isZoomEnabled ? 'grab' : 'crosshair',\n },\n },\n });\n }, [isZoomEnabled, handleChartSelection, isAxesCoordinatesShown]);\n};\n"],"names":["useStyles","makeStyles","axisGrab","cursor","axisCrosshair","useChartModifier","_ref","chart","chartOptions","isZoomEnabled","isMinHeightChart","handleChartSelection","onZoomChangeCallback","isAxesCoordinatesShown","classes","useEffect","_chartOptions$panning","isEmpty","crosshairConfig","zIndex","color","dashStyle","plotBackground","element","style","series","forEach","seriesItem","_seriesItem$group","group","css","update","plotBackgroundColor","zooming","type","zoomType","panning","enabled","panKey","xAxis","crosshair","className","events","afterSetExtremes","e","_chart$xAxis","_chart$xAxis$0$userOp","trigger","userOptions","plotLines","length","updateAxisStyles","yAxis","plotOptions"],"mappings":"0xBAMA,IAAMA,EAAYC,EAAW,CAC3BC,SAAU,CACRC,OAAQ,QAEVC,cAAe,CACbD,OAAQ,eAICE,EAAmB,SAQ1BC,GAAA,IAPJC,IAAAA,MACAC,IAAAA,aACAC,IAAAA,cACAC,IAAAA,iBACAC,IAAAA,qBACAC,IAAAA,qBACAC,IAAAA,uBAEMC,EAAUd,IAEhBe,GAAU,WAAM,IAAAC,EACd,IAAIC,EAAQV,GAAZ,CAIA,IAAMW,EAAkB,CACtBC,OAAQ,EACRC,MAAO,UACPC,UAA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({
|
|
|
106
106
|
})[];
|
|
107
107
|
})[];
|
|
108
108
|
export declare const BHA_GENERAL_FIELD_TYPES: ({
|
|
109
|
+
unit?: undefined;
|
|
109
110
|
name: string;
|
|
110
111
|
label: string;
|
|
111
112
|
cond?: undefined;
|
|
112
|
-
unit?: undefined;
|
|
113
113
|
col_size?: undefined;
|
|
114
114
|
family?: undefined;
|
|
115
115
|
} | {
|
|
@@ -134,8 +134,8 @@ export declare const BHA_GENERAL_FIELD_TYPES: ({
|
|
|
134
134
|
col_size: number;
|
|
135
135
|
family?: undefined;
|
|
136
136
|
} | {
|
|
137
|
-
cond?: undefined;
|
|
138
137
|
unit?: undefined;
|
|
138
|
+
cond?: undefined;
|
|
139
139
|
name: string;
|
|
140
140
|
label: string;
|
|
141
141
|
col_size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highcharts.d.ts","sourceRoot":"","sources":["../../../src/config/highcharts/highcharts.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"highcharts.d.ts","sourceRoot":"","sources":["../../../src/config/highcharts/highcharts.js"],"names":[],"mappings":"AAwDA,wBAAsB,cAAc,kBA0DnC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import e from"@babel/runtime/helpers/typeof";import o from"@babel/runtime/regenerator";import i from"highcharts";import a from"highcharts/highcharts-more";import n from"highcharts/modules/solid-gauge";import s from"highcharts/modules/heatmap";import h from"highcharts/modules/boost";import m from"highcharts/modules/exporting";import l from"highcharts/modules/xrange";import c from"highcharts/modules/dumbbell";import u from"highcharts/modules/pattern-fill";import p from"highcharts/modules/annotations";import f from"highcharts-multicolor-series";import d from"dompurify";import g from"./highcharts-contour.js";var b=function r(o){return"string"==typeof o?d.sanitize(o):("object"===e(o)&&null!==o&&Object.entries(o).forEach((function(i){var a=t(i,2),n=a[0],s=a[1];"string"==typeof s?o[n]=d.sanitize(o[n]):Array.isArray(s)?s.forEach((function(t,e){o[n][e]=r(t)})):"object"===e(s)&&(o[n]=r(s))})),o)},v=function(){var r,t=document.createElement("canvas").getContext("webgl"),e=null==t?void 0:t.createShader(t.VERTEX_SHADER);if(!e)return!1;t.shaderSource(e,"void main(){gl_Position=vec4(0.0,0.0,0.0,1.0);}"),t.compileShader(e);var o=!!t.getShaderParameter(e,t.COMPILE_STATUS);return t.deleteShader(e),null===(r=t.getExtension("WEBGL_lose_context"))||void 0===r||r.loseContext(),o};function y(){return A.apply(this,arguments)}function A(){return A=r(o.mark((function r(){var t;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:window.Highcharts=i,i.AST.bypassHTMLFiltering=!0,i.AST.allowedAttributes.push("viewBox"),i.AST.allowedAttributes.push("fill-rule"),i.AST.allowedAttributes.push("clip-rule"),f(i),a(i),n(i),s(i),h(i),m(i),l(i),c(i),u(i),g(i),p(i),t=i.chart,i.chart=function(r){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return t.apply(void 0,[r,b(e)].concat(i))},i.setOptions({boost:{enabled:v()},plotOptions:{series:{states:{inactive:{enabled:!1}}}}});case 19:case"end":return r.stop()}}),r)}))),A.apply(this,arguments)}export{y as initHighcharts};
|
|
2
2
|
//# sourceMappingURL=highcharts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highcharts.js","sources":["../../../src/config/highcharts/highcharts.js"],"sourcesContent":["/* eslint-disable */\n// TODO: all the plugins should be checked, legacy code\n\
|
|
1
|
+
{"version":3,"file":"highcharts.js","sources":["../../../src/config/highcharts/highcharts.js"],"sourcesContent":["/* eslint-disable */\n// TODO: all the plugins should be checked, legacy code\n\nimport Highcharts from 'highcharts';\nimport highchartsMore from 'highcharts/highcharts-more';\nimport addSolidGauge from 'highcharts/modules/solid-gauge';\nimport addHeatmap from 'highcharts/modules/heatmap';\nimport addBoost from 'highcharts/modules/boost';\nimport addExporting from 'highcharts/modules/exporting';\nimport addXrange from 'highcharts/modules/xrange';\nimport addDumbbell from 'highcharts/modules/dumbbell';\nimport addPatternFill from 'highcharts/modules/pattern-fill';\nimport addAnnotations from 'highcharts/modules/annotations';\nimport HighchartsMulticolorSeries from 'highcharts-multicolor-series';\nimport DOMPurify from 'dompurify';\n\nimport addContour from './highcharts-contour';\n\nconst stripHTMLRecurse = o => {\n if (typeof o === 'string') {\n return DOMPurify.sanitize(o);\n }\n\n if (typeof o === 'object' && o !== null)\n Object.entries(o).forEach(([key, value]) => {\n if (typeof value === 'string') {\n o[key] = DOMPurify.sanitize(o[key]);\n } else if (Array.isArray(value)) {\n value.forEach((item, i) => {\n o[key][i] = stripHTMLRecurse(item);\n });\n } else if (typeof value === 'object') {\n o[key] = stripHTMLRecurse(value);\n }\n });\n\n return o;\n};\n\n// Highcharts' own hasWebGLSupport() only proves a context can be created, which the\n// drivers that fail here can do. Compiling one shader is what separates them.\nconst isBoostSupported = () => {\n const gl = document.createElement('canvas').getContext('webgl');\n const shader = gl?.createShader(gl.VERTEX_SHADER);\n if (!shader) return false;\n\n gl.shaderSource(shader, 'void main(){gl_Position=vec4(0.0,0.0,0.0,1.0);}');\n gl.compileShader(shader);\n const isCompiled = !!gl.getShaderParameter(shader, gl.COMPILE_STATUS);\n\n gl.deleteShader(shader);\n gl.getExtension('WEBGL_lose_context')?.loseContext();\n\n return isCompiled;\n};\n\nexport async function initHighcharts() {\n // Dev Center apps and the highcharts modules read the global, not the module import.\n window.Highcharts = Highcharts;\n\n // NOTE: Temporary disable HTML filtering for duration of migration to v10, as this is the main breaking change in v10, should be removed after migration\n Highcharts.AST.bypassHTMLFiltering = true;\n\n // Adding needed custom attributes for some SVG icons\n Highcharts.AST.allowedAttributes.push('viewBox');\n Highcharts.AST.allowedAttributes.push('fill-rule');\n Highcharts.AST.allowedAttributes.push('clip-rule');\n\n HighchartsMulticolorSeries(Highcharts);\n // NOTE: Highcharts patching. It should be done in one place before any chart in rendered\n // in order to avoid conflicts\n highchartsMore(Highcharts);\n addSolidGauge(Highcharts); // https://www.highcharts.com/docs/chart-and-series-types/angular-gauges\n addHeatmap(Highcharts); // https://www.highcharts.com/docs/chart-and-series-types/heatmap\n addBoost(Highcharts); // https://www.highcharts.com/docs/advanced-chart-features/boost-module\n addExporting(Highcharts); // https://www.highcharts.com/docs/export-module/export-module-overview\n addXrange(Highcharts); // https://www.highcharts.com/docs/advanced-chart-features/boost-module\n addDumbbell(Highcharts);\n addPatternFill(Highcharts);\n addContour(Highcharts);\n addAnnotations(Highcharts);\n\n // https://github.com/highcharts/highcharts/security/advisories/GHSA-8j65-4pcq-xq95\n const originalChartFn = Highcharts.chart;\n Highcharts.chart = function (container, options = {}, ...restParams) {\n return originalChartFn(container, stripHTMLRecurse(options), ...restParams);\n };\n\n /**\n * Adjust default highcharts effects globally for better use in our apps\n *\n * 1. Stop animation for inactive series\n * ref: https://api.highcharts.com/highcharts/plotOptions.series.states.inactive.enabled\n *\n * 2. Keep boost off where its shaders will not compile. boost.enabled defaults to\n * true once addBoost has run, and on such drivers boost carries on with a null\n * program and throws out of getAttribLocation mid-render, taking the chart with\n * it. Charts keep GPU acceleration everywhere the driver works.\n *\n */\n Highcharts.setOptions({\n boost: {\n enabled: isBoostSupported(),\n },\n plotOptions: {\n series: {\n states: {\n inactive: {\n enabled: false,\n },\n },\n },\n },\n });\n}\n"],"names":["stripHTMLRecurse","o","DOMPurify","sanitize","_typeof","Object","entries","forEach","_ref","_ref2","_slicedToArray","key","value","Array","isArray","item","i","isBoostSupported","_gl$getExtension","gl","document","createElement","getContext","shader","createShader","VERTEX_SHADER","shaderSource","compileShader","isCompiled","getShaderParameter","COMPILE_STATUS","deleteShader","getExtension","loseContext","initHighcharts","_initHighcharts","apply","this","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee","originalChartFn","wrap","_context","prev","next","window","Highcharts","AST","bypassHTMLFiltering","allowedAttributes","push","HighchartsMulticolorSeries","highchartsMore","addSolidGauge","addHeatmap","addBoost","addExporting","addXrange","addDumbbell","addPatternFill","addContour","addAnnotations","chart","container","options","length","undefined","_len","restParams","_key","setOptions","boost","enabled","plotOptions","series","states","inactive","stop"],"mappings":"+sBAkBA,IAAMA,EAAmB,SAAnBA,EAAmBC,GACvB,MAAiB,iBAANA,EACFC,EAAUC,SAASF,IAGX,WAAbG,EAAOH,IAAwB,OAANA,GAC3BI,OAAOC,QAAQL,GAAGM,SAAQ,SAAkBC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAhBG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GACf,iBAAVG,EACTX,EAAEU,GAAOT,EAAUC,SAASF,EAAEU,IACrBE,MAAMC,QAAQF,GACvBA,EAAML,SAAQ,SAACQ,EAAMC,GACnBf,EAAEU,GAAKK,GAAKhB,EAAiBe,EAC/B,IAC0B,WAAjBX,EAAOQ,KAChBX,EAAEU,GAAOX,EAAiBY,GAE9B,IAEKX,EACT,EAIMgB,EAAmB,WAAM,IAAAC,EACvBC,EAAKC,SAASC,cAAc,UAAUC,WAAW,SACjDC,EAASJ,aAAE,EAAFA,EAAIK,aAAaL,EAAGM,eACnC,IAAKF,EAAQ,OAAO,EAEpBJ,EAAGO,aAAaH,EAAQ,mDACxBJ,EAAGQ,cAAcJ,GACjB,IAAMK,IAAeT,EAAGU,mBAAmBN,EAAQJ,EAAGW,gBAKtD,OAHAX,EAAGY,aAAaR,GACqB,QAArCJ,EAAAA,EAAGa,aAAa,6BAAqB,IAAAd,GAArCA,EAAuCe,cAEhCL,CACT,EAEA,SAAsBM,IAAc,OAAAC,EAAAC,MAAAC,KAAAC,UAAA,CA0DnC,SAAAH,IAAA,OAAAA,EA1DMI,EAAAC,EAAAC,MAAA,SAAAC,IAAA,IAAAC,EAAA,OAAAH,EAAAI,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAELC,OAAOC,WAAaA,EAGpBA,EAAWC,IAAIC,qBAAsB,EAGrCF,EAAWC,IAAIE,kBAAkBC,KAAK,WACtCJ,EAAWC,IAAIE,kBAAkBC,KAAK,aACtCJ,EAAWC,IAAIE,kBAAkBC,KAAK,aAEtCC,EAA2BL,GAG3BM,EAAeN,GACfO,EAAcP,GACdQ,EAAWR,GACXS,EAAST,GACTU,EAAaV,GACbW,EAAUX,GACVY,EAAYZ,GACZa,EAAeb,GACfc,EAAWd,GACXe,EAAef,GAGTN,EAAkBM,EAAWgB,MACnChB,EAAWgB,MAAQ,SAAUC,GAAuB,IAAiB,IAA7BC,EAAU7B,UAAA8B,OAAA,QAAAC,IAAA/B,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAEgC,EAAAhC,UAAA8B,OAAKG,EAAU,IAAA1D,MAAAyD,EAAA,EAAAA,EAAA,EAAA,GAAAE,EAAA,EAAAA,EAAAF,EAAAE,IAAVD,EAAUC,EAAA,GAAAlC,UAAAkC,GACjE,OAAO7B,EAAgBuB,WAAAA,EAAAA,CAAAA,EAAWlE,EAAiBmE,IAAaI,OAAAA,KAelEtB,EAAWwB,WAAW,CACpBC,MAAO,CACLC,QAAS1D,KAEX2D,YAAa,CACXC,OAAQ,CACNC,OAAQ,CACNC,SAAU,CACRJ,SAAS,QAKhB,KAAA,GAAA,IAAA,MAAA,OAAA9B,EAAAmC,OAAA,GAAAtC,EACJ,KAAAP,EAAAC,MAAAC,KAAAC,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/config/highcharts/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/config/highcharts/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initGlobalDependencies.d.ts","sourceRoot":"","sources":["../../src/config/initGlobalDependencies.js"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"initGlobalDependencies.d.ts","sourceRoot":"","sources":["../../src/config/initGlobalDependencies.js"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;AAE3B,wBAAgB,sBAAsB,kBAMrC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{initHighcharts as r}from"./highcharts/highcharts.js";import{initializeSocketClient as
|
|
1
|
+
import{initHighcharts as r}from"./highcharts/highcharts.js";import{initializeSocketClient as t}from"../clients/subscriptions.js";import"./extendNative.js";function i(){var i=r();return t(),i}export{i as initGlobalDependencies};
|
|
2
2
|
//# sourceMappingURL=initGlobalDependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initGlobalDependencies.js","sources":["../../src/config/initGlobalDependencies.js"],"sourcesContent":["import { initHighcharts } from '~/config/highcharts';\nimport { initializeSocketClient } from '~/clients/subscriptions';\nimport './extendNative.js';\n\
|
|
1
|
+
{"version":3,"file":"initGlobalDependencies.js","sources":["../../src/config/initGlobalDependencies.js"],"sourcesContent":["import { initHighcharts } from '~/config/highcharts';\nimport { initializeSocketClient } from '~/clients/subscriptions';\nimport './extendNative.js';\n\nexport function initGlobalDependencies() {\n const highchartsReady = initHighcharts();\n\n initializeSocketClient();\n\n return highchartsReady;\n}\n"],"names":["initGlobalDependencies","highchartsReady","initHighcharts","initializeSocketClient"],"mappings":"2JAIO,SAASA,IACd,IAAMC,EAAkBC,IAIxB,OAFAC,IAEOF,CACT"}
|
package/mcp-server/server.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/ui",
|
|
3
|
-
"version": "3.80.0-
|
|
3
|
+
"version": "3.80.0-6",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Shared components/utils for Corva ui projects",
|
|
6
6
|
"repository": {
|
|
@@ -171,9 +171,7 @@
|
|
|
171
171
|
"geolib": "^3.3.4",
|
|
172
172
|
"highcharts": "10.3.3",
|
|
173
173
|
"highcharts-multicolor-series": "2.4.1",
|
|
174
|
-
"highcharts-multicolor-series-v8": "npm:highcharts-multicolor-series@2.2.7",
|
|
175
174
|
"highcharts-react-official": "2.2.2",
|
|
176
|
-
"highcharts-v8": "npm:highcharts@8.1.2",
|
|
177
175
|
"html2canvas": "1.0.0-alpha.12",
|
|
178
176
|
"image-extensions": "1.1.0",
|
|
179
177
|
"jscpd": "^3.4.5",
|