@aquera/nile-visualization 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/dist/src/index.d.ts +27 -2
  2. package/dist/src/index.js +15 -0
  3. package/dist/src/internal/highcharts-provider.js +45 -0
  4. package/dist/src/internal/separated-chart-config.d.ts +5 -0
  5. package/dist/src/internal/separated-chart-config.js +16 -0
  6. package/dist/src/internal/types/ai-config.type.d.ts +9 -0
  7. package/dist/src/internal/types/ai-config.type.js +2 -0
  8. package/dist/src/internal/types/all-chart-config.type.d.ts +8 -0
  9. package/dist/src/internal/types/all-chart-config.type.js +2 -0
  10. package/dist/src/internal/types/aq-config.type.d.ts +13 -0
  11. package/dist/src/internal/types/aq-config.type.js +2 -0
  12. package/dist/src/internal/types/chart-anomaly-config.type.d.ts +13 -0
  13. package/dist/src/internal/types/chart-anomaly-config.type.js +2 -0
  14. package/dist/src/internal/types/chart-area-config.type.d.ts +13 -0
  15. package/dist/src/internal/types/chart-area-config.type.js +2 -0
  16. package/dist/src/internal/types/chart-bar-config.type.d.ts +12 -0
  17. package/dist/src/internal/types/chart-bar-config.type.js +2 -0
  18. package/dist/src/internal/types/chart-bellcurve-config.type.d.ts +19 -0
  19. package/dist/src/internal/types/chart-bellcurve-config.type.js +2 -0
  20. package/dist/src/internal/types/chart-boxplot-config.type.d.ts +15 -0
  21. package/dist/src/internal/types/chart-boxplot-config.type.js +2 -0
  22. package/dist/src/internal/types/chart-bubble-config.type.d.ts +12 -0
  23. package/dist/src/internal/types/chart-bubble-config.type.js +2 -0
  24. package/dist/src/internal/types/chart-cluster-config.type.d.ts +15 -0
  25. package/dist/src/internal/types/chart-cluster-config.type.js +2 -0
  26. package/dist/src/internal/types/chart-column-config.type.d.ts +12 -0
  27. package/dist/src/internal/types/chart-column-config.type.js +2 -0
  28. package/dist/src/internal/types/chart-config.type.d.ts +16 -0
  29. package/dist/src/internal/types/chart-config.type.js +2 -0
  30. package/dist/src/internal/types/chart-donut-config.type.d.ts +14 -0
  31. package/dist/src/internal/types/chart-donut-config.type.js +2 -0
  32. package/dist/src/internal/types/chart-dumbbell-config.type.d.ts +16 -0
  33. package/dist/src/internal/types/chart-dumbbell-config.type.js +2 -0
  34. package/dist/src/internal/types/chart-fan-config.type.d.ts +17 -0
  35. package/dist/src/internal/types/chart-fan-config.type.js +2 -0
  36. package/dist/src/internal/types/chart-flame-config.type.d.ts +14 -0
  37. package/dist/src/internal/types/chart-flame-config.type.js +2 -0
  38. package/dist/src/internal/types/chart-funnel-config.type.d.ts +12 -0
  39. package/dist/src/internal/types/chart-funnel-config.type.js +2 -0
  40. package/dist/src/internal/types/chart-gauge-config.type.d.ts +14 -0
  41. package/dist/src/internal/types/chart-gauge-config.type.js +2 -0
  42. package/dist/src/internal/types/chart-histogram-config.type.d.ts +19 -0
  43. package/dist/src/internal/types/chart-histogram-config.type.js +2 -0
  44. package/dist/src/internal/types/chart-kpi-config.type.d.ts +21 -0
  45. package/dist/src/internal/types/chart-kpi-config.type.js +2 -0
  46. package/dist/src/internal/types/chart-line-config.type.d.ts +12 -0
  47. package/dist/src/internal/types/chart-line-config.type.js +2 -0
  48. package/dist/src/internal/types/chart-pie-config.type.d.ts +13 -0
  49. package/dist/src/internal/types/chart-pie-config.type.js +2 -0
  50. package/dist/src/internal/types/chart-radar-config.type.d.ts +12 -0
  51. package/dist/src/internal/types/chart-radar-config.type.js +2 -0
  52. package/dist/src/internal/types/chart-scatter-config.type.d.ts +12 -0
  53. package/dist/src/internal/types/chart-scatter-config.type.js +2 -0
  54. package/dist/src/internal/types/chart-spiderweb-config.type.d.ts +12 -0
  55. package/dist/src/internal/types/chart-spiderweb-config.type.js +2 -0
  56. package/dist/src/internal/types/chart-spline-config.type.d.ts +12 -0
  57. package/dist/src/internal/types/chart-spline-config.type.js +2 -0
  58. package/dist/src/internal/types/chart-stacked-config.type.d.ts +15 -0
  59. package/dist/src/internal/types/chart-stacked-config.type.js +2 -0
  60. package/dist/src/internal/types/chart-timeline-config.type.d.ts +15 -0
  61. package/dist/src/internal/types/chart-timeline-config.type.js +2 -0
  62. package/dist/src/internal/types/chart-trendline-config.type.d.ts +13 -0
  63. package/dist/src/internal/types/chart-trendline-config.type.js +2 -0
  64. package/dist/src/internal/types/chart-waterfall-config.type.d.ts +11 -0
  65. package/dist/src/internal/types/chart-waterfall-config.type.js +2 -0
  66. package/dist/src/internal/types/index.d.ts +35 -0
  67. package/dist/src/internal/types/index.js +2 -0
  68. package/dist/src/internal/types/nile-ai-widgets-config-input.type.d.ts +23 -0
  69. package/dist/src/internal/types/nile-ai-widgets-config-input.type.js +2 -0
  70. package/dist/src/internal/types/nile-chart-config-input.type.d.ts +7 -0
  71. package/dist/src/internal/types/nile-chart-config-input.type.js +2 -0
  72. package/dist/src/internal/types/primitive-chart-config.type.d.ts +16 -0
  73. package/dist/src/internal/types/primitive-chart-config.type.js +2 -0
  74. package/dist/src/internal/types/separated-chart-config-input.type.d.ts +7 -0
  75. package/dist/src/internal/types/separated-chart-config-input.type.js +2 -0
  76. package/dist/src/internal/types/switchable-config.type.d.ts +8 -0
  77. package/dist/src/internal/types/switchable-config.type.js +2 -0
  78. package/dist/src/nile-ai-panel/index.d.ts +1 -0
  79. package/dist/src/nile-ai-panel/nile-ai-panel.d.ts +8 -1
  80. package/dist/src/nile-ai-panel/nile-ai-panel.js +34 -0
  81. package/dist/src/nile-ai-sender/index.d.ts +1 -0
  82. package/dist/src/nile-ai-sender/nile-ai-sender.d.ts +8 -1
  83. package/dist/src/nile-ai-sender/nile-ai-sender.js +30 -0
  84. package/dist/src/nile-anomaly-chart/nile-anomaly-chart.d.ts +6 -0
  85. package/dist/src/nile-anomaly-chart/nile-anomaly-chart.js +41 -0
  86. package/dist/src/nile-area-chart/nile-area-chart.d.ts +6 -0
  87. package/dist/src/nile-area-chart/nile-area-chart.js +41 -0
  88. package/dist/src/nile-bar-chart/nile-bar-chart.d.ts +6 -0
  89. package/dist/src/nile-bar-chart/nile-bar-chart.js +40 -1
  90. package/dist/src/nile-bellcurve-chart/index.d.ts +2 -0
  91. package/dist/src/nile-bellcurve-chart/index.js +2 -0
  92. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.css.d.ts +1 -0
  93. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.css.js +28 -0
  94. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.d.ts +49 -0
  95. package/dist/src/nile-bellcurve-chart/nile-bellcurve-chart.js +258 -0
  96. package/dist/src/nile-boxplot-chart/index.d.ts +2 -0
  97. package/dist/src/nile-boxplot-chart/index.js +2 -0
  98. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.css.d.ts +1 -0
  99. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.css.js +28 -0
  100. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.d.ts +58 -0
  101. package/dist/src/nile-boxplot-chart/nile-boxplot-chart.js +235 -0
  102. package/dist/src/nile-bubble-chart/nile-bubble-chart.d.ts +6 -0
  103. package/dist/src/nile-bubble-chart/nile-bubble-chart.js +39 -0
  104. package/dist/src/nile-chart/index.d.ts +3 -1
  105. package/dist/src/nile-chart/index.js +1 -0
  106. package/dist/src/nile-chart/nile-chart-config-builder.d.ts +4 -0
  107. package/dist/src/nile-chart/nile-chart-config-builder.js +13 -0
  108. package/dist/src/nile-chart/nile-chart-config.d.ts +76 -2
  109. package/dist/src/nile-chart/nile-chart.d.ts +16 -2
  110. package/dist/src/nile-chart/nile-chart.js +144 -14
  111. package/dist/src/nile-cluster-chart/index.d.ts +2 -0
  112. package/dist/src/nile-cluster-chart/index.js +2 -0
  113. package/dist/src/nile-cluster-chart/nile-cluster-chart.css.d.ts +1 -0
  114. package/dist/src/nile-cluster-chart/nile-cluster-chart.css.js +28 -0
  115. package/dist/src/nile-cluster-chart/nile-cluster-chart.d.ts +46 -0
  116. package/dist/src/nile-cluster-chart/nile-cluster-chart.js +196 -0
  117. package/dist/src/nile-column-chart/nile-column-chart.d.ts +6 -0
  118. package/dist/src/nile-column-chart/nile-column-chart.js +39 -0
  119. package/dist/src/nile-donut-chart/nile-donut-chart.d.ts +6 -0
  120. package/dist/src/nile-donut-chart/nile-donut-chart.js +43 -0
  121. package/dist/src/nile-dumbbell-chart/index.d.ts +2 -0
  122. package/dist/src/nile-dumbbell-chart/index.js +2 -0
  123. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.css.d.ts +1 -0
  124. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.css.js +28 -0
  125. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.d.ts +50 -0
  126. package/dist/src/nile-dumbbell-chart/nile-dumbbell-chart.js +217 -0
  127. package/dist/src/nile-fan-chart/index.d.ts +2 -0
  128. package/dist/src/nile-fan-chart/index.js +2 -0
  129. package/dist/src/nile-fan-chart/nile-fan-chart.css.d.ts +1 -0
  130. package/dist/src/nile-fan-chart/nile-fan-chart.css.js +28 -0
  131. package/dist/src/nile-fan-chart/nile-fan-chart.d.ts +65 -0
  132. package/dist/src/nile-fan-chart/nile-fan-chart.js +257 -0
  133. package/dist/src/nile-flame-chart/index.d.ts +2 -0
  134. package/dist/src/nile-flame-chart/index.js +2 -0
  135. package/dist/src/nile-flame-chart/nile-flame-chart.css.d.ts +1 -0
  136. package/dist/src/nile-flame-chart/nile-flame-chart.css.js +28 -0
  137. package/dist/src/nile-flame-chart/nile-flame-chart.d.ts +60 -0
  138. package/dist/src/nile-flame-chart/nile-flame-chart.js +311 -0
  139. package/dist/src/nile-funnel-chart/index.d.ts +2 -0
  140. package/dist/src/nile-funnel-chart/index.js +2 -0
  141. package/dist/src/nile-funnel-chart/nile-funnel-chart.css.d.ts +1 -0
  142. package/dist/src/nile-funnel-chart/nile-funnel-chart.css.js +28 -0
  143. package/dist/src/nile-funnel-chart/nile-funnel-chart.d.ts +42 -0
  144. package/dist/src/nile-funnel-chart/nile-funnel-chart.js +189 -0
  145. package/dist/src/nile-gauge-chart/nile-gauge-chart.d.ts +6 -0
  146. package/dist/src/nile-gauge-chart/nile-gauge-chart.js +43 -0
  147. package/dist/src/nile-histogram-chart/index.d.ts +2 -0
  148. package/dist/src/nile-histogram-chart/index.js +2 -0
  149. package/dist/src/nile-histogram-chart/nile-histogram-chart.css.d.ts +1 -0
  150. package/dist/src/nile-histogram-chart/nile-histogram-chart.css.js +28 -0
  151. package/dist/src/nile-histogram-chart/nile-histogram-chart.d.ts +53 -0
  152. package/dist/src/nile-histogram-chart/nile-histogram-chart.js +263 -0
  153. package/dist/src/nile-kpi-chart/index.d.ts +1 -1
  154. package/dist/src/nile-kpi-chart/nile-kpi-chart.d.ts +32 -0
  155. package/dist/src/nile-kpi-chart/nile-kpi-chart.js +60 -0
  156. package/dist/src/nile-line-chart/nile-line-chart.d.ts +6 -0
  157. package/dist/src/nile-line-chart/nile-line-chart.js +39 -0
  158. package/dist/src/nile-pie-chart/nile-pie-chart.d.ts +6 -0
  159. package/dist/src/nile-pie-chart/nile-pie-chart.js +41 -0
  160. package/dist/src/nile-radar-chart/nile-radar-chart.d.ts +6 -0
  161. package/dist/src/nile-radar-chart/nile-radar-chart.js +39 -0
  162. package/dist/src/nile-scatter-chart/nile-scatter-chart.d.ts +6 -0
  163. package/dist/src/nile-scatter-chart/nile-scatter-chart.js +39 -0
  164. package/dist/src/nile-spiderweb-chart/index.d.ts +2 -0
  165. package/dist/src/nile-spiderweb-chart/index.js +2 -0
  166. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.css.d.ts +1 -0
  167. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.css.js +28 -0
  168. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.d.ts +46 -0
  169. package/dist/src/nile-spiderweb-chart/nile-spiderweb-chart.js +191 -0
  170. package/dist/src/nile-spline-chart/nile-spline-chart.d.ts +6 -0
  171. package/dist/src/nile-spline-chart/nile-spline-chart.js +39 -0
  172. package/dist/src/nile-stacked-chart/index.d.ts +2 -0
  173. package/dist/src/nile-stacked-chart/index.js +2 -0
  174. package/dist/src/nile-stacked-chart/nile-stacked-chart.css.d.ts +1 -0
  175. package/dist/src/nile-stacked-chart/nile-stacked-chart.css.js +28 -0
  176. package/dist/src/nile-stacked-chart/nile-stacked-chart.d.ts +47 -0
  177. package/dist/src/nile-stacked-chart/nile-stacked-chart.js +216 -0
  178. package/dist/src/nile-timeline-chart/index.d.ts +2 -0
  179. package/dist/src/nile-timeline-chart/index.js +2 -0
  180. package/dist/src/nile-timeline-chart/nile-timeline-chart.css.d.ts +1 -0
  181. package/dist/src/nile-timeline-chart/nile-timeline-chart.css.js +28 -0
  182. package/dist/src/nile-timeline-chart/nile-timeline-chart.d.ts +58 -0
  183. package/dist/src/nile-timeline-chart/nile-timeline-chart.js +239 -0
  184. package/dist/src/nile-trendline-chart/nile-trendline-chart.d.ts +6 -0
  185. package/dist/src/nile-trendline-chart/nile-trendline-chart.js +41 -0
  186. package/dist/src/nile-waterfall-chart/nile-waterfall-chart.d.ts +6 -0
  187. package/dist/src/nile-waterfall-chart/nile-waterfall-chart.js +37 -0
  188. package/package.json +12 -1
