Compare commits

..

2 Commits
v2.2.2 ... main

Author SHA1 Message Date
b43baccd62 v2.2.3
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2025-12-11 20:34:27 +00:00
035c6ab621 fix(contentinvoice): Use shared translation.TranslationKey type in DeContentInvoice.translateKey and remove local import 2025-12-11 20:34:27 +00:00
5 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-12-11 - 2.2.3 - fix(contentinvoice)
Use shared translation.TranslationKey type in DeContentInvoice.translateKey and remove local import
- Replaced local TranslationKey import with plugins.shared.translation.TranslationKey to ensure type consistency
- Updated DeContentInvoice.translateKey parameter type to reference the shared translation type
- Removed an unused type import from ts_web/elements/contentinvoice.ts
## 2025-12-11 - 2.2.0 - feat(viewer)
Add pagination metadata and thumbnail offset rendering for viewer thumbnails

View File

@@ -1,6 +1,6 @@
{
"name": "@design.estate/dees-document",
"version": "2.2.2",
"version": "2.2.3",
"private": false,
"description": "A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.",
"main": "dist_ts_web/index.js",

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-document',
version: '2.2.0',
version: '2.2.3',
description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
}

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-document',
version: '2.2.0',
version: '2.2.3',
description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
}

View File

@@ -15,7 +15,6 @@ import {
import * as plugins from "../plugins.js";
import { dedocumentSharedStyle } from "../style.js";
import type { TranslationKey } from "../../ts_shared/translation.js";
declare global {
interface HTMLElementTagNameMap {
@@ -303,7 +302,7 @@ export class DeContentInvoice extends DeesElement {
}
}
public translateKey(key: TranslationKey): string {
public translateKey(key: plugins.shared.translation.TranslationKey): string {
return plugins.shared.translation.translate(
this.documentSettings.languageCode,
key