@ajf/material 12.1.5 → 12.1.8

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 (191) hide show
  1. package/bundles/material-barcode.umd.js +3 -7
  2. package/bundles/material-barcode.umd.js.map +1 -1
  3. package/bundles/material-calendar.umd.js +5 -17
  4. package/bundles/material-calendar.umd.js.map +1 -1
  5. package/bundles/material-checkbox-group.umd.js +4 -14
  6. package/bundles/material-checkbox-group.umd.js.map +1 -1
  7. package/bundles/material-form-builder.umd.js +523 -484
  8. package/bundles/material-form-builder.umd.js.map +1 -1
  9. package/bundles/material-forms.umd.js +95 -63
  10. package/bundles/material-forms.umd.js.map +1 -1
  11. package/bundles/material-image.umd.js +3 -10
  12. package/bundles/material-image.umd.js.map +1 -1
  13. package/bundles/material-monaco-editor.umd.js +4 -7
  14. package/bundles/material-monaco-editor.umd.js.map +1 -1
  15. package/bundles/material-node-icon.umd.js +3 -10
  16. package/bundles/material-node-icon.umd.js.map +1 -1
  17. package/bundles/material-page-slider.umd.js +2 -7
  18. package/bundles/material-page-slider.umd.js.map +1 -1
  19. package/bundles/material-reports.umd.js +68 -12
  20. package/bundles/material-reports.umd.js.map +1 -1
  21. package/bundles/material-time.umd.js +4 -12
  22. package/bundles/material-time.umd.js.map +1 -1
  23. package/calendar/index.metadata.json +1 -1
  24. package/checkbox-group/index.metadata.json +1 -1
  25. package/esm2015/barcode/barcode-module.js +3 -7
  26. package/esm2015/barcode/barcode.js +3 -3
  27. package/esm2015/calendar/calendar-module.js +4 -14
  28. package/esm2015/calendar/calendar.js +4 -6
  29. package/esm2015/checkbox-group/checkbox-group-item.js +3 -3
  30. package/esm2015/checkbox-group/checkbox-group-module.js +4 -14
  31. package/esm2015/form-builder/branch-line.js +2 -2
  32. package/esm2015/form-builder/choices-origin-data-source.js +1 -1
  33. package/esm2015/form-builder/choices-origin-editor-dialog.js +7 -4
  34. package/esm2015/form-builder/choices-origin-editor.js +1 -1
  35. package/esm2015/form-builder/condition-editor-dialog.js +1 -1
  36. package/esm2015/form-builder/condition-editor.js +9 -8
  37. package/esm2015/form-builder/form-builder-module.js +29 -14
  38. package/esm2015/form-builder/form-builder-service.js +132 -125
  39. package/esm2015/form-builder/form-builder-utils.js +4 -3
  40. package/esm2015/form-builder/form-builder.js +30 -26
  41. package/esm2015/form-builder/node-entry.js +7 -5
  42. package/esm2015/form-builder/node-properties.js +317 -312
  43. package/esm2015/form-builder/node-type-entry.js +2 -2
  44. package/esm2015/form-builder/string-identifier-dialog.js +5 -7
  45. package/esm2015/form-builder/validation-condition-editor-dialog.js +1 -1
  46. package/esm2015/form-builder/warning-condition-editor-dialog.js +1 -1
  47. package/esm2015/forms/barcode-field.js +3 -3
  48. package/esm2015/forms/boolean-field.js +3 -3
  49. package/esm2015/forms/date-field.js +2 -2
  50. package/esm2015/forms/date-input-field.js +3 -3
  51. package/esm2015/forms/empty-field.js +3 -3
  52. package/esm2015/forms/field-service.js +42 -42
  53. package/esm2015/forms/field-warning-dialog.js +1 -1
  54. package/esm2015/forms/field.js +2 -2
  55. package/esm2015/forms/form.js +2 -2
  56. package/esm2015/forms/forms-module.js +55 -23
  57. package/esm2015/forms/input-field.js +2 -2
  58. package/esm2015/forms/multiple-choice-field.js +3 -3
  59. package/esm2015/forms/range-field.js +3 -3
  60. package/esm2015/forms/single-choice-field.js +3 -3
  61. package/esm2015/forms/table-field.js +3 -3
  62. package/esm2015/forms/text-field.js +2 -2
  63. package/esm2015/forms/time-field.js +3 -3
  64. package/esm2015/forms/video-url-field.js +2 -2
  65. package/esm2015/forms/warning-alert-service.js +1 -1
  66. package/esm2015/image/image-module.js +4 -11
  67. package/esm2015/image/image.js +2 -2
  68. package/esm2015/monaco-editor/autocomplete-singleton-model.js +3 -2
  69. package/esm2015/monaco-editor/editor-options-model.js +1 -1
  70. package/esm2015/monaco-editor/monaco-editor-module.js +3 -7
  71. package/esm2015/monaco-editor/monaco-editor.js +3 -3
  72. package/esm2015/node-icon/node-icon-module.js +4 -11
  73. package/esm2015/node-icon/node-icon.js +1 -1
  74. package/esm2015/page-slider/page-slider-module.js +3 -8
  75. package/esm2015/page-slider/page-slider.js +2 -2
  76. package/esm2015/reports/chart-widget.js +2 -2
  77. package/esm2015/reports/filter-widget.js +78 -0
  78. package/esm2015/reports/formula-widget.js +2 -2
  79. package/esm2015/reports/image-container-widget.js +2 -2
  80. package/esm2015/reports/image-widget.js +2 -2
  81. package/esm2015/reports/map-widget.js +2 -2
  82. package/esm2015/reports/page-break-widget.js +2 -2
  83. package/esm2015/reports/public-api.js +2 -1
  84. package/esm2015/reports/report.js +2 -2
  85. package/esm2015/reports/reports-module.js +7 -6
  86. package/esm2015/reports/table-widget.js +3 -3
  87. package/esm2015/reports/text-widget.js +2 -2
  88. package/esm2015/reports/widget.js +7 -4
  89. package/esm2015/time/time-module.js +4 -12
  90. package/esm2015/time/time.js +3 -3
  91. package/fesm2015/barcode.js +3 -7
  92. package/fesm2015/barcode.js.map +1 -1
  93. package/fesm2015/calendar.js +5 -17
  94. package/fesm2015/calendar.js.map +1 -1
  95. package/fesm2015/checkbox-group.js +4 -14
  96. package/fesm2015/checkbox-group.js.map +1 -1
  97. package/fesm2015/form-builder.js +521 -485
  98. package/fesm2015/form-builder.js.map +1 -1
  99. package/fesm2015/forms.js +95 -63
  100. package/fesm2015/forms.js.map +1 -1
  101. package/fesm2015/image.js +3 -10
  102. package/fesm2015/image.js.map +1 -1
  103. package/fesm2015/monaco-editor.js +5 -8
  104. package/fesm2015/monaco-editor.js.map +1 -1
  105. package/fesm2015/node-icon.js +3 -10
  106. package/fesm2015/node-icon.js.map +1 -1
  107. package/fesm2015/page-slider.js +2 -7
  108. package/fesm2015/page-slider.js.map +1 -1
  109. package/fesm2015/reports.js +89 -13
  110. package/fesm2015/reports.js.map +1 -1
  111. package/fesm2015/time.js +4 -12
  112. package/fesm2015/time.js.map +1 -1
  113. package/form-builder/index.metadata.json +1 -1
  114. package/form-builder/node-properties.d.ts +1 -0
  115. package/forms/index.metadata.json +1 -1
  116. package/image/index.metadata.json +1 -1
  117. package/monaco-editor/index.metadata.json +1 -1
  118. package/node-icon/index.metadata.json +1 -1
  119. package/package.json +2 -4
  120. package/page-slider/index.metadata.json +1 -1
  121. package/{report-builder/widget-toolbar-button.d.ts → reports/filter-widget.d.ts} +11 -5
  122. package/reports/index.metadata.json +1 -1
  123. package/reports/public-api.d.ts +1 -0
  124. package/time/index.metadata.json +1 -1
  125. package/bundles/material-report-builder.umd.js +0 -5814
  126. package/bundles/material-report-builder.umd.js.map +0 -1
  127. package/esm2015/report-builder/column.js +0 -97
  128. package/esm2015/report-builder/condition-editor.js +0 -159
  129. package/esm2015/report-builder/content.js +0 -255
  130. package/esm2015/report-builder/custom-widget-dialog.js +0 -51
  131. package/esm2015/report-builder/custom-widget-toolbar-button.js +0 -70
  132. package/esm2015/report-builder/custom-widgets-toolbar.js +0 -124
  133. package/esm2015/report-builder/forms-analyzer-dialog.js +0 -315
  134. package/esm2015/report-builder/forms-analyzer.js +0 -264
  135. package/esm2015/report-builder/image-filter.js +0 -32
  136. package/esm2015/report-builder/image-group.js +0 -106
  137. package/esm2015/report-builder/index.js +0 -25
  138. package/esm2015/report-builder/models.js +0 -23
  139. package/esm2015/report-builder/operations.js +0 -23
  140. package/esm2015/report-builder/properties.js +0 -765
  141. package/esm2015/report-builder/public-api.js +0 -26
  142. package/esm2015/report-builder/quill-editor.js +0 -299
  143. package/esm2015/report-builder/renderer-widget.js +0 -238
  144. package/esm2015/report-builder/report-builder-drag-data.js +0 -23
  145. package/esm2015/report-builder/report-builder-module.js +0 -114
  146. package/esm2015/report-builder/report-builder-service.js +0 -1685
  147. package/esm2015/report-builder/report-builder.externs.js +0 -6
  148. package/esm2015/report-builder/report-builder.js +0 -69
  149. package/esm2015/report-builder/theme-color-dialog.js +0 -90
  150. package/esm2015/report-builder/theme-color.js +0 -215
  151. package/esm2015/report-builder/tokens.js +0 -24
  152. package/esm2015/report-builder/toolbar-dialog.js +0 -56
  153. package/esm2015/report-builder/toolbar.js +0 -90
  154. package/esm2015/report-builder/utils.js +0 -48
  155. package/esm2015/report-builder/widget-toolbar-button.js +0 -47
  156. package/esm2015/report-builder/widgets-row-buttons.js +0 -133
  157. package/esm2015/report-builder/widgets-toolbar.js +0 -79
  158. package/fesm2015/report-builder.js +0 -5332
  159. package/fesm2015/report-builder.js.map +0 -1
  160. package/report-builder/_report-builder.scss +0 -0
  161. package/report-builder/column.d.ts +0 -63
  162. package/report-builder/condition-editor.d.ts +0 -67
  163. package/report-builder/content.d.ts +0 -142
  164. package/report-builder/custom-widget-dialog.d.ts +0 -31
  165. package/report-builder/custom-widget-toolbar-button.d.ts +0 -45
  166. package/report-builder/custom-widgets-toolbar.d.ts +0 -71
  167. package/report-builder/forms-analyzer-dialog.d.ts +0 -91
  168. package/report-builder/forms-analyzer.d.ts +0 -102
  169. package/report-builder/image-filter.d.ts +0 -25
  170. package/report-builder/image-group.d.ts +0 -69
  171. package/report-builder/index.d.ts +0 -24
  172. package/report-builder/index.metadata.json +0 -1
  173. package/report-builder/models.d.ts +0 -43
  174. package/report-builder/operations.d.ts +0 -45
  175. package/report-builder/package.json +0 -9
  176. package/report-builder/properties.d.ts +0 -365
  177. package/report-builder/public-api.d.ts +0 -26
  178. package/report-builder/quill-editor.d.ts +0 -113
  179. package/report-builder/renderer-widget.d.ts +0 -80
  180. package/report-builder/report-builder-drag-data.d.ts +0 -32
  181. package/report-builder/report-builder-module.d.ts +0 -23
  182. package/report-builder/report-builder-service.d.ts +0 -722
  183. package/report-builder/report-builder.d.ts +0 -36
  184. package/report-builder/theme-color-dialog.d.ts +0 -42
  185. package/report-builder/theme-color.d.ts +0 -108
  186. package/report-builder/tokens.d.ts +0 -24
  187. package/report-builder/toolbar-dialog.d.ts +0 -30
  188. package/report-builder/toolbar.d.ts +0 -48
  189. package/report-builder/utils.d.ts +0 -29
  190. package/report-builder/widgets-row-buttons.d.ts +0 -57
  191. package/report-builder/widgets-toolbar.d.ts +0 -44
