@netgrif/components-core 6.4.0-beta.4 → 6.4.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/esm2020/assets/i18n/de.json +9 -0
  2. package/esm2020/assets/i18n/en.json +9 -0
  3. package/esm2020/assets/i18n/sk.json +9 -0
  4. package/esm2020/lib/actions/front-action.module.mjs +28 -0
  5. package/esm2020/lib/actions/model/front-action-definition.mjs +2 -0
  6. package/esm2020/lib/actions/model/router-action-definitions.mjs +8 -0
  7. package/esm2020/lib/actions/model/task-action-definitions.mjs +16 -0
  8. package/esm2020/lib/actions/public-api.mjs +6 -0
  9. package/esm2020/lib/actions/services/front-action.service.mjs +27 -0
  10. package/esm2020/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +6 -2
  11. package/esm2020/lib/data-fields/case-ref-field/model/case-ref-injection-tokens.mjs +2 -1
  12. package/esm2020/lib/data-fields/data-fields.module.mjs +1 -1
  13. package/esm2020/lib/data-fields/enumeration-field/enumeration-caseref-field/abstract-enumeration-caseref-field.component.mjs +67 -0
  14. package/esm2020/lib/data-fields/enumeration-field/models/enumeration-field.mjs +9 -1
  15. package/esm2020/lib/data-fields/models/changed-fields.mjs +1 -1
  16. package/esm2020/lib/data-fields/multichoice-field/models/multichoice-field.mjs +9 -1
  17. package/esm2020/lib/data-fields/multichoice-field/multichoice-caseref-field/abstract-multichoice-caseref-field.component.mjs +67 -0
  18. package/esm2020/lib/data-fields/public-api.mjs +3 -1
  19. package/esm2020/lib/event/model/event-constants.mjs +5 -1
  20. package/esm2020/lib/event/services/event.service.mjs +23 -1
  21. package/esm2020/lib/filter/user-filters.service.mjs +1 -1
  22. package/esm2020/lib/header/abstract-header.component.mjs +8 -2
  23. package/esm2020/lib/header/header-modes/abstract-header-mode.component.mjs +10 -2
  24. package/esm2020/lib/navigation/model/group-navigation-constants.mjs +5 -1
  25. package/esm2020/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.mjs +96 -37
  26. package/esm2020/lib/navigation/service/uri.service.mjs +22 -1
  27. package/esm2020/lib/navigation/utility/filter-extraction.service.mjs +2 -2
  28. package/esm2020/lib/panel/case-panel/abstract-case-panel.component.mjs +9 -2
  29. package/esm2020/lib/panel/task-panel/abstract-task-panel.component.mjs +5 -2
  30. package/esm2020/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.mjs +5 -3
  31. package/esm2020/lib/panel/task-panel-single/abstract-single-task.component.mjs +11 -5
  32. package/esm2020/lib/public/factories/public-search-factory.mjs +15 -4
  33. package/esm2020/lib/registry/front-action-registry.service.mjs +34 -0
  34. package/esm2020/lib/registry/public-api.mjs +2 -1
  35. package/esm2020/lib/resources/interface/event-outcome.mjs +1 -1
  36. package/esm2020/lib/search/fulltext-search-component/abstract-fulltext-search.component.mjs +14 -4
  37. package/esm2020/lib/search/search-component/abstract-search.component.mjs +5 -3
  38. package/esm2020/lib/side-menu/content-components/injection-tokens.mjs +2 -1
  39. package/esm2020/lib/side-menu/content-components/public-api.mjs +2 -1
  40. package/esm2020/lib/side-menu/content-components/task-view/model/task-view-injection-data.mjs +2 -0
  41. package/esm2020/lib/task/services/task-data.service.mjs +11 -9
  42. package/esm2020/lib/task-content/services/single-task-content.service.mjs +4 -4
  43. package/esm2020/lib/task-content/services/task-content.service.mjs +22 -22
  44. package/esm2020/lib/task-content/services/unlimited-task-content.service.mjs +4 -4
  45. package/esm2020/lib/utility/navigation-item-default-headers-factory.mjs +12 -7
  46. package/esm2020/lib/view/abstract/netgrif-paginator-intl.mjs +36 -0
  47. package/esm2020/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.mjs +8 -4
  48. package/esm2020/lib/view/public-api.mjs +2 -1
  49. package/esm2020/lib/view/task-view/abstract-single-task-view.component.mjs +18 -34
  50. package/esm2020/public-api.mjs +2 -1
  51. package/fesm2015/netgrif-components-core.mjs +1041 -589
  52. package/fesm2015/netgrif-components-core.mjs.map +1 -1
  53. package/fesm2020/netgrif-components-core.mjs +1027 -583
  54. package/fesm2020/netgrif-components-core.mjs.map +1 -1
  55. package/lib/actions/front-action.module.d.ts +9 -0
  56. package/lib/actions/model/front-action-definition.d.ts +5 -0
  57. package/lib/actions/model/router-action-definitions.d.ts +2 -0
  58. package/lib/actions/model/task-action-definitions.d.ts +3 -0
  59. package/lib/actions/public-api.d.ts +5 -0
  60. package/lib/actions/services/front-action.service.d.ts +15 -0
  61. package/lib/data-fields/case-ref-field/model/case-ref-injection-tokens.d.ts +2 -0
  62. package/lib/data-fields/enumeration-field/enumeration-caseref-field/abstract-enumeration-caseref-field.component.d.ts +16 -0
  63. package/lib/data-fields/enumeration-field/models/enumeration-field.d.ts +4 -1
  64. package/lib/data-fields/models/changed-fields.d.ts +7 -6
  65. package/lib/data-fields/multichoice-field/models/multichoice-field.d.ts +4 -0
  66. package/lib/data-fields/multichoice-field/multichoice-caseref-field/abstract-multichoice-caseref-field.component.d.ts +16 -0
  67. package/lib/data-fields/public-api.d.ts +2 -0
  68. package/lib/event/model/event-constants.d.ts +5 -1
  69. package/lib/event/services/event.service.d.ts +3 -0
  70. package/lib/header/abstract-header.component.d.ts +4 -1
  71. package/lib/header/header-modes/abstract-header-mode.component.d.ts +6 -1
  72. package/lib/navigation/model/group-navigation-constants.d.ts +5 -1
  73. package/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.d.ts +9 -1
  74. package/lib/navigation/service/uri.service.d.ts +6 -0
  75. package/lib/panel/case-panel/abstract-case-panel.component.d.ts +5 -1
  76. package/lib/panel/task-panel/abstract-task-panel.component.d.ts +2 -1
  77. package/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.d.ts +2 -1
  78. package/lib/panel/task-panel-single/abstract-single-task.component.d.ts +5 -3
  79. package/lib/public/factories/public-search-factory.d.ts +3 -0
  80. package/lib/registry/front-action-registry.service.d.ts +13 -0
  81. package/lib/registry/public-api.d.ts +1 -0
  82. package/lib/resources/interface/event-outcome.d.ts +5 -0
  83. package/lib/search/fulltext-search-component/abstract-fulltext-search.component.d.ts +2 -1
  84. package/lib/search/search-component/abstract-search.component.d.ts +2 -1
  85. package/lib/side-menu/content-components/injection-tokens.d.ts +1 -0
  86. package/lib/side-menu/content-components/public-api.d.ts +1 -0
  87. package/lib/side-menu/content-components/task-view/model/task-view-injection-data.d.ts +4 -0
  88. package/lib/task/services/task-data.service.d.ts +4 -2
  89. package/lib/task-content/services/single-task-content.service.d.ts +2 -2
  90. package/lib/task-content/services/task-content.service.d.ts +7 -16
  91. package/lib/task-content/services/unlimited-task-content.service.d.ts +2 -2
  92. package/lib/view/abstract/netgrif-paginator-intl.d.ts +19 -0
  93. package/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.d.ts +3 -1
  94. package/lib/view/public-api.d.ts +1 -0
  95. package/lib/view/task-view/abstract-single-task-view.component.d.ts +6 -5
  96. package/package.json +1 -1
  97. package/public-api.d.ts +1 -0
  98. package/src/assets/i18n/de.json +9 -0
  99. package/src/assets/i18n/en.json +9 -0
  100. package/src/assets/i18n/sk.json +9 -0
