@yuuvis/app-inbox 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/lib/actions/start-process/start-adhoc/start-adhoc.component.d.ts +40 -0
- package/extensions/lib/actions/start-process/start-form/start-form.component.d.ts +23 -0
- package/extensions/lib/actions/start-process/start-process.component.d.ts +11 -20
- package/extensions/lib/assets/i18n/de.json +17 -4
- package/extensions/lib/assets/i18n/en.json +14 -1
- package/fesm2022/yuuvis-app-inbox-extensions.mjs +341 -56
- package/fesm2022/yuuvis-app-inbox-extensions.mjs.map +1 -1
- package/fesm2022/yuuvis-app-inbox-shared.mjs +18 -1
- package/fesm2022/yuuvis-app-inbox-shared.mjs.map +1 -1
- package/fesm2022/yuuvis-app-inbox.mjs +7 -8
- package/fesm2022/yuuvis-app-inbox.mjs.map +1 -1
- package/lib/assets/i18n/de.json +1 -1
- package/lib/assets/i18n/en.json +1 -1
- package/package.json +1 -1
- package/shared/inbox.schema.d.ts +14 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { ActionContext } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { SequenceItem } from '@yuuvis/client-framework/sequence-list';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface AppTaskUserSettings {
|
|
7
|
+
templates: AdhocWorkflowDataItem[];
|
|
8
|
+
}
|
|
9
|
+
interface AdhocWorkflowDataItem {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
notifyInitiator?: boolean;
|
|
13
|
+
tasklist: SequenceItem[];
|
|
14
|
+
}
|
|
15
|
+
export declare class StartAdhocComponent {
|
|
16
|
+
#private;
|
|
17
|
+
private translate;
|
|
18
|
+
NEW_TEMPLATE_ID: string;
|
|
19
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
+
nameNotUnique: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
error: import("@angular/core").WritableSignal<string | undefined>;
|
|
22
|
+
actionContext: import("@angular/core").InputSignal<ActionContext | undefined>;
|
|
23
|
+
items: import("@angular/core").InputSignal<DmsObject[]>;
|
|
24
|
+
finished: import("@angular/core").OutputEmitterRef<void>;
|
|
25
|
+
form: FormGroup;
|
|
26
|
+
storedData: AppTaskUserSettings;
|
|
27
|
+
templateOptions: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: unknown;
|
|
30
|
+
}[];
|
|
31
|
+
selectedTemplate: import("@angular/core").WritableSignal<AdhocWorkflowDataItem | undefined>;
|
|
32
|
+
pendingTaskID: string;
|
|
33
|
+
constructor();
|
|
34
|
+
startAdhocFlow(): void;
|
|
35
|
+
saveTemplate(): void;
|
|
36
|
+
deleteTemplate(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartAdhocComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartAdhocComponent, "ymi-start-adhoc", never, { "actionContext": { "alias": "actionContext"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "finished": "finished"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormStatusChangedEvent, ObjectFormComponent, ObjectFormOptions } from "@yuuvis/client-framework/object-form";
|
|
2
|
+
import { DmsObject, SystemService, TranslateService } from '@yuuvis/client-core';
|
|
3
|
+
import { ProcessDefinition } from '../start-process.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class StartFormComponent {
|
|
6
|
+
#private;
|
|
7
|
+
readonly translate: TranslateService;
|
|
8
|
+
readonly system: SystemService;
|
|
9
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
selectedProcess: import("@angular/core").InputSignal<ProcessDefinition | null | undefined>;
|
|
11
|
+
object: import("@angular/core").InputSignal<DmsObject | null | undefined>;
|
|
12
|
+
startFormOptions: import("@angular/core").WritableSignal<ObjectFormOptions | undefined>;
|
|
13
|
+
disableControls: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
startForm: import("@angular/core").Signal<ObjectFormComponent | undefined>;
|
|
15
|
+
finished: import("@angular/core").OutputEmitterRef<void>;
|
|
16
|
+
onReset: import("@angular/core").OutputEmitterRef<void>;
|
|
17
|
+
selectedProcessEffect: import("@angular/core").EffectRef;
|
|
18
|
+
onFormStatusChanged(evt: FormStatusChangedEvent): void;
|
|
19
|
+
startProcess(): void;
|
|
20
|
+
resetSelectedProcess(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartFormComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartFormComponent, "ymi-start-form", never, { "selectedProcess": { "alias": "selectedProcess"; "required": false; "isSignal": true; }; "object": { "alias": "object"; "required": false; "isSignal": true; }; }, { "finished": "finished"; "onReset": "onReset"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DmsObject, SystemService
|
|
3
|
-
import {
|
|
2
|
+
import { DmsObject, SystemService } from '@yuuvis/client-core';
|
|
3
|
+
import { ActionContext } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { StartFormComponent } from './start-form/start-form.component';
|
|
5
|
+
import { StartAdhocComponent } from './start-adhoc/start-adhoc.component';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class StartProcessComponent implements OnInit {
|
|
6
8
|
#private;
|
|
7
|
-
readonly translate: TranslateService;
|
|
8
9
|
readonly system: SystemService;
|
|
9
|
-
startForm: import("@angular/core").Signal<ObjectFormComponent | undefined>;
|
|
10
10
|
processDefinitions: import("@angular/core").WritableSignal<ProcessDefinition[]>;
|
|
11
11
|
selectedProcess: import("@angular/core").WritableSignal<ProcessDefinition | null>;
|
|
12
|
-
startFormOptions: import("@angular/core").WritableSignal<ObjectFormOptions | null>;
|
|
13
|
-
disableControls: import("@angular/core").WritableSignal<boolean>;
|
|
14
12
|
object: import("@angular/core").InputSignal<DmsObject | null>;
|
|
13
|
+
context: import("@angular/core").WritableSignal<ActionContext>;
|
|
15
14
|
busy: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
startForm: import("@angular/core").Signal<StartFormComponent | undefined>;
|
|
16
|
+
startAdhoc: import("@angular/core").Signal<StartAdhocComponent | undefined>;
|
|
17
|
+
startComponent: 'adhoc' | 'form' | undefined;
|
|
16
18
|
itemSelected(idx: number[]): void;
|
|
17
|
-
|
|
19
|
+
start(): void;
|
|
18
20
|
resetSelectedProcess(): void;
|
|
19
|
-
|
|
20
|
-
close(): void;
|
|
21
|
+
cancel(): void;
|
|
22
|
+
close(res?: any): void;
|
|
21
23
|
ngOnInit(): void;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessComponent, never>;
|
|
23
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessComponent, "ymi-start-process", never, { "object": { "alias": "object"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -33,14 +35,3 @@ export interface ProcessDefinition {
|
|
|
33
35
|
suspended: false;
|
|
34
36
|
version: number;
|
|
35
37
|
}
|
|
36
|
-
export interface LoggedInUser {
|
|
37
|
-
username: string;
|
|
38
|
-
id: string;
|
|
39
|
-
email: string;
|
|
40
|
-
firstname: string;
|
|
41
|
-
lastname: string;
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
tenant: string;
|
|
44
|
-
authorities: string[];
|
|
45
|
-
displayName: string;
|
|
46
|
-
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"io.yuuvis.app.inbox.action.start-process.label": "Prozess starten",
|
|
3
|
-
"io.yuuvis.app.inbox.action.start-process.description": "Startet einen Prozess",
|
|
3
|
+
"io.yuuvis.app.inbox.action.start-process.description": "Startet einen Prozess.",
|
|
4
4
|
"io.yuuvis.app.inbox.actions.startProcess.button.start": "Starten",
|
|
5
5
|
"io.yuuvis.app.inbox.actions.startProcess.button.cancel": "Abbrechen",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"io.yuuvis.app.inbox.actions.startProcess.success": "Prozess \"{{processName}}\" wurde gestartet.",
|
|
7
|
+
"io.yuuvis.app.inbox.actions.startProcess.error": "Der Prozess \"{{processName}}\" konnte nicht gestartet werden.",
|
|
8
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.description": "",
|
|
9
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.error.message": "Aufgabenliste konnte nicht gestartet werden.",
|
|
10
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.form.notifyInitiator": "Benachrichtigen, wenn erledigt",
|
|
11
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.form.title": "Betreff",
|
|
12
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.label": "Aufgabenliste erstellen",
|
|
13
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.description": "Erstellen Sie eine Liste von Aufgaben und Empfängern.",
|
|
14
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.tasklist.message": "Wählen Sie die Empfänger und Aufgaben aus.",
|
|
15
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.existing.delete": "Vorlage löschen",
|
|
16
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.existing.save": "Vorlage speichern",
|
|
17
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.new.save": "Als neue Vorlage speichern",
|
|
18
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.new.save.not-unique.tooltip": "Eine Vorlage mit diesem Namen existiert bereits.",
|
|
19
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.title": "Aufgabenliste erstellen",
|
|
20
|
+
"io.yuuvis.app.inbox.templates.none": "Ohne Vorlage"
|
|
21
|
+
}
|
|
@@ -4,5 +4,18 @@
|
|
|
4
4
|
"io.yuuvis.app.inbox.actions.startProcess.button.start": "Start",
|
|
5
5
|
"io.yuuvis.app.inbox.actions.startProcess.button.cancel": "Cancel",
|
|
6
6
|
"io.yuuvis.app.inbox.actions.startProcess.success": "Process \"{{processName}}\" has been started.",
|
|
7
|
-
"io.yuuvis.app.inbox.actions.startProcess.error": "Process \"{{processName}}\" could not be started."
|
|
7
|
+
"io.yuuvis.app.inbox.actions.startProcess.error": "Process \"{{processName}}\" could not be started.",
|
|
8
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.description": "",
|
|
9
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.error.message": "Unable to start task list.",
|
|
10
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.form.notifyInitiator": "Notify when done",
|
|
11
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.form.title": "Subject",
|
|
12
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.label": "Create task list",
|
|
13
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.description": "Create a list of tasks and recipients.",
|
|
14
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.tasklist.message": "Select the recipients and tasks.",
|
|
15
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.existing.delete": "Delete template",
|
|
16
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.existing.save": "Save template",
|
|
17
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.new.save": "Add as new template",
|
|
18
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.template.option.new.save.not-unique.tooltip": "A template with this name already exists",
|
|
19
|
+
"io.yuuvis.app.inbox.actions.startProcess.adhoc.overlay.title": "Create task list",
|
|
20
|
+
"io.yuuvis.app.inbox.templates.none": "Without template"
|
|
8
21
|
}
|