@perses-dev/gauge-chart-plugin 0.13.0 → 0.14.0-beta.2

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 (131) hide show
  1. package/__mf/js/GaugeChart.d0898a25.js +7 -0
  2. package/__mf/js/async/121.923647b2.js +2 -0
  3. package/__mf/js/async/192.66cc8639.js +1 -0
  4. package/__mf/js/async/208.1dc9d791.js +74 -0
  5. package/__mf/js/async/235.3d14b76d.js +1 -0
  6. package/__mf/js/async/274.481c2cff.js +2 -0
  7. package/__mf/js/async/356.81432231.js +1 -0
  8. package/__mf/js/async/377.5ac59bcd.js +1 -0
  9. package/__mf/js/async/392.589be345.js +2 -0
  10. package/__mf/js/async/403.f63f0b01.js +2 -0
  11. package/__mf/js/async/407.549724e8.js +4 -0
  12. package/__mf/js/async/407.549724e8.js.LICENSE.txt +9 -0
  13. package/__mf/js/async/410.41a2ea21.js +1 -0
  14. package/__mf/js/async/458.c3d7080e.js +1 -0
  15. package/__mf/js/async/463.1623acc4.js +7 -0
  16. package/__mf/js/async/{700.e028a93e.js.LICENSE.txt → 463.1623acc4.js.LICENSE.txt} +41 -1
  17. package/__mf/js/async/470.a5788e56.js +2 -0
  18. package/__mf/js/async/496.ddfbee86.js +1 -0
  19. package/__mf/js/async/587.b53469e7.js +1 -0
  20. package/__mf/js/async/588.231edddc.js +1 -0
  21. package/__mf/js/async/616.56af3d9a.js +1 -0
  22. package/__mf/js/async/71.5c044eb7.js +1 -0
  23. package/__mf/js/async/710.63c7c633.js +29 -0
  24. package/__mf/js/async/77.84340477.js +1 -0
  25. package/__mf/js/async/823.ed9ab057.js +10 -0
  26. package/__mf/js/async/844.8884c953.js +37 -0
  27. package/__mf/js/async/854.23201b26.js +1 -0
  28. package/__mf/js/async/873.828ee17a.js +1 -0
  29. package/__mf/js/async/941.f2b7612e.js +2 -0
  30. package/__mf/js/async/963.8f8fc110.js +1 -0
  31. package/__mf/js/async/968.fbee556d.js +1 -0
  32. package/__mf/js/async/978.75bd4607.js +1 -0
  33. package/__mf/js/async/__federation_expose_GaugeChart.a608d5e4.js +1 -0
  34. package/__mf/js/async/lib-router.a426c87f.js +2 -0
  35. package/__mf/js/main.7041202d.js +7 -0
  36. package/lib/GaugeChart.d.ts +3 -3
  37. package/lib/GaugeChart.d.ts.map +1 -1
  38. package/lib/GaugeChart.js +3 -3
  39. package/lib/GaugeChart.js.map +1 -1
  40. package/lib/GaugeChartBase.d.ts +3 -3
  41. package/lib/GaugeChartBase.d.ts.map +1 -1
  42. package/lib/GaugeChartBase.js +7 -7
  43. package/lib/GaugeChartBase.js.map +1 -1
  44. package/lib/GaugeChartOptionsEditorSettings.d.ts +2 -2
  45. package/lib/GaugeChartOptionsEditorSettings.d.ts.map +1 -1
  46. package/lib/GaugeChartOptionsEditorSettings.js +7 -7
  47. package/lib/GaugeChartOptionsEditorSettings.js.map +1 -1
  48. package/lib/GaugeChartPanel.d.ts +4 -4
  49. package/lib/GaugeChartPanel.d.ts.map +1 -1
  50. package/lib/GaugeChartPanel.js +8 -8
  51. package/lib/GaugeChartPanel.js.map +1 -1
  52. package/lib/bootstrap.js +2 -2
  53. package/lib/gauge-chart-model.d.ts +3 -3
  54. package/lib/gauge-chart-model.d.ts.map +1 -1
  55. package/lib/gauge-chart-model.js.map +1 -1
  56. package/lib/getPluginModule.d.ts +1 -1
  57. package/lib/getPluginModule.d.ts.map +1 -1
  58. package/lib/getPluginModule.js +3 -1
  59. package/lib/getPluginModule.js.map +1 -1
  60. package/lib/index-federation.js +1 -1
  61. package/lib/index.js +6 -6
  62. package/lib/index.js.map +1 -1
  63. package/lib/setup-tests.d.ts +1 -1
  64. package/lib/setup-tests.d.ts.map +1 -1
  65. package/lib/setup-tests.js +2 -2
  66. package/lib/setup-tests.js.map +1 -1
  67. package/lib/thresholds.d.ts +1 -1
  68. package/lib/thresholds.d.ts.map +1 -1
  69. package/lib/thresholds.js +1 -1
  70. package/lib/thresholds.js.map +1 -1
  71. package/mf-manifest.json +39 -40
  72. package/mf-stats.json +39 -40
  73. package/package.json +10 -10
  74. package/__mf/js/GaugeChart.7e331b64.js +0 -7
  75. package/__mf/js/async/121.4c5f5798.js +0 -2
  76. package/__mf/js/async/172.afec864d.js +0 -110
  77. package/__mf/js/async/177.2e554778.js +0 -1
  78. package/__mf/js/async/187.ba6fd686.js +0 -7
  79. package/__mf/js/async/187.ba6fd686.js.LICENSE.txt +0 -39
  80. package/__mf/js/async/192.fb5cd927.js +0 -1
  81. package/__mf/js/async/235.b918db36.js +0 -1
  82. package/__mf/js/async/274.9badab92.js +0 -2
  83. package/__mf/js/async/356.c7cf4f79.js +0 -1
  84. package/__mf/js/async/377.06309086.js +0 -1
  85. package/__mf/js/async/392.4807325b.js +0 -2
  86. package/__mf/js/async/403.9db35877.js +0 -2
  87. package/__mf/js/async/410.4043d582.js +0 -1
  88. package/__mf/js/async/458.0f5bc9ee.js +0 -1
  89. package/__mf/js/async/470.9e955be3.js +0 -2
  90. package/__mf/js/async/496.dc9e951b.js +0 -1
  91. package/__mf/js/async/546.7850a553.js +0 -24
  92. package/__mf/js/async/546.7850a553.js.LICENSE.txt +0 -19
  93. package/__mf/js/async/558.9e9f2911.js +0 -1
  94. package/__mf/js/async/587.2649e50b.js +0 -1
  95. package/__mf/js/async/588.f25e2591.js +0 -1
  96. package/__mf/js/async/616.0741833f.js +0 -1
  97. package/__mf/js/async/700.e028a93e.js +0 -30
  98. package/__mf/js/async/71.57cf30f3.js +0 -1
  99. package/__mf/js/async/756.cbb57779.js +0 -1
  100. package/__mf/js/async/77.629e7e49.js +0 -1
  101. package/__mf/js/async/823.488b0ae9.js +0 -10
  102. package/__mf/js/async/854.d052322d.js +0 -1
  103. package/__mf/js/async/873.650a20f9.js +0 -1
  104. package/__mf/js/async/941.c6518e38.js +0 -2
  105. package/__mf/js/async/963.ab063f73.js +0 -1
  106. package/__mf/js/async/968.5b4a4f18.js +0 -1
  107. package/__mf/js/async/978.8aa2a024.js +0 -1
  108. package/__mf/js/async/__federation_expose_GaugeChart.b9c57db4.js +0 -1
  109. package/__mf/js/async/lib-router.f8568e8a.js +0 -2
  110. package/__mf/js/main.c44733a6.js +0 -7
  111. package/lib/cjs/GaugeChart.js +0 -39
  112. package/lib/cjs/GaugeChartBase.js +0 -196
  113. package/lib/cjs/GaugeChartOptionsEditorSettings.js +0 -120
  114. package/lib/cjs/GaugeChartPanel.js +0 -195
  115. package/lib/cjs/bootstrap.js +0 -26
  116. package/lib/cjs/env.d.js +0 -14
  117. package/lib/cjs/gauge-chart-model.js +0 -57
  118. package/lib/cjs/getPluginModule.js +0 -39
  119. package/lib/cjs/index-federation.js +0 -55
  120. package/lib/cjs/index.js +0 -41
  121. package/lib/cjs/setup-tests.js +0 -19
  122. package/lib/cjs/thresholds.js +0 -77
  123. /package/__mf/css/async/{187.85c2cbf6.css → 463.85c2cbf6.css} +0 -0
  124. /package/__mf/js/async/{121.4c5f5798.js.LICENSE.txt → 121.923647b2.js.LICENSE.txt} +0 -0
  125. /package/__mf/js/async/{274.9badab92.js.LICENSE.txt → 274.481c2cff.js.LICENSE.txt} +0 -0
  126. /package/__mf/js/async/{392.4807325b.js.LICENSE.txt → 392.589be345.js.LICENSE.txt} +0 -0
  127. /package/__mf/js/async/{403.9db35877.js.LICENSE.txt → 403.f63f0b01.js.LICENSE.txt} +0 -0
  128. /package/__mf/js/async/{470.9e955be3.js.LICENSE.txt → 470.a5788e56.js.LICENSE.txt} +0 -0
  129. /package/__mf/js/async/{823.488b0ae9.js.LICENSE.txt → 823.ed9ab057.js.LICENSE.txt} +0 -0
  130. /package/__mf/js/async/{941.c6518e38.js.LICENSE.txt → 941.f2b7612e.js.LICENSE.txt} +0 -0
  131. /package/__mf/js/async/{lib-router.f8568e8a.js.LICENSE.txt → lib-router.a426c87f.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_GaugeChart_0_14_0_beta_2=self.chunk_GaugeChart_0_14_0_beta_2||[]).push([["458"],{85180(e,n,r){r.r(n),r.d(n,{default:()=>c});var t=r(70451);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 _=(0,t.useRef)({width:void 0,height:void 0}),g=(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(_.current.width!==o||_.current.height!==f){var h={width:o,height:f};_.current.width=o,_.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:g,width:b.width,height:b.height}},[g,b.width,b.height])}}}]);