@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.
- package/bundles/valtimo-components.umd.js +5089 -0
- package/bundles/valtimo-components.umd.js.map +1 -0
- package/bundles/valtimo-components.umd.min.js +17 -0
- package/bundles/valtimo-components.umd.min.js.map +1 -0
- package/esm2015/lib/alert/alert.component.js +142 -0
- package/esm2015/lib/alert/alert.module.js +28 -0
- package/esm2015/lib/alert/alert.service.js +81 -0
- package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.component.js +160 -0
- package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.module.js +30 -0
- package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.component.js +93 -0
- package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.module.js +34 -0
- package/esm2015/lib/camunda/form/camunda-form.components.js +37 -0
- package/esm2015/lib/camunda/form/camunda-form.module.js +38 -0
- package/esm2015/lib/camunda/form/custom/camunda-custom-form.component.js +42 -0
- package/esm2015/lib/camunda/form/custom/camunda-custom-form.module.js +34 -0
- package/esm2015/lib/camunda/form/generated/camunda-generated-form.component.js +69 -0
- package/esm2015/lib/camunda/form/generated/camunda-generated-form.module.js +63 -0
- package/esm2015/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.js +28 -0
- package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +64 -0
- package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield.service.js +67 -0
- package/esm2015/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.js +38 -0
- package/esm2015/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +66 -0
- package/esm2015/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +31 -0
- package/esm2015/lib/camunda/form/generated/formfield/formfield.model.js +16 -0
- package/esm2015/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.js +28 -0
- package/esm2015/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.js +28 -0
- package/esm2015/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.js +28 -0
- package/esm2015/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +36 -0
- package/esm2015/lib/camunda/form/generated/formfield/validation/date.validators.js +60 -0
- package/esm2015/lib/card/card.component.js +37 -0
- package/esm2015/lib/card/card.module.js +30 -0
- package/esm2015/lib/components.module.js +22 -0
- package/esm2015/lib/data-list/data-list.component.js +34 -0
- package/esm2015/lib/data-list/data-list.module.js +30 -0
- package/esm2015/lib/dropzone/dropzone.component.js +143 -0
- package/esm2015/lib/dropzone/dropzone.module.js +32 -0
- package/esm2015/lib/field-auto-focus/field-auto-focus.directive.js +35 -0
- package/esm2015/lib/field-auto-focus/field-auto-focus.module.js +32 -0
- package/esm2015/lib/file-size/file-size.module.js +30 -0
- package/esm2015/lib/file-size/file-size.pipe.js +45 -0
- package/esm2015/lib/filter-sidebar/filter-sidebar.component.js +46 -0
- package/esm2015/lib/filter-sidebar/filter-sidebar.module.js +30 -0
- package/esm2015/lib/form-io/form-io-builder.component.js +39 -0
- package/esm2015/lib/form-io/form-io-uploader/form-io-uploader-edit-form.js +90 -0
- package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.component.js +72 -0
- package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.formio.js +26 -0
- package/esm2015/lib/form-io/form-io.component.js +160 -0
- package/esm2015/lib/form-io/form-io.module.js +56 -0
- package/esm2015/lib/form-io/formio-config.js +22 -0
- package/esm2015/lib/form-io/services/form-io-dom.service.js +23 -0
- package/esm2015/lib/form-io/services/form-io-state.service.js +24 -0
- package/esm2015/lib/left-sidebar/left-sidebar.component.js +114 -0
- package/esm2015/lib/left-sidebar/left-sidebar.module.js +34 -0
- package/esm2015/lib/list/ListFilterPipe.directive.js +35 -0
- package/esm2015/lib/list/list.component.js +177 -0
- package/esm2015/lib/list/list.module.js +33 -0
- package/esm2015/lib/menu/menu-item-text.component.js +36 -0
- package/esm2015/lib/menu/menu-routing.module.js +29 -0
- package/esm2015/lib/menu/menu.component.js +65 -0
- package/esm2015/lib/menu/menu.init.js +34 -0
- package/esm2015/lib/menu/menu.module.js +39 -0
- package/esm2015/lib/menu/menu.service.js +127 -0
- package/esm2015/lib/menu/submenu-item-text.component.js +33 -0
- package/esm2015/lib/modal/modal.component.js +48 -0
- package/esm2015/lib/modal/modal.module.js +28 -0
- package/esm2015/lib/page-header/page-header.component.js +29 -0
- package/esm2015/lib/page-header/page-header.module.js +34 -0
- package/esm2015/lib/page-title/page-title.component.js +76 -0
- package/esm2015/lib/page-title/page-title.module.js +32 -0
- package/esm2015/lib/progress-bar/progress-bar.component.js +26 -0
- package/esm2015/lib/progress-bar/progress-bar.module.js +30 -0
- package/esm2015/lib/right-sidebar/right-sidebar.component.js +131 -0
- package/esm2015/lib/right-sidebar/right-sidebar.module.js +49 -0
- package/esm2015/lib/searchable-dropdown/searchable-dropdown.component.js +185 -0
- package/esm2015/lib/searchable-dropdown/searchable-dropdown.module.js +29 -0
- package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.component.js +52 -0
- package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.module.js +30 -0
- package/esm2015/lib/spinner/spinner.component.js +43 -0
- package/esm2015/lib/spinner/spinner.module.js +36 -0
- package/esm2015/lib/timeline/timeline.component.js +29 -0
- package/esm2015/lib/timeline/timeline.module.js +32 -0
- package/esm2015/lib/topbar/topbar.component.js +29 -0
- package/esm2015/lib/topbar/topbar.module.js +32 -0
- package/esm2015/lib/uploader/uploader-drag-drop.directive.js +49 -0
- package/esm2015/lib/uploader/uploader.component.js +70 -0
- package/esm2015/lib/uploader/uploader.module.js +33 -0
- package/esm2015/lib/version/version.service.js +38 -0
- package/esm2015/lib/view-content/type-converters/booleanTypeConverter.js +29 -0
- package/esm2015/lib/view-content/type-converters/dateTypeConverter.js +30 -0
- package/esm2015/lib/view-content/type-converters/enumTypeConverter.js +24 -0
- package/esm2015/lib/view-content/type-converters/relatedFilesTypeConverter.js +24 -0
- package/esm2015/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +27 -0
- package/esm2015/lib/view-content/type-converters/stringTypeConverter.js +24 -0
- package/esm2015/lib/view-content/type-converters/type-converters.model.js +37 -0
- package/esm2015/lib/view-content/view-content.service.js +51 -0
- package/esm2015/lib/webcam/webcam.component.js +103 -0
- package/esm2015/lib/webcam/webcam.module.js +32 -0
- package/esm2015/lib/widget/widget.component.js +80 -0
- package/esm2015/lib/widget/widget.module.js +30 -0
- package/esm2015/public_api.js +84 -0
- package/esm2015/valtimo-components.js +27 -0
- package/fesm2015/valtimo-components.js +4536 -0
- package/fesm2015/valtimo-components.js.map +1 -0
- package/lib/alert/alert.component.d.ts +21 -0
- package/lib/alert/alert.module.d.ts +2 -0
- package/lib/alert/alert.service.d.ts +21 -0
- package/lib/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +27 -0
- package/lib/bpmn-js-diagram/bpmn-js-diagram.module.d.ts +2 -0
- package/lib/breadcrumb-navigation/breadcrumb-navigation.component.d.ts +14 -0
- package/lib/breadcrumb-navigation/breadcrumb-navigation.module.d.ts +2 -0
- package/lib/camunda/form/camunda-form.components.d.ts +9 -0
- package/lib/camunda/form/camunda-form.module.d.ts +2 -0
- package/lib/camunda/form/custom/camunda-custom-form.component.d.ts +8 -0
- package/lib/camunda/form/custom/camunda-custom-form.module.d.ts +2 -0
- package/lib/camunda/form/generated/camunda-generated-form.component.d.ts +19 -0
- package/lib/camunda/form/generated/camunda-generated-form.module.d.ts +2 -0
- package/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts +7 -0
- package/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts +13 -0
- package/lib/camunda/form/generated/formfield/camunda-formfield.service.d.ts +7 -0
- package/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts +12 -0
- package/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts +14 -0
- package/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts +10 -0
- package/lib/camunda/form/generated/formfield/formfield.model.d.ts +20 -0
- package/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts +7 -0
- package/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts +7 -0
- package/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts +7 -0
- package/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts +10 -0
- package/lib/camunda/form/generated/formfield/validation/date.validators.d.ts +3 -0
- package/lib/card/card.component.d.ts +16 -0
- package/lib/card/card.module.d.ts +2 -0
- package/lib/components.module.d.ts +2 -0
- package/lib/data-list/data-list.component.d.ts +7 -0
- package/lib/data-list/data-list.module.d.ts +2 -0
- package/lib/dropzone/dropzone.component.d.ts +38 -0
- package/lib/dropzone/dropzone.module.d.ts +2 -0
- package/lib/field-auto-focus/field-auto-focus.directive.d.ts +6 -0
- package/lib/field-auto-focus/field-auto-focus.module.d.ts +2 -0
- package/lib/file-size/file-size.module.d.ts +2 -0
- package/lib/file-size/file-size.pipe.d.ts +5 -0
- package/lib/filter-sidebar/filter-sidebar.component.d.ts +8 -0
- package/lib/filter-sidebar/filter-sidebar.module.d.ts +2 -0
- package/lib/form-io/form-io-builder.component.d.ts +8 -0
- package/lib/form-io/form-io-uploader/form-io-uploader-edit-form.d.ts +61 -0
- package/lib/form-io/form-io-uploader/form-io-uploader.component.d.ts +29 -0
- package/lib/form-io/form-io-uploader/form-io-uploader.formio.d.ts +3 -0
- package/lib/form-io/form-io.component.d.ts +45 -0
- package/lib/form-io/form-io.module.d.ts +2 -0
- package/lib/form-io/formio-config.d.ts +6 -0
- package/lib/form-io/services/form-io-dom.service.d.ts +6 -0
- package/lib/form-io/services/form-io-state.service.d.ts +10 -0
- package/lib/left-sidebar/left-sidebar.component.d.ts +34 -0
- package/lib/left-sidebar/left-sidebar.module.d.ts +2 -0
- package/lib/list/ListFilterPipe.directive.d.ts +4 -0
- package/lib/list/list.component.d.ts +43 -0
- package/lib/list/list.module.d.ts +2 -0
- package/lib/menu/menu-item-text.component.d.ts +4 -0
- package/lib/menu/menu-routing.module.d.ts +2 -0
- package/lib/menu/menu.component.d.ts +18 -0
- package/lib/menu/menu.init.d.ts +3 -0
- package/lib/menu/menu.module.d.ts +2 -0
- package/lib/menu/menu.service.d.ts +23 -0
- package/lib/menu/submenu-item-text.component.d.ts +4 -0
- package/lib/modal/modal.component.d.ts +12 -0
- package/lib/modal/modal.module.d.ts +2 -0
- package/lib/page-header/page-header.component.d.ts +5 -0
- package/lib/page-header/page-header.module.d.ts +2 -0
- package/lib/page-title/page-title.component.d.ts +19 -0
- package/lib/page-title/page-title.module.d.ts +2 -0
- package/lib/progress-bar/progress-bar.component.d.ts +2 -0
- package/lib/progress-bar/progress-bar.module.d.ts +2 -0
- package/lib/right-sidebar/right-sidebar.component.d.ts +34 -0
- package/lib/right-sidebar/right-sidebar.module.d.ts +2 -0
- package/lib/searchable-dropdown/searchable-dropdown.component.d.ts +39 -0
- package/lib/searchable-dropdown/searchable-dropdown.module.d.ts +2 -0
- package/lib/searchable-dropdown-select/searchable-dropdown-select.component.d.ts +19 -0
- package/lib/searchable-dropdown-select/searchable-dropdown-select.module.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +9 -0
- package/lib/spinner/spinner.module.d.ts +2 -0
- package/lib/timeline/timeline.component.d.ts +4 -0
- package/lib/timeline/timeline.module.d.ts +2 -0
- package/lib/topbar/topbar.component.d.ts +3 -0
- package/lib/topbar/topbar.module.d.ts +2 -0
- package/lib/uploader/uploader-drag-drop.directive.d.ts +7 -0
- package/lib/uploader/uploader.component.d.ts +15 -0
- package/lib/uploader/uploader.module.d.ts +2 -0
- package/lib/version/version.service.d.ts +8 -0
- package/lib/view-content/type-converters/booleanTypeConverter.d.ts +5 -0
- package/lib/view-content/type-converters/dateTypeConverter.d.ts +5 -0
- package/lib/view-content/type-converters/enumTypeConverter.d.ts +5 -0
- package/lib/view-content/type-converters/relatedFilesTypeConverter.d.ts +5 -0
- package/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.d.ts +6 -0
- package/lib/view-content/type-converters/stringTypeConverter.d.ts +5 -0
- package/lib/view-content/type-converters/type-converters.model.d.ts +5 -0
- package/lib/view-content/view-content.service.d.ts +8 -0
- package/lib/webcam/webcam.component.d.ts +20 -0
- package/lib/webcam/webcam.module.d.ts +2 -0
- package/lib/widget/widget.component.d.ts +28 -0
- package/lib/widget/widget.module.d.ts +2 -0
- package/package.json +34 -0
- package/public_api.d.ts +65 -0
- package/valtimo-components.d.ts +26 -0
- 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,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,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,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,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,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,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,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
|
+
}
|
package/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts
ADDED
|
@@ -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,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,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,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,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,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
|
+
}
|