@@ -7,14 +7,33 @@ export type { TrendlineSeriesData, ForecastConfig } from './nile-trendline-chart
7
7
  export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
8
8
  export type { AnomalySeriesData, AnomalyConfig } from './nile-anomaly-chart/index.js';
9
9
  export { NileChart } from './nile-chart/index.js';
10
- export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, ChartType, SwitchAggregation, NileAiConfig, } from './nile-chart/index.js';
10
+ export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, ChartType, SwitchAggregation, NileAiConfig, } from './nile-chart/index.js';
11
11
  export { convertConfig, registerAdapter } from './nile-chart/index.js';
12
+ export { nileChartConfig } from './nile-chart/index.js';
13
+ export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartDumbbellConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiPropsType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from './nile-chart/index.js';
14
+ export type { SeparatedChartDemoConfig } from './internal/separated-chart-config.js';
12
15
  export { NileLineChart } from './nile-line-chart/index.js';
13
16
  export type { LineChartSeriesData } from './nile-line-chart/index.js';
14
17
  export { NileAreaChart } from './nile-area-chart/index.js';
15
18
  export type { AreaChartSeriesData } from './nile-area-chart/index.js';
16
19
  export { NileColumnChart } from './nile-column-chart/index.js';
17
20
  export type { ColumnChartSeriesData } from './nile-column-chart/index.js';
