@netgrif/components-core 6.2.0-rc.9 → 6.2.2

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 (178) hide show
  1. package/commons/schema.d.ts +3 -0
  2. package/esm2020/assets/i18n/de.json +18 -8
  3. package/esm2020/assets/i18n/en.json +11 -1
  4. package/esm2020/assets/i18n/sk.json +11 -1
  5. package/esm2020/commons/schema.mjs +1 -1
  6. package/esm2020/commons/view-class-info.mjs +9 -1
  7. package/esm2020/lib/admin/public-api.mjs +2 -2
  8. package/esm2020/lib/admin/role-assignment-ldap-group/abstract-ldap-group-role-assignment.component.mjs +88 -0
  9. package/esm2020/lib/authentication/services/methods/basic-authentication/basic-authentication.service.mjs +10 -2
  10. package/esm2020/lib/authorization/permission/access.service.mjs +2 -2
  11. package/esm2020/lib/authorization/role/role-guard.service.mjs +36 -11
  12. package/esm2020/lib/data-fields/button-field/abstract-button-field.component.mjs +2 -12
  13. package/esm2020/lib/data-fields/button-field/models/button-field.mjs +2 -18
  14. package/esm2020/lib/data-fields/enumeration-field/models/dynamic-enumeration-field.mjs +4 -5
  15. package/esm2020/lib/data-fields/enumeration-field/models/enumeration-field.mjs +2 -22
  16. package/esm2020/lib/data-fields/file-field/abstract-file-field.component.mjs +35 -15
  17. package/esm2020/lib/data-fields/file-list-field/abstract-file-list-field.component.mjs +38 -15
  18. package/esm2020/lib/data-fields/i18n-field/abstract-i18n-field.component.mjs +1 -4
  19. package/esm2020/lib/data-fields/models/abstract-data-field.mjs +9 -1
  20. package/esm2020/lib/data-fields/multichoice-field/models/multichoice-field.mjs +2 -17
  21. package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.mjs +79 -0
  22. package/esm2020/lib/data-fields/number-field/currency-number-field/abstract-currency-number-field.component.mjs +3 -2
  23. package/esm2020/lib/data-fields/public-api.mjs +4 -1
  24. package/esm2020/lib/data-fields/text-field/models/text-area-field.mjs +4 -5
  25. package/esm2020/lib/data-fields/text-field/models/text-field.mjs +2 -14
  26. package/esm2020/lib/data-fields/user-list-field/abstract-user-list-field.component.mjs +75 -0
  27. package/esm2020/lib/data-fields/user-list-field/models/user-list-field.mjs +11 -0
  28. package/esm2020/lib/data-fields/user-list-field/models/user-list-value.mjs +36 -0
  29. package/esm2020/lib/dialog/components/alert-dialog/alert-dialog.component.mjs +4 -4
  30. package/esm2020/lib/dialog/components/confirm-dialog/confirm-dialog.component.mjs +4 -4
  31. package/esm2020/lib/dialog/components/prompt-dialog/prompt-dialog.component.mjs +4 -4
  32. package/esm2020/lib/dialog/models/abstract-dialog.component.mjs +29 -0
  33. package/esm2020/lib/header/abstract-header-service.mjs +25 -9
  34. package/esm2020/lib/header/abstract-header.component.mjs +7 -5
  35. package/esm2020/lib/header/case-header/case-header.service.mjs +2 -2
  36. package/esm2020/lib/header/services/overflow.service.mjs +2 -2
  37. package/esm2020/lib/header/task-header/task-header.service.mjs +7 -4
  38. package/esm2020/lib/header/workflow-header/workflow-header.service.mjs +11 -8
  39. package/esm2020/lib/navigation/breadcrumbs/abstract-breadcrumbs.component.mjs +69 -0
  40. package/esm2020/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.mjs +7 -4
  41. package/esm2020/lib/navigation/public-api.mjs +2 -1
  42. package/esm2020/lib/navigation/service/uri.service.mjs +5 -1
  43. package/esm2020/lib/panel/abstract/panel-with-header-binding.mjs +17 -5
  44. package/esm2020/lib/panel/abstract/panel-with-immediate-data.mjs +52 -22
  45. package/esm2020/lib/panel/abstract-panel.component.mjs +16 -4
  46. package/esm2020/lib/panel/case-panel/abstract-case-panel.component.mjs +13 -11
  47. package/esm2020/lib/panel/configuration/config-params.mjs +5 -0
  48. package/esm2020/lib/panel/public-api.mjs +3 -1
  49. package/esm2020/lib/panel/task-panel/abstract-task-panel.component.mjs +18 -12
  50. package/esm2020/lib/panel/task-panel-list/abstract-task-list.component.mjs +3 -3
  51. package/esm2020/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.component.mjs +94 -0
  52. package/esm2020/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.mjs +3 -3
  53. package/esm2020/lib/panel/workflow-panel/abstract-workflow-panel.component.mjs +40 -6
  54. package/esm2020/lib/public/factories/public-factory-resolver.mjs +8 -3
  55. package/esm2020/lib/resources/engine-endpoint/petri-net-resource.service.mjs +12 -4
  56. package/esm2020/lib/resources/engine-endpoint/public/public-task-resource.service.mjs +1 -40
  57. package/esm2020/lib/resources/engine-endpoint/task-resource.service.mjs +6 -3
  58. package/esm2020/lib/resources/interface/fields.mjs +1 -1
  59. package/esm2020/lib/routing/redirect-service/redirect.service.mjs +2 -1
  60. package/esm2020/lib/search/models/category/case/case-dataset.mjs +7 -4
  61. package/esm2020/lib/search/search-operand-input-component/abstract-search-operand-input.component.mjs +3 -3
  62. package/esm2020/lib/side-menu/content-components/new-case/abstract-new-case.component.mjs +22 -11
  63. package/esm2020/lib/side-menu/content-components/new-case/model/new-case-injection-data.mjs +1 -1
  64. package/esm2020/lib/side-menu/content-components/save-filter/abstract-save-filter.component.mjs +8 -7
  65. package/esm2020/lib/side-menu/content-components/user-assign/abstract-user-assign.component.mjs +1 -1
  66. package/esm2020/lib/side-menu/content-components/user-assign/model/user-list-injected-data.mjs +1 -1
  67. package/esm2020/lib/snack-bar/components/error-snack-bar/error-snack-bar.component.mjs +3 -3
  68. package/esm2020/lib/snack-bar/components/generic-snack-bar/generic-snack-bar.component.mjs +3 -3
  69. package/esm2020/lib/snack-bar/components/success-snack-bar/success-snack-bar.component.mjs +3 -3
  70. package/esm2020/lib/snack-bar/components/warning-snack-bar/warning-snack-bar.component.mjs +3 -3
  71. package/esm2020/lib/snack-bar/models/abstract-snack-bar.component.mjs +26 -0
  72. package/esm2020/lib/snack-bar/public-api.mjs +2 -2
  73. package/esm2020/lib/task/services/finish-policy.service.mjs +2 -2
  74. package/esm2020/lib/task/services/task-data.service.mjs +51 -13
  75. package/esm2020/lib/task-content/model/field-type-resource.mjs +2 -1
  76. package/esm2020/lib/task-content/model/resource-interface.mjs +1 -1
  77. package/esm2020/lib/task-content/services/field-converter.service.mjs +28 -90
  78. package/esm2020/lib/task-content/services/task-content.service.mjs +5 -2
  79. package/esm2020/lib/view/abstract/view-with-headers.mjs +13 -4
  80. package/esm2020/lib/view/case-view/abstract-case-view.mjs +9 -12
  81. package/esm2020/lib/view/case-view/components/case-list/abstract-case-list.component.mjs +3 -3
  82. package/esm2020/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.mjs +3 -3
  83. package/esm2020/lib/view/case-view/components/default-case-list/abstract-default-case-list.component.mjs +81 -0
  84. package/esm2020/lib/view/case-view/tabbed-case-view.mjs +7 -14
  85. package/esm2020/lib/view/task-view/abstract-single-task-view.component.mjs +3 -4
  86. package/esm2020/lib/view/task-view/abstract-task-view.mjs +6 -5
  87. package/esm2020/lib/view/task-view/tabbed-task-view.mjs +6 -5
  88. package/esm2020/lib/view/tree-case-view/tree-component/case-tree.service.mjs +6 -4
  89. package/esm2020/lib/view/workflow-view/abstract-workflow-view.component.mjs +6 -5
  90. package/fesm2015/netgrif-components-core.mjs +1010 -611
  91. package/fesm2015/netgrif-components-core.mjs.map +1 -1
  92. package/fesm2020/netgrif-components-core.mjs +996 -616
  93. package/fesm2020/netgrif-components-core.mjs.map +1 -1
  94. package/lib/admin/public-api.d.ts +1 -1
  95. package/lib/admin/role-assignment-ldap-group/{abstract-ldap-group-role-assignment.d.ts → abstract-ldap-group-role-assignment.component.d.ts} +3 -3
  96. package/lib/authentication/services/methods/basic-authentication/basic-authentication.service.d.ts +2 -0
  97. package/lib/authorization/role/role-guard.service.d.ts +2 -1
  98. package/lib/data-fields/button-field/abstract-button-field.component.d.ts +0 -5
  99. package/lib/data-fields/button-field/models/button-field.d.ts +1 -12
  100. package/lib/data-fields/enumeration-field/models/dynamic-enumeration-field.d.ts +2 -3
  101. package/lib/data-fields/enumeration-field/models/enumeration-field.d.ts +1 -11
  102. package/lib/data-fields/i18n-field/abstract-i18n-field.component.d.ts +0 -1
  103. package/lib/data-fields/models/abstract-data-field.d.ts +5 -0
  104. package/lib/data-fields/multichoice-field/models/multichoice-field.d.ts +1 -8
  105. package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.d.ts +24 -0
  106. package/lib/data-fields/number-field/currency-number-field/abstract-currency-number-field.component.d.ts +1 -0
  107. package/lib/data-fields/public-api.d.ts +3 -0
  108. package/lib/data-fields/text-field/models/text-area-field.d.ts +2 -3
  109. package/lib/data-fields/text-field/models/text-field.d.ts +1 -9
  110. package/lib/data-fields/user-list-field/abstract-user-list-field.component.d.ts +38 -0
  111. package/lib/data-fields/user-list-field/models/user-list-field.d.ts +10 -0
  112. package/lib/data-fields/user-list-field/models/user-list-value.d.ts +16 -0
  113. package/lib/dialog/components/alert-dialog/alert-dialog.component.d.ts +3 -3
  114. package/lib/dialog/components/confirm-dialog/confirm-dialog.component.d.ts +3 -3
  115. package/lib/dialog/components/prompt-dialog/prompt-dialog.component.d.ts +3 -3
  116. package/lib/dialog/models/{abstract-dialog.d.ts → abstract-dialog.component.d.ts} +3 -3
  117. package/lib/header/abstract-header-service.d.ts +6 -3
  118. package/lib/header/abstract-header.component.d.ts +2 -2
  119. package/lib/header/services/overflow.service.d.ts +1 -1
  120. package/lib/header/task-header/task-header.service.d.ts +3 -2
  121. package/lib/header/workflow-header/workflow-header.service.d.ts +3 -2
  122. package/lib/navigation/breadcrumbs/abstract-breadcrumbs.component.d.ts +18 -0
  123. package/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.d.ts +1 -1
  124. package/lib/navigation/public-api.d.ts +1 -0
  125. package/lib/navigation/service/uri.service.d.ts +2 -0
  126. package/lib/panel/abstract/panel-with-header-binding.d.ts +5 -2
  127. package/lib/panel/abstract/panel-with-immediate-data.d.ts +4 -2
  128. package/lib/panel/abstract-panel.component.d.ts +5 -1
  129. package/lib/panel/case-panel/abstract-case-panel.component.d.ts +3 -3
  130. package/lib/panel/configuration/config-params.d.ts +3 -0
  131. package/lib/panel/public-api.d.ts +1 -0
  132. package/lib/panel/task-panel/abstract-task-panel.component.d.ts +5 -2
  133. package/lib/panel/task-panel-list/abstract-task-list.component.d.ts +2 -2
  134. package/lib/panel/task-panel-list/default-task-panel-list/{abstract-default-task-list.d.ts → abstract-default-task-list.component.d.ts} +3 -3
  135. package/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.d.ts +2 -2
  136. package/lib/panel/workflow-panel/abstract-workflow-panel.component.d.ts +13 -2
  137. package/lib/public/factories/public-factory-resolver.d.ts +2 -1
  138. package/lib/resources/engine-endpoint/petri-net-resource.service.d.ts +1 -1
  139. package/lib/resources/engine-endpoint/public/public-task-resource.service.d.ts +0 -12
  140. package/lib/resources/engine-endpoint/task-resource.service.d.ts +2 -1
  141. package/lib/resources/interface/fields.d.ts +0 -5
  142. package/lib/search/search-operand-input-component/abstract-search-operand-input.component.d.ts +1 -1
  143. package/lib/side-menu/content-components/new-case/model/new-case-injection-data.d.ts +5 -0
  144. package/lib/side-menu/content-components/save-filter/abstract-save-filter.component.d.ts +2 -1
  145. package/lib/side-menu/content-components/user-assign/model/user-list-injected-data.d.ts +2 -1
  146. package/lib/snack-bar/components/error-snack-bar/error-snack-bar.component.d.ts +2 -2
  147. package/lib/snack-bar/components/generic-snack-bar/generic-snack-bar.component.d.ts +2 -2
  148. package/lib/snack-bar/components/success-snack-bar/success-snack-bar.component.d.ts +2 -2
  149. package/lib/snack-bar/components/warning-snack-bar/warning-snack-bar.component.d.ts +2 -2
  150. package/lib/snack-bar/models/{abstract-snack-bar.d.ts → abstract-snack-bar.component.d.ts} +3 -3
  151. package/lib/snack-bar/public-api.d.ts +1 -1
  152. package/lib/task/services/task-data.service.d.ts +12 -3
  153. package/lib/task-content/model/field-type-resource.d.ts +1 -0
  154. package/lib/task-content/model/resource-interface.d.ts +0 -3
  155. package/lib/task-content/services/field-converter.service.d.ts +3 -16
  156. package/lib/task-content/services/task-content.service.d.ts +1 -0
  157. package/lib/view/abstract/view-with-headers.d.ts +5 -1
  158. package/lib/view/case-view/abstract-case-view.d.ts +5 -3
  159. package/lib/view/case-view/components/case-list/abstract-case-list.component.d.ts +2 -2
  160. package/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.d.ts +2 -2
  161. package/lib/view/case-view/components/default-case-list/{abstract-default-case-list.d.ts → abstract-default-case-list.component.d.ts} +3 -3
  162. package/lib/view/case-view/tabbed-case-view.d.ts +4 -4
  163. package/lib/view/task-view/abstract-single-task-view.component.d.ts +0 -1
  164. package/lib/view/task-view/abstract-task-view.d.ts +2 -1
  165. package/lib/view/task-view/tabbed-task-view.d.ts +2 -1
  166. package/lib/view/workflow-view/abstract-workflow-view.component.d.ts +2 -1
  167. package/package.json +1 -2
  168. package/schematics/_commons/view-class-info.js +8 -0
  169. package/schematics/_commons/view-class-info.js.map +1 -1
  170. package/src/assets/i18n/de.json +18 -8
  171. package/src/assets/i18n/en.json +11 -1
  172. package/src/assets/i18n/sk.json +11 -1
  173. package/src/schema/nae-schema.json +6 -0
  174. package/esm2020/lib/admin/role-assignment-ldap-group/abstract-ldap-group-role-assignment.mjs +0 -88
  175. package/esm2020/lib/dialog/models/abstract-dialog.mjs +0 -29
  176. package/esm2020/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.mjs +0 -94
  177. package/esm2020/lib/snack-bar/models/abstract-snack-bar.mjs +0 -26
  178. package/esm2020/lib/view/case-view/components/default-case-list/abstract-default-case-list.mjs +0 -81
