@firestitch/report 18.10.0 → 18.10.2

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 (66) hide show
  1. package/app/reports/components/component-text/component-text.component.d.ts +1 -0
  2. package/app/reports/components/component-text/value-embed.plugin.d.ts +25 -1
  3. package/app/reports/components/report-canvas/report-canvas.component.d.ts +12 -0
  4. package/app/reports/components/report-component/report-component.component.d.ts +1 -0
  5. package/app/reports/data/report.data.d.ts +5 -7
  6. package/app/reports/dialogs/component-settings/component-settings.component.d.ts +13 -1
  7. package/app/reports/dialogs/report-settings/report-settings.component.d.ts +30 -2
  8. package/app/reports/export/report-export-collector.service.d.ts +13 -5
  9. package/app/reports/export/report-filter-lines.d.ts +3 -0
  10. package/app/reports/filter-settings-rules.d.ts +4 -0
  11. package/app/reports/filter-text.d.ts +8 -0
  12. package/app/reports/format.d.ts +1 -0
  13. package/app/reports/interfaces/report-export-lines-input.interface.d.ts +1 -0
  14. package/app/reports/interfaces/report-filter-group-changes.interface.d.ts +7 -0
  15. package/app/reports/interfaces/report.interface.d.ts +1 -14
  16. package/app/reports/report-filter-items.d.ts +11 -8
  17. package/app/reports/report-view-config.d.ts +1 -3
  18. package/app/reports/services/report-filter-state.service.d.ts +5 -14
  19. package/app/reports/services/report-view.service.d.ts +1 -13
  20. package/app/reports/text.d.ts +16 -0
  21. package/app/reports/views/report/fs-ai-report.component.d.ts +2 -8
  22. package/esm2022/app/reports/canvas-landing-page.mjs +7 -6
  23. package/esm2022/app/reports/components/component-list/component-list.component.mjs +5 -5
  24. package/esm2022/app/reports/components/component-text/component-text.component.mjs +34 -22
  25. package/esm2022/app/reports/components/component-text/value-embed.plugin.mjs +254 -42
  26. package/esm2022/app/reports/components/report-canvas/report-canvas.component.mjs +130 -24
  27. package/esm2022/app/reports/components/report-component/report-component.component.mjs +38 -19
  28. package/esm2022/app/reports/data/report.data.mjs +19 -11
  29. package/esm2022/app/reports/dialogs/component-settings/component-settings.component.mjs +57 -14
  30. package/esm2022/app/reports/dialogs/report-settings/report-settings.component.mjs +169 -21
  31. package/esm2022/app/reports/export/report-export-collector.service.mjs +84 -33
  32. package/esm2022/app/reports/export/report-filter-lines.mjs +25 -8
  33. package/esm2022/app/reports/export/report-pdf.service.mjs +31 -21
  34. package/esm2022/app/reports/export/report-pptx.service.mjs +21 -11
  35. package/esm2022/app/reports/filter-settings-rules.mjs +8 -1
  36. package/esm2022/app/reports/filter-text.mjs +154 -0
  37. package/esm2022/app/reports/format.mjs +3 -2
  38. package/esm2022/app/reports/interfaces/canvas-landing-input.interface.mjs +1 -1
  39. package/esm2022/app/reports/interfaces/report-export-lines-input.interface.mjs +1 -1
  40. package/esm2022/app/reports/interfaces/report-filter-group-changes.interface.mjs +2 -0
  41. package/esm2022/app/reports/interfaces/report-temporary-state.interface.mjs +1 -1
  42. package/esm2022/app/reports/interfaces/report-view-config.interface.mjs +1 -1
  43. package/esm2022/app/reports/interfaces/report.interface.mjs +1 -1
  44. package/esm2022/app/reports/report-date-presets.mjs +2 -2
  45. package/esm2022/app/reports/report-filter-items.mjs +48 -106
  46. package/esm2022/app/reports/report-view-config.mjs +6 -116
  47. package/esm2022/app/reports/services/report-filter-state.service.mjs +92 -269
  48. package/esm2022/app/reports/services/report-view.service.mjs +25 -165
  49. package/esm2022/app/reports/text.mjs +59 -13
  50. package/esm2022/app/reports/views/report/fs-ai-report.component.mjs +69 -130
  51. package/esm2022/app/reports/views/report/report.component.mjs +25 -19
  52. package/fesm2022/{firestitch-report-echarts-UBg8Wlhd.mjs → firestitch-report-echarts-CyHkFToO.mjs} +2 -2
  53. package/fesm2022/{firestitch-report-echarts-UBg8Wlhd.mjs.map → firestitch-report-echarts-CyHkFToO.mjs.map} +1 -1
  54. package/fesm2022/{firestitch-report-firestitch-report-B1keNrcK.mjs → firestitch-report-firestitch-report-DftB7M1o.mjs} +2936 -3254
  55. package/fesm2022/firestitch-report-firestitch-report-DftB7M1o.mjs.map +1 -0
  56. package/fesm2022/firestitch-report.mjs +1 -1
  57. package/package.json +1 -1
  58. package/app/reports/interfaces/report-url-link.interface.d.ts +0 -4
  59. package/app/reports/interfaces/report-url-value-name.type.d.ts +0 -1
  60. package/app/reports/interfaces/report-url-write.interface.d.ts +0 -4
  61. package/app/reports/report-url-state.d.ts +0 -36
  62. package/esm2022/app/reports/interfaces/report-url-link.interface.mjs +0 -2
  63. package/esm2022/app/reports/interfaces/report-url-value-name.type.mjs +0 -2
  64. package/esm2022/app/reports/interfaces/report-url-write.interface.mjs +0 -2
  65. package/esm2022/app/reports/report-url-state.mjs +0 -677
  66. package/fesm2022/firestitch-report-firestitch-report-B1keNrcK.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- export { d as FsAiReportComponent, F as FsAiReportsComponent, G as GRANULARITY_OPTIONS, s as ReportChangePolarity, o as ReportChartColor, n as ReportChartDataLabels, r as ReportChartDateLabel, p as ReportChartLineStyle, q as ReportChartMarkStat, c as ReportComponent, e as ReportData, g as ReportFilterStateService, l as ReportListColumnFormat, h as ReportNodeType, m as ReportNumberUnits, f as ReportService, i as ReportState, j as ReportValueFormat, k as ReportValueFormula } from './firestitch-report-firestitch-report-B1keNrcK.mjs';
