@valtimo/components 5.13.0 → 5.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/alert/alert.module.mjs +4 -4
- package/esm2020/lib/components/alert/alert.service.mjs +3 -3
- package/esm2020/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.mjs +3 -3
- package/esm2020/lib/components/bpmn-js-diagram/bpmn-js-diagram.module.mjs +4 -4
- package/esm2020/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +3 -3
- package/esm2020/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.mjs +4 -4
- package/esm2020/lib/components/camunda/form/camunda-form.components.mjs +3 -3
- package/esm2020/lib/components/camunda/form/camunda-form.module.mjs +4 -4
- package/esm2020/lib/components/camunda/form/custom/camunda-custom-form.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/custom/camunda-custom-form.module.mjs +4 -4
- package/esm2020/lib/components/camunda/form/generated/camunda-generated-form.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/camunda-generated-form.module.mjs +4 -4
- package/esm2020/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/camunda-formfield.service.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.mjs +3 -3
- package/esm2020/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.mjs +3 -3
- package/esm2020/lib/components/card/card.component.mjs +3 -3
- package/esm2020/lib/components/card/card.module.mjs +4 -4
- package/esm2020/lib/components/components.module.mjs +4 -4
- package/esm2020/lib/components/data-list/data-list.component.mjs +3 -3
- package/esm2020/lib/components/data-list/data-list.module.mjs +4 -4
- package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.mjs +3 -3
- package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.mjs +4 -4
- package/esm2020/lib/components/dropzone/dropzone.component.mjs +3 -3
- package/esm2020/lib/components/dropzone/dropzone.module.mjs +4 -4
- package/esm2020/lib/components/field-auto-focus/field-auto-focus.directive.mjs +3 -3
- package/esm2020/lib/components/field-auto-focus/field-auto-focus.module.mjs +4 -4
- package/esm2020/lib/components/file-size/file-size.module.mjs +4 -4
- package/esm2020/lib/components/file-size/file-size.pipe.mjs +3 -3
- package/esm2020/lib/components/filter-sidebar/filter-sidebar.component.mjs +3 -3
- package/esm2020/lib/components/filter-sidebar/filter-sidebar.module.mjs +4 -4
- package/esm2020/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.mjs +3 -3
- package/esm2020/lib/components/form-io/form-io-builder.component.mjs +3 -3
- package/esm2020/lib/components/form-io/form-io-uploader/form-io-uploader.component.mjs +3 -3
- package/esm2020/lib/components/form-io/form-io.component.mjs +7 -5
- package/esm2020/lib/components/form-io/form-io.module.mjs +4 -4
- package/esm2020/lib/components/form-io/services/form-io-dom.service.mjs +3 -3
- package/esm2020/lib/components/form-io/services/form-io-state.service.mjs +3 -3
- package/esm2020/lib/components/left-sidebar/left-sidebar.component.mjs +3 -3
- package/esm2020/lib/components/left-sidebar/left-sidebar.module.mjs +4 -4
- package/esm2020/lib/components/list/ListFilterPipe.directive.mjs +3 -3
- package/esm2020/lib/components/list/list.component.mjs +7 -5
- package/esm2020/lib/components/list/list.module.mjs +4 -4
- package/esm2020/lib/components/menu/menu-item-text.component.mjs +3 -3
- package/esm2020/lib/components/menu/menu-routing.module.mjs +4 -4
- package/esm2020/lib/components/menu/menu.component.mjs +3 -3
- package/esm2020/lib/components/menu/menu.module.mjs +4 -4
- package/esm2020/lib/components/menu/menu.service.mjs +52 -32
- package/esm2020/lib/components/menu/submenu-item-text.component.mjs +21 -11
- package/esm2020/lib/components/modal/modal.component.mjs +21 -5
- package/esm2020/lib/components/modal/modal.module.mjs +4 -4
- package/esm2020/lib/components/multiselect-dropdown/multiselect-dropdown.component.mjs +3 -3
- package/esm2020/lib/components/multiselect-dropdown/multiselect-dropdown.module.mjs +4 -4
- package/esm2020/lib/components/page-header/page-header.component.mjs +3 -3
- package/esm2020/lib/components/page-header/page-header.module.mjs +4 -4
- package/esm2020/lib/components/page-title/page-title.component.mjs +3 -3
- package/esm2020/lib/components/page-title/page-title.module.mjs +4 -4
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/lib/components/right-sidebar/right-sidebar.component.mjs +3 -3
- package/esm2020/lib/components/right-sidebar/right-sidebar.module.mjs +4 -4
- package/esm2020/lib/components/search-fields/search-fields.component.mjs +91 -36
- package/esm2020/lib/components/search-fields/search-fields.module.mjs +10 -7
- package/esm2020/lib/components/searchable-dropdown/searchable-dropdown.component.mjs +3 -3
- package/esm2020/lib/components/searchable-dropdown/searchable-dropdown.module.mjs +4 -4
- package/esm2020/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.mjs +3 -3
- package/esm2020/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.mjs +4 -4
- package/esm2020/lib/components/spinner/spinner.component.mjs +3 -3
- package/esm2020/lib/components/spinner/spinner.module.mjs +4 -4
- package/esm2020/lib/components/timeline/timeline.component.mjs +3 -3
- package/esm2020/lib/components/timeline/timeline.module.mjs +4 -4
- package/esm2020/lib/components/topbar/topbar.component.mjs +3 -3
- package/esm2020/lib/components/topbar/topbar.module.mjs +4 -4
- package/esm2020/lib/components/uploader/uploader-drag-drop.directive.mjs +3 -3
- package/esm2020/lib/components/uploader/uploader.component.mjs +3 -3
- package/esm2020/lib/components/uploader/uploader.module.mjs +4 -4
- package/esm2020/lib/components/version/version.service.mjs +3 -3
- package/esm2020/lib/components/view-content/view-content.service.mjs +3 -3
- package/esm2020/lib/components/webcam/webcam.component.mjs +3 -3
- package/esm2020/lib/components/webcam/webcam.module.mjs +4 -4
- package/esm2020/lib/components/widget/widget.component.mjs +3 -3
- package/esm2020/lib/components/widget/widget.module.mjs +4 -4
- package/esm2020/lib/services/valtimo-modal.service.mjs +3 -3
- package/fesm2015/valtimo-components.mjs +488 -387
- package/fesm2015/valtimo-components.mjs.map +1 -1
- package/fesm2020/valtimo-components.mjs +494 -387
- package/fesm2020/valtimo-components.mjs.map +1 -1
- package/lib/components/form-io/form-io.component.d.ts +2 -1
- package/lib/components/form-io/form-io.component.d.ts.map +1 -1
- package/lib/components/list/list.component.d.ts +3 -2
- package/lib/components/list/list.component.d.ts.map +1 -1
- package/lib/components/menu/menu.service.d.ts +3 -2
- package/lib/components/menu/menu.service.d.ts.map +1 -1
- package/lib/components/menu/submenu-item-text.component.d.ts.map +1 -1
- package/lib/components/modal/modal.component.d.ts +4 -0
- package/lib/components/modal/modal.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.component.d.ts +25 -13
- package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.module.d.ts +1 -1
- package/lib/components/search-fields/search-fields.module.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ export declare class FormioComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
20
20
|
form: any;
|
|
21
21
|
options: ValtimoFormioOptions;
|
|
22
22
|
submission?: object;
|
|
23
|
+
readOnly?: boolean;
|
|
23
24
|
formRefresh$: Subject<FormioRefreshValue>;
|
|
24
25
|
submit: EventEmitter<any>;
|
|
25
26
|
change: EventEmitter<any>;
|
|
@@ -48,6 +49,6 @@ export declare class FormioComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
48
49
|
private subscribeFormRefresh;
|
|
49
50
|
private unsubscribeFormRefresh;
|
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormioComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormioComponent, "valtimo-form-io", never, { "form": "form"; "options": "options"; "submission": "submission"; "formRefresh$": "formRefresh$"; }, { "submit": "submit"; "change": "change"; }, never, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormioComponent, "valtimo-form-io", never, { "form": "form"; "options": "options"; "submission": "submission"; "readOnly": "readOnly"; "formRefresh$": "formRefresh$"; }, { "submit": "submit"; "change": "change"; }, never, never>;
|
|
52
53
|
}
|
|
53
54
|
//# sourceMappingURL=form-io.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-io.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,cAAc,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAS,eAAe,IAAI,qBAAqB,EAAE,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAO,OAAO,EAAsB,MAAM,MAAM,CAAC;AAExD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,eAAgB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"form-io.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,cAAc,CAAC;AACpE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAS,eAAe,IAAI,qBAAqB,EAAE,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAO,OAAO,EAAsB,MAAM,MAAM,CAAC;AAExD,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,eAAgB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAsBhE,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAA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f,eAAe;CA2J3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SortState } from '@valtimo/document';
|
|
3
3
|
import { NGXLogger } from 'ngx-logger';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -17,6 +17,7 @@ export declare class ListComponent implements OnChanges, OnInit, AfterViewInit {
|
|
|
17
17
|
actions: any[];
|
|
18
18
|
paginationIdentifier?: string;
|
|
19
19
|
initialSortState: SortState;
|
|
20
|
+
lastColumnTemplate?: TemplateRef<any>;
|
|
20
21
|
rowClicked: EventEmitter<any>;
|
|
21
22
|
paginationClicked: EventEmitter<any>;
|
|
22
23
|
paginationSet: EventEmitter<any>;
|
|
@@ -42,6 +43,6 @@ export declare class ListComponent implements OnChanges, OnInit, AfterViewInit {
|
|
|
42
43
|
onClickPagination(page: any): void;
|
|
43
44
|
handleFieldClick(key: string, sortable: boolean): void;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "valtimo-list", never, { "items": "items"; "fields": "fields"; "pagination": "pagination"; "viewMode": "viewMode"; "isSearchable": "isSearchable"; "header": "header"; "actions": "actions"; "paginationIdentifier": "paginationIdentifier"; "initialSortState": "initialSortState"; }, { "rowClicked": "rowClicked"; "paginationClicked": "paginationClicked"; "paginationSet": "paginationSet"; "search": "search"; "sortChanged": "sortChanged"; }, never, ["[header]", "[tabs]"]>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "valtimo-list", never, { "items": "items"; "fields": "fields"; "pagination": "pagination"; "viewMode": "viewMode"; "isSearchable": "isSearchable"; "header": "header"; "actions": "actions"; "paginationIdentifier": "paginationIdentifier"; "initialSortState": "initialSortState"; "lastColumnTemplate": "lastColumnTemplate"; }, { "rowClicked": "rowClicked"; "paginationClicked": "paginationClicked"; "paginationSet": "paginationSet"; "search": "search"; "sortChanged": "sortChanged"; }, never, ["[header]", "[tabs]"]>;
|
|
46
47
|
}
|
|
47
48
|
//# sourceMappingURL=list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/list/list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,
|
|
1
|
+
{"version":3,"file":"list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/list/list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EACb,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAY,SAAS,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,eAAe,EAAY,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;;AAExE,qBAKa,aAAc,YAAW,SAAS,EAAE,MAAM,EAAE,aAAa;IA+BxD,OAAO,CAAC,kBAAkB;IAAsB,OAAO,CAAC,MAAM;IA9B1E,OAAO,CAAC,MAAM,CAAC,eAAe,CAAoB;IAEzC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CA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|
-
import { ConfigService } from '@valtimo/config';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import { DocumentService } from '@valtimo/document';
|
|
6
5
|
import { UserProviderService } from '@valtimo/security';
|
|
@@ -16,6 +15,7 @@ export declare class MenuService {
|
|
|
16
15
|
};
|
|
17
16
|
private _menuItems$;
|
|
18
17
|
private menuConfig;
|
|
18
|
+
private readonly disableCaseCount;
|
|
19
19
|
constructor(configService: ConfigService, documentService: DocumentService, userProviderService: UserProviderService, logger: NGXLogger, menuIncludeService: MenuIncludeService);
|
|
20
20
|
init(): void;
|
|
21
21
|
get menuItems$(): Observable<MenuItem[]>;
|
|
@@ -23,6 +23,7 @@ export declare class MenuService {
|
|
|
23
23
|
private loadMenuItems;
|
|
24
24
|
private sortMenuItems;
|
|
25
25
|
private appendDossierSubMenuItems;
|
|
26
|
+
private getOpenDocumentCountMap;
|
|
26
27
|
private applyMenuRoleSecurity;
|
|
27
28
|
private determineRoleAccess;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu.service.ts"],"names":[],"mappings":"AAiBA,OAAO,
|
|
1
|
+
{"version":3,"file":"menu.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,aAAa,EAAc,kBAAkB,EAAE,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAiC,UAAU,EAAuB,MAAM,MAAM,CAAC;AACtF,OAAO,EAAsB,eAAe,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAEtD,qBAGa,WAAW;IASpB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAZ9B,0BAA0B,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;KAAC,CAAM;IAE7E,OAAO,CAAC,WAAW,CAA8C;IACjE,OAAO,CAAC,UAAU,CAAa;IAE/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAW;gBAGzB,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,SAAS,EACjB,kBAAkB,EAAE,kBAAkB;IAOzD,IAAI,IAAI,IAAI;IAKZ,IAAW,UAAU,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC,CAE9C;IAEM,MAAM,IAAI,IAAI;IAIrB,OAAO,CAAC,aAAa;IAkBrB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,yBAAyB;IA8CjC,OAAO,CAAC,uBAAuB;IAkB/B,OAAO,CAAC,qBAAqB;IAkB7B,OAAO,CAAC,mBAAmB;yCAzIhB,WAAW;6CAAX,WAAW;CA4IvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submenu-item-text.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/submenu-item-text.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;AAEzC,
|
|
1
|
+
{"version":3,"file":"submenu-item-text.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/submenu-item-text.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;AAEzC,qBA0Ba,wBAAwB;IAC1B,WAAW,EAAE,QAAQ,CAAC;yCADpB,wBAAwB;2CAAxB,wBAAwB;CAEpC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ValtimoModalService } from '../../services/valtimo-modal.service';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ModalComponent implements AfterViewInit, OnInit, OnDestroy {
|
|
5
6
|
private readonly modalService;
|
|
@@ -9,7 +10,9 @@ export declare class ModalComponent implements AfterViewInit, OnInit, OnDestroy
|
|
|
9
10
|
templateBelowSubtitle: TemplateRef<any>;
|
|
10
11
|
showFooter: boolean;
|
|
11
12
|
scrollModal: ElementRef<HTMLDivElement>;
|
|
13
|
+
readonly modalShowing$: BehaviorSubject<boolean>;
|
|
12
14
|
private scrollSubscription;
|
|
15
|
+
private observer;
|
|
13
16
|
constructor(modalService: ValtimoModalService);
|
|
14
17
|
ngOnInit(): void;
|
|
15
18
|
ngAfterViewInit(): void;
|
|
@@ -17,6 +20,7 @@ export declare class ModalComponent implements AfterViewInit, OnInit, OnDestroy
|
|
|
17
20
|
hide(): void;
|
|
18
21
|
ngOnDestroy(): void;
|
|
19
22
|
private openScrollSubscription;
|
|
23
|
+
private watchForClassChanges;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
21
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "valtimo-modal", never, { "elementId": "elementId"; "title": "title"; "subtitle": "subtitle"; "templateBelowSubtitle": "templateBelowSubtitle"; "showFooter": "showFooter"; }, {}, never, ["[body]", "[footer]"]>;
|
|
22
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/modal/modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,SAAS,EACT,MAAM,EACN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;
|
|
1
|
+
{"version":3,"file":"modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/modal/modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,SAAS,EACT,MAAM,EACN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,eAAe,EAAe,MAAM,MAAM,CAAC;;AAKnD,qBAKa,cAAe,YAAW,aAAa,EAAE,MAAM,EAAE,SAAS;IAezD,OAAO,CAAC,QAAQ,CAAC,YAAY;IAdhC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,SAAM;IACX,QAAQ,SAAM;IACd,qBAAqB,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IACxC,UAAU,UAAS;IAEF,WAAW,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAElE,QAAQ,CAAC,aAAa,2BAAuC;IAE7D,OAAO,CAAC,kBAAkB,CAAgB;IAE1C,OAAO,CAAC,QAAQ,CAAoB;gBAEP,YAAY,EAAE,mBAAmB;IAE9D,QAAQ,IAAI,IAAI;IAIhB,eAAe;IAKf,IAAI;IAIJ,IAAI;IAIJ,WAAW,IAAI,IAAI;IAKnB,OAAO,CAAC,sBAAsB;IAQ9B,OAAO,CAAC,oBAAoB;yCA/CjB,cAAc;2CAAd,cAAc;CA2D1B"}
|
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SearchField,
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { SearchField, SearchFieldBoolean, SearchFieldValues } from '@valtimo/config';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
|
+
import { SelectItem } from '@valtimo/user-interface';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class SearchFieldsComponent implements OnInit, OnDestroy {
|
|
6
|
-
readonly
|
|
7
|
-
readonly values$: BehaviorSubject<{
|
|
8
|
-
[key: string]: SearchFieldValue;
|
|
9
|
-
}>;
|
|
8
|
+
private readonly translateService;
|
|
10
9
|
loading: boolean;
|
|
11
10
|
set searchFields(fields: Array<SearchField>);
|
|
12
|
-
|
|
13
|
-
doSearch: EventEmitter<
|
|
11
|
+
set documentDefinitionName(documentDefinitionName: string);
|
|
12
|
+
doSearch: EventEmitter<SearchFieldValues>;
|
|
13
|
+
readonly documentDefinitionName$: BehaviorSubject<string>;
|
|
14
|
+
readonly searchFields$: BehaviorSubject<SearchField[]>;
|
|
15
|
+
readonly values$: BehaviorSubject<SearchFieldValues>;
|
|
16
|
+
readonly hasValidValues$: Observable<boolean>;
|
|
14
17
|
readonly expanded$: BehaviorSubject<boolean>;
|
|
15
|
-
|
|
18
|
+
readonly clear$: Subject<null>;
|
|
19
|
+
private documentDefinitionNameSubscription;
|
|
20
|
+
private readonly BOOLEAN_POSITIVE;
|
|
21
|
+
private readonly BOOLEAN_NEGATIVE;
|
|
22
|
+
readonly BOOLEANTYPES: Array<SearchFieldBoolean>;
|
|
23
|
+
readonly booleanItems$: Observable<Array<SelectItem>>;
|
|
24
|
+
constructor(translateService: TranslateService);
|
|
16
25
|
ngOnInit(): void;
|
|
17
26
|
ngOnDestroy(): void;
|
|
18
|
-
singleValueChange(searchFieldKey: string, value: any): void;
|
|
19
|
-
multipleValueChange(searchFieldKey: string, value: any): void;
|
|
27
|
+
singleValueChange(searchFieldKey: string, value: any, isDateTime?: boolean): void;
|
|
28
|
+
multipleValueChange(searchFieldKey: string, value: any, isDateTime?: boolean): void;
|
|
20
29
|
toggleExpanded(): void;
|
|
21
30
|
search(): void;
|
|
22
|
-
|
|
31
|
+
clear(): void;
|
|
32
|
+
private getSingleValue;
|
|
33
|
+
private openDocumentDefinitionNameSubscription;
|
|
34
|
+
private collapse;
|
|
23
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFieldsComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFieldsComponent, "valtimo-search-fields", never, { "loading": "loading"; "searchFields": "searchFields";
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFieldsComponent, "valtimo-search-fields", never, { "loading": "loading"; "searchFields": "searchFields"; "documentDefinitionName": "documentDefinitionName"; }, { "doSearch": "doSearch"; }, never, never>;
|
|
25
37
|
}
|
|
26
38
|
//# sourceMappingURL=search-fields.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"search-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAC,eAAe,EAAO,UAAU,EAAE,OAAO,EAAqB,MAAM,MAAM,CAAC;AACnF,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,qBAAsB,YAAW,MAAM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qBAAqB;CAoIjC"}
|
|
@@ -7,7 +7,7 @@ import * as i5 from "@ngx-translate/core";
|
|
|
7
7
|
import * as i6 from "@valtimo/user-interface";
|
|
8
8
|
export declare class SearchFieldsModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFieldsModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SearchFieldsModule, [typeof i1.SearchFieldsComponent], [typeof i2.CommonModule, typeof i3.SpinnerModule, typeof i4.WidgetModule, typeof i5.TranslateModule, typeof i6.InputModule, typeof i6.FormModule, typeof i6.DatePickerModule, typeof i6.InputLabelModule, typeof i6.ParagraphModule, typeof i6.ButtonModule], [typeof i1.SearchFieldsComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SearchFieldsModule, [typeof i1.SearchFieldsComponent], [typeof i2.CommonModule, typeof i3.SpinnerModule, typeof i4.WidgetModule, typeof i5.TranslateModule, typeof i6.InputModule, typeof i6.FormModule, typeof i6.DatePickerModule, typeof i6.InputLabelModule, typeof i6.ParagraphModule, typeof i6.ButtonModule, typeof i6.SelectModule], [typeof i1.SearchFieldsComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SearchFieldsModule>;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=search-fields.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-fields.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.module.ts"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"search-fields.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.module.ts"],"names":[],"mappings":";;;;;;;AAgCA,qBAiBa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAG"}
|