@@ -1,6 +1,6 @@
1
1
  export * from './role-assignment/abstract-role-assignment.component';
2
2
  export * from './user-invite/abstract-user-invite.component';
3
- export * from './role-assignment-ldap-group/abstract-ldap-group-role-assignment';
3
+ export * from './role-assignment-ldap-group/abstract-ldap-group-role-assignment.component';
4
4
  export * from './role-assignment/services/role-assignment.service';
5
5
  export * from './role-assignment/services/ProcessList';
6
6
  export * from './user-invite/services/user-invite.service';
@@ -7,7 +7,7 @@ import { Subscription } from 'rxjs';
7
7
  import { RoleAssignmentLdapGroupService } from './services/role-assignment-ldap-group.service';
8
8
  import { LdapGroupListService } from '../../groups/services/ldap-group-list.service';
9
9
  import * as i0 from "@angular/core";
10
- export declare abstract class AbstractLdapGroupRoleAssignment implements OnInit, AfterViewInit, OnDestroy {
10
+ export declare abstract class AbstractLdapGroupRoleAssignmentComponent implements OnInit, AfterViewInit, OnDestroy {
11
11
  protected _service: RoleAssignmentLdapGroupService;
12
12
  ldapGroupList: MatSelectionList;
13
13
  viewport: CdkVirtualScrollViewport;
@@ -27,6 +27,6 @@ export declare abstract class AbstractLdapGroupRoleAssignment implements OnInit,
27
27
  update(role: ExtendedProcessRole): void;
28
28
  selectAllLdapGroup(select: boolean): void;
29
29
  toggleAllRoles(net: ProcessVersion, select: boolean): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLdapGroupRoleAssignment, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractLdapGroupRoleAssignment, "ncc-abstract-ldap-group-role-assignment", never, {}, {}, never, never>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLdapGroupRoleAssignmentComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractLdapGroupRoleAssignmentComponent, "ncc-abstract-ldap-group-role-assignment", never, {}, {}, never, never>;
32
32
  }
@@ -11,6 +11,8 @@ export declare class BasicAuthenticationService extends AuthenticationMethodServ
11
11
  constructor(_http: HttpClient, _config: ConfigurationService);
12
12
  login(credentials?: Credentials): Observable<UserResource>;
13
13
  logout(): Observable<object>;
14
+ encodeBase64(text: string): string;
15
+ decodeBase64(encoded: string): string;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicAuthenticationService, never>;
15
17
  static ɵprov: i0.ɵɵInjectableDeclaration<BasicAuthenticationService>;
16
18
  }
