@lambda-development/erp-core 1.3.0 → 1.3.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.
@@ -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;
@@ -353,7 +353,8 @@ declare const _default: {
353
353
  "Chart of Accounts": "Kontenplan",
354
354
  "Fleet Calendar": "Flottenkalender",
355
355
  "Fleet (Assets)": "Flotte (Geräte)",
356
- "Reservations": "Reservationen"
356
+ "Reservations": "Reservationen",
357
+ "Menu": "Menü"
357
358
  }
358
359
  },
359
360
  "login": {
@@ -653,7 +654,8 @@ declare const _default: {
653
654
  "To": "Bis",
654
655
  "Purpose": "Zweck",
655
656
  "Purchase Date": "Kaufdatum",
656
- "Notes": "Notizen"
657
+ "Notes": "Notizen",
658
+ "Printed notes / terms": "Gedruckte Notizen / Konditionen"
657
659
  },
658
660
  "tables": {
659
661
  "items": "Positionen",
@@ -868,7 +870,7 @@ declare const _default: {
868
870
  },
869
871
  "notesMarkup": {
870
872
  "title": "Formatierungshilfe",
871
- "intro": "Der Text unter Notizen / Konditionen unterstützt eine einfache Formatierung im PDF:",
873
+ "intro": "Der Text unter Gedruckte Notizen / Konditionen unterstützt eine einfache Formatierung im PDF:",
872
874
  "heading": "fette Überschrift",
873
875
  "emphasis": "kursiv / fett",
874
876
  "rule": "horizontale Trennlinie",
@@ -1015,6 +1017,30 @@ declare const _default: {
1015
1017
  "markRead": "Als gelesen markieren",
1016
1018
  "previous": "Zurück",
1017
1019
  "next": "Weiter"
1020
+ },
1021
+ "recordNotes": {
1022
+ "title": "Interne Notizen",
1023
+ "private": "Nur für Ihr Team · wird nie gedruckt",
1024
+ "add": "Notiz hinzufügen",
1025
+ "placeholder": "Interne Notiz schreiben … mit @ jemanden aus dem Team benachrichtigen",
1026
+ "save": "Notiz speichern",
1027
+ "empty": "Noch keine internen Notizen.",
1028
+ "edited": "bearbeitet",
1029
+ "older": "Ältere Notizen anzeigen",
1030
+ "printedBadge": "Erscheint auf dem PDF",
1031
+ "count_one": "{{count}} interne Notiz",
1032
+ "count_other": "{{count}} interne Notizen"
1033
+ },
1034
+ "menuLayout": {
1035
+ "title": "Ihr Menü",
1036
+ "intro": "Blenden Sie Bereiche aus, die Sie nicht brauchen, und stellen Sie die wichtigsten nach oben. Das ändert nur Ihr eigenes Menü: andere behalten ihres, und ausgeblendete Seiten bleiben per Link erreichbar.",
1037
+ "chatHint": "Das geht auch im Chat, z. B. „Blende die Vermietung aus“ oder „Schiebe CRM nach oben“.",
1038
+ "reset": "Auf Standard zurücksetzen",
1039
+ "hide": "{{name}} ausblenden",
1040
+ "show": "{{name}} einblenden",
1041
+ "moveUp": "{{name}} nach oben",
1042
+ "moveDown": "{{name}} nach unten",
1043
+ "locked": "Immer sichtbar: Hier wird das Menü bearbeitet"
1018
1044
  }
1019
1045
  }
1020
1046
  ;
@@ -353,7 +353,8 @@ declare const _default: {
353
353
  "Chart of Accounts": "Chart of Accounts",
354
354
  "Fleet Calendar": "Fleet Calendar",
355
355
  "Fleet (Assets)": "Fleet (Assets)",
356
- "Reservations": "Reservations"
356
+ "Reservations": "Reservations",
357
+ "Menu": "Menu"
357
358
  }
358
359
  },
359
360
  "login": {
@@ -695,7 +696,8 @@ declare const _default: {
695
696
  "To": "To",
696
697
  "Purpose": "Purpose",
697
698
  "Purchase Date": "Purchase Date",
698
- "Notes": "Notes"
699
+ "Notes": "Notes",
700
+ "Printed notes / terms": "Printed notes / terms"
699
701
  },
700
702
  "tables": {
701
703
  "accounts": "accounts",
@@ -868,7 +870,7 @@ declare const _default: {
868
870
  },
869
871
  "notesMarkup": {
870
872
  "title": "Formatting help",
871
- "intro": "The Notes / Terms text supports light formatting on the PDF:",
873
+ "intro": "The printed notes / terms text supports light formatting on the PDF:",
872
874
  "heading": "bold heading",
873
875
  "emphasis": "italic / bold",
874
876
  "rule": "horizontal divider line",
@@ -1015,6 +1017,30 @@ declare const _default: {
1015
1017
  "markRead": "Mark read",
1016
1018
  "previous": "Previous",
1017
1019
  "next": "Next"
1020
+ },
1021
+ "recordNotes": {
1022
+ "title": "Internal notes",
1023
+ "private": "Private to your team · never printed",
1024
+ "add": "Add note",
1025
+ "placeholder": "Write an internal note… type @ to notify a colleague",
1026
+ "save": "Save note",
1027
+ "empty": "No internal notes yet.",
1028
+ "edited": "edited",
1029
+ "older": "Show older notes",
1030
+ "printedBadge": "Printed on the PDF",
1031
+ "count_one": "{{count}} internal note",
1032
+ "count_other": "{{count}} internal notes"
1033
+ },
1034
+ "menuLayout": {
1035
+ "title": "Your menu",
1036
+ "intro": "Hide the parts of the menu you don't use and put the ones you need first. This only changes your own menu: other people keep theirs, and hidden pages stay reachable by link.",
1037
+ "chatHint": "You can also ask the chat, e.g. \"hide the rentals section\" or \"move CRM to the top\".",
1038
+ "reset": "Reset to default",
1039
+ "hide": "Hide {{name}}",
1040
+ "show": "Show {{name}}",
1041
+ "moveUp": "Move {{name}} up",
1042
+ "moveDown": "Move {{name}} down",
1043
+ "locked": "Always shown: this page edits the menu"
1018
1044
  }
1019
1045
  }
1020
1046
  ;
@@ -353,7 +353,8 @@ declare const _default: {
353
353
  "Chart of Accounts": "Plan comptable",
354
354
  "Fleet Calendar": "Calendrier de flotte",
355
355
  "Fleet (Assets)": "Flotte (matériel)",
356
- "Reservations": "Réservations"
356
+ "Reservations": "Réservations",
357
+ "Menu": "Menu"
357
358
  }
358
359
  },
359
360
  "login": {
@@ -653,7 +654,8 @@ declare const _default: {
653
654
  "To": "Au",
654
655
  "Purpose": "Objet",
655
656
  "Purchase Date": "Date d'achat",
656
- "Notes": "Notes"
657
+ "Notes": "Notes",
658
+ "Printed notes / terms": "Notes / conditions imprimées"
657
659
  },
658
660
  "tables": {
659
661
  "items": "Lignes",
@@ -868,7 +870,7 @@ declare const _default: {
868
870
  },
869
871
  "notesMarkup": {
870
872
  "title": "Aide au formatage",
871
- "intro": "Le texte des Notes / Conditions prend en charge une mise en forme légère sur le PDF :",
873
+ "intro": "Le texte des notes / conditions imprimées prend en charge une mise en forme légère sur le PDF :",
872
874
  "heading": "titre en gras",
873
875
  "emphasis": "italique / gras",
874
876
  "rule": "ligne de séparation horizontale",
@@ -1015,6 +1017,30 @@ declare const _default: {
1015
1017
  "markRead": "Marquer comme lue",
1016
1018
  "previous": "Précédent",
1017
1019
  "next": "Suivant"
1020
+ },
1021
+ "recordNotes": {
1022
+ "title": "Notes internes",
1023
+ "private": "Réservées à votre équipe · jamais imprimées",
1024
+ "add": "Ajouter une note",
1025
+ "placeholder": "Écrire une note interne… tapez @ pour prévenir un collègue",
1026
+ "save": "Enregistrer la note",
1027
+ "empty": "Aucune note interne pour l’instant.",
1028
+ "edited": "modifiée",
1029
+ "older": "Afficher les notes plus anciennes",
1030
+ "printedBadge": "Imprimé sur le PDF",
1031
+ "count_one": "{{count}} note interne",
1032
+ "count_other": "{{count}} notes internes"
1033
+ },
1034
+ "menuLayout": {
1035
+ "title": "Votre menu",
1036
+ "intro": "Masquez les parties du menu dont vous ne vous servez pas et placez en haut celles dont vous avez besoin. Seul votre menu change : les autres gardent le leur, et les pages masquées restent accessibles par lien.",
1037
+ "chatHint": "Vous pouvez aussi le demander au chat, p. ex. « masque les Locations » ou « mets le CRM en haut ».",
1038
+ "reset": "Rétablir par défaut",
1039
+ "hide": "Masquer {{name}}",
1040
+ "show": "Afficher {{name}}",
1041
+ "moveUp": "Monter {{name}}",
1042
+ "moveDown": "Descendre {{name}}",
1043
+ "locked": "Toujours affiché : cette page modifie le menu"
1018
1044
  }
1019
1045
  }
1020
1046
  ;
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';