@lambda-development/erp-core 1.3.0 → 1.3.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/dist/components/record-notes.d.ts +19 -0
- package/dist/i18n/locales/de.json.d.ts +16 -2
- package/dist/i18n/locales/en.json.d.ts +16 -2
- package/dist/i18n/locales/fr.json.d.ts +16 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3478 -3276
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface RecordNote {
|
|
2
|
+
id: string;
|
|
3
|
+
body: string;
|
|
4
|
+
author_name: string;
|
|
5
|
+
created_at: string;
|
|
6
|
+
updated_at: string;
|
|
7
|
+
edited: boolean;
|
|
8
|
+
can_edit: boolean;
|
|
9
|
+
can_delete: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** Header shortcut: "3 internal notes" — jumps to the card at the page end. */
|
|
12
|
+
export declare function RecordNotesLink({ recordType, recordId }: {
|
|
13
|
+
recordType: string;
|
|
14
|
+
recordId?: string;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
16
|
+
export declare function RecordNotes({ recordType, recordId }: {
|
|
17
|
+
recordType: string;
|
|
18
|
+
recordId: string;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -653,7 +653,8 @@ declare const _default: {
|
|
|
653
653
|
"To": "Bis",
|
|
654
654
|
"Purpose": "Zweck",
|
|
655
655
|
"Purchase Date": "Kaufdatum",
|
|
656
|
-
"Notes": "Notizen"
|
|
656
|
+
"Notes": "Notizen",
|
|
657
|
+
"Printed notes / terms": "Gedruckte Notizen / Konditionen"
|
|
657
658
|
},
|
|
658
659
|
"tables": {
|
|
659
660
|
"items": "Positionen",
|
|
@@ -868,7 +869,7 @@ declare const _default: {
|
|
|
868
869
|
},
|
|
869
870
|
"notesMarkup": {
|
|
870
871
|
"title": "Formatierungshilfe",
|
|
871
|
-
"intro": "Der Text unter Notizen / Konditionen unterstützt eine einfache Formatierung im PDF:",
|
|
872
|
+
"intro": "Der Text unter Gedruckte Notizen / Konditionen unterstützt eine einfache Formatierung im PDF:",
|
|
872
873
|
"heading": "fette Überschrift",
|
|
873
874
|
"emphasis": "kursiv / fett",
|
|
874
875
|
"rule": "horizontale Trennlinie",
|
|
@@ -1015,6 +1016,19 @@ declare const _default: {
|
|
|
1015
1016
|
"markRead": "Als gelesen markieren",
|
|
1016
1017
|
"previous": "Zurück",
|
|
1017
1018
|
"next": "Weiter"
|
|
1019
|
+
},
|
|
1020
|
+
"recordNotes": {
|
|
1021
|
+
"title": "Interne Notizen",
|
|
1022
|
+
"private": "Nur für Ihr Team · wird nie gedruckt",
|
|
1023
|
+
"add": "Notiz hinzufügen",
|
|
1024
|
+
"placeholder": "Interne Notiz schreiben … mit @ jemanden aus dem Team benachrichtigen",
|
|
1025
|
+
"save": "Notiz speichern",
|
|
1026
|
+
"empty": "Noch keine internen Notizen.",
|
|
1027
|
+
"edited": "bearbeitet",
|
|
1028
|
+
"older": "Ältere Notizen anzeigen",
|
|
1029
|
+
"printedBadge": "Erscheint auf dem PDF",
|
|
1030
|
+
"count_one": "{{count}} interne Notiz",
|
|
1031
|
+
"count_other": "{{count}} interne Notizen"
|
|
1018
1032
|
}
|
|
1019
1033
|
}
|
|
1020
1034
|
;
|
|
@@ -695,7 +695,8 @@ declare const _default: {
|
|
|
695
695
|
"To": "To",
|
|
696
696
|
"Purpose": "Purpose",
|
|
697
697
|
"Purchase Date": "Purchase Date",
|
|
698
|
-
"Notes": "Notes"
|
|
698
|
+
"Notes": "Notes",
|
|
699
|
+
"Printed notes / terms": "Printed notes / terms"
|
|
699
700
|
},
|
|
700
701
|
"tables": {
|
|
701
702
|
"accounts": "accounts",
|
|
@@ -868,7 +869,7 @@ declare const _default: {
|
|
|
868
869
|
},
|
|
869
870
|
"notesMarkup": {
|
|
870
871
|
"title": "Formatting help",
|
|
871
|
-
"intro": "The
|
|
872
|
+
"intro": "The printed notes / terms text supports light formatting on the PDF:",
|
|
872
873
|
"heading": "bold heading",
|
|
873
874
|
"emphasis": "italic / bold",
|
|
874
875
|
"rule": "horizontal divider line",
|
|
@@ -1015,6 +1016,19 @@ declare const _default: {
|
|
|
1015
1016
|
"markRead": "Mark read",
|
|
1016
1017
|
"previous": "Previous",
|
|
1017
1018
|
"next": "Next"
|
|
1019
|
+
},
|
|
1020
|
+
"recordNotes": {
|
|
1021
|
+
"title": "Internal notes",
|
|
1022
|
+
"private": "Private to your team · never printed",
|
|
1023
|
+
"add": "Add note",
|
|
1024
|
+
"placeholder": "Write an internal note… type @ to notify a colleague",
|
|
1025
|
+
"save": "Save note",
|
|
1026
|
+
"empty": "No internal notes yet.",
|
|
1027
|
+
"edited": "edited",
|
|
1028
|
+
"older": "Show older notes",
|
|
1029
|
+
"printedBadge": "Printed on the PDF",
|
|
1030
|
+
"count_one": "{{count}} internal note",
|
|
1031
|
+
"count_other": "{{count}} internal notes"
|
|
1018
1032
|
}
|
|
1019
1033
|
}
|
|
1020
1034
|
;
|
|
@@ -653,7 +653,8 @@ declare const _default: {
|
|
|
653
653
|
"To": "Au",
|
|
654
654
|
"Purpose": "Objet",
|
|
655
655
|
"Purchase Date": "Date d'achat",
|
|
656
|
-
"Notes": "Notes"
|
|
656
|
+
"Notes": "Notes",
|
|
657
|
+
"Printed notes / terms": "Notes / conditions imprimées"
|
|
657
658
|
},
|
|
658
659
|
"tables": {
|
|
659
660
|
"items": "Lignes",
|
|
@@ -868,7 +869,7 @@ declare const _default: {
|
|
|
868
869
|
},
|
|
869
870
|
"notesMarkup": {
|
|
870
871
|
"title": "Aide au formatage",
|
|
871
|
-
"intro": "Le texte des
|
|
872
|
+
"intro": "Le texte des notes / conditions imprimées prend en charge une mise en forme légère sur le PDF :",
|
|
872
873
|
"heading": "titre en gras",
|
|
873
874
|
"emphasis": "italique / gras",
|
|
874
875
|
"rule": "ligne de séparation horizontale",
|
|
@@ -1015,6 +1016,19 @@ declare const _default: {
|
|
|
1015
1016
|
"markRead": "Marquer comme lue",
|
|
1016
1017
|
"previous": "Précédent",
|
|
1017
1018
|
"next": "Suivant"
|
|
1019
|
+
},
|
|
1020
|
+
"recordNotes": {
|
|
1021
|
+
"title": "Notes internes",
|
|
1022
|
+
"private": "Réservées à votre équipe · jamais imprimées",
|
|
1023
|
+
"add": "Ajouter une note",
|
|
1024
|
+
"placeholder": "Écrire une note interne… tapez @ pour prévenir un collègue",
|
|
1025
|
+
"save": "Enregistrer la note",
|
|
1026
|
+
"empty": "Aucune note interne pour l’instant.",
|
|
1027
|
+
"edited": "modifiée",
|
|
1028
|
+
"older": "Afficher les notes plus anciennes",
|
|
1029
|
+
"printedBadge": "Imprimé sur le PDF",
|
|
1030
|
+
"count_one": "{{count}} note interne",
|
|
1031
|
+
"count_other": "{{count}} notes internes"
|
|
1018
1032
|
}
|
|
1019
1033
|
}
|
|
1020
1034
|
;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export type { BootstrapOptions } from './bootstrap';
|
|
|
18
18
|
export { AppShell } from './components/layout/app-shell';
|
|
19
19
|
export { MentionEditor, mentionAction } from './components/mentions';
|
|
20
20
|
export type { MentionUser } from './components/mentions';
|
|
21
|
+
export { RecordNotes, RecordNotesLink } from './components/record-notes';
|
|
22
|
+
export type { RecordNote } from './components/record-notes';
|
|
21
23
|
export { buildRoutes, registerRoute } from './routes';
|
|
22
24
|
export { registerDoctype, getDoctypeConfig, getAllDoctypeConfigs, } from './lib/doctypes';
|
|
23
25
|
export type { DoctypeConfig, FieldDef, ChildTableDef, ConversionDef, } from './lib/doctypes';
|