diff options
| author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-10-27 04:29:50 -0400 |
|---|---|---|
| committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-10-27 04:29:50 -0400 |
| commit | cfc160d7a777b5504b92ac14ac16052979418ce7 (patch) | |
| tree | 0d94085acb9ee951400efb1fb395805151d6552b /src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | |
| parent | a2802df5096cfea2d77371ed9025ce26c8eda222 (diff) | |
work on template refactor
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx')
| -rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx index f9bf22047..57565906b 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/Template.tsx @@ -6,23 +6,15 @@ import { TemplateDocInfos } from "./TemplateBackend"; export class Template { + mainField: Field; width: number = 0; height: number = 0; fields: Field[] = []; - mainDoc: Doc; constructor(templateInfo: TemplateDocInfos) { this.width = templateInfo.width; this.height = templateInfo.height; this.fields = templateInfo.fields.map(settings => new Field(settings, this)); - this.mainDoc = this.setupMainDoc(); - } - - setupMainDoc = (): Doc => { - Docs.Create.FreeformDocument(, ){ - - } - return new Doc; } get childFields(): Field[] { |
