@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.
- package/bundles/material-barcode.umd.js +3 -7
- package/bundles/material-barcode.umd.js.map +1 -1
- package/bundles/material-calendar.umd.js +5 -17
- package/bundles/material-calendar.umd.js.map +1 -1
- package/bundles/material-checkbox-group.umd.js +4 -14
- package/bundles/material-checkbox-group.umd.js.map +1 -1
- package/bundles/material-form-builder.umd.js +523 -484
- package/bundles/material-form-builder.umd.js.map +1 -1
- package/bundles/material-forms.umd.js +95 -63
- package/bundles/material-forms.umd.js.map +1 -1
- package/bundles/material-image.umd.js +3 -10
- package/bundles/material-image.umd.js.map +1 -1
- package/bundles/material-monaco-editor.umd.js +4 -7
- package/bundles/material-monaco-editor.umd.js.map +1 -1
- package/bundles/material-node-icon.umd.js +3 -10
- package/bundles/material-node-icon.umd.js.map +1 -1
- package/bundles/material-page-slider.umd.js +2 -7
- package/bundles/material-page-slider.umd.js.map +1 -1
- package/bundles/material-reports.umd.js +68 -12
- package/bundles/material-reports.umd.js.map +1 -1
- package/bundles/material-time.umd.js +4 -12
- package/bundles/material-time.umd.js.map +1 -1
- package/calendar/index.metadata.json +1 -1
- package/checkbox-group/index.metadata.json +1 -1
- package/esm2015/barcode/barcode-module.js +3 -7
- package/esm2015/barcode/barcode.js +3 -3
- package/esm2015/calendar/calendar-module.js +4 -14
- package/esm2015/calendar/calendar.js +4 -6
- package/esm2015/checkbox-group/checkbox-group-item.js +3 -3
- package/esm2015/checkbox-group/checkbox-group-module.js +4 -14
- package/esm2015/form-builder/branch-line.js +2 -2
- package/esm2015/form-builder/choices-origin-data-source.js +1 -1
- package/esm2015/form-builder/choices-origin-editor-dialog.js +7 -4
- package/esm2015/form-builder/choices-origin-editor.js +1 -1
- package/esm2015/form-builder/condition-editor-dialog.js +1 -1
- package/esm2015/form-builder/condition-editor.js +9 -8
- package/esm2015/form-builder/form-builder-module.js +29 -14
- package/esm2015/form-builder/form-builder-service.js +132 -125
- package/esm2015/form-builder/form-builder-utils.js +4 -3
- package/esm2015/form-builder/form-builder.js +30 -26
- package/esm2015/form-builder/node-entry.js +7 -5
- package/esm2015/form-builder/node-properties.js +317 -312
- package/esm2015/form-builder/node-type-entry.js +2 -2
- package/esm2015/form-builder/string-identifier-dialog.js +5 -7
- package/esm2015/form-builder/validation-condition-editor-dialog.js +1 -1
- package/esm2015/form-builder/warning-condition-editor-dialog.js +1 -1
- package/esm2015/forms/barcode-field.js +3 -3
- package/esm2015/forms/boolean-field.js +3 -3
- package/esm2015/forms/date-field.js +2 -2
- package/esm2015/forms/date-input-field.js +3 -3
- package/esm2015/forms/empty-field.js +3 -3
- package/esm2015/forms/field-service.js +42 -42
- package/esm2015/forms/field-warning-dialog.js +1 -1
- package/esm2015/forms/field.js +2 -2
- package/esm2015/forms/form.js +2 -2
- package/esm2015/forms/forms-module.js +55 -23
- package/esm2015/forms/input-field.js +2 -2
- package/esm2015/forms/multiple-choice-field.js +3 -3
- package/esm2015/forms/range-field.js +3 -3
- package/esm2015/forms/single-choice-field.js +3 -3
- package/esm2015/forms/table-field.js +3 -3
- package/esm2015/forms/text-field.js +2 -2
- package/esm2015/forms/time-field.js +3 -3
- package/esm2015/forms/video-url-field.js +2 -2
- package/esm2015/forms/warning-alert-service.js +1 -1
- package/esm2015/image/image-module.js +4 -11
- package/esm2015/image/image.js +2 -2
- package/esm2015/monaco-editor/autocomplete-singleton-model.js +3 -2
- package/esm2015/monaco-editor/editor-options-model.js +1 -1
- package/esm2015/monaco-editor/monaco-editor-module.js +3 -7
- package/esm2015/monaco-editor/monaco-editor.js +3 -3
- package/esm2015/node-icon/node-icon-module.js +4 -11
- package/esm2015/node-icon/node-icon.js +1 -1
- package/esm2015/page-slider/page-slider-module.js +3 -8
- package/esm2015/page-slider/page-slider.js +2 -2
- package/esm2015/reports/chart-widget.js +2 -2
- package/esm2015/reports/filter-widget.js +78 -0
- package/esm2015/reports/formula-widget.js +2 -2
- package/esm2015/reports/image-container-widget.js +2 -2
- package/esm2015/reports/image-widget.js +2 -2
- package/esm2015/reports/map-widget.js +2 -2
- package/esm2015/reports/page-break-widget.js +2 -2
- package/esm2015/reports/public-api.js +2 -1
- package/esm2015/reports/report.js +2 -2
- package/esm2015/reports/reports-module.js +7 -6
- package/esm2015/reports/table-widget.js +3 -3
- package/esm2015/reports/text-widget.js +2 -2
- package/esm2015/reports/widget.js +7 -4
- package/esm2015/time/time-module.js +4 -12
- package/esm2015/time/time.js +3 -3
- package/fesm2015/barcode.js +3 -7
- package/fesm2015/barcode.js.map +1 -1
- package/fesm2015/calendar.js +5 -17
- package/fesm2015/calendar.js.map +1 -1
- package/fesm2015/checkbox-group.js +4 -14
- package/fesm2015/checkbox-group.js.map +1 -1
- package/fesm2015/form-builder.js +521 -485
- package/fesm2015/form-builder.js.map +1 -1
- package/fesm2015/forms.js +95 -63
- package/fesm2015/forms.js.map +1 -1
- package/fesm2015/image.js +3 -10
- package/fesm2015/image.js.map +1 -1
- package/fesm2015/monaco-editor.js +5 -8
- package/fesm2015/monaco-editor.js.map +1 -1
- package/fesm2015/node-icon.js +3 -10
- package/fesm2015/node-icon.js.map +1 -1
- package/fesm2015/page-slider.js +2 -7
- package/fesm2015/page-slider.js.map +1 -1
- package/fesm2015/reports.js +89 -13
- package/fesm2015/reports.js.map +1 -1
- package/fesm2015/time.js +4 -12
- package/fesm2015/time.js.map +1 -1
- package/form-builder/index.metadata.json +1 -1
- package/form-builder/node-properties.d.ts +1 -0
- package/forms/index.metadata.json +1 -1
- package/image/index.metadata.json +1 -1
- package/monaco-editor/index.metadata.json +1 -1
- package/node-icon/index.metadata.json +1 -1
- package/package.json +2 -4
- package/page-slider/index.metadata.json +1 -1
- package/{report-builder/widget-toolbar-button.d.ts → reports/filter-widget.d.ts} +11 -5
- package/reports/index.metadata.json +1 -1
- package/reports/public-api.d.ts +1 -0
- package/time/index.metadata.json +1 -1
- package/bundles/material-report-builder.umd.js +0 -5814
- package/bundles/material-report-builder.umd.js.map +0 -1
- package/esm2015/report-builder/column.js +0 -97
- package/esm2015/report-builder/condition-editor.js +0 -159
- package/esm2015/report-builder/content.js +0 -255
- package/esm2015/report-builder/custom-widget-dialog.js +0 -51
- package/esm2015/report-builder/custom-widget-toolbar-button.js +0 -70
- package/esm2015/report-builder/custom-widgets-toolbar.js +0 -124
- package/esm2015/report-builder/forms-analyzer-dialog.js +0 -315
- package/esm2015/report-builder/forms-analyzer.js +0 -264
- package/esm2015/report-builder/image-filter.js +0 -32
- package/esm2015/report-builder/image-group.js +0 -106
- package/esm2015/report-builder/index.js +0 -25
- package/esm2015/report-builder/models.js +0 -23
- package/esm2015/report-builder/operations.js +0 -23
- package/esm2015/report-builder/properties.js +0 -765
- package/esm2015/report-builder/public-api.js +0 -26
- package/esm2015/report-builder/quill-editor.js +0 -299
- package/esm2015/report-builder/renderer-widget.js +0 -238
- package/esm2015/report-builder/report-builder-drag-data.js +0 -23
- package/esm2015/report-builder/report-builder-module.js +0 -114
- package/esm2015/report-builder/report-builder-service.js +0 -1685
- package/esm2015/report-builder/report-builder.externs.js +0 -6
- package/esm2015/report-builder/report-builder.js +0 -69
- package/esm2015/report-builder/theme-color-dialog.js +0 -90
- package/esm2015/report-builder/theme-color.js +0 -215
- package/esm2015/report-builder/tokens.js +0 -24
- package/esm2015/report-builder/toolbar-dialog.js +0 -56
- package/esm2015/report-builder/toolbar.js +0 -90
- package/esm2015/report-builder/utils.js +0 -48
- package/esm2015/report-builder/widget-toolbar-button.js +0 -47
- package/esm2015/report-builder/widgets-row-buttons.js +0 -133
- package/esm2015/report-builder/widgets-toolbar.js +0 -79
- package/fesm2015/report-builder.js +0 -5332
- package/fesm2015/report-builder.js.map +0 -1
- package/report-builder/_report-builder.scss +0 -0
- package/report-builder/column.d.ts +0 -63
- package/report-builder/condition-editor.d.ts +0 -67
- package/report-builder/content.d.ts +0 -142
- package/report-builder/custom-widget-dialog.d.ts +0 -31
- package/report-builder/custom-widget-toolbar-button.d.ts +0 -45
- package/report-builder/custom-widgets-toolbar.d.ts +0 -71
- package/report-builder/forms-analyzer-dialog.d.ts +0 -91
- package/report-builder/forms-analyzer.d.ts +0 -102
- package/report-builder/image-filter.d.ts +0 -25
- package/report-builder/image-group.d.ts +0 -69
- package/report-builder/index.d.ts +0 -24
- package/report-builder/index.metadata.json +0 -1
- package/report-builder/models.d.ts +0 -43
- package/report-builder/operations.d.ts +0 -45
- package/report-builder/package.json +0 -9
- package/report-builder/properties.d.ts +0 -365
- package/report-builder/public-api.d.ts +0 -26
- package/report-builder/quill-editor.d.ts +0 -113
- package/report-builder/renderer-widget.d.ts +0 -80
- package/report-builder/report-builder-drag-data.d.ts +0 -32
- package/report-builder/report-builder-module.d.ts +0 -23
- package/report-builder/report-builder-service.d.ts +0 -722
- package/report-builder/report-builder.d.ts +0 -36
- package/report-builder/theme-color-dialog.d.ts +0 -42
- package/report-builder/theme-color.d.ts +0 -108
- package/report-builder/tokens.d.ts +0 -24
- package/report-builder/toolbar-dialog.d.ts +0 -30
- package/report-builder/toolbar.d.ts +0 -48
- package/report-builder/utils.d.ts +0 -29
- package/report-builder/widgets-row-buttons.d.ts +0 -57
- 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
|
-
}
|