@@ -20,12 +20,13 @@ export declare class RoleGuardService implements CanActivate {
20
20
  constructor(_redirectService: RedirectService, _userService: UserService, _configService: ConfigurationService, _log: LoggerService);
21
21
  canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
22
22
  canAccessView(view: View, url: string): boolean;
23
- protected parseRoleConstraints(roleConstrains: Access['role'], viewUrl: string): Array<RoleConstraint>;
23
+ protected parseRoleConstraints(roleConstrains: Access['role'] | Access['bannedRole'], viewUrl: string): Array<RoleConstraint>;
24
24
  /**
25
25
  * @deprecated in 5.0.0
26
26
  */
27
27
  protected parseStringRoleConstraints(roleConstrains: string | Array<string>): Array<RoleConstraint>;
28
28
  protected parseObjectRoleConstrains(roleConstrains: RoleAccess | Array<RoleAccess>): Array<RoleConstraint>;
29
+ private decideAccessByRole;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuardService, never>;
30
31
  static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuardService>;
31
32
  }
@@ -9,11 +9,6 @@ export declare abstract class AbstractButtonFieldComponent extends AbstractDataF
9
9
  dataField: ButtonField;
10
10
  protected constructor(_translate: TranslateService, _dialogService: DialogService, informAboutInvalidData: boolean | null);
