@firestitch/report 18.6.0 → 18.7.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 (76) hide show
  1. package/app/reports/components/component-chart/component-chart.component.d.ts +6 -7
  2. package/app/reports/components/component-kpi/component-kpi.component.d.ts +8 -8
  3. package/app/reports/components/component-list/component-list.component.d.ts +33 -11
  4. package/app/reports/components/report-component/report-component.component.d.ts +3 -0
  5. package/app/reports/data/report.data.d.ts +2 -1
  6. package/app/reports/dialogs/list-columns/list-columns.component.d.ts +23 -0
  7. package/app/reports/dialogs/report-settings/report-locale-patch.d.ts +5 -0
  8. package/app/reports/dialogs/report-settings/report-settings.component.d.ts +20 -1
  9. package/app/reports/enums/report-chart-color.enum.d.ts +12 -0
  10. package/app/reports/enums/report-chart-data-labels.enum.d.ts +6 -0
  11. package/app/reports/enums/report-chart-date-label.enum.d.ts +5 -0
  12. package/app/reports/enums/report-chart-line-style.enum.d.ts +5 -0
  13. package/app/reports/enums/report-chart-mark-stat.enum.d.ts +6 -0
  14. package/app/reports/enums/report-list-column-format.enum.d.ts +6 -0
  15. package/app/reports/enums/report-number-units.enum.d.ts +6 -0
  16. package/app/reports/enums/report-value-format.enum.d.ts +5 -0
  17. package/app/reports/export/offscreen-chart.d.ts +2 -2
  18. package/app/reports/export/report-export-collector.service.d.ts +12 -9
  19. package/app/reports/export/report-pdf.service.d.ts +1 -0
  20. package/app/reports/export/report-pptx.service.d.ts +17 -0
  21. package/app/reports/format.d.ts +39 -4
  22. package/app/reports/interfaces/report.interface.d.ts +82 -10
  23. package/app/reports/list-config.d.ts +9 -0
  24. package/app/reports/option-builder.d.ts +69 -8
  25. package/app/reports/pipes/report-date.pipe.d.ts +2 -1
  26. package/app/reports/pipes/report-number.pipe.d.ts +8 -0
  27. package/app/reports/report-filter-items.d.ts +5 -2
  28. package/app/reports/report-url-state.d.ts +5 -0
  29. package/app/reports/services/report-filter-state.service.d.ts +29 -2
  30. package/app/reports/theme/palette.d.ts +3 -0
  31. package/app/reports/theme/typography.d.ts +1 -0
  32. package/esm2022/app/reports/components/component-chart/component-chart.component.mjs +19 -20
  33. package/esm2022/app/reports/components/component-kpi/component-kpi.component.mjs +23 -26
  34. package/esm2022/app/reports/components/component-list/component-list.component.mjs +157 -53
  35. package/esm2022/app/reports/components/report-component/report-component.component.mjs +81 -19
  36. package/esm2022/app/reports/data/report.data.mjs +17 -4
  37. package/esm2022/app/reports/dialogs/global-settings/global-settings.component.mjs +2 -2
  38. package/esm2022/app/reports/dialogs/list-columns/list-columns.component.mjs +56 -0
  39. package/esm2022/app/reports/dialogs/report-settings/report-locale-patch.mjs +13 -0
  40. package/esm2022/app/reports/dialogs/report-settings/report-settings.component.mjs +137 -15
  41. package/esm2022/app/reports/enums/report-chart-color.enum.mjs +19 -0
  42. package/esm2022/app/reports/enums/report-chart-data-labels.enum.mjs +13 -0
  43. package/esm2022/app/reports/enums/report-chart-date-label.enum.mjs +13 -0
  44. package/esm2022/app/reports/enums/report-chart-line-style.enum.mjs +12 -0
  45. package/esm2022/app/reports/enums/report-chart-mark-stat.enum.mjs +12 -0
  46. package/esm2022/app/reports/enums/report-list-column-format.enum.mjs +14 -0
  47. package/esm2022/app/reports/enums/report-number-units.enum.mjs +14 -0
  48. package/esm2022/app/reports/enums/report-value-format.enum.mjs +13 -0
  49. package/esm2022/app/reports/export/offscreen-chart.mjs +5 -4
  50. package/esm2022/app/reports/export/report-export-collector.service.mjs +96 -39
  51. package/esm2022/app/reports/export/report-pdf.service.mjs +94 -37
  52. package/esm2022/app/reports/export/report-pptx.service.mjs +482 -85
  53. package/esm2022/app/reports/format.mjs +502 -57
  54. package/esm2022/app/reports/interfaces/report.interface.mjs +1 -1
  55. package/esm2022/app/reports/list-config.mjs +74 -0
  56. package/esm2022/app/reports/option-builder.mjs +880 -95
  57. package/esm2022/app/reports/pipes/report-date.pipe.mjs +7 -6
  58. package/esm2022/app/reports/pipes/report-number.pipe.mjs +25 -0
  59. package/esm2022/app/reports/report-filter-items.mjs +28 -3
  60. package/esm2022/app/reports/report-url-state.mjs +60 -15
  61. package/esm2022/app/reports/services/report-filter-state.service.mjs +275 -29
  62. package/esm2022/app/reports/theme/echarts.mjs +8 -2
  63. package/esm2022/app/reports/theme/palette.mjs +19 -1
  64. package/esm2022/app/reports/theme/typography.mjs +4 -1
  65. package/esm2022/app/reports/views/report/fs-ai-report.component.mjs +11 -4
  66. package/esm2022/app/reports/views/report/report.component.mjs +6 -2
  67. package/esm2022/public_api.mjs +9 -1
  68. package/fesm2022/{firestitch-report-echarts-B9nl9XKM.mjs → firestitch-report-echarts-u5ImuZT5.mjs} +9 -3
  69. package/fesm2022/firestitch-report-echarts-u5ImuZT5.mjs.map +1 -0
  70. package/fesm2022/{firestitch-report-firestitch-report-Bb65HEYB.mjs → firestitch-report-firestitch-report-Cz-kA_id.mjs} +3213 -613
  71. package/fesm2022/firestitch-report-firestitch-report-Cz-kA_id.mjs.map +1 -0
  72. package/fesm2022/firestitch-report.mjs +1 -1
  73. package/package.json +1 -1
  74. package/public_api.d.ts +8 -0
  75. package/fesm2022/firestitch-report-echarts-B9nl9XKM.mjs.map +0 -1
  76. package/fesm2022/firestitch-report-firestitch-report-Bb65HEYB.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- export { d as FsAiReportComponent, F as FsAiReportsComponent, G as GRANULARITY_OPTIONS, c as ReportComponent, e as ReportData, g as ReportFilterStateService, h as ReportNodeType, f as ReportService, i as ReportState } from './firestitch-report-firestitch-report-Bb65HEYB.mjs';