21
+ export { NileClusterChart } from './nile-cluster-chart/index.js';
22
+ export type { ClusterChartSeriesData } from './nile-cluster-chart/index.js';
23
+ export { NileStackedChart } from './nile-stacked-chart/index.js';
24
+ export type { StackedChartSeriesData } from './nile-stacked-chart/index.js';
25
+ export { NileHistogramChart } from './nile-histogram-chart/index.js';
26
+ export type { HistogramSamples } from './nile-histogram-chart/index.js';
27
+ export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
28
+ export type { BellcurveSamples } from './nile-bellcurve-chart/index.js';
29
+ export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
30
+ export type { BoxplotBox, BoxplotSeriesData } from './nile-boxplot-chart/index.js';
31
+ export { NileTimelineChart } from './nile-timeline-chart/index.js';
32
+ export type { TimelineEvent } from './nile-timeline-chart/index.js';
33
+ export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
34
+ export type { DumbbellPoint } from './nile-dumbbell-chart/index.js';
35
+ export { NileFanChart } from './nile-fan-chart/index.js';
36
+ export type { FanLinePoint, FanUncertaintyBand } from './nile-fan-chart/index.js';
18
37
  export { NileDonutChart } from './nile-donut-chart/index.js';
19
38
  export type { DonutChartSeriesData } from './nile-donut-chart/index.js';
