@valtimo/components 4.15.2-next-main.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 (202) hide show
  1. package/bundles/valtimo-components.umd.js +5089 -0
  2. package/bundles/valtimo-components.umd.js.map +1 -0
  3. package/bundles/valtimo-components.umd.min.js +17 -0
  4. package/bundles/valtimo-components.umd.min.js.map +1 -0
  5. package/esm2015/lib/alert/alert.component.js +142 -0
  6. package/esm2015/lib/alert/alert.module.js +28 -0
  7. package/esm2015/lib/alert/alert.service.js +81 -0
  8. package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.component.js +160 -0
  9. package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.module.js +30 -0
  10. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.component.js +93 -0
  11. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.module.js +34 -0
  12. package/esm2015/lib/camunda/form/camunda-form.components.js +37 -0
  13. package/esm2015/lib/camunda/form/camunda-form.module.js +38 -0
  14. package/esm2015/lib/camunda/form/custom/camunda-custom-form.component.js +42 -0
  15. package/esm2015/lib/camunda/form/custom/camunda-custom-form.module.js +34 -0
  16. package/esm2015/lib/camunda/form/generated/camunda-generated-form.component.js +69 -0
  17. package/esm2015/lib/camunda/form/generated/camunda-generated-form.module.js +63 -0
  18. package/esm2015/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.js +28 -0
  19. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +64 -0
  20. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield.service.js +67 -0
  21. package/esm2015/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.js +38 -0
  22. package/esm2015/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +66 -0
  23. package/esm2015/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +31 -0
  24. package/esm2015/lib/camunda/form/generated/formfield/formfield.model.js +16 -0
  25. package/esm2015/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.js +28 -0
  26. package/esm2015/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.js +28 -0
  27. package/esm2015/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.js +28 -0
  28. package/esm2015/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +36 -0
  29. package/esm2015/lib/camunda/form/generated/formfield/validation/date.validators.js +60 -0
  30. package/esm2015/lib/card/card.component.js +37 -0
  31. package/esm2015/lib/card/card.module.js +30 -0
  32. package/esm2015/lib/components.module.js +22 -0
  33. package/esm2015/lib/data-list/data-list.component.js +34 -0
  34. package/esm2015/lib/data-list/data-list.module.js +30 -0
  35. package/esm2015/lib/dropzone/dropzone.component.js +143 -0
  36. package/esm2015/lib/dropzone/dropzone.module.js +32 -0
  37. package/esm2015/lib/field-auto-focus/field-auto-focus.directive.js +35 -0
  38. package/esm2015/lib/field-auto-focus/field-auto-focus.module.js +32 -0
  39. package/esm2015/lib/file-size/file-size.module.js +30 -0
  40. package/esm2015/lib/file-size/file-size.pipe.js +45 -0
  41. package/esm2015/lib/filter-sidebar/filter-sidebar.component.js +46 -0
  42. package/esm2015/lib/filter-sidebar/filter-sidebar.module.js +30 -0
  43. package/esm2015/lib/form-io/form-io-builder.component.js +39 -0
  44. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader-edit-form.js +90 -0
  45. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.component.js +72 -0
  46. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.formio.js +26 -0
  47. package/esm2015/lib/form-io/form-io.component.js +160 -0
  48. package/esm2015/lib/form-io/form-io.module.js +56 -0
  49. package/esm2015/lib/form-io/formio-config.js +22 -0
  50. package/esm2015/lib/form-io/services/form-io-dom.service.js +23 -0
  51. package/esm2015/lib/form-io/services/form-io-state.service.js +24 -0
  52. package/esm2015/lib/left-sidebar/left-sidebar.component.js +114 -0
  53. package/esm2015/lib/left-sidebar/left-sidebar.module.js +34 -0
  54. package/esm2015/lib/list/ListFilterPipe.directive.js +35 -0
  55. package/esm2015/lib/list/list.component.js +177 -0
  56. package/esm2015/lib/list/list.module.js +33 -0
  57. package/esm2015/lib/menu/menu-item-text.component.js +36 -0
  58. package/esm2015/lib/menu/menu-routing.module.js +29 -0
  59. package/esm2015/lib/menu/menu.component.js +65 -0
  60. package/esm2015/lib/menu/menu.init.js +34 -0
  61. package/esm2015/lib/menu/menu.module.js +39 -0
  62. package/esm2015/lib/menu/menu.service.js +127 -0
  63. package/esm2015/lib/menu/submenu-item-text.component.js +33 -0
  64. package/esm2015/lib/modal/modal.component.js +48 -0
  65. package/esm2015/lib/modal/modal.module.js +28 -0
  66. package/esm2015/lib/page-header/page-header.component.js +29 -0
  67. package/esm2015/lib/page-header/page-header.module.js +34 -0
  68. package/esm2015/lib/page-title/page-title.component.js +76 -0
  69. package/esm2015/lib/page-title/page-title.module.js +32 -0
  70. package/esm2015/lib/progress-bar/progress-bar.component.js +26 -0
  71. package/esm2015/lib/progress-bar/progress-bar.module.js +30 -0
  72. package/esm2015/lib/right-sidebar/right-sidebar.component.js +131 -0
  73. package/esm2015/lib/right-sidebar/right-sidebar.module.js +49 -0
  74. package/esm2015/lib/searchable-dropdown/searchable-dropdown.component.js +185 -0
  75. package/esm2015/lib/searchable-dropdown/searchable-dropdown.module.js +29 -0
  76. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.component.js +52 -0
  77. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.module.js +30 -0
  78. package/esm2015/lib/spinner/spinner.component.js +43 -0
  79. package/esm2015/lib/spinner/spinner.module.js +36 -0
  80. package/esm2015/lib/timeline/timeline.component.js +29 -0
  81. package/esm2015/lib/timeline/timeline.module.js +32 -0
  82. package/esm2015/lib/topbar/topbar.component.js +29 -0
  83. package/esm2015/lib/topbar/topbar.module.js +32 -0
  84. package/esm2015/lib/uploader/uploader-drag-drop.directive.js +49 -0
  85. package/esm2015/lib/uploader/uploader.component.js +70 -0
  86. package/esm2015/lib/uploader/uploader.module.js +33 -0
  87. package/esm2015/lib/version/version.service.js +38 -0
  88. package/esm2015/lib/view-content/type-converters/booleanTypeConverter.js +29 -0
  89. package/esm2015/lib/view-content/type-converters/dateTypeConverter.js +30 -0
  90. package/esm2015/lib/view-content/type-converters/enumTypeConverter.js +24 -0
  91. package/esm2015/lib/view-content/type-converters/relatedFilesTypeConverter.js +24 -0
  92. package/esm2015/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +27 -0
  93. package/esm2015/lib/view-content/type-converters/stringTypeConverter.js +24 -0
  94. package/esm2015/lib/view-content/type-converters/type-converters.model.js +37 -0
  95. package/esm2015/lib/view-content/view-content.service.js +51 -0
  96. package/esm2015/lib/webcam/webcam.component.js +103 -0
  97. package/esm2015/lib/webcam/webcam.module.js +32 -0
  98. package/esm2015/lib/widget/widget.component.js +80 -0
  99. package/esm2015/lib/widget/widget.module.js +30 -0
  100. package/esm2015/public_api.js +84 -0
  101. package/esm2015/valtimo-components.js +27 -0
  102. package/fesm2015/valtimo-components.js +4536 -0
  103. package/fesm2015/valtimo-components.js.map +1 -0
  104. package/lib/alert/alert.component.d.ts +21 -0
  105. package/lib/alert/alert.module.d.ts +2 -0
  106. package/lib/alert/alert.service.d.ts +21 -0
  107. package/lib/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +27 -0
  108. package/lib/bpmn-js-diagram/bpmn-js-diagram.module.d.ts +2 -0
  109. package/lib/breadcrumb-navigation/breadcrumb-navigation.component.d.ts +14 -0
  110. package/lib/breadcrumb-navigation/breadcrumb-navigation.module.d.ts +2 -0
  111. package/lib/camunda/form/camunda-form.components.d.ts +9 -0
  112. package/lib/camunda/form/camunda-form.module.d.ts +2 -0
  113. package/lib/camunda/form/custom/camunda-custom-form.component.d.ts +8 -0
  114. package/lib/camunda/form/custom/camunda-custom-form.module.d.ts +2 -0
  115. package/lib/camunda/form/generated/camunda-generated-form.component.d.ts +19 -0
  116. package/lib/camunda/form/generated/camunda-generated-form.module.d.ts +2 -0
  117. package/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts +7 -0
  118. package/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts +13 -0
  119. package/lib/camunda/form/generated/formfield/camunda-formfield.service.d.ts +7 -0
  120. package/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts +12 -0
  121. package/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts +14 -0
  122. package/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts +10 -0
  123. package/lib/camunda/form/generated/formfield/formfield.model.d.ts +20 -0
  124. package/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts +7 -0
  125. package/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts +7 -0
  126. package/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts +7 -0
  127. package/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts +10 -0
  128. package/lib/camunda/form/generated/formfield/validation/date.validators.d.ts +3 -0
  129. package/lib/card/card.component.d.ts +16 -0
  130. package/lib/card/card.module.d.ts +2 -0
  131. package/lib/components.module.d.ts +2 -0
  132. package/lib/data-list/data-list.component.d.ts +7 -0
  133. package/lib/data-list/data-list.module.d.ts +2 -0
  134. package/lib/dropzone/dropzone.component.d.ts +38 -0
  135. package/lib/dropzone/dropzone.module.d.ts +2 -0
  136. package/lib/field-auto-focus/field-auto-focus.directive.d.ts +6 -0
  137. package/lib/field-auto-focus/field-auto-focus.module.d.ts +2 -0
  138. package/lib/file-size/file-size.module.d.ts +2 -0
  139. package/lib/file-size/file-size.pipe.d.ts +5 -0
  140. package/lib/filter-sidebar/filter-sidebar.component.d.ts +8 -0
  141. package/lib/filter-sidebar/filter-sidebar.module.d.ts +2 -0
  142. package/lib/form-io/form-io-builder.component.d.ts +8 -0
  143. package/lib/form-io/form-io-uploader/form-io-uploader-edit-form.d.ts +61 -0
  144. package/lib/form-io/form-io-uploader/form-io-uploader.component.d.ts +29 -0
  145. package/lib/form-io/form-io-uploader/form-io-uploader.formio.d.ts +3 -0
  146. package/lib/form-io/form-io.component.d.ts +45 -0
  147. package/lib/form-io/form-io.module.d.ts +2 -0
  148. package/lib/form-io/formio-config.d.ts +6 -0
  149. package/lib/form-io/services/form-io-dom.service.d.ts +6 -0
  150. package/lib/form-io/services/form-io-state.service.d.ts +10 -0
  151. package/lib/left-sidebar/left-sidebar.component.d.ts +34 -0
  152. package/lib/left-sidebar/left-sidebar.module.d.ts +2 -0
  153. package/lib/list/ListFilterPipe.directive.d.ts +4 -0
  154. package/lib/list/list.component.d.ts +43 -0
  155. package/lib/list/list.module.d.ts +2 -0
  156. package/lib/menu/menu-item-text.component.d.ts +4 -0
  157. package/lib/menu/menu-routing.module.d.ts +2 -0
  158. package/lib/menu/menu.component.d.ts +18 -0
  159. package/lib/menu/menu.init.d.ts +3 -0
  160. package/lib/menu/menu.module.d.ts +2 -0
  161. package/lib/menu/menu.service.d.ts +23 -0
  162. package/lib/menu/submenu-item-text.component.d.ts +4 -0
  163. package/lib/modal/modal.component.d.ts +12 -0
  164. package/lib/modal/modal.module.d.ts +2 -0
  165. package/lib/page-header/page-header.component.d.ts +5 -0
  166. package/lib/page-header/page-header.module.d.ts +2 -0
  167. package/lib/page-title/page-title.component.d.ts +19 -0
  168. package/lib/page-title/page-title.module.d.ts +2 -0
  169. package/lib/progress-bar/progress-bar.component.d.ts +2 -0
  170. package/lib/progress-bar/progress-bar.module.d.ts +2 -0
  171. package/lib/right-sidebar/right-sidebar.component.d.ts +34 -0
  172. package/lib/right-sidebar/right-sidebar.module.d.ts +2 -0
  173. package/lib/searchable-dropdown/searchable-dropdown.component.d.ts +39 -0
  174. package/lib/searchable-dropdown/searchable-dropdown.module.d.ts +2 -0
  175. package/lib/searchable-dropdown-select/searchable-dropdown-select.component.d.ts +19 -0
  176. package/lib/searchable-dropdown-select/searchable-dropdown-select.module.d.ts +2 -0
  177. package/lib/spinner/spinner.component.d.ts +9 -0
  178. package/lib/spinner/spinner.module.d.ts +2 -0
  179. package/lib/timeline/timeline.component.d.ts +4 -0
  180. package/lib/timeline/timeline.module.d.ts +2 -0
  181. package/lib/topbar/topbar.component.d.ts +3 -0
  182. package/lib/topbar/topbar.module.d.ts +2 -0
  183. package/lib/uploader/uploader-drag-drop.directive.d.ts +7 -0
  184. package/lib/uploader/uploader.component.d.ts +15 -0
  185. package/lib/uploader/uploader.module.d.ts +2 -0
  186. package/lib/version/version.service.d.ts +8 -0
  187. package/lib/view-content/type-converters/booleanTypeConverter.d.ts +5 -0
  188. package/lib/view-content/type-converters/dateTypeConverter.d.ts +5 -0
  189. package/lib/view-content/type-converters/enumTypeConverter.d.ts +5 -0
  190. package/lib/view-content/type-converters/relatedFilesTypeConverter.d.ts +5 -0
  191. package/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.d.ts +6 -0
  192. package/lib/view-content/type-converters/stringTypeConverter.d.ts +5 -0
  193. package/lib/view-content/type-converters/type-converters.model.d.ts +5 -0
  194. package/lib/view-content/view-content.service.d.ts +8 -0
  195. package/lib/webcam/webcam.component.d.ts +20 -0
  196. package/lib/webcam/webcam.module.d.ts +2 -0
  197. package/lib/widget/widget.component.d.ts +28 -0
  198. package/lib/widget/widget.module.d.ts +2 -0
  199. package/package.json +34 -0
  200. package/public_api.d.ts +65 -0
  201. package/valtimo-components.d.ts +26 -0
  202. package/valtimo-components.metadata.json +1 -0
