@perses-dev/bar-chart-plugin 0.7.1 → 0.9.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.
Files changed (91) hide show
  1. package/__mf/js/BarChart.a3706179.js +5 -0
  2. package/__mf/js/async/109.311fcd6a.js +73 -0
  3. package/__mf/js/async/{65.4b20c67b.js.LICENSE.txt → 109.311fcd6a.js.LICENSE.txt} +16 -0
  4. package/__mf/js/async/173.3531997c.js +2 -0
  5. package/__mf/js/async/214.c9488f88.js +1 -0
  6. package/__mf/js/async/224.5f9af696.js +1 -0
  7. package/__mf/js/async/238.45a5ec9c.js +1 -0
  8. package/__mf/js/async/292.faabc281.js +1 -0
  9. package/__mf/js/async/296.78a77608.js +1 -0
  10. package/__mf/js/async/298.e67cf440.js +1 -0
  11. package/__mf/js/async/35.629f619d.js +2 -0
  12. package/__mf/js/async/358.fd668f32.js +7 -0
  13. package/__mf/js/async/358.fd668f32.js.LICENSE.txt +21 -0
  14. package/__mf/js/async/409.fdf96221.js +1 -0
  15. package/__mf/js/async/488.b4de54ee.js +1 -0
  16. package/__mf/js/async/520.8c1bc8d8.js +38 -0
  17. package/__mf/js/async/553.846194ff.js +1 -0
  18. package/__mf/js/async/623.e68b6216.js +1 -0
  19. package/__mf/js/async/656.14ae7fea.js +1 -0
  20. package/__mf/js/async/679.6fb75801.js +2 -0
  21. package/__mf/js/async/69.3c81e152.js +10 -0
  22. package/__mf/js/async/694.beb18780.js +1 -0
  23. package/__mf/js/async/738.7c9852d4.js +1 -0
  24. package/__mf/js/async/740.6d6370ec.js +1 -0
  25. package/__mf/js/async/75.c086bb12.js +1 -0
  26. package/__mf/js/async/770.ece8043c.js +1 -0
  27. package/__mf/js/async/774.aec5dd0e.js +1 -0
  28. package/__mf/js/async/790.219148ac.js +1 -0
  29. package/__mf/js/async/838.bc0c4131.js +102 -0
  30. package/__mf/js/async/863.134f9f3b.js +2 -0
  31. package/__mf/js/async/922.2ce525ff.js +1 -0
  32. package/__mf/js/async/929.80797c45.js +1 -0
  33. package/__mf/js/async/930.2949d883.js +1 -0
  34. package/__mf/js/async/960.33cdf4ef.js +2 -0
  35. package/__mf/js/async/964.1b58e06a.js +2 -0
  36. package/__mf/js/async/__federation_expose_BarChart.a489d852.js +1 -0
  37. package/__mf/js/async/lib-router.10c5a0f9.js +2 -0
  38. package/__mf/js/main.b7056054.js +5 -0
  39. package/lib/utils.d.ts +2 -1
  40. package/lib/utils.d.ts.map +1 -1
  41. package/lib/utils.js.map +1 -1
  42. package/mf-manifest.json +47 -111
  43. package/mf-stats.json +49 -113
  44. package/package.json +12 -4
  45. package/__mf/js/590.974b67e0.js +0 -5
  46. package/__mf/js/BarChart.cab6ddce.js +0 -5
  47. package/__mf/js/async/173.de56afb5.js +0 -2
  48. package/__mf/js/async/214.39425df9.js +0 -1
  49. package/__mf/js/async/224.02bf0727.js +0 -1
  50. package/__mf/js/async/238.2c28749b.js +0 -1
  51. package/__mf/js/async/292.fc25f0b4.js +0 -1
  52. package/__mf/js/async/296.4e6e1192.js +0 -1
  53. package/__mf/js/async/331.987fc9d1.js +0 -2
  54. package/__mf/js/async/409.cb75bf15.js +0 -1
  55. package/__mf/js/async/488.64e4ab62.js +0 -1
  56. package/__mf/js/async/533.531bfcd1.js +0 -29
  57. package/__mf/js/async/533.531bfcd1.js.LICENSE.txt +0 -37
  58. package/__mf/js/async/553.cebe1061.js +0 -1
  59. package/__mf/js/async/620.1ddf3cfa.js +0 -2
  60. package/__mf/js/async/623.a42c5576.js +0 -1
  61. package/__mf/js/async/640.968c5b1b.js +0 -38
  62. package/__mf/js/async/65.4b20c67b.js +0 -73
  63. package/__mf/js/async/656.ebaf4c29.js +0 -1
  64. package/__mf/js/async/679.4c9ca4ca.js +0 -2
  65. package/__mf/js/async/69.5f20cd9b.js +0 -10
  66. package/__mf/js/async/694.f18442c5.js +0 -1
  67. package/__mf/js/async/738.0b38462b.js +0 -1
  68. package/__mf/js/async/740.bd4a2dd3.js +0 -1
  69. package/__mf/js/async/75.602a691f.js +0 -1
  70. package/__mf/js/async/762.0d4292e6.js +0 -101
  71. package/__mf/js/async/770.a4ed49b7.js +0 -1
  72. package/__mf/js/async/774.6d4b81a0.js +0 -1
  73. package/__mf/js/async/790.23e35958.js +0 -1
  74. package/__mf/js/async/922.599a817c.js +0 -1
  75. package/__mf/js/async/929.4de7287b.js +0 -1
  76. package/__mf/js/async/930.7db974d8.js +0 -1
  77. package/__mf/js/async/960.07c2f8a6.js +0 -2
  78. package/__mf/js/async/964.d446c7a1.js +0 -2
  79. package/__mf/js/async/981.d5ccd920.js +0 -2
  80. package/__mf/js/async/__federation_expose_BarChart.57f5aba0.js +0 -1
  81. package/__mf/js/async/lib-router.c524d5f3.js +0 -2
  82. package/__mf/js/main.9a1e6d55.js +0 -1
  83. /package/__mf/js/async/{173.de56afb5.js.LICENSE.txt → 173.3531997c.js.LICENSE.txt} +0 -0
  84. /package/__mf/js/async/{981.d5ccd920.js.LICENSE.txt → 35.629f619d.js.LICENSE.txt} +0 -0
  85. /package/__mf/js/async/{679.4c9ca4ca.js.LICENSE.txt → 679.6fb75801.js.LICENSE.txt} +0 -0
  86. /package/__mf/js/async/{69.5f20cd9b.js.LICENSE.txt → 69.3c81e152.js.LICENSE.txt} +0 -0
  87. /package/__mf/js/async/{331.987fc9d1.js.LICENSE.txt → 838.bc0c4131.js.LICENSE.txt} +0 -0
  88. /package/__mf/js/async/{620.1ddf3cfa.js.LICENSE.txt → 863.134f9f3b.js.LICENSE.txt} +0 -0
  89. /package/__mf/js/async/{960.07c2f8a6.js.LICENSE.txt → 960.33cdf4ef.js.LICENSE.txt} +0 -0
  90. /package/__mf/js/async/{964.d446c7a1.js.LICENSE.txt → 964.1b58e06a.js.LICENSE.txt} +0 -0
  91. /package/__mf/js/async/{lib-router.c524d5f3.js.LICENSE.txt → lib-router.10c5a0f9.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_BarChart=self.chunk_BarChart||[]).push([["553"],{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])}}}]);
@@ -0,0 +1 @@
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])}}}]);
@@ -0,0 +1 @@
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(){}}]);