@perses-dev/gauge-chart-plugin 0.7.1 → 0.8.0
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/__mf/js/{481.38bc8574.js → 481.bd935378.js} +1 -1
- package/__mf/js/{GaugeChart.cfdb55a8.js → GaugeChart.691a7b2b.js} +3 -3
- package/__mf/js/async/{957.3c868e35.js → 197.4db99b8f.js} +2 -2
- package/__mf/js/async/{738.e2de8ee4.js → 269.ccb8b7e1.js} +1 -1
- package/__mf/js/async/{413.8c98e66f.js → 413.13c85eaf.js} +2 -2
- package/__mf/js/async/503.6b607560.js +1 -0
- package/__mf/js/async/530.a36b7115.js +7 -0
- package/__mf/js/async/530.a36b7115.js.LICENSE.txt +21 -0
- package/__mf/js/async/738.9f05b40b.js +1 -0
- package/__mf/js/async/845.b0c68f69.js +73 -0
- package/__mf/js/async/__federation_expose_GaugeChart.7b0cb8e7.js +1 -0
- package/__mf/js/main.ff834793.js +1 -0
- package/mf-manifest.json +29 -29
- package/mf-stats.json +29 -29
- package/package.json +4 -4
- package/__mf/js/async/409.64ed758e.js +0 -1
- package/__mf/js/async/422.a17fef68.js +0 -1
- package/__mf/js/async/432.e6fd356a.js +0 -29
- package/__mf/js/async/432.e6fd356a.js.LICENSE.txt +0 -37
- package/__mf/js/async/65.8ddd406b.js +0 -73
- package/__mf/js/async/__federation_expose_GaugeChart.7512420d.js +0 -1
- package/__mf/js/main.d6113dbb.js +0 -1
- /package/__mf/js/async/{957.3c868e35.js.LICENSE.txt → 197.4db99b8f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{413.8c98e66f.js.LICENSE.txt → 413.13c85eaf.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{65.8ddd406b.js.LICENSE.txt → 845.b0c68f69.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkGaugeChart=self.webpackChunkGaugeChart||[]).push([["225"],{14046:function(e,t,n){"use strict";n.d(t,{K2:()=>r,c7:()=>i,gO:()=>l});let r="last",i={first:function(e){return a(e,"first")},last:function(e){return a(e,"last")},"first-number":function(e){return a(e,"first-number")},"last-number":function(e){return a(e,"last-number")},mean:function(e){return a(e,"mean")},sum:function(e){return a(e,"sum")},min:function(e){return a(e,"min")},max:function(e){return a(e,"max")}},l={first:{label:"First",description:"First value"},last:{label:"Last",description:"Last value"},"first-number":{label:"First *",description:"First numeric value"},"last-number":{label:"Last *",description:"Last numeric value"},mean:{label:"Avg",description:"Average value excluding nulls"},sum:{label:"Sum",description:"The sum of all values"},min:{label:"Min",description:"Minimum value"},max:{label:"Max",description:"Maximum value"}};function a(e,t){return function(e,t){let n=t.reduce((e,t)=>(e[t]=void 0,e),{}),r=0,i=0;return e.forEach((t,l)=>{let a=t[1];0===l&&"first"in n&&(n.first=a),l===e.length-1&&"last"in n&&(n.last=a),"number"==typeof a&&(r+=1,i+=a,"first-number"in n&&void 0===n["first-number"]&&(n["first-number"]=a),"last-number"in n&&(n["last-number"]=a),"min"in n&&("number"!=typeof n.min?n.min=a:n.min=Math.min(n.min,a)),"max"in n&&("number"!=typeof n.max?n.max=a:n.max=Math.max(n.max,a)))}),r>0&&"sum"in n&&(n.sum=i),r>0&&"mean"in n&&(n.mean=i/r),n}(e,[t])[t]}},66070:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},50517:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},46560:function(e,t,n){var r=n(10263),i=n(66070),l=n(50517),a=n(24701),o=n(36468),u=Math.max;e.exports=function(e){if(!(e&&e.length))return[];var t=0;return e=r(e,function(e){if(o(e))return t=u(e.length,t),!0}),a(t,function(t){return i(e,l(t))})}},75940:function(e,t,n){var r=n(1197)(n(46560));e.exports=r},8189:function(e,t,n){"use strict";n.r(t),n.d(t,{GaugeChart:()=>k});let r={unit:"percent-decimal"};var i=n(24246),l=n(8695),a=n(72629),o=n(58891),u=n(96494),s=n(15409),c=n.n(s),h=n(25283),d=n(36372),m=n(66224),f=n(14046),p=n(54538),v=n(75940),g=n.n(v);let x={steps:[{value:0}]};var w=n(56141),b=n.n(w),C=n(74664),y=n(36232),j=n(78846),L=n(65201),M=n(23709),S=n(67745),E=n(50378);function T(e){let{width:t,height:n,data:r,format:l,axisLine:o,max:u}=e,s=(0,a.useChartsTheme)(),c=function(e,t){let n=(0,p.useRef)();return(void 0===n.current||!1===b()(t,n.current.deps))&&(n.current={value:e(),deps:t}),n.current.value}(()=>{var e;if(void 0===r.value)return s.noDataOption;let i=function(e,t,n,r){let i=Math.min(n,r)/(("number"==typeof e?(0,C.Bw)(e,t):`${e}`).length??2)*.7;return`clamp(3px, ${i}px, 24px)`}(r.value,l,t,n);return{title:{show:!1},tooltip:{show:!1},series:[{type:"gauge",center:["50%","65%"],radius:"86%",startAngle:200,endAngle:-20,min:0,max:u,silent:!0,progress:{show:!0,width:16,itemStyle:{color:"auto"}},pointer:{show:!1},axisLine:{lineStyle:{color:[[1,"rgba(127,127,127,0.35)"]],width:16}},axisTick:{show:!1,distance:0},splitLine:{show:!1},axisLabel:{show:!1,distance:-18,color:"#999",fontSize:12},anchor:{show:!1},title:{show:!1},detail:{show:!1},data:[{value:r.value}]},{type:"gauge",center:["50%","65%"],radius:"100%",startAngle:200,endAngle:-20,min:0,max:u,pointer:{show:!0,icon:t>170?"path://M12.8,0.7l12,40.1H0.7L12.8,0.7z":"none",length:10,width:5,offsetCenter:[0,"-49%"],itemStyle:{color:"auto"}},axisLine:o,axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},detail:{show:!0,width:"60%",borderRadius:8,offsetCenter:[0,"-9%"],color:"inherit",fontSize:i,formatter:null===r.value?()=>"null":e=>(0,C.Bw)(e,l)},data:[{value:r.value,name:r.label,title:{show:!0,color:(null===(e=s.echartsTheme.textStyle)||void 0===e?void 0:e.color)??"inherit",offsetCenter:[0,"55%"],overflow:"truncate",fontSize:12,width:.8*t}}]}]}},[r,t,n,s,l,o,u]);return(0,i.jsx)(a.EChart,{sx:{width:t,height:n,padding:`${s.container.padding.default}px`},option:c,theme:s.echartsTheme})}(0,y.D)([j.N,L.N,M.N,S.N,E.N]);let O={label:"",value:void 0},k={PanelComponent:function(e){let{spec:t,contentDimensions:n,queryResults:l}=e,{calculation:o,max:u}=t,{thresholds:s}=(0,a.useChartsTheme)(),m=c()({},r,t.format),v=t.thresholds??x,w=(0,p.useMemo)(()=>{var e;if((null===(e=l[0])||void 0===e?void 0:e.data)===void 0)return[];void 0===f.c7[o]&&console.warn(`Invalid GaugeChart panel calculation ${o}, fallback to ${f.K2}`);let t=f.c7[o]??f.c7[f.K2],n=[];for(let e of l[0].data.series){let r={value:t(e.values),label:e.formattedName??""};n.push(r)}return n},[l,o]);if(void 0===n)return null;let b=u;void 0===b&&(b="percent"===m.unit?100:1);let C={show:!0,lineStyle:{width:5,color:function(e,t,n,r){let i=e.defaultColor??r.defaultColor,l=[[0,i]];if(void 0===e.steps)return l;{let t=e.steps.map(t=>"percent"===e.mode?t.value/100:t.value/n);t.push(1);let l=e.steps.map((e,t)=>e.color??r.palette[t]);return l.unshift(i),g()(t,l).map(e=>[e[0]??1,e[1]??i])}}(v,0,b,s)}};if(0===w.length)return(0,i.jsx)(T,{width:n.width,height:n.height,data:O,format:m,axisLine:C,max:b});let y=n.width/w.length-20;y<90&&w.length>1&&(y=90);let j=w.length>1;return(0,i.jsx)(h.Z,{direction:"row",spacing:2*!!j,justifyContent:j?"left":"center",alignItems:"center",sx:{overflowX:w.length>1?"scroll":"auto"},children:w.map((e,t)=>(0,i.jsx)(d.Z,{children:(0,i.jsx)(T,{width:y,height:n.height,data:e,format:m,axisLine:C,max:b})},`gauge-series-${t}`))})},LoadingComponent:function(e){let{contentDimensions:t}=e;return void 0===t?null:(0,i.jsx)(m.Z,{sx:{margin:"0 auto"},variant:"circular",width:t.width>t.height?t.height:t.width,height:t.height})},supportedQueryTypes:["TimeSeriesQuery"],panelOptionsEditorComponents:[{label:"Settings",content:function(e){let{onChange:t,value:n}=e,s=c()({},r,n.format),h="Enter value";return"percent"===s.unit?h="100":"percent-decimal"===s.unit&&(h="1"),(0,i.jsxs)(a.OptionsEditorGrid,{children:[(0,i.jsx)(a.OptionsEditorColumn,{children:(0,i.jsxs)(a.OptionsEditorGroup,{title:"Misc",children:[(0,i.jsx)(a.FormatControls,{value:s,onChange:e=>{t((0,u.produce)(n,t=>{t.format=e}))}}),(0,i.jsx)(o.CalculationSelector,{value:n.calculation,onChange:e=>{t((0,u.produce)(n,t=>{t.calculation=e}))}}),(0,i.jsx)(a.OptionsEditorControl,{label:"Max",control:(0,i.jsx)(l.Z,{type:"number",value:n.max??"",onChange:e=>{let r=e.target.value?Number(e.target.value):void 0;t((0,u.produce)(n,e=>{e.max=r}))},placeholder:h})})]})}),(0,i.jsx)(a.OptionsEditorColumn,{children:(0,i.jsx)(a.ThresholdsEditor,{thresholds:n.thresholds,onChange:e=>{t((0,u.produce)(n,t=>{t.thresholds=e}))}})})]})}}],createInitialOptions:function(){return{calculation:"last-number",format:r,thresholds:{steps:[{value:.8},{value:.9}]}}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var e={5311:function(e,r,t){Promise.all([t.e("677"),t.e("179"),t.e("620")]).then(t.bind(t,29161))}},r={};function t(n){var a=r[n];if(void 0!==a)return a.exports;var o=r[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=e,t.c=r,t.federation||(t.federation={chunkMatcher:function(e){return!/^(1(26|57|79)|263|494|667|677|759|82|879|946)$/.test(e)}}),t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,n)=>(t.f[n](e,r),r),[])),t.u=e=>"__mf/js/async/"+("118"===e?"lib-router":e)+"."+({1:"6f58f98c",118:"c799dfc6",173:"5bfb1682",197:"4db99b8f",214:"6d1beb4f",224:"dd9ee618",238:"3b90e0d1",269:"ccb8b7e1",292:"d6d07d9c",296:"6e15d7c1",413:"13c85eaf",503:"6b607560",530:"a36b7115",553:"db3ebdeb",620:"eb985bf1",623:"afdd0af8",656:"75485b0e",694:"8b956cd7",738:"9f05b40b",740:"a7a03e99",75:"4ebd94ad",770:"1ddcdb57",774:"db64c396",790:"4aa856ac",808:"4e339e11",845:"b0c68f69",929:"fde3d617",930:"dbd05e3e",960:"fb84169e",964:"80d5e8c0",981:"6ecc2fa1"})[e]+".js",t.miniCssF=e=>"__mf/css/async/"+e+"."+({263:"683bd428",759:"683bd428"})[e]+".css",t.h=()=>"2ba6489a10aad01a",(()=>{t.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="GaugeChart:";t.l=function(n,a,o,i){if(e[n]){e[n].push(a);return}if(void 0!==o)for(var s,l,c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,t.nc&&s.setAttribute("nonce",t.nc),s.setAttribute("data-webpack",r+o),s.src=n),e[n]=[a];var f=function(r,t){s.onerror=s.onload=null,clearTimeout(h);var a=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach(function(e){return e(t)}),r)return r(t)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}})(),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{var e=[];t.O=(r,n,a,o)=>{if(n){o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[n,a,o];return}for(var s=1/0,i=0;i<e.length;i++){for(var[n,a,o]=e[i],l=!0,c=0;c<n.length;c++)(!1&o||s>=o)&&Object.keys(t.O).every(e=>t.O[e](n[c]))?n.splice(c--,1):(l=!1,o<s&&(s=o));if(l){e.splice(i--,1);var d=a();void 0!==d&&(r=d)}}return r}})(),t.p="/plugins/GaugeChart/",t.rv=()=>"1.2.8",t.j="909",t.S={},t.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@emotion/react",version:"11.14.0",factory:()=>Promise.all([t.e("960"),t.e("677"),t.e("930")]).then(()=>()=>t(96434)),eager:0,singleton:1,requiredVersion:"^11.11.3"},{name:"@emotion/styled",version:"11.14.0",factory:()=>Promise.all([t.e("677"),t.e("157"),t.e("694")]).then(()=>()=>t(51958)),eager:0,singleton:1},{name:"@hookform/resolvers",version:"3.10.0",factory:()=>Promise.all([t.e("292"),t.e("677"),t.e("214")]).then(()=>()=>t(81228)),eager:0,singleton:1},{name:"@perses-dev/components",version:"0.51.0-rc.1",factory:()=>Promise.all([t.e("238"),t.e("224"),t.e("292"),t.e("413"),t.e("738"),t.e("1"),t.e("929"),t.e("530"),t.e("808"),t.e("197"),t.e("677"),t.e("157"),t.e("879"),t.e("179"),t.e("946"),t.e("126"),t.e("759")]).then(()=>()=>t(25451)),eager:0,singleton:1},{name:"@perses-dev/plugin-system",version:"0.51.0-rc.1",factory:()=>Promise.all([t.e("118"),t.e("292"),t.e("1"),t.e("929"),t.e("808"),t.e("845"),t.e("677"),t.e("157"),t.e("879"),t.e("179"),t.e("946"),t.e("82"),t.e("667"),t.e("656")]).then(()=>()=>t(3090)),eager:0,singleton:1},{name:"date-fns",version:"4.1.0",factory:()=>Promise.all([t.e("238"),t.e("224"),t.e("75")]).then(()=>()=>t(99657)),eager:0,singleton:1},{name:"echarts",version:"5.5.0",factory:()=>Promise.all([t.e("413"),t.e("738"),t.e("503")]).then(()=>()=>t(28919)),eager:0,singleton:1},{name:"immer",version:"10.1.1",factory:()=>t.e("774").then(()=>()=>t(75586)),eager:0,singleton:1},{name:"lodash",version:"4.17.21",factory:()=>t.e("981").then(()=>()=>t(98784)),eager:0,singleton:1},{name:"mdi-material-ui",version:"7.9.3",factory:()=>Promise.all([t.e("929"),t.e("296"),t.e("677"),t.e("157"),t.e("946")]).then(()=>()=>t(61157)),eager:0,singleton:1,requiredVersion:"7.4.0"},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([t.e("173"),t.e("677")]).then(()=>()=>t(31542)),eager:0,singleton:1,requiredVersion:"18.2.0"},{name:"react",version:"18.3.1",factory:()=>t.e("964").then(()=>()=>t(27378)),eager:0,singleton:1,requiredVersion:"18.2.0"},{name:"use-resize-observer",version:"9.1.0",factory:()=>Promise.all([t.e("677"),t.e("553")]).then(()=>()=>t(75276)),eager:0,singleton:1,requiredVersion:"9.1.0"}]},uniqueName:"GaugeChart"},t.I=t.I||function(){throw Error("should have __webpack_require__.I")},t.consumesLoadingData={chunkMapping:{82:["74614","71141","72103","20370","58118","55352","57751","30156","55922","84275"],126:["99010"],494:["57871"],946:["45913"],179:["6085"],667:["96494"],157:["72116"],879:["4665","20461","10223"],677:["54538"]},moduleIdToConsumeDataMapping:{57751:{shareScope:"default",shareKey:"@perses-dev/plugin-system",import:"@perses-dev/plugin-system",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>t(3090)},30156:{shareScope:"default",shareKey:"echarts",import:"echarts",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([t.e("413"),t.e("738"),t.e("503")]).then(()=>()=>t(28919))},99010:{shareScope:"default",shareKey:"immer",import:"immer",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("774").then(()=>()=>t(75586))},96494:{shareScope:"default",shareKey:"immer",import:"immer",requiredVersion:"^10.1.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("774").then(()=>()=>t(75586))},72116:{shareScope:"default",shareKey:"@emotion/react",import:"@emotion/react",requiredVersion:"^11.11.3",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("960").then(()=>()=>t(96434))},74614:{shareScope:"default",shareKey:"lodash",import:"lodash",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("981").then(()=>()=>t(98784))},20370:{shareScope:"default",shareKey:"@perses-dev/components",import:"@perses-dev/components",requiredVersion:"0.51.0-rc.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([t.e("238"),t.e("224"),t.e("413"),t.e("738"),t.e("530"),t.e("197"),t.e("126"),t.e("263")]).then(()=>()=>t(25451))},72103:{shareScope:"default",shareKey:"mdi-material-ui",import:"mdi-material-ui",requiredVersion:"7.4.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("296").then(()=>()=>t(61157))},4665:{shareScope:"default",shareKey:"date-fns-tz",import:"date-fns-tz",requiredVersion:"^3.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([t.e("224"),t.e("740"),t.e("494")]).then(()=>()=>t(48872))},54538:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("964").then(()=>()=>t(27378))},55922:{shareScope:"default",shareKey:"@emotion/styled",import:"@emotion/styled",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("770").then(()=>()=>t(51958))},84275:{shareScope:"default",shareKey:"@hookform/resolvers",import:"@hookform/resolvers",requiredVersion:"^2.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("269").then(()=>()=>t(81228))},71141:{shareScope:"default",shareKey:"@perses-dev/plugin-system",import:"@perses-dev/plugin-system",requiredVersion:"0.51.0-rc.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>t(3090)},10223:{shareScope:"default",shareKey:"use-resize-observer",import:"use-resize-observer",requiredVersion:"9.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("623").then(()=>()=>t(75276))},20461:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^4.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([t.e("238"),t.e("224"),t.e("75")]).then(()=>()=>t(99657))},6085:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("173").then(()=>()=>t(31542))},57871:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^3.0.0 || ^4.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([t.e("238"),t.e("75")]).then(()=>()=>t(99657))},55352:{shareScope:"default",shareKey:"immer",import:"immer",requiredVersion:">=8.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("774").then(()=>()=>t(75586))},58118:{shareScope:"default",shareKey:"immer",import:"immer",requiredVersion:">=9.0.6",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("774").then(()=>()=>t(75586))},45913:{shareScope:"default",shareKey:"@emotion/styled",import:"@emotion/styled",requiredVersion:"^11.3.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>t.e("790").then(()=>()=>t(51958))}},initialConsumes:[]},t.f.consumes=t.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},(()=>{if("undefined"!=typeof document){var e=function(e,r,n,a,o){var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",t.nc&&(i.nonce=t.nc),i.onerror=i.onload=function(t){if(i.onerror=i.onload=null,"load"===t.type)a();else{var n=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.href||r,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=n,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}},i.href=r,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},r=function(e,r){for(var t=document.getElementsByTagName("link"),n=0;n<t.length;n++){var a=t[n],o=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===r))return a}for(var i=document.getElementsByTagName("style"),n=0;n<i.length;n++){var a=i[n],o=a.getAttribute("data-href");if(o===e||o===r)return a}},n={909:0};t.f.miniCss=function(a,o){if(n[a])o.push(n[a]);else if(0!==n[a]&&({263:1,759:1})[a])o.push(n[a]=new Promise(function(n,o){var i=t.miniCssF(a),s=t.p+i;if(r(i,s))return n();e(a,s,null,n,o)}).then(function(){n[a]=0},function(e){throw delete n[a],e}))}}})(),(()=>{var e={909:0};t.f.j=function(r,n){var a=t.o(e,r)?e[r]:void 0;if(0!==a){if(a)n.push(a[2]);else if(/^(1(26|57|79)|263|494|667|677|759|82|879|946)$/.test(r))e[r]=0;else{var o=new Promise((t,n)=>a=e[r]=[t,n]);n.push(a[2]=o);var i=t.p+t.u(r),s=Error();t.l(i,function(n){if(t.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,a[1](s)}},"chunk-"+r,r)}}},t.O.j=r=>0===e[r];var r=(r,n)=>{var a,o,[i,s,l]=n,c=0;if(i.some(r=>0!==e[r])){for(a in s)t.o(s,a)&&(t.m[a]=s[a]);if(l)var d=l(t)}for(r&&r(n);c<i.length;c++)o=i[c],t.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return t.O(d)},n=self.webpackChunkGaugeChart=self.webpackChunkGaugeChart||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),t.ruid="bundler=rspack@1.2.8",t.O(void 0,["481"],function(){return t(8705)});var n=t.O(void 0,["481"],function(){return t(5311)});n=t.O(n)})();
|
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "GaugeChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.
|
|
8
|
+
"buildVersion": "0.8.0",
|
|
9
9
|
"buildName": "@perses-dev/gauge-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/GaugeChart.
|
|
12
|
+
"name": "__mf/js/GaugeChart.691a7b2b.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
],
|
|
84
84
|
"sync": [
|
|
85
85
|
"__mf/js/async/214.6d1beb4f.js",
|
|
86
|
-
"__mf/js/async/
|
|
86
|
+
"__mf/js/async/269.ccb8b7e1.js"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
89
|
"css": {
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
{
|
|
96
96
|
"id": "GaugeChart:@perses-dev/components",
|
|
97
97
|
"name": "@perses-dev/components",
|
|
98
|
-
"version": "0.51.0-rc.
|
|
98
|
+
"version": "0.51.0-rc.1",
|
|
99
99
|
"singleton": true,
|
|
100
|
-
"requiredVersion": "^0.51.0-rc.
|
|
100
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
101
101
|
"assets": {
|
|
102
102
|
"js": {
|
|
103
103
|
"async": [
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
"__mf/js/async/173.5bfb1682.js",
|
|
106
106
|
"__mf/js/async/960.fb84169e.js",
|
|
107
107
|
"__mf/js/async/790.4aa856ac.js",
|
|
108
|
-
"__mf/js/async/774.db64c396.js",
|
|
109
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
110
108
|
"__mf/js/async/75.4ebd94ad.js",
|
|
109
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
110
|
+
"__mf/js/async/774.db64c396.js",
|
|
111
111
|
"__mf/js/async/623.afdd0af8.js"
|
|
112
112
|
],
|
|
113
113
|
"sync": [
|
|
114
|
-
"__mf/js/async/
|
|
114
|
+
"__mf/js/async/530.a36b7115.js"
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
"css": {
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
{
|
|
124
124
|
"id": "GaugeChart:@perses-dev/plugin-system",
|
|
125
125
|
"name": "@perses-dev/plugin-system",
|
|
126
|
-
"version": "0.51.0-rc.
|
|
126
|
+
"version": "0.51.0-rc.1",
|
|
127
127
|
"singleton": true,
|
|
128
|
-
"requiredVersion": "^0.51.0-rc.
|
|
128
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
129
129
|
"assets": {
|
|
130
130
|
"js": {
|
|
131
131
|
"async": [
|
|
@@ -133,24 +133,24 @@
|
|
|
133
133
|
"__mf/js/async/173.5bfb1682.js",
|
|
134
134
|
"__mf/js/async/960.fb84169e.js",
|
|
135
135
|
"__mf/js/async/790.4aa856ac.js",
|
|
136
|
-
"__mf/js/async/224.dd9ee618.js",
|
|
137
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
138
136
|
"__mf/js/async/238.3b90e0d1.js",
|
|
137
|
+
"__mf/js/async/224.dd9ee618.js",
|
|
139
138
|
"__mf/js/async/75.4ebd94ad.js",
|
|
139
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
140
140
|
"__mf/js/async/623.afdd0af8.js",
|
|
141
|
-
"__mf/js/async/413.
|
|
142
|
-
"__mf/js/async/
|
|
143
|
-
"__mf/js/async/
|
|
144
|
-
"__mf/js/async/
|
|
141
|
+
"__mf/js/async/413.13c85eaf.js",
|
|
142
|
+
"__mf/js/async/738.9f05b40b.js",
|
|
143
|
+
"__mf/js/async/530.a36b7115.js",
|
|
144
|
+
"__mf/js/async/197.4db99b8f.js",
|
|
145
145
|
"__mf/js/async/774.db64c396.js",
|
|
146
|
-
"__mf/js/async/
|
|
147
|
-
"__mf/js/async/
|
|
146
|
+
"__mf/js/async/269.ccb8b7e1.js",
|
|
147
|
+
"__mf/js/async/503.6b607560.js",
|
|
148
148
|
"__mf/js/async/981.6ecc2fa1.js",
|
|
149
149
|
"__mf/js/async/770.1ddcdb57.js",
|
|
150
150
|
"__mf/js/async/296.6e15d7c1.js"
|
|
151
151
|
],
|
|
152
152
|
"sync": [
|
|
153
|
-
"__mf/js/async/
|
|
153
|
+
"__mf/js/async/845.b0c68f69.js"
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
"css": {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"js": {
|
|
191
191
|
"async": [],
|
|
192
192
|
"sync": [
|
|
193
|
-
"__mf/js/async/
|
|
193
|
+
"__mf/js/async/503.6b607560.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
196
|
"css": {
|
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
"assets": {
|
|
354
354
|
"js": {
|
|
355
355
|
"sync": [
|
|
356
|
-
"__mf/js/async/413.
|
|
356
|
+
"__mf/js/async/413.13c85eaf.js",
|
|
357
357
|
"__mf/js/async/929.fde3d617.js",
|
|
358
358
|
"__mf/js/async/808.4e339e11.js",
|
|
359
|
-
"__mf/js/async/
|
|
360
|
-
"__mf/js/async/__federation_expose_GaugeChart.
|
|
359
|
+
"__mf/js/async/197.4db99b8f.js",
|
|
360
|
+
"__mf/js/async/__federation_expose_GaugeChart.7b0cb8e7.js"
|
|
361
361
|
],
|
|
362
362
|
"async": [
|
|
363
363
|
"__mf/js/async/964.80d5e8c0.js",
|
|
@@ -368,17 +368,17 @@
|
|
|
368
368
|
"__mf/js/async/238.3b90e0d1.js",
|
|
369
369
|
"__mf/js/async/224.dd9ee618.js",
|
|
370
370
|
"__mf/js/async/292.d6d07d9c.js",
|
|
371
|
-
"__mf/js/async/
|
|
371
|
+
"__mf/js/async/738.9f05b40b.js",
|
|
372
372
|
"__mf/js/async/1.6f58f98c.js",
|
|
373
|
-
"__mf/js/async/
|
|
374
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
373
|
+
"__mf/js/async/530.a36b7115.js",
|
|
375
374
|
"__mf/js/async/75.4ebd94ad.js",
|
|
375
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
376
376
|
"__mf/js/async/623.afdd0af8.js",
|
|
377
377
|
"__mf/js/async/lib-router.c799dfc6.js",
|
|
378
|
-
"__mf/js/async/
|
|
378
|
+
"__mf/js/async/845.b0c68f69.js",
|
|
379
379
|
"__mf/js/async/488.6e73b2c9.js",
|
|
380
|
-
"__mf/js/async/
|
|
381
|
-
"__mf/js/async/
|
|
380
|
+
"__mf/js/async/269.ccb8b7e1.js",
|
|
381
|
+
"__mf/js/async/503.6b607560.js",
|
|
382
382
|
"__mf/js/async/981.6ecc2fa1.js",
|
|
383
383
|
"__mf/js/async/770.1ddcdb57.js",
|
|
384
384
|
"__mf/js/async/296.6e15d7c1.js"
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "GaugeChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.
|
|
8
|
+
"buildVersion": "0.8.0",
|
|
9
9
|
"buildName": "@perses-dev/gauge-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/GaugeChart.
|
|
12
|
+
"name": "__mf/js/GaugeChart.691a7b2b.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
],
|
|
92
92
|
"sync": [
|
|
93
93
|
"__mf/js/async/214.6d1beb4f.js",
|
|
94
|
-
"__mf/js/async/
|
|
94
|
+
"__mf/js/async/269.ccb8b7e1.js"
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"css": {
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"singleton": true,
|
|
106
|
-
"requiredVersion": "^0.51.0-rc.
|
|
106
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
107
107
|
"shareScope": "default",
|
|
108
108
|
"name": "@perses-dev/components",
|
|
109
|
-
"version": "0.51.0-rc.
|
|
109
|
+
"version": "0.51.0-rc.1",
|
|
110
110
|
"eager": false,
|
|
111
111
|
"id": "GaugeChart:@perses-dev/components",
|
|
112
112
|
"assets": {
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"__mf/js/async/173.5bfb1682.js",
|
|
117
117
|
"__mf/js/async/960.fb84169e.js",
|
|
118
118
|
"__mf/js/async/790.4aa856ac.js",
|
|
119
|
-
"__mf/js/async/774.db64c396.js",
|
|
120
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
121
119
|
"__mf/js/async/75.4ebd94ad.js",
|
|
120
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
121
|
+
"__mf/js/async/774.db64c396.js",
|
|
122
122
|
"__mf/js/async/623.afdd0af8.js"
|
|
123
123
|
],
|
|
124
124
|
"sync": [
|
|
125
|
-
"__mf/js/async/
|
|
125
|
+
"__mf/js/async/530.a36b7115.js"
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
128
|
"css": {
|
|
@@ -136,10 +136,10 @@
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"singleton": true,
|
|
139
|
-
"requiredVersion": "^0.51.0-rc.
|
|
139
|
+
"requiredVersion": "^0.51.0-rc.1",
|
|
140
140
|
"shareScope": "default",
|
|
141
141
|
"name": "@perses-dev/plugin-system",
|
|
142
|
-
"version": "0.51.0-rc.
|
|
142
|
+
"version": "0.51.0-rc.1",
|
|
143
143
|
"eager": false,
|
|
144
144
|
"id": "GaugeChart:@perses-dev/plugin-system",
|
|
145
145
|
"assets": {
|
|
@@ -149,24 +149,24 @@
|
|
|
149
149
|
"__mf/js/async/173.5bfb1682.js",
|
|
150
150
|
"__mf/js/async/960.fb84169e.js",
|
|
151
151
|
"__mf/js/async/790.4aa856ac.js",
|
|
152
|
-
"__mf/js/async/224.dd9ee618.js",
|
|
153
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
154
152
|
"__mf/js/async/238.3b90e0d1.js",
|
|
153
|
+
"__mf/js/async/224.dd9ee618.js",
|
|
155
154
|
"__mf/js/async/75.4ebd94ad.js",
|
|
155
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
156
156
|
"__mf/js/async/623.afdd0af8.js",
|
|
157
|
-
"__mf/js/async/413.
|
|
158
|
-
"__mf/js/async/
|
|
159
|
-
"__mf/js/async/
|
|
160
|
-
"__mf/js/async/
|
|
157
|
+
"__mf/js/async/413.13c85eaf.js",
|
|
158
|
+
"__mf/js/async/738.9f05b40b.js",
|
|
159
|
+
"__mf/js/async/530.a36b7115.js",
|
|
160
|
+
"__mf/js/async/197.4db99b8f.js",
|
|
161
161
|
"__mf/js/async/774.db64c396.js",
|
|
162
|
-
"__mf/js/async/
|
|
163
|
-
"__mf/js/async/
|
|
162
|
+
"__mf/js/async/269.ccb8b7e1.js",
|
|
163
|
+
"__mf/js/async/503.6b607560.js",
|
|
164
164
|
"__mf/js/async/981.6ecc2fa1.js",
|
|
165
165
|
"__mf/js/async/770.1ddcdb57.js",
|
|
166
166
|
"__mf/js/async/296.6e15d7c1.js"
|
|
167
167
|
],
|
|
168
168
|
"sync": [
|
|
169
|
-
"__mf/js/async/
|
|
169
|
+
"__mf/js/async/845.b0c68f69.js"
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
172
|
"css": {
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"js": {
|
|
215
215
|
"async": [],
|
|
216
216
|
"sync": [
|
|
217
|
-
"__mf/js/async/
|
|
217
|
+
"__mf/js/async/503.6b607560.js"
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
220
|
"css": {
|
|
@@ -411,11 +411,11 @@
|
|
|
411
411
|
"assets": {
|
|
412
412
|
"js": {
|
|
413
413
|
"sync": [
|
|
414
|
-
"__mf/js/async/413.
|
|
414
|
+
"__mf/js/async/413.13c85eaf.js",
|
|
415
415
|
"__mf/js/async/929.fde3d617.js",
|
|
416
416
|
"__mf/js/async/808.4e339e11.js",
|
|
417
|
-
"__mf/js/async/
|
|
418
|
-
"__mf/js/async/__federation_expose_GaugeChart.
|
|
417
|
+
"__mf/js/async/197.4db99b8f.js",
|
|
418
|
+
"__mf/js/async/__federation_expose_GaugeChart.7b0cb8e7.js"
|
|
419
419
|
],
|
|
420
420
|
"async": [
|
|
421
421
|
"__mf/js/async/964.80d5e8c0.js",
|
|
@@ -426,17 +426,17 @@
|
|
|
426
426
|
"__mf/js/async/238.3b90e0d1.js",
|
|
427
427
|
"__mf/js/async/224.dd9ee618.js",
|
|
428
428
|
"__mf/js/async/292.d6d07d9c.js",
|
|
429
|
-
"__mf/js/async/
|
|
429
|
+
"__mf/js/async/738.9f05b40b.js",
|
|
430
430
|
"__mf/js/async/1.6f58f98c.js",
|
|
431
|
-
"__mf/js/async/
|
|
432
|
-
"__mf/js/async/740.a7a03e99.js",
|
|
431
|
+
"__mf/js/async/530.a36b7115.js",
|
|
433
432
|
"__mf/js/async/75.4ebd94ad.js",
|
|
433
|
+
"__mf/js/async/740.a7a03e99.js",
|
|
434
434
|
"__mf/js/async/623.afdd0af8.js",
|
|
435
435
|
"__mf/js/async/lib-router.c799dfc6.js",
|
|
436
|
-
"__mf/js/async/
|
|
436
|
+
"__mf/js/async/845.b0c68f69.js",
|
|
437
437
|
"__mf/js/async/488.6e73b2c9.js",
|
|
438
|
-
"__mf/js/async/
|
|
439
|
-
"__mf/js/async/
|
|
438
|
+
"__mf/js/async/269.ccb8b7e1.js",
|
|
439
|
+
"__mf/js/async/503.6b607560.js",
|
|
440
440
|
"__mf/js/async/981.6ecc2fa1.js",
|
|
441
441
|
"__mf/js/async/770.1ddcdb57.js",
|
|
442
442
|
"__mf/js/async/296.6e15d7c1.js"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/gauge-chart-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "rsbuild dev",
|
|
6
6
|
"build": "npm run build-mf && concurrently \"npm:build:*\"",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"@emotion/react": "^11.7.1",
|
|
20
20
|
"@emotion/styled": "^11.6.0",
|
|
21
21
|
"@hookform/resolvers": "^3.2.0",
|
|
22
|
-
"@perses-dev/components": "^0.51.0-rc.
|
|
23
|
-
"@perses-dev/core": "^0.51.0-rc.
|
|
24
|
-
"@perses-dev/plugin-system": "^0.51.0-rc.
|
|
22
|
+
"@perses-dev/components": "^0.51.0-rc.1",
|
|
23
|
+
"@perses-dev/core": "^0.51.0-rc.1",
|
|
24
|
+
"@perses-dev/plugin-system": "^0.51.0-rc.1",
|
|
25
25
|
"date-fns": "^4.1.0",
|
|
26
26
|
"date-fns-tz": "^3.2.0",
|
|
27
27
|
"echarts": "5.5.0",
|