1
+ export { d as FsAiReportComponent, F as FsAiReportsComponent, G as GRANULARITY_OPTIONS, n as ReportChartColor, m as ReportChartDataLabels, q as ReportChartDateLabel, o as ReportChartLineStyle, p as ReportChartMarkStat, c as ReportComponent, e as ReportData, g as ReportFilterStateService, k as ReportListColumnFormat, h as ReportNodeType, l as ReportNumberUnits, f as ReportService, i as ReportState, j as ReportValueFormat } from './firestitch-report-firestitch-report-Cz-kA_id.mjs';
2
2
  //# sourceMappingURL=firestitch-report.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestitch/report",
3
- "version": "18.6.0",
3
+ "version": "18.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-report"
package/public_api.d.ts CHANGED
@@ -5,3 +5,11 @@ export { ReportData } from './app/reports/data/report.data';
5
5
  export { ReportService } from './app/reports/services/report.service';
6
6
  export { ReportFilterStateService } from './app/reports/services/report-filter-state.service';
7
7
  export * from './app/reports/interfaces/report.interface';
8
+ export * from './app/reports/enums/report-value-format.enum';
9
+ export * from './app/reports/enums/report-list-column-format.enum';
10
+ export * from './app/reports/enums/report-number-units.enum';
11
+ export * from './app/reports/enums/report-chart-data-labels.enum';
12
+ export * from './app/reports/enums/report-chart-color.enum';
13
+ export * from './app/reports/enums/report-chart-line-style.enum';
14
+ export * from './app/reports/enums/report-chart-mark-stat.enum';
15
+ export * from './app/reports/enums/report-chart-date-label.enum';
@@ -1 +0,0 @@
1
- {"version":3,"file":"firestitch-report-echarts-B9nl9XKM.mjs","sources":["../../src/app/reports/theme/echarts.ts"],"sourcesContent":["// Tree-shaken ECharts build for the reports renderer: only the chart types and\n// components the option-builder emits are registered, keeping the lazy chunk\n// lean. Loaded on demand by ngx-echarts via provideEchartsCore — see\n// REPORT_ECHARTS_PROVIDERS in reports-echarts.provider.ts.\n//\n// The canvas renderer (not SVG) is deliberate: chart.getDataURL() needs it for\n// the high-res images the PPT/PDF exports will use.\n\nimport { BarChart, LineChart, PieChart } from 'echarts/charts';\nimport {\n DatasetComponent,\n GridComponent,\n LegendComponent,\n TooltipComponent,\n} from 'echarts/components';\nimport * as echarts from 'echarts/core';\nimport { CanvasRenderer } from 'echarts/renderers';\n\nimport { REPORT_CHART_COLORS_CSS } from './palette';\nimport { REPORT_AXIS_LABEL_FONT_SIZE, REPORT_CHART_FONT_FAMILY } from './typography';\n\necharts.use([\n BarChart,\n LineChart,\n PieChart,\n GridComponent,\n TooltipComponent,\n LegendComponent,\n DatasetComponent,\n CanvasRenderer,\n]);\n\n// The house theme — the single place report chart \"standards\" live (palette,\n// typography, tooltip styling). Polished defaults now; refined in the polish\n// phase.\necharts.registerTheme('report', {\n color: REPORT_CHART_COLORS_CSS,\n textStyle: {\n fontFamily: REPORT_CHART_FONT_FAMILY,\n },\n title: {\n textStyle: { color: '#1f2933', fontSize: 14, fontWeight: 600 },\n },\n legend: {\n textStyle: { color: '#52606d', fontSize: 11 },\n },\n tooltip: {\n backgroundColor: 'rgba(31, 41, 51, 0.92)',\n borderWidth: 0,\n textStyle: { color: '#fff', fontSize: 12 },\n },\n categoryAxis: {\n axisLine: { lineStyle: { color: '#cbd2d9' } },\n axisTick: { show: false },\n axisLabel: { color: '#52606d', fontSize: REPORT_AXIS_LABEL_FONT_SIZE },\n splitLine: { show: false },\n },\n valueAxis: {\n axisLine: { show: false },\n axisLabel: { color: '#52606d', fontSize: REPORT_AXIS_LABEL_FONT_SIZE },\n splitLine: { lineStyle: { color: '#e4e7eb' } },\n },\n timeAxis: {\n axisLine: { lineStyle: { color: '#cbd2d9' } },\n axisLabel: { color: '#52606d', fontSize: REPORT_AXIS_LABEL_FONT_SIZE },\n },\n});\n\nexport default echarts;\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA,OAAO,CAAC,GAAG,CAAC;IACV,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,cAAc;AACf,CAAA,CAAC,CAAC;AAEH;AACA;AACA;AACA,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE;AAC9B,IAAA,KAAK,EAAE,uBAAuB;AAC9B,IAAA,SAAS,EAAE;AACT,QAAA,UAAU,EAAE,wBAAwB;AACrC,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,SAAS,EAAE,EAAE,KAAK,EAAE,SAAS,EAA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