11
11
  getErrorMessage(): any;
12
- /**
13
- * This function resolve type of component for HTML
14
- * @returns type of component in string
15
- */
16
- resolveComponentType(): string;
17
12
  /**
18
13
  * Function checks if button is icon type
19
14
  * @returns true if component type is 'fab', 'minifab' or 'icon'
@@ -3,20 +3,9 @@ import { Behavior } from '../../models/behavior';
3
3
  import { Layout } from '../../models/layout';
4
4
  import { Component } from '../../models/component';
5
5
  import { Validation } from '../../models/validation';
6
- export declare enum ButtonFieldView {
7
- STANDARD = "standard",
8
- RAISED = "raised",
9
- STROKED = "stroked",
10
- FLAT = "flat",
11
- ICON = "icon",
12
- FAB = "fab",
13
- MINIFAB = "minifab"
14
- }
15
6
  export declare enum ButtonFieldValidation {
16
7
  REQUIRED = "required"
17
8
  }
18
9
  export declare class ButtonField extends DataField<number> {
19
- private _view;
20
- constructor(stringId: string, title: string, behavior: Behavior, value?: number, placeholder?: string, description?: string, layout?: Layout, _view?: ButtonFieldView, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
21
- get view(): ButtonFieldView;
10
+ constructor(stringId: string, title: string, behavior: Behavior, value?: number, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
22
11
  }
@@ -1,4 +1,4 @@
1
- import { EnumerationField, EnumerationFieldValue, EnumerationFieldView } from './enumeration-field';
1
+ import { EnumerationField, EnumerationFieldValue } from './enumeration-field';
2
2
  import { Behavior } from '../../models/behavior';
3
3
  import { Layout } from '../../models/layout';
4
4
  import { FieldTypeResource } from '../../../task-content/model/field-type-resource';
@@ -9,12 +9,11 @@ import { LoadingEmitter } from '../../../utility/loading-emitter';
9
9
  import { Validation } from '../../models/validation';
10
10
  export declare class DynamicEnumerationField extends EnumerationField {
11
11
  protected _choices: Array<EnumerationFieldValue>;
12
- protected _view: EnumerationFieldView;
13
12
  protected readonly _fieldType: FieldTypeResource;
14
13
  protected REQUEST_DEBOUNCE_TIME: number;
15
14
  protected _choicesChange$: Subject<void>;
16
15
  protected _loading: LoadingEmitter;
17
- constructor(stringId: string, title: string, value: string, _choices: Array<EnumerationFieldValue>, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, _view?: EnumerationFieldView, _fieldType?: FieldTypeResource, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
16
+ 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);
18
17
  set choices(choices: Array<EnumerationFieldValue>);
19
18
  get choices(): Array<EnumerationFieldValue>;
20
19
  set loading(bool: boolean);
@@ -9,27 +9,17 @@ export interface EnumerationFieldValue {
9
9
  key: string;
10
10
  value: string;
11
11
  }
12
- export declare enum EnumerationFieldView {
13
- DEFAULT = "default",
14
- LIST = "list",
15
- AUTOCOMPLETE = "autocomplete",
16
- STEPPER = "stepper"
17
- }
18
12
  export declare enum EnumerationFieldValidation {
19
13
  WRONG_VALUE = "wrongValue",
20
14
  REQUIRED = "required"
21
15
  }
22
16
  export declare class EnumerationField extends DataField<string> {
23
17
  protected _choices: Array<EnumerationFieldValue>;
24
- protected _view: EnumerationFieldView;
25
18
  protected readonly _fieldType: FieldTypeResource;
26
- constructor(stringId: string, title: string, value: string, _choices: Array<EnumerationFieldValue>, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, _view?: EnumerationFieldView, _fieldType?: FieldTypeResource, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
19
+ 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);
27
20
  set choices(choices: Array<EnumerationFieldValue>);
28
21
  get choices(): Array<EnumerationFieldValue>;
29
- set view(view: EnumerationFieldView);
30
- get view(): EnumerationFieldView;
31
22
  get fieldType(): FieldTypeResource;
32
23
  protected resolveFormControlValidators(): Array<ValidatorFn>;
33
24
  private checkKey;
34
- getType(): string;
35
25
  }
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
4
4
  export declare abstract class AbstractI18nFieldComponent extends AbstractDataFieldComponent {
5
5
  dataField: I18nField;
6
6
  constructor(informAboutInvalidData: boolean | null);
7
- getType(): string;
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractI18nFieldComponent, [{ optional: true; }]>;
9
8
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractI18nFieldComponent, "ncc-abstract-i18n-field", never, { "dataField": "dataField"; }, {}, never, never>;
10
9
  }
@@ -173,6 +173,11 @@ export declare abstract class DataField<T> {
173
173
  valueChanges(): Observable<T>;
174
174
  set reverting(set: boolean);
175
175
  get reverting(): boolean;
176
+ /**
177
+ * This function resolve type of component for HTML
178
+ * @returns type of component in string
179
+ */
180
+ getComponentType(): string;
176
181
  destroy(): void;
