feat: migrate to new tsclass schema
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import * as plugins from '../plugins.js';
|
||||
import { html } from '@design.estate/dees-element';
|
||||
import * as plugins from "../plugins.js";
|
||||
import { html } from "@design.estate/dees-element";
|
||||
|
||||
export const page1 = () => html`
|
||||
<style>
|
||||
@ -7,11 +7,15 @@ export const page1 = () => html`
|
||||
margin: 16px;
|
||||
}
|
||||
</style>
|
||||
<dedocument-dedocument .printMode=${false} letterData=${plugins.smartjson.stringifyBase64({
|
||||
<dedocument-dedocument
|
||||
.printMode=${false}
|
||||
letterData=${plugins.smartjson.stringifyBase64({
|
||||
...plugins.shared.demoLetter,
|
||||
from: {
|
||||
...plugins.shared.demoLetter.from,
|
||||
description: 'a string set via stringified JSON'
|
||||
}
|
||||
} as plugins.tsclass.business.ILetter)}> </dedocument-dedocument>
|
||||
description: "a string set via stringified JSON",
|
||||
},
|
||||
} as plugins.tsclass.finance.TInvoice)}
|
||||
>
|
||||
</dedocument-dedocument>
|
||||
`;
|
||||
|
Reference in New Issue
Block a user