Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b43baccd62 | |||
| 035c6ab621 |
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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.'
|
||||
}
|
||||
|
||||
@@ -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.'
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user