177
182
  registerFormControl(formControl: FormControl): void;
178
183
  disconnectFormControl(): void;
@@ -8,19 +8,12 @@ export interface MultichoiceFieldValue {
8
8
  key: string;
9
9
  value: string;
10
10
  }
11
- export declare enum MultichoiceFieldView {
12
- DEFAULT = "default",
13
- LIST = "list"
14
- }
15
11
  export declare class MultichoiceField extends DataField<Array<string>> {
16
12
  private _choices;
17
- private _view;
18
13
  private readonly _fieldType;
19
- constructor(stringId: string, title: string, values: Array<string>, _choices: Array<MultichoiceFieldValue>, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, _view?: MultichoiceFieldView, _fieldType?: FieldTypeResource, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
14
+ 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);
20
15
  set choices(choices: Array<MultichoiceFieldValue>);
21
16
  get choices(): Array<MultichoiceFieldValue>;
22
- set view(view: MultichoiceFieldView);
23
- get view(): MultichoiceFieldView;
24
17
  get fieldType(): FieldTypeResource;
25
18
  protected valueEquality(a: Array<string>, b: Array<string>): boolean;
26
19
  }
@@ -0,0 +1,24 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { MultichoiceField, MultichoiceFieldValue } from '../models/multichoice-field';
3
+ import { FormControl } from '@angular/forms';
4
+ import { WrappedBoolean } from '../../data-field-template/models/wrapped-boolean';
5
+ import { MatChipInputEvent } from '@angular/material/chips';
6
+ import { Observable } from 'rxjs';
7
+ import * as i0 from "@angular/core";
8
+ export declare abstract class AbstractMultichoiceAutocompleteFieldComponentComponent implements OnInit, OnDestroy {
9
+ multichoiceField: MultichoiceField;
10
+ formControlRef: FormControl;
11
+ showLargeLayout: WrappedBoolean;
12
+ input: ElementRef;
13
+ separatorKeysCodes: number[];
14
+ filteredOptions: Observable<Array<MultichoiceFieldValue>>;
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ add(event: MatChipInputEvent): void;
18
+ remove(value: string): void;
19
+ change(): void;
20
+ private _filter;
21
+ renderSelection: (key: any) => any;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractMultichoiceAutocompleteFieldComponentComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractMultichoiceAutocompleteFieldComponentComponent, "ncc-abstract-multichoice-autocomplete-field", never, { "multichoiceField": "multichoiceField"; "formControlRef": "formControlRef"; "showLargeLayout": "showLargeLayout"; }, {}, never, never>;
24
+ }
@@ -9,6 +9,7 @@ export declare abstract class AbstractCurrencyNumberFieldComponent extends Abstr
9
9
  fieldType: string;
10
10
  readonly NUMBER_TYPE = "number";
11
11
  readonly TEXT_TYPE = "text";
12
+ readonly WHITESPACE = " ";
12
13
  protected constructor(_currencyPipe: CurrencyPipe, translateService: TranslateService);
13
14
  ngAfterViewInit(): void;
14
15
  transformToText(event: Event): void;
@@ -13,6 +13,7 @@ export * from './file-field/abstract-file-field.component';
13
13
  export * from './file-field/abstract-preview-dialog/preview-dialog-data';
14
14
  export * from './file-list-field/abstract-file-list-field.component';
15
15
  export * from './multichoice-field/abstract-multichoice-field.component';
16
+ export * from './multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component';
16
17
  export * from './multichoice-field/multichoice-list-field/abstract-multichoice-list-field.component';
17
18
  export * from './multichoice-field/multichoice-select-field/abstract-multichoice-select-field.component';
18
19
  export * from './number-field/abstract-number-field.component';
@@ -35,6 +36,7 @@ export * from './i18n-field/abstract-i18n-field.component';
35
36
  export * from './i18n-field/i18n-text-field/abstract-i18n-text-field.component';
36
37
  export * from './i18n-field/i18n-divider-field/abstract-i18n-divider-field.component';
37
38
  export * from './i18n-field/abstract-i18n-errors.component';
39
+ export * from './user-list-field/abstract-user-list-field.component';
38
40
  export * from './models/abstract-data-field';
39
41
  export * from './text-field/models/text-area-field';
40
42
  export * from './text-field/models/text-field';
@@ -54,6 +56,7 @@ export * from './task-ref-field/model/task-ref-field';
54
56
  export * from './enumeration-field/models/dynamic-enumeration-field';
55
57
  export * from './filter-field/models/filter-field';
56
58
  export * from './i18n-field/models/i18n-field';
59
+ export * from './user-list-field/models/user-list-field';
57
60
  export * from './models/changed-fields';
58
61
  export * from './models/validation';
59
62
  export * from './models/layout';
@@ -1,12 +1,11 @@
1
1
  import { Behavior } from '../../models/behavior';
2
2
  import { Layout } from '../../models/layout';
3
3
  import { Validation } from '../../models/validation';
4
- import { TextField, TextFieldView } from './text-field';
4
+ import { TextField } from './text-field';
5
5
  import { Observable } from 'rxjs';
6
6
  import { Component } from '../../models/component';