@@ -0,0 +1,21 @@
1
+ import { AfterContentInit, OnDestroy, OnInit } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { Alert } from '@valtimo/contract';
4
+ import { AlertService } from './alert.service';
5
+ export declare class AlertComponent implements OnInit, AfterContentInit, OnDestroy {
6
+ private alertService;
7
+ alerts: Alert[];
8
+ subscription: Subscription;
9
+ autoCloseInMS: number;
10
+ constructor(alertService: AlertService);
11
+ ngOnInit(): void;
12
+ ngAfterContentInit(): void;
13
+ closeModal(): void;
14
+ openModal(): void;
15
+ alertConfirm(alert: Alert, confirm: any): void;
16
+ ngOnDestroy(): void;
17
+ removeAlert(alert: Alert): void;
18
+ inModal(alert: Alert): boolean;
19
+ cssClass(alert: Alert): "alert alert-success" | "alert alert-danger" | "alert alert-info" | "alert alert-warning" | "alert alert-light";
20
+ cssIconClass(alert: Alert): "mdi mdi-check" | "mdi mdi-close-circle-o" | "mdi mdi-info-outline" | "mdi mdi-alert-triangle" | "mdi mdi-notifications";
21
+ }
@@ -0,0 +1,2 @@
1
+ export declare class AlertModule {
2
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { Observable } from 'rxjs';
4
+ import { Alert } from '@valtimo/contract';
5
+ export declare class AlertService {
6
+ private router;
7
+ confirmed: EventEmitter<any>;
8
+ private subject;
9
+ constructor(router: Router);
10
+ onAlert(): Observable<Alert>;
11
+ success(message: string, confirmations?: any, iconClass?: string): void;
12
+ error(message: string, confirmations?: any, iconClass?: string): void;
13
+ info(message: string, confirmations?: any, iconClass?: string): void;
14
+ warning(message: string, confirmations?: any, iconClass?: string): void;
15
+ notification(message: string, confirmations?: any, iconClass?: string): void;
16
+ modalNotification(message: string, confirmations?: any, iconClass?: string): void;
17
+ alert(alert: Alert): void;
18
+ clear(): void;
19
+ emitAlertConfirmEvent(alert: Alert): void;
20
+ getAlertConfirmChangeEmitter(): EventEmitter<any>;
21
+ }
@@ -0,0 +1,27 @@
1
+ import { AfterContentInit, ElementRef, OnDestroy, EventEmitter, OnInit } from '@angular/core';
2
+ export declare class BpmnJsDiagramComponent implements OnInit, AfterContentInit, OnDestroy {
3
+ private bpmnJS;
4
+ private heatMapInstance;
5
+ el: ElementRef;
6
+ importDone: EventEmitter<any>;
7
+ bpmn20Xml: any;
8
+ heatmapDuration?: any;
9
+ heatmapCount?: any;
10
+ historicActivityInstances?: any;
11
+ heatmapMode: boolean;
12
+ heatPoints: {
13
+ data: any[];
14
+ };
15
+ min: number;
16
+ max: number;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ ngAfterContentInit(): void;
20
+ getHeatmapData(): void;
21
+ setMax(key: any): void;
22
+ addCounterActiveOverlays(key: any, inputData: any): void;
23
+ showHeatmap(): void;
24
+ clearHeatmap(): void;
25
+ toggleHeatmap(): void;
26
+ ngOnDestroy(): void;
27
+ }
@@ -0,0 +1,2 @@
1
+ export declare class BpmnJsDiagramModule {
2
+ }
@@ -0,0 +1,14 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ export declare class BreadcrumbNavigationComponent implements OnInit, OnDestroy {
4
+ private router;
5
+ private route;
6
+ breadcrumbs: Array<any>;
7
+ appTitle: string;
8
+ private routerSub;
9
+ constructor(router: Router, route: ActivatedRoute);
10
+ ngOnInit(): void;
11
+ private setBreadcrumbs;
12
+ private generateBreadcrumbs;
13
+ ngOnDestroy(): void;
14
+ }
@@ -0,0 +1,2 @@
1
+ export declare class BreadcrumbNavigationModule {
2
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormField } from './generated/formfield/formfield.model';
3
+ export declare class CamundaFormComponent {
4
+ componentName: string;
5
+ formFields: FormField[];
6
+ submitted?: EventEmitter<any>;
7
+ constructor();
8
+ onSubmitted(event: any): void;
9
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CamundaFormModule {
2
+ }
@@ -0,0 +1,8 @@
1
+ import { ComponentFactoryResolver, OnInit } from '@angular/core';
2
+ export declare class CamundaCustomFormComponent implements OnInit {
3
+ private resolver;
4
+ componentName: string;
5
+ viewContainerRef: any;
6
+ constructor(resolver: ComponentFactoryResolver);
7
+ ngOnInit(): void;
8
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CamundaCustomFormModule {
2
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { FormField } from './formfield/formfield.model';
4
+ import { CamundaFormfieldService } from './formfield/camunda-formfield.service';
5
+ import { Location } from '@angular/common';
6
+ export declare class CamundaGeneratedFormComponent implements OnInit {
7
+ private formBuilder;
8
+ private camundaFormFieldService;
9
+ private location;
10
+ submitted: EventEmitter<any>;
11
+ formFields: FormField[];
12
+ formGroup: FormGroup;
13
+ constructor(formBuilder: FormBuilder, camundaFormFieldService: CamundaFormfieldService, location: Location);
14
+ ngOnInit(): void;
15
+ private createFormGroup;
16
+ reset(): void;
17
+ back(): void;
18
+ handleSubmit(event: any): void;
19
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CamundaGeneratedFormModule {
2
+ }
@@ -0,0 +1,7 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FormField } from '../formfield.model';
3
+ export declare class CamundaBooleanFormfieldComponent {
4
+ formGroup: FormGroup;
5
+ formField: FormField;
6
+ constructor();
7
+ }
@@ -0,0 +1,13 @@
1
+ import { ComponentFactoryResolver, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormField } from './formfield.model';
4
+ export declare class CamundaFormfieldGeneratorDirective implements OnInit {
5
+ private viewContainerRef;
6
+ private componentFactoryResolver;
7
+ formField: FormField;
8
+ formGroup: FormGroup;
9
+ private readonly COMPONENTS;
10
+ private component;
11
+ constructor(viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver);
12
+ ngOnInit(): void;
13
+ }
@@ -0,0 +1,7 @@
1
+ export declare class CamundaFormfieldService {
2
+ constructor();
3
+ isFormFieldDisabled(formField: any): boolean;
4
+ getMinDate(formField: any): any;
5
+ getMaxDate(formField: any): any;
6
+ getValidatorTypes(formField: any): any[];
7
+ }
@@ -0,0 +1,12 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormField } from '../formfield.model';
4
+ import { ChoicefieldService } from '@valtimo/choicefield';
5
+ export declare class CamundaChoicefieldFormfieldComponent implements OnInit {
6
+ private choicefieldService;
7
+ formGroup: FormGroup;
8
+ formField: FormField;
9
+ choicefieldValues: Array<any>;
10
+ constructor(choicefieldService: ChoicefieldService);
11
+ ngOnInit(): void;
12
+ }
@@ -0,0 +1,14 @@
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormField } from '../formfield.model';
4
+ import { CamundaFormfieldService } from '../camunda-formfield.service';
5
+ export declare class CamundaDateFormfieldComponent implements OnInit, AfterViewInit {
6
+ private formFieldService;
7
+ formGroup: FormGroup;
8
+ formField: FormField;
9
+ private INPUT_SELECTOR;
10
+ private datePickerOptions;
11
+ constructor(formFieldService: CamundaFormfieldService);
12
+ ngOnInit(): void;
13
+ ngAfterViewInit(): void;
14
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormField } from '../formfield.model';
4
+ export declare class CamundaEnumFormfieldComponent implements OnInit {
5
+ formGroup: FormGroup;
6
+ formField: FormField;
7
+ valueKeys: any;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ }
@@ -0,0 +1,20 @@
1
+ export interface FormField {
2
+ businessKey: boolean;
3
+ id: string;
4
+ label: string;
5
+ type?: Type;
6
+ defaultValue?: string;
7
+ value: object;
8
+ validationConstraints?: {
9
+ name: string;
10
+ configuration: string;
11
+ }[];
12
+ properties: object;
13
+ typeName: string;
14
+ }
15
+ export interface Type {
16
+ values?: {
17
+ [s: string]: string;
18
+ };
19
+ name: any;
20
+ }
@@ -0,0 +1,7 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FormField } from '../formfield.model';
3
+ export declare class CamundaLongFormfieldComponent {
4
+ formGroup: FormGroup;
5
+ formField: FormField;
6
+ constructor();
7
+ }
@@ -0,0 +1,7 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FormField } from '../formfield.model';
3
+ export declare class CamundaStringFormfieldComponent {
4
+ formGroup: FormGroup;
5
+ formField: FormField;
6
+ constructor();
7
+ }
@@ -0,0 +1,7 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FormField } from '../formfield.model';
3
+ export declare class CamundaTextareaFormfieldComponent {
4
+ formGroup: FormGroup;
5
+ formField: FormField;
6
+ constructor();
7
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormField } from '../formfield.model';
4
+ export declare class CamundaFormfieldValidationComponent implements OnInit {
5
+ formGroup: FormGroup;
6
+ formField: FormField;
7
+ formControl: any;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ export declare function minDate(minDateIn: string): ValidatorFn;
3
+ export declare function maxDate(maxDateIn: string): ValidatorFn;
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ /**
3
+ * Component used to display a card element
4
+ */
5
+ export declare class CardComponent implements OnInit {
6
+ /**
7
+ * The main title used on the card
8
+ */
9
+ title?: string;
10
+ /**
11
+ * The smaller font size sub title used on the card
12
+ */
13
+ subtitle?: string;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CardModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ComponentsModule {
2
+ }
@@ -0,0 +1,7 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class DataListComponent implements OnInit {
3
+ collection?: Array<any>;
4
+ object?: any;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare class DataListModule {
2
+ }
@@ -0,0 +1,38 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
+ export declare class DropzoneComponent implements OnInit, AfterViewInit, OnDestroy {
5
+ private readonly translateService;
6
+ dropzoneRef: ElementRef<any>;
7
+ title: string;
8
+ hideTitle: boolean;
9
+ subtitle: string;
10
+ externalError$: BehaviorSubject<string>;
11
+ maxFileSize: number;
12
+ showMaxFileSize: boolean;
13
+ acceptedFiles: string;
14
+ clear$: Subject<any>;
15
+ disabled: boolean;
16
+ hideFilePreview: boolean;
17
+ uploading: boolean;
18
+ camera: boolean;
19
+ fileSelected: EventEmitter<File>;
20
+ private clearSubscription;
21
+ private dropzone;
22
+ readonly file$: BehaviorSubject<File>;
23
+ readonly showingCamera$: BehaviorSubject<boolean>;
24
+ private readonly error$;
25
+ private readonly errorMessagesStrings;
26
+ readonly errorMessage$: Observable<string>;
27
+ constructor(translateService: TranslateService);
28
+ ngOnInit(): void;
29
+ ngAfterViewInit(): void;
30
+ ngOnDestroy(): void;
31
+ showCamera(): void;
32
+ webcamImageSaved(image: File): void;
33
+ private initDropzone;
34
+ private setDropzoneEvents;
35
+ private clearFile;
36
+ private clearError;
37
+ private setFile;
38
+ }
@@ -0,0 +1,2 @@
1
+ export declare class DropzoneModule {
2
+ }
@@ -0,0 +1,6 @@
1
+ import { AfterContentInit, ElementRef } from '@angular/core';
2
+ export declare class FieldAutoFocusDirective implements AfterContentInit {
3
+ private el;
4
+ constructor(el: ElementRef);
5
+ ngAfterContentInit(): void;
6
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FieldAutoFocusModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FileSizeModule {
2
+ }
@@ -0,0 +1,5 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class FileSizePipe implements PipeTransform {
3
+ private units;
4
+ transform(bytes?: number, precision?: number): string;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ export declare class FilterSidebarComponent implements OnInit, OnDestroy {
3
+ filterSidebar: string;
4
+ constructor();
5
+ ngOnInit(): void;
6
+ ngOnDestroy(): void;
7
+ toggleFilterSidebar(): void;
8
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FilterSidebarModule {
2
+ }
@@ -0,0 +1,8 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ export declare class FormioBuilderComponent implements OnInit {
3
+ form: any;
4
+ change: EventEmitter<any>;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ onChange(event: any): void;
8
+ }
@@ -0,0 +1,61 @@
1
+ export declare const formIoUploaderEditForm: () => {
2
+ components: ({
3
+ key: string;
4
+ type: string;
5
+ input?: undefined;
6
+ label?: undefined;
7
+ placeholder?: undefined;
8
+ validate?: undefined;
9
+ tooltip?: undefined;
10
+ inputType?: undefined;
11
+ defaultValue?: undefined;
12
+ } | {
13
+ type: string;
14
+ input: boolean;
15
+ key: string;
16
+ label: string;
17
+ placeholder: string;
18
+ validate: {
19
+ required: boolean;
20
+ };
21
+ tooltip?: undefined;
22
+ inputType?: undefined;
23
+ defaultValue?: undefined;
24
+ } | {
25
+ type: string;
26
+ input: boolean;
27
+ key: string;
28
+ label: string;
29
+ placeholder: string;
30
+ tooltip: string;
31
+ validate: {
32
+ required: boolean;
33
+ };
34
+ inputType?: undefined;
35
+ defaultValue?: undefined;
36
+ } | {
37
+ type: string;
38
+ input: boolean;
39
+ inputType: string;
40
+ key: string;
41
+ label: string;
42
+ validate: {
43
+ required: boolean;
44
+ };
45
+ placeholder?: undefined;
46
+ tooltip?: undefined;
47
+ defaultValue?: undefined;
48
+ } | {
49
+ type: string;
50
+ input: boolean;
51
+ key: string;
52
+ label: string;
53
+ placeholder: string;
54
+ defaultValue: number;
55
+ validate: {
56
+ required: boolean;
57
+ };
58
+ tooltip?: undefined;
59
+ inputType?: undefined;
60
+ })[];
61
+ };
@@ -0,0 +1,29 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormioCustomComponent } from 'angular-formio';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { ResourceFile } from '@valtimo/contract';
5
+ import { FormIoStateService } from '../services/form-io-state.service';
6
+ import { FormIoDomService } from '../services/form-io-dom.service';
7
+ import { DownloadService, UploadProviderService } from '@valtimo/resource';
8
+ export declare class FormIoUploaderComponent implements FormioCustomComponent<Array<ResourceFile>> {
9
+ private readonly uploadProviderService;
10
+ private readonly stateService;
11
+ private readonly domService;
12
+ private readonly downloadService;
13
+ disabled: boolean;
14
+ title: string;
15
+ hideTitle: boolean;
16
+ subtitle: string;
17
+ maxFileSize: number;
18
+ hideMaxFileSize: boolean;
19
+ camera: boolean;
20
+ valueChange: EventEmitter<ResourceFile[]>;
21
+ readonly uploading$: BehaviorSubject<boolean>;
22
+ constructor(uploadProviderService: UploadProviderService, stateService: FormIoStateService, domService: FormIoDomService, downloadService: DownloadService);
23
+ _value: Array<ResourceFile>;
24
+ get value(): Array<ResourceFile>;
25
+ set value(value: Array<ResourceFile>);
26
+ downloadFile(resourceFile: ResourceFile): void;
27
+ fileSelected(file: File): void;
28
+ deleteFile(resourceId: string): void;
29
+ }
@@ -0,0 +1,3 @@
1
+ import { Injector } from '@angular/core';
2
+ export declare const customUploaderType = "valtimo-file";
3
+ export declare function registerFormioUploadComponent(injector: Injector): void;
@@ -0,0 +1,45 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormioSubmission, ValtimoFormioOptions } from '@valtimo/contract';
3
+ import { UserProviderService } from '@valtimo/security';
4
+ import { FormioComponent as FormIoSourceComponent, FormioForm } from 'angular-formio';
5
+ import { FormioRefreshValue } from 'angular-formio/formio.common';
6
+ import { NGXLogger } from 'ngx-logger';
7
+ import { Subject } from 'rxjs';
8
+ import { FormIoStateService } from './services/form-io-state.service';
9
+ import { ActivatedRoute } from '@angular/router';
10
+ export declare class FormioComponent implements OnInit, OnChanges, OnDestroy {
11
+ private userProviderService;
12
+ private logger;
13
+ private readonly stateService;
14
+ private readonly route;
15
+ form: any;
16
+ options: ValtimoFormioOptions;
17
+ submission?: object | {};
18
+ formRefresh$: Subject<FormioRefreshValue>;
19
+ useFormRefresh: boolean;
20
+ submit: EventEmitter<any>;
21
+ change: EventEmitter<any>;
22
+ refreshForm: EventEmitter<FormioRefreshValue>;
23
+ formDefinition: FormioForm;
24
+ language: string;
25
+ errors: string[];
26
+ private tokenRefreshTimerSubscription;
27
+ private formRefreshSubscription;
28
+ constructor(userProviderService: UserProviderService, logger: NGXLogger, stateService: FormIoStateService, route: ActivatedRoute);
29
+ ngOnInit(): void;
30
+ ngOnChanges(changes: SimpleChanges): void;
31
+ ngOnDestroy(): void;
32
+ loadUserLanguageSetting(): void;
33
+ reloadForm(): void;
34
+ showErrors(errors: string[]): void;
35
+ onSubmit(submission: FormioSubmission): void;
36
+ formReady(form: FormIoSourceComponent): void;
37
+ onChange(object: any): void;
38
+ private formHasLegacyUpload;
39
+ private setInitialToken;
40
+ private setToken;
41
+ private setTimerForTokenRefresh;
42
+ private refreshToken;
43
+ private subscribeFormRefresh;
44
+ private unsubscribeFormRefresh;
45
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FormIoModule {
2
+ }
@@ -0,0 +1,6 @@
1
+ export declare const AppConfig: {
2
+ appUrl: string;
3
+ apiUrl: string;
4
+ icons: string;
5
+ formOnly: boolean;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { FormIoStateService } from './form-io-state.service';
2
+ export declare class FormIoDomService {
3
+ private readonly stateService;
4
+ constructor(stateService: FormIoStateService);
5
+ toggleSubmitButton(disabled: boolean): void;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { Observable } from 'rxjs';
2
+ import { FormioComponent } from 'angular-formio';
3
+ export declare class FormIoStateService {
4
+ private _documentDefinitionName$;
5
+ private _currentForm$;
6
+ get documentDefinitionName$(): Observable<string>;
7
+ setDocumentDefinitionName(documentDefinitionName: string): void;
8
+ get currentForm$(): Observable<FormioComponent>;
9
+ set currentForm(form: FormioComponent);
10
+ }
@@ -0,0 +1,34 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ export declare class LeftSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
5
+ private translateService;
6
+ private readonly elementRef;
7
+ toggleButtonRef: ElementRef;
8
+ menuIsOpen: boolean;
9
+ menuWidthChanged: EventEmitter<number>;
10
+ readonly menuTooltipText$: import("rxjs").Observable<any>;
11
+ readonly toggleMenuText$: import("rxjs").Observable<any>;
12
+ readonly mouseIsOnResizeBorder$: BehaviorSubject<boolean>;
13
+ readonly menuWidth$: BehaviorSubject<number>;
14
+ readonly isResizing$: BehaviorSubject<boolean>;
15
+ private bodyStyle;
16
+ private xOnClick;
17
+ private menuWidthOnClick;
18
+ private mouseXSubscription;
19
+ private mouseUpSubscription;
20
+ private readonly defaultMenuWidth;
21
+ private readonly maxMenuWidth;
22
+ private readonly minMenuWidth;
23
+ private readonly mouseX$;
24
+ constructor(translateService: TranslateService, elementRef: ElementRef);
25
+ ngOnInit(): void;
26
+ ngAfterViewInit(): void;
27
+ ngOnDestroy(): void;
28
+ enterBorder(): void;
29
+ leaveBorder(): void;
30
+ resizeBorderClick(e: MouseEvent): void;
31
+ private snapMenu;
32
+ private stopResizing;
33
+ private setMenuWidth;
34
+ }
@@ -0,0 +1,2 @@
1
+ export declare class LeftSidebarModule {
2
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class ListFilterPipe implements PipeTransform {
3
+ transform(list: any[], filterText: string): any;
4
+ }