@perses-dev/bar-chart-plugin 0.9.1 → 0.10.1
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/css/async/442.d3010b86.css +1 -0
- package/__mf/css/async/61.d3010b86.css +1 -0
- package/__mf/css/async/823.d3010b86.css +1 -0
- package/__mf/js/BarChart.fd19299c.js +6 -0
- package/__mf/js/async/102.b7abdc1f.js +1 -0
- package/__mf/js/async/{964.1b58e06a.js → 121.517e00e8.js} +2 -2
- package/__mf/js/async/160.0b10468b.js +1 -0
- package/__mf/js/async/{488.b4de54ee.js → 177.91621efa.js} +1 -1
- package/__mf/js/async/192.73182890.js +1 -0
- package/__mf/js/async/204.d6cc804e.js +1 -0
- package/__mf/js/async/235.951938a6.js +1 -0
- package/__mf/js/async/252.3ffb7009.js +22 -0
- package/__mf/js/async/255.41e8af2d.js +10 -0
- package/__mf/js/async/274.9bfff28e.js +2 -0
- package/__mf/js/async/350.d8b63400.js +1 -0
- package/__mf/js/async/356.6146b01c.js +1 -0
- package/__mf/js/async/{930.2949d883.js → 377.5b9c90dc.js} +1 -1
- package/__mf/js/async/392.7bfcf9f9.js +2 -0
- package/__mf/js/async/458.cffba90f.js +1 -0
- package/__mf/js/async/470.82e9b967.js +2 -0
- package/__mf/js/async/{296.78a77608.js → 496.b35b3a0a.js} +1 -1
- package/__mf/js/async/554.82e03ea5.js +38 -0
- package/__mf/js/async/582.9dfe893c.js +102 -0
- package/__mf/js/async/{214.c9488f88.js → 587.bcc920f1.js} +1 -1
- package/__mf/js/async/588.680cfad0.js +1 -0
- package/__mf/js/async/616.302bdae0.js +1 -0
- package/__mf/js/async/703.16dd2eaa.js +2 -0
- package/__mf/js/async/71.dab9ec76.js +1 -0
- package/__mf/js/async/{553.846194ff.js → 77.f584b802.js} +1 -1
- package/__mf/js/async/790.847088e2.js +7 -0
- package/__mf/js/async/854.63eee34f.js +1 -0
- package/__mf/js/async/873.fa6a97f2.js +1 -0
- package/__mf/js/async/941.4efdb193.js +2 -0
- package/__mf/js/async/963.85d5346b.js +1 -0
- package/__mf/js/async/{738.7c9852d4.js → 968.d562d0d2.js} +1 -1
- package/__mf/js/async/978.458b6e7d.js +1 -0
- package/__mf/js/async/__federation_expose_BarChart.13bf419c.js +1 -0
- package/__mf/js/async/lib-router.4740fed2.js +2 -0
- package/__mf/js/main.bb6f9165.js +6 -0
- package/lib/BarChartBase.js +2 -2
- package/lib/BarChartBase.js.map +1 -1
- package/lib/BarChartOptionsEditorSettings.js +1 -1
- package/lib/BarChartOptionsEditorSettings.js.map +1 -1
- package/lib/BarChartPanel.js +1 -1
- package/lib/BarChartPanel.js.map +1 -1
- package/lib/bootstrap.js +1 -1
- package/lib/bootstrap.js.map +1 -1
- package/lib/cjs/BarChartBase.js +1 -1
- package/lib/cjs/bar-chart-model.js +5 -5
- package/lib/cjs/index-federation.js +12 -12
- package/lib/cjs/tresholds.js +3 -3
- package/lib/cjs/utils.js +3 -3
- package/mf-manifest.json +40 -40
- package/mf-stats.json +40 -40
- package/package.json +5 -5
- package/__mf/css/async/263.1f61a808.css +0 -1
- package/__mf/css/async/341.1f61a808.css +0 -1
- package/__mf/css/async/759.1f61a808.css +0 -1
- package/__mf/js/BarChart.f638b0dc.js +0 -5
- package/__mf/js/async/109.b86d041e.js +0 -73
- package/__mf/js/async/173.3531997c.js +0 -2
- package/__mf/js/async/224.5f9af696.js +0 -1
- package/__mf/js/async/238.45a5ec9c.js +0 -1
- package/__mf/js/async/288.70b237a6.js +0 -7
- package/__mf/js/async/292.faabc281.js +0 -1
- package/__mf/js/async/298.e67cf440.js +0 -1
- package/__mf/js/async/409.fdf96221.js +0 -1
- package/__mf/js/async/45.7ccf6b51.js +0 -38
- package/__mf/js/async/623.e68b6216.js +0 -1
- package/__mf/js/async/656.14ae7fea.js +0 -1
- package/__mf/js/async/679.6fb75801.js +0 -2
- package/__mf/js/async/69.3c81e152.js +0 -10
- package/__mf/js/async/694.beb18780.js +0 -1
- package/__mf/js/async/740.6d6370ec.js +0 -1
- package/__mf/js/async/75.c086bb12.js +0 -1
- package/__mf/js/async/770.ece8043c.js +0 -1
- package/__mf/js/async/774.aec5dd0e.js +0 -1
- package/__mf/js/async/790.219148ac.js +0 -1
- package/__mf/js/async/838.bc0c4131.js +0 -102
- package/__mf/js/async/863.134f9f3b.js +0 -2
- package/__mf/js/async/922.2ce525ff.js +0 -1
- package/__mf/js/async/929.80797c45.js +0 -1
- package/__mf/js/async/960.33cdf4ef.js +0 -2
- package/__mf/js/async/981.5c1d40ce.js +0 -2
- package/__mf/js/async/__federation_expose_BarChart.ea2eb1bc.js +0 -1
- package/__mf/js/async/lib-router.10c5a0f9.js +0 -2
- package/__mf/js/main.22e71e47.js +0 -5
- /package/__mf/js/async/{964.1b58e06a.js.LICENSE.txt → 121.517e00e8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{109.b86d041e.js.LICENSE.txt → 252.3ffb7009.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{69.3c81e152.js.LICENSE.txt → 255.41e8af2d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{960.33cdf4ef.js.LICENSE.txt → 274.9bfff28e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{981.5c1d40ce.js.LICENSE.txt → 392.7bfcf9f9.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{173.3531997c.js.LICENSE.txt → 470.82e9b967.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{838.bc0c4131.js.LICENSE.txt → 582.9dfe893c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{679.6fb75801.js.LICENSE.txt → 703.16dd2eaa.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{288.70b237a6.js.LICENSE.txt → 790.847088e2.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{863.134f9f3b.js.LICENSE.txt → 941.4efdb193.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.10c5a0f9.js.LICENSE.txt → lib-router.4740fed2.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["623"],{75276:function(e,n,r){r.r(n),r.d(n,{default:()=>c});var t=r(8218);function u(e,n,r){return e[n]?e[n][0]?e[n][0][r]:e[n][r]:"contentBoxSize"===n?e.contentRect["inlineSize"===r?"width":"height"]:void 0}function c(e){void 0===e&&(e={});var n,r,c,i,o,f,h=e.onResize,s=(0,t.useRef)(void 0);s.current=h;var l=e.round||Math.round,a=(0,t.useRef)(),d=(0,t.useState)({width:void 0,height:void 0}),b=d[0],v=d[1],x=(0,t.useRef)(!1);(0,t.useEffect)(function(){return x.current=!1,function(){x.current=!0}},[]);var w=(0,t.useRef)({width:void 0,height:void 0}),R=(n=(0,t.useCallback)(function(n){return a.current&&a.current.box===e.box&&a.current.round===l||(a.current={box:e.box,round:l,instance:new ResizeObserver(function(n){var r=n[0],t="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",c=u(r,t,"inlineSize"),i=u(r,t,"blockSize"),o=c?l(c):void 0,f=i?l(i):void 0;if(w.current.width!==o||w.current.height!==f){var h={width:o,height:f};w.current.width=o,w.current.height=f,s.current?s.current(h):x.current||v(h)}})}),a.current.instance.observe(n,{box:e.box}),function(){a.current&&a.current.instance.unobserve(n)}},[e.box,l]),r=e.ref,c=(0,t.useRef)(null),(i=(0,t.useRef)(null)).current=r,o=(0,t.useRef)(null),(0,t.useEffect)(function(){f()}),f=(0,t.useCallback)(function(){var e=o.current,r=i.current,t=e||(r?r instanceof Element?r:r.current:null);c.current&&c.current.element===t&&c.current.subscriber===n||(c.current&&c.current.cleanup&&c.current.cleanup(),c.current={element:t,subscriber:n,cleanup:t?n(t):void 0})},[n]),(0,t.useEffect)(function(){return function(){c.current&&c.current.cleanup&&(c.current.cleanup(),c.current=null)}},[]),(0,t.useCallback)(function(e){o.current=e,f()},[f]));return(0,t.useMemo)(function(){return{ref:R,width:b.width,height:b.height}},[R,b.width,b.height])}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["656"],{14046:function(n,t,e){e.d(t,{Dc:()=>a,FB:()=>s,K2:()=>i,c7:()=>r,gO:()=>u});let i="last",r={first:function(n){return s(n,"first")},last:function(n){return s(n,"last")},"first-number":function(n){return s(n,"first-number")},"last-number":function(n){return s(n,"last-number")},mean:function(n){return s(n,"mean")},sum:function(n){return s(n,"sum")},min:function(n){return s(n,"min")},max:function(n){return s(n,"max")}},u={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(n,t){let e=t.reduce((n,t)=>(n[t]=void 0,n),{}),i=0,r=0;return n.forEach((t,u)=>{let a=t[1];0===u&&"first"in e&&(e.first=a),u===n.length-1&&"last"in e&&(e.last=a),"number"==typeof a&&(i+=1,r+=a,"first-number"in e&&void 0===e["first-number"]&&(e["first-number"]=a),"last-number"in e&&(e["last-number"]=a),"min"in e&&("number"!=typeof e.min?e.min=a:e.min=Math.min(e.min,a)),"max"in e&&("number"!=typeof e.max?e.max=a:e.max=Math.max(e.max,a)))}),i>0&&"sum"in e&&(e.sum=r),i>0&&"mean"in e&&(e.mean=r/i),e}function s(n,t){return a(n,[t])[t]}},56050:function(){}}]);
|