@lambda-development/erp-core 1.2.1 → 1.2.3
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.
|
@@ -2,13 +2,14 @@ export interface MentionUser {
|
|
|
2
2
|
name: string;
|
|
3
3
|
full_name: string;
|
|
4
4
|
email: string;
|
|
5
|
+
mention_text?: string;
|
|
5
6
|
}
|
|
6
7
|
export type MentionAction = <T>(action: string, args: Record<string, unknown>) => Promise<T>;
|
|
7
8
|
export declare const mentionAction: <T>(action: string, args: unknown) => Promise<T>;
|
|
8
9
|
declare const searchColleagues: (query: string, signal: AbortSignal) => Promise<{
|
|
9
10
|
users: MentionUser[];
|
|
10
11
|
}>;
|
|
11
|
-
/**
|
|
12
|
+
/** Autocomplete inserts the visible token; the server resolves recipients from the note text. */
|
|
12
13
|
export declare function MentionEditor({ value, recipients, onChange, placeholder, className, disabled, searchUsers }: {
|
|
13
14
|
value: string;
|
|
14
15
|
recipients: MentionUser[];
|
|
@@ -995,7 +995,7 @@ declare const _default: {
|
|
|
995
995
|
"colleagues": "Kolleginnen und Kollegen",
|
|
996
996
|
"loading": "Laden…",
|
|
997
997
|
"noUsers": "Keine passenden Personen",
|
|
998
|
-
"hint": "
|
|
998
|
+
"hint": "Schreibe @Name oder wähle eine Person. Im Text erwähnte Personen werden beim Speichern benachrichtigt.",
|
|
999
999
|
"remove": "Erwähnung von {{name}} entfernen",
|
|
1000
1000
|
"close": "Schliessen",
|
|
1001
1001
|
"open": "Offen",
|
|
@@ -995,7 +995,7 @@ declare const _default: {
|
|
|
995
995
|
"colleagues": "Colleagues",
|
|
996
996
|
"loading": "Loading…",
|
|
997
997
|
"noUsers": "No matching colleagues",
|
|
998
|
-
"hint": "
|
|
998
|
+
"hint": "Write @Name or choose a colleague. People mentioned in the text are notified when you save.",
|
|
999
999
|
"remove": "Remove mention of {{name}}",
|
|
1000
1000
|
"close": "Close",
|
|
1001
1001
|
"open": "Open",
|
|
@@ -995,7 +995,7 @@ declare const _default: {
|
|
|
995
995
|
"colleagues": "Collègues",
|
|
996
996
|
"loading": "Chargement…",
|
|
997
997
|
"noUsers": "Aucun collègue correspondant",
|
|
998
|
-
"hint": "
|
|
998
|
+
"hint": "Écrivez @Nom ou choisissez une personne. Les personnes mentionnées dans le texte seront averties à l’enregistrement.",
|
|
999
999
|
"remove": "Retirer la mention de {{name}}",
|
|
1000
1000
|
"close": "Fermer",
|
|
1001
1001
|
"open": "À traiter",
|