@blukavantui/charts-community 0.0.0-stage → 1.0.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/LICENSE.txt +105 -0
- package/README.md +93 -2
- package/THIRD_PARTY_NOTICES.txt +288 -0
- package/dist/accessibility.d.ts +53 -0
- package/dist/async.d.ts +2 -0
- package/dist/bar.css +1 -0
- package/dist/bar.d.ts +5 -0
- package/dist/bar.js +1 -0
- package/dist/browser/charts-community.css +1 -0
- package/dist/browser/charts-community.js +52 -0
- package/dist/build-audit.json +164 -0
- package/dist/builders/bar.d.ts +6 -0
- package/dist/builders/doughnut.d.ts +6 -0
- package/dist/builders/heatmap.d.ts +16 -0
- package/dist/builders/line.d.ts +6 -0
- package/dist/builders/pie.d.ts +6 -0
- package/dist/builders/radar.d.ts +6 -0
- package/dist/builders/scatter.d.ts +6 -0
- package/dist/catalogue-model.d.ts +11 -0
- package/dist/catalogue-runtime.d.ts +11 -0
- package/dist/catalogue-types.d.ts +167 -0
- package/dist/chart-state.d.ts +18 -0
- package/dist/chunk-5NXLEMCV.js +3 -0
- package/dist/chunk-FHHQWCUO.js +1 -0
- package/dist/chunk-FZ7J7BEC.js +1 -0
- package/dist/chunk-JNSBTZUP.js +2 -0
- package/dist/chunk-KCW3WN5P.js +1 -0
- package/dist/chunk-MSZ5J5WG.js +1 -0
- package/dist/chunk-QBKO4AG7.js +1 -0
- package/dist/chunk-QETOF22L.js +1 -0
- package/dist/chunk-QFXXWRD5.js +1 -0
- package/dist/chunk-YJKEV5J7.js +2 -0
- package/dist/colors.d.ts +15 -0
- package/dist/community.d.ts +11 -0
- package/dist/doughnut.css +1 -0
- package/dist/doughnut.d.ts +5 -0
- package/dist/doughnut.js +1 -0
- package/dist/export.d.ts +5 -0
- package/dist/fonts/dm-sans-LICENSE.txt +93 -0
- package/dist/fonts/dm-sans-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/dm-sans-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-LICENSE.txt +93 -0
- package/dist/fonts/ibm-plex-mono-latin-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-700-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-100-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-200-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-300-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-600-normal.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-italic.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/fonts/inter-LICENSE.txt +93 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-LICENSE.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-LICENSE.txt +93 -0
- package/dist/fonts/lora-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/lora-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/manifest.json +618 -0
- package/dist/fonts/manrope-LICENSE.txt +93 -0
- package/dist/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/manrope-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-LICENSE.txt +93 -0
- package/dist/fonts/merriweather-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/merriweather-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-LICENSE.txt +93 -0
- package/dist/fonts/montserrat-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/montserrat-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-LICENSE.txt +93 -0
- package/dist/fonts/playfair-display-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/playfair-display-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-LICENSE.txt +93 -0
- package/dist/fonts/roboto-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/roboto-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-LICENSE.txt +93 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/source-sans-3-latin-wght-normal.woff2 +0 -0
- package/dist/heatmap.css +1 -0
- package/dist/heatmap.d.ts +3 -0
- package/dist/heatmap.js +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/dist/legend-export.d.ts +9 -0
- package/dist/legend-model.d.ts +39 -0
- package/dist/legend.d.ts +19 -0
- package/dist/limits.d.ts +16 -0
- package/dist/line.css +1 -0
- package/dist/line.d.ts +5 -0
- package/dist/line.js +1 -0
- package/dist/loading-state.d.ts +6 -0
- package/dist/map-assets.d.ts +4 -0
- package/dist/map-resources.d.ts +24 -0
- package/dist/messages.d.ts +3 -0
- package/dist/model.d.ts +41 -0
- package/dist/options.d.ts +11 -0
- package/dist/pie.css +1 -0
- package/dist/pie.d.ts +5 -0
- package/dist/pie.js +1 -0
- package/dist/radar.css +1 -0
- package/dist/radar.d.ts +4 -0
- package/dist/radar.js +1 -0
- package/dist/runtime.d.ts +4 -0
- package/dist/scatter.css +1 -0
- package/dist/scatter.d.ts +5 -0
- package/dist/scatter.js +1 -0
- package/dist/sparkline-runtime/runtime.d.ts +10 -0
- package/dist/sparkline-validation.d.ts +3 -0
- package/dist/sparkline.css +25 -0
- package/dist/sparkline.d.ts +44 -0
- package/dist/sparkline.js +1 -0
- package/dist/state-announcement.d.ts +6 -0
- package/dist/styles.css +488 -0
- package/dist/theme.css +1391 -0
- package/dist/types.d.ts +137 -0
- package/dist/validation.d.ts +8 -0
- package/dist/web-api.json +4145 -0
- package/edition.json +48 -0
- package/package.json +96 -4
- package/scripts/build.mjs +31 -0
- package/src/accessibility.ts +81 -0
- package/src/assets.d.ts +1 -0
- package/src/async.ts +12 -0
- package/src/bar.ts +13 -0
- package/src/builders/bar.ts +39 -0
- package/src/builders/doughnut.ts +66 -0
- package/src/builders/heatmap.ts +60 -0
- package/src/builders/line.ts +39 -0
- package/src/builders/pie.ts +66 -0
- package/src/builders/radar.ts +65 -0
- package/src/builders/scatter.ts +34 -0
- package/src/catalogue-model.ts +235 -0
- package/src/catalogue-runtime.ts +200 -0
- package/src/catalogue-types.ts +163 -0
- package/src/chart-state.ts +35 -0
- package/src/charts.css +135 -0
- package/src/colors.ts +277 -0
- package/src/community.ts +11 -0
- package/src/doughnut.ts +12 -0
- package/src/export.ts +50 -0
- package/src/heatmap.ts +11 -0
- package/src/index.ts +11 -0
- package/src/legend-export.ts +36 -0
- package/src/legend-model.ts +76 -0
- package/src/legend.css +64 -0
- package/src/legend.ts +90 -0
- package/src/limits.ts +7 -0
- package/src/line.ts +13 -0
- package/src/loading-state.ts +39 -0
- package/src/map-assets.ts +1 -0
- package/src/map-resources.ts +46 -0
- package/src/messages.ts +5 -0
- package/src/model.ts +32 -0
- package/src/options.ts +24 -0
- package/src/pie.ts +12 -0
- package/src/radar.ts +12 -0
- package/src/runtime.ts +7 -0
- package/src/scatter.ts +13 -0
- package/src/sparkline-runtime/runtime.d.ts +10 -0
- package/src/sparkline-runtime/runtime.js +263 -0
- package/src/sparkline-validation.ts +19 -0
- package/src/sparkline.css +25 -0
- package/src/sparkline.ts +68 -0
- package/src/state-announcement.ts +17 -0
- package/src/types.ts +104 -0
- package/src/validation.ts +75 -0
- package/tsconfig.json +16 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
BLUKAVANTUI COMMUNITY — FREE USE, OFFICIAL DISTRIBUTION LICENCE
|
|
2
|
+
Version 1.2 — October 14, 2026
|
|
3
|
+
Copyright (c) 2026 Blutek Media. All rights reserved except as granted below.
|
|
4
|
+
|
|
5
|
+
1. Scope and official source
|
|
6
|
+
|
|
7
|
+
This licence covers Blutek Media's original code, styles, components, examples
|
|
8
|
+
and documentation included in BluKavantUI Community (the Software), including its
|
|
9
|
+
OutSystems and TypeScript forms. It does not cover the separate Pro
|
|
10
|
+
components identified in the edition manifest or third-party material identified in THIRD_PARTY_NOTICES.txt.
|
|
11
|
+
|
|
12
|
+
Authorized public distribution sources are:
|
|
13
|
+
- Blutek Media's official BluKavantUI website at https://blukavantui.blutekmedia.com;
|
|
14
|
+
- the official @blukavantui/community package published by Blutek Media on the
|
|
15
|
+
npm public registry at https://www.npmjs.com/package/@blukavantui/community;
|
|
16
|
+
- the official @blukavantui/charts-community package published by Blutek Media on
|
|
17
|
+
the npm public registry at https://www.npmjs.com/package/@blukavantui/charts-community;
|
|
18
|
+
- Blutek Media's official Community listing on OutSystems Forge, linked from
|
|
19
|
+
the official website, when that listing is published.
|
|
20
|
+
|
|
21
|
+
Obtain the Software from these official sources. A similarly named package,
|
|
22
|
+
listing, fork or public mirror published by another party is not an official
|
|
23
|
+
source. Identifying a source here does not promise that a release is currently
|
|
24
|
+
available there.
|
|
25
|
+
|
|
26
|
+
2. Free use and private modification
|
|
27
|
+
|
|
28
|
+
If you obtain the Software from an official source identified above and comply with these
|
|
29
|
+
terms, Blutek Media grants you a nonexclusive, worldwide, royalty-free licence
|
|
30
|
+
to install, inspect, copy and modify it to develop and operate your own personal,
|
|
31
|
+
internal or commercial end-user applications. You may retain private backups
|
|
32
|
+
and use private repositories and build systems for that permitted work.
|
|
33
|
+
Private package-manager caches and internal registry proxies may retain copies
|
|
34
|
+
obtained from an official source solely for that permitted work. They must
|
|
35
|
+
preserve the accompanying licence and notices and must not make the reusable
|
|
36
|
+
Software available to the public or to unrelated organizations.
|
|
37
|
+
|
|
38
|
+
Employees and contractors may access those private copies only to work on your
|
|
39
|
+
behalf, subject to these restrictions. They receive no independent right to
|
|
40
|
+
redistribute the Software. Each separate client or organization using editable
|
|
41
|
+
Community components must obtain its own copy from an official source identified above.
|
|
42
|
+
You may customize that client's own copy on its behalf.
|
|
43
|
+
|
|
44
|
+
3. End-user applications
|
|
45
|
+
|
|
46
|
+
You may host, sell and deliver finished end-user applications that incorporate
|
|
47
|
+
the Software. Delivering the runtime JavaScript, CSS and other built assets
|
|
48
|
+
needed to run those applications, including serving them to a browser, is
|
|
49
|
+
permitted. This exception does not permit distributing a reusable component
|
|
50
|
+
library, development kit, template product or editable Community module.
|
|
51
|
+
|
|
52
|
+
Your application code and data remain yours. This licence does not require
|
|
53
|
+
publishing your application source or displaying a BluUI badge in its interface.
|
|
54
|
+
Preserve this licence and applicable copyright and third-party notices in
|
|
55
|
+
copies, private source and distribution materials where required.
|
|
56
|
+
|
|
57
|
+
4. Redistribution restrictions
|
|
58
|
+
|
|
59
|
+
Except for the private work and end-user runtime delivery expressly permitted
|
|
60
|
+
above, you may not publish, upload, mirror, share, sublicense, sell or otherwise
|
|
61
|
+
redistribute the Software, its source, its reusable modules or substantial
|
|
62
|
+
portions of them, whether unchanged or modified. This includes other Forge
|
|
63
|
+
listings, public repositories, npm or other package registries, websites,
|
|
64
|
+
download archives and direct transfers of the reusable package to third parties.
|
|
65
|
+
Do not rebrand a copy or remove notices to misrepresent its origin.
|
|
66
|
+
|
|
67
|
+
Only Blutek Media may publish the official Community distribution, through
|
|
68
|
+
the official sources identified above. These restrictions on recipients do not
|
|
69
|
+
limit the rights granted to npm or OutSystems under their applicable service
|
|
70
|
+
or publishing agreements. Those providers may host, copy, cache, analyze and
|
|
71
|
+
distribute the official releases as authorized by those agreements, including
|
|
72
|
+
through the infrastructure used to provide their services. This exception does
|
|
73
|
+
not authorize other parties to publish a separate package, fork or public mirror.
|
|
74
|
+
Linking people to the official listing is permitted. Redistribution outside
|
|
75
|
+
these permissions requires separate written permission from Blutek Media.
|
|
76
|
+
|
|
77
|
+
5. Third-party rights and ownership
|
|
78
|
+
|
|
79
|
+
Third-party software retains its own licences. In particular, AG Grid Community
|
|
80
|
+
and AG Stack retain their MIT permissions, including redistribution rights.
|
|
81
|
+
Nothing here restricts those permissions or independently developed code.
|
|
82
|
+
Blutek Media and its licensors retain ownership of their respective existing
|
|
83
|
+
material. Modifications do not transfer ownership of the underlying Software.
|
|
84
|
+
No trademark rights or rights to Pro components are granted. Pro components are
|
|
85
|
+
FormBuilder, FormRenderer, Full Grid, ImageAnnotator, DataImportWizard,
|
|
86
|
+
MatrixEditor, FilterBuilder, ProjectTimeline and Kanban. Basic Grid is Community.
|
|
87
|
+
|
|
88
|
+
This is a source-available licence with redistribution restrictions, not an
|
|
89
|
+
MIT, BSD or open-source licence for Blutek Media's material.
|
|
90
|
+
|
|
91
|
+
6. Warranty, support and continuing rights
|
|
92
|
+
|
|
93
|
+
To the extent permitted by applicable law, the Software is provided "as is",
|
|
94
|
+
without warranties of merchantability, fitness for a particular purpose or
|
|
95
|
+
noninfringement. Blutek Media is not liable for loss or damage arising from its
|
|
96
|
+
use to the extent such liability may lawfully be excluded. Mandatory rights
|
|
97
|
+
and liabilities that cannot be excluded remain unaffected.
|
|
98
|
+
|
|
99
|
+
No support, service level or future updates are promised. You are responsible
|
|
100
|
+
for testing your finished application and modifications. Blutek Media may
|
|
101
|
+
terminate these permissions for a material breach not remedied within 30 days
|
|
102
|
+
after written notice. Later website or licence changes do not retroactively
|
|
103
|
+
replace the terms accompanying a copy already lawfully obtained.
|
|
104
|
+
|
|
105
|
+
Licensing inquiries: https://blutekmedia.com/contact
|
package/README.md
CHANGED
|
@@ -1,3 +1,94 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BluKavantUI Charts Community
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Eight browser charts for JavaScript and TypeScript: **Sparkline, Line, Bar, Pie,
|
|
4
|
+
Doughnut, Scatter, Radar and Heatmap**. Charts are separate from the UI library.
|
|
5
|
+
Per-chart imports let your bundler include the chart you use; Sparkline uses SVG
|
|
6
|
+
and does not load ECharts.
|
|
7
|
+
|
|
8
|
+
[Documentation and demos](https://blukavantui.blutekmedia.com/charts)
|
|
9
|
+
· [Community and Pro](https://blukavantui.blutekmedia.com/compare-editions)
|
|
10
|
+
· [Contact](https://blutekmedia.com/contact)
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @blukavantui/community@1.0.1 @blukavantui/charts-community@1.0.1
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The Charts package depends on Community for shared UI and on ECharts for its
|
|
19
|
+
full-sized charts. npm installs those dependencies. TypeScript declarations are
|
|
20
|
+
included; no separate `@types` package is required. Use a browser application
|
|
21
|
+
with an ESM-capable bundler such as Vite. In an SSR application, import and mount
|
|
22
|
+
the charts on the client after their host element exists.
|
|
23
|
+
|
|
24
|
+
For an offline installation, install the official Community and Charts Community
|
|
25
|
+
archives together. Release availability and archive links are on the website.
|
|
26
|
+
|
|
27
|
+
## A line chart
|
|
28
|
+
|
|
29
|
+
Add a host to your page:
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<div id="revenue-chart" style="height: 400px"></div>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Then use a client entry point:
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { createLineChart } from '@blukavantui/charts-community/line'
|
|
39
|
+
import '@blukavantui/charts-community/theme.css'
|
|
40
|
+
import '@blukavantui/charts-community/styles.css'
|
|
41
|
+
|
|
42
|
+
const chart = createLineChart(document.querySelector<HTMLElement>('#revenue-chart')!, {
|
|
43
|
+
Title: 'Monthly revenue',
|
|
44
|
+
Categories: [{ Key: 'jan', Label: 'Jan' }, { Key: 'feb', Label: 'Feb' }],
|
|
45
|
+
Series: [{ Key: 'revenue', Label: 'Revenue', Values: [42, 58] }],
|
|
46
|
+
LegendStyle: 'Compact',
|
|
47
|
+
LegendPosition: 'Bottom',
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
// Before removing the host element:
|
|
51
|
+
// chart.destroy()
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Load the shared theme once. Each chart has a dedicated import such as `/line`,
|
|
55
|
+
`/bar` or `/heatmap`. `/sparkline` has its own `/sparkline.css`; the other charts
|
|
56
|
+
use `/styles.css`. The root export includes all eight Community factories.
|
|
57
|
+
The package also includes `dist/browser/charts-community.js` for script-tag use,
|
|
58
|
+
under the `BluKavantChartsCommunity` global, plus theme/style/font assets.
|
|
59
|
+
|
|
60
|
+
Your application supplies the data and backend. Call the documented instance
|
|
61
|
+
methods to update or destroy charts. See the documentation for each chart's
|
|
62
|
+
typed options, events, data limits and accessibility coverage.
|
|
63
|
+
|
|
64
|
+
## Editable source
|
|
65
|
+
|
|
66
|
+
The `src/` directory contains the Community implementation used for this release.
|
|
67
|
+
The package includes a standalone build script and TypeScript configuration.
|
|
68
|
+
To rebuild a private working copy, use Node.js 24 with npm:
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
npm install --include=dev
|
|
72
|
+
npm run check
|
|
73
|
+
npm run build
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The build emits ES modules, declarations, CSS, fonts and the standalone browser
|
|
77
|
+
bundle. It does not require the BluKavantUI monorepo or any Pro package. Keep the
|
|
78
|
+
lockfile generated in your private working copy when maintaining your changes.
|
|
79
|
+
|
|
80
|
+
## Community, Pro and licensing
|
|
81
|
+
|
|
82
|
+
Charts Community is free for personal and commercial end-user applications
|
|
83
|
+
under the included [Community license](./LICENSE.txt), with private source
|
|
84
|
+
modification allowed. This is a **custom source-available license**, not MIT or
|
|
85
|
+
BSD; redistribution of the reusable library is restricted. Third-party software
|
|
86
|
+
and fonts retain their own licenses; see [third-party notices](./THIRD_PARTY_NOTICES.txt).
|
|
87
|
+
|
|
88
|
+
Charts Pro is a separate licensed download. It is not included here, installed
|
|
89
|
+
by this package, or part of this npm release. Native OutSystems distributions
|
|
90
|
+
are also separate from these browser packages.
|
|
91
|
+
|
|
92
|
+
Version 1.0.1 uses the same Community runtime as the existing 1.0.1 website
|
|
93
|
+
download. The npm packaging removes redundant sync copies, adds this guide and
|
|
94
|
+
standalone build instructions, and identifies the official Charts npm source.
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
========================================================================
|
|
209
|
+
Apache ECharts Subcomponents:
|
|
210
|
+
|
|
211
|
+
The Apache ECharts project contains subcomponents with separate copyright
|
|
212
|
+
notices and license terms. Your use of the source code for these
|
|
213
|
+
subcomponents is also subject to the terms and conditions of the following
|
|
214
|
+
licenses.
|
|
215
|
+
|
|
216
|
+
BSD 3-Clause (d3.js):
|
|
217
|
+
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause:
|
|
218
|
+
`/src/chart/treemap/treemapLayout.ts`,
|
|
219
|
+
`/src/chart/tree/layoutHelper.ts`,
|
|
220
|
+
`/src/chart/graph/forceHelper.ts`,
|
|
221
|
+
`/src/util/number.ts`
|
|
222
|
+
See `/licenses/LICENSE-d3` for details of the license.
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
Apache ECharts
|
|
226
|
+
Copyright 2017-2026 The Apache Software Foundation
|
|
227
|
+
|
|
228
|
+
This product includes software developed at
|
|
229
|
+
The Apache Software Foundation (https://www.apache.org/).
|
|
230
|
+
|
|
231
|
+
ag-grid-community 36.2.0
|
|
232
|
+
|
|
233
|
+
The MIT License
|
|
234
|
+
|
|
235
|
+
Copyright (c) 2015-2026 AG GRID LTD
|
|
236
|
+
|
|
237
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
238
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
239
|
+
in the Software without restriction, including without limitation the rights
|
|
240
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
241
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
242
|
+
furnished to do so, subject to the following conditions:
|
|
243
|
+
|
|
244
|
+
The above copyright notice and this permission notice shall be included in all
|
|
245
|
+
copies or substantial portions of the Software.
|
|
246
|
+
|
|
247
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
248
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
249
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
250
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
251
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
252
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
253
|
+
SOFTWARE.
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
ag-stack 36.2.0
|
|
257
|
+
|
|
258
|
+
The MIT License
|
|
259
|
+
|
|
260
|
+
Copyright (c) 2015-2026 AG GRID LTD
|
|
261
|
+
|
|
262
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
263
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
264
|
+
in the Software without restriction, including without limitation the rights
|
|
265
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
266
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
267
|
+
furnished to do so, subject to the following conditions:
|
|
268
|
+
|
|
269
|
+
The above copyright notice and this permission notice shall be included in all
|
|
270
|
+
copies or substantial portions of the Software.
|
|
271
|
+
|
|
272
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
273
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
274
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
275
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
276
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
277
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
278
|
+
SOFTWARE.
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
Bundled FontProvider presets
|
|
282
|
+
--------------------------
|
|
283
|
+
Inter, Roboto, Source Sans 3, DM Sans, Manrope, Montserrat, Lora, Merriweather,
|
|
284
|
+
Playfair Display, IBM Plex Mono and JetBrains Mono are distributed unmodified
|
|
285
|
+
under the SIL Open Font License 1.1. Each family’s complete copyright and licence
|
|
286
|
+
text is included in dist/fonts/*-LICENSE.txt. dist/fonts/manifest.json records
|
|
287
|
+
source package versions, subsets and checksums. These font licences apply
|
|
288
|
+
independently of the BluKavantUI component licence.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const MARK_CONTRAST = 3.2;
|
|
2
|
+
export declare function opaqueColor(value: string, surface: string): string;
|
|
3
|
+
export declare function contrastRatio(a: string, b: string): number;
|
|
4
|
+
export declare function markColor(value: string, surface: string, minimum?: number): string;
|
|
5
|
+
/** A single-hue luminance ramp also works when hues cannot be distinguished. */
|
|
6
|
+
export declare function sequentialScale(value: string, surface: string): string[];
|
|
7
|
+
export declare const seriesSymbol: (index: number) => string;
|
|
8
|
+
export declare const seriesDash: (index: number) => "solid" | "dashed" | "dotted";
|
|
9
|
+
export declare function seriesDecal(index: number, fill: string): {
|
|
10
|
+
color: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
symbol: string;
|
|
13
|
+
symbolSize: number;
|
|
14
|
+
dashArrayX: number[];
|
|
15
|
+
dashArrayY: number[];
|
|
16
|
+
rotation: number;
|
|
17
|
+
};
|
|
18
|
+
/** Selection and pointer emphasis share a quiet, solid contrast cue. */
|
|
19
|
+
export declare function highlightStyle(fill: string): {
|
|
20
|
+
color: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
borderWidth: number;
|
|
23
|
+
borderType: "solid";
|
|
24
|
+
};
|
|
25
|
+
export declare function markStyle(fill: string, surface: string, selected?: boolean, pattern?: number): {
|
|
26
|
+
decal?: {
|
|
27
|
+
color: string;
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
symbol: string;
|
|
30
|
+
symbolSize: number;
|
|
31
|
+
dashArrayX: number[];
|
|
32
|
+
dashArrayY: number[];
|
|
33
|
+
rotation: number;
|
|
34
|
+
} | undefined;
|
|
35
|
+
color: string;
|
|
36
|
+
borderColor: string;
|
|
37
|
+
borderWidth: number;
|
|
38
|
+
borderType: "solid";
|
|
39
|
+
opacity: number;
|
|
40
|
+
};
|
|
41
|
+
/** Keep callouts inside the plot and out of its key; the HTML table retains full text. */
|
|
42
|
+
export declare function boundedLabels(width: number, height: number, top?: number): ({ labelRect: r }: {
|
|
43
|
+
labelRect: {
|
|
44
|
+
x: number;
|
|
45
|
+
y: number;
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
};
|
|
49
|
+
}) => {
|
|
50
|
+
hideOverlap: boolean;
|
|
51
|
+
dx: number;
|
|
52
|
+
dy: number;
|
|
53
|
+
};
|
package/dist/async.d.ts
ADDED
package/dist/bar.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.blu-chart__body{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}.blu-chart__body[data-legend-position=Top] .blu-chart__legend{grid-row:1}.blu-chart__body[data-legend-position=Bottom] .blu-chart__legend{grid-row:2}.blu-chart__body[data-legend-position=Left]{grid-template-columns:190px minmax(0,1fr);align-items:center}.blu-chart__body[data-legend-position=Right]{grid-template-columns:minmax(0,1fr) 190px;align-items:center}.blu-chart__body[data-legend-position=Left] .blu-chart__legend{grid-column:1;grid-row:1}.blu-chart__body[data-legend-position=Left] .blu-chart__stage,.blu-chart__body[data-legend-position=Right] .blu-chart__legend{grid-column:2;grid-row:1}.blu-chart__body[data-legend-position=Right] .blu-chart__stage{grid-column:1;grid-row:1}.blu-chart__body.blu-chart__body--no-legend{grid-template-columns:minmax(0,1fr);gap:0}.blu-chart__body--no-legend .blu-chart__stage{grid-column:1!important;grid-row:1!important}.blu-chart__legend{--legend-selected:color-mix(in srgb,var(--bluui-primary) 9%,var(--bluui-surface));min-width:0;padding:8px 20px 16px;font:12px/1.45 var(--bluui-font,Inter,system-ui,sans-serif);color:var(--bluui-text)}.blu-chart__legend-items{display:flex;flex-wrap:wrap;gap:8px}.blu-chart__legend-entry{min-width:0;max-width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;color:inherit;font:inherit;text-align:left;padding:7px 8px;border-radius:8px;cursor:pointer;min-height:36px}.blu-chart__legend-entry:hover{background:var(--bluui-surface-muted)}.blu-chart__legend-entry[aria-pressed=true]{text-decoration:none;background:var(--legend-selected)}.blu-chart__legend-heading{display:flex;align-items:center;gap:7px;min-width:0}.blu-chart__legend-marker{display:flex;flex-shrink:0}.blu-chart__legend-text{overflow-wrap:anywhere}.blu-chart__legend-label{font-weight:500}.blu-chart__legend-detail,.blu-chart__legend-percent,.blu-chart__legend-note{font-size:11px;color:var(--bluui-text-muted)}.blu-chart__legend-numbers{display:flex;align-items:baseline;gap:10px;min-width:0;font-variant-numeric:tabular-nums}.blu-chart__legend-value{font-weight:600;letter-spacing:-.25px}.blu-chart__legend-check{visibility:hidden;margin-left:auto;color:var(--bluui-primary);font-weight:700;font-size:12px}[aria-pressed=true] .blu-chart__legend-check{visibility:visible}.blu-chart__legend[data-style=Standard] .blu-chart__legend-detail,.blu-chart__legend[data-style=Standard] .blu-chart__legend-check{display:none}.blu-chart__legend[data-style=Standard] .blu-chart__legend-value{font-size:11px;color:var(--bluui-text-muted)}.blu-chart__legend-track{display:none;height:3px;background:var(--bluui-border);border-radius:2px;overflow:hidden}.blu-chart__legend-track>span{display:block;height:100%}.blu-chart__legend-chip-host{min-width:0;max-width:100%}.blu-chart__legend .blu-chip.blu-chart__legend-chip{--chip-bg:transparent;--chip-fg:var(--bluui-text);--chip-border:var(--bluui-border);max-width:100%;box-shadow:none}.blu-chart__legend .blu-chart__legend-chip.blu-chip--selected{--chip-bg:var(--legend-selected);--chip-border:var(--bluui-primary);box-shadow:none}.blu-chart__legend .blu-chart__legend-chip .blu-chip__select{min-height:38px;padding:9px 12px;gap:10px;font:inherit;font-size:11px;text-align:left;justify-content:flex-start}.blu-chart__legend-chip .blu-chart__legend-label{font-weight:500}.blu-chart__legend-chip .blu-chart__legend-detail,.blu-chart__legend-chip .blu-chart__legend-check{display:none}.blu-chart__legend-chip [aria-pressed=true]{text-decoration:none}.blu-chart__legend-chip [aria-pressed=true] .blu-chart__legend-label{text-decoration:underline;text-underline-offset:3px}.blu-chart__legend-chip .blu-chart__legend-numbers{gap:7px;flex-wrap:wrap}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-items,.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-items{display:grid;grid-template-columns:repeat(var(--legend-columns,1),minmax(0,1fr));gap:10px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-entry{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:10px 11px;border:0}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-numbers{margin-left:23px;justify-content:space-between}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-value{font-size:19px;letter-spacing:-.4px;line-height:1.3}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-detail{margin-left:23px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-track{display:block;margin:3px 0 0 23px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-entry{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:12px;min-height:36px;align-self:start;border-color:var(--bluui-border);border-radius:12px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-entry[aria-pressed=true]{border-color:var(--bluui-primary)}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-heading{font-size:11px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-numbers{flex-direction:column;align-items:stretch;gap:6px;margin-top:10px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-value{font-size:24px;letter-spacing:-.6px;line-height:1.2}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-detail{margin-top:6px}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend{padding:8px 12px 16px}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend-items{display:flex;flex-direction:column}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend-entry{width:100%}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend[data-style=Standard] .blu-chart__legend-entry{flex-wrap:wrap;gap:4px 10px}.blu-chart__legend-scale{max-width:360px;min-width:0;margin:0 0 8px}.blu-chart__legend-scale-title{display:block;font-size:11px;font-weight:500;margin-bottom:10px;color:var(--bluui-text-muted)}.blu-chart__legend-gradient{height:8px;border-radius:4px}.blu-chart__legend-range{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-variant-numeric:tabular-nums}.blu-chart__legend[data-style=Compact] .blu-chart__legend-scale{padding:12px 16px;border:1px solid var(--bluui-border);border-radius:18px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-scale{padding:10px 11px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-scale{padding:16px;border:1px solid var(--bluui-border);border-radius:12px}.blu-chart__legend-note{display:block;margin-top:10px}@media(forced-colors:active){.blu-chart__legend-entry{border:1px solid ButtonText!important}.blu-chart__legend-entry[aria-pressed=true],.blu-chart__legend .blu-chart__legend-chip.blu-chip--selected{outline:1px solid Highlight}.blu-chart__legend-marker svg{forced-color-adjust:none}.blu-chart__legend-gradient{background:Canvas!important;border:1px solid CanvasText}}.blu-chart{width:100%;min-width:0;color:var(--bluui-text,#182230);background:var(--bluui-surface,#fff);font:13px/1.5 var(--blu-font-family,Inter,system-ui,sans-serif)}.blu-chart [hidden]{display:none!important}.blu-chart__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 16px 12px}.blu-chart__heading>div:first-child{min-width:0}.blu-chart__heading h3{margin:0;color:inherit;font-size:16px;font-weight:650;letter-spacing:-.3px;overflow-wrap:anywhere}.blu-chart__heading p{margin:5px 0 0;font-size:11px;color:var(--bluui-text-muted,#667085);line-height:1.6;overflow-wrap:anywhere}.blu-chart__export{display:flex;gap:5px;flex-shrink:0;margin-left:auto}.blu-chart__export :is(select,button){font:inherit;font-size:11px;border:1px solid var(--bluui-border,#ddd);color:inherit;border-radius:6px;background:var(--bluui-surface,#fff);min-height:34px;padding:6px 8px;cursor:pointer}.blu-chart__export button:disabled{opacity:.5;cursor:default}.blu-chart__stage{position:relative;min-width:0}.blu-chart__plot{width:100%;min-width:0}.blu-chart__state{position:absolute;inset:0;display:grid;place-items:center;background:var(--bluui-surface-muted,#f8f8fa);color:var(--bluui-text-muted,#667085);padding:20px;text-align:center}.blu-chart__state--loading{grid-template-rows:minmax(0,1fr) auto;gap:14px;place-items:stretch;background:var(--bluui-surface,#fff);padding:16px}.blu-chart__skeleton{display:flex;flex-direction:column;gap:24px;min-width:0;min-height:0}.blu-chart__skeleton-key{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.blu-chart__skeleton-plot{flex:1;min-height:0}.blu-chart__skeleton-plot>div{height:100%}.blu-chart__state-message{font-size:12px}.blu-chart__data{margin:12px 16px 0;border-top:1px solid var(--bluui-border,#ddd);font-size:11px}.blu-chart__data summary{cursor:pointer;padding:12px 0;color:var(--bluui-text-muted,#667085)}.blu-chart__data--compact{margin-top:0;border-top:0}.blu-chart__data--compact summary{padding:6px 0}.blu-chart__table{overflow:auto;max-height:320px}.blu-chart__table table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.blu-chart__table caption{text-align:left;color:var(--bluui-text-muted,#667085);padding:8px}.blu-chart__table th,.blu-chart__table td{padding:8px;border-bottom:1px solid var(--bluui-border,#ddd);text-align:right}.blu-chart__table th:first-child{text-align:left}.blu-chart__table button{font:inherit;color:var(--bluui-primary,#6557e8);background:transparent;border:0;border-radius:3px;padding:5px;cursor:pointer}.blu-chart__table button[aria-pressed=true]{background:var(--bluui-selected,#eeeaff);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700}.blu-chart :is(button,select,summary,[tabindex]):focus-visible{outline:2px solid var(--bluui-primary,#6557e8);outline-offset:2px}.blu-chart__status{font-size:11px;color:var(--bluui-text-muted,#667085);margin:0 16px}.blu-chart__status:not(:empty){padding:8px 0}@media(max-width:640px){.blu-chart__heading{flex-wrap:wrap;padding-inline:12px}.blu-chart__export{margin-left:0}.blu-chart__data{margin-inline:12px}}.blu-chart__navigation{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px}.blu-chart__navigation button{min-width:32px;min-height:32px;padding:5px 9px;font:inherit;font-size:12px;color:var(--bluui-text);background:var(--bluui-surface);border:1px solid var(--bluui-control-border);border-radius:5px;cursor:pointer}.blu-chart__stage[tabindex]:focus-visible{outline-offset:-3px}.blu-chart__state-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.blu-chart__patterns{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 0 12px;cursor:pointer}.blu-chart__patterns input{width:24px;height:24px;margin:0;accent-color:var(--bluui-color-primary-solid)}.blu-chart__missing-note{margin:8px 12px;color:var(--bluui-text-muted);font-size:12px;line-height:1.5}.blu-chart .blu-chart__patterns input[type=checkbox]{-webkit-appearance:none;appearance:none;box-sizing:border-box;position:relative;display:inline-block;flex:0 0 22px;width:22px;height:22px;min-width:22px;min-height:22px;margin:0;padding:0;border:1.5px solid var(--bluui-control-border,#7b8799);border-radius:6px;background-color:var(--bluui-surface,#fff);background-image:none;box-shadow:0 1px 2px #0f172a0f;vertical-align:middle;cursor:pointer;opacity:1;filter:none;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}.blu-chart .blu-chart__patterns input[type=checkbox]:after{content:none}.blu-chart .blu-chart__patterns input[type=checkbox]:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate{border-color:var(--bluui-color-primary-solid,#4f46e5);background-color:var(--bluui-color-primary-solid,#4f46e5)}.blu-chart .blu-chart__patterns input[type=checkbox]:checked:after,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{content:"";box-sizing:content-box;position:absolute;width:10px;height:6px;inset:5px auto auto 4px;border:solid var(--bluui-color-primary-contrast,#fff);border-width:0 0 2px 2px;border-radius:0;background:none;-webkit-mask:none;mask:none;transform:rotate(-45deg);pointer-events:none}.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{height:0;top:8px;border-width:0 0 2px;transform:none}.blu-chart .blu-chart__patterns input[type=checkbox]:hover:not(:disabled){border-color:var(--bluui-color-primary-solid,#4f46e5);box-shadow:0 0 0 3px var(--bluui-color-primary-soft,#eef2ff)}.blu-chart .blu-chart__patterns input[type=checkbox]:focus-visible{outline:2px solid var(--bluui-color-primary-solid,#4f46e5);outline-offset:3px}.blu-chart .blu-chart__patterns input[type=checkbox]:disabled{border-color:var(--bluui-border-strong,#b8c4d4);background-color:var(--bluui-surface-muted,#f7f8fb);box-shadow:none;cursor:not-allowed}.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:indeterminate{border-color:var(--bluui-text-muted,#5c6b80);background-color:var(--bluui-text-muted,#5c6b80)}@media(prefers-reduced-motion:reduce){.blu-chart .blu-chart__patterns input[type=checkbox]{transition:none}}.blu-chart .blu-chart__patterns input[type=checkbox]:before{content:none}@media(forced-colors:active){.blu-chart .blu-chart__patterns input[type=checkbox],.blu-chart .blu-chart__patterns input[type=checkbox]:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:indeterminate{-webkit-appearance:checkbox;appearance:auto;background:revert;border:revert;box-shadow:none;forced-color-adjust:auto}.blu-chart .blu-chart__patterns input[type=checkbox]:checked:after,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{content:none}}
|
package/dist/bar.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { OptionsByKind, ChartPoint } from './catalogue-types.ts';
|
|
2
|
+
import type { ChartEvents } from './types.ts';
|
|
3
|
+
export type { OptionsByKind, ChartPoint } from './catalogue-types.ts';
|
|
4
|
+
export type BarChartOptions = OptionsByKind['bar'];
|
|
5
|
+
export declare function createBarChart(host: HTMLElement, options: BarChartOptions, events?: ChartEvents<ChartPoint>): import("./types.ts").ChartInstance<import("./catalogue-types.ts").CartesianOptions>;
|
package/dist/bar.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-FHHQWCUO.js";import"./chunk-QFXXWRD5.js";import"./chunk-QETOF22L.js";export{a as createBarChart};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.blu-skeleton{box-sizing:border-box;min-width:0;font-family:var(--bluui-font, Inter, ui-sans-serif, system-ui, sans-serif)}.blu-skeleton{display:block;position:relative;overflow:hidden;max-width:100%;-servicestudio-height:16px;-servicestudio-min-width:120px;-servicestudio-background-color:var(--bluui-skeleton-base, #e2e8f0);-servicestudio-border-radius:4px;background:var(--bluui-skeleton-base, #e2e8f0)}.blu-skeleton--text{border-radius:4px}.blu-skeleton--rectangle{border-radius:10px}.blu-skeleton--circle{border-radius:50%}.blu-skeleton--animated:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--bluui-skeleton-shine, rgb(255 255 255 / 65%)),transparent);transform:translate(-100%);animation:blu-skeleton-wave 1.6s ease-in-out 3}@keyframes blu-skeleton-wave{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.blu-skeleton--animated:after{animation:none;display:none}}.blu-skeleton{-servicestudio-width:180px;-servicestudio-height:20px}.blu-chip{box-sizing:border-box;min-width:0;font-family:var(--bluui-font, Inter, ui-sans-serif, system-ui, sans-serif)}.blu-chip{--chip-bg: var(--bluui-secondary-soft, #f1f5f9);--chip-fg: var(--bluui-secondary-text, #334155);--chip-border: var(--bluui-border, #cbd5e1);display:inline-flex;align-items:stretch;width:auto;max-width:100%;border:1px solid var(--chip-border);border-radius:999px;background:var(--chip-bg);color:var(--chip-fg);vertical-align:middle}.blu-chip.blu-chip--default{--chip-bg: var(--bluui-color-default-solid);--chip-fg: var(--bluui-color-default-contrast);--chip-border: var(--bluui-color-default-solid)}.blu-chip.blu-chip--primary{--chip-bg: var(--bluui-color-primary-solid);--chip-fg: var(--bluui-color-primary-contrast);--chip-border: var(--bluui-color-primary-solid)}.blu-chip.blu-chip--secondary{--chip-bg: var(--bluui-color-secondary-soft);--chip-fg: var(--bluui-color-secondary-text);--chip-border: var(--bluui-color-secondary-soft)}.blu-chip.blu-chip--success{--chip-bg: var(--bluui-color-success-solid);--chip-fg: var(--bluui-color-success-contrast);--chip-border: var(--bluui-color-success-solid)}.blu-chip.blu-chip--processing{--chip-bg: var(--bluui-color-processing-solid);--chip-fg: var(--bluui-color-processing-contrast);--chip-border: var(--bluui-color-processing-solid)}.blu-chip.blu-chip--warning{--chip-bg: var(--bluui-color-warning-solid);--chip-fg: var(--bluui-color-warning-contrast);--chip-border: var(--bluui-color-warning-solid)}.blu-chip.blu-chip--error{--chip-bg: var(--bluui-color-error-solid);--chip-fg: var(--bluui-color-error-contrast);--chip-border: var(--bluui-color-error-solid)}.blu-chip.blu-chip--danger{--chip-bg: var(--bluui-color-danger-solid);--chip-fg: var(--bluui-color-danger-contrast);--chip-border: var(--bluui-color-danger-solid)}.blu-chip.blu-chip--magenta{--chip-bg: var(--bluui-color-magenta-soft);--chip-fg: var(--bluui-color-magenta-text);--chip-border: var(--bluui-color-magenta-soft)}.blu-chip.blu-chip--red{--chip-bg: var(--bluui-color-red-soft);--chip-fg: var(--bluui-color-red-text);--chip-border: var(--bluui-color-red-soft)}.blu-chip.blu-chip--volcano{--chip-bg: var(--bluui-color-volcano-soft);--chip-fg: var(--bluui-color-volcano-text);--chip-border: var(--bluui-color-volcano-soft)}.blu-chip.blu-chip--orange{--chip-bg: var(--bluui-color-orange-soft);--chip-fg: var(--bluui-color-orange-text);--chip-border: var(--bluui-color-orange-soft)}.blu-chip.blu-chip--gold{--chip-bg: var(--bluui-color-gold-soft);--chip-fg: var(--bluui-color-gold-text);--chip-border: var(--bluui-color-gold-soft)}.blu-chip.blu-chip--lime{--chip-bg: var(--bluui-color-lime-soft);--chip-fg: var(--bluui-color-lime-text);--chip-border: var(--bluui-color-lime-soft)}.blu-chip.blu-chip--green{--chip-bg: var(--bluui-color-green-soft);--chip-fg: var(--bluui-color-green-text);--chip-border: var(--bluui-color-green-soft)}.blu-chip.blu-chip--cyan{--chip-bg: var(--bluui-color-cyan-soft);--chip-fg: var(--bluui-color-cyan-text);--chip-border: var(--bluui-color-cyan-soft)}.blu-chip.blu-chip--blue{--chip-bg: var(--bluui-color-blue-soft);--chip-fg: var(--bluui-color-blue-text);--chip-border: var(--bluui-color-blue-soft)}.blu-chip.blu-chip--geekblue{--chip-bg: var(--bluui-color-geekblue-soft);--chip-fg: var(--bluui-color-geekblue-text);--chip-border: var(--bluui-color-geekblue-soft)}.blu-chip.blu-chip--purple{--chip-bg: var(--bluui-color-purple-soft);--chip-fg: var(--bluui-color-purple-text);--chip-border: var(--bluui-color-purple-soft)}.blu-chip--selected{box-shadow:0 0 0 2px var(--bluui-primary, #4f46e5)}.blu-chip--disabled{opacity:.55}.blu-chip.blu-chip :is(.blu-chip__select,.blu-chip__remove){appearance:none;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;height:auto;margin:0;border:0;border-radius:999px;padding:7px 12px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1.4;box-shadow:none;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.blu-chip.blu-chip .blu-chip__remove{min-width:36px;padding:6px 10px}.blu-chip .blu-chip__label{display:inline-flex;align-items:center;padding:7px 12px;font-size:13px;overflow-wrap:anywhere}.blu-chip.blu-chip :is(.blu-chip__select,.blu-chip__remove):disabled{cursor:default}.blu-chip.blu-chip :is(.blu-chip__select,.blu-chip__remove):focus-visible{outline:2px solid var(--bluui-primary, #4f46e5);outline-offset:3px}.blu-chip.blu-chip :is(.blu-chip__select,.blu-chip__remove):hover:not(:disabled){background:color-mix(in srgb,currentColor 8%,transparent)}.blu-chart__body{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}.blu-chart__body[data-legend-position=Top] .blu-chart__legend{grid-row:1}.blu-chart__body[data-legend-position=Bottom] .blu-chart__legend{grid-row:2}.blu-chart__body[data-legend-position=Left]{grid-template-columns:190px minmax(0,1fr);align-items:center}.blu-chart__body[data-legend-position=Right]{grid-template-columns:minmax(0,1fr) 190px;align-items:center}.blu-chart__body[data-legend-position=Left] .blu-chart__legend{grid-column:1;grid-row:1}.blu-chart__body[data-legend-position=Left] .blu-chart__stage,.blu-chart__body[data-legend-position=Right] .blu-chart__legend{grid-column:2;grid-row:1}.blu-chart__body[data-legend-position=Right] .blu-chart__stage{grid-column:1;grid-row:1}.blu-chart__body.blu-chart__body--no-legend{grid-template-columns:minmax(0,1fr);gap:0}.blu-chart__body--no-legend .blu-chart__stage{grid-column:1!important;grid-row:1!important}.blu-chart__legend{--legend-selected:color-mix(in srgb,var(--bluui-primary) 9%,var(--bluui-surface));min-width:0;padding:8px 20px 16px;font:12px/1.45 var(--bluui-font,Inter,system-ui,sans-serif);color:var(--bluui-text)}.blu-chart__legend-items{display:flex;flex-wrap:wrap;gap:8px}.blu-chart__legend-entry{min-width:0;max-width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;color:inherit;font:inherit;text-align:left;padding:7px 8px;border-radius:8px;cursor:pointer;min-height:36px}.blu-chart__legend-entry:hover{background:var(--bluui-surface-muted)}.blu-chart__legend-entry[aria-pressed=true]{text-decoration:none;background:var(--legend-selected)}.blu-chart__legend-heading{display:flex;align-items:center;gap:7px;min-width:0}.blu-chart__legend-marker{display:flex;flex-shrink:0}.blu-chart__legend-text{overflow-wrap:anywhere}.blu-chart__legend-label{font-weight:500}.blu-chart__legend-detail,.blu-chart__legend-percent,.blu-chart__legend-note{font-size:11px;color:var(--bluui-text-muted)}.blu-chart__legend-numbers{display:flex;align-items:baseline;gap:10px;min-width:0;font-variant-numeric:tabular-nums}.blu-chart__legend-value{font-weight:600;letter-spacing:-.25px}.blu-chart__legend-check{visibility:hidden;margin-left:auto;color:var(--bluui-primary);font-weight:700;font-size:12px}[aria-pressed=true] .blu-chart__legend-check{visibility:visible}.blu-chart__legend[data-style=Standard] .blu-chart__legend-detail,.blu-chart__legend[data-style=Standard] .blu-chart__legend-check{display:none}.blu-chart__legend[data-style=Standard] .blu-chart__legend-value{font-size:11px;color:var(--bluui-text-muted)}.blu-chart__legend-track{display:none;height:3px;background:var(--bluui-border);border-radius:2px;overflow:hidden}.blu-chart__legend-track>span{display:block;height:100%}.blu-chart__legend-chip-host{min-width:0;max-width:100%}.blu-chart__legend .blu-chip.blu-chart__legend-chip{--chip-bg:transparent;--chip-fg:var(--bluui-text);--chip-border:var(--bluui-border);max-width:100%;box-shadow:none}.blu-chart__legend .blu-chart__legend-chip.blu-chip--selected{--chip-bg:var(--legend-selected);--chip-border:var(--bluui-primary);box-shadow:none}.blu-chart__legend .blu-chart__legend-chip .blu-chip__select{min-height:38px;padding:9px 12px;gap:10px;font:inherit;font-size:11px;text-align:left;justify-content:flex-start}.blu-chart__legend-chip .blu-chart__legend-label{font-weight:500}.blu-chart__legend-chip .blu-chart__legend-detail,.blu-chart__legend-chip .blu-chart__legend-check{display:none}.blu-chart__legend-chip [aria-pressed=true]{text-decoration:none}.blu-chart__legend-chip [aria-pressed=true] .blu-chart__legend-label{text-decoration:underline;text-underline-offset:3px}.blu-chart__legend-chip .blu-chart__legend-numbers{gap:7px;flex-wrap:wrap}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-items,.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-items{display:grid;grid-template-columns:repeat(var(--legend-columns,1),minmax(0,1fr));gap:10px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-entry{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:10px 11px;border:0}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-numbers{margin-left:23px;justify-content:space-between}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-value{font-size:19px;letter-spacing:-.4px;line-height:1.3}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-detail{margin-left:23px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-track{display:block;margin:3px 0 0 23px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-entry{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:12px;min-height:36px;align-self:start;border-color:var(--bluui-border);border-radius:12px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-entry[aria-pressed=true]{border-color:var(--bluui-primary)}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-heading{font-size:11px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-numbers{flex-direction:column;align-items:stretch;gap:6px;margin-top:10px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-value{font-size:24px;letter-spacing:-.6px;line-height:1.2}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-detail{margin-top:6px}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend{padding:8px 12px 16px}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend-items{display:flex;flex-direction:column}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend-entry{width:100%}.blu-chart__body:is([data-legend-position=Left],[data-legend-position=Right]) .blu-chart__legend[data-style=Standard] .blu-chart__legend-entry{flex-wrap:wrap;gap:4px 10px}.blu-chart__legend-scale{max-width:360px;min-width:0;margin:0 0 8px}.blu-chart__legend-scale-title{display:block;font-size:11px;font-weight:500;margin-bottom:10px;color:var(--bluui-text-muted)}.blu-chart__legend-gradient{height:8px;border-radius:4px}.blu-chart__legend-range{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-variant-numeric:tabular-nums}.blu-chart__legend[data-style=Compact] .blu-chart__legend-scale{padding:12px 16px;border:1px solid var(--bluui-border);border-radius:18px}.blu-chart__legend[data-style=ValueList] .blu-chart__legend-scale{padding:10px 11px}.blu-chart__legend[data-style=SummaryCards] .blu-chart__legend-scale{padding:16px;border:1px solid var(--bluui-border);border-radius:12px}.blu-chart__legend-note{display:block;margin-top:10px}@media(forced-colors:active){.blu-chart__legend-entry{border:1px solid ButtonText!important}.blu-chart__legend-entry[aria-pressed=true],.blu-chart__legend .blu-chart__legend-chip.blu-chip--selected{outline:1px solid Highlight}.blu-chart__legend-marker svg{forced-color-adjust:none}.blu-chart__legend-gradient{background:Canvas!important;border:1px solid CanvasText}}.blu-chart{width:100%;min-width:0;color:var(--bluui-text,#182230);background:var(--bluui-surface,#fff);font:13px/1.5 var(--blu-font-family,Inter,system-ui,sans-serif)}.blu-chart [hidden]{display:none!important}.blu-chart__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 16px 12px}.blu-chart__heading>div:first-child{min-width:0}.blu-chart__heading h3{margin:0;color:inherit;font-size:16px;font-weight:650;letter-spacing:-.3px;overflow-wrap:anywhere}.blu-chart__heading p{margin:5px 0 0;font-size:11px;color:var(--bluui-text-muted,#667085);line-height:1.6;overflow-wrap:anywhere}.blu-chart__export{display:flex;gap:5px;flex-shrink:0;margin-left:auto}.blu-chart__export :is(select,button){font:inherit;font-size:11px;border:1px solid var(--bluui-border,#ddd);color:inherit;border-radius:6px;background:var(--bluui-surface,#fff);min-height:34px;padding:6px 8px;cursor:pointer}.blu-chart__export button:disabled{opacity:.5;cursor:default}.blu-chart__stage{position:relative;min-width:0}.blu-chart__plot{width:100%;min-width:0}.blu-chart__state{position:absolute;inset:0;display:grid;place-items:center;background:var(--bluui-surface-muted,#f8f8fa);color:var(--bluui-text-muted,#667085);padding:20px;text-align:center}.blu-chart__state--loading{grid-template-rows:minmax(0,1fr) auto;gap:14px;place-items:stretch;background:var(--bluui-surface,#fff);padding:16px}.blu-chart__skeleton{display:flex;flex-direction:column;gap:24px;min-width:0;min-height:0}.blu-chart__skeleton-key{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.blu-chart__skeleton-plot{flex:1;min-height:0}.blu-chart__skeleton-plot>div{height:100%}.blu-chart__state-message{font-size:12px}.blu-chart__data{margin:12px 16px 0;border-top:1px solid var(--bluui-border,#ddd);font-size:11px}.blu-chart__data summary{cursor:pointer;padding:12px 0;color:var(--bluui-text-muted,#667085)}.blu-chart__data--compact{margin-top:0;border-top:0}.blu-chart__data--compact summary{padding:6px 0}.blu-chart__table{overflow:auto;max-height:320px}.blu-chart__table table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.blu-chart__table caption{text-align:left;color:var(--bluui-text-muted,#667085);padding:8px}.blu-chart__table th,.blu-chart__table td{padding:8px;border-bottom:1px solid var(--bluui-border,#ddd);text-align:right}.blu-chart__table th:first-child{text-align:left}.blu-chart__table button{font:inherit;color:var(--bluui-primary,#6557e8);background:transparent;border:0;border-radius:3px;padding:5px;cursor:pointer}.blu-chart__table button[aria-pressed=true]{background:var(--bluui-selected,#eeeaff);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700}.blu-chart :is(button,select,summary,[tabindex]):focus-visible{outline:2px solid var(--bluui-primary,#6557e8);outline-offset:2px}.blu-chart__status{font-size:11px;color:var(--bluui-text-muted,#667085);margin:0 16px}.blu-chart__status:not(:empty){padding:8px 0}@media(max-width:640px){.blu-chart__heading{flex-wrap:wrap;padding-inline:12px}.blu-chart__export{margin-left:0}.blu-chart__data{margin-inline:12px}}.blu-chart__navigation{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px}.blu-chart__navigation button{min-width:32px;min-height:32px;padding:5px 9px;font:inherit;font-size:12px;color:var(--bluui-text);background:var(--bluui-surface);border:1px solid var(--bluui-control-border);border-radius:5px;cursor:pointer}.blu-chart__stage[tabindex]:focus-visible{outline-offset:-3px}.blu-chart__state-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.blu-chart__patterns{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 0 12px;cursor:pointer}.blu-chart__patterns input{width:24px;height:24px;margin:0;accent-color:var(--bluui-color-primary-solid)}.blu-chart__missing-note{margin:8px 12px;color:var(--bluui-text-muted);font-size:12px;line-height:1.5}.blu-chart .blu-chart__patterns input[type=checkbox]{-webkit-appearance:none;appearance:none;box-sizing:border-box;position:relative;display:inline-block;flex:0 0 22px;width:22px;height:22px;min-width:22px;min-height:22px;margin:0;padding:0;border:1.5px solid var(--bluui-control-border,#7b8799);border-radius:6px;background-color:var(--bluui-surface,#fff);background-image:none;box-shadow:0 1px 2px #0f172a0f;vertical-align:middle;cursor:pointer;opacity:1;filter:none;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}.blu-chart .blu-chart__patterns input[type=checkbox]:after{content:none}.blu-chart .blu-chart__patterns input[type=checkbox]:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate{border-color:var(--bluui-color-primary-solid,#4f46e5);background-color:var(--bluui-color-primary-solid,#4f46e5)}.blu-chart .blu-chart__patterns input[type=checkbox]:checked:after,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{content:"";box-sizing:content-box;position:absolute;width:10px;height:6px;inset:5px auto auto 4px;border:solid var(--bluui-color-primary-contrast,#fff);border-width:0 0 2px 2px;border-radius:0;background:none;-webkit-mask:none;mask:none;transform:rotate(-45deg);pointer-events:none}.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{height:0;top:8px;border-width:0 0 2px;transform:none}.blu-chart .blu-chart__patterns input[type=checkbox]:hover:not(:disabled){border-color:var(--bluui-color-primary-solid,#4f46e5);box-shadow:0 0 0 3px var(--bluui-color-primary-soft,#eef2ff)}.blu-chart .blu-chart__patterns input[type=checkbox]:focus-visible{outline:2px solid var(--bluui-color-primary-solid,#4f46e5);outline-offset:3px}.blu-chart .blu-chart__patterns input[type=checkbox]:disabled{border-color:var(--bluui-border-strong,#b8c4d4);background-color:var(--bluui-surface-muted,#f7f8fb);box-shadow:none;cursor:not-allowed}.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:indeterminate{border-color:var(--bluui-text-muted,#5c6b80);background-color:var(--bluui-text-muted,#5c6b80)}@media(prefers-reduced-motion:reduce){.blu-chart .blu-chart__patterns input[type=checkbox]{transition:none}}.blu-chart .blu-chart__patterns input[type=checkbox]:before{content:none}@media(forced-colors:active){.blu-chart .blu-chart__patterns input[type=checkbox],.blu-chart .blu-chart__patterns input[type=checkbox]:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:checked,.blu-chart .blu-chart__patterns input[type=checkbox]:disabled:indeterminate{-webkit-appearance:checkbox;appearance:auto;background:revert;border:revert;box-shadow:none;forced-color-adjust:auto}.blu-chart .blu-chart__patterns input[type=checkbox]:checked:after,.blu-chart .blu-chart__patterns input[type=checkbox]:indeterminate:after{content:none}}
|