20
39
  export { NileScatterChart } from './nile-scatter-chart/index.js';
@@ -29,7 +48,13 @@ export { NileGaugeChart } from './nile-gauge-chart/index.js';
29
48
  export type { GaugeBand } from './nile-gauge-chart/index.js';
30
49
  export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
31
50
  export type { WaterfallDataPoint } from './nile-waterfall-chart/index.js';
51
+ export { NileFunnelChart } from './nile-funnel-chart/index.js';
52
+ export type { FunnelDataPoint } from './nile-funnel-chart/index.js';
53
+ export { NileFlameChart } from './nile-flame-chart/index.js';
54
+ export type { FlameChartPoint, FlameSunburstPoint, FlameChartLayout, } from './nile-flame-chart/index.js';
55
+ export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
56
+ export type { SpiderwebChartSeriesData } from './nile-spiderweb-chart/index.js';
32
57
  export { NileKpiChart } from './nile-kpi-chart/index.js';
33
- export type { KpiConfig, TrendDirection, KpiVariant } from './nile-kpi-chart/index.js';
58
+ export type { ChartKpiSeparatedPayload, KpiConfig, NileKpiConfigInputType, TrendDirection, KpiVariant, } from './nile-kpi-chart/index.js';
34
59
  export { NileAiSender } from './nile-ai-sender/index.js';
35
60
  export { NileAiPanel } from './nile-ai-panel/index.js';
