@lambda-development/erp-core 1.3.3 → 1.4.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.
@@ -17,7 +17,7 @@ export interface FieldDef {
17
17
  value: string;
18
18
  label: string;
19
19
  }>;
20
- optionsSource?: "currency";
20
+ optionsSource?: "currency" | "pdfTemplate";
21
21
  default?: any;
22
22
  hint?: string;
23
23
  }
@@ -25,6 +25,7 @@ export interface ChildTableDef {
25
25
  label: string;
26
26
  key: string;
27
27
  fields: FieldDef[];
28
+ lineDeductions?: boolean;
28
29
  }
29
30
  export interface ConversionDef {
30
31
  label: string;
@@ -0,0 +1 @@
1
+ export default function PdfTemplateEditor(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { PdfTemplateSummary } from '../../hooks/use-pdf-templates';
2
+ /** Link to a template's editor; the built-in one is per document type. */
3
+ export declare function templateHref(template: string, doctype: string): string;
4
+ export declare function canEditPdfTemplates(role: string | undefined): role is "admin" | "manager" | "public_manager";
5
+ /** The shared demo account edits layouts but can't upload or remove files. */
6
+ export declare function canManagePdfAssets(role: string | undefined): role is "admin" | "manager";
7
+ export declare function TemplateBadges({ template }: {
8
+ template: PdfTemplateSummary;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export default function PdfTemplatesPage(): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambda-development/erp-core",
3
- "version": "1.3.3",
3
+ "version": "1.4.1",
4
4
  "description": "Frontend core of Lambda ERP \u2014 app shell, document/master pages, chat UI, reports, and extension registries.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {