|
|
@ -1,29 +1,18 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { goto } from "@roxi/routify" |
|
|
import { goto } from "@roxi/routify" |
|
|
import { |
|
|
import { |
|
|
Menu, |
|
|
|
|
|
MenuItem, |
|
|
|
|
|
Button, |
|
|
Button, |
|
|
Heading, |
|
|
Heading, |
|
|
Divider, |
|
|
Divider, |
|
|
Label, |
|
|
Label, |
|
|
Modal, |
|
|
|
|
|
ModalContent, |
|
|
|
|
|
notifications, |
|
|
notifications, |
|
|
Layout, |
|
|
Layout, |
|
|
Input, |
|
|
Input, |
|
|
TextArea, |
|
|
|
|
|
Body, |
|
|
Body, |
|
|
Page, |
|
|
|
|
|
Select, |
|
|
|
|
|
MenuSection, |
|
|
|
|
|
MenuSeparator, |
|
|
|
|
|
Table, |
|
|
Table, |
|
|
} from "@budibase/bbui" |
|
|
} from "@budibase/bbui" |
|
|
import { onMount } from "svelte" |
|
|
import { onMount } from "svelte" |
|
|
import { email } from "stores/portal" |
|
|
import { email } from "stores/portal" |
|
|
import Editor from "components/integration/QueryEditor.svelte" |
|
|
|
|
|
import TemplateBindings from "./_components/TemplateBindings.svelte" |
|
|
|
|
|
import TemplateLink from "./_components/TemplateLink.svelte" |
|
|
import TemplateLink from "./_components/TemplateLink.svelte" |
|
|
import api from "builderStore/api" |
|
|
import api from "builderStore/api" |
|
|
|
|
|
|
|
|
@ -158,6 +147,7 @@ |
|
|
data={$email.templates} |
|
|
data={$email.templates} |
|
|
schema={templateSchema} |
|
|
schema={templateSchema} |
|
|
{loading} |
|
|
{loading} |
|
|
|
|
|
on:click={({ detail }) => $goto(`./${detail.purpose}`)} |
|
|
allowEditRows={false} |
|
|
allowEditRows={false} |
|
|
allowSelectRows={false} |
|
|
allowSelectRows={false} |
|
|
allowEditColumns={false} |
|
|
allowEditColumns={false} |
|
|
|