@ajf/material 13.0.0-next.9 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/{report-builder/index.d.ts → barcode/barcode_public_index.d.ts} +1 -1
  2. package/barcode/index.d.ts +19 -1
  3. package/barcode/package.json +2 -2
  4. package/calendar/calendar_public_index.d.ts +4 -0
  5. package/calendar/index.d.ts +19 -1
  6. package/calendar/package.json +2 -2
  7. package/checkbox-group/checkbox-group_public_index.d.ts +4 -0
  8. package/checkbox-group/index.d.ts +19 -1
  9. package/checkbox-group/package.json +2 -2
  10. package/esm2020/barcode/barcode-module.mjs +7 -11
  11. package/esm2020/barcode/barcode.mjs +6 -6
  12. package/esm2020/barcode/barcode_public_index.mjs +5 -0
  13. package/esm2020/barcode/index.mjs +20 -2
  14. package/esm2020/calendar/calendar-module.mjs +8 -28
  15. package/esm2020/calendar/calendar.mjs +7 -11
  16. package/esm2020/calendar/calendar_public_index.mjs +5 -0
  17. package/esm2020/calendar/index.mjs +20 -2
  18. package/esm2020/checkbox-group/checkbox-group-item.mjs +6 -6
  19. package/esm2020/checkbox-group/checkbox-group-module.mjs +8 -27
  20. package/esm2020/checkbox-group/checkbox-group_public_index.mjs +5 -0
  21. package/esm2020/checkbox-group/index.mjs +20 -2
  22. package/esm2020/form-builder/branch-line.mjs +5 -5
  23. package/esm2020/form-builder/choices-origin-data-source.mjs +1 -1
  24. package/esm2020/form-builder/choices-origin-editor-dialog.mjs +10 -7
  25. package/esm2020/form-builder/choices-origin-editor.mjs +4 -4
  26. package/esm2020/form-builder/condition-editor-dialog.mjs +4 -4
  27. package/esm2020/form-builder/condition-editor.mjs +12 -11
  28. package/esm2020/form-builder/form-builder-module.mjs +85 -34
  29. package/esm2020/form-builder/form-builder-service.mjs +135 -128
  30. package/esm2020/form-builder/form-builder-utils.mjs +4 -3
  31. package/esm2020/form-builder/form-builder.mjs +33 -29
  32. package/esm2020/form-builder/form-builder_public_index.mjs +5 -0
  33. package/esm2020/form-builder/index.mjs +20 -2
  34. package/esm2020/form-builder/node-entry.mjs +10 -8
  35. package/esm2020/form-builder/node-properties.mjs +320 -315
  36. package/esm2020/form-builder/node-type-entry.mjs +5 -5
  37. package/esm2020/form-builder/string-identifier-dialog.mjs +8 -10
  38. package/esm2020/form-builder/validation-condition-editor-dialog.mjs +4 -4
  39. package/esm2020/form-builder/warning-condition-editor-dialog.mjs +4 -4
  40. package/esm2020/forms/barcode-field.mjs +6 -6
  41. package/esm2020/forms/boolean-field.mjs +6 -6
  42. package/esm2020/forms/date-field.mjs +5 -5
  43. package/esm2020/forms/date-input-field.mjs +6 -6
  44. package/esm2020/forms/empty-field.mjs +6 -6
  45. package/esm2020/forms/field-service.mjs +45 -45
  46. package/esm2020/forms/field-warning-dialog.mjs +4 -4
  47. package/esm2020/forms/field.mjs +5 -5
  48. package/esm2020/forms/form.mjs +5 -5
  49. package/esm2020/forms/forms-module.mjs +119 -43
  50. package/esm2020/forms/forms_public_index.mjs +5 -0
  51. package/esm2020/forms/index.mjs +20 -2
  52. package/esm2020/forms/input-field.mjs +5 -5
  53. package/esm2020/forms/multiple-choice-field.mjs +6 -6
  54. package/esm2020/forms/range-field.mjs +6 -6
  55. package/esm2020/forms/single-choice-field.mjs +6 -6
  56. package/esm2020/forms/table-field.mjs +6 -6
  57. package/esm2020/forms/text-field.mjs +5 -5
  58. package/esm2020/forms/time-field.mjs +6 -6
  59. package/esm2020/forms/video-url-field.mjs +5 -5
  60. package/esm2020/forms/warning-alert-service.mjs +4 -4
  61. package/esm2020/image/image-module.mjs +8 -19
  62. package/esm2020/image/image.mjs +5 -5
  63. package/esm2020/image/image_public_index.mjs +5 -0
  64. package/esm2020/image/index.mjs +20 -2
  65. package/esm2020/monaco-editor/autocomplete-singleton-model.mjs +3 -2
  66. package/esm2020/monaco-editor/editor-options-model.mjs +1 -1
  67. package/esm2020/monaco-editor/index.mjs +20 -2
  68. package/esm2020/monaco-editor/monaco-editor-module.mjs +7 -11
  69. package/esm2020/monaco-editor/monaco-editor.mjs +6 -6
  70. package/esm2020/monaco-editor/monaco-editor_public_index.mjs +5 -0
  71. package/esm2020/node-icon/index.mjs +20 -2
  72. package/esm2020/node-icon/node-icon-module.mjs +8 -19
  73. package/esm2020/node-icon/node-icon.mjs +4 -4
  74. package/esm2020/node-icon/node-icon_public_index.mjs +5 -0
  75. package/esm2020/page-slider/index.mjs +20 -2
  76. package/esm2020/page-slider/page-slider-module.mjs +8 -14
  77. package/esm2020/page-slider/page-slider.mjs +5 -5
  78. package/esm2020/page-slider/page-slider_public_index.mjs +5 -0
  79. package/esm2020/reports/chart-widget.mjs +5 -5
  80. package/esm2020/reports/filter-widget.mjs +71 -0
  81. package/esm2020/reports/formula-widget.mjs +5 -5
  82. package/esm2020/reports/image-container-widget.mjs +5 -5
  83. package/esm2020/reports/image-widget.mjs +5 -5
  84. package/esm2020/reports/index.mjs +20 -2
  85. package/esm2020/reports/map-widget.mjs +5 -5
  86. package/esm2020/reports/page-break-widget.mjs +5 -5
  87. package/esm2020/reports/public-api.mjs +2 -1
  88. package/esm2020/reports/report.mjs +5 -5
  89. package/esm2020/reports/reports-module.mjs +15 -12
  90. package/esm2020/reports/reports_public_index.mjs +5 -0
  91. package/esm2020/reports/table-widget.mjs +6 -6
  92. package/esm2020/reports/text-widget.mjs +5 -5
  93. package/esm2020/reports/widget.mjs +19 -16
  94. package/esm2020/time/index.mjs +20 -2
  95. package/esm2020/time/time-module.mjs +8 -22
  96. package/esm2020/time/time.mjs +6 -6
  97. package/esm2020/time/time_public_index.mjs +5 -0
  98. package/fesm2015/barcode.mjs +32 -14
  99. package/fesm2015/barcode.mjs.map +1 -1
  100. package/fesm2015/calendar.mjs +34 -36
  101. package/fesm2015/calendar.mjs.map +1 -1
  102. package/fesm2015/checkbox-group.mjs +33 -30
  103. package/fesm2015/checkbox-group.mjs.map +1 -1
  104. package/fesm2015/form-builder.mjs +638 -544
  105. package/fesm2015/form-builder.mjs.map +1 -1
  106. package/fesm2015/forms.mjs +235 -137
  107. package/fesm2015/forms.mjs.map +1 -1
  108. package/fesm2015/image.mjs +32 -21
  109. package/fesm2015/image.mjs.map +1 -1
  110. package/fesm2015/monaco-editor.mjs +34 -15
  111. package/fesm2015/monaco-editor.mjs.map +1 -1
  112. package/fesm2015/node-icon.mjs +32 -21
  113. package/fesm2015/node-icon.mjs.map +1 -1
  114. package/fesm2015/page-slider.mjs +32 -16
  115. package/fesm2015/page-slider.mjs.map +1 -1
  116. package/fesm2015/reports.mjs +156 -66
  117. package/fesm2015/reports.mjs.map +1 -1
  118. package/fesm2015/time.mjs +33 -25
  119. package/fesm2015/time.mjs.map +1 -1
  120. package/fesm2020/barcode.mjs +32 -14
  121. package/fesm2020/barcode.mjs.map +1 -1
  122. package/fesm2020/calendar.mjs +34 -36
  123. package/fesm2020/calendar.mjs.map +1 -1
  124. package/fesm2020/checkbox-group.mjs +33 -30
  125. package/fesm2020/checkbox-group.mjs.map +1 -1
  126. package/fesm2020/form-builder.mjs +638 -544
  127. package/fesm2020/form-builder.mjs.map +1 -1
  128. package/fesm2020/forms.mjs +235 -137
  129. package/fesm2020/forms.mjs.map +1 -1
  130. package/fesm2020/image.mjs +32 -21
  131. package/fesm2020/image.mjs.map +1 -1
  132. package/fesm2020/monaco-editor.mjs +34 -15
  133. package/fesm2020/monaco-editor.mjs.map +1 -1
  134. package/fesm2020/node-icon.mjs +32 -21
  135. package/fesm2020/node-icon.mjs.map +1 -1
  136. package/fesm2020/page-slider.mjs +32 -16
  137. package/fesm2020/page-slider.mjs.map +1 -1
  138. package/fesm2020/reports.mjs +156 -66
  139. package/fesm2020/reports.mjs.map +1 -1
  140. package/fesm2020/time.mjs +33 -25
  141. package/fesm2020/time.mjs.map +1 -1
  142. package/form-builder/form-builder_public_index.d.ts +4 -0
  143. package/form-builder/index.d.ts +19 -1
  144. package/form-builder/node-properties.d.ts +1 -0
  145. package/form-builder/package.json +2 -2
  146. package/forms/forms_public_index.d.ts +4 -0
  147. package/forms/index.d.ts +19 -1
  148. package/forms/package.json +2 -2
  149. package/image/image_public_index.d.ts +4 -0
  150. package/image/index.d.ts +19 -1
  151. package/image/package.json +2 -2
  152. package/monaco-editor/index.d.ts +19 -1
  153. package/monaco-editor/monaco-editor_public_index.d.ts +4 -0
  154. package/monaco-editor/package.json +2 -2
  155. package/node-icon/index.d.ts +19 -1
  156. package/node-icon/node-icon_public_index.d.ts +4 -0
  157. package/node-icon/package.json +2 -2
  158. package/package.json +26 -36
  159. package/page-slider/index.d.ts +19 -1
  160. package/page-slider/package.json +2 -2
  161. package/page-slider/page-slider_public_index.d.ts +4 -0
  162. package/reports/filter-widget.d.ts +37 -0
  163. package/reports/index.d.ts +19 -1
  164. package/reports/package.json +2 -2
  165. package/reports/public-api.d.ts +1 -0
  166. package/reports/reports-module.d.ts +21 -19
  167. package/reports/reports_public_index.d.ts +4 -0
  168. package/time/index.d.ts +19 -1
  169. package/time/package.json +2 -2
  170. package/time/time_public_index.d.ts +4 -0
  171. package/esm2020/report-builder/column.mjs +0 -76
  172. package/esm2020/report-builder/condition-editor.mjs +0 -162
  173. package/esm2020/report-builder/content.mjs +0 -256
  174. package/esm2020/report-builder/custom-widget-dialog.mjs +0 -50
  175. package/esm2020/report-builder/custom-widget-toolbar-button.mjs +0 -67
  176. package/esm2020/report-builder/custom-widgets-toolbar.mjs +0 -124
  177. package/esm2020/report-builder/forms-analyzer-dialog.mjs +0 -328
  178. package/esm2020/report-builder/forms-analyzer.mjs +0 -244
  179. package/esm2020/report-builder/image-filter.mjs +0 -38
  180. package/esm2020/report-builder/image-group.mjs +0 -112
  181. package/esm2020/report-builder/index.mjs +0 -5
  182. package/esm2020/report-builder/models.mjs +0 -23
  183. package/esm2020/report-builder/operations.mjs +0 -23
  184. package/esm2020/report-builder/properties.mjs +0 -761
  185. package/esm2020/report-builder/public-api.mjs +0 -26
  186. package/esm2020/report-builder/quill-editor.mjs +0 -307
  187. package/esm2020/report-builder/renderer-widget.mjs +0 -243
  188. package/esm2020/report-builder/report-builder-drag-data.mjs +0 -23
  189. package/esm2020/report-builder/report-builder-module.mjs +0 -155
  190. package/esm2020/report-builder/report-builder-service.mjs +0 -1690
  191. package/esm2020/report-builder/report-builder.mjs +0 -51
  192. package/esm2020/report-builder/theme-color-dialog.mjs +0 -67
  193. package/esm2020/report-builder/theme-color.mjs +0 -196
  194. package/esm2020/report-builder/tokens.mjs +0 -24
  195. package/esm2020/report-builder/toolbar-dialog.mjs +0 -54
  196. package/esm2020/report-builder/toolbar.mjs +0 -91
  197. package/esm2020/report-builder/utils.mjs +0 -48
  198. package/esm2020/report-builder/widget-toolbar-button.mjs +0 -46
  199. package/esm2020/report-builder/widgets-row-buttons.mjs +0 -136
  200. package/esm2020/report-builder/widgets-toolbar.mjs +0 -80
  201. package/fesm2015/report-builder.mjs +0 -5184
  202. package/fesm2015/report-builder.mjs.map +0 -1
  203. package/fesm2020/report-builder.mjs +0 -5182
  204. package/fesm2020/report-builder.mjs.map +0 -1
  205. package/report-builder/_report-builder.scss +0 -0
  206. package/report-builder/column.d.ts +0 -66
  207. package/report-builder/condition-editor.d.ts +0 -70
  208. package/report-builder/content.d.ts +0 -145
  209. package/report-builder/custom-widget-dialog.d.ts +0 -13
  210. package/report-builder/custom-widget-toolbar-button.d.ts +0 -48
  211. package/report-builder/custom-widgets-toolbar.d.ts +0 -74
  212. package/report-builder/forms-analyzer-dialog.d.ts +0 -94
  213. package/report-builder/forms-analyzer.d.ts +0 -105
  214. package/report-builder/image-filter.d.ts +0 -29
  215. package/report-builder/image-group.d.ts +0 -72
  216. package/report-builder/models.d.ts +0 -43
  217. package/report-builder/operations.d.ts +0 -45
  218. package/report-builder/package.json +0 -9
  219. package/report-builder/properties.d.ts +0 -368
  220. package/report-builder/public-api.d.ts +0 -26
  221. package/report-builder/quill-editor.d.ts +0 -116
  222. package/report-builder/renderer-widget.d.ts +0 -83
  223. package/report-builder/report-builder-drag-data.d.ts +0 -32
  224. package/report-builder/report-builder-module.d.ts +0 -52
  225. package/report-builder/report-builder-service.d.ts +0 -725
  226. package/report-builder/report-builder.d.ts +0 -39
  227. package/report-builder/theme-color-dialog.d.ts +0 -45
  228. package/report-builder/theme-color.d.ts +0 -111
  229. package/report-builder/tokens.d.ts +0 -24
  230. package/report-builder/toolbar-dialog.d.ts +0 -12
  231. package/report-builder/toolbar.d.ts +0 -30
  232. package/report-builder/utils.d.ts +0 -29
  233. package/report-builder/widget-toolbar-button.d.ts +0 -31
  234. package/report-builder/widgets-row-buttons.d.ts +0 -60
  235. package/report-builder/widgets-toolbar.d.ts +0 -26
