@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,43 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SortState } from '@valtimo/contract';
|
|
3
|
+
import { NGXLogger } from 'ngx-logger';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { ViewContentService } from '../view-content/view-content.service';
|
|
6
|
+
export declare class ListComponent implements OnChanges, OnInit, AfterViewInit {
|
|
7
|
+
private viewContentService;
|
|
8
|
+
private logger;
|
|
9
|
+
private static PAGINATION_SIZE;
|
|
10
|
+
items: Array<any>;
|
|
11
|
+
fields: Array<any>;
|
|
12
|
+
pagination?: any;
|
|
13
|
+
viewMode?: boolean;
|
|
14
|
+
isSearchable?: boolean;
|
|
15
|
+
header?: boolean;
|
|
16
|
+
actions: any[];
|
|
17
|
+
paginationIdentifier?: string;
|
|
18
|
+
initialSortState: SortState;
|
|
19
|
+
rowClicked: EventEmitter<any>;
|
|
20
|
+
paginationClicked: EventEmitter<any>;
|
|
21
|
+
paginationSet: EventEmitter<any>;
|
|
22
|
+
search: EventEmitter<any>;
|
|
23
|
+
sortChanged: EventEmitter<SortState>;
|
|
24
|
+
headerProvided: boolean;
|
|
25
|
+
viewListAs: string;
|
|
26
|
+
searchModel: string;
|
|
27
|
+
regExpStringRemoveUnderscore: RegExp;
|
|
28
|
+
searchBox: ElementRef;
|
|
29
|
+
readonly sort$: BehaviorSubject<SortState>;
|
|
30
|
+
constructor(viewContentService: ViewContentService, logger: NGXLogger);
|
|
31
|
+
loadPaginationSize(): void;
|
|
32
|
+
setPaginationSize(numberOfEntries: string): void;
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
35
|
+
ngAfterViewInit(): void;
|
|
36
|
+
transformListItemsMatchFields(): void;
|
|
37
|
+
onClickRow(item: any): void;
|
|
38
|
+
resolveObject(definition: any, obj: any): string;
|
|
39
|
+
switchView(type: any): void;
|
|
40
|
+
getTotalPageCount(): number;
|
|
41
|
+
onClickPagination(page: any): void;
|
|
42
|
+
handleFieldClick(key: string, sortable: boolean): void;
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { MenuItem } from '@valtimo/contract';
|
|
4
|
+
import { MenuService } from './menu.service';
|
|
5
|
+
export declare class MenuComponent implements OnInit, OnDestroy {
|
|
6
|
+
private menuService;
|
|
7
|
+
private elRef;
|
|
8
|
+
private renderer;
|
|
9
|
+
private router;
|
|
10
|
+
menuItems: MenuItem[];
|
|
11
|
+
private routerSubscription;
|
|
12
|
+
private menuItemSubscription;
|
|
13
|
+
constructor(menuService: MenuService, elRef: ElementRef, renderer: Renderer2, router: Router);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
private openRouterSubscription;
|
|
17
|
+
closeSubMenu(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MenuItem } from '@valtimo/contract';
|
|
2
|
+
import { NGXLogger } from 'ngx-logger';
|
|
3
|
+
import { ConfigService } from '@valtimo/config';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { DocumentService } from '@valtimo/document';
|
|
6
|
+
import { UserProviderService } from '@valtimo/security';
|
|
7
|
+
export declare class MenuService {
|
|
8
|
+
private configService;
|
|
9
|
+
private documentService;
|
|
10
|
+
private userProviderService;
|
|
11
|
+
private logger;
|
|
12
|
+
private _menuItems$;
|
|
13
|
+
private menuConfig;
|
|
14
|
+
constructor(configService: ConfigService, documentService: DocumentService, userProviderService: UserProviderService, logger: NGXLogger);
|
|
15
|
+
init(): void;
|
|
16
|
+
get menuItems$(): Observable<MenuItem[]>;
|
|
17
|
+
reload(): void;
|
|
18
|
+
private loadMenuItems;
|
|
19
|
+
private sortMenuItems;
|
|
20
|
+
private appendDossierSubMenuItems;
|
|
21
|
+
private applyMenuRoleSecurity;
|
|
22
|
+
private determineRoleAccess;
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
+
export declare class ModalComponent implements AfterViewInit {
|
|
3
|
+
elementId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
templateBelowSubtitle: TemplateRef<any>;
|
|
7
|
+
showFooter: boolean;
|
|
8
|
+
constructor();
|
|
9
|
+
ngAfterViewInit(): void;
|
|
10
|
+
show(): void;
|
|
11
|
+
hide(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { Title } from '@angular/platform-browser';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { NGXLogger } from 'ngx-logger';
|
|
6
|
+
export declare class PageTitleComponent implements OnInit, OnDestroy {
|
|
7
|
+
private router;
|
|
8
|
+
private activatedRoute;
|
|
9
|
+
private titleService;
|
|
10
|
+
private translateService;
|
|
11
|
+
private logger;
|
|
12
|
+
title: string;
|
|
13
|
+
appTitle: string;
|
|
14
|
+
private routerSub;
|
|
15
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, titleService: Title, translateService: TranslateService, logger: NGXLogger);
|
|
16
|
+
private setTitle;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { ContextService } from '@valtimo/context';
|
|
6
|
+
import { UserIdentity, ValtimoVersion } from '@valtimo/contract';
|
|
7
|
+
import { UserProviderService } from '@valtimo/security';
|
|
8
|
+
import { NGXLogger } from 'ngx-logger';
|
|
9
|
+
import { VersionService } from '../version/version.service';
|
|
10
|
+
export declare class RightSidebarComponent implements OnInit {
|
|
11
|
+
private userProviderService;
|
|
12
|
+
private formBuilder;
|
|
13
|
+
private versionService;
|
|
14
|
+
translate: TranslateService;
|
|
15
|
+
private contextService;
|
|
16
|
+
private http;
|
|
17
|
+
private logger;
|
|
18
|
+
userIdentity: UserIdentity;
|
|
19
|
+
frequencies: Array<any>;
|
|
20
|
+
settingsForm: FormGroup;
|
|
21
|
+
build: ValtimoVersion;
|
|
22
|
+
userContexts: Array<any>;
|
|
23
|
+
userContextActive: any;
|
|
24
|
+
constructor(userProviderService: UserProviderService, formBuilder: FormBuilder, versionService: VersionService, translate: TranslateService, contextService: ContextService, http: HttpClient, logger: NGXLogger);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private loadContextSwitch;
|
|
27
|
+
setUserContext(contextId: number): void;
|
|
28
|
+
loadUserSettingsTab(): void;
|
|
29
|
+
getUserSettings(): void;
|
|
30
|
+
getVersion(): void;
|
|
31
|
+
onSettingsSubmit(): void;
|
|
32
|
+
updateUserLanguage(langKey: string): void;
|
|
33
|
+
logout(): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DropdownButtonStyle, DropdownItem } from '@valtimo/contract';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
export declare class SearchableDropdownComponent implements OnInit, OnDestroy, OnChanges {
|
|
6
|
+
style: DropdownButtonStyle;
|
|
7
|
+
items: Array<DropdownItem>;
|
|
8
|
+
buttonText: string;
|
|
9
|
+
searchText: string;
|
|
10
|
+
noResultsText: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
width: number;
|
|
13
|
+
itemSelected: EventEmitter<any>;
|
|
14
|
+
buttons: QueryList<ElementRef>;
|
|
15
|
+
private readonly searchId;
|
|
16
|
+
readonly searchTerm: FormControl;
|
|
17
|
+
readonly focusedItemId$: BehaviorSubject<string>;
|
|
18
|
+
readonly open$: BehaviorSubject<boolean>;
|
|
19
|
+
readonly filteredItems$: BehaviorSubject<DropdownItem[]>;
|
|
20
|
+
private wasInside;
|
|
21
|
+
private keySubscription;
|
|
22
|
+
private searchSubscription;
|
|
23
|
+
private readonly mouseOnList$;
|
|
24
|
+
clickInside(): void;
|
|
25
|
+
clickout(): void;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
openDropdown(): void;
|
|
30
|
+
hoverOverButton(id: string): void;
|
|
31
|
+
mouseEnterList(): void;
|
|
32
|
+
mouseLeaveList(): void;
|
|
33
|
+
resetFocus(): void;
|
|
34
|
+
submit(id: string): void;
|
|
35
|
+
private closeDropdown;
|
|
36
|
+
private openKeysSubscription;
|
|
37
|
+
private openSearchSubscription;
|
|
38
|
+
private scrollButtonIntoView;
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DropdownButtonStyle, DropdownItem } from '@valtimo/contract';
|
|
3
|
+
export declare class SearchableDropdownSelectComponent {
|
|
4
|
+
style: DropdownButtonStyle;
|
|
5
|
+
items: Array<DropdownItem>;
|
|
6
|
+
buttonText: string;
|
|
7
|
+
searchText: string;
|
|
8
|
+
noResultsText: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
selectedText: string;
|
|
11
|
+
selectedTextValue: string;
|
|
12
|
+
clearSelectionButtonTitle: string;
|
|
13
|
+
hasSelection: boolean;
|
|
14
|
+
width: number;
|
|
15
|
+
itemSelected: EventEmitter<any>;
|
|
16
|
+
clearSelection: EventEmitter<any>;
|
|
17
|
+
onSelect(id: string): void;
|
|
18
|
+
onClearSelection(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { S3Service } from '@valtimo/resource';
|
|
3
|
+
import { S3Resource } from '@valtimo/contract';
|
|
4
|
+
export declare class UploaderComponent implements OnInit {
|
|
5
|
+
private s3Service;
|
|
6
|
+
resources: any;
|
|
7
|
+
resourcesChanged: EventEmitter<any>;
|
|
8
|
+
resourceRegistered: EventEmitter<S3Resource>;
|
|
9
|
+
showFileList: boolean;
|
|
10
|
+
constructor(s3Service: S3Service);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
onFileFieldChange(files: any): void;
|
|
13
|
+
uploadFile(file: File): void;
|
|
14
|
+
deleteResource(resource: any): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ValtimoVersion } from '@valtimo/contract';
|
|
4
|
+
export declare class VersionService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
getVersion(): Observable<ValtimoVersion>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeConverter } from './type-converters/type-converters.model';
|
|
2
|
+
export declare class ViewContentService {
|
|
3
|
+
private converters;
|
|
4
|
+
private defaultConverter;
|
|
5
|
+
constructor();
|
|
6
|
+
get(value: any, definition: any): string;
|
|
7
|
+
addConverter(converter: TypeConverter): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
export declare class WebcamComponent implements AfterViewInit {
|
|
4
|
+
imageSaved: EventEmitter<File>;
|
|
5
|
+
readonly showing$: BehaviorSubject<boolean>;
|
|
6
|
+
readonly stream$: BehaviorSubject<MediaStream>;
|
|
7
|
+
readonly picture$: BehaviorSubject<{
|
|
8
|
+
file: File;
|
|
9
|
+
uri: string;
|
|
10
|
+
}>;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
captureImage(): boolean;
|
|
13
|
+
clearImage(): boolean;
|
|
14
|
+
close(emitImage?: boolean): boolean;
|
|
15
|
+
private stopStream;
|
|
16
|
+
private getVideoElement;
|
|
17
|
+
private emitOnTimeOut;
|
|
18
|
+
private toggleFade;
|
|
19
|
+
private dataURItoFile;
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Component used to display a widget element
|
|
4
|
+
*/
|
|
5
|
+
export declare class WidgetComponent implements OnInit {
|
|
6
|
+
type?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
contrast?: string;
|
|
10
|
+
divider?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
collapseAble?: string;
|
|
14
|
+
collapse?: string;
|
|
15
|
+
additionalClasses?: string;
|
|
16
|
+
cardClassName: string;
|
|
17
|
+
contrastClass: string;
|
|
18
|
+
dividerClass: string;
|
|
19
|
+
isCollapsed: boolean;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
toggleContent(): void;
|
|
22
|
+
private setCardClassName;
|
|
23
|
+
private setType;
|
|
24
|
+
private setAdditionalClasses;
|
|
25
|
+
private setContrast;
|
|
26
|
+
private setDivider;
|
|
27
|
+
private setCollapse;
|
|
28
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@valtimo/components",
|
|
3
|
+
"version": "4.15.2-next-main.8",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^10.0.11",
|
|
6
|
+
"@angular/core": "^10.0.11",
|
|
7
|
+
"@angular/elements": "^10.0.11"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"registry": "http://repo.ritense.com/repository/npm-ritense-private/"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@foxythemes/bootstrap-datetime-picker-bs4": "^2.3.4",
|
|
14
|
+
"bpmn-js": "^6.4.2",
|
|
15
|
+
"jquery": "3.4.1",
|
|
16
|
+
"moment": "2.24.0",
|
|
17
|
+
"heatmap.js-fixed": "^2.0.2",
|
|
18
|
+
"@ngx-translate/core": "^13.0.0",
|
|
19
|
+
"@ngx-translate/http-loader": "6.0.0",
|
|
20
|
+
"@ng-bootstrap/ng-bootstrap": "^7.0.0",
|
|
21
|
+
"ngx-toastr": "^13.0.0",
|
|
22
|
+
"angular-formio": "^4.11.5",
|
|
23
|
+
"ngx-spinner": "^10.0.1",
|
|
24
|
+
"tslib": "^2.0.0"
|
|
25
|
+
},
|
|
26
|
+
"main": "bundles/valtimo-components.umd.js",
|
|
27
|
+
"module": "fesm2015/valtimo-components.js",
|
|
28
|
+
"es2015": "fesm2015/valtimo-components.js",
|
|
29
|
+
"esm2015": "esm2015/valtimo-components.js",
|
|
30
|
+
"fesm2015": "fesm2015/valtimo-components.js",
|
|
31
|
+
"typings": "valtimo-components.d.ts",
|
|
32
|
+
"metadata": "valtimo-components.metadata.json",
|
|
33
|
+
"sideEffects": false
|
|
34
|
+
}
|
package/public_api.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export * from './lib/camunda/form/camunda-form.components';
|
|
2
|
+
export * from './lib/camunda/form/camunda-form.module';
|
|
3
|
+
export * from './lib/topbar/topbar.component';
|
|
4
|
+
export * from './lib/topbar/topbar.module';
|
|
5
|
+
export * from './lib/menu/menu.service';
|
|
6
|
+
export * from './lib/menu/menu-routing.module';
|
|
7
|
+
export * from './lib/menu/menu.module';
|
|
8
|
+
export * from './lib/menu/menu.init';
|
|
9
|
+
export * from './lib/right-sidebar/right-sidebar.component';
|
|
10
|
+
export * from './lib/right-sidebar/right-sidebar.module';
|
|
11
|
+
export * from './lib/left-sidebar/left-sidebar.component';
|
|
12
|
+
export * from './lib/left-sidebar/left-sidebar.module';
|
|
13
|
+
export * from './lib/list/list.component';
|
|
14
|
+
export * from './lib/list/ListFilterPipe.directive';
|
|
15
|
+
export * from './lib/list/list.module';
|
|
16
|
+
export * from './lib/page-header/page-header.component';
|
|
17
|
+
export * from './lib/page-header/page-header.module';
|
|
18
|
+
export * from './lib/page-title/page-title.component';
|
|
19
|
+
export * from './lib/page-title/page-title.module';
|
|
20
|
+
export * from './lib/breadcrumb-navigation/breadcrumb-navigation.component';
|
|
21
|
+
export * from './lib/breadcrumb-navigation/breadcrumb-navigation.module';
|
|
22
|
+
export * from './lib/breadcrumb-navigation/breadcrumb-navigation.component';
|
|
23
|
+
export * from './lib/breadcrumb-navigation/breadcrumb-navigation.module';
|
|
24
|
+
export * from './lib/widget/widget.component';
|
|
25
|
+
export * from './lib/widget/widget.module';
|
|
26
|
+
export * from './lib/field-auto-focus/field-auto-focus.directive';
|
|
27
|
+
export * from './lib/field-auto-focus/field-auto-focus.module';
|
|
28
|
+
export * from './lib/card/card.component';
|
|
29
|
+
export * from './lib/card/card.module';
|
|
30
|
+
export * from './lib/bpmn-js-diagram/bpmn-js-diagram.component';
|
|
31
|
+
export * from './lib/bpmn-js-diagram/bpmn-js-diagram.module';
|
|
32
|
+
export * from './lib/timeline/timeline.component';
|
|
33
|
+
export * from './lib/timeline/timeline.module';
|
|
34
|
+
export * from './lib/components.module';
|
|
35
|
+
export * from './lib/filter-sidebar/filter-sidebar.component';
|
|
36
|
+
export * from './lib/filter-sidebar/filter-sidebar.module';
|
|
37
|
+
export * from './lib/uploader/uploader.component';
|
|
38
|
+
export * from './lib/uploader/uploader-drag-drop.directive';
|
|
39
|
+
export * from './lib/uploader/uploader.module';
|
|
40
|
+
export * from './lib/file-size/file-size.module';
|
|
41
|
+
export * from './lib/file-size/file-size.pipe';
|
|
42
|
+
export * from './lib/alert/alert.component';
|
|
43
|
+
export * from './lib/alert/alert.service';
|
|
44
|
+
export * from './lib/alert/alert.module';
|
|
45
|
+
export * from './lib/data-list/data-list.component';
|
|
46
|
+
export * from './lib/data-list/data-list.module';
|
|
47
|
+
export * from './lib/view-content/view-content.service';
|
|
48
|
+
export * from './lib/form-io/form-io.component';
|
|
49
|
+
export * from './lib/form-io/form-io-builder.component';
|
|
50
|
+
export * from './lib/form-io/form-io.module';
|
|
51
|
+
export * from './lib/modal/modal.module';
|
|
52
|
+
export * from './lib/modal/modal.component';
|
|
53
|
+
export * from './lib/spinner/spinner.module';
|
|
54
|
+
export * from './lib/searchable-dropdown/searchable-dropdown.module';
|
|
55
|
+
export * from './lib/searchable-dropdown/searchable-dropdown.component';
|
|
56
|
+
export * from './lib/dropzone/dropzone.module';
|
|
57
|
+
export * from './lib/dropzone/dropzone.component';
|
|
58
|
+
export * from './lib/form-io/form-io-uploader/form-io-uploader.component';
|
|
59
|
+
export * from './lib/form-io/form-io-uploader/form-io-uploader.formio';
|
|
60
|
+
export * from './lib/webcam/webcam.module';
|
|
61
|
+
export * from './lib/webcam/webcam.component';
|
|
62
|
+
export * from './lib/progress-bar/progress-bar.module';
|
|
63
|
+
export * from './lib/progress-bar/progress-bar.component';
|
|
64
|
+
export * from './lib/searchable-dropdown-select/searchable-dropdown-select.module';
|
|
65
|
+
export * from './lib/searchable-dropdown-select/searchable-dropdown-select.component';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
export { CamundaCustomFormComponent as ɵn } from './lib/camunda/form/custom/camunda-custom-form.component';
|
|
6
|
+
export { CamundaCustomFormModule as ɵm } from './lib/camunda/form/custom/camunda-custom-form.module';
|
|
7
|
+
export { CamundaGeneratedFormComponent as ɵl } from './lib/camunda/form/generated/camunda-generated-form.component';
|
|
8
|
+
export { CamundaGeneratedFormModule as ɵa } from './lib/camunda/form/generated/camunda-generated-form.module';
|
|
9
|
+
export { CamundaBooleanFormfieldComponent as ɵc } from './lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component';
|
|
10
|
+
export { CamundaFormfieldGeneratorDirective as ɵf } from './lib/camunda/form/generated/formfield/camunda-formfield-generator.directive';
|
|
11
|
+
export { CamundaFormfieldService as ɵe } from './lib/camunda/form/generated/formfield/camunda-formfield.service';
|
|
12
|
+
export { CamundaChoicefieldFormfieldComponent as ɵj } from './lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component';
|
|
13
|
+
export { CamundaDateFormfieldComponent as ɵd } from './lib/camunda/form/generated/formfield/date/camunda-date-formfield.component';
|
|
14
|
+
export { CamundaEnumFormfieldComponent as ɵh } from './lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component';
|
|
15
|
+
export { CamundaLongFormfieldComponent as ɵg } from './lib/camunda/form/generated/formfield/long/camunda-long-formfield.component';
|
|
16
|
+
export { CamundaStringFormfieldComponent as ɵb } from './lib/camunda/form/generated/formfield/string/camunda-string-formfield.component';
|
|
17
|
+
export { CamundaTextareaFormfieldComponent as ɵi } from './lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component';
|
|
18
|
+
export { CamundaFormfieldValidationComponent as ɵk } from './lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component';
|
|
19
|
+
export { AppConfig as ɵu } from './lib/form-io/formio-config';
|
|
20
|
+
export { FormIoDomService as ɵt } from './lib/form-io/services/form-io-dom.service';
|
|
21
|
+
export { FormIoStateService as ɵs } from './lib/form-io/services/form-io-state.service';
|
|
22
|
+
export { MenuItemTextComponent as ɵp } from './lib/menu/menu-item-text.component';
|
|
23
|
+
export { MenuComponent as ɵo } from './lib/menu/menu.component';
|
|
24
|
+
export { SubmenuItemTextComponent as ɵq } from './lib/menu/submenu-item-text.component';
|
|
25
|
+
export { SpinnerComponent as ɵv } from './lib/spinner/spinner.component';
|
|
26
|
+
export { VersionService as ɵr } from './lib/version/version.service';
|