Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b43baccd62 | |||
| 035c6ab621 |
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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)
|
## 2025-12-11 - 2.2.0 - feat(viewer)
|
||||||
Add pagination metadata and thumbnail offset rendering for viewer thumbnails
|
Add pagination metadata and thumbnail offset rendering for viewer thumbnails
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@design.estate/dees-document",
|
"name": "@design.estate/dees-document",
|
||||||
"version": "2.2.2",
|
"version": "2.2.3",
|
||||||
"private": false,
|
"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.",
|
"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",
|
"main": "dist_ts_web/index.js",
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-document',
|
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.'
|
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 = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-document',
|
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.'
|
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 * as plugins from "../plugins.js";
|
||||||
|
|
||||||
import { dedocumentSharedStyle } from "../style.js";
|
import { dedocumentSharedStyle } from "../style.js";
|
||||||
import type { TranslationKey } from "../../ts_shared/translation.js";
|
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
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(
|
return plugins.shared.translation.translate(
|
||||||
this.documentSettings.languageCode,
|
this.documentSettings.languageCode,
|
||||||
key
|
key
|
||||||
|
|||||||
Reference in New Issue
Block a user