@netgrif/components-core 6.2.0-rc.8 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commons/schema.d.ts +2 -0
- package/esm2020/assets/i18n/de.json +12 -0
- package/esm2020/assets/i18n/en.json +12 -0
- package/esm2020/assets/i18n/sk.json +13 -1
- package/esm2020/commons/schema.mjs +1 -1
- package/esm2020/commons/view-class-info.mjs +9 -1
- package/esm2020/lib/admin/public-api.mjs +2 -2
- package/esm2020/lib/admin/role-assignment-ldap-group/abstract-ldap-group-role-assignment.component.mjs +88 -0
- package/esm2020/lib/authentication/services/methods/basic-authentication/basic-authentication.service.mjs +10 -2
- package/esm2020/lib/data-fields/button-field/abstract-button-field.component.mjs +2 -12
- package/esm2020/lib/data-fields/button-field/models/button-field.mjs +2 -18
- package/esm2020/lib/data-fields/enumeration-field/models/dynamic-enumeration-field.mjs +4 -5
- package/esm2020/lib/data-fields/enumeration-field/models/enumeration-field.mjs +2 -22
- package/esm2020/lib/data-fields/file-field/abstract-file-field.component.mjs +30 -13
- package/esm2020/lib/data-fields/file-list-field/abstract-file-list-field.component.mjs +35 -15
- package/esm2020/lib/data-fields/i18n-field/abstract-i18n-field.component.mjs +1 -4
- package/esm2020/lib/data-fields/models/abstract-data-field.mjs +9 -1
- package/esm2020/lib/data-fields/multichoice-field/models/multichoice-field.mjs +2 -17
- package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.mjs +79 -0
- package/esm2020/lib/data-fields/public-api.mjs +4 -1
- package/esm2020/lib/data-fields/text-field/models/text-area-field.mjs +4 -5
- package/esm2020/lib/data-fields/text-field/models/text-field.mjs +2 -14
- package/esm2020/lib/data-fields/user-list-field/abstract-user-list-field.component.mjs +75 -0
- package/esm2020/lib/data-fields/user-list-field/models/user-list-field.mjs +11 -0
- package/esm2020/lib/data-fields/user-list-field/models/user-list-value.mjs +36 -0
- package/esm2020/lib/dialog/components/alert-dialog/alert-dialog.component.mjs +4 -4
- package/esm2020/lib/dialog/components/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2020/lib/dialog/components/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2020/lib/dialog/models/abstract-dialog.component.mjs +29 -0
- package/esm2020/lib/header/abstract-header-service.mjs +25 -9
- package/esm2020/lib/header/abstract-header.component.mjs +7 -5
- package/esm2020/lib/header/case-header/case-header.service.mjs +2 -2
- package/esm2020/lib/header/services/overflow.service.mjs +2 -2
- package/esm2020/lib/header/task-header/task-header.service.mjs +7 -4
- package/esm2020/lib/header/workflow-header/workflow-header.service.mjs +11 -8
- package/esm2020/lib/navigation/breadcrumbs/abstract-breadcrumbs.component.mjs +69 -0
- package/esm2020/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.mjs +7 -6
- package/esm2020/lib/navigation/public-api.mjs +2 -1
- package/esm2020/lib/navigation/service/uri.service.mjs +5 -1
- package/esm2020/lib/panel/abstract/panel-with-header-binding.mjs +17 -5
- package/esm2020/lib/panel/abstract/panel-with-immediate-data.mjs +52 -22
- package/esm2020/lib/panel/abstract-panel.component.mjs +23 -5
- package/esm2020/lib/panel/case-panel/abstract-case-panel.component.mjs +13 -11
- package/esm2020/lib/panel/configuration/config-params.mjs +5 -0
- package/esm2020/lib/panel/public-api.mjs +5 -1
- package/esm2020/lib/panel/task-panel/abstract-task-panel.component.mjs +48 -13
- package/esm2020/lib/panel/task-panel/models/task-panel-context.mjs +2 -0
- package/esm2020/lib/panel/task-panel-list/abstract-task-list.component.mjs +3 -3
- package/esm2020/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.component.mjs +94 -0
- package/esm2020/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.mjs +3 -3
- package/esm2020/lib/panel/task-panel-single/abstract-single-task.component.mjs +81 -0
- package/esm2020/lib/panel/workflow-panel/abstract-workflow-panel.component.mjs +40 -6
- package/esm2020/lib/public/factories/public-factory-resolver.mjs +8 -3
- package/esm2020/lib/resources/engine-endpoint/petri-net-resource.service.mjs +12 -4
- package/esm2020/lib/resources/engine-endpoint/public/public-task-resource.service.mjs +1 -40
- package/esm2020/lib/resources/engine-endpoint/task-resource.service.mjs +4 -1
- package/esm2020/lib/resources/interface/fields.mjs +1 -1
- package/esm2020/lib/routing/redirect-service/redirect.service.mjs +2 -1
- package/esm2020/lib/side-menu/content-components/new-case/model/new-case-injection-data.mjs +1 -1
- package/esm2020/lib/side-menu/content-components/save-filter/abstract-save-filter.component.mjs +8 -7
- package/esm2020/lib/side-menu/content-components/user-assign/abstract-user-assign.component.mjs +1 -1
- package/esm2020/lib/side-menu/content-components/user-assign/model/user-list-injected-data.mjs +1 -1
- package/esm2020/lib/snack-bar/components/error-snack-bar/error-snack-bar.component.mjs +3 -3
- package/esm2020/lib/snack-bar/components/generic-snack-bar/generic-snack-bar.component.mjs +3 -3
- package/esm2020/lib/snack-bar/components/success-snack-bar/success-snack-bar.component.mjs +3 -3
- package/esm2020/lib/snack-bar/components/warning-snack-bar/warning-snack-bar.component.mjs +3 -3
- package/esm2020/lib/snack-bar/models/abstract-snack-bar.component.mjs +26 -0
- package/esm2020/lib/snack-bar/public-api.mjs +2 -2
- package/esm2020/lib/tabs/classes/opened-tab.mjs +19 -1
- package/esm2020/lib/tabs/classes/tab-label-stream.mjs +15 -0
- package/esm2020/lib/tabs/classes/tab-view.mjs +11 -3
- package/esm2020/lib/tabs/interfaces.mjs +1 -1
- package/esm2020/lib/tabs/public-api.mjs +3 -1
- package/esm2020/lib/task/services/assign-task.service.mjs +7 -6
- package/esm2020/lib/task/services/cancel-task.service.mjs +7 -6
- package/esm2020/lib/task/services/delegate-task.service.mjs +9 -8
- package/esm2020/lib/task/services/finish-policy.service.mjs +2 -2
- package/esm2020/lib/task/services/finish-task.service.mjs +7 -6
- package/esm2020/lib/task/services/task-data.service.mjs +51 -13
- package/esm2020/lib/task-content/field-component-resolver/abstract-field-component-resolver.component.mjs +3 -2
- package/esm2020/lib/task-content/model/field-type-resource.mjs +2 -1
- package/esm2020/lib/task-content/model/resource-interface.mjs +1 -1
- package/esm2020/lib/task-content/model/task-event-notification.mjs +5 -3
- package/esm2020/lib/task-content/services/field-converter.service.mjs +28 -90
- package/esm2020/lib/task-content/services/task-content.service.mjs +5 -2
- package/esm2020/lib/view/abstract/view-with-headers.mjs +13 -4
- package/esm2020/lib/view/case-view/abstract-case-view.mjs +9 -12
- package/esm2020/lib/view/case-view/components/case-list/abstract-case-list.component.mjs +3 -3
- package/esm2020/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.mjs +3 -3
- package/esm2020/lib/view/case-view/components/default-case-list/abstract-default-case-list.component.mjs +81 -0
- package/esm2020/lib/view/case-view/tabbed-case-view.mjs +7 -14
- package/esm2020/lib/view/public-api.mjs +2 -1
- package/esm2020/lib/view/task-view/abstract-single-task-view.component.mjs +55 -0
- package/esm2020/lib/view/task-view/abstract-task-view.mjs +6 -5
- package/esm2020/lib/view/task-view/tabbed-task-view.mjs +6 -5
- package/esm2020/lib/view/tree-case-view/tree-component/case-tree.service.mjs +6 -4
- package/esm2020/lib/view/workflow-view/abstract-workflow-view.component.mjs +6 -5
- package/fesm2015/netgrif-components-core.mjs +1127 -559
- package/fesm2015/netgrif-components-core.mjs.map +1 -1
- package/fesm2020/netgrif-components-core.mjs +1105 -560
- package/fesm2020/netgrif-components-core.mjs.map +1 -1
- package/lib/admin/public-api.d.ts +1 -1
- package/lib/admin/role-assignment-ldap-group/{abstract-ldap-group-role-assignment.d.ts → abstract-ldap-group-role-assignment.component.d.ts} +3 -3
- package/lib/authentication/services/methods/basic-authentication/basic-authentication.service.d.ts +2 -0
- package/lib/data-fields/button-field/abstract-button-field.component.d.ts +0 -5
- package/lib/data-fields/button-field/models/button-field.d.ts +1 -12
- package/lib/data-fields/enumeration-field/models/dynamic-enumeration-field.d.ts +2 -3
- package/lib/data-fields/enumeration-field/models/enumeration-field.d.ts +1 -11
- package/lib/data-fields/i18n-field/abstract-i18n-field.component.d.ts +0 -1
- package/lib/data-fields/models/abstract-data-field.d.ts +5 -0
- package/lib/data-fields/multichoice-field/models/multichoice-field.d.ts +1 -8
- package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.d.ts +24 -0
- package/lib/data-fields/public-api.d.ts +3 -0
- package/lib/data-fields/text-field/models/text-area-field.d.ts +2 -3
- package/lib/data-fields/text-field/models/text-field.d.ts +1 -9
- package/lib/data-fields/user-list-field/abstract-user-list-field.component.d.ts +38 -0
- package/lib/data-fields/user-list-field/models/user-list-field.d.ts +10 -0
- package/lib/data-fields/user-list-field/models/user-list-value.d.ts +16 -0
- package/lib/dialog/components/alert-dialog/alert-dialog.component.d.ts +3 -3
- package/lib/dialog/components/confirm-dialog/confirm-dialog.component.d.ts +3 -3
- package/lib/dialog/components/prompt-dialog/prompt-dialog.component.d.ts +3 -3
- package/lib/dialog/models/{abstract-dialog.d.ts → abstract-dialog.component.d.ts} +3 -3
- package/lib/header/abstract-header-service.d.ts +6 -3
- package/lib/header/abstract-header.component.d.ts +2 -2
- package/lib/header/services/overflow.service.d.ts +1 -1
- package/lib/header/task-header/task-header.service.d.ts +3 -2
- package/lib/header/workflow-header/workflow-header.service.d.ts +3 -2
- package/lib/navigation/breadcrumbs/abstract-breadcrumbs.component.d.ts +18 -0
- package/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.d.ts +2 -2
- package/lib/navigation/public-api.d.ts +1 -0
- package/lib/navigation/service/uri.service.d.ts +2 -0
- package/lib/panel/abstract/panel-with-header-binding.d.ts +5 -2
- package/lib/panel/abstract/panel-with-immediate-data.d.ts +4 -2
- package/lib/panel/abstract-panel.component.d.ts +8 -2
- package/lib/panel/case-panel/abstract-case-panel.component.d.ts +3 -3
- package/lib/panel/configuration/config-params.d.ts +3 -0
- package/lib/panel/public-api.d.ts +3 -0
- package/lib/panel/task-panel/abstract-task-panel.component.d.ts +13 -4
- package/lib/panel/task-panel/models/task-panel-context.d.ts +19 -0
- package/lib/panel/task-panel-list/abstract-task-list.component.d.ts +2 -2
- 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
- package/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.d.ts +2 -2
- package/lib/panel/task-panel-single/abstract-single-task.component.d.ts +42 -0
- package/lib/panel/workflow-panel/abstract-workflow-panel.component.d.ts +13 -2
- package/lib/public/factories/public-factory-resolver.d.ts +2 -1
- package/lib/resources/engine-endpoint/petri-net-resource.service.d.ts +1 -1
- package/lib/resources/engine-endpoint/public/public-task-resource.service.d.ts +0 -12
- package/lib/resources/interface/fields.d.ts +0 -5
- package/lib/side-menu/content-components/new-case/model/new-case-injection-data.d.ts +5 -0
- package/lib/side-menu/content-components/save-filter/abstract-save-filter.component.d.ts +2 -1
- package/lib/side-menu/content-components/user-assign/model/user-list-injected-data.d.ts +2 -1
- package/lib/snack-bar/components/error-snack-bar/error-snack-bar.component.d.ts +2 -2
- package/lib/snack-bar/components/generic-snack-bar/generic-snack-bar.component.d.ts +2 -2
- package/lib/snack-bar/components/success-snack-bar/success-snack-bar.component.d.ts +2 -2
- package/lib/snack-bar/components/warning-snack-bar/warning-snack-bar.component.d.ts +2 -2
- package/lib/snack-bar/models/{abstract-snack-bar.d.ts → abstract-snack-bar.component.d.ts} +3 -3
- package/lib/snack-bar/public-api.d.ts +1 -1
- package/lib/tabs/classes/opened-tab.d.ts +8 -1
- package/lib/tabs/classes/tab-label-stream.d.ts +7 -0
- package/lib/tabs/interfaces.d.ts +12 -1
- package/lib/tabs/public-api.d.ts +2 -0
- package/lib/task/services/assign-task.service.d.ts +4 -2
- package/lib/task/services/cancel-task.service.d.ts +4 -2
- package/lib/task/services/delegate-task.service.d.ts +5 -3
- package/lib/task/services/finish-task.service.d.ts +4 -2
- package/lib/task/services/task-data.service.d.ts +12 -3
- package/lib/task-content/model/field-type-resource.d.ts +1 -0
- package/lib/task-content/model/resource-interface.d.ts +0 -3
- package/lib/task-content/model/task-event-notification.d.ts +7 -1
- package/lib/task-content/services/field-converter.service.d.ts +3 -16
- package/lib/task-content/services/task-content.service.d.ts +1 -0
- package/lib/view/abstract/view-with-headers.d.ts +5 -1
- package/lib/view/case-view/abstract-case-view.d.ts +5 -3
- package/lib/view/case-view/components/case-list/abstract-case-list.component.d.ts +2 -2
- package/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.d.ts +2 -2
- package/lib/view/case-view/components/default-case-list/{abstract-default-case-list.d.ts → abstract-default-case-list.component.d.ts} +3 -3
- package/lib/view/case-view/tabbed-case-view.d.ts +4 -4
- package/lib/view/public-api.d.ts +1 -0
- package/lib/view/task-view/abstract-single-task-view.component.d.ts +25 -0
- package/lib/view/task-view/abstract-task-view.d.ts +2 -1
- package/lib/view/task-view/tabbed-task-view.d.ts +2 -1
- package/lib/view/workflow-view/abstract-workflow-view.component.d.ts +2 -1
- package/package.json +1 -2
- package/schematics/_commons/view-class-info.js +8 -0
- package/schematics/_commons/view-class-info.js.map +1 -1
- package/src/assets/i18n/de.json +12 -0
- package/src/assets/i18n/en.json +12 -0
- package/src/assets/i18n/sk.json +13 -1
- package/src/schema/nae-schema.json +6 -0
- package/esm2020/lib/admin/role-assignment-ldap-group/abstract-ldap-group-role-assignment.mjs +0 -88
- package/esm2020/lib/dialog/models/abstract-dialog.mjs +0 -29
- package/esm2020/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.mjs +0 -94
- package/esm2020/lib/snack-bar/models/abstract-snack-bar.mjs +0 -26
- package/esm2020/lib/view/case-view/components/default-case-list/abstract-default-case-list.mjs +0 -81
|
@@ -16,6 +16,7 @@ import { AfterAction } from '../../utility/call-chain/after-action';
|
|
|
16
16
|
import { PermissionService } from '../../authorization/permission/permission.service';
|
|
17
17
|
import { ChangedFieldsService } from '../../changed-fields/services/changed-fields.service';
|
|
18
18
|
import { EventService } from '../../event/services/event.service';
|
|
19
|
+
import { TaskEventOutcome } from '../../event/model/event-outcomes/task-outcomes/task-event-outcome';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
/**
|
|
21
22
|
* Service that handles the logic of canceling a task.
|
|
@@ -71,12 +72,13 @@ export declare class CancelTaskService extends TaskHandlingService {
|
|
|
71
72
|
/**
|
|
72
73
|
* complete all action streams and send notification with selected boolean
|
|
73
74
|
*/
|
|
74
|
-
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, bool: boolean): void;
|
|
75
|
+
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, bool: boolean, outcome?: TaskEventOutcome): void;
|
|
75
76
|
/**
|
|
76
77
|
* Publishes a cancel notification to the {@link TaskEventService}
|
|
77
78
|
* @param success whether the cancel operation was successful or not
|
|
79
|
+
* @param outcome
|
|
78
80
|
*/
|
|
79
|
-
protected sendNotification(success: boolean): void;
|
|
81
|
+
protected sendNotification(success: boolean, outcome?: TaskEventOutcome): void;
|
|
80
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<CancelTaskService, [null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
|
|
81
83
|
static ɵprov: i0.ɵɵInjectableDeclaration<CancelTaskService>;
|
|
82
84
|
}
|
|
@@ -14,6 +14,7 @@ import { EventQueueService } from '../../event-queue/services/event-queue.servic
|
|
|
14
14
|
import { AfterAction } from '../../utility/call-chain/after-action';
|
|
15
15
|
import { ChangedFieldsService } from '../../changed-fields/services/changed-fields.service';
|
|
16
16
|
import { EventService } from '../../event/services/event.service';
|
|
17
|
+
import { TaskEventOutcome } from '../../event/model/event-outcomes/task-outcomes/task-event-outcome';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
/**
|
|
19
20
|
* Service that handles the logic of delegating a task.
|
|
@@ -58,16 +59,17 @@ export declare class DelegateTaskService extends TaskHandlingService {
|
|
|
58
59
|
/**
|
|
59
60
|
* Reloads the task and emits `true` to the `afterAction` stream
|
|
60
61
|
*/
|
|
61
|
-
protected completeSuccess(afterAction: AfterAction, nextEvent: AfterAction): void;
|
|
62
|
+
protected completeSuccess(afterAction: AfterAction, nextEvent: AfterAction, outcome?: TaskEventOutcome): void;
|
|
62
63
|
/**
|
|
63
64
|
* Completes all the action streams and sends the notification, with the provided result
|
|
64
65
|
*/
|
|
65
|
-
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, result: boolean): void;
|
|
66
|
+
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, result: boolean, outcome?: TaskEventOutcome): void;
|
|
66
67
|
/**
|
|
67
68
|
* Publishes a delegate notification to the {@link TaskEventService}
|
|
68
69
|
* @param success whether the delegate operation was successful or not
|
|
70
|
+
* @param outcome
|
|
69
71
|
*/
|
|
70
|
-
protected sendNotification(success: boolean): void;
|
|
72
|
+
protected sendNotification(success: boolean, outcome?: TaskEventOutcome): void;
|
|
71
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<DelegateTaskService, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
72
74
|
static ɵprov: i0.ɵɵInjectableDeclaration<DelegateTaskService>;
|
|
73
75
|
}
|
|
@@ -14,6 +14,7 @@ import { EventQueueService } from '../../event-queue/services/event-queue.servic
|
|
|
14
14
|
import { AfterAction } from '../../utility/call-chain/after-action';
|
|
15
15
|
import { ChangedFieldsService } from '../../changed-fields/services/changed-fields.service';
|
|
16
16
|
import { EventService } from '../../event/services/event.service';
|
|
17
|
+
import { TaskEventOutcome } from '../../event/model/event-outcomes/task-outcomes/task-event-outcome';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
/**
|
|
19
20
|
* Service that handles the logic of finishing a task.
|
|
@@ -68,12 +69,13 @@ export declare class FinishTaskService extends TaskHandlingService {
|
|
|
68
69
|
/**
|
|
69
70
|
* Completes all the action streams and sends the notification, with the provided result
|
|
70
71
|
*/
|
|
71
|
-
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, result: boolean): void;
|
|
72
|
+
protected completeActions(afterAction: AfterAction, nextEvent: AfterAction, result: boolean, outcome?: TaskEventOutcome): void;
|
|
72
73
|
/**
|
|
73
74
|
* Publishes a finish notification to the {@link TaskEventService}
|
|
74
75
|
* @param success whether the finish operation was successful or not
|
|
76
|
+
* @param outcome TaskEventOutcome
|
|
75
77
|
*/
|
|
76
|
-
protected sendNotification(success: boolean): void;
|
|
78
|
+
protected sendNotification(success: boolean, outcome?: TaskEventOutcome): void;
|
|
77
79
|
/**
|
|
78
80
|
* Checks data size
|
|
79
81
|
* @return boolean whether the task contains data or not
|
|
@@ -21,8 +21,8 @@ import { EventQueueService } from '../../event-queue/services/event-queue.servic
|
|
|
21
21
|
import { AfterAction } from '../../utility/call-chain/after-action';
|
|
22
22
|
import { UserComparatorService } from '../../user/services/user-comparator.service';
|
|
23
23
|
import { TaskSetDataRequestContext } from '../models/task-set-data-request-context';
|
|
24
|
+
import { EventOutcomeMessageResource } from '../../resources/interface/message-resource';
|
|
24
25
|
import { EventService } from '../../event/services/event.service';
|
|
25
|
-
import { EventOutcome } from '../../resources/interface/event-outcome';
|
|
26
26
|
import { ChangedFieldsService } from '../../changed-fields/services/changed-fields.service';
|
|
27
27
|
import * as i0 from "@angular/core";
|
|
28
28
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class TaskDataService extends TaskHandlingService implements OnDe
|
|
|
88
88
|
* @param afterAction the action that should be performed after the request is processed
|
|
89
89
|
* @param nextEvent indicates to the event queue that the next event can be processed
|
|
90
90
|
*/
|
|
91
|
-
protected processErroneousGetDataRequest(gottenTaskId: string, error: HttpErrorResponse, afterAction: AfterAction, nextEvent: AfterAction): void;
|
|
91
|
+
protected processErroneousGetDataRequest(gottenTaskId: string, error: HttpErrorResponse | Error, afterAction: AfterAction, nextEvent: AfterAction): void;
|
|
92
92
|
/**
|
|
93
93
|
* Collects all changed data fields and notifies the backend of the changes.
|
|
94
94
|
*
|
|
@@ -125,6 +125,15 @@ export declare class TaskDataService extends TaskHandlingService implements OnDe
|
|
|
125
125
|
* @param nextEvent indicates to the event queue that the next event can be processed
|
|
126
126
|
*/
|
|
127
127
|
protected performSetDataRequest(setTaskId: string, body: TaskSetDataRequestBody, afterAction: AfterAction, nextEvent: AfterAction): void;
|
|
128
|
+
/**
|
|
129
|
+
* Processes a unsuccessful outcome of a `setData` request
|
|
130
|
+
* @param setTaskId the Id of the task whose data was set
|
|
131
|
+
* @param response the resulting Event outcome of the set data request
|
|
132
|
+
* @param afterAction the action that should be performed after the request is processed
|
|
133
|
+
* @param nextEvent indicates to the event queue that the next event can be processed
|
|
134
|
+
* @param body hold the data that was sent in request
|
|
135
|
+
*/
|
|
136
|
+
protected processUnsuccessfulSetDataRequest(setTaskId: string, response: EventOutcomeMessageResource, afterAction: AfterAction, nextEvent: AfterAction, body: TaskSetDataRequestBody): void;
|
|
128
137
|
/**
|
|
129
138
|
* Processes a successful outcome of a `setData` request
|
|
130
139
|
* @param setTaskId the Id of the task whose data was set
|
|
@@ -133,7 +142,7 @@ export declare class TaskDataService extends TaskHandlingService implements OnDe
|
|
|
133
142
|
* @param nextEvent indicates to the event queue that the next event can be processed
|
|
134
143
|
* @param body hold the data that was sent in request
|
|
135
144
|
*/
|
|
136
|
-
protected processSuccessfulSetDataRequest(setTaskId: string, response:
|
|
145
|
+
protected processSuccessfulSetDataRequest(setTaskId: string, response: EventOutcomeMessageResource, afterAction: AfterAction, nextEvent: AfterAction, body: TaskSetDataRequestBody): void;
|
|
137
146
|
/**
|
|
138
147
|
* Processes an erroneous outcome of a `setData` request
|
|
139
148
|
* @param setTaskId the Id of the task whose data was set
|
|
@@ -17,9 +17,6 @@ export interface DataFieldResource {
|
|
|
17
17
|
value?: string | number | Array<string> | boolean | Array<number> | any;
|
|
18
18
|
defaultValue?: string | number | Array<string> | boolean;
|
|
19
19
|
choices?: Array<string>;
|
|
20
|
-
view?: {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
20
|
minValue?: number;
|
|
24
21
|
minDate?: string;
|
|
25
22
|
validations?: Array<Validation>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TaskEvent } from './task-event';
|
|
2
2
|
import { Task } from '../../resources/public-api';
|
|
3
|
+
import { TaskEventOutcome } from '../../event/model/event-outcomes/task-outcomes/task-event-outcome';
|
|
3
4
|
/**
|
|
4
5
|
* Holds the information about an event that occurred to some {@link Task} resource.
|
|
5
6
|
*
|
|
@@ -22,11 +23,16 @@ export interface TaskEventNotification {
|
|
|
22
23
|
* Success state of the event
|
|
23
24
|
*/
|
|
24
25
|
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The task eventOutcome from backend
|
|
28
|
+
*/
|
|
29
|
+
outcome?: TaskEventOutcome;
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* @param task affected Task object
|
|
28
33
|
* @param event the reported Task event
|
|
29
34
|
* @param success success state of the reported event
|
|
35
|
+
* @param outcome TaskEventOutcome
|
|
30
36
|
* @returns the notification informing about the event
|
|
31
37
|
*/
|
|
32
|
-
export declare function createTaskEventNotification(task: Task, event: TaskEvent, success: boolean): TaskEventNotification;
|
|
38
|
+
export declare function createTaskEventNotification(task: Task, event: TaskEvent, success: boolean, outcome?: TaskEventOutcome): TaskEventNotification;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { DataFieldResource } from '../model/resource-interface';
|
|
2
2
|
import { DataField } from '../../data-fields/models/abstract-data-field';
|
|
3
|
-
import { EnumerationField, EnumerationFieldValue
|
|
4
|
-
import { MultichoiceFieldValue
|
|
5
|
-
import { ButtonFieldView } from '../../data-fields/button-field/models/button-field';
|
|
3
|
+
import { EnumerationField, EnumerationFieldValue } from '../../data-fields/enumeration-field/models/enumeration-field';
|
|
4
|
+
import { MultichoiceFieldValue } from '../../data-fields/multichoice-field/models/multichoice-field';
|
|
6
5
|
import { FieldTypeResource } from '../model/field-type-resource';
|
|
7
6
|
import { Component } from '../../data-fields/models/component';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class FieldConverterService {
|
|
9
|
+
private textFieldNames;
|
|
10
10
|
constructor();
|
|
11
11
|
toClass(item: DataFieldResource): DataField<any>;
|
|
12
12
|
resolveType(item: DataField<any>): FieldTypeResource;
|
|
13
|
-
resolveButtonView(item: DataFieldResource): ButtonFieldView;
|
|
14
13
|
formatValueForBackend(field: DataField<any>, value: any): any;
|
|
15
14
|
protected resolveNumberComponent(numberField: DataFieldResource): Component;
|
|
16
15
|
/**
|
|
@@ -18,12 +17,6 @@ export declare class FieldConverterService {
|
|
|
18
17
|
* @param enumField enumeration field resource
|
|
19
18
|
*/
|
|
20
19
|
protected resolveEnumField(enumField: DataFieldResource): EnumerationField;
|
|
21
|
-
/**
|
|
22
|
-
* @param enumField enumeration field resource object who's view type we want to resolve
|
|
23
|
-
* @returns the view type defined in the field object, or default if none, or invalid type is defined
|
|
24
|
-
* @deprecated in 4.3.0
|
|
25
|
-
*/
|
|
26
|
-
protected resolveEnumViewType(enumField: DataFieldResource): EnumerationFieldView;
|
|
27
20
|
/**
|
|
28
21
|
* This function is used to parse enumeration options from the `choices` attribute
|
|
29
22
|
* @param enumField enumeration field resource object who's choices we want to resolve
|
|
@@ -36,12 +29,6 @@ export declare class FieldConverterService {
|
|
|
36
29
|
* @returns the options for the enumeration field
|
|
37
30
|
*/
|
|
38
31
|
protected resolveEnumOptions(enumField: DataFieldResource): Array<EnumerationFieldValue>;
|
|
39
|
-
/**
|
|
40
|
-
* @param multiField multichoice field resource object who's view type we want to resolve
|
|
41
|
-
* @returns the view type defined in the field object, or default if none, or invalid type is defined
|
|
42
|
-
* @deprecated in 4.3.0
|
|
43
|
-
*/
|
|
44
|
-
protected resolveMultichoiceViewType(multiField: DataFieldResource): MultichoiceFieldView;
|
|
45
32
|
/**
|
|
46
33
|
* This function is used to parse multichoice options from the `choices` attribute
|
|
47
34
|
* @param multiField multichoice field resource object who's options we want to resolve
|
|
@@ -121,6 +121,7 @@ export declare abstract class TaskContentService implements OnDestroy {
|
|
|
121
121
|
* @param frontendAction the action that should be performed.
|
|
122
122
|
*/
|
|
123
123
|
performFrontendAction(frontendAction: FrontendActions): void;
|
|
124
|
+
getReferencedFieldTask(field: any): string;
|
|
124
125
|
private isFieldInTaskRef;
|
|
125
126
|
private getReferencedTransitionId;
|
|
126
127
|
private getReferencedTaskId;
|
|
@@ -3,14 +3,18 @@ import { HeaderColumn } from '../../header/models/header-column';
|
|
|
3
3
|
import { AbstractHeaderComponent } from '../../header/abstract-header.component';
|
|
4
4
|
import { AbstractSortableViewComponent } from './sortable-view';
|
|
5
5
|
import { OnDestroy } from '@angular/core';
|
|
6
|
+
import { ActivatedRoute, Params } from '@angular/router';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare abstract class AbstractViewWithHeadersComponent implements OnDestroy {
|
|
8
9
|
private _sortableView?;
|
|
10
|
+
protected _activatedRoute?: ActivatedRoute;
|
|
11
|
+
config: Params;
|
|
9
12
|
protected _selectedHeaders$: ReplaySubject<Array<HeaderColumn>>;
|
|
10
|
-
protected constructor(_sortableView?: AbstractSortableViewComponent);
|
|
13
|
+
protected constructor(_sortableView?: AbstractSortableViewComponent, _activatedRoute?: ActivatedRoute);
|
|
11
14
|
get selectedHeaders$(): Observable<Array<HeaderColumn>>;
|
|
12
15
|
protected initializeHeader(headerComponent: AbstractHeaderComponent): void;
|
|
13
16
|
ngOnDestroy(): void;
|
|
17
|
+
showHeader(): boolean;
|
|
14
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractViewWithHeadersComponent, never>;
|
|
15
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractViewWithHeadersComponent, "ncc-abstract-view-with-headers", never, {}, {}, never, never>;
|
|
16
20
|
}
|
|
@@ -7,12 +7,14 @@ import { Authority } from '../../resources/interface/authority';
|
|
|
7
7
|
import { OverflowService } from '../../header/services/overflow.service';
|
|
8
8
|
import { NewCaseCreationConfigurationData } from '../../side-menu/content-components/new-case/model/new-case-injection-data';
|
|
9
9
|
import { OnDestroy } from '@angular/core';
|
|
10
|
+
import { ActivatedRoute } from '@angular/router';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare abstract class AbstractCaseViewComponent extends AbstractViewWithHeadersComponent implements OnDestroy {
|
|
12
13
|
protected _caseViewService: CaseViewService;
|
|
13
14
|
protected _overflowService?: OverflowService;
|
|
14
15
|
protected _authority: Array<Authority>;
|
|
15
16
|
protected _newCaseCreationConfig: NewCaseCreationConfigurationData;
|
|
17
|
+
protected _activatedRoute?: ActivatedRoute;
|
|
16
18
|
readonly MINIMAL_OFFSET = 120;
|
|
17
19
|
readonly headerType: HeaderType;
|
|
18
20
|
cases$: Observable<Array<Case>>;
|
|
@@ -20,13 +22,13 @@ export declare abstract class AbstractCaseViewComponent extends AbstractViewWith
|
|
|
20
22
|
canCreate: boolean;
|
|
21
23
|
authorityToCreate: Array<string>;
|
|
22
24
|
protected canCreateSub: Subscription;
|
|
23
|
-
protected constructor(_caseViewService: CaseViewService, _overflowService?: OverflowService, _authority?: Array<Authority>, _newCaseCreationConfig?: NewCaseCreationConfigurationData);
|
|
24
|
-
|
|
25
|
+
protected constructor(_caseViewService: CaseViewService, _overflowService?: OverflowService, _authority?: Array<Authority>, _newCaseCreationConfig?: NewCaseCreationConfigurationData, _activatedRoute?: ActivatedRoute);
|
|
26
|
+
get newCaseCreationConfig(): NewCaseCreationConfigurationData;
|
|
25
27
|
abstract handleCaseClick(clickedCase: Case): void;
|
|
26
28
|
hasAuthority(): boolean;
|
|
27
29
|
getWidth(): string;
|
|
28
30
|
getOverflowStatus(): boolean;
|
|
29
31
|
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractCaseViewComponent, [null, null, null, { optional: true; }]>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractCaseViewComponent, [null, null, null, { optional: true; }, null]>;
|
|
31
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCaseViewComponent, "ncc-abstract-case-view", never, {}, {}, never, never>;
|
|
32
34
|
}
|
|
@@ -3,9 +3,9 @@ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
|
3
3
|
import { LoggerService } from '../../../../logger/services/logger.service';
|
|
4
4
|
import { InjectedTabData } from '../../../../tabs/interfaces';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
|
-
import {
|
|
6
|
+
import { AbstractDefaultCaseListComponent } from '../default-case-list/abstract-default-case-list.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class AbstractCaseListComponent extends
|
|
8
|
+
export declare abstract class AbstractCaseListComponent extends AbstractDefaultCaseListComponent {
|
|
9
9
|
protected _caseViewService: CaseViewService;
|
|
10
10
|
protected _log: LoggerService;
|
|
11
11
|
protected route?: ActivatedRoute;
|
|
@@ -3,9 +3,9 @@ import { Case } from '../../../../resources/interface/case';
|
|
|
3
3
|
import { CaseViewService } from '../../service/case-view-service';
|
|
4
4
|
import { LoggerService } from '../../../../logger/services/logger.service';
|
|
5
5
|
import { InjectedTabData } from '../../../../tabs/interfaces';
|
|
6
|
-
import {
|
|
6
|
+
import { AbstractDefaultCaseListComponent } from '../default-case-list/abstract-default-case-list.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class AbstractCaseListPaginatorComponent extends
|
|
8
|
+
export declare abstract class AbstractCaseListPaginatorComponent extends AbstractDefaultCaseListComponent {
|
|
9
9
|
protected _caseViewService: CaseViewService;
|
|
10
10
|
protected _log: LoggerService;
|
|
11
11
|
protected route?: ActivatedRoute;
|
|
@@ -8,7 +8,7 @@ import { InjectedTabData } from '../../../../tabs/interfaces';
|
|
|
8
8
|
import { ActivatedRoute } from '@angular/router';
|
|
9
9
|
import { TabbedVirtualScrollComponent } from '../../../../panel/abstract/tabbed-virtual-scroll.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare abstract class
|
|
11
|
+
export declare abstract class AbstractDefaultCaseListComponent extends TabbedVirtualScrollComponent implements OnDestroy {
|
|
12
12
|
protected _caseViewService: CaseViewService;
|
|
13
13
|
protected _log: LoggerService;
|
|
14
14
|
protected route?: ActivatedRoute;
|
|
@@ -28,6 +28,6 @@ export declare abstract class AbstractDefaultCaseList extends TabbedVirtualScrol
|
|
|
28
28
|
ngOnDestroy(): void;
|
|
29
29
|
onCaseClick(case_: Case): void;
|
|
30
30
|
onRedirect(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDefaultCaseListComponent, [null, null, { optional: true; }, null]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractDefaultCaseListComponent, "ncc-abstract-default-case-list", never, { "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "showCasePanelIcon": "showCasePanelIcon"; "showDeleteMenu": "showDeleteMenu"; "textEllipsis": "textEllipsis"; "width": "width"; "redirectEnabled": "redirectEnabled"; }, { "caseClick": "caseClick"; }, never, never>;
|
|
33
33
|
}
|
|
@@ -6,7 +6,7 @@ import { LoggerService } from '../../logger/services/logger.service';
|
|
|
6
6
|
import { CaseViewService } from './service/case-view-service';
|
|
7
7
|
import { OverflowService } from '../../header/services/overflow.service';
|
|
8
8
|
import { NewCaseCreationConfigurationData } from '../../side-menu/content-components/new-case/model/new-case-injection-data';
|
|
9
|
-
import {
|
|
9
|
+
import { ActivatedRoute } from '@angular/router';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export interface InjectedTabbedCaseViewData extends InjectedTabData {
|
|
12
12
|
tabViewComponent: Type<any>;
|
|
@@ -19,11 +19,11 @@ export declare abstract class AbstractTabbedCaseViewComponent extends AbstractCa
|
|
|
19
19
|
protected _autoswitchToTaskTab: boolean;
|
|
20
20
|
protected _openExistingTab: boolean;
|
|
21
21
|
protected _newCaseCreationConfig: NewCaseCreationConfigurationData;
|
|
22
|
+
protected _activatedRoute?: ActivatedRoute;
|
|
22
23
|
private readonly _correctlyInjected;
|
|
23
|
-
protected constructor(caseViewService: CaseViewService, _loggerService: LoggerService, _injectedTabData: InjectedTabbedCaseViewData, _overflowService?: OverflowService, _autoswitchToTaskTab?: boolean, _openExistingTab?: boolean, _newCaseCreationConfig?: NewCaseCreationConfigurationData);
|
|
24
|
+
protected constructor(caseViewService: CaseViewService, _loggerService: LoggerService, _injectedTabData: InjectedTabbedCaseViewData, _overflowService?: OverflowService, _autoswitchToTaskTab?: boolean, _openExistingTab?: boolean, _newCaseCreationConfig?: NewCaseCreationConfigurationData, _activatedRoute?: ActivatedRoute);
|
|
24
25
|
handleCaseClick(clickedCase: Case): void;
|
|
25
|
-
createNewCase(): Observable<Case>;
|
|
26
26
|
protected openTab(openCase: Case): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTabbedCaseViewComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTabbedCaseViewComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTabbedCaseViewComponent, "ncc-abstract-tabbed-case-view", never, {}, {}, never, never>;
|
|
29
29
|
}
|
package/lib/view/public-api.d.ts
CHANGED
|
@@ -39,3 +39,4 @@ export * from './tree-case-view/tree-component/abstract-tree.component';
|
|
|
39
39
|
export * from './tree-case-view/tree-component/add-child-node/abstract-add-child-node.component';
|
|
40
40
|
export * from './tree-case-view/tree-component/remove-node/abstract-remove-node.component';
|
|
41
41
|
export * from './tree-case-view/tree-task-content/abstract-tree-task-content.component';
|
|
42
|
+
export * from './task-view/abstract-single-task-view.component';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { AbstractViewWithHeadersComponent } from '../abstract/view-with-headers';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { TaskPanelData } from '../../panel/task-panel-list/task-panel-data/task-panel-data';
|
|
5
|
+
import { TaskViewService } from './service/task-view.service';
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TaskConst {
|
|
9
|
+
static readonly TRANSITION_ID = "transitionId";
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class AbstractSingleTaskViewComponent extends AbstractViewWithHeadersComponent implements OnDestroy {
|
|
12
|
+
protected taskViewService: TaskViewService;
|
|
13
|
+
initiallyExpanded: boolean;
|
|
14
|
+
preventCollapse: boolean;
|
|
15
|
+
task$: Observable<TaskPanelData>;
|
|
16
|
+
loading$: Observable<boolean>;
|
|
17
|
+
private transitionId;
|
|
18
|
+
private subRoute;
|
|
19
|
+
protected unsubscribe$: Subject<void>;
|
|
20
|
+
protected constructor(taskViewService: TaskViewService, activatedRoute: ActivatedRoute);
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
private resolveTransitionTask;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSingleTaskViewComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractSingleTaskViewComponent, "ncc-abstract-single-task-view", never, { "initiallyExpanded": "initiallyExpanded"; "preventCollapse": "preventCollapse"; }, {}, never, never>;
|
|
25
|
+
}
|
|
@@ -3,12 +3,13 @@ import { OnDestroy } from '@angular/core';
|
|
|
3
3
|
import { TaskPanelData } from '../../panel/task-panel-list/task-panel-data/task-panel-data';
|
|
4
4
|
import { TaskViewService } from './service/task-view.service';
|
|
5
5
|
import { AbstractViewWithHeadersComponent } from '../abstract/view-with-headers';
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare abstract class AbstractTaskViewComponent extends AbstractViewWithHeadersComponent implements OnDestroy {
|
|
8
9
|
protected taskViewService: TaskViewService;
|
|
9
10
|
tasks$: Observable<Array<TaskPanelData>>;
|
|
10
11
|
loading$: Observable<boolean>;
|
|
11
|
-
protected constructor(taskViewService: TaskViewService);
|
|
12
|
+
protected constructor(taskViewService: TaskViewService, _activatedRoute?: ActivatedRoute);
|
|
12
13
|
ngOnDestroy(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTaskViewComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTaskViewComponent, "ncc-abstract-task-view", never, {}, {}, never, never>;
|
|
@@ -3,11 +3,12 @@ import { TaskViewService } from './service/task-view.service';
|
|
|
3
3
|
import { OnDestroy } from '@angular/core';
|
|
4
4
|
import { InjectedTabbedTaskViewData } from './models/injected-tabbed-task-view-data';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare abstract class AbstractTabbedTaskViewComponent extends AbstractTaskViewComponent implements OnDestroy {
|
|
8
9
|
protected _injectedTabData: InjectedTabbedTaskViewData;
|
|
9
10
|
protected subTaskView: Subscription;
|
|
10
|
-
protected constructor(taskViewService: TaskViewService, _injectedTabData: InjectedTabbedTaskViewData);
|
|
11
|
+
protected constructor(taskViewService: TaskViewService, _injectedTabData: InjectedTabbedTaskViewData, _activatedRoute?: ActivatedRoute);
|
|
11
12
|
ngOnDestroy(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTabbedTaskViewComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTabbedTaskViewComponent, "ncc-abstract-tabbed-task-view", never, {}, {}, never, never>;
|
|
@@ -9,6 +9,7 @@ import { Net } from '../../process/net';
|
|
|
9
9
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
10
10
|
import { LoggerService } from '../../logger/services/logger.service';
|
|
11
11
|
import { ProcessService } from '../../process/process.service';
|
|
12
|
+
import { ActivatedRoute } from '@angular/router';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare abstract class AbstractWorkflowViewComponent extends AbstractViewWithHeadersComponent implements AfterViewInit {
|
|
14
15
|
protected _sideMenuService: SideMenuService;
|
|
@@ -22,7 +23,7 @@ export declare abstract class AbstractWorkflowViewComponent extends AbstractView
|
|
|
22
23
|
workflows$: Observable<Array<Net>>;
|
|
23
24
|
loading$: Observable<boolean>;
|
|
24
25
|
viewport: CdkVirtualScrollViewport;
|
|
25
|
-
protected constructor(_sideMenuService: SideMenuService, _workflowViewService: WorkflowViewService, _log: LoggerService, _processService: ProcessService);
|
|
26
|
+
protected constructor(_sideMenuService: SideMenuService, _workflowViewService: WorkflowViewService, _log: LoggerService, _processService: ProcessService, _activatedRoute?: ActivatedRoute);
|
|
26
27
|
ngAfterViewInit(): void;
|
|
27
28
|
importSidemenuNet(component: any): void;
|
|
28
29
|
trackBy(i: any): any;
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netgrif/components-core",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "Netgrif Application engine frontend core Angular library",
|
|
5
5
|
"homepage": "https://components.netgrif.com",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
-
"schematics": "schematics/collection.json",
|
|
8
7
|
"repository": {
|
|
9
8
|
"type": "git",
|
|
10
9
|
"url": "https://github.com/netgrif/components.git"
|
|
@@ -39,6 +39,8 @@ class ViewClassInfo extends import_to_add_1.ImportToAdd {
|
|
|
39
39
|
return 'EmptyView';
|
|
40
40
|
case 'sidenavView':
|
|
41
41
|
return 'SidenavView';
|
|
42
|
+
case 'doubleDrawerView':
|
|
43
|
+
return 'DoubleDrawerView';
|
|
42
44
|
case 'toolbarView':
|
|
43
45
|
return 'ToolbarView';
|
|
44
46
|
case 'sidenavAndToolbarView':
|
|
@@ -49,6 +51,12 @@ class ViewClassInfo extends import_to_add_1.ImportToAdd {
|
|
|
49
51
|
return 'GroupView';
|
|
50
52
|
case 'treeCaseView':
|
|
51
53
|
return 'TreeCaseView';
|
|
54
|
+
case 'workflowView':
|
|
55
|
+
return 'WorkflowView';
|
|
56
|
+
case 'roleAssignmentView':
|
|
57
|
+
return 'RoleAssignmentView';
|
|
58
|
+
case 'ldapRoleAssignmentView':
|
|
59
|
+
return 'LdapRoleAssignmentView';
|
|
52
60
|
default:
|
|
53
61
|
throw new schematics_1.SchematicsException(`Unknown view type '${view}'`);
|
|
54
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-class-info.js","sourceRoot":"","sources":["../../../../projects/netgrif-components-core/schematics/_commons/view-class-info.ts"],"names":[],"mappings":";;;AAAA,mDAA4C;AAC5C,uFAAsE;AACtE,2DAA+D;AAE/D,uFAAuF;AAEvF,MAAa,aAAc,SAAQ,2BAAW;IAmB1C,YAAY,IAAY,EAAE,QAAgB,EAAE,mBAA4B;QACpE,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,CAAC,mBAAmB,EAAE;YACtB,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;YAC/D,MAAM,WAAW,GAAG,aAAa,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;YACtE,IAAI,CAAC,oBAAoB,GAAG,GAAG,IAAA,0CAAQ,EAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,EAAE,CAAC;YACrE,IAAI,CAAC,cAAc,GAAG,WAAW,IAAI,IAAI,IAAA,2CAAS,EAAC,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC;SAC7F;aAAM;YACH,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;YACjB,IAAI,CAAC,oBAAoB,GAAG,IAAA,0CAAQ,EAAC,mBAAmB,CAAC,CAAC;YAC1D,IAAI,CAAC,cAAc,GAAG,WAAW,IAAI,IAAI,IAAA,2CAAS,EAAC,mBAAmB,CAAC,YAAY,CAAC;SACvF;QACD,IAAI,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,oBAAoB,WAAW,CAAC;IAC7D,CAAC;IAEO,MAAM,CAAC,4BAA4B,CAAC,IAAY;QACpD,MAAM,SAAS,GAAG,IAAI,CAAC;QACvB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAChF,CAAC;IAEO,MAAM,CAAC,yBAAyB,CAAC,IAAY;QACjD,QAAQ,IAAI,EAAE;YACV,KAAK,OAAO;gBACR,OAAO,OAAO,CAAC;YACnB,KAAK,SAAS;gBACV,OAAO,SAAS,CAAC;YACrB,KAAK,UAAU;gBACX,OAAO,UAAU,CAAC;YACtB,KAAK,UAAU;gBACX,OAAO,UAAU,CAAC;YACtB,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,aAAa;gBACd,OAAO,aAAa,CAAC;YACzB,KAAK,aAAa;gBACd,OAAO,aAAa,CAAC;YACzB,KAAK,uBAAuB;gBACxB,OAAO,uBAAuB,CAAC;YACnC,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,cAAc;gBACf,OAAO,cAAc,CAAC;YAC1B;gBACI,MAAM,IAAI,gCAAmB,CAAC,sBAAsB,IAAI,GAAG,CAAC,CAAC;SACpE;IACL,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"view-class-info.js","sourceRoot":"","sources":["../../../../projects/netgrif-components-core/schematics/_commons/view-class-info.ts"],"names":[],"mappings":";;;AAAA,mDAA4C;AAC5C,uFAAsE;AACtE,2DAA+D;AAE/D,uFAAuF;AAEvF,MAAa,aAAc,SAAQ,2BAAW;IAmB1C,YAAY,IAAY,EAAE,QAAgB,EAAE,mBAA4B;QACpE,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,CAAC,mBAAmB,EAAE;YACtB,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;YAC/D,MAAM,WAAW,GAAG,aAAa,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;YACtE,IAAI,CAAC,oBAAoB,GAAG,GAAG,IAAA,0CAAQ,EAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,EAAE,CAAC;YACrE,IAAI,CAAC,cAAc,GAAG,WAAW,IAAI,IAAI,IAAA,2CAAS,EAAC,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC;SAC7F;aAAM;YACH,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;YACjB,IAAI,CAAC,oBAAoB,GAAG,IAAA,0CAAQ,EAAC,mBAAmB,CAAC,CAAC;YAC1D,IAAI,CAAC,cAAc,GAAG,WAAW,IAAI,IAAI,IAAA,2CAAS,EAAC,mBAAmB,CAAC,YAAY,CAAC;SACvF;QACD,IAAI,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,oBAAoB,WAAW,CAAC;IAC7D,CAAC;IAEO,MAAM,CAAC,4BAA4B,CAAC,IAAY;QACpD,MAAM,SAAS,GAAG,IAAI,CAAC;QACvB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAChF,CAAC;IAEO,MAAM,CAAC,yBAAyB,CAAC,IAAY;QACjD,QAAQ,IAAI,EAAE;YACV,KAAK,OAAO;gBACR,OAAO,OAAO,CAAC;YACnB,KAAK,SAAS;gBACV,OAAO,SAAS,CAAC;YACrB,KAAK,UAAU;gBACX,OAAO,UAAU,CAAC;YACtB,KAAK,UAAU;gBACX,OAAO,UAAU,CAAC;YACtB,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,aAAa;gBACd,OAAO,aAAa,CAAC;YACzB,KAAK,kBAAkB;gBACnB,OAAO,kBAAkB,CAAC;YAC9B,KAAK,aAAa;gBACd,OAAO,aAAa,CAAC;YACzB,KAAK,uBAAuB;gBACxB,OAAO,uBAAuB,CAAC;YACnC,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,WAAW;gBACZ,OAAO,WAAW,CAAC;YACvB,KAAK,cAAc;gBACf,OAAO,cAAc,CAAC;YAC1B,KAAK,cAAc;gBACf,OAAO,cAAc,CAAC;YAC1B,KAAK,oBAAoB;gBACrB,OAAO,oBAAoB,CAAC;YAChC,KAAK,wBAAwB;gBACzB,OAAO,wBAAwB,CAAC;YACpC;gBACI,MAAM,IAAI,gCAAmB,CAAC,sBAAsB,IAAI,GAAG,CAAC,CAAC;SACpE;IACL,CAAC;CACJ;AA3ED,sCA2EC"}
|
package/src/assets/i18n/de.json
CHANGED
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
"cancel": "Stornieren",
|
|
51
51
|
"noData": "Diese Aufgabe hat keine Dateien. Schließen Sie die Aufgabe ab, um fortzufahren.",
|
|
52
52
|
"redirecting": "Umleiten..."
|
|
53
|
+
},
|
|
54
|
+
"footer": {
|
|
55
|
+
"defaultText": "NETGRIF, s.r.o. © 2022"
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
58
|
"side-menu": {
|
|
@@ -98,6 +101,10 @@
|
|
|
98
101
|
"noUser": "LDAP-Gruppe nicht gefunden",
|
|
99
102
|
"err": "LDAP-Gruppe konnte nicht geladen werden"
|
|
100
103
|
},
|
|
104
|
+
"tooltip": {
|
|
105
|
+
"SelectAll": "Alle auswählen",
|
|
106
|
+
"DeselectAll": "Alle abwählen"
|
|
107
|
+
},
|
|
101
108
|
"option-selector": {
|
|
102
109
|
"select": "Auswählen",
|
|
103
110
|
"choose-one-option": "Wählen Sie eine Option aus"
|
|
@@ -267,6 +274,9 @@
|
|
|
267
274
|
},
|
|
268
275
|
"user": {
|
|
269
276
|
"selectUser": "Benutzer auswählen"
|
|
277
|
+
},
|
|
278
|
+
"textarea": {
|
|
279
|
+
"insertText": "Hier Text eingeben..."
|
|
270
280
|
}
|
|
271
281
|
},
|
|
272
282
|
"dialog": {
|
|
@@ -280,6 +290,7 @@
|
|
|
280
290
|
"login": {
|
|
281
291
|
"length": "Das Benützername muss mindestens 4 Zeichen enthalten",
|
|
282
292
|
"login": "Benützername",
|
|
293
|
+
"wrongCredentials": "Falsche Anmeldeinformationen!",
|
|
283
294
|
"loginButton": "Anmelden",
|
|
284
295
|
"reset": "Kennwort wiederherstellen",
|
|
285
296
|
"sign": "Registrieren",
|
|
@@ -416,6 +427,7 @@
|
|
|
416
427
|
},
|
|
417
428
|
"workflow": {
|
|
418
429
|
"delete": "löschen",
|
|
430
|
+
"download": "herunterladen",
|
|
419
431
|
"dialog": {
|
|
420
432
|
"header": "Sind Sie sicher, dass Sie den Prozess '{{name}}' mit Version '{{version}}' löschen wollen?",
|
|
421
433
|
"content": "Alle Fälle aus diesem Prozess werden gleichzeitig gelöscht!",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
"cancel": "Cancel",
|
|
51
51
|
"noData": "This task has no data. Finish to continue.",
|
|
52
52
|
"redirecting": "Redirecting..."
|
|
53
|
+
},
|
|
54
|
+
"footer": {
|
|
55
|
+
"defaultText": "NETGRIF, s.r.o. © 2022"
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
58
|
"side-menu": {
|
|
@@ -98,6 +101,10 @@
|
|
|
98
101
|
"noUser": "Not found Ldap group",
|
|
99
102
|
"err": "Failed to load Ldap group"
|
|
100
103
|
},
|
|
104
|
+
"tooltip": {
|
|
105
|
+
"SelectAll": "Select All",
|
|
106
|
+
"DeselectAll": "Deselect All"
|
|
107
|
+
},
|
|
101
108
|
"option-selector": {
|
|
102
109
|
"select": "Select",
|
|
103
110
|
"choose-one-option": "Choose one of the provided options"
|
|
@@ -267,6 +274,9 @@
|
|
|
267
274
|
},
|
|
268
275
|
"user": {
|
|
269
276
|
"selectUser": "Select user"
|
|
277
|
+
},
|
|
278
|
+
"textarea": {
|
|
279
|
+
"insertText": "Insert text here..."
|
|
270
280
|
}
|
|
271
281
|
},
|
|
272
282
|
"dialog": {
|
|
@@ -280,6 +290,7 @@
|
|
|
280
290
|
"login": {
|
|
281
291
|
"length": "The login name must have at least 4 letters",
|
|
282
292
|
"login": "Username",
|
|
293
|
+
"wrongCredentials": "Wrong credentials!",
|
|
283
294
|
"loginButton": "Log in",
|
|
284
295
|
"reset": "Reset password",
|
|
285
296
|
"sign": "Sign Up",
|
|
@@ -416,6 +427,7 @@
|
|
|
416
427
|
},
|
|
417
428
|
"workflow": {
|
|
418
429
|
"delete": "delete",
|
|
430
|
+
"download": "download",
|
|
419
431
|
"dialog": {
|
|
420
432
|
"header": "Are you sure you want to delete the process '{{name}}' with version '{{version}}'?",
|
|
421
433
|
"content": "Doing so will remove all cases created from this process!",
|
package/src/assets/i18n/sk.json
CHANGED
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
"cancel": "Zrušiť",
|
|
51
51
|
"noData": "Táto úloha nemá žiadne údaje. Stlačte dokončiť pre pokračovanie.",
|
|
52
52
|
"redirecting": "Presmerovanie..."
|
|
53
|
+
},
|
|
54
|
+
"footer": {
|
|
55
|
+
"defaultText": "NETGRIF, s.r.o. © 2022"
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
58
|
"side-menu": {
|
|
@@ -94,10 +97,14 @@
|
|
|
94
97
|
"showcase": "Nebol zvolený mód zobrazenia používateľa!"
|
|
95
98
|
},
|
|
96
99
|
"ldapGroup": {
|
|
97
|
-
"choose": "
|
|
100
|
+
"choose": "Vyhladajte Ldap skupinu",
|
|
98
101
|
"noUser": "Neexistuje žiadna Ldap skupina",
|
|
99
102
|
"err": "Nepodarilo sa načítať Ldap skupiny"
|
|
100
103
|
},
|
|
104
|
+
"tooltip": {
|
|
105
|
+
"SelectAll": "Označiť všetko",
|
|
106
|
+
"DeselectAll": "Odznačit všetko"
|
|
107
|
+
},
|
|
101
108
|
"option-selector": {
|
|
102
109
|
"select": "Zvoliť",
|
|
103
110
|
"choose-one-option": "Vyberte jednu z možností"
|
|
@@ -267,6 +274,9 @@
|
|
|
267
274
|
},
|
|
268
275
|
"user": {
|
|
269
276
|
"selectUser": "Vyberte používateľa"
|
|
277
|
+
},
|
|
278
|
+
"textarea": {
|
|
279
|
+
"insertText": "Sem zadajte text..."
|
|
270
280
|
}
|
|
271
281
|
},
|
|
272
282
|
"dialog": {
|
|
@@ -280,6 +290,7 @@
|
|
|
280
290
|
"login": {
|
|
281
291
|
"length": "Prihlasovacie meno musí mať aspoň 4 písmená",
|
|
282
292
|
"login": "Prihlasovacie meno",
|
|
293
|
+
"wrongCredentials": "Nesprávne prihlasovacie údaje!",
|
|
283
294
|
"loginButton": "Prihlásiť",
|
|
284
295
|
"reset": "Obnova hesla",
|
|
285
296
|
"sign": "Registrovať",
|
|
@@ -416,6 +427,7 @@
|
|
|
416
427
|
},
|
|
417
428
|
"workflow": {
|
|
418
429
|
"delete": "zmazať",
|
|
430
|
+
"download": "stiahnuť",
|
|
419
431
|
"dialog": {
|
|
420
432
|
"header": "Ste si istý, že chcete vymazať proces '{{name}}' verzia '{{version}}'?",
|
|
421
433
|
"content": "Spolu s procesom budú vymazané aj všetky prípady z neho vytvorené!",
|