@perses-dev/bar-chart-plugin 0.6.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/LICENSE +201 -0
- package/README.md +23 -0
- package/__mf/css/async/263.1f61a808.css +1 -0
- package/__mf/css/async/341.1f61a808.css +1 -0
- package/__mf/css/async/759.1f61a808.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/590.f6491b3d.js +5 -0
- package/__mf/js/BarChart.5408c279.js +5 -0
- package/__mf/js/async/162.5c4c80cc.js +73 -0
- package/__mf/js/async/162.5c4c80cc.js.LICENSE.txt +19 -0
- package/__mf/js/async/173.de56afb5.js +2 -0
- package/__mf/js/async/173.de56afb5.js.LICENSE.txt +19 -0
- package/__mf/js/async/214.39425df9.js +1 -0
- package/__mf/js/async/224.02bf0727.js +1 -0
- package/__mf/js/async/238.2c28749b.js +1 -0
- package/__mf/js/async/292.fc25f0b4.js +1 -0
- package/__mf/js/async/296.4e6e1192.js +1 -0
- package/__mf/js/async/331.987fc9d1.js +2 -0
- package/__mf/js/async/331.987fc9d1.js.LICENSE.txt +21 -0
- package/__mf/js/async/360.49d19c17.js +29 -0
- package/__mf/js/async/360.49d19c17.js.LICENSE.txt +37 -0
- package/__mf/js/async/488.64e4ab62.js +1 -0
- package/__mf/js/async/553.cebe1061.js +1 -0
- package/__mf/js/async/610.c4c81845.js +1 -0
- package/__mf/js/async/620.1ddf3cfa.js +2 -0
- package/__mf/js/async/620.1ddf3cfa.js.LICENSE.txt +9 -0
- package/__mf/js/async/623.a42c5576.js +1 -0
- package/__mf/js/async/656.ebaf4c29.js +1 -0
- package/__mf/js/async/69.5f20cd9b.js +10 -0
- package/__mf/js/async/69.5f20cd9b.js.LICENSE.txt +27 -0
- package/__mf/js/async/694.f18442c5.js +1 -0
- package/__mf/js/async/738.0b38462b.js +1 -0
- package/__mf/js/async/740.bd4a2dd3.js +1 -0
- package/__mf/js/async/75.602a691f.js +1 -0
- package/__mf/js/async/762.0d4292e6.js +101 -0
- package/__mf/js/async/770.a4ed49b7.js +1 -0
- package/__mf/js/async/774.6d4b81a0.js +1 -0
- package/__mf/js/async/790.23e35958.js +1 -0
- package/__mf/js/async/802.393c9711.js +38 -0
- package/__mf/js/async/929.4de7287b.js +1 -0
- package/__mf/js/async/930.7db974d8.js +1 -0
- package/__mf/js/async/960.07c2f8a6.js +2 -0
- package/__mf/js/async/960.07c2f8a6.js.LICENSE.txt +8 -0
- package/__mf/js/async/964.d446c7a1.js +2 -0
- package/__mf/js/async/964.d446c7a1.js.LICENSE.txt +9 -0
- package/__mf/js/async/981.d5ccd920.js +2 -0
- package/__mf/js/async/981.d5ccd920.js.LICENSE.txt +8 -0
- package/__mf/js/async/996.2287354b.js +2 -0
- package/__mf/js/async/996.2287354b.js.LICENSE.txt +24 -0
- package/__mf/js/async/__federation_expose_BarChart.7c81d310.js +1 -0
- package/__mf/js/async/lib-router.c524d5f3.js +2 -0
- package/__mf/js/async/lib-router.c524d5f3.js.LICENSE.txt +32 -0
- package/__mf/js/main.c53cadb4.js +1 -0
- package/lib/BarChart.d.ts +8 -0
- package/lib/BarChart.d.ts.map +1 -0
- package/lib/BarChart.js +32 -0
- package/lib/BarChart.js.map +1 -0
- package/lib/BarChartOptionsEditorSettings.d.ts +4 -0
- package/lib/BarChartOptionsEditorSettings.d.ts.map +1 -0
- package/lib/BarChartOptionsEditorSettings.js +95 -0
- package/lib/BarChartOptionsEditorSettings.js.map +1 -0
- package/lib/BarChartPanel.d.ts +7 -0
- package/lib/BarChartPanel.d.ts.map +1 -0
- package/lib/BarChartPanel.js +62 -0
- package/lib/BarChartPanel.js.map +1 -0
- package/lib/bar-chart-model.d.ts +27 -0
- package/lib/bar-chart-model.d.ts.map +1 -0
- package/lib/bar-chart-model.js +31 -0
- package/lib/bar-chart-model.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/BarChart.js +38 -0
- package/lib/cjs/BarChartOptionsEditorSettings.js +108 -0
- package/lib/cjs/BarChartPanel.js +70 -0
- package/lib/cjs/bar-chart-model.js +51 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +40 -0
- package/lib/cjs/setup-tests.js +19 -0
- package/lib/cjs/tresholds.js +65 -0
- package/lib/cjs/utils.js +72 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/lib/setup-tests.js.map +1 -0
- package/lib/tresholds.d.ts +6 -0
- package/lib/tresholds.d.ts.map +1 -0
- package/lib/tresholds.js +44 -0
- package/lib/tresholds.js.map +1 -0
- package/lib/utils.d.ts +7 -0
- package/lib/utils.d.ts.map +1 -0
- package/lib/utils.js +56 -0
- package/lib/utils.js.map +1 -0
- package/mf-manifest.json +396 -0
- package/mf-stats.json +453 -0
- package/package.json +53 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* decimal.js v10.5.0
|
|
3
|
+
* An arbitrary-precision Decimal type for JavaScript.
|
|
4
|
+
* https://github.com/MikeMcl/decimal.js
|
|
5
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
6
|
+
* MIT Licence
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* react-table
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) TanStack
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
16
|
+
*
|
|
17
|
+
* @license MIT
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* table-core
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) TanStack
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
27
|
+
*
|
|
28
|
+
* @license MIT
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @license Fraction.js v4.3.7 31/08/2023
|
|
33
|
+
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
|
|
36
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
37
|
+
**/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkBarChart=self.webpackChunkBarChart||[]).push([["488"],{56050:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkBarChart=self.webpackChunkBarChart||[]).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])}}}]);
|