we-report-angular 0.10.0 → 0.11.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.
@@ -5,6 +5,7 @@ import { DesignerField } from './designer-fields';
5
5
  import { AlignEdge, DesignerState } from './designer-state';
6
6
  import { SimpleCondition } from './formatting-rule';
7
7
  import * as i0 from "@angular/core";
8
+ type EInvoicePart = 'invoice' | 'seller' | 'buyer' | 'line';
8
9
  /** Plain-language properties of the selection: a control, a band, or the report itself. */
9
10
  export declare class PropertyPanelComponent {
10
11
  readonly strings: import("@angular/core").InputSignal<WeReportLocale>;
@@ -66,6 +67,20 @@ export declare class PropertyPanelComponent {
66
67
  protected setReport<K extends 'name'>(key: K, value: string): void;
67
68
  /** Empty means "use the app's setting". */
68
69
  protected setCulture(key: 'locale' | 'currency', value: string): void;
70
+ protected readonly eInvoiceGroups: {
71
+ part: EInvoicePart;
72
+ title?: keyof WeReportLocale;
73
+ fields: {
74
+ key: string;
75
+ label: keyof WeReportLocale;
76
+ example: string;
77
+ }[];
78
+ }[];
79
+ protected eInvoiceValue(part: EInvoicePart, key: string): string;
80
+ /** An empty formula leaves the field out. */
81
+ protected setEInvoice(part: EInvoicePart, key: string, value: string): void;
82
+ /** A new mapping starts with the required fields empty, so the preview lists what is still missing. */
83
+ protected setEInvoiceOn(on: boolean): void;
69
84
  /** Empty text removes the watermark. */
70
85
  protected setWatermark(patch: Partial<Watermark>): void;
71
86
  protected setPaper(paper: string): void;
@@ -140,3 +155,4 @@ export declare class PropertyPanelComponent {
140
155
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyPanelComponent, never>;
141
156
  static ɵcmp: i0.ɵɵComponentDeclaration<PropertyPanelComponent, "we-report-property-panel", never, { "strings": { "alias": "strings"; "required": true; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "fontFamilies": { "alias": "fontFamilies"; "required": false; "isSignal": true; }; "advanced": { "alias": "advanced"; "required": false; "isSignal": true; }; "lists": { "alias": "lists"; "required": false; "isSignal": true; }; "listLabels": { "alias": "listLabels"; "required": false; "isSignal": true; }; "embedded": { "alias": "embedded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
142
157
  }
158
+ export {};
@@ -423,6 +423,33 @@ export interface WeReportLocale {
423
423
  functionHelp: Record<string, string>;
424
424
  watermarkHint: string;
425
425
  watermarkAngle: string;
426
+ eInvoice: string;
427
+ eInvoiceHint: string;
428
+ eInvoiceAdd: string;
429
+ eInvoiceRemove: string;
430
+ eInvoiceSeller: string;
431
+ eInvoiceBuyer: string;
432
+ eInvoiceLine: string;
433
+ eiNumber: string;
434
+ eiIssueDate: string;
435
+ eiDueDate: string;
436
+ eiNote: string;
437
+ eiBuyerReference: string;
438
+ eiIban: string;
439
+ eiBic: string;
440
+ eiName: string;
441
+ eiAddress: string;
442
+ eiPostcode: string;
443
+ eiCity: string;
444
+ eiCountry: string;
445
+ eiVatId: string;
446
+ eiItemCode: string;
447
+ eiItemName: string;
448
+ eiQuantity: string;
449
+ eiUnitPrice: string;
450
+ eiVatRate: string;
451
+ eiVatCategory: string;
452
+ eiUnitCode: string;
426
453
  conditionalHint: string;
427
454
  addRule: string;
428
455
  ruleWhen: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "we-report-angular",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Free, native Angular banded report designer and viewer — drag-and-drop design, paper sizes, data binding, barcodes, PDF export. No backend required.",
5
5
  "license": "MIT",
6
6
  "author": "Emre CIRIK",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.0",
35
- "we-report-core": "~0.10.0"
35
+ "we-report-core": "~0.11.0"
36
36
  },
37
37
  "sideEffects": false,
38
38
  "module": "fesm2022/we-report-angular.mjs",