@@ -0,0 +1,9 @@
1
+ import { FrontActionRegistryService } from "../registry/front-action-registry.service";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export declare class FrontActionModule {
5
+ constructor(frontActionsRegistry: FrontActionRegistryService);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrontActionModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FrontActionModule, never, [typeof i1.CommonModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<FrontActionModule>;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { Injector } from "@angular/core";
2
+ import { FrontAction } from "../../data-fields/models/changed-fields";
3
+ export interface FrontActionDefinition {
4
+ call: (injector: Injector, frontAction: FrontAction) => void;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { FrontActionDefinition } from "./front-action-definition";
2
+ export declare const redirectAction: FrontActionDefinition;
@@ -0,0 +1,3 @@
1
+ import { FrontActionDefinition } from "./front-action-definition";
2
+ export declare const validateTaskAction: FrontActionDefinition;
3
+ export declare const reloadTaskAction: FrontActionDefinition;
@@ -0,0 +1,5 @@
1
+ export * from './front-action.module';
2
+ export * from './model/front-action-definition';
3
+ export * from './model/router-action-definitions';
4
+ export * from './model/task-action-definitions';
5
+ export * from './services/front-action.service';
@@ -0,0 +1,15 @@
1
+ import { Injector } from '@angular/core';
2
+ import { FrontActionRegistryService } from "../../registry/front-action-registry.service";
3
+ import { FrontAction } from "../../data-fields/models/changed-fields";
4
+ import { LoggerService } from "../../logger/services/logger.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class FrontActionService {
7
+ protected _injector: Injector;
8
+ protected _frontActionRegistry: FrontActionRegistryService;
9
+ protected _log: LoggerService;
10
+ constructor(_injector: Injector, _frontActionRegistry: FrontActionRegistryService, _log: LoggerService);
11
+ run(frontAction: FrontAction): void;
12
+ runAll(frontAction: FrontAction[]): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrontActionService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<FrontActionService>;
15
+ }
@@ -1,3 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
+ import { CaseRefField } from './case-ref-field';
2
3
  export declare const NAE_CASE_REF_CREATE_CASE: InjectionToken<boolean>;
3
4
  export declare const NAE_CASE_REF_SEARCH: InjectionToken<boolean>;
5
+ export declare const NAE_CASE_REF_DATAFIELD: InjectionToken<CaseRefField>;
@@ -0,0 +1,16 @@
1
+ import { AfterViewInit, Injector, Type } from "@angular/core";
2
+ import { AbstractBaseDataFieldComponent } from "../../base-component/abstract-base-data-field.component";
3
+ import { DataFieldPortalData } from "../../models/data-field-portal-data-injection-token";
4
+ import { ComponentPortal } from "@angular/cdk/portal";
5
+ import { EnumerationField } from '../models/enumeration-field';
6
+ import * as i0 from "@angular/core";
7
+ export declare abstract class AbstractEnumerationCaseRefComponent extends AbstractBaseDataFieldComponent<EnumerationField> implements AfterViewInit {
8
+ protected injector: Injector;
9
+ protected caseViewType: Type<any>;
10
+ componentPortal: ComponentPortal<any>;
11
+ protected constructor(injector: Injector, caseViewType: Type<any>, dataFieldPortalData: DataFieldPortalData<EnumerationField>);
12
+ ngAfterViewInit(): void;
13
+ createFilter(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractEnumerationCaseRefComponent, [null, null, { optional: true; }]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractEnumerationCaseRefComponent, "ncc-abstract-case-ref-default", never, {}, {}, never, never>;
16
+ }
@@ -5,7 +5,7 @@ import { ValidatorFn } from '@angular/forms';
5
5
  import { FieldTypeResource } from '../../../task-content/model/field-type-resource';
6
6
  import { Component } from '../../models/component';
7
7
  import { Validation } from '../../models/validation';
8
- import { Observable } from "rxjs";
8
+ import { Observable, Subject } from "rxjs";
9
9
  import { UpdateOnStrategy } from "../../models/update-strategy";
10
10
  export interface EnumerationFieldValue {
11
11
  key: string;
@@ -19,6 +19,7 @@ export declare class EnumerationField extends DataField<string> {
19
19
  protected _choices: Array<EnumerationFieldValue>;
20
20
  protected readonly _fieldType: FieldTypeResource;
21
21
  protected REQUEST_DEBOUNCE_TIME: number;
22
+ protected _updatedChoices: Subject<void>;
22
23
  constructor(stringId: string, title: string, value: string, _choices: Array<EnumerationFieldValue>, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, _fieldType?: FieldTypeResource, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
23
24
  set choices(choices: Array<EnumerationFieldValue>);
24
25
  get choices(): Array<EnumerationFieldValue>;
@@ -26,6 +27,8 @@ export declare class EnumerationField extends DataField<string> {
26
27
  getUpdateOnStrategy(): UpdateOnStrategy;
27
28
  valueChanges(): Observable<string>;
28
29
  getTypedComponentType(): string;
30
+ get updatedChoices(): Observable<void>;
31
+ updateChoice(): void;
29
32
  protected resolveFormControlValidators(): Array<ValidatorFn>;
30
33
  private checkKey;
31
34
  }
@@ -35,10 +35,11 @@ export interface Change {
35
35
  [key: string]: Behavior;
36
36
  };
37
37
  [key: string]: any;
38
+ action?: FrontAction[];
39
+ }
40
+ export interface FrontAction {
41
+ id: string;
42
+ args: {
43
+ [k: string]: any;
44
+ };
38
45
  }
39
- /**
40
- * A prototype implementation of frontend actions.
41
- *
42
- * The specifics are subject to change.
43
- */
44
- export declare type FrontendActions = Change;
@@ -5,6 +5,7 @@ import { FieldTypeResource } from '../../../task-content/model/field-type-resour
5
5
  import { Component } from '../../models/component';
6
6
  import { Validation } from '../../models/validation';
7
7
  import { UpdateOnStrategy } from "../../models/update-strategy";
8
+ import { Observable, Subject } from 'rxjs';
8
9
  export interface MultichoiceFieldValue {
9
10
  key: string;
10
11
  value: string;
@@ -12,10 +13,13 @@ export interface MultichoiceFieldValue {
12
13
  export declare class MultichoiceField extends DataField<Array<string>> {
13
14
  private _choices;
14
15
  private readonly _fieldType;
16
+ protected _updatedChoices: Subject<void>;
15
17
  constructor(stringId: string, title: string, values: Array<string>, _choices: Array<MultichoiceFieldValue>, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, _fieldType?: FieldTypeResource, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
16
18
  set choices(choices: Array<MultichoiceFieldValue>);
17
19
  get choices(): Array<MultichoiceFieldValue>;
18
20
  get fieldType(): FieldTypeResource;
21
+ get updatedChoices(): Observable<void>;
22
+ updateChoice(): void;
19
23
  getUpdateOnStrategy(): UpdateOnStrategy;
20
24
  getTypedComponentType(): string;
21
25
  protected valueEquality(a: Array<string>, b: Array<string>): boolean;
@@ -0,0 +1,16 @@
1
+ import { AfterViewInit, Injector, Type } from "@angular/core";
2
+ import { AbstractBaseDataFieldComponent } from "../../base-component/abstract-base-data-field.component";
3
+ import { DataFieldPortalData } from "../../models/data-field-portal-data-injection-token";
4
+ import { ComponentPortal } from "@angular/cdk/portal";
5
+ import { MultichoiceField } from '../models/multichoice-field';
6
+ import * as i0 from "@angular/core";
7
+ export declare abstract class AbstractMultichoiceCaseRefComponent extends AbstractBaseDataFieldComponent<MultichoiceField> implements AfterViewInit {
8
+ protected injector: Injector;
9
+ protected caseViewType: Type<any>;
10
+ componentPortal: ComponentPortal<any>;
11
+ protected constructor(injector: Injector, caseViewType: Type<any>, dataFieldPortalData: DataFieldPortalData<MultichoiceField>);
12
+ ngAfterViewInit(): void;
13
+ createFilter(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractMultichoiceCaseRefComponent, [null, null, { optional: true; }]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractMultichoiceCaseRefComponent, "ncc-abstract-case-ref-default", never, {}, {}, never, never>;
16
+ }
@@ -14,6 +14,7 @@ export * from './enumeration-field/enumeration-select-field/abstract-enumeration
14
14
  export * from './enumeration-field/enumeration-list-field/abstract-enumeration-list-field.component';
15
15
  export * from './enumeration-field/enumeration-autocomplete-select-field/abstract-enumeration-autocomplete-select-field.component';
16
16
  export * from './enumeration-field/enumeration-stepper-field/abstract-enumeration-stepper-field.component';
17
+ export * from './enumeration-field/enumeration-caseref-field/abstract-enumeration-caseref-field.component';
17
18
  export * from './file-field/abstract-file-field.component';
18
19
  export * from './file-field/file-default-field/abstract-file-default-field.component';
19
20
  export * from './file-field/abstract-preview-dialog/preview-dialog-data';
@@ -22,6 +23,7 @@ export * from './file-list-field/file-list-default-field/abstract-file-list-defa
22
23
  export * from './multichoice-field/abstract-multichoice-field.component';
23
24
  export * from './multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component';
24
25
  export * from './multichoice-field/multichoice-list-field/abstract-multichoice-list-field.component';
26
+ export * from './multichoice-field/multichoice-caseref-field/abstract-multichoice-caseref-field.component';
25
27
  export * from './multichoice-field/multichoice-select-field/abstract-multichoice-select-field.component';
26
28
  export * from './number-field/abstract-number-field.component';
27
29
  export * from './number-field/currency-number-field/abstract-currency-number-field.component';
@@ -2,5 +2,9 @@ export declare enum EventConstants {
2
2
  /**
3
3
  * Changed fields parameter of {@link SetDataEventOutcome}
4
4
  */
5
- CHANGED_FIELDS = "changedFields"
5
+ CHANGED_FIELDS = "changedFields",
6
+ /**
7
+ * Front actions parameter of {@link EventOutcome}
8
+ */
9
+ FRONT_ACTIONS = "frontActions"
6
10
  }
@@ -1,10 +1,13 @@
1
1
  import { EventOutcome } from '../../resources/interface/event-outcome';
2
+ import { FrontAction } from '../../data-fields/models/changed-fields';
2
3
  import { ChangedFieldsMap } from './interfaces/changed-fields-map';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class EventService {
5
6
  constructor();
6
7
  parseChangedFieldsFromOutcomeTree(outcome: EventOutcome): ChangedFieldsMap;
7
8
  private parseChangedFieldsFromOutcomeTreeRecursive;
9
+ parseFrontActionsFromOutcomeTree(outcome: EventOutcome): Array<FrontAction>;
10
+ private parseFrontActionsFromOutcomeTreeRecursive;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
9
12
  static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
10
13
  }
@@ -21,6 +21,7 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
21
21
  showSortButton: boolean;
22
22
  showSearchButton: boolean;
23
23
  showTableSection: boolean;
24
+ approval: boolean;
24
25
  headerService: AbstractHeaderService;
25
26
  protected _headerSearch: HeaderSearchService;
26
27
  readonly headerModeEnum: typeof HeaderMode;
@@ -34,9 +35,11 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
34
35
  subColumnWidthControl: Subscription;
35
36
  protected _initHeaderCount: number;
36
37
  protected _initResponsiveHeaders: boolean;
38
+ protected _approvalFormControl: FormControl;
37
39
  constructor(_injector: Injector, _translate: TranslateService, _overflowService: OverflowService);
38
40
  set maxHeaderColumns(count: number);
39
41
  set responsiveHeaders(responsive: boolean);
42
+ get approvalFormControl(): FormControl;
40
43
  changeHeadersMode(mode: HeaderMode, saveLastMode?: boolean): void;
41
44
  ngOnInit(): void;
42
45
  ngOnDestroy(): void;
@@ -57,5 +60,5 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
57
60
  protected initializeFormControls(exist: boolean): void;
58
61
  protected initializeValueChanges(): void;
59
62
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderComponent, [null, null, { optional: true; }]>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderComponent, "ncc-abstract-header", never, { "type": "type"; "hideHeaderMenu": "hideHeaderMenu"; "showEditButton": "showEditButton"; "showSortButton": "showSortButton"; "showSearchButton": "showSearchButton"; "showTableSection": "showTableSection"; "maxHeaderColumns": "maxHeaderColumns"; "responsiveHeaders": "responsiveHeaders"; }, {}, never, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderComponent, "ncc-abstract-header", never, { "type": "type"; "hideHeaderMenu": "hideHeaderMenu"; "showEditButton": "showEditButton"; "showSortButton": "showSortButton"; "showSearchButton": "showSearchButton"; "showTableSection": "showTableSection"; "approval": "approval"; "maxHeaderColumns": "maxHeaderColumns"; "responsiveHeaders": "responsiveHeaders"; }, {}, never, never>;
61
64
  }
@@ -1,8 +1,13 @@
1
+ import { FormControl } from '@angular/forms';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare abstract class AbstractHeaderModeComponent {
3
4
  overflowWidth: string;
5
+ approval: boolean;
6
+ indeterminate: boolean;
7
+ approvalFormControl: FormControl;
8
+ typeApproval: string;
4
9
  constructor();
5
10
  getMinWidth(): string;
6
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderModeComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderModeComponent, "ncc-abstract-header-mode", never, { "overflowWidth": "overflowWidth"; }, {}, never, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderModeComponent, "ncc-abstract-header-mode", never, { "overflowWidth": "overflowWidth"; "approval": "approval"; "indeterminate": "indeterminate"; "approvalFormControl": "approvalFormControl"; "typeApproval": "typeApproval"; }, {}, never, never>;
8
13
  }
@@ -134,5 +134,9 @@ export declare enum GroupNavigationConstants {
134
134
  /**
135
135
  * Boolean field, that is true if item contains child items
136
136
  * */
137
- ITEM_FIELD_ID_HAS_CHILDREN = "hasChildren"
137
+ ITEM_FIELD_ID_HAS_CHILDREN = "hasChildren",
138
+ /**
139
+ * CaseField containing stringIds of child instances of process preference_item
140
+ * */
141
+ ITEM_FIELD_ID_CHILD_ITEM_IDS = "childItemIds"
138
142
  }
@@ -19,6 +19,7 @@ import { LoadingEmitter } from '../../utility/loading-emitter';
19
19
  import { UriNodeResource } from '../model/uri-resource';
20
20
  import { UriService } from '../service/uri.service';
21
21
  import { TranslateService } from "@ngx-translate/core";
22
+ import { CaseResourceService } from "../../resources/engine-endpoint/case-resource.service";
22
23
  import * as i0 from "@angular/core";
23
24
  export interface ConfigDoubleMenu {
24
25
  mode: MatDrawerMode;
@@ -47,6 +48,7 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
47
48
  protected _log: LoggerService;
48
49
  protected _config: ConfigurationService;
49
50
  protected _uriService: UriService;
51
+ protected _caseResourceService: CaseResourceService;
50
52
  protected _impersonationUserSelect: ImpersonationUserSelectService;
51
53
  protected _impersonation: ImpersonationService;
52
54
  protected _dynamicRoutingService: DynamicNavigationRouteProviderService;
@@ -100,10 +102,11 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
100
102
  [key: string]: NavigationItem;
101
103
  };
102
104
  };
103
- protected constructor(_router: Router, _activatedRoute: ActivatedRoute, _breakpoint: BreakpointObserver, _languageService: LanguageService, _translateService: TranslateService, _userService: UserService, _accessService: AccessService, _log: LoggerService, _config: ConfigurationService, _uriService: UriService, _impersonationUserSelect: ImpersonationUserSelectService, _impersonation: ImpersonationService, _dynamicRoutingService: DynamicNavigationRouteProviderService);
105
+ protected constructor(_router: Router, _activatedRoute: ActivatedRoute, _breakpoint: BreakpointObserver, _languageService: LanguageService, _translateService: TranslateService, _userService: UserService, _accessService: AccessService, _log: LoggerService, _config: ConfigurationService, _uriService: UriService, _caseResourceService: CaseResourceService, _impersonationUserSelect: ImpersonationUserSelectService, _impersonation: ImpersonationService, _dynamicRoutingService: DynamicNavigationRouteProviderService);
104
106
  ngOnInit(): void;
105
107
  get currentNode(): UriNodeResource;
106
108
  set currentNode(node: UriNodeResource);
109
+ private resolveMenuItems;
107
110
  ngOnDestroy(): void;
108
111
  get configLeftMenu(): ConfigDoubleMenu;
109
112
  get configRightMenu(): ConfigDoubleMenu;
@@ -134,11 +137,16 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
134
137
  isItemAndNodeEqual(item: NavigationItem, node: UriNodeResource): boolean;
135
138
  protected loadLeftSide(): void;
136
139
  protected loadRightSide(): void;
140
+ private extractChildCaseIds;
141
+ private getItemCasesByIdsInOnePage;
142
+ private getItemCasesByIds;
137
143
  loadMoreItems(): void;
138
144
  isAscending(): boolean;
139
145
  switchOrder(): void;
140
146
  protected resolveCustomViewsInRightSide(): void;
147
+ protected resolveCustomViewsInLeftSide(): void;
141
148
  protected resolveItemCaseToNavigationItem(itemCase: Case): NavigationItem | undefined;
149
+ private representsRootNode;
142
150
  private getTranslation;
143
151
  protected resolveAccessRoles(filter: Case, roleType: string): Array<RoleAccess> | undefined;
144
152
  protected getItemRoutingPath(itemCase: Case): string;
@@ -56,6 +56,12 @@ export declare class UriService implements OnDestroy {
56
56
  * @param pageSize optional parameter for loaded page size. Defaults to value of injection token URI_NODE_CASES_PAGE_SIZE or to value "20".
57
57
  */
58
58
  getCasesOfNode(node?: UriNodeResource, processIdentifiers?: Array<string>, pageNumber?: number, pageSize?: string | number): Observable<Page<Case>>;
59
+ /**
60
+ * Get menu item case by nodePath field value
61
+ * @param node a node, that is represented by the wanted case
62
+ * @return page containing 1 case
63
+ */
64
+ getItemCaseByNodePath(node?: UriNodeResource): Observable<Page<Case>>;
59
65
  /**
60
66
  * Get siblings node of the provided node
61
67
  * @param node siblings node
@@ -12,6 +12,7 @@ import { UserService } from '../../user/services/user.service';
12
12
  import { FeaturedValue } from '../abstract/featured-value';
13
13
  import { CurrencyPipe } from '@angular/common';
14
14
  import { PermissionService } from '../../authorization/permission/permission.service';
15
+ import { FormControl } from '@angular/forms';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare abstract class AbstractCasePanelComponent extends AbstractPanelWithImmediateDataComponent {
17
18
  protected _caseResourceService: CaseResourceService;
@@ -24,6 +25,7 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
24
25
  protected _permissionService: PermissionService;
25
26
  protected _overflowService: OverflowService;
26
27
  case_: Case;
28
+ approval: boolean;
27
29
  selectedHeaders$: Observable<Array<HeaderColumn>>;
28
30
  responsiveBody: boolean;
29
31
  first: boolean;
@@ -31,7 +33,9 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
31
33
  showCasePanelIcon: boolean;
32
34
  showDeleteMenu: boolean;
33
35
  textEllipsis: boolean;
36
+ protected _approvalFormControl: FormControl;
34
37
  protected constructor(_caseResourceService: CaseResourceService, _caseViewService: CaseViewService, _snackBarService: SnackBarService, _translateService: TranslateService, _log: LoggerService, _userService: UserService, _currencyPipe: CurrencyPipe, _permissionService: PermissionService, _overflowService: OverflowService);
38
+ get approvalFormControl(): FormControl;
35
39
  show(event: MouseEvent): boolean;
36
40
  protected getFeaturedMetaValue(selectedHeader: HeaderColumn): FeaturedValue;
37
41
  protected getFeaturedImmediateValue(selectedHeader: HeaderColumn): FeaturedValue;
@@ -40,5 +44,5 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
40
44
  private throwError;
41
45
  getMinWidth(): string;
42
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractCasePanelComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCasePanelComponent, "ncc-abstract-case-panel", never, { "case_": "case_"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "first": "first"; "last": "last"; "showCasePanelIcon": "showCasePanelIcon"; "showDeleteMenu": "showDeleteMenu"; "textEllipsis": "textEllipsis"; }, {}, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCasePanelComponent, "ncc-abstract-case-panel", never, { "case_": "case_"; "approval": "approval"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "first": "first"; "last": "last"; "showCasePanelIcon": "showCasePanelIcon"; "showDeleteMenu": "showDeleteMenu"; "textEllipsis": "textEllipsis"; }, {}, never, never>;
44
48
  }
@@ -67,6 +67,7 @@ export declare abstract class AbstractTaskPanelComponent extends AbstractPanelWi
67
67
  responsiveBody: boolean;
68
68
  preventCollapse: boolean;
69
69
  hidePanelHeader: boolean;
70
+ hideActionRow: boolean;
70
71
  actionButtonTemplates: Array<TemplateRef<any>>;
71
72
  actionRowJustifyContent: 'space-between' | 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'initial' | 'start' | 'end' | 'left' | 'right' | 'revert' | 'inherit' | 'unset';
72
73
  showMoreMenu: boolean;
@@ -120,5 +121,5 @@ export declare abstract class AbstractTaskPanelComponent extends AbstractPanelWi
120
121
  isForceOpen(): boolean;
121
122
  getContentMinHeight(): string;
122
123
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTaskPanelComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
123
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTaskPanelComponent, "ncc-abstract-legal-notice", never, { "taskListVirtualScroll": "taskListVirtualScroll"; "panelContentComponent": "panelContentComponent"; "selectedHeaders$": "selectedHeaders$"; "first": "first"; "last": "last"; "responsiveBody": "responsiveBody"; "preventCollapse": "preventCollapse"; "hidePanelHeader": "hidePanelHeader"; "actionButtonTemplates": "actionButtonTemplates"; "actionRowJustifyContent": "actionRowJustifyContent"; "showMoreMenu": "showMoreMenu"; "forceLoadDataOnOpen": "forceLoadDataOnOpen"; "textEllipsis": "textEllipsis"; "taskPanelData": "taskPanelData"; }, { "taskEvent": "taskEvent"; "panelRefOutput": "panelRefOutput"; }, never, never>;
124
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTaskPanelComponent, "ncc-abstract-legal-notice", never, { "taskListVirtualScroll": "taskListVirtualScroll"; "panelContentComponent": "panelContentComponent"; "selectedHeaders$": "selectedHeaders$"; "first": "first"; "last": "last"; "responsiveBody": "responsiveBody"; "preventCollapse": "preventCollapse"; "hidePanelHeader": "hidePanelHeader"; "hideActionRow": "hideActionRow"; "actionButtonTemplates": "actionButtonTemplates"; "actionRowJustifyContent": "actionRowJustifyContent"; "showMoreMenu": "showMoreMenu"; "forceLoadDataOnOpen": "forceLoadDataOnOpen"; "textEllipsis": "textEllipsis"; "taskPanelData": "taskPanelData"; }, { "taskEvent": "taskEvent"; "panelRefOutput": "panelRefOutput"; }, never, never>;
124
125
  }
@@ -14,10 +14,11 @@ export declare abstract class AbstractTaskListPaginationComponent extends Abstra
14
14
  pageSize: number;
15
15
  pageIndex: number;
16
16
  pageSizeOptions: Array<number>;
17
+ disabled: boolean;
17
18
  set tasks$(tasks: Observable<Array<TaskPanelData>>);
18
19
  get tasks$(): Observable<Array<TaskPanelData>>;
19
20
  constructor(_taskViewService: TaskViewService, _log: LoggerService, injectedTabData: InjectedTabData, route?: ActivatedRoute);
20
21
  onPageChanged(e: any): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTaskListPaginationComponent, [null, null, { optional: true; }, null]>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTaskListPaginationComponent, "ncc-abstract-task-list-pagination-component", never, { "tasks$": "tasks$"; }, {}, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTaskListPaginationComponent, "ncc-abstract-task-list-pagination-component", never, { "disabled": "disabled"; "tasks$": "tasks$"; }, {}, never, never>;
23
24
  }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
- import { Observable, Subject } from 'rxjs';
2
+ import { Observable } from 'rxjs';
3
3
  import { TaskPanelData } from '../task-panel-list/task-panel-data/task-panel-data';
4
4
  import { MatExpansionPanel } from '@angular/material/expansion';
5
5
  import { HeaderColumn } from '../../header/models/header-column';
@@ -11,7 +11,6 @@ import * as i0 from "@angular/core";
11
11
  export declare abstract class AbstractSingleTaskComponent implements OnDestroy {
12
12
  protected _log: LoggerService;
13
13
  protected _route: ActivatedRoute;
14
- protected _unsubscribe$: Subject<void>;
15
14
  protected _taskPanelRef: MatExpansionPanel;
16
15
  task$: Observable<TaskPanelData>;
17
16
  loading$: Observable<boolean>;
@@ -21,9 +20,12 @@ export declare abstract class AbstractSingleTaskComponent implements OnDestroy {
21
20
  textEllipsis: boolean;
22
21
  preventCollapse: boolean;
23
22
  hidePanelHeader: boolean;
23
+ hideActionRow: boolean;
24
24
  noTaskSection: TemplateRef<any>;
25
25
  pageHeader: TemplateRef<any>;
26
26
  pageFooter: TemplateRef<any>;
27
+ showPageHeader: boolean;
28
+ showPageFooter: boolean;
27
29
  headerTitle: string;
28
30
  footerText: string;
29
31
  actionButtonTemplates: Array<TemplateRef<any>>;
@@ -39,5 +41,5 @@ export declare abstract class AbstractSingleTaskComponent implements OnDestroy {
39
41
  */
40
42
  emitTaskEvent(event: TaskEventNotification): void;
41
43
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSingleTaskComponent, [null, null, { optional: true; }]>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractSingleTaskComponent, "ncc-abstract-single-task", never, { "task$": "task$"; "loading$": "loading$"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "forceLoadDataOnOpen": "forceLoadDataOnOpen"; "textEllipsis": "textEllipsis"; "preventCollapse": "preventCollapse"; "hidePanelHeader": "hidePanelHeader"; "noTaskSection": "noTaskSection"; "pageHeader": "pageHeader"; "pageFooter": "pageFooter"; "headerTitle": "headerTitle"; "footerText": "footerText"; "actionButtonTemplates": "actionButtonTemplates"; "actionRowJustifyContent": "actionRowJustifyContent"; }, { "taskEvent": "taskEvent"; }, never, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractSingleTaskComponent, "ncc-abstract-single-task", never, { "task$": "task$"; "loading$": "loading$"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "forceLoadDataOnOpen": "forceLoadDataOnOpen"; "textEllipsis": "textEllipsis"; "preventCollapse": "preventCollapse"; "hidePanelHeader": "hidePanelHeader"; "hideActionRow": "hideActionRow"; "noTaskSection": "noTaskSection"; "pageHeader": "pageHeader"; "pageFooter": "pageFooter"; "showPageHeader": "showPageHeader"; "showPageFooter": "showPageFooter"; "headerTitle": "headerTitle"; "footerText": "footerText"; "actionButtonTemplates": "actionButtonTemplates"; "actionRowJustifyContent": "actionRowJustifyContent"; }, { "taskEvent": "taskEvent"; }, never, never>;
43
45
  }
@@ -5,6 +5,9 @@ import { SnackBarService } from '../../snack-bar/services/snack-bar.service';
5
5
  import { SimpleFilter } from '../../filter/models/simple-filter';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
7
  import { PublicTaskLoadingService } from '../../view/task-view/service/public-task-loading.service';
8
+ export declare const CASE_ID = "caseId";
9
+ export declare const PETRI_NET_ID = "petriNetId";
10
+ export declare const TRANSITION_ID = "transitionId";
8
11
  export declare const publicBaseFilterFactory: (router: Router, route: ActivatedRoute, process: ProcessService, caseResourceService: CaseResourceService, snackBarService: SnackBarService, translate: TranslateService, publicTaskLoadingService: PublicTaskLoadingService) => {
9
12
  filter: SimpleFilter;
10
13
  };
@@ -0,0 +1,13 @@
1
+ import { FrontActionDefinition } from "../actions/model/front-action-definition";
2
+ import * as i0 from "@angular/core";
3
+ export declare class FrontActionRegistryService {
4
+ private _registry;
5
+ constructor();
6
+ get registry(): Map<string, FrontActionDefinition>;
7
+ set registry(value: Map<string, FrontActionDefinition>);
8
+ register(key: string, fn: FrontActionDefinition): void;
9
+ contains(key: string): boolean;
10
+ get(key: string): FrontActionDefinition;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrontActionRegistryService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<FrontActionRegistryService>;
13
+ }
@@ -1 +1,2 @@
1
1
  export * from './component-registry.service';
2
+ export * from './front-action-registry.service';
@@ -1,3 +1,4 @@
1
+ import { FrontAction } from "../../data-fields/models/changed-fields";
1
2
  export interface EventOutcome {
2
3
  /**
3
4
  * Message associated with triggered event, defined in petri net xml file.
@@ -7,4 +8,8 @@ export interface EventOutcome {
7
8
  * Array of event outcomes, result of events that were triggered by parent event
8
9
  */
9
10
  outcomes?: Array<EventOutcome>;
11
+ /**
12
+ * Array of front actions
13
+ */
14
+ frontActions?: Array<FrontAction>;
10
15
  }
@@ -3,8 +3,9 @@ import { SearchService } from '../search-service/search.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare abstract class AbstractFulltextSearchComponent {
5
5
  protected _searchService: SearchService;
6
+ set disabled(value: boolean);
6
7
  fullTextFormControl: FormControl;
7
8
  protected constructor(_searchService: SearchService);
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFulltextSearchComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractFulltextSearchComponent, "ncc-abstract-fulltext-search", never, {}, {}, never, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractFulltextSearchComponent, "ncc-abstract-fulltext-search", never, { "disabled": "disabled"; }, {}, never, never>;
10
11
  }
@@ -46,6 +46,7 @@ export declare abstract class AbstractSearchComponent implements SearchComponent
46
46
  private _showSaveFilterButton;
47
47
  private _showLoadFilterButton;
48
48
  private _initialSearchMode;
49
+ disabled: boolean;
49
50
  /**
50
51
  * Set data request body, that is sent to the filter in addition to the default body.
51
52
  * The default body is applied first and can be overridden by this argument.
@@ -85,5 +86,5 @@ export declare abstract class AbstractSearchComponent implements SearchComponent
85
86
  */
86
87
  loadFilter(): void;
87
88
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSearchComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractSearchComponent, "ncc-abstract-search", never, { "additionalFilterData": "additionalFilterData"; "showSearchIcon": "showSearchIcon"; "showAdvancedSearchHelp": "showAdvancedSearchHelp"; "showSaveFilterButton": "showSaveFilterButton"; "showLoadFilterButton": "showLoadFilterButton"; "initialSearchMode": "initialSearchMode"; "showSearchToggleButton": "showSearchToggleButton"; }, { "filterLoaded": "filterLoaded"; "filterSaved": "filterSaved"; }, never, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractSearchComponent, "ncc-abstract-search", never, { "disabled": "disabled"; "additionalFilterData": "additionalFilterData"; "showSearchIcon": "showSearchIcon"; "showAdvancedSearchHelp": "showAdvancedSearchHelp"; "showSaveFilterButton": "showSaveFilterButton"; "showLoadFilterButton": "showLoadFilterButton"; "initialSearchMode": "initialSearchMode"; "showSearchToggleButton": "showSearchToggleButton"; }, { "filterLoaded": "filterLoaded"; "filterSaved": "filterSaved"; }, never, never>;
89
90
  }
@@ -8,3 +8,4 @@ export declare const NAE_SAVE_FILTER_COMPONENT: InjectionToken<ComponentType<unk
8
8
  export declare const NAE_LOAD_FILTER_COMPONENT: InjectionToken<ComponentType<unknown>>;
9
9
  export declare const NAE_USER_IMPERSONATE_COMPONENT: InjectionToken<ComponentType<unknown>>;
10
10
  export declare const NAE_ADMIN_IMPERSONATE_COMPONENT: InjectionToken<ComponentType<unknown>>;
11
+ export declare const NAE_TASK_VIEW_COMPONENT: InjectionToken<ComponentType<unknown>>;
@@ -21,3 +21,4 @@ export * from './load-filter/model/load-filter-injection-data';
21
21
  export * from './injection-tokens';
22
22
  export * from './new-case/model/new-case-injection-data';
23
23
  export * from './user-impersonate/model/user-impersonate-injection-data';
24
+ export * from './task-view/model/task-view-injection-data';
@@ -0,0 +1,4 @@
1
+ import { SideMenuInjectionData } from "../../../models/side-menu-injection-data";
2
+ export interface TaskViewInjectionData extends SideMenuInjectionData {
3
+ taskIds: string[];
4
+ }
@@ -24,6 +24,7 @@ import { TaskSetDataRequestContext } from '../models/task-set-data-request-conte
24
24
  import { EventOutcomeMessageResource } from '../../resources/interface/message-resource';
25
25
  import { EventService } from '../../event/services/event.service';
26
26
  import { ChangedFieldsService } from '../../changed-fields/services/changed-fields.service';
27
+ import { FrontActionService } from "../../actions/services/front-action.service";
27
28
  import * as i0 from "@angular/core";
28
29
  /**
29
30
  * Handles the loading and updating of data fields and behaviour of
@@ -43,9 +44,10 @@ export declare class TaskDataService extends TaskHandlingService implements OnDe
43
44
  protected _userComparator: UserComparatorService;
44
45
  protected _eventService: EventService;
45
46
  protected _changedFieldsService: ChangedFieldsService;
47
+ protected _frontActionService: FrontActionService;
46
48
  protected _updateSuccess$: Subject<boolean>;
47
49
  protected _dataReloadSubscription: Subscription;
48
- constructor(_taskState: TaskRequestStateService, _translate: TranslateService, _log: LoggerService, _snackBar: SnackBarService, _taskResourceService: TaskResourceService, _fieldConverterService: FieldConverterService, _taskEvent: TaskEventService, _taskOperations: TaskOperations, _selectedCaseService: SelectedCaseService, _taskContentService: TaskContentService, _afterActionFactory: CallChainService, _eventQueue: EventQueueService, _userComparator: UserComparatorService, _eventService: EventService, _changedFieldsService: ChangedFieldsService);
50
+ constructor(_taskState: TaskRequestStateService, _translate: TranslateService, _log: LoggerService, _snackBar: SnackBarService, _taskResourceService: TaskResourceService, _fieldConverterService: FieldConverterService, _taskEvent: TaskEventService, _taskOperations: TaskOperations, _selectedCaseService: SelectedCaseService, _taskContentService: TaskContentService, _afterActionFactory: CallChainService, _eventQueue: EventQueueService, _userComparator: UserComparatorService, _eventService: EventService, _changedFieldsService: ChangedFieldsService, _frontActionService: FrontActionService);
49
51
  ngOnDestroy(): void;
50
52
  /**
51
53
  * Contains information about the success or failure of backend
@@ -185,6 +187,6 @@ export declare class TaskDataService extends TaskHandlingService implements OnDe
185
187
  protected sendNotification(event: TaskEvent.GET_DATA | TaskEvent.SET_DATA, success: boolean): void;
186
188
  private revertToPreviousValue;
187
189
  private clearWaitingForResponseFlag;
188
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskDataService, [null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, null, null]>;
190
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskDataService, [null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, null, null, null]>;
189
191
  static ɵprov: i0.ɵɵInjectableDeclaration<TaskDataService>;
190
192
  }
@@ -1,4 +1,4 @@
1
- import { OnDestroy } from '@angular/core';
1
+ import { Injector, OnDestroy } from '@angular/core';
2
2
  import { TaskContentService } from './task-content.service';
3
3
  import { FieldConverterService } from './field-converter.service';
4
4
  import { SnackBarService } from '../../snack-bar/services/snack-bar.service';
@@ -20,7 +20,7 @@ export declare class SingleTaskContentService extends TaskContentService impleme
20
20
  * `bufferSize` of the `ReplaySubject` instance is set to 1.
21
21
  */
22
22
  protected _task$: ReplaySubject<Task>;
23
- constructor(_fieldConverterService: FieldConverterService, _snackBarService: SnackBarService, _translate: TranslateService, _logger: LoggerService);
23
+ constructor(_fieldConverterService: FieldConverterService, _snackBarService: SnackBarService, _translate: TranslateService, _logger: LoggerService, _injector: Injector);
24
24
  /**
25
25
  * @returns the Task object if set and `undefined` otherwise
26
26
  */