File without changes
@@ -1,66 +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 { AjfColumnWidget } from '@ajf/core/reports';
23
- import { OnDestroy, OnInit } from '@angular/core';
24
- import { AjfReportBuilderService } from './report-builder-service';
25
- import * as i0 from "@angular/core";
26
- /**
27
- * this component manages the report text
28
- *
29
- * @export
30
- */
31
- export declare class AjfReportBuilderColumn implements OnDestroy, OnInit {
32
- private _service;
33
- /**
34
- * if true mouse event is on dragged status
35
- *
36
- * @memberOf AjfReportBuilderContent
37
- */
38
- showActions: boolean;
39
- layoutShow: boolean;
40
- onDragged: boolean;
41
- /**
42
- * is the array of values
43
- *
44
- * @memberOf TableComponent
45
- */
46
- column: AjfColumnWidget;
47
- private _onDraggedSub;
48
- addToList(event: any, idx: number, toColumn: AjfColumnWidget): void;
49
- /**
50
- * sign the start of mouse drag with 200 ms of delay
51
- *
52
- * @memberOf AjfReportBuilderContent
53
- */
54
- onDragStartHandler(): void;
55
- /**
56
- * sign the end of mouse drag
57
- *
58
- * @memberOf AjfReportBuilderContent
59
- */
60
- onDragEndHandler(): void;
61
- constructor(_service: AjfReportBuilderService);
62
- ngOnInit(): void;
63
- ngOnDestroy(): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderColumn, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderColumn, "ajf-column", never, { "column": "column"; }, {}, never, never>;
66
- }
@@ -1,70 +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 { AjfCondition } from '@ajf/core/models';
23
- import { OnDestroy, OnInit } from '@angular/core';
24
- import { AjfFormVariables } from './models';
25
- import { AjfReportBuilderService } from './report-builder-service';
26
- import * as i0 from "@angular/core";
27
- export declare class AjfReportBuilderConditionEditor implements OnInit, OnDestroy {
28
- private _service;
29
- visibility: AjfCondition;
30
- formsVariables: AjfFormVariables[];
31
- isValid: boolean;
32
- names: string[];
33
- currentId: number;
34
- conditionText: string;
35
- a: any;
36
- b: any;
37
- conditionTextArea: any;
38
- operators: string[];
39
- private _conditionNamesSub;
40
- /**
41
- * this constructor will init current condition by ajfBuilderservice
42
- * and init condition and availableFieldNames subscriptions
43
- */
44
- constructor(_service: AjfReportBuilderService);
45
- extractNames(formsVariables: AjfFormVariables[]): void;
46
- setCurrent(id: number, index: number): void;
47
- /**
48
- * this method will return success if the current condtion is valid
49
- * @return boolean
50
- */
51
- validateCondition(): boolean;
52
- /**
53
- * this method will append text to json
54
- * @param text : string -
55
- * @param goBackNum : number -
56
- */
57
- appendText(text: string, _goBackNum?: number): void;
58
- checkValidation(): void;
59
- /**
60
- * this method will save current condition
61
- */
62
- saveCondition(): void;
63
- ngOnInit(): void;
64
- /**
65
- * this method will destroy a conditionSubscriptions
66
- */
67
- ngOnDestroy(): void;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderConditionEditor, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderConditionEditor, "ajf-report-builder-condition-editor", never, { "visibility": "visibility"; }, {}, never, never>;
70
- }
@@ -1,145 +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 { AjfStyles, AjfWidget } from '@ajf/core/reports';
23
- import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
24
- import { AfterViewChecked, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
25
- import { Observable } from 'rxjs';
26
- import { AjfReportBuilderDragData } from './report-builder-drag-data';
27
- import { AjfReportBuilderService } from './report-builder-service';
28
- import * as i0 from "@angular/core";
29
- /**
30
- * manage the content page
31
- *
32
- * @export
33
- */
34
- export declare class AjfReportBuilderContent implements OnInit, AfterViewChecked, OnDestroy {
35
- private _service;
36
- private _cdRef;
37
- onMouseOver(): void;
38
- onMouseLeave(): void;
39
- canDropPredicate(dropZones: string[]): (item: CdkDrag<AjfReportBuilderDragData>) => boolean;
40
- reportStyles: Observable<AjfStyles>;
41
- onDragged: boolean;
42
- /**
43
- * observe the status of the fixed zoom
44
- *
45
- * @memberOf AjfReportBuilderContent
46
- */
47
- fixedZoom: boolean;
48
- onDragEnter: any;
49
- show: boolean;
50
- headerWidgets: AjfWidget[];
51
- /**
52
- * observe the css style of header
53
- *
54
- * @memberOf AjfReportBuilderContent
55
- */
56
- headerStyles: Observable<AjfStyles>;
57
- contentWidgets: AjfWidget[];
58
- /**
59
- * observe the css style of content
60
- *
61
- * @memberOf AjfReportBuilderContent
62
- */
63
- contentStyles: Observable<AjfStyles>;
64
- footerWidgets: AjfWidget[];
65
- onOver: boolean;
66
- /**
67
- * observe the css style of footer
68
- *
69
- * @memberOf AjfReportBuilderContent
70
- */
71
- footerStyles: Observable<AjfStyles>;
72
- currentWidget: AjfWidget | null;
73
- /**
74
- * if true mouse event is on dragged status
75
- *
76
- * @memberOf AjfReportBuilderContent
77
- */
78
- showActions: boolean;
79
- private _onDraggedSub;
80
- private _fixedZoomSub;
81
- private _onDragEnterSub;
82
- private _headerWidgetsSub;
83
- private _contentWidgetsSub;
84
- private _footerWidgetsSub;
85
- private _onOverSub;
86
- private _currentWidgetSub;
87
- constructor(_service: AjfReportBuilderService, _cdRef: ChangeDetectorRef);
88
- isLayout(widget: AjfWidget): boolean;
89
- /**
90
- * sign the start of mouse drag with 200 ms of delay
91
- *
92
- * @memberOf AjfReportBuilderContent
93
- */
94
- onDragStartHandler(): void;
95
- /**
96
- * sign the end of mouse drag
97
- *
98
- * @memberOf AjfReportBuilderContent
99
- */
100
- onDragEndHandler(): void;
101
- /**
102
- * sign the enter of mouse drag
103
- *
104
- * @memberOf AjfReportBuilderContent
105
- */
106
- onDragEnterHandler(array: string, index: number | undefined): void;
107
- /**
108
- * sign the leave of mouse drag
109
- *
110
- * @memberOf AjfReportBuilderContent
111
- */
112
- onDragLeaveHandler(): void;
113
- /**
114
- * return true if array and index is === with array and index of onDragEnter
115
- *
116
- * @param array
117
- * @param index
118
- *
119
- * @memberOf AjfReportBuilderContent
120
- */
121
- onDragEnterCheck(array: string, index: number): boolean;
122
- /**
123
- * remove widget element from type array in idx position
124
- *
125
- * @param type can be header content or footer
126
- * @param idx
127
- *
128
- * @memberOf AjfReportBuilderContent
129
- */
130
- remove(type: string, idx: number): void;
131
- /**
132
- * add widget element into type array in idx position
133
- *
134
- * @param type
135
- * @param event
136
- *
137
- * @memberOf AjfReportBuilderContent
138
- */
139
- addToList(arrayTo: string, event: CdkDragDrop<AjfReportBuilderDragData>, to?: number): void;
140
- ngOnInit(): void;
141
- ngAfterViewChecked(): void;
142
- ngOnDestroy(): void;
143
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderContent, never>;
144
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderContent, "ajf-report-builder-content", never, {}, {}, never, never>;
145
- }
@@ -1,13 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { AjfReportBuilderService } from './report-builder-service';
3
- import * as i0 from "@angular/core";
4
- export declare class AjfReportBuilderCustomWidgetDialog {
5
- private _service;
6
- private _dialogRef;
7
- label: string;
8
- position: number;
9
- constructor(_service: AjfReportBuilderService, _dialogRef: MatDialogRef<AjfReportBuilderCustomWidgetDialog>);
10
- changeLabel(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderCustomWidgetDialog, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderCustomWidgetDialog, "custom-widget-dialog", never, { "label": "label"; "position": "position"; }, {}, never, never>;
13
- }
@@ -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 { OnInit } from '@angular/core';
23
- import { AjfReportBuilderService } from './report-builder-service';
24
- import * as i0 from "@angular/core";
25
- export declare class AjfReportBuilderCustomWidgetToolbarButton implements OnInit {
26
- private _service;
27
- widgetType: string;
28
- position: number;
29
- widgetIcon: string;
30
- widgetLabel: string;
31
- customWidgets: any[];
32
- /**
33
- * this constructor will init icon registry
34
- */
35
- constructor(_service: AjfReportBuilderService);
36
- /**
37
- * this method call a service method for remove custom widget
38
- *
39
- * @memberOf AjfReportBuilderCustomWidgetToolbarButton
40
- */
41
- remove(): void;
42
- /**
43
- * this method will init fieldIcon and fieldLabel
44
- */
45
- ngOnInit(): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderCustomWidgetToolbarButton, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderCustomWidgetToolbarButton, "ajf-report-builder-custom-widget-toolbar-button", never, { "widgetType": "widgetType"; "position": "position"; }, {}, never, never>;
48
- }
@@ -1,74 +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 { OnDestroy, OnInit } from '@angular/core';
23
- import { MatDialog } from '@angular/material/dialog';
24
- import { AjfReportBuilderService } from './report-builder-service';
25
- import * as i0 from "@angular/core";
26
- export interface AjfStyles {
27
- [style: string]: any;
28
- }
29
- export interface CustomWidget {
30
- json: string;
31
- type: string;
32
- }
33
- export interface CustomWidgets {
34
- widgets: CustomWidget[];
35
- }
36
- export declare class AjfReportBuilderCustomWidgetsToolbar implements OnDestroy, OnInit {
37
- private _service;
38
- dialog: MatDialog;
39
- customWidgets: CustomWidget[];
40
- private _customWidgetsSub;
41
- private _dialogRef;
42
- private _threeColumnsLayout;
43
- private _fourColumnsLayout;
44
- constructor(_service: AjfReportBuilderService, dialog: MatDialog);
45
- openDialog(idx: number): void;
46
- /**
47
- * sign the start of mouse drag with 200 ms of delay
48
- *
49
- * @memberOf AjfReportBuilderContent
50
- */
51
- onDragStartHandler(): void;
52
- /**
53
- * sign the end of mouse drag
54
- *
55
- * @memberOf AjfReportBuilderContent
56
- */
57
- onDragEndHandler(): void;
58
- /**
59
- * sign the enter of mouse drag
60
- *
61
- * @memberOf AjfReportBuilderContent
62
- */
63
- onDragEnterHandler(array: string, index: number): void;
64
- /**
65
- * sign the leave of mouse drag
66
- *
67
- * @memberOf AjfReportBuilderContent
68
- */
69
- onDragLeaveHandler(): void;
70
- ngOnInit(): void;
71
- ngOnDestroy(): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderCustomWidgetsToolbar, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderCustomWidgetsToolbar, "ajf-report-builder-custom-widgets-toolbar", never, {}, {}, never, never>;
74
- }
@@ -1,94 +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 { AjfValidationService } from '@ajf/core/forms';
23
- import { AjfAggregationType, AjfDataset, AjfWidget } from '@ajf/core/reports';
24
- import { AjfMonacoEditor } from '@ajf/material/monaco-editor';
25
- import { AfterViewChecked, OnDestroy, OnInit } from '@angular/core';
26
- import { MatDialogRef } from '@angular/material/dialog';
27
- import { AjfFormVariables } from './models';
28
- import { AjfReportBuilderService } from './report-builder-service';
29
- import * as i0 from "@angular/core";
30
- export declare const enum AjfDataType {
31
- MainData = 0,
32
- Dataset = 1,
33
- RelatedData = 2,
34
- LENGTH = 3
35
- }
36
- export declare class AjfReportBuilderFormsAnalyzerDialog implements OnInit, AfterViewChecked, OnDestroy {
37
- private _service;
38
- private _dialogRef;
39
- aggregationTypes: string[];
40
- operators: string[];
41
- formulaText: string;
42
- formulaDate: string;
43
- safeFormulaText: string;
44
- label: string;
45
- condition: string;
46
- aggregationType: AjfAggregationType;
47
- dataset: AjfDataset;
48
- currentId: number;
49
- currentIndex: number;
50
- labels: string[];
51
- currentWidget: AjfWidget | null;
52
- formsVariables: AjfFormVariables[];
53
- formsVariablesName: string[];
54
- formsVariablesType: string[];
55
- isValid: boolean;
56
- formula: string;
57
- isFormula: boolean;
58
- labelText: string;
59
- aggregation: number;
60
- init: boolean;
61
- level: number;
62
- index: number;
63
- mainIndex: number;
64
- reference: any;
65
- monacoEditor: AjfMonacoEditor;
66
- private _formAnalyzerSub;
67
- private _currentWidgetSub;
68
- private _first;
69
- constructor(_service: AjfReportBuilderService, _dialogRef: MatDialogRef<AjfReportBuilderFormsAnalyzerDialog>, _: AjfValidationService);
70
- onEditorInit(): void;
71
- private _initFormsVariablesNames;
72
- private _updateVariables;
73
- private _updateFunctions;
74
- private _fieldVarType;
75
- setCurrent(id: number, label: string, index: number): void;
76
- setCurrentId(id: number): void;
77
- setAggregationType(type: AjfAggregationType): void;
78
- checkValidation(): void;
79
- validateFormula(): boolean;
80
- saveDataset(): void;
81
- saveImageFormula(): void;
82
- saveFormulaHtml(): void;
83
- saveChartFormula(): void;
84
- saveTableFormula(): void;
85
- insertVariable(variable: string): void;
86
- setVariable(variable: string): void;
87
- reset(): void;
88
- close(): void;
89
- ngOnInit(): void;
90
- ngAfterViewChecked(): void;
91
- ngOnDestroy(): void;
92
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderFormsAnalyzerDialog, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderFormsAnalyzerDialog, "forms-analyzer-dialog", never, { "formula": "formula"; "isFormula": "isFormula"; "labelText": "labelText"; "aggregation": "aggregation"; "init": "init"; "level": "level"; "index": "index"; "mainIndex": "mainIndex"; "reference": "reference"; }, {}, never, never>;
94
- }
@@ -1,105 +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 { AjfForm } from '@ajf/core/forms';
23
- import { AjfWidget } from '@ajf/core/reports';
24
- import { OnDestroy } from '@angular/core';
25
- import { ThemePalette } from '@angular/material/core';
26
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
27
- import { AjfReportBuilderFormsAnalyzerDialog } from './forms-analyzer-dialog';
28
- import { AjfFormVariables } from './models';
29
- import { AjfReportBuilderService } from './report-builder-service';
30
- import * as i0 from "@angular/core";
31
- /**
32
- * this component provides the support for connect the form fields with the report
33
- *
34
- * @export
35
- */
36
- export declare class AjfReportBuilderFormsAnalyzer implements OnDestroy {
37
- private _service;
38
- dialog: MatDialog;
39
- currentWidget: AjfWidget | null;
40
- forms: AjfForm[];
41
- formsVariables: AjfFormVariables[];
42
- choicesOrigins: any;
43
- dialogRef: MatDialogRef<AjfReportBuilderFormsAnalyzerDialog>;
44
- currentMainDataIndex: number;
45
- private _dataset;
46
- private _currentWidgetSub;
47
- private _formAnalyzerSub;
48
- constructor(_service: AjfReportBuilderService, dialog: MatDialog);
49
- setCurrentIndex(index: number): void;
50
- isSelected(index: number): ThemePalette;
51
- /**
52
- * get the X components label of the chart.
53
- * they are contained in the first row of dataset
54
- *
55
- *
56
- * @memberof AjfReportBuilderFormsAnalyzer
57
- */
58
- getMainData(): string[];
59
- /**
60
- * get the Y components label of the chart.
61
- * they are contained in the first column of dataset
62
- *
63
- *
64
- * @memberof AjfReportBuilderFormsAnalyzer
65
- */
66
- getDataset(): string[];
67
- /**
68
- * get the related data label of the chart.
69
- * they are contained in the row of the Y component
70
- *
71
- *
72
- * @memberof AjfReportBuilderFormsAnalyzer
73
- */
74
- getRelatedData(): string[];
75
- getTableHeader(): string[];
76
- getTableData(): string[];
77
- needMainData(): boolean;
78
- removeMainData(index: number): void;
79
- removeDataset(index: number): void;
80
- removeTableMainData(index: number): void;
81
- removeRelatedData(index: number): void;
82
- removeData(mainIndex: number, index: number): void;
83
- /**
84
- *
85
- *
86
- *
87
- * @param index
88
- * @param editMode
89
- *
90
- * @memberof AjfReportBuilderFormsAnalyzer
91
- */
92
- openDialog(level: number, mainIndex: number, index: number, editMode: boolean): void;
93
- openDialogAddMainData(): void;
94
- openDialogChartEditMainData(): void;
95
- openDialogTableEditMainData(): void;
96
- openDialogChartAddDataset(): void;
97
- openDialogTableAddDataset(): void;
98
- openDialogChartAddDataOfDataset(): void;
99
- openDialogChartEditDataset(): void;
100
- openDialogTableEditDataset(index: number): void;
101
- openDialogChartEditDataOfDataset(index: number): void;
102
- ngOnDestroy(): void;
103
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfReportBuilderFormsAnalyzer, never>;
104
- static ɵcmp: i0.ɵɵComponentDeclaration<AjfReportBuilderFormsAnalyzer, "ajf-report-builder-forms-analyzer", never, {}, {}, never, never>;
105
- }
@@ -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 { PipeTransform } from '@angular/core';
23
- import * as i0 from "@angular/core";
24
- export declare class AjfImageFilterPipe implements PipeTransform {
25
- transform(items: any[], args: any): any;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfImageFilterPipe, never>;
27
- static ɵpipe: i0.ɵɵPipeDeclaration<AjfImageFilterPipe, "ajfImageFilter">;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<AjfImageFilterPipe>;
29
- }