7
7
  export declare class TextAreaField extends TextField {
8
- protected _view: TextFieldView;
9
8
  private SEARCH_DEBOUNCE_TIME;
10
- constructor(stringId: string, title: string, value: string, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, _view?: TextFieldView, component?: Component, parentTaskId?: string);
9
+ constructor(stringId: string, title: string, value: string, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
11
10
  valueChanges(): Observable<string>;
12
11
  }
@@ -4,12 +4,6 @@ import { Layout } from '../../models/layout';
4
4
  import { Validation } from '../../models/validation';
5
5
  import { Component } from '../../models/component';
6
6
  import { DataField } from '../../models/abstract-data-field';
7
- export declare enum TextFieldView {
8
- DEFAULT = "default",
9
- TEXTAREA = "textarea",
10
- RICHTEXTAREA = "richtextarea",
11
- HTMLTEXTAREA = "htmltextarea"
12
- }
13
7
  export declare enum TextAreaHeight {
14
8
  OUTLINE = 27,
15
9
  FILL_STANDARD = 34
@@ -27,10 +21,8 @@ export declare enum TextFieldValidation {
27
21
  EMAIL = "email"
28
22
  }
29
23
  export declare class TextField extends DataField<string> {
30
- protected _view: TextFieldView;
31
24
  static FIELD_HEIGHT: number;
32
- constructor(stringId: string, title: string, value: string, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, _view?: TextFieldView, _component?: Component, parentTaskId?: string);
33
- get view(): TextFieldView;
25
+ constructor(stringId: string, title: string, value: string, behavior: Behavior, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, _component?: Component, parentTaskId?: string);
34
26
  protected resolveValidations(): Array<ValidatorFn>;
35
27
  private validTelNumber;
36
28
  }
@@ -0,0 +1,38 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AbstractDataFieldComponent } from '../models/abstract-data-field-component';
3
+ import { SideMenuService } from '../../side-menu/services/side-menu.service';
4
+ import { SnackBarService } from '../../snack-bar/services/snack-bar.service';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { UserValue } from '../user-field/models/user-value';
7
+ import { UserListField } from './models/user-list-field';
8
+ import * as i0 from "@angular/core";
9
+ export declare abstract class AbstractUserListFieldComponent extends AbstractDataFieldComponent implements OnInit {
10
+ protected _sideMenuService: SideMenuService;
11
+ protected _snackbar: SnackBarService;
12
+ protected _translate: TranslateService;
13
+ /**
14
+ * Represents info about user from backend.
15
+ */
16
+ dataField: UserListField;
17
+ /**
18
+ * Inject services.
19
+ * @param _sideMenuService Service to open and close [UserAssignComponent]{@link AbstractUserAssignComponent} with user data.
20
+ * @param _snackbar Service to displaying information to the user.
21
+ * @param _translate Service to translate text.
22
+ * @param informAboutInvalidData whether the backend should be notified about invalid values.
23
+ * Option injected trough `NAE_INFORM_ABOUT_INVALID_DATA` InjectionToken
24
+ */
25
+ protected constructor(_sideMenuService: SideMenuService, _snackbar: SnackBarService, _translate: TranslateService, informAboutInvalidData: boolean | null);
26
+ ngOnInit(): void;
27
+ /**
28
+ * Call after click on user field button.
29
+ *
30
+ * Open [UserAssignComponent]{@link AbstractUserAssignComponent} in side menu with data represents preselected user from backend.
31
+ *
32
+ * After close side menu, the snackbar info will be displayed either for the unselected user or the selected one.
33
+ */
34
+ selectAbstractUser(component: any): void;
35
+ removeAbstractUser(user: UserValue): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractUserListFieldComponent, [null, null, null, { optional: true; }]>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractUserListFieldComponent, "ncc-abstract-user-list-field", never, { "dataField": "dataField"; }, {}, never, never>;
38
+ }
@@ -0,0 +1,10 @@
1
+ import { DataField } from '../../models/abstract-data-field';
2
+ import { Behavior } from '../../models/behavior';
3
+ import { Layout } from '../../models/layout';
4
+ import { Validation } from '../../models/validation';
5
+ import { Component } from '../../models/component';
6
+ import { UserListValue } from './user-list-value';
7
+ export declare class UserListField extends DataField<UserListValue> {
8
+ constructor(stringId: string, title: string, behavior: Behavior, value: UserListValue, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
9
+ protected valueEquality(a: UserListValue, b: UserListValue): boolean;
10
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Used by [UserListField]{@link UserListField}.
3
+ *
4
+ * Represents the value of the user list.
5
+ */
6
+ import { UserValue } from '../../user-field/models/user-value';
7
+ export declare class UserListValue {
8
+ private _userValues;
9
+ constructor(userValues: Array<UserValue>);
10
+ get userValues(): Array<UserValue>;
11
+ set userValues(value: Array<UserValue>);
12
+ addUserValue(value: UserValue): void;
13
+ addUserValues(value: UserValue[]): void;
14
+ getLast(): UserValue;
15
+ removeUserValue(value: UserValue): void;
16
+ }
@@ -1,13 +1,13 @@
1
- import { AbstractDialog } from '../../models/abstract-dialog';
1
+ import { AbstractDialogComponent } from '../../models/abstract-dialog.component';
2
2
  import { DialogData } from '../../models/DialogData';
3
3
  import { DialogResult } from '../../models/DialogResult';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Simple modal dialog with its own layout (which only shows information) based on a material design
8
- * that injected data and inherits from an [AbstractDialog]{@link AbstractDialog}.
8
+ * that injected data and inherits from an [AbstractDialog]{@link AbstractDialogComponent}.
9
9
  */
10
- export declare class AlertDialogComponent extends AbstractDialog<AlertDialogComponent> {
10
+ export declare class AlertDialogComponent extends AbstractDialogComponent<AlertDialogComponent> {
11
11
  dialogRef: MatDialogRef<AlertDialogComponent, DialogResult>;
12
12
  data: DialogData;
13
13
  /**
@@ -1,4 +1,4 @@
1
- import { AbstractDialog } from '../../models/abstract-dialog';
1
+ import { AbstractDialogComponent } from '../../models/abstract-dialog.component';
2
2
  import { DialogResult } from '../../models/DialogResult';
3
3
  import { DialogData } from '../../models/DialogData';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
@@ -6,9 +6,9 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Question modal dialog with its own layout (which asks the user a question with two answers - yes or no)
9
- * based on a material design that injected data and inherits from an [AbstractDialog]{@link AbstractDialog}.
9
+ * based on a material design that injected data and inherits from an [AbstractDialog]{@link AbstractDialogComponent}.
10
10
  */
11
- export declare class ConfirmDialogComponent extends AbstractDialog<ConfirmDialogComponent> {
11
+ export declare class ConfirmDialogComponent extends AbstractDialogComponent<ConfirmDialogComponent> {
12
12
  dialogRef: MatDialogRef<ConfirmDialogComponent, DialogResult>;
13
13
  data: DialogData;
14
14
  private sanitizer;
@@ -1,13 +1,13 @@
1
- import { AbstractDialog } from '../../models/abstract-dialog';
1
+ import { AbstractDialogComponent } from '../../models/abstract-dialog.component';
2
2
  import { DialogResult } from '../../models/DialogResult';
3
3
  import { DialogData } from '../../models/DialogData';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Question modal dialog with its own layout (which asks the user a question and wait for the answer)
8
- * based on a material design that injected data and inherits from an [AbstractDialog]{@link AbstractDialog}.
8
+ * based on a material design that injected data and inherits from an [AbstractDialog]{@link AbstractDialogComponent}.
9
9
  */
10
- export declare class PromptDialogComponent extends AbstractDialog<PromptDialogComponent> {
10
+ export declare class PromptDialogComponent extends AbstractDialogComponent<PromptDialogComponent> {
11
11
  dialogRef: MatDialogRef<PromptDialogComponent, DialogResult>;
12
12
  data: DialogData;
13
13
  /** Set submit button to disabled or enabled according to the user answer. */
@@ -3,7 +3,7 @@ import { DialogResult } from './DialogResult';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import * as i0 from "@angular/core";
5
5
  /** Abstract dialog for all types of dialog components is used for data injection and dialog reference holding. */
6
- export declare abstract class AbstractDialog<T> {
6
+ export declare abstract class AbstractDialogComponent<T> {
7
7
  dialogRef: MatDialogRef<T, DialogResult>;
8
8
  data: DialogData;
9
9
  /**
@@ -14,6 +14,6 @@ export declare abstract class AbstractDialog<T> {
14
14
  protected constructor(dialogRef: MatDialogRef<T, DialogResult>, data: DialogData);
15
15
  /** On close dialog or on click answer button closed current open modal dialog. */
16
16
  abstract onClose(isSubmitted?: boolean): any;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialog<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialog<any>, "ncc-abstract-dialog", never, {}, {}, never, never>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogComponent<any>, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDialogComponent<any>, "ncc-abstract-dialog", never, {}, {}, never, never>;
19
19
  }
@@ -13,12 +13,14 @@ import { LoadingEmitter } from '../utility/loading-emitter';
13
13
  import { SortDirection } from '@angular/material/sort';
14
14
  import { ViewIdService } from '../user/services/view-id.service';
15
15
  import { Net } from '../process/net';
16
+ import { OverflowService } from './services/overflow.service';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare abstract class AbstractHeaderService implements OnDestroy {
18
19
  protected _headerType: HeaderType;
19
20
  protected _preferences: UserPreferenceService;
20
- private _viewIdService;
21
21
  protected _logger: LoggerService;
22
+ private _viewIdService;
23
+ protected _overflowService: OverflowService;
22
24
  static readonly DEFAULT_HEADER_COUNT = 5;
23
25
  static readonly DEFAULT_HEADER_RESPONSIVITY = true;
24
26
  protected _headerColumnCount$: BehaviorSubject<number>;
@@ -31,7 +33,7 @@ export declare abstract class AbstractHeaderService implements OnDestroy {
31
33
  private _initializedCount;
32
34
  loading: LoadingEmitter;
33
35
  fieldsGroup: Array<FieldsGroup>;
34
- protected constructor(_headerType: HeaderType, _preferences: UserPreferenceService, _viewIdService: ViewIdService, _logger: LoggerService);
36
+ protected constructor(_headerType: HeaderType, _preferences: UserPreferenceService, _logger: LoggerService, _viewIdService: ViewIdService, _overflowService: OverflowService);
35
37
  /**
36
38
  * Provides Observable for all changes in header
37
39
  */
@@ -39,6 +41,7 @@ export declare abstract class AbstractHeaderService implements OnDestroy {
39
41
  get selectedHeaders$(): Observable<Array<HeaderColumn>>;
40
42
  get headerState(): HeaderStateInterface;
41
43
  get headerType(): HeaderType;
44
+ get overflowMode(): boolean;
42
45
  get headerColumnCount(): number;
43
46
  set headerColumnCount(maxColumns: number);
44
47
  get headerColumnCount$(): Observable<number>;
@@ -131,6 +134,6 @@ export declare abstract class AbstractHeaderService implements OnDestroy {
131
134
  protected abstract saveState(): any;
132
135
  protected abstract saveNewState(): any;
133
136
  protected abstract restoreLastState(): any;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderService, [null, null, { optional: true; }, null]>;
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderService, [null, null, null, { optional: true; }, { optional: true; }]>;
135
138
  static ɵprov: i0.ɵɵInjectableDeclaration<AbstractHeaderService>;
136
139
  }
@@ -13,7 +13,7 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
13
13
  protected _translate: TranslateService;
14
14
  protected _overflowService: OverflowService;
15
15
  protected readonly DEFAULT_COLUMN_COUNT = 6;
16
- protected readonly DEFAULT_COLUMN_WIDTH = 190;
16
+ protected readonly DEFAULT_COLUMN_WIDTH = 220;
17
17
  type: HeaderType;
18
18
  hideEditMode: boolean;
19
19
  headerService: AbstractHeaderService;
@@ -50,6 +50,6 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
50
50
  buildErrorMessage(formControlRef: FormControl, minNumber: any): any;
51
51
  protected initializeFormControls(exist: boolean): void;
52
52
  protected initializeValueChanges(): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderComponent, never>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderComponent, [null, null, { optional: true; }]>;
54
54
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderComponent, "ncc-abstract-header", never, { "type": "type"; "hideEditMode": "hideEditMode"; "maxHeaderColumns": "maxHeaderColumns"; "responsiveHeaders": "responsiveHeaders"; }, {}, never, never>;
55
55
  }
@@ -2,7 +2,7 @@ import { ViewIdService } from '../../user/services/view-id.service';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class OverflowService {
4
4
  private _viewIdService;
5
- protected readonly DEFAULT_COLUMN_WIDTH = 190;
5
+ protected readonly DEFAULT_COLUMN_WIDTH = 200;
6
6
  protected readonly DEFAULT_COLUMN_COUNT = 6;
7
7
  private _overflowMode;
8
8
  private _columnWidth;
@@ -6,16 +6,17 @@ import { LoggerService } from '../../logger/services/logger.service';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { ViewIdService } from '../../user/services/view-id.service';
8
8
  import { AllowedNetsService } from '../../allowed-nets/services/allowed-nets.service';
9
+ import { OverflowService } from '../services/overflow.service';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class TaskHeaderService extends AbstractHeaderService implements OnDestroy {
11
12
  protected _allowedNetsService: AllowedNetsService;
12
13
  protected subAllowedNets: Subscription;
13
- constructor(_allowedNetsService: AllowedNetsService, preferences: UserPreferenceService, logger: LoggerService, viewIdService: ViewIdService, naeDefaultHeaders: Array<string>);
14
+ constructor(_allowedNetsService: AllowedNetsService, preferences: UserPreferenceService, logger: LoggerService, viewIdService: ViewIdService, overflowService: OverflowService, naeDefaultHeaders: Array<string>);
14
15
  protected createMetaHeaders(): Array<HeaderColumn>;
15
16
  protected saveState(): void;
16
17
  protected saveNewState(): void;
17
18
  protected restoreLastState(): void;
18
19
  ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskHeaderService, [null, null, null, { optional: true; }, { optional: true; }]>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskHeaderService, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
20
21
  static ɵprov: i0.ɵɵInjectableDeclaration<TaskHeaderService>;
21
22
  }
@@ -4,14 +4,15 @@ import { HeaderColumn } from '../models/header-column';
4
4
  import { UserPreferenceService } from '../../user/services/user-preference.service';
5
5
  import { LoggerService } from '../../logger/services/logger.service';
6
6
  import { ViewIdService } from '../../user/services/view-id.service';
7
+ import { OverflowService } from '../services/overflow.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class WorkflowHeaderService extends AbstractHeaderService implements OnDestroy {
9
- constructor(preferences: UserPreferenceService, viewIdService: ViewIdService, logger: LoggerService);
10
+ constructor(preferences: UserPreferenceService, logger: LoggerService, viewIdService: ViewIdService, overflowService: OverflowService);
10
11
  protected createMetaHeaders(): Array<HeaderColumn>;
11
12
  ngOnDestroy(): void;
12
13
  protected saveState(): void;
13
14
  protected saveNewState(): void;
14
15
  protected restoreLastState(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowHeaderService, [null, { optional: true; }, null]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowHeaderService, [null, null, { optional: true; }, { optional: true; }]>;
16
17
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowHeaderService>;
17
18
  }
@@ -0,0 +1,18 @@
1
+ import { UriService } from '../service/uri.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare abstract class AbstractBreadcrumbsComponent {
4
+ protected _uriService: UriService;
5
+ showHome: boolean;
6
+ lengthOfPath: number;
7
+ partsAfterDots: number;
8
+ private static DOTS;
9
+ private static DELIMETER;
10
+ private _showPaths;
11
+ constructor(_uriService: UriService);
12
+ getPath(): Array<string>;
13
+ reset(): void;
14
+ changePath(path: string, count: number): void;
15
+ private resultCounter;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractBreadcrumbsComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractBreadcrumbsComponent, "ncc-breadcrumbs-component", never, { "showHome": "showHome"; "lengthOfPath": "lengthOfPath"; "partsAfterDots": "partsAfterDots"; }, {}, never, never>;
18
+ }
@@ -119,7 +119,7 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
119
119
  protected loadLeftSide(): void;
120
120
  protected loadRightSide(): void;
121
121
  protected resolveFilterCaseToViewNavigationItem(filter: Case): ViewNavigationItem | undefined;
122
- protected resolveAccessRoles(filter: Case): Array<RoleAccess> | undefined;
122
+ protected resolveAccessRoles(filter: Case, roleType: string): Array<RoleAccess> | undefined;
123
123
  protected getFilterRoutingPath(filterCase: Case): string;
124
124
  protected compareStrings(a: string, b: string): number;
125
125
  /**
@@ -4,6 +4,7 @@ export * from './navigation-drawer/abstract-navigation-drawer.component';
4
4
  export * from './navigation-double-drawer/abstract-navigation-double-drawer';
5
5
  export * from './navigation-rail/abstract-navigation-rail.component';
6
6
  export * from './group-navigation-component-resolver/abstract-group-navigation-component-resolver.component';
7
+ export * from './breadcrumbs/abstract-breadcrumbs.component';
7
8
  export * from './group-navigation-component-resolver/group-navigation-component-resolver.service';
8
9
  export * from './utility/filter-extraction.service';
9
10
  export * from './service/uri.service';
@@ -16,6 +16,7 @@ export declare class UriService implements OnDestroy {
16
16
  protected _resourceService: UriResourceService;
17
17
  protected _caseResourceService: CaseResourceService;
18
18
  protected _activeGroupService: ActiveGroupService;
19
+ private static ROOT;
19
20
  private _rootNode;
20
21
  private readonly _rootLoading$;
21
22
  private readonly _parentLoading$;
@@ -63,6 +64,7 @@ export declare class UriService implements OnDestroy {
63
64
  */
64
65
  getNodesOnLevel(level: number, parent?: UriNodeResource): Observable<Array<UriNodeResource>>;
65
66
  resolveParentPath(node?: UriNodeResource): string;
67
+ getSplittedPath(): Array<string>;
66
68
  private capitalizeNames;
67
69
  /**
68
70
  * /netgrif/nae_system/processes/... => Netgrif -> Nae Systems -> Processes