@bizdoc/core 1.15.3 → 1.15.6

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 (162) hide show
  1. package/assets/bizdoc-schema.json +6 -8
  2. package/assets/system/icons.json +1 -0
  3. package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +9 -7
  4. package/esm2020/lib/admin/configuration-designer/designer.base.mjs +109 -4
  5. package/esm2020/lib/admin/configuration-designer/designer.component.mjs +115 -46
  6. package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +12 -20
  7. package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +48 -0
  8. package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +16 -39
  9. package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +10 -15
  10. package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +14 -15
  11. package/esm2020/lib/admin/configuration-designer/elements/configuration-datasource.component.mjs +61 -0
  12. package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +18 -28
  13. package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +142 -17
  14. package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +15 -34
  15. package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +24 -34
  16. package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +18 -27
  17. package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +16 -19
  18. package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +58 -25
  19. package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +34 -19
  20. package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +45 -41
  21. package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +18 -34
  22. package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +15 -29
  23. package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +17 -34
  24. package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +12 -18
  25. package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +38 -0
  26. package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +18 -18
  27. package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +9 -18
  28. package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +28 -0
  29. package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +17 -35
  30. package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +19 -42
  31. package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +15 -19
  32. package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +37 -33
  33. package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +12 -18
  34. package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +13 -16
  35. package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +10 -20
  36. package/esm2020/lib/admin/configuration-designer/icon-picker.component.mjs +162 -0
  37. package/esm2020/lib/admin/configuration-designer/privileges.component.mjs +31 -16
  38. package/esm2020/lib/admin/core/color-picker.input.mjs +9 -33
  39. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +4 -4
  40. package/esm2020/lib/admin/form/designer/designer.component.mjs +140 -18
  41. package/esm2020/lib/admin/form/form.resolve.service.mjs +7 -7
  42. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +9 -9
  43. package/esm2020/lib/admin/patterns/patterns.component.mjs +4 -4
  44. package/esm2020/lib/admin/system.service.mjs +57 -0
  45. package/esm2020/lib/compose/box/box.component.mjs +43 -0
  46. package/esm2020/lib/compose/document.component.mjs +2 -2
  47. package/esm2020/lib/compose/form-ref.mjs +7 -2
  48. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +3 -3
  49. package/esm2020/lib/compose/form.component.mjs +2 -2
  50. package/esm2020/lib/compose/new-menu.component.mjs +3 -3
  51. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +2 -2
  52. package/esm2020/lib/core/functions.mjs +6 -1
  53. package/esm2020/lib/core/mailbox.service.mjs +2 -2
  54. package/esm2020/lib/core/models.mjs +1 -1
  55. package/esm2020/lib/core/translations.mjs +44 -6
  56. package/esm2020/lib/cube/filter/filter.component.mjs +3 -3
  57. package/esm2020/lib/cube/matrix/table.component.mjs +1 -1
  58. package/esm2020/lib/cube/sum/sum.component.mjs +1 -1
  59. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +1 -1
  60. package/esm2020/lib/dashboard/cube/compare.widget.mjs +1 -1
  61. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +1 -1
  62. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +1 -1
  63. package/esm2020/lib/dashboard/cube/documents.widget.mjs +1 -1
  64. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +1 -1
  65. package/esm2020/lib/reports/cube/documents.component.mjs +1 -1
  66. package/esm2020/lib/reports/cube/grid-documents.component.mjs +1 -1
  67. package/esm2020/lib/reports/cube/table-documents.component.mjs +1 -1
  68. package/esm2020/lib/reports/cube/usage-args.component.mjs +1 -1
  69. package/esm2020/lib/reports/cube/usage-base.mjs +2 -1
  70. package/esm2020/lib/reports/cube/usage-chart.component.mjs +1 -1
  71. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +1 -1
  72. package/esm2020/lib/reports/cube/usage.component.mjs +4 -5
  73. package/esm2020/lib/reports/tasks/tasks.component.mjs +1 -1
  74. package/esm2020/lib/shared.module.mjs +5 -4
  75. package/esm2020/lib/system.module.mjs +18 -12
  76. package/esm2020/lib/views/cube/chart.component.mjs +2 -2
  77. package/esm2020/lib/views/cube/explore.component.mjs +1 -1
  78. package/esm2020/lib/views/cube/matrix.component.mjs +1 -1
  79. package/esm2020/lib/views/cube/parallel.component.mjs +1 -1
  80. package/esm2020/lib/views/cube/pivot.component.mjs +1 -1
  81. package/esm2020/lib/views/cube/sum.component.mjs +1 -1
  82. package/esm2020/lib/views/cube/view.component.mjs +1 -1
  83. package/fesm2015/bizdoc-core.mjs +1457 -937
  84. package/fesm2015/bizdoc-core.mjs.map +1 -1
  85. package/fesm2020/bizdoc-core.mjs +1437 -939
  86. package/fesm2020/bizdoc-core.mjs.map +1 -1
  87. package/lib/admin/configuration-designer/designer-element.component.d.ts +3 -2
  88. package/lib/admin/configuration-designer/designer.base.d.ts +111 -16
  89. package/lib/admin/configuration-designer/designer.component.d.ts +15 -18
  90. package/lib/admin/configuration-designer/elements/action.component.d.ts +2 -16
  91. package/lib/admin/configuration-designer/elements/analysis-view.component.d.ts +19 -0
  92. package/lib/admin/configuration-designer/elements/analysis-widget.component.d.ts +4 -30
  93. package/lib/admin/configuration-designer/elements/anomaly-rule.component.d.ts +1 -9
  94. package/lib/admin/configuration-designer/elements/box-form.component.d.ts +3 -13
  95. package/lib/admin/configuration-designer/elements/configuration-datasource.component.d.ts +26 -0
  96. package/lib/admin/configuration-designer/elements/cube-view.component.d.ts +6 -29
  97. package/lib/admin/configuration-designer/elements/cube.component.d.ts +36 -13
  98. package/lib/admin/configuration-designer/elements/documents-report.component.d.ts +3 -27
  99. package/lib/admin/configuration-designer/elements/documents-widget.component.d.ts +8 -25
  100. package/lib/admin/configuration-designer/elements/explore-view.component.d.ts +6 -26
  101. package/lib/admin/configuration-designer/elements/folder.component.d.ts +2 -14
  102. package/lib/admin/configuration-designer/elements/form.component.d.ts +8 -13
  103. package/lib/admin/configuration-designer/elements/guide.component.d.ts +7 -16
  104. package/lib/admin/configuration-designer/elements/matrix-view.component.d.ts +10 -32
  105. package/lib/admin/configuration-designer/elements/parallel-view.component.d.ts +5 -28
  106. package/lib/admin/configuration-designer/elements/performance-widget.component.d.ts +3 -21
  107. package/lib/admin/configuration-designer/elements/pivot-view.component.d.ts +5 -25
  108. package/lib/admin/configuration-designer/elements/report.component.d.ts +2 -15
  109. package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts +18 -0
  110. package/lib/admin/configuration-designer/elements/role.component.d.ts +3 -15
  111. package/lib/admin/configuration-designer/elements/rule.component.d.ts +2 -13
  112. package/lib/admin/configuration-designer/elements/state.component.d.ts +7 -0
  113. package/lib/admin/configuration-designer/elements/sum-view.component.d.ts +4 -29
  114. package/lib/admin/configuration-designer/elements/tasks-report.component.d.ts +6 -29
  115. package/lib/admin/configuration-designer/elements/type.component.d.ts +2 -16
  116. package/lib/admin/configuration-designer/elements/usage-report.component.d.ts +9 -25
  117. package/lib/admin/configuration-designer/elements/utility.component.d.ts +2 -15
  118. package/lib/admin/configuration-designer/elements/view.component.d.ts +3 -13
  119. package/lib/admin/configuration-designer/elements/widget.component.d.ts +2 -16
  120. package/lib/admin/configuration-designer/icon-picker.component.d.ts +67 -0
  121. package/lib/admin/configuration-designer/privileges.component.d.ts +11 -7
  122. package/lib/admin/core/color-picker.input.d.ts +3 -6
  123. package/lib/admin/document-trace/document-trace.component.d.ts +2 -2
  124. package/lib/admin/form/designer/designer.component.d.ts +59 -19
  125. package/lib/admin/form/form.resolve.service.d.ts +3 -3
  126. package/lib/admin/form/workflow/workflow.component.d.ts +3 -3
  127. package/lib/admin/patterns/patterns.component.d.ts +2 -2
  128. package/lib/admin/{form/form.service.d.ts → system.service.d.ts} +9 -5
  129. package/lib/compose/box/box.component.d.ts +17 -0
  130. package/lib/compose/form-ref.d.ts +6 -2
  131. package/lib/core/models.d.ts +4 -1
  132. package/lib/core/translations.d.ts +42 -0
  133. package/lib/cube/matrix/table.component.d.ts +0 -1
  134. package/lib/cube/sum/sum.component.d.ts +2 -1
  135. package/lib/dashboard/cube/accum-cube.widget.d.ts +2 -2
  136. package/lib/dashboard/cube/compare.widget.d.ts +7 -1
  137. package/lib/dashboard/cube/cube-analysis.base.d.ts +4 -3
  138. package/lib/dashboard/cube/cube-analysis.widget.d.ts +2 -2
  139. package/lib/dashboard/cube/documents.widget.d.ts +11 -1
  140. package/lib/dashboard/cube/filter/filter.component.d.ts +2 -2
  141. package/lib/reports/cube/documents.component.d.ts +2 -3
  142. package/lib/reports/cube/grid-documents.component.d.ts +2 -2
  143. package/lib/reports/cube/table-documents.component.d.ts +2 -2
  144. package/lib/reports/cube/usage-args.component.d.ts +2 -2
  145. package/lib/reports/cube/usage-base.d.ts +9 -7
  146. package/lib/reports/cube/usage-chart.component.d.ts +2 -2
  147. package/lib/reports/cube/usage-pivot.component.d.ts +2 -2
  148. package/lib/reports/cube/usage.component.d.ts +3 -4
  149. package/lib/reports/tasks/tasks.component.d.ts +4 -2
  150. package/lib/shared.module.d.ts +183 -182
  151. package/lib/system.module.d.ts +61 -57
  152. package/lib/views/cube/chart.component.d.ts +5 -4
  153. package/lib/views/cube/explore.component.d.ts +4 -4
  154. package/lib/views/cube/matrix.component.d.ts +8 -7
  155. package/lib/views/cube/parallel.component.d.ts +8 -3
  156. package/lib/views/cube/pivot.component.d.ts +4 -3
  157. package/lib/views/cube/sum.component.d.ts +5 -3
  158. package/lib/views/cube/view.component.d.ts +4 -4
  159. package/package.json +1 -1
  160. package/esm2020/lib/admin/configuration-designer/elements/chart-view.component.mjs +0 -76
  161. package/esm2020/lib/admin/form/form.service.mjs +0 -48
  162. package/lib/admin/configuration-designer/elements/chart-view.component.d.ts +0 -45