package/dist/src/index.js CHANGED
@@ -1,12 +1,24 @@
1
+ // /* eslint-disable no-console */
2
+ // console.log(`[nile-visualization] Build: ${__NILE_BUILD_DATE__}`);
3
+ // /* eslint-enable no-console */
1
4
  export { NileBarChart } from './nile-bar-chart/index.js';
2
5
  export { NilePieChart } from './nile-pie-chart/index.js';
3
6
  export { NileTrendlineChart } from './nile-trendline-chart/index.js';
4
7
  export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
5
8
  export { NileChart } from './nile-chart/index.js';
6
9
  export { convertConfig, registerAdapter } from './nile-chart/index.js';
10
+ export { nileChartConfig } from './nile-chart/index.js';
7
11
  export { NileLineChart } from './nile-line-chart/index.js';
8
12
  export { NileAreaChart } from './nile-area-chart/index.js';
9
13
  export { NileColumnChart } from './nile-column-chart/index.js';
14
+ export { NileClusterChart } from './nile-cluster-chart/index.js';
15
+ export { NileStackedChart } from './nile-stacked-chart/index.js';
16
+ export { NileHistogramChart } from './nile-histogram-chart/index.js';
17
+ export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
18
+ export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
19
+ export { NileTimelineChart } from './nile-timeline-chart/index.js';
20
+ export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
21
+ export { NileFanChart } from './nile-fan-chart/index.js';
10
22
  export { NileDonutChart } from './nile-donut-chart/index.js';
11
23
  export { NileScatterChart } from './nile-scatter-chart/index.js';
12
24
  export { NileBubbleChart } from './nile-bubble-chart/index.js';
@@ -14,6 +26,9 @@ export { NileSplineChart } from './nile-spline-chart/index.js';
14
26
  export { NileRadarChart } from './nile-radar-chart/index.js';
15
27
  export { NileGaugeChart } from './nile-gauge-chart/index.js';
16
28
  export { NileWaterfallChart } from './nile-waterfall-chart/index.js';
29
+ export { NileFunnelChart } from './nile-funnel-chart/index.js';
30
+ export { NileFlameChart } from './nile-flame-chart/index.js';
31
+ export { NileSpiderwebChart } from './nile-spiderweb-chart/index.js';
17
32
  export { NileKpiChart } from './nile-kpi-chart/index.js';
18
33
  export { NileAiSender } from './nile-ai-sender/index.js';
19
34
  export { NileAiPanel } from './nile-ai-panel/index.js';
@@ -32,6 +32,51 @@ async function init() {
32
32
  catch {
33
33
  // solid-gauge not available — consumer may have loaded it globally
34
34
  }
35
+ try {
36
+ const funnel = await import('highcharts/modules/funnel.js');
37
+ if (typeof funnel.default === 'function') {
38
+ funnel.default(_Highcharts);
39
+ }
40
+ }
41
+ catch {
42
+ // funnel not available — consumer may have loaded it globally
43
+ }
44
+ try {
45
+ const histogramBellcurve = await import('highcharts/modules/histogram-bellcurve.js');
46
+ if (typeof histogramBellcurve.default === 'function') {
47
+ histogramBellcurve.default(_Highcharts);
48
+ }
49
+ }
50
+ catch {
51
+ // histogram-bellcurve not available — consumer may have loaded it globally
52
+ }
53
+ try {
54
+ const timeline = await import('highcharts/modules/timeline.js');
55
+ if (typeof timeline.default === 'function') {
56
+ timeline.default(_Highcharts);
57
+ }
58
+ }
59
+ catch {
60
+ // timeline not available — consumer may have loaded it globally
61
+ }
62
+ try {
63
+ const dumbbell = await import('highcharts/modules/dumbbell.js');
64
+ if (typeof dumbbell.default === 'function') {
65
+ dumbbell.default(_Highcharts);
66
+ }
67
+ }
68
+ catch {
69
+ // dumbbell not available — consumer may have loaded it globally
70
+ }
71
+ try {
72
+ const sunburst = await import('highcharts/modules/sunburst.js');
73
+ if (typeof sunburst.default === 'function') {
74
+ sunburst.default(_Highcharts);
75
+ }
76
+ }
77
+ catch {
78
+ // sunburst not available — consumer may have loaded it globally
79
+ }
35
80
  }
