feat: upgrade dependencies
This commit is contained in:
26
package.json
26
package.json
@@ -21,29 +21,29 @@
|
||||
"author": "Lossless GmbH",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@design.estate/dees-catalog": "^1.4.1",
|
||||
"@design.estate/dees-domtools": "^2.3.2",
|
||||
"@design.estate/dees-element": "^2.0.39",
|
||||
"@design.estate/dees-wcctools": "^1.0.90",
|
||||
"@design.estate/dees-catalog": "^1.10.10",
|
||||
"@design.estate/dees-domtools": "^2.3.3",
|
||||
"@design.estate/dees-element": "^2.1.2",
|
||||
"@design.estate/dees-wcctools": "^1.1.1",
|
||||
"@git.zone/tsrun": "^1.3.3",
|
||||
"@push.rocks/smartfile": "^11.2.0",
|
||||
"@push.rocks/smartfile": "^11.2.5",
|
||||
"@push.rocks/smartjson": "^5.0.20",
|
||||
"@push.rocks/smartpath": "^5.0.18",
|
||||
"@push.rocks/smartpdf": "^3.2.2",
|
||||
"@push.rocks/smarttime": "^4.1.1",
|
||||
"@tsclass/tsclass": "^8.0.3",
|
||||
"@types/node": "^22.13.13",
|
||||
"@tsclass/tsclass": "^9.2.0",
|
||||
"@types/node": "^24.1.0",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"puppeteer": "^24.4.0",
|
||||
"puppeteer": "^24.15.0",
|
||||
"qrcode": "^1.5.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^2.3.2",
|
||||
"@git.zone/tsbundle": "^2.2.5",
|
||||
"@git.zone/tstest": "^1.0.96",
|
||||
"@git.zone/tswatch": "^2.1.0",
|
||||
"@git.zone/tsbuild": "^2.6.4",
|
||||
"@git.zone/tsbundle": "^2.5.1",
|
||||
"@git.zone/tstest": "^2.3.2",
|
||||
"@git.zone/tswatch": "^2.1.2",
|
||||
"@push.rocks/projectinfo": "^5.0.2",
|
||||
"@push.rocks/tapbundle": "^5.6.0"
|
||||
"@push.rocks/tapbundle": "^6.0.3"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
4097
pnpm-lock.yaml
generated
4097
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -50,7 +50,10 @@ const toContact: plugins.tsclass.business.TContact = {
|
||||
};
|
||||
|
||||
export const demoLetter: plugins.tsclass.finance.TInvoice = {
|
||||
type: "invoice",
|
||||
type: "accounting-doc",
|
||||
accountingDocType: "invoice",
|
||||
accountingDocId: "LL-INV-48765",
|
||||
accountingDocStatus: "draft",
|
||||
id: "LL-INV-48765",
|
||||
versionInfo: {
|
||||
version: "1.0.0",
|
||||
@@ -59,7 +62,6 @@ export const demoLetter: plugins.tsclass.finance.TInvoice = {
|
||||
language: "de",
|
||||
date: Date.now(),
|
||||
incidenceId: "LL-INV-48765",
|
||||
invoiceId: "LL-INV-48765",
|
||||
subject: "LL-INV-48765",
|
||||
reverseCharge: true,
|
||||
dueInDays: 30,
|
||||
@@ -74,7 +76,6 @@ export const demoLetter: plugins.tsclass.finance.TInvoice = {
|
||||
printResult: null,
|
||||
currency: "EUR",
|
||||
notes: [],
|
||||
invoiceType: "debitnote",
|
||||
items: [
|
||||
{
|
||||
name: "Item with 19% VAT",
|
||||
|
@@ -26,7 +26,6 @@ import { DeContentInvoice } from "./contentinvoice.js";
|
||||
|
||||
import { demoFunc } from "./document.demo.js";
|
||||
import { dedocumentSharedStyle } from "../style.js";
|
||||
import type { TInvoice } from "@tsclass/tsclass/dist_ts/finance/invoice.js";
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
@@ -159,7 +158,8 @@ export class DeDocument extends DeesElement {
|
||||
// lets append the content
|
||||
const content: DeContentInvoice = new DeContentInvoice();
|
||||
cleanUpStoreCurrentRender.push(content);
|
||||
content.letterData = this.letterData as unknown as TInvoice;
|
||||
content.letterData = this
|
||||
.letterData as unknown as plugins.tsclass.finance.TInvoice;
|
||||
content.documentSettings = this.documentSettings;
|
||||
document.body.appendChild(content);
|
||||
|
||||
|
@@ -101,7 +101,7 @@ export class DeLetterHeader extends DeesElement {
|
||||
];
|
||||
|
||||
private renderDeliveryDate(from: Date, to: Date): TemplateResult {
|
||||
if (this.letterData.type !== "invoice") return null;
|
||||
if (this.letterData.accountingDocType !== "invoice") return null;
|
||||
const dateFormat = new Intl.DateTimeFormat(
|
||||
this.documentSettings.languageCode,
|
||||
{ dateStyle: this.documentSettings.dateStyle }
|
||||
@@ -174,7 +174,7 @@ export class DeLetterHeader extends DeesElement {
|
||||
${this.letterData.to.registrationDetails.vatId || "not provided"}
|
||||
|
||||
<!-- TODO: Make use of components -->
|
||||
${this.letterData.type === "invoice"
|
||||
${this.letterData.accountingDocType === "invoice"
|
||||
? html` <div class="label">
|
||||
${plugins.shared.translation.translate(
|
||||
this.documentSettings.languageCode,
|
||||
|
Reference in New Issue
Block a user