1
+ export { d as FsAiReportComponent, F as FsAiReportsComponent, G as GRANULARITY_OPTIONS, s as ReportChangePolarity, o as ReportChartColor, n as ReportChartDataLabels, r as ReportChartDateLabel, p as ReportChartLineStyle, q as ReportChartMarkStat, c as ReportComponent, e as ReportData, g as ReportFilterStateService, l as ReportListColumnFormat, h as ReportNodeType, m as ReportNumberUnits, f as ReportService, i as ReportState, j as ReportValueFormat, k as ReportValueFormula } from './firestitch-report-firestitch-report-DftB7M1o.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.10.0",
3
+ "version": "18.10.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Firestitch/ngx-report"
@@ -1,4 +0,0 @@
1
- export interface ReportUrlLink {
2
- viewId?: number | null;
3
- personalViewId?: number | null;
4
- }
@@ -1 +0,0 @@
1
- export type ReportUrlValueName = (groupId: number, value: unknown) => string | null;
@@ -1,4 +0,0 @@
1
- export interface ReportUrlWrite {
2
- params: Record<string, string>;
3
- tooLong: boolean;
4
- }
@@ -1,36 +0,0 @@
1
- import { ParamMap, Params } from '@angular/router';
2
- import { ReportDrillStep } from './interfaces/report-drill-step.interface';
3
- import { ReportUrlLink } from './interfaces/report-url-link.interface';
4
- import { ReportUrlValueName } from './interfaces/report-url-value-name.type';
5
- import { ReportUrlWrite } from './interfaces/report-url-write.interface';
6
- import { ReportViewConfig } from './interfaces/report-view-config.interface';
7
- import { FilterGroupDefault, ReportFilterGroup, ReportFilterType, ReportSort, ReportUrlParams, ReportUrlSnapshot } from './interfaces/report.interface';
8
- export { FORMAT_PARAM, PERSONAL_VIEW_PARAM, VIEW_PARAM } from './report-filter-items';
9
- export declare const LIST_SORT_PARAM_PREFIX = "s";
10
- export declare const LIST_SEARCH_PARAM_PREFIX = "q";
11
- export declare const LIST_HIDDEN_PARAM_PREFIX = "h";
12
- export declare const DRILL_PARAM_PREFIX = "d";
13
- export declare const MATCH_PARAM = "match";
14
- export declare const URL_FORMAT = 2;
15
- export declare const DRILL_STEP_SEPARATOR = ":";
16
- export declare const PICK_SEPARATOR = ",";
17
- export declare const PICK_NAME_SEPARATOR = ":";
18
- export declare const REPORT_URL_MAX_LENGTH = 2000;
19
- export declare const URL_TOO_LONG_MESSAGE = "This filter is too long for a link; save a view to share it.";
20
- export declare const OWNED_PARAM: RegExp;
21
- type UrlGroup = Pick<ReportFilterGroup, 'id' | 'type' | 'label' | 'filters'>;
22
- export declare function readReportUrlParams(params: ParamMap, groups: readonly UrlGroup[]): ReportUrlParams;
23
- export declare function paramsToViewConfig(params: Params, groups: readonly UrlGroup[]): ReportViewConfig;
24
- export declare function viewConfigToParams(config: ReportViewConfig, groups: readonly UrlGroup[], link?: ReportUrlLink, name?: ReportUrlValueName): ReportUrlWrite;
25
- export declare function readReportUrlLink(params: Params): ReportUrlLink;
26
- export declare function hasReportUrlState(params: Params, groups: readonly UrlGroup[]): boolean;
27
- export declare function reportParamsToClear(current: ParamMap, groups: readonly UrlGroup[]): Params;
28
- export declare function urlValueNames(current: ParamMap, groups: readonly UrlGroup[]): ReportUrlValueName;
29
- export declare function encodeColumnList(names: readonly string[]): string;
30
- export declare function decodeColumnList(raw: string): string[];
31
- export declare function groupValueParams(type: ReportFilterType | undefined, key: string, value: FilterGroupDefault | null, name?: (value: unknown) => string | null): Record<string, string>;
32
- export declare function encodeSort(sort: ReportSort): string;
33
- export declare function decodeSort(raw: string): ReportSort | null;
34
- export declare function encodeDrillPath(path: readonly ReportDrillStep[]): string;
35
- export declare function decodeDrillPath(raw: string): ReportDrillStep[];
36
- export declare function buildReportUrlParams(snapshot: ReportUrlSnapshot, current: ParamMap, groups: readonly UrlGroup[], name?: ReportUrlValueName): Params;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LXVybC1saW5rLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvcmVwb3J0cy9pbnRlcmZhY2VzL3JlcG9ydC11cmwtbGluay5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFRoZSB2aWV3cyBhIHJlcG9ydCBsaW5rIG5hbWVzIGJlc2lkZSBpdHMgc3RhdGUgKHJlcG9ydC11cmwtc3RhdGUudHMpLlxuZXhwb3J0IGludGVyZmFjZSBSZXBvcnRVcmxMaW5rIHtcbiAgLy8gcnY6IHRoZSBzaGFyZWQgdmlldyB0aGUgbGluaydzIHN0YXRlIGlzIGEgZGlmZiBmcm9tLlxuICB2aWV3SWQ/OiBudW1iZXIgfCBudWxsO1xuICAvLyBycHY6IHRoZSBvcGVuIHBlcnNvbmFsIHZpZXcuIEEgbGFiZWwgb25seTogdGhlIGxpbmsncyBzdGF0ZSBpcyBuZXZlclxuICAvLyB0YWtlbiBmcm9tIGl0LlxuICBwZXJzb25hbFZpZXdJZD86IG51bWJlciB8IG51bGw7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LXVybC12YWx1ZS1uYW1lLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL3JlcG9ydHMvaW50ZXJmYWNlcy9yZXBvcnQtdXJsLXZhbHVlLW5hbWUudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVGhlIG5hbWUgYSBzZWxlY3QgZ3JvdXAncyB2YWx1ZSBnb2VzIGJ5LCBmb3IgdGhlIG5hbWUgaGFsZiBvZiB0aGUgcmVwb3J0XG4vLyBsaW5rJ3MgdmFsdWU6bmFtZSBwaWNrcyAocmVwb3J0LXVybC1zdGF0ZS50cyksIG9yIG51bGwgd2hlbiBpdCBpcyBub3Qga25vd24uXG5leHBvcnQgdHlwZSBSZXBvcnRVcmxWYWx1ZU5hbWUgPSAoZ3JvdXBJZDogbnVtYmVyLCB2YWx1ZTogdW5rbm93bikgPT4gc3RyaW5nIHwgbnVsbDtcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LXVybC13cml0ZS5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL3JlcG9ydHMvaW50ZXJmYWNlcy9yZXBvcnQtdXJsLXdyaXRlLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVGhlIHF1ZXJ5IHBhcmFtcyBhIHZpZXcgY29uZmlnIHdyaXRlcyBpbnRvIGEgcmVwb3J0IGxpbmtcbi8vICh2aWV3Q29uZmlnVG9QYXJhbXMpLlxuZXhwb3J0IGludGVyZmFjZSBSZXBvcnRVcmxXcml0ZSB7XG4gIC8vIEVhY2gga2V5J3MgdmFsdWUgYXMgdGhlIHJvdXRlciBzaG91bGQgY2FycnkgaXQuXG4gIHBhcmFtczogUmVjb3JkPHN0cmluZywgc3RyaW5nPjtcbiAgLy8gVGhlIGxpbmsgd291bGQgaGF2ZSBiZWVuIG92ZXIgUkVQT1JUX1VSTF9NQVhfTEVOR1RILCBzbyB0aGUgbG9uZ2VzdCBncm91cFxuICAvLyB2YWx1ZXMgd2VyZSBsZWZ0IG91dCBvZiBpdC4gVGhlIHJlcG9ydCB0aGVuIHNheXMgb25jZSB0aGF0IHRoZSBmaWx0ZXIgaXNcbiAgLy8gdG9vIGxvbmcgZm9yIGEgbGluay5cbiAgdG9vTG9uZzogYm9vbGVhbjtcbn1cbiJdfQ==