36
81
  catch {
37
82
  // Fallback to global (works in CDN/browser context)
@@ -0,0 +1,5 @@
1
+ import type { SeparatedChartConfigInputType } from './types/separated-chart-config-input.type.js';
2
+ /** Same shape as `<nile-chart>` input: chart props + Aquera metadata (for primitive `nile-*-chart` tags). */
3
+ export type SeparatedChartDemoConfig = SeparatedChartConfigInputType;
4
+ /** Applies `chart` fields (minus `type`) and `aq` titles onto a chart element. */
5
+ export declare function applySeparatedChartConfig(target: object, input: SeparatedChartDemoConfig): void;
@@ -0,0 +1,16 @@
1
+ /** Applies `chart` fields (minus `type`) and `aq` titles onto a chart element. */
2
+ export function applySeparatedChartConfig(target, input) {
3
+ const { chart, aq } = input;
4
+ if (!chart)
5
+ return;
6
+ const { type: _type, ...rest } = chart;
7
+ Object.assign(target, rest);
8
+ if (aq) {
9
+ const t = target;
10
+ if (aq.chartTitle != null)
11
+ t.chartTitle = aq.chartTitle;
12
+ if (aq.chartSubtitle != null)
13
+ t.chartSubtitle = aq.chartSubtitle;
14
+ }
15
+ }
16
+ //# sourceMappingURL=separated-chart-config.js.map
@@ -0,0 +1,9 @@
1
+ /** AI chat panel config. */
2
+ export interface AiConfigType {
3
+ /** Show the AI chat icon on the chart. Default: false. */
4
+ enabled?: boolean;
5
+ /** Placeholder text for the chat input. */
6
+ placeholder?: string;
7
+ /** Initial assistant message shown when the chat panel opens. */
8
+ welcomeMessage?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ai-config.type.js.map
@@ -0,0 +1,8 @@
1
+ import type { ChartConfigType } from './chart-config.type.js';
2
+ import type { PrimitiveChartConfigType } from './primitive-chart-config.type.js';
3
+ /**
4
+ * Union of chart payload shapes (by `type`) across the package.
5
+ * - {@link ChartConfigType}: `<nile-chart>` / `NileChartConfigInputType.chart`
6
+ * - {@link PrimitiveChartConfigType}: `<nile-*-chart>` tags with `el.config = { chart, aq }`
7
+ */
8
+ export type AllChartConfigType = ChartConfigType | PrimitiveChartConfigType;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=all-chart-config.type.js.map
@@ -0,0 +1,13 @@
1
+ import type { AiConfigType } from './ai-config.type.js';
2
+ import type { SwitchableConfigType } from './switchable-config.type.js';
3
+ /** General-purpose config (summary, AI, titles, switching). */
4
+ export interface AqConfigType {
5
+ chartTitle?: string;
6
+ chartSubtitle?: string;
7
+ summary?: string;
8
+ toggleLabel?: string;
9
+ /** AI chat panel configuration. */
10
+ ai?: AiConfigType;
11
+ /** Chart type switching configuration. */
12
+ switchable?: SwitchableConfigType;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=aq-config.type.js.map
@@ -0,0 +1,13 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { AnomalySeriesData, AnomalyConfig } from '../../nile-anomaly-chart/nile-anomaly-chart.js';
3
+ /** HighCharts anomaly chart config. */
4
+ export interface ChartAnomalyConfigType {
5
+ type: 'anomaly';
6
+ data: AnomalySeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ anomaly?: AnomalyConfig;
10
+ height?: string;
11
+ loading?: boolean;
12
+ options?: Options;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-anomaly-config.type.js.map
@@ -0,0 +1,13 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { AreaChartSeriesData } from '../../nile-area-chart/nile-area-chart.js';
3
+ /** HighCharts area chart config. */
4
+ export interface ChartAreaConfigType {
5
+ type: 'area';
6
+ data: AreaChartSeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ stacked?: boolean;
11
+ loading?: boolean;
12
+ options?: Options;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-area-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { BarChartSeriesData } from '../../nile-bar-chart/nile-bar-chart.js';
3
+ /** HighCharts bar chart config. */
4
+ export interface ChartBarConfigType {
5
+ type: 'bar';
6
+ data: BarChartSeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-bar-config.type.js.map
@@ -0,0 +1,19 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { BellcurveSamples } from '../../nile-bellcurve-chart/nile-bellcurve-chart.js';
3
+ /** Bell curve (fitted normal PDF) chart config (`<nile-bellcurve-chart>` / `config.chart`). */
4
+ export interface ChartBellcurveConfigType {
5
+ type: 'bellcurve';
6
+ data: BellcurveSamples;
7
+ xAxisTitle?: string;
8
+ yAxisTitle?: string;
9
+ bellcurveSeriesName?: string;
10
+ sourceSeriesName?: string;
11
+ bellcurveColor?: string;
12
+ bellcurveFill?: string;
13
+ intervals?: number;
14
+ pointsInInterval?: number;
15
+ height?: string;
16
+ loading?: boolean;
17
+ options?: Options;
18
+ showLegend?: boolean;
19
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-bellcurve-config.type.js.map
@@ -0,0 +1,15 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { BoxplotSeriesData } from '../../nile-boxplot-chart/nile-boxplot-chart.js';
3
+ /** Box plot chart config (`<nile-boxplot-chart>` / `config.chart`). */
4
+ export interface ChartBoxplotConfigType {
5
+ type: 'boxplot';
6
+ data: BoxplotSeriesData[];
7
+ categories?: string[];
8
+ xAxisTitle?: string;
9
+ yAxisTitle?: string;
10
+ horizontal?: boolean;
11
+ height?: string;
12
+ loading?: boolean;
13
+ options?: Options;
14
+ showLegend?: boolean;
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-boxplot-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { BubbleChartSeriesData } from '../../nile-bubble-chart/nile-bubble-chart.js';
3
+ /** HighCharts bubble chart config. */
4
+ export interface ChartBubbleConfigType {
5
+ type: 'bubble';
6
+ data: BubbleChartSeriesData[];
7
+ xAxisTitle?: string;
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-bubble-config.type.js.map
@@ -0,0 +1,15 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { ClusterChartSeriesData } from '../../nile-cluster-chart/nile-cluster-chart.js';
3
+ /** Grouped (clustered) column chart config (`<nile-cluster-chart>` / `config.chart`). */
4
+ export interface ChartClusterConfigType {
5
+ type: 'cluster';
6
+ data: ClusterChartSeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ showLegend?: boolean;
13
+ groupPadding?: number;
14
+ pointPadding?: number;
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-cluster-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { ColumnChartSeriesData } from '../../nile-column-chart/nile-column-chart.js';
3
+ /** HighCharts column chart config. */
4
+ export interface ChartColumnConfigType {
5
+ type: 'column';
6
+ data: ColumnChartSeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-column-config.type.js.map
@@ -0,0 +1,16 @@
1
+ import type { ChartBarConfigType } from './chart-bar-config.type.js';
2
+ import type { ChartPieConfigType } from './chart-pie-config.type.js';
3
+ import type { ChartTrendlineConfigType } from './chart-trendline-config.type.js';
4
+ import type { ChartAnomalyConfigType } from './chart-anomaly-config.type.js';
5
+ import type { ChartLineConfigType } from './chart-line-config.type.js';
6
+ import type { ChartAreaConfigType } from './chart-area-config.type.js';
7
+ import type { ChartColumnConfigType } from './chart-column-config.type.js';
8
+ import type { ChartDonutConfigType } from './chart-donut-config.type.js';
9
+ import type { ChartScatterConfigType } from './chart-scatter-config.type.js';
10
+ import type { ChartBubbleConfigType } from './chart-bubble-config.type.js';
11
+ import type { ChartSplineConfigType } from './chart-spline-config.type.js';
12
+ import type { ChartRadarConfigType } from './chart-radar-config.type.js';
13
+ import type { ChartGaugeConfigType } from './chart-gauge-config.type.js';
14
+ import type { ChartWaterfallConfigType } from './chart-waterfall-config.type.js';
15
+ /** Union of all HighCharts chart configs. */
16
+ export type ChartConfigType = ChartBarConfigType | ChartPieConfigType | ChartTrendlineConfigType | ChartAnomalyConfigType | ChartLineConfigType | ChartAreaConfigType | ChartColumnConfigType | ChartDonutConfigType | ChartScatterConfigType | ChartBubbleConfigType | ChartSplineConfigType | ChartRadarConfigType | ChartGaugeConfigType | ChartWaterfallConfigType;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-config.type.js.map
@@ -0,0 +1,14 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { DonutChartSeriesData } from '../../nile-donut-chart/nile-donut-chart.js';
3
+ /** HighCharts donut chart config. */
4
+ export interface ChartDonutConfigType {
5
+ type: 'donut';
6
+ data: DonutChartSeriesData[];
7
+ seriesName?: string;
8
+ innerSize?: string;
9
+ showDataLabels?: boolean;
10
+ showLegend?: boolean;
11
+ height?: string;
12
+ loading?: boolean;
13
+ options?: Options;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-donut-config.type.js.map
@@ -0,0 +1,16 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { DumbbellPoint } from '../../nile-dumbbell-chart/nile-dumbbell-chart.js';
3
+ /** Dumbbell (range) chart config (`<nile-dumbbell-chart>` / `config.chart`). */
4
+ export interface ChartDumbbellConfigType {
5
+ type: 'dumbbell';
6
+ data: DumbbellPoint[];
7
+ yAxisTitle?: string;
8
+ seriesName?: string;
9
+ lowMarkerColor?: string;
10
+ connectorColor?: string;
11
+ horizontal?: boolean;
12
+ height?: string;
13
+ loading?: boolean;
14
+ options?: Options;
15
+ showLegend?: boolean;
16
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-dumbbell-config.type.js.map
@@ -0,0 +1,17 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { FanLinePoint, FanUncertaintyBand } from '../../nile-fan-chart/nile-fan-chart.js';
3
+ /** Fan chart (line + uncertainty bands) config (`<nile-fan-chart>` / `config.chart`). */
4
+ export interface ChartFanConfigType {
5
+ type: 'fan';
6
+ lineData: FanLinePoint[];
7
+ bands: FanUncertaintyBand[];
8
+ yAxisTitle?: string;
9
+ lineSeriesName?: string;
10
+ lineColor?: string;
11
+ forecastStartIndex?: number;
12
+ forecastBandLabel?: string;
13
+ height?: string;
14
+ loading?: boolean;
15
+ options?: Options;
16
+ showLegend?: boolean;
17
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-fan-config.type.js.map
@@ -0,0 +1,14 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { FlameChartLayout, FlameChartPoint, FlameSunburstPoint } from '../../nile-flame-chart/nile-flame-chart.js';
3
+ /** Flame / icicle / sunburst chart config (`<nile-flame-chart>`). */
4
+ export interface ChartFlameConfigType {
5
+ type: 'flame';
6
+ layout?: FlameChartLayout;
7
+ /** Rows for `flame` or `icicle` layout. */
8
+ data?: FlameChartPoint[];
9
+ /** Rows for `sunburst` layout. */
10
+ sunburstData?: FlameSunburstPoint[];
11
+ height?: string;
12
+ loading?: boolean;
13
+ options?: Options;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-flame-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { FunnelDataPoint } from '../../nile-funnel-chart/nile-funnel-chart.js';
3
+ /** Funnel chart config (`<nile-funnel-chart>` / `config.chart`). */
4
+ export interface ChartFunnelConfigType {
5
+ type: 'funnel';
6
+ data: FunnelDataPoint[];
7
+ seriesName?: string;
8
+ showDataLabels?: boolean;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-funnel-config.type.js.map
@@ -0,0 +1,14 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { GaugeBand } from '../../nile-gauge-chart/nile-gauge-chart.js';
3
+ /** HighCharts gauge chart config. */
4
+ export interface ChartGaugeConfigType {
5
+ type: 'gauge';
6
+ value: number;
7
+ min?: number;
8
+ max?: number;
9
+ suffix?: string;
10
+ bands?: GaugeBand[];
11
+ height?: string;
12
+ loading?: boolean;
13
+ options?: Options;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-gauge-config.type.js.map
@@ -0,0 +1,19 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { HistogramSamples } from '../../nile-histogram-chart/nile-histogram-chart.js';
3
+ /** Histogram chart config (`<nile-histogram-chart>` / `config.chart`). */
4
+ export interface ChartHistogramConfigType {
5
+ type: 'histogram';
6
+ data: HistogramSamples;
7
+ xAxisTitle?: string;
8
+ yAxisTitle?: string;
9
+ histogramSeriesName?: string;
10
+ sourceSeriesName?: string;
11
+ histogramColor?: string;
12
+ /** Positive integer, or `square-root`, `sturges`, or `rice`. Ignored when `binWidth` is set and positive. */
13
+ binsNumber?: string | number;
14
+ binWidth?: number;
15
+ height?: string;
16
+ loading?: boolean;
17
+ options?: Options;
18
+ showLegend?: boolean;
19
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-histogram-config.type.js.map
@@ -0,0 +1,21 @@
1
+ import type { KpiVariant, TrendDirection } from '../../nile-kpi-chart/nile-kpi-chart.js';
2
+ /**
3
+ * KPI tile / sparkline / gauge props (`<nile-kpi-chart>`).
4
+ * This is not a `config` object; properties map to Lit `@property` fields.
5
+ */
6
+ export interface ChartKpiPropsType {
7
+ variant?: KpiVariant;
8
+ label?: string;
9
+ value?: string | number;
10
+ prefix?: string;
11
+ suffix?: string;
12
+ trendValue?: number | null;
13
+ trendDirection?: TrendDirection;
14
+ trendLabel?: string;
15
+ description?: string;
16
+ sparkline?: number[];
17
+ sparklineColor?: string;
18
+ gaugeValue?: number;
19
+ gaugeMin?: number;
20
+ gaugeMax?: number;
21
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-kpi-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { LineChartSeriesData } from '../../nile-line-chart/nile-line-chart.js';
3
+ /** HighCharts line chart config. */
4
+ export interface ChartLineConfigType {
5
+ type: 'line';
6
+ data: LineChartSeriesData[];
7
+ categories?: string[];
8
+ yAxisTitle?: string;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-line-config.type.js.map
@@ -0,0 +1,13 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { PieChartSeriesData } from '../../nile-pie-chart/nile-pie-chart.js';
3
+ /** HighCharts pie chart config. */
4
+ export interface ChartPieConfigType {
5
+ type: 'pie';
6
+ data: PieChartSeriesData[];
7
+ seriesName?: string;
8
+ showDataLabels?: boolean;
9
+ showLegend?: boolean;
10
+ height?: string;
11
+ loading?: boolean;
12
+ options?: Options;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-pie-config.type.js.map
@@ -0,0 +1,12 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { RadarChartSeriesData } from '../../nile-radar-chart/nile-radar-chart.js';
3
+ /** HighCharts radar chart config. */
4
+ export interface ChartRadarConfigType {
5
+ type: 'radar';
6
+ data: RadarChartSeriesData[];
7
+ categories?: string[];
8
+ showArea?: boolean;
9
+ height?: string;
10
+ loading?: boolean;
11
+ options?: Options;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-radar-config.type.js.map