@@ -1,36 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfReport } from '@ajf/core/reports';
23
- import { AfterContentInit } from '@angular/core';
24
- import { MatSidenav } from '@angular/material/sidenav';
25
- import { AjfReportBuilderService } from './report-builder-service';
26
- export declare class AjfReportBuilder implements AfterContentInit {
27
- private _service;
28
- startSidenav: MatSidenav;
29
- private _init;
30
- private _report;
31
- get report(): AjfReport;
32
- set report(report: AjfReport);
33
- constructor(_service: AjfReportBuilderService);
34
- ngAfterContentInit(): void;
35
- private _setCurrentReport;
36
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfWidget } from '@ajf/core/reports';
23
- import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
24
- import { MatDialogRef } from '@angular/material/dialog';
25
- import { AjfReportBuilderService } from './report-builder-service';
26
- export declare class AjfReportBuilderThemeColorDialog implements OnInit, AfterViewInit, OnDestroy {
27
- private _service;
28
- private _dialogRef;
29
- elem: any;
30
- currentWidget: AjfWidget | null;
31
- currentColor: string;
32
- section: string;
33
- private _currentWidgetSub;
34
- constructor(_service: AjfReportBuilderService, _dialogRef: MatDialogRef<AjfReportBuilderThemeColorDialog>);
35
- setWidgetStyles(value: any): void;
36
- setStyle(): void;
37
- addCustomColor(): void;
38
- close(): void;
39
- ngOnInit(): void;
40
- ngAfterViewInit(): void;
41
- ngOnDestroy(): void;
42
- }
@@ -1,108 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfWidget } from '@ajf/core/reports';
23
- import { OnDestroy, OnInit } from '@angular/core';
24
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
25
- import { Observable } from 'rxjs';
26
- import { AjfReportBuilderService } from './report-builder-service';
27
- import { AjfReportBuilderThemeColorDialog } from './theme-color-dialog';
28
- /**
29
- * this component manages the report text
30
- *
31
- * @export
32
- */
33
- export declare class AjfReportBuilderThemeColor implements OnInit, OnDestroy {
34
- private _service;
35
- dialog: MatDialog;
36
- currentWidget: AjfWidget | null;
37
- alphaColor: number;
38
- colors: string[];
39
- currentColor: string;
40
- getColorWidget: Observable<string>;
41
- dialogRef: MatDialogRef<AjfReportBuilderThemeColorDialog>;
42
- styleBackgroundColor: string;
43
- styleColor: string;
44
- section: string;
45
- label: string;
46
- init: string;
47
- /**
48
- * the name of the section that contains the currentWidget
49
- *
50
- * @memberOf AjfReportBuilderProperties
51
- */
52
- origin: string;
53
- private _colorsSub;
54
- private _currentWidgetSub;
55
- private _originSub;
56
- private _headerStyleSub;
57
- private _contentStylesSub;
58
- private _footerStylesSub;
59
- constructor(_service: AjfReportBuilderService, dialog: MatDialog);
60
- setStyles(value: any): void;
61
- setChartStyle(value: any): void;
62
- setAlphaColor(value: any): void;
63
- /**
64
- * call to service to add new style to widget
65
- *
66
- * @param label
67
- * @param value
68
- *
69
- * @memberOf AjfReportBuilderProperties
70
- */
71
- setWidgetStyles(value: any): void;
72
- /**
73
- * call to service to add new style to section
74
- *
75
- * @param label
76
- * @param value
77
- *
78
- * @memberOf AjfReportBuilderProperties
79
- */
80
- setSectionStyles(value: any): void;
81
- /**
82
- * call to service to add new style to report
83
- *
84
- * @param label
85
- * @param value
86
- *
87
- * @memberOf AjfReportBuilderProperties
88
- */
89
- setReportStyles(value: any): void;
90
- /**
91
- * call to service to add background color to current chart
92
- *
93
- *
94
- * @memberOf AjfReportBuilderProperties
95
- */
96
- addChartBackgroundColor(value: any): void;
97
- /**
98
- * call to service to add border color to current chart
99
- *
100
- *
101
- * @memberOf AjfReportBuilderProperties
102
- */
103
- addChartBorderColor(value: any): void;
104
- setStyle(): void;
105
- openDialog(): void;
106
- ngOnInit(): void;
107
- ngOnDestroy(): void;
108
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { InjectionToken } from '@angular/core';
23
- import { AjfReportsConfig } from './models';
24
- export declare const AJF_REPORTS_CONFIG: InjectionToken<AjfReportsConfig>;
@@ -1,30 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { MatDialogRef } from '@angular/material/dialog';
23
- import { AjfReportBuilderService } from './report-builder-service';
24
- export declare class AjfReportBuilderToolbarDialog {
25
- private _service;
26
- private _dialogRef;
27
- constructor(_service: AjfReportBuilderService, _dialogRef: MatDialogRef<AjfReportBuilderToolbarDialog>);
28
- resetReport(): void;
29
- close(): void;
30
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
23
- import { EventEmitter } from '@angular/core';
24
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
25
- import { Observable } from 'rxjs';
26
- import { AjfReportBuilderDragData } from './report-builder-drag-data';
27
- import { AjfReportBuilderService } from './report-builder-service';
28
- import { AjfReportBuilderToolbarDialog } from './toolbar-dialog';
29
- export declare class AjfReportBuilderToolbar {
30
- private _service;
31
- dialog: MatDialog;
32
- addClick: EventEmitter<any>;
33
- dialogRef: MatDialogRef<AjfReportBuilderToolbarDialog>;
34
- zoom: boolean;
35
- lastJson: string;
36
- emptyContent: Observable<boolean>;
37
- constructor(_service: AjfReportBuilderService, dialog: MatDialog);
38
- canDropPredicate(item: CdkDrag<AjfReportBuilderDragData>): boolean;
39
- JSONRequest(): void;
40
- /**
41
- * this method will pass event to event emitter
42
- */
43
- onAddClick(event: any): void;
44
- addToList(event: CdkDragDrop<AjfReportBuilderDragData>): void;
45
- undoLastOperation(): void;
46
- isZoomed(): void;
47
- openDialog(): void;
48
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfWidgetType } from '@ajf/core/reports';
23
- export declare function ajfReportBuilderWidgetToString(widgetType: string): string;
24
- export declare function ajfWidgetTypeStringToIcon(widgetType: string): string;
25
- export declare function ajfWidgetTypeToIcon(widgetType: AjfWidgetType): string;
26
- export declare function ajfWidgetTypeStringToLabel(widgetType: string): string;
27
- export declare function ajfWidgetTypeToLabel(type: AjfWidgetType): string;
28
- export declare function widgetReportBuilderIconName(type: AjfWidgetType): string;
29
- export declare function sanitizeConditionString(str: string): string;
@@ -1,57 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfWidget } from '@ajf/core/reports';
23
- import { OnDestroy, OnInit } from '@angular/core';
24
- import { AjfReportBuilderService } from './report-builder-service';
25
- export declare class AjfReportBuilderWidgetsRowButtons implements OnDestroy, OnInit {
26
- private _service;
27
- from: string;
28
- fromWidget: AjfWidget;
29
- position: number;
30
- widget: AjfWidget;
31
- child: boolean;
32
- isOver: boolean;
33
- currentWidget: AjfWidget | null;
34
- isClicked: boolean;
35
- color: string[];
36
- widgetIcon: string;
37
- widgetLabel: string;
38
- label: string;
39
- onDragged: boolean;
40
- onOver: boolean;
41
- private _currentWidgetSub;
42
- private _onDraggedSub;
43
- private _onOverSub;
44
- /**
45
- *
46
- * @param private _afjBuilderService: AjfBuilderService
47
- */
48
- constructor(_service: AjfReportBuilderService);
49
- selectedWidget(): void;
50
- remove(): void;
51
- onFocus(): boolean;
52
- changeColumn(direction: string): void;
53
- isColumn(): boolean;
54
- isOneColumn(): boolean;
55
- ngOnInit(): void;
56
- ngOnDestroy(): void;
57
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) Gnucoop soc. coop.
4
- *
5
- * This file is part of the Advanced JSON forms (ajf).
6
- *
7
- * Advanced JSON forms (ajf) is free software: you can redistribute it and/or
8
- * modify it under the terms of the GNU Affero General Public License as
9
- * published by the Free Software Foundation, either version 3 of the License,
10
- * or (at your option) any later version.
11
- *
12
- * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU Affero General Public License
18
- * along with Advanced JSON forms (ajf).
19
- * If not, see http://www.gnu.org/licenses/.
20
- *
21
- */
22
- import { AjfReportBuilderService } from './report-builder-service';
23
- export declare class AjfReportBuilderWidgetsToolbar {
24
- private _service;
25
- chartTypes: string[];
26
- widgetTypes: string[];
27
- /**
28
- *
29
- * @param private _afjBuilderService: AjfBuilderService
30
- */
31
- constructor(_service: AjfReportBuilderService);
32
- /**
33
- * sign the start of mouse drag with 200 ms of delay
34
- *
35
- * @memberOf AjfReportBuilderContent
36
- */
37
- onDragStartHandler(): void;
38
- /**
39
- * sign the end of mouse drag
40
- *
41
- * @memberOf AjfReportBuilderContent
42
- */
43
- onDragEndHandler(): void;
44
- }