@@ -7,7 +7,7 @@ import { AxisClickEvent } from '../../cube/declarations';
7
7
  import { DocumentViewRef } from '../document-view-ref';
8
8
  import { CubeBase } from './cube-base';
9
9
  import * as i0 from "@angular/core";
10
- export declare class CubeChartViewComponent extends CubeBase<Options> {
10
+ export declare class CubeChartViewComponent extends CubeBase<ChartSettingsModel> {
11
11
  private _router;
12
12
  xAxis: string | string[];
13
13
  series: string | string[];
@@ -17,7 +17,7 @@ export declare class CubeChartViewComponent extends CubeBase<Options> {
17
17
  indices: string | string[];
18
18
  filters: AxesMap;
19
19
  isAccum: boolean;
20
- constructor(session: SessionService, viewRef: DocumentViewRef<Options>, service: CubeService, _router: RouterImpl);
20
+ constructor(session: SessionService, viewRef: DocumentViewRef<ChartSettingsModel>, service: CubeService, _router: RouterImpl);
21
21
  onViewBind(): void;
22
22
  /**
23
23
  *
@@ -27,7 +27,8 @@ export declare class CubeChartViewComponent extends CubeBase<Options> {
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeChartViewComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeChartViewComponent, "ng-component", never, {}, {}, never, never, false>;
29
29
  }
30
- interface Options {
30
+ export interface ChartSettingsModel {
31
+ cube?: string;
31
32
  xAxis: string | string[];
32
33
  series?: string | string[];
33
34
  indices?: string | string[];
@@ -35,5 +36,5 @@ interface Options {
35
36
  chartType?: ChartType;
36
37
  indicesChartType?: ChartType;
37
38
  scope?: ScopeType;
39
+ filters?: AxesMap;
38
40
  }
39
- export {};
@@ -10,7 +10,7 @@ import { ExploreItemEvent } from '../../cube/explore/explore-items.component';
10
10
  import { DocumentViewRef } from '../document-view-ref';
11
11
  import { CubeBase } from './cube-base';
12
12
  import * as i0 from "@angular/core";
13
- export declare class CubeExploreViewComponent extends CubeBase<Options> {
13
+ export declare class CubeExploreViewComponent extends CubeBase<ExploreSettingsModel> {
14
14
  private _sb;
15
15
  private _router;
16
16
  private _ds;
@@ -22,7 +22,7 @@ export declare class CubeExploreViewComponent extends CubeBase<Options> {
22
22
  };
23
23
  filters: CubeAxis[];
24
24
  pageSize: number;
25
- constructor(viewRef: DocumentViewRef<Options>, _sb: PromptService, _router: RouterImpl, service: CubeService, _ds: DatasourceService, session: SessionService);
25
+ constructor(viewRef: DocumentViewRef<ExploreSettingsModel>, _sb: PromptService, _router: RouterImpl, service: CubeService, _ds: DatasourceService, session: SessionService);
26
26
  onViewBind(): void;
27
27
  /**
28
28
  *
@@ -34,10 +34,10 @@ export declare class CubeExploreViewComponent extends CubeBase<Options> {
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeExploreViewComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeExploreViewComponent, "ng-component", never, {}, {}, never, never, false>;
36
36
  }
37
- interface Options {
37
+ export interface ExploreSettingsModel {
38
+ cube?: string;
38
39
  aggregate?: string[];
39
40
  filters: string[];
40
41
  scope?: ScopeType;
41
42
  pageSize?: number;
42
43
  }
43
- export {};
@@ -9,7 +9,7 @@ import { CubeMatrixComponent, SumSettings } from "../../cube/matrix/table.compon
9
9
  import { ScopeType } from "../../core/configuration";
10
10
  import { AxisClickEvent } from "../../cube/declarations";
11
11
  import * as i0 from "@angular/core";
12
- export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
12
+ export declare class CubeDocumentMatrixComponent extends CubeBase<MatrixSettingsModel> {
13
13
  private _router;
14
14
  table: CubeMatrixComponent;
15
15
  readonly sources: {
@@ -23,7 +23,7 @@ export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
23
23
  xAxis: string;
24
24
  series: string;
25
25
  sum?: SumSettings | SumSettings[];
26
- constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService, session: SessionService);
26
+ constructor(viewRef: DocumentViewRef<MatrixSettingsModel>, _router: RouterImpl, service: CubeService, session: SessionService);
27
27
  onViewBind(): void;
28
28
  explore(evt: AxisClickEvent): void;
29
29
  /**
@@ -40,12 +40,13 @@ export declare class CubeDocumentMatrixComponent extends CubeBase<Options> {
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeDocumentMatrixComponent, never>;
41
41
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeDocumentMatrixComponent, "ng-component", never, {}, {}, never, never, false>;
42
42
  }
43
- export interface Options {
44
- filters: string[] | string;
45
- sum: SumSettings | SumSettings[];
46
- indices: string[] | string;
47
- aggregate: string[];
43
+ export interface MatrixSettingsModel {
44
+ cube?: string;
48
45
  xAxis: string;
49
46
  series: string;
47
+ indices: string[] | string;
48
+ sum: SumSettings | SumSettings[];
49
+ filters: string[] | string;
50
+ aggregate: string[];
50
51
  scope?: ScopeType;
51
52
  }
@@ -5,15 +5,17 @@ import { DocumentViewRef } from '../document-view-ref';
5
5
  import { CubeBase } from './cube-base';
6
6
  import { ExploreEvent } from '../../cube/parallel/parallel.component';
7
7
  import { SparklineType } from '@syncfusion/ej2-angular-charts';
8
+ import { ScopeType } from '../../core/configuration';
9
+ import { AxesMap } from '../../core/models';
8
10
  import * as i0 from "@angular/core";
9
- export declare class CubeParallelViewComponent extends CubeBase<Options> {
11
+ export declare class CubeParallelViewComponent extends CubeBase<ParallelSettingsModel> {
10
12
  private _router;
11
13
  xAxis: string | string[];
12
14
  series?: string | string[];
13
15
  indices?: string | string[];
14
16
  chartType?: SparklineType;
15
17
  size: number;
16
- constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService, session: SessionService);
18
+ constructor(viewRef: DocumentViewRef<ParallelSettingsModel>, _router: RouterImpl, service: CubeService, session: SessionService);
17
19
  onViewBind(): void;
18
20
  /**
19
21
  *
@@ -23,10 +25,13 @@ export declare class CubeParallelViewComponent extends CubeBase<Options> {
23
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeParallelViewComponent, never>;
24
26
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeParallelViewComponent, "ng-component", never, {}, {}, never, never, false>;
25
27
  }
26
- export interface Options {
28
+ export interface ParallelSettingsModel {
27
29
  aggregate?: string[];
28
30
  xAxis: string | string[];
29
31
  series?: string | string[];
30
32
  indices?: string | string[];
31
33
  chartType?: SparklineType;
34
+ cube?: string;
35
+ filters: AxesMap;
36
+ scope: ScopeType;
32
37
  }
@@ -7,14 +7,14 @@ import { AxisClickEvent } from '../../cube/declarations';
7
7
  import { DocumentViewRef } from '../document-view-ref';
8
8
  import { CubeBase } from './cube-base';
9
9
  import * as i0 from "@angular/core";
10
- export declare class CubePivotViewComponent extends CubeBase<Options> {
10
+ export declare class CubePivotViewComponent extends CubeBase<PivotSettingsModel> {
11
11
  private _router;
12
12
  xAxis: string | string[];
13
13
  series: string | string[];
14
14
  height: number;
15
15
  width: number | string;
16
16
  chartType?: ChartType;
17
- constructor(session: SessionService, viewRef: DocumentViewRef<Options>, service: CubeService, _router: RouterImpl);
17
+ constructor(session: SessionService, viewRef: DocumentViewRef<PivotSettingsModel>, service: CubeService, _router: RouterImpl);
18
18
  onViewBind(): void;
19
19
  /**
20
20
  *
@@ -24,7 +24,8 @@ export declare class CubePivotViewComponent extends CubeBase<Options> {
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CubePivotViewComponent, never>;
25
25
  static ɵcmp: i0.ɵɵComponentDeclaration<CubePivotViewComponent, "ng-component", never, {}, {}, never, never, false>;
26
26
  }
27
- export interface Options {
27
+ export interface PivotSettingsModel {
28
+ cube?: string;
28
29
  xAxis: string | string[];
29
30
  series: string | string[];
30
31
  aggregate?: string[];
@@ -8,25 +8,27 @@ import { CubeAxis } from "../../core/models";
8
8
  import { ExploreEvent } from "../../cube/sum/sum.component";
9
9
  import { ScopeType } from "../../core/configuration";
10
10
  import * as i0 from "@angular/core";
11
- export declare class CubeDocumentSumComponent extends CubeBase<Options> implements DocumentViewComponent {
11
+ export declare class CubeDocumentSumComponent extends CubeBase<SumSettingsModel> implements DocumentViewComponent {
12
12
  private _router;
13
13
  primaryAxis: CubeAxis;
14
14
  parentAxis?: string;
15
15
  periodPolicy: string;
16
16
  indices: string[] | string;
17
17
  selectedAxis: string | number;
18
- constructor(viewRef: DocumentViewRef<Options>, _router: RouterImpl, service: CubeService, session: SessionService);
18
+ constructor(viewRef: DocumentViewRef<SumSettingsModel>, _router: RouterImpl, service: CubeService, session: SessionService);
19
19
  onViewBind(): Promise<void>;
20
20
  switchAxis(value: string | number): Promise<void>;
21
21
  explore(evt: ExploreEvent): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeDocumentSumComponent, never>;
23
23
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeDocumentSumComponent, "ng-component", never, {}, {}, never, never, false>;
24
24
  }
25
- export interface Options {
25
+ export interface SumSettingsModel {
26
+ cube: string;
26
27
  indices: string[] | string;
27
28
  aggregate: string[];
28
29
  xAxis: string;
29
30
  series?: string;
31
+ filters: {};
30
32
  periodPolicy?: 'Strict' | 'Fish';
31
33
  scope?: ScopeType;
32
34
  }
@@ -10,14 +10,14 @@ import { AxisClickEvent } from '../../cube/declarations';
10
10
  import { DocumentViewRef } from '../document-view-ref';
11
11
  import { CubeBase } from './cube-base';
12
12
  import * as i0 from "@angular/core";
13
- export declare class CubeDocumentViewComponent extends CubeBase<Options> implements OnInit {
13
+ export declare class CubeDocumentViewComponent extends CubeBase<ViewSettingsModel> implements OnInit {
14
14
  private _popup;
15
15
  private _router;
16
16
  private _guide;
17
17
  viewPane: CubeViewComponent;
18
18
  view: CubeView;
19
19
  anyAxes: boolean;
20
- constructor(session: SessionService, viewRef: DocumentViewRef<Options>, service: CubeService, _popup: Popup, _router: RouterImpl, _guide: GuideService);
20
+ constructor(session: SessionService, viewRef: DocumentViewRef<ViewSettingsModel>, service: CubeService, _popup: Popup, _router: RouterImpl, _guide: GuideService);
21
21
  onViewBind(): void;
22
22
  ngOnInit(): void;
23
23
  filterToggle(evt: Event): void;
@@ -32,9 +32,9 @@ export declare class CubeDocumentViewComponent extends CubeBase<Options> impleme
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeDocumentViewComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeDocumentViewComponent, "ng-component", never, {}, {}, never, never, false>;
34
34
  }
35
- interface Options {
35
+ export interface ViewSettingsModel {
36
+ cube?: string;
36
37
  view: string;
37
38
  aggregate?: string[];
38
39
  filters?: string[];
39
40
  }
40
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.15.3",
3
+ "version": "1.15.6",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",
@@ -1,76 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Component } from "@angular/core";
3
- import { Validators } from "@angular/forms";
4
- import { BizDoc } from "../../../core/decorators";
5
- import { DesignerElementComponent } from "../designer.base";
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/forms";
8
- import * as i2 from "../../../core/session.service";
9
- import * as i3 from "@angular/common";
10
- import * as i4 from "@angular/material/core";
11
- import * as i5 from "@angular/material/form-field";
12
- import * as i6 from "@angular/material/select";
13
- import * as i7 from "../../../cube/accum/accum.component";
14
- import * as i8 from "../../../cube/chart/chart.component";
15
- import * as i9 from "../../../core/pipes/translate.pipe";
16
- let ChartViewDesignComponent = class ChartViewDesignComponent extends DesignerElementComponent {
17
- constructor(_fb, _session) {
18
- super();
19
- this._fb = _fb;
20
- this._session = _session;
21
- this.form = this._fb.group({
22
- cube: null,
23
- xAxis: this._fb.control(null, Validators.required),
24
- series: null,
25
- indices: null,
26
- filters: this._fb.group({}),
27
- chartType: null,
28
- scope: null
29
- });
30
- this.cubes = this._session.profile.cubes;
31
- }
32
- ngOnInit() {
33
- this.cube = !this.model.options.cube ? this._session.profile.cubes[0] :
34
- this._session.profile.cubes.find(c => c.name === this.model.options.cube);
35
- if (this.args.xAxis) {
36
- this._secondaryAxes(this.args.xAxis);
37
- this.args.series && this._thirdAxes(this.args.series);
38
- }
39
- }
40
- _secondaryAxes(primaryAxes) {
41
- this.secondaryAxes = this.cube.axes.filter(a => primaryAxes.indexOf(a.name) < 0);
42
- }
43
- _thirdAxes(value) {
44
- this.thirdAxes = this.secondaryAxes.filter(a => a.name !== value);
45
- }
46
- xAxisSelected(evt) {
47
- this._secondaryAxes(evt.value);
48
- }
49
- seriesSelected(evt) {
50
- this._thirdAxes(evt.value);
51
- }
52
- cubeSelected(evt) {
53
- this.cube = evt.value;
54
- this.form.get('cube').setValue(evt.value.name);
55
- }
56
- get isAccum() {
57
- switch (this.args.chartType) {
58
- case 'Pie':
59
- case 'Doughnut':
60
- case 'HalfDoughnut':
61
- case 'Funnel':
62
- return true;
63
- }
64
- }
65
- };
66
- ChartViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ChartViewDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
67
- ChartViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ChartViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-template *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-form-field *ngIf=\"cubes.length\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select (optionSelected)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (optionSelected)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" multiple (optionSelected)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Bubble\">{{'Bubble'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar\">{{'StackingBar'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar100\">{{'StackingBar100'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Spline\">{{'Spline'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n <mat-option value=\"SplineArea\">{{'SplineArea'|translate}}</mat-option>\r\n <mat-option value=\"Doughnut\">{{'Doughnut'|translate}}</mat-option>\r\n <mat-option value=\"HalfDoughnut\">{{'HalfDoughnut'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea\">{{'StackingArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea100\">{{'StackingArea100'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn\">{{'StackingColumn'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn100\">{{'StackingColumn100'|translate}}</mat-option>\r\n <mat-option value=\"Scatter\">{{'Scatter'|translate}}</mat-option>\r\n <mat-option value=\"Polar\">{{'Polar'|translate}}</mat-option>\r\n <mat-option value=\"Radar\">{{'Radar'|translate}}</mat-option>\r\n <mat-option value=\"StepLine\">{{'StepLine'|translate}}</mat-option>\r\n <mat-option value=\"StepArea\">{{'StepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingStepArea\">{{'StackingStepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine\">{{'StackingLine'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine100\">{{'StackingLine100'|translate}}</mat-option>\r\n <mat-option value=\"Funnel\">{{'Funnel'|translate}}</mat-option>\r\n <mat-option value=\"Pyramid\">{{'Pyramid'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <ng-container *ngIf=\"cube?.indices?.length\">\r\n <mat-form-field>\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"indicesChartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Bubble\">{{'Bubble'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar\">{{'StackingBar'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar100\">{{'StackingBar100'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Spline\">{{'Spline'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n <mat-option value=\"SplineArea\">{{'SplineArea'|translate}}</mat-option>\r\n <mat-option value=\"Doughnut\">{{'Doughnut'|translate}}</mat-option>\r\n <mat-option value=\"HalfDoughnut\">{{'HalfDoughnut'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea\">{{'StackingArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea100\">{{'StackingArea100'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn\">{{'StackingColumn'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn100\">{{'StackingColumn100'|translate}}</mat-option>\r\n <mat-option value=\"Scatter\">{{'Scatter'|translate}}</mat-option>\r\n <mat-option value=\"Polar\">{{'Polar'|translate}}</mat-option>\r\n <mat-option value=\"Radar\">{{'Radar'|translate}}</mat-option>\r\n <mat-option value=\"StepLine\">{{'StepLine'|translate}}</mat-option>\r\n <mat-option value=\"StepArea\">{{'StepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingStepArea\">{{'StackingStepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine\">{{'StackingLine'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine100\">{{'StackingLine100'|translate}}</mat-option>\r\n <mat-option value=\"Funnel\">{{'Funnel'|translate}}</mat-option>\r\n <mat-option value=\"Pyramid\">{{'Pyramid'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n </form>\r\n <div>\r\n <ng-container [ngSwitch]=\"isAccum\">\r\n <bizdoc-cube-accum *ngSwitchCase=\"true\"\r\n [chartType]=\"args.chartType\"\r\n [width]=\"200\"\r\n [scope]=\"args.scope\"\r\n [cube]=\"selectedCube.name\"\r\n [filters]=\"args.filters\"\r\n [xAxis]=\"args.xAxis\"></bizdoc-cube-accum>\r\n <bizdoc-cube-chart *ngSwitchDefault\r\n [cube]=\"selectedCube.name\"\r\n [xAxis]=\"args.xAxis\"\r\n [series]=\"args.series\"\r\n [indices]=\"args.indices\"\r\n [filters]=\"args.filters\"\r\n [chartType]=\"args.chartType\"\r\n [indicesChartType]=\"args.indicesChartType\"\r\n [width]=\"200\"\r\n [scope]=\"args.scope\"></bizdoc-cube-chart>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i7.CubeAccumulationChartComponent, selector: "bizdoc-cube-accum", inputs: ["palettes", "height", "width", "cube", "xAxis", "filters", "chartType", "scope", "loading"], outputs: ["loadingChange", "explore"] }, { kind: "component", type: i8.CubeChartComponent, selector: "bizdoc-cube-chart", inputs: ["width", "height", "cube", "xAxis", "series", "indices", "filters", "yAxis", "chartType", "indicesChartType", "scope", "loading", "palettes"], outputs: ["explore", "loadingChange"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
68
- ChartViewDesignComponent = __decorate([
69
- BizDoc({ selector: 'chart-view-designer' })
70
- ], ChartViewDesignComponent);
71
- export { ChartViewDesignComponent };
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ChartViewDesignComponent, decorators: [{
73
- type: Component,
74
- args: [{ template: "<ng-template *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-form-field *ngIf=\"cubes.length\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select (optionSelected)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (optionSelected)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" multiple (optionSelected)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Bubble\">{{'Bubble'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar\">{{'StackingBar'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar100\">{{'StackingBar100'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Spline\">{{'Spline'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n <mat-option value=\"SplineArea\">{{'SplineArea'|translate}}</mat-option>\r\n <mat-option value=\"Doughnut\">{{'Doughnut'|translate}}</mat-option>\r\n <mat-option value=\"HalfDoughnut\">{{'HalfDoughnut'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea\">{{'StackingArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea100\">{{'StackingArea100'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn\">{{'StackingColumn'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn100\">{{'StackingColumn100'|translate}}</mat-option>\r\n <mat-option value=\"Scatter\">{{'Scatter'|translate}}</mat-option>\r\n <mat-option value=\"Polar\">{{'Polar'|translate}}</mat-option>\r\n <mat-option value=\"Radar\">{{'Radar'|translate}}</mat-option>\r\n <mat-option value=\"StepLine\">{{'StepLine'|translate}}</mat-option>\r\n <mat-option value=\"StepArea\">{{'StepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingStepArea\">{{'StackingStepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine\">{{'StackingLine'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine100\">{{'StackingLine100'|translate}}</mat-option>\r\n <mat-option value=\"Funnel\">{{'Funnel'|translate}}</mat-option>\r\n <mat-option value=\"Pyramid\">{{'Pyramid'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <ng-container *ngIf=\"cube?.indices?.length\">\r\n <mat-form-field>\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"indicesChartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Bubble\">{{'Bubble'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar\">{{'StackingBar'|translate}}</mat-option>\r\n <mat-option value=\"StackingBar100\">{{'StackingBar100'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Spline\">{{'Spline'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n <mat-option value=\"SplineArea\">{{'SplineArea'|translate}}</mat-option>\r\n <mat-option value=\"Doughnut\">{{'Doughnut'|translate}}</mat-option>\r\n <mat-option value=\"HalfDoughnut\">{{'HalfDoughnut'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea\">{{'StackingArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingArea100\">{{'StackingArea100'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn\">{{'StackingColumn'|translate}}</mat-option>\r\n <mat-option value=\"StackingColumn100\">{{'StackingColumn100'|translate}}</mat-option>\r\n <mat-option value=\"Scatter\">{{'Scatter'|translate}}</mat-option>\r\n <mat-option value=\"Polar\">{{'Polar'|translate}}</mat-option>\r\n <mat-option value=\"Radar\">{{'Radar'|translate}}</mat-option>\r\n <mat-option value=\"StepLine\">{{'StepLine'|translate}}</mat-option>\r\n <mat-option value=\"StepArea\">{{'StepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingStepArea\">{{'StackingStepArea'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine\">{{'StackingLine'|translate}}</mat-option>\r\n <mat-option value=\"StackingLine100\">{{'StackingLine100'|translate}}</mat-option>\r\n <mat-option value=\"Funnel\">{{'Funnel'|translate}}</mat-option>\r\n <mat-option value=\"Pyramid\">{{'Pyramid'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n </form>\r\n <div>\r\n <ng-container [ngSwitch]=\"isAccum\">\r\n <bizdoc-cube-accum *ngSwitchCase=\"true\"\r\n [chartType]=\"args.chartType\"\r\n [width]=\"200\"\r\n [scope]=\"args.scope\"\r\n [cube]=\"selectedCube.name\"\r\n [filters]=\"args.filters\"\r\n [xAxis]=\"args.xAxis\"></bizdoc-cube-accum>\r\n <bizdoc-cube-chart *ngSwitchDefault\r\n [cube]=\"selectedCube.name\"\r\n [xAxis]=\"args.xAxis\"\r\n [series]=\"args.series\"\r\n [indices]=\"args.indices\"\r\n [filters]=\"args.filters\"\r\n [chartType]=\"args.chartType\"\r\n [indicesChartType]=\"args.indicesChartType\"\r\n [width]=\"200\"\r\n [scope]=\"args.scope\"></bizdoc-cube-chart>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n" }]
75
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvY2hhcnQtdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvY2hhcnQtdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQWUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHekQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBR2xELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7Ozs7OztJQUkvQyx3QkFBd0IsU0FBeEIsd0JBQXlCLFNBQVEsd0JBQStCO0lBYzNFLFlBQW9CLEdBQWdCLEVBQVUsUUFBd0I7UUFDcEUsS0FBSyxFQUFFLENBQUE7UUFEVyxRQUFHLEdBQUgsR0FBRyxDQUFhO1FBQVUsYUFBUSxHQUFSLFFBQVEsQ0FBZ0I7UUFiN0QsU0FBSSxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDO1lBQzdCLElBQUksRUFBRSxJQUFJO1lBQ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VsZD5cclxuICAgIDwvbmctY29udGFpbmVyPlxyXG4gIDwvZm9ybT5cclxuICA8ZGl2PlxyXG4gICAgPG5nLWNvbnRhaW5lciBbbmdTd2l0Y2hdPVwiaXNBY2N1bVwiPlxyXG4gICAgICA8Yml6ZG9jLWN1YmUtYWNjdW0gKm5nU3dpdGNoQ2FzZT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgW2NoYXJ0VHlwZV09XCJhcmdzLmNoYXJ0VHlwZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbd2lkdGhdPVwiMjAwXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtzY29wZV09XCJhcmdzLnNjb3BlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtjdWJlXT1cInNlbGVjdGVkQ3ViZS5uYW1lXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtmaWx0ZXJzXT1cImFyZ3MuZmlsdGVyc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbeEF4aXNdPVwiYXJncy54QXhpc1wiPjwvYml6ZG9jLWN1YmUtYWNjdW0+XHJcbiAgICAgIDxiaXpkb2MtY3ViZS1jaGFydCAqbmdTd2l0Y2hEZWZhdWx0XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbY3ViZV09XCJzZWxlY3RlZEN1YmUubmFtZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbeEF4aXNdPVwiYXJncy54QXhpc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbc2VyaWVzXT1cImFyZ3Muc2VyaWVzXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtpbmRpY2VzXT1cImFyZ3MuaW5kaWNlc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbZmlsdGVyc109XCJhcmdzLmZpbHRlcnNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgW2NoYXJ0VHlwZV09XCJhcmdzLmNoYXJ0VHlwZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbaW5kaWNlc0NoYXJ0VHlwZV09XCJhcmdzLmluZGljZXNDaGFydFR5cGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgW3dpZHRoXT1cIjIwMFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbc2NvcGVdPVwiYXJncy5zY29wZVwiPjwvYml6ZG9jLWN1YmUtY2hhcnQ+XHJcbiAgICA8L25nLWNvbnRhaW5lcj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuPCEtLS0tPlxyXG48bmctdGVtcGxhdGUgI2luZm8+PC9uZy10ZW1wbGF0ZT5cclxuIl19
@@ -1,48 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { shareReplay } from 'rxjs';
3
- import { isString } from '../../core/functions';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common/http";
6
- export class FormService {
7
- constructor(_http) {
8
- this._http = _http;
9
- }
10
- findAll(options) {
11
- const params = {};
12
- if (isString(options))
13
- params['search'] = options;
14
- else {
15
- if (options.search)
16
- params['search'] = options.search;
17
- if (options.formId)
18
- params['formId'] = options.formId;
19
- if (options.start)
20
- params['start'] = new Date(options.start).toISOString();
21
- if (options.end)
22
- params['end'] = new Date(options.end).toISOString();
23
- }
24
- return this._http.get('/api/form/findAll', {
25
- params
26
- });
27
- }
28
- roles() { return FormService._cache['roles'] || (FormService._cache['roles'] = this._http.get('/api/positions/roles').pipe(shareReplay())); }
29
- range(formId) {
30
- return this._http.get('/api/form/range', {
31
- params: { formId: formId || null }
32
- });
33
- }
34
- get(name) {
35
- return this._http.get(`/api/form/${name}`);
36
- }
37
- save(form) {
38
- const { workflow } = form;
39
- return this._http.put(`/api/form/${form.name}`, { workflow });
40
- }
41
- }
42
- FormService._cache = {};
43
- FormService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FormService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
44
- FormService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FormService });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FormService, decorators: [{
46
- type: Injectable
47
- }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9mb3JtL2Zvcm0uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHNCQUFzQixDQUFDOzs7QUFHaEQsTUFBTSxPQUFPLFdBQVc7SUErQnRCLFlBQW9CLEtBQWlCO1FBQWpCLFVBQUssR0FBTCxLQUFLLENBQVk7SUFFckMsQ0FBQztJQTdCRCxPQUFPLENBQUMsT0FBZ0Y7UUFDdEYsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDO1FBQ2xCLElBQUksUUFBUSxDQUFDLE9BQU8sQ0FBQztZQUNuQixNQUFNLENBQUMsUUFBUSxDQUFDLEdBQUcsT0FBTyxDQUFDO2FBQ3hCO1lBQ0gsSUFBSSxPQUFPLENBQUMsTUFBTTtnQkFBRSxNQUFNLENBQUMsUUFBUSxDQUFDLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQztZQUN0RCxJQUFJLE9BQU8sQ0FBQyxNQUFNO2dCQUFFLE1B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9odHRwLmdldDxSYW5nZUluZm9bXT4oJy9hcGkvZm9ybS9yYW5nZScsIHtcclxuICAgICAgcGFyYW1zOiB7IGZvcm1JZDogZm9ybUlkIHx8IG51bGwgIH1cclxuICAgIH0pO1xyXG4gIH1cclxuICBnZXQobmFtZTogc3RyaW5nKTogT2JzZXJ2YWJsZTxGb3JtPiB7XHJcbiAgICByZXR1cm4gdGhpcy5faHR0cC5nZXQ8Rm9ybT4oYC9hcGkvZm9ybS8ke25hbWV9YCk7XHJcbiAgfVxyXG4gIHNhdmUoZm9ybTogRm9ybSk6IE9ic2VydmFibGU8bnVtYmVyPiB7XHJcbiAgICBjb25zdCB7IHdvcmtmbG93IH0gPSBmb3JtO1xyXG4gICAgcmV0dXJuIHRoaXMuX2h0dHAucHV0PG51bWJlcj4oYC9hcGkvZm9ybS8ke2Zvcm0ubmFtZX1gLCB7IHdvcmtmbG93IH0pO1xyXG4gIH1cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9odHRwOiBIdHRwQ2xpZW50KSB7XHJcblxyXG4gIH1cclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIFJhbmdlSW5mbyB7XHJcbiAgY291bnQ6IG51bWJlcjtcclxuICBkYXRlOiBEYXRlO1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgRG9jdW1lbnRJbmZvIHtcclxuICBpZDogbnVtYmVyO1xyXG4gIG51bWJlcjogc3RyaW5nO1xyXG4gIHN1YmplY3Q6IHN0cmluZztcclxuICBzdGF0ZUlkOiBzdHJpbmc7XHJcbn1cclxuIl19
@@ -1,45 +0,0 @@
1
- import { OnInit } from "@angular/core";
2
- import { FormBuilder } from "@angular/forms";
3
- import { MatSelectChange } from "@angular/material/select";
4
- import { ScopeType } from "../../../core/configuration";
5
- import { ChartType, Cube, CubeAxis } from "../../../core/models";
6
- import { SessionService } from "../../../core/session.service";
7
- import { DesignerElementComponent } from "../designer.base";
8
- import * as i0 from "@angular/core";
9
- export declare class ChartViewDesignComponent extends DesignerElementComponent<Model> implements OnInit {
10
- private _fb;
11
- private _session;
12
- readonly form: import("@angular/forms").FormGroup<{
13
- cube: import("@angular/forms").FormControl<unknown>;
14
- xAxis: import("@angular/forms").FormControl<any>;
15
- series: import("@angular/forms").FormControl<unknown>;
16
- indices: import("@angular/forms").FormControl<unknown>;
17
- filters: import("@angular/forms").FormGroup<{}>;
18
- chartType: import("@angular/forms").FormControl<unknown>;
19
- scope: import("@angular/forms").FormControl<unknown>;
20
- }>;
21
- cube: Cube;
22
- secondaryAxes: CubeAxis[];
23
- thirdAxes: CubeAxis[];
24
- readonly cubes: Cube[];
25
- constructor(_fb: FormBuilder, _session: SessionService);
26
- ngOnInit(): void;
27
- private _secondaryAxes;
28
- private _thirdAxes;
29
- xAxisSelected(evt: MatSelectChange): void;
30
- seriesSelected(evt: MatSelectChange): void;
31
- cubeSelected(evt: MatSelectChange): void;
32
- get isAccum(): boolean;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<ChartViewDesignComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartViewDesignComponent, "ng-component", never, {}, {}, never, never, false>;
35
- }
36
- interface Model {
37
- cube: null;
38
- xAxis: null;
39
- series: null;
40
- indices: null;
41
- filters: {};
42
- chartType: ChartType;
43
- scope: ScopeType;
44
- }
45
- export {};