feat: refactor MailViewer component path
This commit is contained in:
@@ -3,85 +3,85 @@
|
|||||||
// This file is automatically generated. DO NOT EDIT
|
// This file is automatically generated. DO NOT EDIT
|
||||||
|
|
||||||
export function CheckIsDefaultEMLHandler() {
|
export function CheckIsDefaultEMLHandler() {
|
||||||
return ObfuscatedCall(0, []);
|
return window['go']['main']['App']['CheckIsDefaultEMLHandler']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetConfig() {
|
export function GetConfig() {
|
||||||
return ObfuscatedCall(1, []);
|
return window['go']['main']['App']['GetConfig']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetImageViewerData() {
|
export function GetImageViewerData() {
|
||||||
return ObfuscatedCall(2, []);
|
return window['go']['main']['App']['GetImageViewerData']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetMachineData() {
|
export function GetMachineData() {
|
||||||
return ObfuscatedCall(3, []);
|
return window['go']['main']['App']['GetMachineData']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetPDFViewerData() {
|
export function GetPDFViewerData() {
|
||||||
return ObfuscatedCall(4, []);
|
return window['go']['main']['App']['GetPDFViewerData']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetStartupFile() {
|
export function GetStartupFile() {
|
||||||
return ObfuscatedCall(5, []);
|
return window['go']['main']['App']['GetStartupFile']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetViewerData() {
|
export function GetViewerData() {
|
||||||
return ObfuscatedCall(6, []);
|
return window['go']['main']['App']['GetViewerData']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function IsDebuggerRunning() {
|
export function IsDebuggerRunning() {
|
||||||
return ObfuscatedCall(7, []);
|
return window['go']['main']['App']['IsDebuggerRunning']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenDefaultAppsSettings() {
|
export function OpenDefaultAppsSettings() {
|
||||||
return ObfuscatedCall(8, []);
|
return window['go']['main']['App']['OpenDefaultAppsSettings']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenEMLWindow(arg1, arg2) {
|
export function OpenEMLWindow(arg1, arg2) {
|
||||||
return ObfuscatedCall(9, [arg1, arg2]);
|
return window['go']['main']['App']['OpenEMLWindow'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenImage(arg1, arg2) {
|
export function OpenImage(arg1, arg2) {
|
||||||
return ObfuscatedCall(10, [arg1, arg2]);
|
return window['go']['main']['App']['OpenImage'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenImageWindow(arg1, arg2) {
|
export function OpenImageWindow(arg1, arg2) {
|
||||||
return ObfuscatedCall(11, [arg1, arg2]);
|
return window['go']['main']['App']['OpenImageWindow'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenPDF(arg1, arg2) {
|
export function OpenPDF(arg1, arg2) {
|
||||||
return ObfuscatedCall(12, [arg1, arg2]);
|
return window['go']['main']['App']['OpenPDF'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function OpenPDFWindow(arg1, arg2) {
|
export function OpenPDFWindow(arg1, arg2) {
|
||||||
return ObfuscatedCall(13, [arg1, arg2]);
|
return window['go']['main']['App']['OpenPDFWindow'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function QuitApp() {
|
export function QuitApp() {
|
||||||
return ObfuscatedCall(14, []);
|
return window['go']['main']['App']['QuitApp']();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ReadEML(arg1) {
|
export function ReadEML(arg1) {
|
||||||
return ObfuscatedCall(15, [arg1]);
|
return window['go']['main']['App']['ReadEML'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ReadMSG(arg1, arg2) {
|
export function ReadMSG(arg1, arg2) {
|
||||||
return ObfuscatedCall(16, [arg1, arg2]);
|
return window['go']['main']['App']['ReadMSG'](arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ReadMSGOSS(arg1) {
|
export function ReadMSGOSS(arg1) {
|
||||||
return ObfuscatedCall(17, [arg1]);
|
return window['go']['main']['App']['ReadMSGOSS'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ReadPEC(arg1) {
|
export function ReadPEC(arg1) {
|
||||||
return ObfuscatedCall(18, [arg1]);
|
return window['go']['main']['App']['ReadPEC'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function SaveConfig(arg1) {
|
export function SaveConfig(arg1) {
|
||||||
return ObfuscatedCall(19, [arg1]);
|
return window['go']['main']['App']['SaveConfig'](arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ShowOpenFileDialog() {
|
export function ShowOpenFileDialog() {
|
||||||
return ObfuscatedCall(20, []);
|
return window['go']['main']['App']['ShowOpenFileDialog']();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import MailViewer from "$lib/components/dashboard/MailViewer.svelte";
|
import MailViewer from "$lib/components/MailViewer.svelte";
|
||||||
import { mailState } from "$lib/stores/mail-state.svelte";
|
import { mailState } from "$lib/stores/mail-state.svelte";
|
||||||
|
|
||||||
let { data } = $props();
|
let { data } = $props();
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import { redirect } from '@sveltejs/kit';
|
|||||||
import type { PageLoad } from './$types';
|
import type { PageLoad } from './$types';
|
||||||
import { GetViewerData, GetStartupFile, ReadEML, ReadMSG } from '$lib/wailsjs/go/main/App';
|
import { GetViewerData, GetStartupFile, ReadEML, ReadMSG } from '$lib/wailsjs/go/main/App';
|
||||||
import DOMPurify from 'dompurify';
|
import DOMPurify from 'dompurify';
|
||||||
import { settingsStore } from '$lib/stores/settings.svelte';
|
|
||||||
import type { internal } from '$lib/wailsjs/go/models';
|
import type { internal } from '$lib/wailsjs/go/models';
|
||||||
|
|
||||||
export const load: PageLoad = async () => {
|
export const load: PageLoad = async () => {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import { Label } from "$lib/components/ui/label";
|
import { Label } from "$lib/components/ui/label";
|
||||||
import { Separator } from "$lib/components/ui/separator";
|
import { Separator } from "$lib/components/ui/separator";
|
||||||
import { Switch } from "$lib/components/ui/switch";
|
import { Switch } from "$lib/components/ui/switch";
|
||||||
import { ChevronLeft, Command, Option, Flame } from "@lucide/svelte";
|
import { ChevronLeft, Flame } from "@lucide/svelte";
|
||||||
import type { EMLy_GUI_Settings } from "$lib/types";
|
import type { EMLy_GUI_Settings } from "$lib/types";
|
||||||
import { toast } from "svelte-sonner";
|
import { toast } from "svelte-sonner";
|
||||||
import { It, Us } from "svelte-flags";
|
import { It, Us } from "svelte-flags";
|
||||||
|
|||||||
Reference in New Issue
Block a user