@aquera/nile-visualization 2.8.0 → 2.9.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.
|
@@ -49,7 +49,6 @@ import '../nile-vector-chart/index.js';
|
|
|
49
49
|
import '../nile-xrange-chart/index.js';
|
|
50
50
|
import '../nile-kpi-chart/index.js';
|
|
51
51
|
import '../nile-filter-chart/index.js';
|
|
52
|
-
import '@aquera/nile-data-grid';
|
|
53
52
|
import '../nile-ai-panel/index.js';
|
|
54
53
|
export declare class NileChart extends NileElement {
|
|
55
54
|
static styles: CSSResultGroup;
|
|
@@ -60,7 +60,6 @@ import '../nile-vector-chart/index.js';
|
|
|
60
60
|
import '../nile-xrange-chart/index.js';
|
|
61
61
|
import '../nile-kpi-chart/index.js';
|
|
62
62
|
import '../nile-filter-chart/index.js';
|
|
63
|
-
import '@aquera/nile-data-grid';
|
|
64
63
|
import '../nile-ai-panel/index.js';
|
|
65
64
|
const CORE_CHART_LABELS = {
|
|
66
65
|
bar: 'Bar',
|
|
@@ -1708,10 +1707,10 @@ let NileChart = class NileChart extends NileElement {
|
|
|
1708
1707
|
const isLoading = this.loading || (this.activeConfig?.loading ?? false);
|
|
1709
1708
|
const isGrid = this.activeConfig?.type === 'grid';
|
|
1710
1709
|
return html `
|
|
1711
|
-
<div class="nile-chart-card ${isGrid ? 'nile-chart-card--grid' : ''}">
|
|
1710
|
+
<div class="nile-chart-card ${isGrid ? 'nile-chart-card--grid' : ''}" part="chart-card">
|
|
1712
1711
|
${this.renderHeader()}
|
|
1713
1712
|
<div class="nile-chart-wrapper">
|
|
1714
|
-
<div class="nile-chart-inner ${this.activeConfig?.type === 'kpi' ? 'nile-chart-inner--kpi' : ''} ${this.activeConfig?.type === 'filter' ? 'nile-chart-inner--filter' : ''}">
|
|
1713
|
+
<div class="nile-chart-inner ${this.activeConfig?.type === 'kpi' ? 'nile-chart-inner--kpi' : ''} ${this.activeConfig?.type === 'filter' ? 'nile-chart-inner--filter' : ''}" part="chart-inner">
|
|
1715
1714
|
${isLoading
|
|
1716
1715
|
? this.renderSkeleton()
|
|
1717
1716
|
: this.activeConfig
|
|
@@ -564,8 +564,6 @@ let NileKpiChart = class NileKpiChart extends NileElement {
|
|
|
564
564
|
if (aq) {
|
|
565
565
|
if (aq.chartTitle != null)
|
|
566
566
|
this.label = aq.chartTitle;
|
|
567
|
-
if (aq.chartSubtitle != null)
|
|
568
|
-
this.description = aq.chartSubtitle;
|
|
569
567
|
}
|
|
570
568
|
}
|
|
571
569
|
// ── Lifecycle ────────────────────────────────────────────────────────────
|