@omniviewdev/runtime 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +16 -14
- package/dist/api.js +111 -125
- package/dist/bindings/encoding/json/index.d.ts +1 -0
- package/dist/bindings/encoding/json/models.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +51 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +99 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +53 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +14 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
- package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +79 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +133 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +96 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1199 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
- package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
- package/dist/bindings/time/index.d.ts +1 -0
- package/dist/bindings/time/models.d.ts +33 -0
- package/dist/calls-BmUnjINC.js +677 -0
- package/dist/calls-DZctVyoQ.cjs +1 -0
- package/dist/compat/legacyEnum.d.ts +10 -0
- package/dist/compat/resource.d.ts +4 -0
- package/dist/compat/types.d.ts +4 -0
- package/dist/context/plugins/PluginContext.d.ts +2 -2
- package/dist/events-BTiuwc-0.cjs +1 -0
- package/dist/events-DDTGFACO.js +371 -0
- package/dist/graphservice-CRRwkBcy.cjs +1 -0
- package/dist/graphservice-CXr8ZCEY.js +726 -0
- package/dist/hooks/connection/useConnection.d.ts +5 -5
- package/dist/hooks/connection/useConnectionStatus.d.ts +7 -0
- package/dist/hooks/connection/useConnections.d.ts +4 -4
- package/dist/hooks/exec/useExecSession.d.ts +2 -2
- package/dist/hooks/logs/useLogSession.d.ts +1 -2
- package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
- package/dist/hooks/metric/useMetricStream.d.ts +2 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
- package/dist/hooks/networker/types.d.ts +3 -3
- package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
- package/dist/hooks/resource/index.d.ts +2 -0
- package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
- package/dist/hooks/resource/useRelatedResources.d.ts +82 -0
- package/dist/hooks/resource/useResource.d.ts +3 -4
- package/dist/hooks/resource/useResourceActions.d.ts +2 -3
- package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
- package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
- package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
- package/dist/hooks/resource/useResourceType.d.ts +1 -1
- package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
- package/dist/hooks/resource/useResources.d.ts +3 -4
- package/dist/index-D2mKAO8s.js +1069 -0
- package/dist/index-D_aIcqH0.cjs +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1281 -1599
- package/dist/legacyEnum-DORXlU_y.js +13 -0
- package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
- package/dist/models-BoBl5Kgj.js +159 -0
- package/dist/models-BvR5jdms.js +2358 -0
- package/dist/models-CHycLCM0.cjs +1 -0
- package/dist/models-DOdc96z9.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +28 -1
- package/dist/models.js +263 -2244
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +198 -205
- package/dist/types/watch.d.ts +4 -5
- package/package.json +17 -13
- package/LICENSE +0 -661
- package/dist/Client-07zrOerN.js +0 -636
- package/dist/Client-CLvQWnuz.cjs +0 -1
- package/dist/wailsjs/go/data/Client.d.ts +0 -10
- package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
- package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
- package/dist/wailsjs/go/exec/Client.d.ts +0 -26
- package/dist/wailsjs/go/logs/Client.d.ts +0 -16
- package/dist/wailsjs/go/main/App.d.ts +0 -8
- package/dist/wailsjs/go/metric/Client.d.ts +0 -12
- package/dist/wailsjs/go/models.d.ts +0 -1060
- package/dist/wailsjs/go/networker/Client.d.ts +0 -14
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -52
- package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
- package/dist/wailsjs/go/resource/Client.d.ts +0 -90
- package/dist/wailsjs/go/settings/Client.d.ts +0 -14
- package/dist/wailsjs/go/settings/provider.d.ts +0 -48
- package/dist/wailsjs/go/ui/Client.d.ts +0 -6
- package/dist/wailsjs/go/utils/Client.d.ts +0 -2
- package/dist/wailsjs/runtime/runtime.d.ts +0 -249
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Wails v2 bindings named enum members after the string labels declared in
|
|
3
|
+
* the Go `All<Enum>s` tables (`SYNCED`, `BAD_REQUEST`), while the v3 bindings
|
|
4
|
+
* use the Go constant identifiers (`WatchStateSynced`,
|
|
5
|
+
* `ConnectionStatusBadRequest`). The underlying values are unchanged.
|
|
6
|
+
*
|
|
7
|
+
* Plugins are compiled against the published runtime and still reference the
|
|
8
|
+
* old names, so the host hands them enums carrying both spellings.
|
|
9
|
+
*/
|
|
10
|
+
export declare function withLegacyNames<T extends Record<string, string | number>>(generated: T, prefix: string): T;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { WatchState as Generated } from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models';
|
|
2
|
+
export * from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models';
|
|
3
|
+
export declare const WatchState: typeof Generated;
|
|
4
|
+
export type WatchState = Generated;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConnectionStatusCode as Generated } from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
2
|
+
export * from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
3
|
+
export declare const ConnectionStatusCode: typeof Generated;
|
|
4
|
+
export type ConnectionStatusCode = Generated;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { PluginMeta } from '../../bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
3
3
|
export interface PluginContextType {
|
|
4
4
|
/** The runtime instance ID for this plugin (e.g. "kubernetes-dev" or "kubernetes"). */
|
|
5
5
|
pluginId: string;
|
|
6
|
-
meta:
|
|
6
|
+
meta: PluginMeta;
|
|
7
7
|
settings: Record<string, any>;
|
|
8
8
|
}
|
|
9
9
|
export declare const PluginContext: React.Context<PluginContextType | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./index-D_aIcqH0.cjs"),D=t.newRuntimeCaller(t.objectNames.Browser),g=0;function W(i){return D(g,{url:i.toString()})}const u=Object.freeze(Object.defineProperty({__proto__:null,OpenURL:W},Symbol.toStringTag,{value:"Module"})),o=new Map;class h{constructor(e,n,d){this.eventName=e,this.callback=n,this.maxCallbacks=d||-1}dispatch(e){try{this.callback(e)}catch(n){console.error(n)}return this.maxCallbacks===-1?!1:(this.maxCallbacks-=1,this.maxCallbacks===0)}}function S(i){let e=o.get(i.eventName);e&&(e=e.filter(n=>n!==i),e.length===0?o.delete(i.eventName):o.set(i.eventName,e))}const A=Object.freeze({Windows:Object.freeze({APMPowerSettingChange:"windows:APMPowerSettingChange",APMPowerStatusChange:"windows:APMPowerStatusChange",APMResumeAutomatic:"windows:APMResumeAutomatic",APMResumeSuspend:"windows:APMResumeSuspend",APMSuspend:"windows:APMSuspend",ApplicationStarted:"windows:ApplicationStarted",SystemThemeChanged:"windows:SystemThemeChanged",WebViewNavigationCompleted:"windows:WebViewNavigationCompleted",WindowActive:"windows:WindowActive",WindowBackgroundErase:"windows:WindowBackgroundErase",WindowClickActive:"windows:WindowClickActive",WindowClosing:"windows:WindowClosing",WindowDidMove:"windows:WindowDidMove",WindowDidResize:"windows:WindowDidResize",WindowDPIChanged:"windows:WindowDPIChanged",WindowDragDrop:"windows:WindowDragDrop",WindowDragEnter:"windows:WindowDragEnter",WindowDragLeave:"windows:WindowDragLeave",WindowDragOver:"windows:WindowDragOver",WindowEndMove:"windows:WindowEndMove",WindowEndResize:"windows:WindowEndResize",WindowFullscreen:"windows:WindowFullscreen",WindowHide:"windows:WindowHide",WindowInactive:"windows:WindowInactive",WindowKeyDown:"windows:WindowKeyDown",WindowKeyUp:"windows:WindowKeyUp",WindowKillFocus:"windows:WindowKillFocus",WindowNonClientHit:"windows:WindowNonClientHit",WindowNonClientMouseDown:"windows:WindowNonClientMouseDown",WindowNonClientMouseLeave:"windows:WindowNonClientMouseLeave",WindowNonClientMouseMove:"windows:WindowNonClientMouseMove",WindowNonClientMouseUp:"windows:WindowNonClientMouseUp",WindowPaint:"windows:WindowPaint",WindowRestore:"windows:WindowRestore",WindowSetFocus:"windows:WindowSetFocus",WindowShow:"windows:WindowShow",WindowStartMove:"windows:WindowStartMove",WindowStartResize:"windows:WindowStartResize",WindowUnFullscreen:"windows:WindowUnFullscreen",WindowZOrderChanged:"windows:WindowZOrderChanged",WindowMinimise:"windows:WindowMinimise",WindowUnMinimise:"windows:WindowUnMinimise",WindowMaximise:"windows:WindowMaximise",WindowUnMaximise:"windows:WindowUnMaximise"}),Mac:Object.freeze({ApplicationDidBecomeActive:"mac:ApplicationDidBecomeActive",ApplicationDidChangeBackingProperties:"mac:ApplicationDidChangeBackingProperties",ApplicationDidChangeEffectiveAppearance:"mac:ApplicationDidChangeEffectiveAppearance",ApplicationDidChangeIcon:"mac:ApplicationDidChangeIcon",ApplicationDidChangeOcclusionState:"mac:ApplicationDidChangeOcclusionState",ApplicationDidChangeScreenParameters:"mac:ApplicationDidChangeScreenParameters",ApplicationDidChangeStatusBarFrame:"mac:ApplicationDidChangeStatusBarFrame",ApplicationDidChangeStatusBarOrientation:"mac:ApplicationDidChangeStatusBarOrientation",ApplicationDidChangeTheme:"mac:ApplicationDidChangeTheme",ApplicationDidFinishLaunching:"mac:ApplicationDidFinishLaunching",ApplicationDidHide:"mac:ApplicationDidHide",ApplicationDidResignActive:"mac:ApplicationDidResignActive",ApplicationDidUnhide:"mac:ApplicationDidUnhide",ApplicationDidUpdate:"mac:ApplicationDidUpdate",ApplicationDidWake:"mac:ApplicationDidWake",ApplicationScreensDidSleep:"mac:ApplicationScreensDidSleep",ApplicationScreensDidWake:"mac:ApplicationScreensDidWake",ApplicationShouldHandleReopen:"mac:ApplicationShouldHandleReopen",ApplicationWillBecomeActive:"mac:ApplicationWillBecomeActive",ApplicationWillFinishLaunching:"mac:ApplicationWillFinishLaunching",ApplicationWillHide:"mac:ApplicationWillHide",ApplicationWillResignActive:"mac:ApplicationWillResignActive",ApplicationWillSleep:"mac:ApplicationWillSleep",ApplicationWillTerminate:"mac:ApplicationWillTerminate",ApplicationWillUnhide:"mac:ApplicationWillUnhide",ApplicationWillUpdate:"mac:ApplicationWillUpdate",MenuDidAddItem:"mac:MenuDidAddItem",MenuDidBeginTracking:"mac:MenuDidBeginTracking",MenuDidClose:"mac:MenuDidClose",MenuDidDisplayItem:"mac:MenuDidDisplayItem",MenuDidEndTracking:"mac:MenuDidEndTracking",MenuDidHighlightItem:"mac:MenuDidHighlightItem",MenuDidOpen:"mac:MenuDidOpen",MenuDidPopUp:"mac:MenuDidPopUp",MenuDidRemoveItem:"mac:MenuDidRemoveItem",MenuDidSendAction:"mac:MenuDidSendAction",MenuDidSendActionToItem:"mac:MenuDidSendActionToItem",MenuDidUpdate:"mac:MenuDidUpdate",MenuWillAddItem:"mac:MenuWillAddItem",MenuWillBeginTracking:"mac:MenuWillBeginTracking",MenuWillDisplayItem:"mac:MenuWillDisplayItem",MenuWillEndTracking:"mac:MenuWillEndTracking",MenuWillHighlightItem:"mac:MenuWillHighlightItem",MenuWillOpen:"mac:MenuWillOpen",MenuWillPopUp:"mac:MenuWillPopUp",MenuWillRemoveItem:"mac:MenuWillRemoveItem",MenuWillSendAction:"mac:MenuWillSendAction",MenuWillSendActionToItem:"mac:MenuWillSendActionToItem",MenuWillUpdate:"mac:MenuWillUpdate",WebViewDidCommitNavigation:"mac:WebViewDidCommitNavigation",WebViewDidFinishNavigation:"mac:WebViewDidFinishNavigation",WebViewDidReceiveServerRedirectForProvisionalNavigation:"mac:WebViewDidReceiveServerRedirectForProvisionalNavigation",WebViewDidStartProvisionalNavigation:"mac:WebViewDidStartProvisionalNavigation",WindowDidBecomeKey:"mac:WindowDidBecomeKey",WindowDidBecomeMain:"mac:WindowDidBecomeMain",WindowDidBeginSheet:"mac:WindowDidBeginSheet",WindowDidChangeAlpha:"mac:WindowDidChangeAlpha",WindowDidChangeBackingLocation:"mac:WindowDidChangeBackingLocation",WindowDidChangeBackingProperties:"mac:WindowDidChangeBackingProperties",WindowDidChangeCollectionBehavior:"mac:WindowDidChangeCollectionBehavior",WindowDidChangeEffectiveAppearance:"mac:WindowDidChangeEffectiveAppearance",WindowDidChangeOcclusionState:"mac:WindowDidChangeOcclusionState",WindowDidChangeOrderingMode:"mac:WindowDidChangeOrderingMode",WindowDidChangeScreen:"mac:WindowDidChangeScreen",WindowDidChangeScreenParameters:"mac:WindowDidChangeScreenParameters",WindowDidChangeScreenProfile:"mac:WindowDidChangeScreenProfile",WindowDidChangeScreenSpace:"mac:WindowDidChangeScreenSpace",WindowDidChangeScreenSpaceProperties:"mac:WindowDidChangeScreenSpaceProperties",WindowDidChangeSharingType:"mac:WindowDidChangeSharingType",WindowDidChangeSpace:"mac:WindowDidChangeSpace",WindowDidChangeSpaceOrderingMode:"mac:WindowDidChangeSpaceOrderingMode",WindowDidChangeTitle:"mac:WindowDidChangeTitle",WindowDidChangeToolbar:"mac:WindowDidChangeToolbar",WindowDidDeminiaturize:"mac:WindowDidDeminiaturize",WindowDidEndSheet:"mac:WindowDidEndSheet",WindowDidEnterFullScreen:"mac:WindowDidEnterFullScreen",WindowDidEnterVersionBrowser:"mac:WindowDidEnterVersionBrowser",WindowDidExitFullScreen:"mac:WindowDidExitFullScreen",WindowDidExitVersionBrowser:"mac:WindowDidExitVersionBrowser",WindowDidExpose:"mac:WindowDidExpose",WindowDidFocus:"mac:WindowDidFocus",WindowDidMiniaturize:"mac:WindowDidMiniaturize",WindowDidMove:"mac:WindowDidMove",WindowDidOrderOffScreen:"mac:WindowDidOrderOffScreen",WindowDidOrderOnScreen:"mac:WindowDidOrderOnScreen",WindowDidResignKey:"mac:WindowDidResignKey",WindowDidResignMain:"mac:WindowDidResignMain",WindowDidResize:"mac:WindowDidResize",WindowDidUpdate:"mac:WindowDidUpdate",WindowDidUpdateAlpha:"mac:WindowDidUpdateAlpha",WindowDidUpdateCollectionBehavior:"mac:WindowDidUpdateCollectionBehavior",WindowDidUpdateCollectionProperties:"mac:WindowDidUpdateCollectionProperties",WindowDidUpdateShadow:"mac:WindowDidUpdateShadow",WindowDidUpdateTitle:"mac:WindowDidUpdateTitle",WindowDidUpdateToolbar:"mac:WindowDidUpdateToolbar",WindowDidZoom:"mac:WindowDidZoom",WindowFileDraggingEntered:"mac:WindowFileDraggingEntered",WindowFileDraggingExited:"mac:WindowFileDraggingExited",WindowFileDraggingPerformed:"mac:WindowFileDraggingPerformed",WindowHide:"mac:WindowHide",WindowMaximise:"mac:WindowMaximise",WindowUnMaximise:"mac:WindowUnMaximise",WindowMinimise:"mac:WindowMinimise",WindowUnMinimise:"mac:WindowUnMinimise",WindowShouldClose:"mac:WindowShouldClose",WindowShow:"mac:WindowShow",WindowWillBecomeKey:"mac:WindowWillBecomeKey",WindowWillBecomeMain:"mac:WindowWillBecomeMain",WindowWillBeginSheet:"mac:WindowWillBeginSheet",WindowWillChangeOrderingMode:"mac:WindowWillChangeOrderingMode",WindowWillClose:"mac:WindowWillClose",WindowWillDeminiaturize:"mac:WindowWillDeminiaturize",WindowWillEnterFullScreen:"mac:WindowWillEnterFullScreen",WindowWillEnterVersionBrowser:"mac:WindowWillEnterVersionBrowser",WindowWillExitFullScreen:"mac:WindowWillExitFullScreen",WindowWillExitVersionBrowser:"mac:WindowWillExitVersionBrowser",WindowWillFocus:"mac:WindowWillFocus",WindowWillMiniaturize:"mac:WindowWillMiniaturize",WindowWillMove:"mac:WindowWillMove",WindowWillOrderOffScreen:"mac:WindowWillOrderOffScreen",WindowWillOrderOnScreen:"mac:WindowWillOrderOnScreen",WindowWillResignMain:"mac:WindowWillResignMain",WindowWillResize:"mac:WindowWillResize",WindowWillUnfocus:"mac:WindowWillUnfocus",WindowWillUpdate:"mac:WindowWillUpdate",WindowWillUpdateAlpha:"mac:WindowWillUpdateAlpha",WindowWillUpdateCollectionBehavior:"mac:WindowWillUpdateCollectionBehavior",WindowWillUpdateCollectionProperties:"mac:WindowWillUpdateCollectionProperties",WindowWillUpdateShadow:"mac:WindowWillUpdateShadow",WindowWillUpdateTitle:"mac:WindowWillUpdateTitle",WindowWillUpdateToolbar:"mac:WindowWillUpdateToolbar",WindowWillUpdateVisibility:"mac:WindowWillUpdateVisibility",WindowWillUseStandardFrame:"mac:WindowWillUseStandardFrame",WindowZoomIn:"mac:WindowZoomIn",WindowZoomOut:"mac:WindowZoomOut",WindowZoomReset:"mac:WindowZoomReset",WebViewWebContentProcessDidTerminate:"mac:WebViewWebContentProcessDidTerminate"}),Linux:Object.freeze({ApplicationStartup:"linux:ApplicationStartup",SystemDidWake:"linux:SystemDidWake",SystemThemeChanged:"linux:SystemThemeChanged",SystemWillSleep:"linux:SystemWillSleep",WindowDeleteEvent:"linux:WindowDeleteEvent",WindowDidMove:"linux:WindowDidMove",WindowDidResize:"linux:WindowDidResize",WindowFocusIn:"linux:WindowFocusIn",WindowFocusOut:"linux:WindowFocusOut",WindowLoadStarted:"linux:WindowLoadStarted",WindowLoadRedirected:"linux:WindowLoadRedirected",WindowLoadCommitted:"linux:WindowLoadCommitted",WindowLoadFinished:"linux:WindowLoadFinished"}),iOS:Object.freeze({ApplicationDidBecomeActive:"ios:ApplicationDidBecomeActive",ApplicationDidEnterBackground:"ios:ApplicationDidEnterBackground",ApplicationDidFinishLaunching:"ios:ApplicationDidFinishLaunching",ApplicationDidReceiveMemoryWarning:"ios:ApplicationDidReceiveMemoryWarning",ApplicationWillEnterForeground:"ios:ApplicationWillEnterForeground",ApplicationWillResignActive:"ios:ApplicationWillResignActive",ApplicationWillTerminate:"ios:ApplicationWillTerminate",WindowDidLoad:"ios:WindowDidLoad",WindowWillAppear:"ios:WindowWillAppear",WindowDidAppear:"ios:WindowDidAppear",WindowWillDisappear:"ios:WindowWillDisappear",WindowDidDisappear:"ios:WindowDidDisappear",WindowSafeAreaInsetsChanged:"ios:WindowSafeAreaInsetsChanged",WindowOrientationChanged:"ios:WindowOrientationChanged",WindowTouchBegan:"ios:WindowTouchBegan",WindowTouchMoved:"ios:WindowTouchMoved",WindowTouchEnded:"ios:WindowTouchEnded",WindowTouchCancelled:"ios:WindowTouchCancelled",WebViewDidStartNavigation:"ios:WebViewDidStartNavigation",WebViewDidFinishNavigation:"ios:WebViewDidFinishNavigation",WebViewDidFailNavigation:"ios:WebViewDidFailNavigation",WebViewDecidePolicyForNavigationAction:"ios:WebViewDecidePolicyForNavigationAction",BatteryChanged:"ios:BatteryChanged",NetworkChanged:"ios:NetworkChanged",ThemeChanged:"ios:ThemeChanged",ScreenLocked:"ios:ScreenLocked",ScreenUnlocked:"ios:ScreenUnlocked"}),Android:Object.freeze({ActivityCreated:"android:ActivityCreated",ActivityStarted:"android:ActivityStarted",ActivityResumed:"android:ActivityResumed",ActivityPaused:"android:ActivityPaused",ActivityStopped:"android:ActivityStopped",ActivityDestroyed:"android:ActivityDestroyed",ApplicationLowMemory:"android:ApplicationLowMemory",WebViewPageStarted:"android:WebViewPageStarted",WebViewPageFinished:"android:WebViewPageFinished",BatteryChanged:"android:BatteryChanged",NetworkChanged:"android:NetworkChanged",ThemeChanged:"android:ThemeChanged",ScreenLocked:"android:ScreenLocked",ScreenUnlocked:"android:ScreenUnlocked"}),Common:Object.freeze({ApplicationOpenedWithFile:"common:ApplicationOpenedWithFile",ApplicationStarted:"common:ApplicationStarted",ApplicationLaunchedWithUrl:"common:ApplicationLaunchedWithUrl",ThemeChanged:"common:ThemeChanged",SystemDidWake:"common:SystemDidWake",SystemWillSleep:"common:SystemWillSleep",WindowClosing:"common:WindowClosing",WindowDidMove:"common:WindowDidMove",WindowDidResize:"common:WindowDidResize",WindowDPIChanged:"common:WindowDPIChanged",WindowFilesDropped:"common:WindowFilesDropped",WindowFocus:"common:WindowFocus",WindowFullscreen:"common:WindowFullscreen",WindowHide:"common:WindowHide",WindowLostFocus:"common:WindowLostFocus",WindowMaximise:"common:WindowMaximise",WindowMinimise:"common:WindowMinimise",WindowToggleFrameless:"common:WindowToggleFrameless",WindowRestore:"common:WindowRestore",WindowRuntimeReady:"common:WindowRuntimeReady",WindowShow:"common:WindowShow",WindowUnFullscreen:"common:WindowUnFullscreen",WindowUnMaximise:"common:WindowUnMaximise",WindowUnMinimise:"common:WindowUnMinimise",WindowZoom:"common:WindowZoom",WindowZoomIn:"common:WindowZoomIn",WindowZoomOut:"common:WindowZoomOut",WindowZoomReset:"common:WindowZoomReset",BatteryChanged:"common:BatteryChanged",NetworkChanged:"common:NetworkChanged",ScreenLocked:"common:ScreenLocked",ScreenUnlocked:"common:ScreenUnlocked",LowMemory:"common:LowMemory"})});t.hasDOM&&(window._wails=window._wails||{},window._wails.dispatchWailsEvent=v);const C=t.newRuntimeCaller(t.objectNames.Events),M=0;class c{constructor(e,n){this.name=e,this.data=n??null}}function v(i){let e=o.get(i.name);if(!e)return;let n=new c(i.name,i.name in t.Events?t.Events[i.name](i.data):i.data);"sender"in i&&(n.sender=i.sender);const d=new Set;for(const a of e.slice())a.dispatch(n)&&d.add(a);if(d.size>0){const a=o.get(i.name);if(a){const w=a.filter(p=>!d.has(p));w.length===0?o.delete(i.name):o.set(i.name,w)}}}function l(i,e,n){let d=o.get(i)||[];const a=new h(i,e,n);return d.push(a),o.set(i,d),()=>S(a)}function r(i,e){return l(i,e,-1)}function U(i,e){return l(i,e,1)}function m(...i){i.forEach(e=>o.delete(e))}function F(){o.clear()}function s(i,e){return C(M,new c(i,e))}const O=Object.freeze(Object.defineProperty({__proto__:null,Emit:s,Off:m,OffAll:F,On:r,OnMultiple:l,Once:U,Types:A,WailsEvent:c},Symbol.toStringTag,{value:"Module"}));exports.Emit=s;exports.Off=m;exports.On=r;exports.OpenURL=W;exports.browser=u;exports.events=O;
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { n as W, o as r, h as m, E as w } from "./index-D2mKAO8s.js";
|
|
2
|
+
const p = W(r.Browser), D = 0;
|
|
3
|
+
function g(i) {
|
|
4
|
+
return p(D, { url: i.toString() });
|
|
5
|
+
}
|
|
6
|
+
const R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
OpenURL: g
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), o = /* @__PURE__ */ new Map();
|
|
10
|
+
class h {
|
|
11
|
+
constructor(e, n, d) {
|
|
12
|
+
this.eventName = e, this.callback = n, this.maxCallbacks = d || -1;
|
|
13
|
+
}
|
|
14
|
+
dispatch(e) {
|
|
15
|
+
try {
|
|
16
|
+
this.callback(e);
|
|
17
|
+
} catch (n) {
|
|
18
|
+
console.error(n);
|
|
19
|
+
}
|
|
20
|
+
return this.maxCallbacks === -1 ? !1 : (this.maxCallbacks -= 1, this.maxCallbacks === 0);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function u(i) {
|
|
24
|
+
let e = o.get(i.eventName);
|
|
25
|
+
e && (e = e.filter((n) => n !== i), e.length === 0 ? o.delete(i.eventName) : o.set(i.eventName, e));
|
|
26
|
+
}
|
|
27
|
+
const S = Object.freeze({
|
|
28
|
+
Windows: Object.freeze({
|
|
29
|
+
APMPowerSettingChange: "windows:APMPowerSettingChange",
|
|
30
|
+
APMPowerStatusChange: "windows:APMPowerStatusChange",
|
|
31
|
+
APMResumeAutomatic: "windows:APMResumeAutomatic",
|
|
32
|
+
APMResumeSuspend: "windows:APMResumeSuspend",
|
|
33
|
+
APMSuspend: "windows:APMSuspend",
|
|
34
|
+
ApplicationStarted: "windows:ApplicationStarted",
|
|
35
|
+
SystemThemeChanged: "windows:SystemThemeChanged",
|
|
36
|
+
WebViewNavigationCompleted: "windows:WebViewNavigationCompleted",
|
|
37
|
+
WindowActive: "windows:WindowActive",
|
|
38
|
+
WindowBackgroundErase: "windows:WindowBackgroundErase",
|
|
39
|
+
WindowClickActive: "windows:WindowClickActive",
|
|
40
|
+
WindowClosing: "windows:WindowClosing",
|
|
41
|
+
WindowDidMove: "windows:WindowDidMove",
|
|
42
|
+
WindowDidResize: "windows:WindowDidResize",
|
|
43
|
+
WindowDPIChanged: "windows:WindowDPIChanged",
|
|
44
|
+
WindowDragDrop: "windows:WindowDragDrop",
|
|
45
|
+
WindowDragEnter: "windows:WindowDragEnter",
|
|
46
|
+
WindowDragLeave: "windows:WindowDragLeave",
|
|
47
|
+
WindowDragOver: "windows:WindowDragOver",
|
|
48
|
+
WindowEndMove: "windows:WindowEndMove",
|
|
49
|
+
WindowEndResize: "windows:WindowEndResize",
|
|
50
|
+
WindowFullscreen: "windows:WindowFullscreen",
|
|
51
|
+
WindowHide: "windows:WindowHide",
|
|
52
|
+
WindowInactive: "windows:WindowInactive",
|
|
53
|
+
WindowKeyDown: "windows:WindowKeyDown",
|
|
54
|
+
WindowKeyUp: "windows:WindowKeyUp",
|
|
55
|
+
WindowKillFocus: "windows:WindowKillFocus",
|
|
56
|
+
WindowNonClientHit: "windows:WindowNonClientHit",
|
|
57
|
+
WindowNonClientMouseDown: "windows:WindowNonClientMouseDown",
|
|
58
|
+
WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave",
|
|
59
|
+
WindowNonClientMouseMove: "windows:WindowNonClientMouseMove",
|
|
60
|
+
WindowNonClientMouseUp: "windows:WindowNonClientMouseUp",
|
|
61
|
+
WindowPaint: "windows:WindowPaint",
|
|
62
|
+
WindowRestore: "windows:WindowRestore",
|
|
63
|
+
WindowSetFocus: "windows:WindowSetFocus",
|
|
64
|
+
WindowShow: "windows:WindowShow",
|
|
65
|
+
WindowStartMove: "windows:WindowStartMove",
|
|
66
|
+
WindowStartResize: "windows:WindowStartResize",
|
|
67
|
+
WindowUnFullscreen: "windows:WindowUnFullscreen",
|
|
68
|
+
WindowZOrderChanged: "windows:WindowZOrderChanged",
|
|
69
|
+
WindowMinimise: "windows:WindowMinimise",
|
|
70
|
+
WindowUnMinimise: "windows:WindowUnMinimise",
|
|
71
|
+
WindowMaximise: "windows:WindowMaximise",
|
|
72
|
+
WindowUnMaximise: "windows:WindowUnMaximise"
|
|
73
|
+
}),
|
|
74
|
+
Mac: Object.freeze({
|
|
75
|
+
ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive",
|
|
76
|
+
ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties",
|
|
77
|
+
ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance",
|
|
78
|
+
ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon",
|
|
79
|
+
ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState",
|
|
80
|
+
ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters",
|
|
81
|
+
ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame",
|
|
82
|
+
ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation",
|
|
83
|
+
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme",
|
|
84
|
+
ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching",
|
|
85
|
+
ApplicationDidHide: "mac:ApplicationDidHide",
|
|
86
|
+
ApplicationDidResignActive: "mac:ApplicationDidResignActive",
|
|
87
|
+
ApplicationDidUnhide: "mac:ApplicationDidUnhide",
|
|
88
|
+
ApplicationDidUpdate: "mac:ApplicationDidUpdate",
|
|
89
|
+
ApplicationDidWake: "mac:ApplicationDidWake",
|
|
90
|
+
ApplicationScreensDidSleep: "mac:ApplicationScreensDidSleep",
|
|
91
|
+
ApplicationScreensDidWake: "mac:ApplicationScreensDidWake",
|
|
92
|
+
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen",
|
|
93
|
+
ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive",
|
|
94
|
+
ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching",
|
|
95
|
+
ApplicationWillHide: "mac:ApplicationWillHide",
|
|
96
|
+
ApplicationWillResignActive: "mac:ApplicationWillResignActive",
|
|
97
|
+
ApplicationWillSleep: "mac:ApplicationWillSleep",
|
|
98
|
+
ApplicationWillTerminate: "mac:ApplicationWillTerminate",
|
|
99
|
+
ApplicationWillUnhide: "mac:ApplicationWillUnhide",
|
|
100
|
+
ApplicationWillUpdate: "mac:ApplicationWillUpdate",
|
|
101
|
+
MenuDidAddItem: "mac:MenuDidAddItem",
|
|
102
|
+
MenuDidBeginTracking: "mac:MenuDidBeginTracking",
|
|
103
|
+
MenuDidClose: "mac:MenuDidClose",
|
|
104
|
+
MenuDidDisplayItem: "mac:MenuDidDisplayItem",
|
|
105
|
+
MenuDidEndTracking: "mac:MenuDidEndTracking",
|
|
106
|
+
MenuDidHighlightItem: "mac:MenuDidHighlightItem",
|
|
107
|
+
MenuDidOpen: "mac:MenuDidOpen",
|
|
108
|
+
MenuDidPopUp: "mac:MenuDidPopUp",
|
|
109
|
+
MenuDidRemoveItem: "mac:MenuDidRemoveItem",
|
|
110
|
+
MenuDidSendAction: "mac:MenuDidSendAction",
|
|
111
|
+
MenuDidSendActionToItem: "mac:MenuDidSendActionToItem",
|
|
112
|
+
MenuDidUpdate: "mac:MenuDidUpdate",
|
|
113
|
+
MenuWillAddItem: "mac:MenuWillAddItem",
|
|
114
|
+
MenuWillBeginTracking: "mac:MenuWillBeginTracking",
|
|
115
|
+
MenuWillDisplayItem: "mac:MenuWillDisplayItem",
|
|
116
|
+
MenuWillEndTracking: "mac:MenuWillEndTracking",
|
|
117
|
+
MenuWillHighlightItem: "mac:MenuWillHighlightItem",
|
|
118
|
+
MenuWillOpen: "mac:MenuWillOpen",
|
|
119
|
+
MenuWillPopUp: "mac:MenuWillPopUp",
|
|
120
|
+
MenuWillRemoveItem: "mac:MenuWillRemoveItem",
|
|
121
|
+
MenuWillSendAction: "mac:MenuWillSendAction",
|
|
122
|
+
MenuWillSendActionToItem: "mac:MenuWillSendActionToItem",
|
|
123
|
+
MenuWillUpdate: "mac:MenuWillUpdate",
|
|
124
|
+
WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation",
|
|
125
|
+
WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation",
|
|
126
|
+
WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation",
|
|
127
|
+
WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation",
|
|
128
|
+
WindowDidBecomeKey: "mac:WindowDidBecomeKey",
|
|
129
|
+
WindowDidBecomeMain: "mac:WindowDidBecomeMain",
|
|
130
|
+
WindowDidBeginSheet: "mac:WindowDidBeginSheet",
|
|
131
|
+
WindowDidChangeAlpha: "mac:WindowDidChangeAlpha",
|
|
132
|
+
WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation",
|
|
133
|
+
WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties",
|
|
134
|
+
WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior",
|
|
135
|
+
WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance",
|
|
136
|
+
WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState",
|
|
137
|
+
WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode",
|
|
138
|
+
WindowDidChangeScreen: "mac:WindowDidChangeScreen",
|
|
139
|
+
WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters",
|
|
140
|
+
WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile",
|
|
141
|
+
WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace",
|
|
142
|
+
WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties",
|
|
143
|
+
WindowDidChangeSharingType: "mac:WindowDidChangeSharingType",
|
|
144
|
+
WindowDidChangeSpace: "mac:WindowDidChangeSpace",
|
|
145
|
+
WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode",
|
|
146
|
+
WindowDidChangeTitle: "mac:WindowDidChangeTitle",
|
|
147
|
+
WindowDidChangeToolbar: "mac:WindowDidChangeToolbar",
|
|
148
|
+
WindowDidDeminiaturize: "mac:WindowDidDeminiaturize",
|
|
149
|
+
WindowDidEndSheet: "mac:WindowDidEndSheet",
|
|
150
|
+
WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen",
|
|
151
|
+
WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser",
|
|
152
|
+
WindowDidExitFullScreen: "mac:WindowDidExitFullScreen",
|
|
153
|
+
WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser",
|
|
154
|
+
WindowDidExpose: "mac:WindowDidExpose",
|
|
155
|
+
WindowDidFocus: "mac:WindowDidFocus",
|
|
156
|
+
WindowDidMiniaturize: "mac:WindowDidMiniaturize",
|
|
157
|
+
WindowDidMove: "mac:WindowDidMove",
|
|
158
|
+
WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen",
|
|
159
|
+
WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen",
|
|
160
|
+
WindowDidResignKey: "mac:WindowDidResignKey",
|
|
161
|
+
WindowDidResignMain: "mac:WindowDidResignMain",
|
|
162
|
+
WindowDidResize: "mac:WindowDidResize",
|
|
163
|
+
WindowDidUpdate: "mac:WindowDidUpdate",
|
|
164
|
+
WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha",
|
|
165
|
+
WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior",
|
|
166
|
+
WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties",
|
|
167
|
+
WindowDidUpdateShadow: "mac:WindowDidUpdateShadow",
|
|
168
|
+
WindowDidUpdateTitle: "mac:WindowDidUpdateTitle",
|
|
169
|
+
WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar",
|
|
170
|
+
WindowDidZoom: "mac:WindowDidZoom",
|
|
171
|
+
WindowFileDraggingEntered: "mac:WindowFileDraggingEntered",
|
|
172
|
+
WindowFileDraggingExited: "mac:WindowFileDraggingExited",
|
|
173
|
+
WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed",
|
|
174
|
+
WindowHide: "mac:WindowHide",
|
|
175
|
+
WindowMaximise: "mac:WindowMaximise",
|
|
176
|
+
WindowUnMaximise: "mac:WindowUnMaximise",
|
|
177
|
+
WindowMinimise: "mac:WindowMinimise",
|
|
178
|
+
WindowUnMinimise: "mac:WindowUnMinimise",
|
|
179
|
+
WindowShouldClose: "mac:WindowShouldClose",
|
|
180
|
+
WindowShow: "mac:WindowShow",
|
|
181
|
+
WindowWillBecomeKey: "mac:WindowWillBecomeKey",
|
|
182
|
+
WindowWillBecomeMain: "mac:WindowWillBecomeMain",
|
|
183
|
+
WindowWillBeginSheet: "mac:WindowWillBeginSheet",
|
|
184
|
+
WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode",
|
|
185
|
+
WindowWillClose: "mac:WindowWillClose",
|
|
186
|
+
WindowWillDeminiaturize: "mac:WindowWillDeminiaturize",
|
|
187
|
+
WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen",
|
|
188
|
+
WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser",
|
|
189
|
+
WindowWillExitFullScreen: "mac:WindowWillExitFullScreen",
|
|
190
|
+
WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser",
|
|
191
|
+
WindowWillFocus: "mac:WindowWillFocus",
|
|
192
|
+
WindowWillMiniaturize: "mac:WindowWillMiniaturize",
|
|
193
|
+
WindowWillMove: "mac:WindowWillMove",
|
|
194
|
+
WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen",
|
|
195
|
+
WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen",
|
|
196
|
+
WindowWillResignMain: "mac:WindowWillResignMain",
|
|
197
|
+
WindowWillResize: "mac:WindowWillResize",
|
|
198
|
+
WindowWillUnfocus: "mac:WindowWillUnfocus",
|
|
199
|
+
WindowWillUpdate: "mac:WindowWillUpdate",
|
|
200
|
+
WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha",
|
|
201
|
+
WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior",
|
|
202
|
+
WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties",
|
|
203
|
+
WindowWillUpdateShadow: "mac:WindowWillUpdateShadow",
|
|
204
|
+
WindowWillUpdateTitle: "mac:WindowWillUpdateTitle",
|
|
205
|
+
WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar",
|
|
206
|
+
WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility",
|
|
207
|
+
WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame",
|
|
208
|
+
WindowZoomIn: "mac:WindowZoomIn",
|
|
209
|
+
WindowZoomOut: "mac:WindowZoomOut",
|
|
210
|
+
WindowZoomReset: "mac:WindowZoomReset",
|
|
211
|
+
WebViewWebContentProcessDidTerminate: "mac:WebViewWebContentProcessDidTerminate"
|
|
212
|
+
}),
|
|
213
|
+
Linux: Object.freeze({
|
|
214
|
+
ApplicationStartup: "linux:ApplicationStartup",
|
|
215
|
+
SystemDidWake: "linux:SystemDidWake",
|
|
216
|
+
SystemThemeChanged: "linux:SystemThemeChanged",
|
|
217
|
+
SystemWillSleep: "linux:SystemWillSleep",
|
|
218
|
+
WindowDeleteEvent: "linux:WindowDeleteEvent",
|
|
219
|
+
WindowDidMove: "linux:WindowDidMove",
|
|
220
|
+
WindowDidResize: "linux:WindowDidResize",
|
|
221
|
+
WindowFocusIn: "linux:WindowFocusIn",
|
|
222
|
+
WindowFocusOut: "linux:WindowFocusOut",
|
|
223
|
+
WindowLoadStarted: "linux:WindowLoadStarted",
|
|
224
|
+
WindowLoadRedirected: "linux:WindowLoadRedirected",
|
|
225
|
+
WindowLoadCommitted: "linux:WindowLoadCommitted",
|
|
226
|
+
WindowLoadFinished: "linux:WindowLoadFinished"
|
|
227
|
+
}),
|
|
228
|
+
iOS: Object.freeze({
|
|
229
|
+
ApplicationDidBecomeActive: "ios:ApplicationDidBecomeActive",
|
|
230
|
+
ApplicationDidEnterBackground: "ios:ApplicationDidEnterBackground",
|
|
231
|
+
ApplicationDidFinishLaunching: "ios:ApplicationDidFinishLaunching",
|
|
232
|
+
ApplicationDidReceiveMemoryWarning: "ios:ApplicationDidReceiveMemoryWarning",
|
|
233
|
+
ApplicationWillEnterForeground: "ios:ApplicationWillEnterForeground",
|
|
234
|
+
ApplicationWillResignActive: "ios:ApplicationWillResignActive",
|
|
235
|
+
ApplicationWillTerminate: "ios:ApplicationWillTerminate",
|
|
236
|
+
WindowDidLoad: "ios:WindowDidLoad",
|
|
237
|
+
WindowWillAppear: "ios:WindowWillAppear",
|
|
238
|
+
WindowDidAppear: "ios:WindowDidAppear",
|
|
239
|
+
WindowWillDisappear: "ios:WindowWillDisappear",
|
|
240
|
+
WindowDidDisappear: "ios:WindowDidDisappear",
|
|
241
|
+
WindowSafeAreaInsetsChanged: "ios:WindowSafeAreaInsetsChanged",
|
|
242
|
+
WindowOrientationChanged: "ios:WindowOrientationChanged",
|
|
243
|
+
WindowTouchBegan: "ios:WindowTouchBegan",
|
|
244
|
+
WindowTouchMoved: "ios:WindowTouchMoved",
|
|
245
|
+
WindowTouchEnded: "ios:WindowTouchEnded",
|
|
246
|
+
WindowTouchCancelled: "ios:WindowTouchCancelled",
|
|
247
|
+
WebViewDidStartNavigation: "ios:WebViewDidStartNavigation",
|
|
248
|
+
WebViewDidFinishNavigation: "ios:WebViewDidFinishNavigation",
|
|
249
|
+
WebViewDidFailNavigation: "ios:WebViewDidFailNavigation",
|
|
250
|
+
WebViewDecidePolicyForNavigationAction: "ios:WebViewDecidePolicyForNavigationAction",
|
|
251
|
+
BatteryChanged: "ios:BatteryChanged",
|
|
252
|
+
NetworkChanged: "ios:NetworkChanged",
|
|
253
|
+
ThemeChanged: "ios:ThemeChanged",
|
|
254
|
+
ScreenLocked: "ios:ScreenLocked",
|
|
255
|
+
ScreenUnlocked: "ios:ScreenUnlocked"
|
|
256
|
+
}),
|
|
257
|
+
Android: Object.freeze({
|
|
258
|
+
ActivityCreated: "android:ActivityCreated",
|
|
259
|
+
ActivityStarted: "android:ActivityStarted",
|
|
260
|
+
ActivityResumed: "android:ActivityResumed",
|
|
261
|
+
ActivityPaused: "android:ActivityPaused",
|
|
262
|
+
ActivityStopped: "android:ActivityStopped",
|
|
263
|
+
ActivityDestroyed: "android:ActivityDestroyed",
|
|
264
|
+
ApplicationLowMemory: "android:ApplicationLowMemory",
|
|
265
|
+
WebViewPageStarted: "android:WebViewPageStarted",
|
|
266
|
+
WebViewPageFinished: "android:WebViewPageFinished",
|
|
267
|
+
BatteryChanged: "android:BatteryChanged",
|
|
268
|
+
NetworkChanged: "android:NetworkChanged",
|
|
269
|
+
ThemeChanged: "android:ThemeChanged",
|
|
270
|
+
ScreenLocked: "android:ScreenLocked",
|
|
271
|
+
ScreenUnlocked: "android:ScreenUnlocked"
|
|
272
|
+
}),
|
|
273
|
+
Common: Object.freeze({
|
|
274
|
+
ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile",
|
|
275
|
+
ApplicationStarted: "common:ApplicationStarted",
|
|
276
|
+
ApplicationLaunchedWithUrl: "common:ApplicationLaunchedWithUrl",
|
|
277
|
+
ThemeChanged: "common:ThemeChanged",
|
|
278
|
+
SystemDidWake: "common:SystemDidWake",
|
|
279
|
+
SystemWillSleep: "common:SystemWillSleep",
|
|
280
|
+
WindowClosing: "common:WindowClosing",
|
|
281
|
+
WindowDidMove: "common:WindowDidMove",
|
|
282
|
+
WindowDidResize: "common:WindowDidResize",
|
|
283
|
+
WindowDPIChanged: "common:WindowDPIChanged",
|
|
284
|
+
WindowFilesDropped: "common:WindowFilesDropped",
|
|
285
|
+
WindowFocus: "common:WindowFocus",
|
|
286
|
+
WindowFullscreen: "common:WindowFullscreen",
|
|
287
|
+
WindowHide: "common:WindowHide",
|
|
288
|
+
WindowLostFocus: "common:WindowLostFocus",
|
|
289
|
+
WindowMaximise: "common:WindowMaximise",
|
|
290
|
+
WindowMinimise: "common:WindowMinimise",
|
|
291
|
+
WindowToggleFrameless: "common:WindowToggleFrameless",
|
|
292
|
+
WindowRestore: "common:WindowRestore",
|
|
293
|
+
WindowRuntimeReady: "common:WindowRuntimeReady",
|
|
294
|
+
WindowShow: "common:WindowShow",
|
|
295
|
+
WindowUnFullscreen: "common:WindowUnFullscreen",
|
|
296
|
+
WindowUnMaximise: "common:WindowUnMaximise",
|
|
297
|
+
WindowUnMinimise: "common:WindowUnMinimise",
|
|
298
|
+
WindowZoom: "common:WindowZoom",
|
|
299
|
+
WindowZoomIn: "common:WindowZoomIn",
|
|
300
|
+
WindowZoomOut: "common:WindowZoomOut",
|
|
301
|
+
WindowZoomReset: "common:WindowZoomReset",
|
|
302
|
+
BatteryChanged: "common:BatteryChanged",
|
|
303
|
+
NetworkChanged: "common:NetworkChanged",
|
|
304
|
+
ScreenLocked: "common:ScreenLocked",
|
|
305
|
+
ScreenUnlocked: "common:ScreenUnlocked",
|
|
306
|
+
LowMemory: "common:LowMemory"
|
|
307
|
+
})
|
|
308
|
+
});
|
|
309
|
+
m && (window._wails = window._wails || {}, window._wails.dispatchWailsEvent = M);
|
|
310
|
+
const A = W(r.Events), C = 0;
|
|
311
|
+
class t {
|
|
312
|
+
constructor(e, n) {
|
|
313
|
+
this.name = e, this.data = n ?? null;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function M(i) {
|
|
317
|
+
let e = o.get(i.name);
|
|
318
|
+
if (!e)
|
|
319
|
+
return;
|
|
320
|
+
let n = new t(i.name, i.name in w ? w[i.name](i.data) : i.data);
|
|
321
|
+
"sender" in i && (n.sender = i.sender);
|
|
322
|
+
const d = /* @__PURE__ */ new Set();
|
|
323
|
+
for (const a of e.slice())
|
|
324
|
+
a.dispatch(n) && d.add(a);
|
|
325
|
+
if (d.size > 0) {
|
|
326
|
+
const a = o.get(i.name);
|
|
327
|
+
if (a) {
|
|
328
|
+
const l = a.filter((s) => !d.has(s));
|
|
329
|
+
l.length === 0 ? o.delete(i.name) : o.set(i.name, l);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
function c(i, e, n) {
|
|
334
|
+
let d = o.get(i) || [];
|
|
335
|
+
const a = new h(i, e, n);
|
|
336
|
+
return d.push(a), o.set(i, d), () => u(a);
|
|
337
|
+
}
|
|
338
|
+
function v(i, e) {
|
|
339
|
+
return c(i, e, -1);
|
|
340
|
+
}
|
|
341
|
+
function U(i, e) {
|
|
342
|
+
return c(i, e, 1);
|
|
343
|
+
}
|
|
344
|
+
function F(...i) {
|
|
345
|
+
i.forEach((e) => o.delete(e));
|
|
346
|
+
}
|
|
347
|
+
function O() {
|
|
348
|
+
o.clear();
|
|
349
|
+
}
|
|
350
|
+
function f(i, e) {
|
|
351
|
+
return A(C, new t(i, e));
|
|
352
|
+
}
|
|
353
|
+
const B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
354
|
+
__proto__: null,
|
|
355
|
+
Emit: f,
|
|
356
|
+
Off: F,
|
|
357
|
+
OffAll: O,
|
|
358
|
+
On: v,
|
|
359
|
+
OnMultiple: c,
|
|
360
|
+
Once: U,
|
|
361
|
+
Types: S,
|
|
362
|
+
WailsEvent: t
|
|
363
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
364
|
+
export {
|
|
365
|
+
f as E,
|
|
366
|
+
v as O,
|
|
367
|
+
g as a,
|
|
368
|
+
F as b,
|
|
369
|
+
R as c,
|
|
370
|
+
B as e
|
|
371
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Ne=Object.defineProperty;var He=(e,t,r)=>t in e?Ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var a=(e,t,r)=>He(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),u=require("./models-CHycLCM0.cjs"),n=require("./calls-DZctVyoQ.cjs");function ze(e,t){return n.ByID(3867104420,e,t).then(r=>P(r))}function We(e){return n.ByID(3795411887,e)}function Ue(){return n.ByID(1053995964).then(e=>xe(e))}function Ve(e){return n.ByID(3231741321,e).then(t=>Je(t))}function G(e){return n.ByID(2597562645,e).then(t=>b(t))}function Ee(e,t,r){return n.ByID(1481837168,e,t,r)}function Qe(e,t){return n.ByID(230212281,e,t)}function qe(){return n.ByID(2408440370).then(e=>b(e))}const P=u.Setting.createFrom,xe=o.Array(o.Any),Je=o.Map(o.Any,P),b=o.Map(o.Any,o.Any),ke=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:ze,HasPlugin:We,ListPlugins:Ue,ListSettings:Ve,PluginValues:G,SetSetting:Ee,SetSettings:Qe,Values:qe},Symbol.toStringTag,{value:"Module"}));function Ke(e){return n.ByID(3150413499,e).then(t=>$(t))}function Xe(e){return n.ByID(1152913314,e).then(t=>ft(t))}function F(e){return n.ByID(111194374,e).then(t=>T(t))}function Ye(e){return n.ByID(3945933305,e)}function Ze(e){return n.ByID(2859775056,e).then(t=>R(t))}function et(e,t){return n.ByID(2209599792,e,t).then(r=>It(r))}function tt(e){return n.ByID(3963363730,e).then(t=>R(t))}function nt(){return n.ByID(2477486666).then(e=>D(e))}function rt(){return n.ByID(976517756).then(e=>D(e))}function ot(e){return n.ByID(1020548995,e).then(t=>D(t))}function ct(e,t){return n.ByID(2004740384,e,t).then(r=>D(r))}function ut(){return n.ByID(873697101).then(e=>v(e))}function it(){return n.ByID(637134283).then(e=>Tt(e))}function st(){return n.ByID(550607756).then(e=>St(e))}function at(e,t){return n.ByID(288660195,e,t).then(r=>$(r))}function yt(e){return n.ByID(1771013494,e).then(t=>$(t))}function C(e){return n.ByID(2433379724,e).then(t=>$(t))}function $t(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>v(c))}function lt(e){return n.ByID(1369550929,e).then(t=>$(t))}const $=u.PluginInfo.createFrom,pt=u.DownloadStats.createFrom,ft=o.Nullable(pt),T=u.PluginMeta.createFrom,Dt=u.VersionInfo.createFrom,R=o.Array(Dt),ht=u.Review.createFrom,It=o.Array(ht),D=o.Nullable(T),Bt=u.AvailablePlugin.createFrom,v=o.Array(Bt),Tt=o.Array(T),St=o.Array($),dt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Ke,GetPluginDownloadStats:Xe,GetPluginMeta:F,GetPluginReadme:Ye,GetPluginReleaseHistory:Ze,GetPluginReviews:et,GetPluginVersions:tt,InstallFromPathPrompt:nt,InstallInDevMode:rt,InstallPluginFromPath:ot,InstallPluginVersion:ct,ListAvailablePlugins:ut,ListPluginMetas:it,ListPlugins:st,LoadPlugin:at,ReloadPlugin:yt,RetryFailedPlugin:C,SearchPlugins:$t,UninstallPlugin:lt},Symbol.toStringTag,{value:"Module"}));function gt(e){return n.ByID(122243240,e)}function mt(){return n.ByID(269082212).then(e=>Nt(e))}function At(e){return n.ByID(1421156656,e).then(t=>S(t))}function Gt(e){return n.ByID(3143996982,e).then(t=>w(t))}function Pt(e){return n.ByID(1695819138,e)}function bt(e){return n.ByID(1827194808,e).then(t=>Ht(t))}function Ft(e){return n.ByID(72059321,e)}function Ct(e){return n.ByID(62418781,e).then(t=>zt(t))}function Rt(e){return n.ByID(2222012564,e).then(t=>Wt(t))}function vt(e){return n.ByID(2753368941,e)}function _t(e){return n.ByID(3825211425,e)}function wt(e){return n.ByID(2121298005,e).then(t=>Ut(t))}function Lt(){return n.ByID(3038957305).then(e=>f(e))}function Mt(){return n.ByID(3369612893)}function Ot(e,t){return n.ByID(252556992,e,t)}function jt(e){return n.ByID(1704369097,e)}function _(){return n.ByID(2936263106).then(e=>w(e))}const S=u.Category.createFrom,Nt=o.Array(S),w=o.Map(o.Any,o.Any),Ht=o.Array(o.Any),zt=o.Array(o.Any),Wt=u.Setting.createFrom,Ut=o.Array(o.Any);var f=function e(...t){return f===e&&(f=Vt),f(...t)};const Vt=o.Map(o.Any,S),Et=Object.freeze(Object.defineProperty({__proto__:null,GetBool:gt,GetCategories:mt,GetCategory:At,GetCategoryValues:Gt,GetFloat:Pt,GetFloatSlice:bt,GetInt:Ft,GetIntSlice:Ct,GetSetting:Rt,GetSettingValue:vt,GetString:_t,GetStringSlice:wt,ListSettings:Lt,LoadSettings:Mt,SetSetting:Ot,SetSettings:jt,Values:_},Symbol.toStringTag,{value:"Module"}));class d{constructor(t={}){a(this,"connection");a(this,"started");a(this,"resources");a(this,"resourceCounts");a(this,"totalResources");a(this,"syncedCount");a(this,"errorCount");a(this,"lastSyncTime");"connection"in t||(this.connection=new u.Connection),"started"in t||(this.started=!1),"resources"in t||(this.resources={}),"resourceCounts"in t||(this.resourceCounts={}),"totalResources"in t||(this.totalResources=0),"syncedCount"in t||(this.syncedCount=0),"errorCount"in t||(this.errorCount=0),Object.assign(this,t)}static createFrom(t={}){const r=Qt,c=qt,i=xt;let s=typeof t=="string"?JSON.parse(t):t;return"connection"in s&&(s.connection=r(s.connection)),"resources"in s&&(s.resources=c(s.resources)),"resourceCounts"in s&&(s.resourceCounts=i(s.resourceCounts)),new d(s)}}const Qt=u.Connection.createFrom,qt=o.Map(o.Any,o.Any),xt=o.Map(o.Any,o.Any);function Jt(e,t){return n.ByID(4065522324,e,t)}function kt(e,t){return n.ByID(1688967279,e,t).then(r=>ue(r))}function L(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(i=>hn(i))}function M(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(i=>Bn(i))}function Kt(e,t,r){return n.ByID(1338477906,e,t,r)}function O(e,t,r,c,i){return n.ByID(1844283666,e,t,r,c,i).then(s=>Sn(s))}function Xt(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(i=>gn(i))}function j(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(i=>An(i))}function N(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Pn(c))}function H(){return n.ByID(4153677080).then(e=>Cn(e))}function z(e,t){return n.ByID(950535743,e,t).then(r=>h(r))}function W(e,t){return n.ByID(537508515,e,t).then(r=>ie(r))}function U(e,t){return n.ByID(1394342402,e,t).then(r=>vn(r))}function Yt(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>wn(c))}function Zt(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(i=>Mn(i))}function en(e,t){return n.ByID(2699561690,e,t).then(r=>jn(r))}function tn(e,t){return n.ByID(1474609809,e,t).then(r=>Hn(r))}function nn(e,t){return n.ByID(4077050094,e,t).then(r=>zn(r))}function rn(e,t,r,c,i,s){return n.ByID(3171791798,e,t,r,c,i,s).then(y=>Un(y))}function on(e,t){return n.ByID(114848330,e,t).then(r=>se(r))}function V(e,t){return n.ByID(4290498491,e,t).then(r=>Vn(r))}function cn(e,t,r){return n.ByID(137675652,e,t,r)}function E(e,t){return n.ByID(2078766795,e,t).then(r=>En(r))}function Q(e,t){return n.ByID(3311395752,e,t).then(r=>Qn(r))}function q(e,t){return n.ByID(42345827,e,t).then(r=>xn(r))}function un(e){return n.ByID(854008408,e)}function sn(e,t){return n.ByID(3547410887,e,t)}function an(e,t,r){return n.ByID(3516169863,e,t,r)}function x(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(i=>kn(i))}function J(){return n.ByID(1598984489).then(e=>Kn(e))}function k(e){return n.ByID(1775572154,e).then(t=>g(t))}function yn(){return n.ByID(3217612415).then(e=>ie(e))}function $n(e){return n.ByID(2037329938,e).then(t=>g(t))}function K(e,t){return n.ByID(421198049,e,t)}function ln(e,t,r,c,i){return n.ByID(3987850310,e,t,r,c,i).then(s=>Yn(s))}function pn(e,t,r){return n.ByID(555702059,e,t,r)}function X(e,t){return n.ByID(3276991559,e,t).then(r=>ue(r))}function Y(e,t){return n.ByID(3389223006,e,t)}function Z(e,t){return n.ByID(794258089,e,t).then(r=>h(r))}function ee(e,t){return n.ByID(1661153284,e,t)}function fn(e,t,r){return n.ByID(3981374696,e,t,r)}function te(e,t,r,c,i){return n.ByID(2990116431,e,t,r,c,i)}function ne(e,t,r){return n.ByID(2856546527,e,t,r)}function re(e,t,r){return n.ByID(3710015102,e,t,r)}function oe(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(i=>er(i))}function ce(e,t){return n.ByID(2131988692,e,t).then(r=>h(r))}const ue=u.ConnectionStatus.createFrom,Dn=u.CreateResult.createFrom,hn=o.Nullable(Dn),In=u.DeleteResult.createFrom,Bn=o.Nullable(In),Tn=u.ActionResult.createFrom,Sn=o.Nullable(Tn),dn=u.FindResult.createFrom,gn=o.Nullable(dn),mn=u.GetResult.createFrom,An=o.Nullable(mn),Gn=u.ActionDescriptor.createFrom,Pn=o.Array(Gn),bn=d.createFrom,Fn=o.Array(bn),Cn=o.Map(o.Any,Fn),h=u.Connection.createFrom,ie=o.Array(o.Any),Rn=u.EditorSchema.createFrom,vn=o.Array(Rn),_n=u.FilterField.createFrom,wn=o.Array(_n),Ln=u.ResourceHealth.createFrom,Mn=o.Nullable(Ln),On=u.RelationshipDescriptor.createFrom,jn=o.Array(On),Nn=u.ResourceCapabilities.createFrom,Hn=o.Nullable(Nn),zn=u.ResourceDefinition.createFrom,Wn=u.ResourceEvent.createFrom,Un=o.Array(Wn),se=u.ResourceGroup.createFrom,Vn=o.Map(o.Any,se),ae=u.ResourceMeta.createFrom,En=o.Nullable(ae),Qn=o.Map(o.Any,ae),qn=u.WatchConnectionSummary.createFrom,xn=o.Nullable(qn),Jn=u.ListResult.createFrom,kn=o.Nullable(Jn),g=o.Array(h),Kn=o.Map(o.Any,g),Xn=u.ResolvedRelationship.createFrom,Yn=o.Array(Xn),Zn=u.UpdateResult.createFrom,er=o.Nullable(Zn),tr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Jt,CheckConnection:kt,Create:L,Delete:M,EnsureResourceWatch:Kt,ExecuteAction:O,Find:Xt,Get:j,GetActions:N,GetAllConnectionStates:H,GetConnection:z,GetConnectionNamespaces:W,GetEditorSchemas:U,GetFilterFields:Yt,GetHealth:Zt,GetRelationships:en,GetResourceCapabilities:tn,GetResourceDefinition:nn,GetResourceEvents:rn,GetResourceGroup:on,GetResourceGroups:V,GetResourceSchema:cn,GetResourceType:E,GetResourceTypes:Q,GetWatchState:q,HasPlugin:un,HasResourceType:sn,IsResourceWatchRunning:an,List:x,ListAllConnections:J,ListConnections:k,ListPlugins:yn,LoadConnections:$n,RemoveConnection:K,ResolveRelationships:ln,RestartResourceWatch:pn,StartConnection:X,StartConnectionWatch:Y,StopConnection:Z,StopConnectionWatch:ee,StopResourceWatch:fn,StreamAction:te,SubscribeResource:ne,UnsubscribeResource:re,Update:oe,UpdateConnection:ce},Symbol.toStringTag,{value:"Module"}));function nr(e,t){return n.ByID(3653639550,e,t)}function ye(e,t){return n.ByID(851823419,e,t)}function rr(e){return n.ByID(2991415449,e).then(t=>or(t))}function $e(e,t,r){return n.ByID(2695679023,e,t,r)}const or=o.Array(o.Any),cr=Object.freeze(Object.defineProperty({__proto__:null,Delete:nr,Get:ye,Keys:rr,Set:$e},Symbol.toStringTag,{value:"Module"}));function ur(e){return n.ByID(93318075,e).then(t=>(t[0]=l(t[0]),t[1]=o.ByteSlice(t[1]),t))}function ir(e){return n.ByID(1353297556,e)}function le(e,t,r){return n.ByID(608251756,e,t,r).then(c=>l(c))}function sr(e){return n.ByID(4182196712,e).then(t=>l(t))}function ar(e){return n.ByID(3993344525,e).then(t=>l(t))}function yr(e,t){return n.ByID(1779192716,e,t).then(r=>Sr(r))}function $r(){return n.ByID(4033362541).then(e=>dr(e))}function lr(e){return n.ByID(2619212338,e).then(t=>fe(t))}function pr(e){return n.ByID(1371268636,e).then(t=>l(t))}function fr(e){return n.ByID(3881019319,e)}function Dr(){return n.ByID(3006426324).then(e=>gr(e))}function hr(){return n.ByID(265791345).then(e=>mr(e))}function Ir(e,t,r){return n.ByID(1492965384,e,t,r)}function Br(e,t){return n.ByID(486465741,e,t)}const Tr=u.Session.createFrom,l=o.Nullable(Tr),pe=u.Handler.createFrom,Sr=o.Nullable(pe),fe=o.Map(o.Any,pe),dr=o.Map(o.Any,fe),gr=o.Array(o.Any),mr=o.Array(l),Ar=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:ur,CloseSession:ir,CreateSession:le,CreateTerminal:sr,DetachSession:ar,GetHandler:yr,GetHandlers:$r,GetPluginHandlers:lr,GetSession:pr,HasPlugin:fr,ListPlugins:Dr,ListSessions:hr,ResizeSession:Ir,WriteSession:Br},Symbol.toStringTag,{value:"Module"}));function De(e){return n.ByID(2776241946,e)}function he(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>I(c))}function Gr(e){return n.ByID(1474987050,e).then(t=>I(t))}function Pr(e){return n.ByID(3156347865,e).then(t=>Lr(t))}function br(e){return n.ByID(1444002509,e)}function Fr(){return n.ByID(3104582886).then(e=>Mr(e))}function Cr(){return n.ByID(2249742267).then(e=>Or(e))}function Rr(e,t){return n.ByID(1212190993,e,t)}function vr(e,t){return n.ByID(2177127885,e,t).then(r=>I(r))}const _r=u.LogSession.createFrom,I=o.Nullable(_r),wr=u.Handler$1.createFrom,Lr=o.Array(wr),Mr=o.Array(o.Any),Or=o.Array(I),jr=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:De,CreateSession:he,GetSession:Gr,GetSupportedResources:Pr,HasPlugin:br,ListPlugins:Fr,ListSessions:Cr,SendCommand:Rr,UpdateSessionOptions:vr},Symbol.toStringTag,{value:"Module"}));class m{constructor(t={}){a(this,"plugin_id");a(this,"provider_id");a(this,"name");a(this,"icon");a(this,"description");a(this,"handlers");"plugin_id"in t||(this.plugin_id=""),"provider_id"in t||(this.provider_id=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"description"in t||(this.description=""),"handlers"in t||(this.handlers=[]),Object.assign(this,t)}static createFrom(t={}){const r=Hr;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new m(c)}}const Nr=u.Handler$2.createFrom,Hr=o.Array(Nr);function Ie(){return n.ByID(3919346639).then(e=>ge(e))}function Be(e){return n.ByID(3953821778,e).then(t=>ge(t))}function zr(e){return n.ByID(1815388456,e)}function Wr(){return n.ByID(2730149903).then(e=>Er(e))}function Ur(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>me(c))}function Te(e,t,r,c,i,s,y,p,Me,Oe){return n.ByID(2480040278,e,t,r,c,i,s,y,p,Me,Oe).then(je=>qr(je))}function Se(e,t,r){return n.ByID(3738888803,e,t,r)}function de(e){return n.ByID(3994236150,e)}const Vr=m.createFrom,ge=o.Array(Vr),Er=o.Array(o.Any),Qr=u.QueryResponse.createFrom,me=o.Nullable(Qr),qr=o.Map(o.Any,me),xr=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Ie,GetProvidersForResource:Be,HasPlugin:zr,ListPlugins:Wr,Query:Ur,QueryAll:Te,Subscribe:Se,Unsubscribe:de},Symbol.toStringTag,{value:"Module"}));function Ae(e){return n.ByID(182596922,e).then(t=>B(t))}function Ge(e,t,r){return n.ByID(981100722,e,t,r).then(c=>A(c))}function Jr(e){return n.ByID(2157304970,e).then(t=>B(t))}function kr(e){return n.ByID(650882,e).then(t=>Fe(t))}function Kr(e){return n.ByID(3624690437,e)}function Pe(){return n.ByID(2195697754).then(e=>A(e))}function Xr(){return n.ByID(167463150).then(e=>Fe(e))}function Yr(e,t){return n.ByID(2090415403,e,t).then(r=>A(r))}function be(e,t,r){return n.ByID(780445954,e,t,r).then(c=>B(c))}const Zr=u.PortForwardSession.createFrom,B=o.Nullable(Zr),A=o.Array(B),Fe=o.Array(o.Any),eo=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:Ae,FindPortForwardSessions:Ge,GetPortForwardSession:Jr,GetSupportedPortForwardTargets:kr,HasPlugin:Kr,ListAllPortForwardSessions:Pe,ListPlugins:Xr,ListPortForwardSessions:Yr,StartResourcePortForwardingSession:be},Symbol.toStringTag,{value:"Module"}));function to(e){return n.ByID(2106300110,e).then(t=>ro(t))}function Ce(e){return n.ByID(765209827,e).then(t=>oo(t))}function no(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=u.ResourceComponent.createFrom,ve=o.Array(Re),ro=o.Map(o.Any,ve),oo=o.Nullable(Re),co=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:to,GetResourceAreaComponent:Ce,GetResourceComponents:no},Symbol.toStringTag,{value:"Module"}));function _e(e,t,r,c,i,s){return n.ByID(3749557463,e,t,r,c,i,s).then(y=>so(y))}function we(e,t,r,c,i,s,y){return n.ByID(3912521777,e,t,r,c,i,s,y).then(p=>Le(p))}function uo(e,t,r,c,i,s,y){return n.ByID(1916045973,e,t,r,c,i,s,y).then(p=>yo(p))}const io=u.DependencyTree.createFrom,so=o.Nullable(io),ao=u.GraphEdge.createFrom,Le=o.Array(ao),yo=o.Array(Le),$o=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:_e,GetRelated:we,GetRelationshipChain:uo},Symbol.toStringTag,{value:"Module"}));exports.ClosePortForwardSession=Ae;exports.CloseSession=De;exports.Create=L;exports.CreateSession=le;exports.CreateSession$1=he;exports.Delete=M;exports.ExecuteAction=O;exports.FindPortForwardSessions=Ge;exports.Get=ye;exports.Get$1=j;exports.GetActions=N;exports.GetAllConnectionStates=H;exports.GetConnection=z;exports.GetConnectionNamespaces=W;exports.GetDependencyTree=_e;exports.GetEditorSchemas=U;exports.GetPluginMeta=F;exports.GetProviders=Ie;exports.GetProvidersForResource=Be;exports.GetRelated=we;exports.GetResourceAreaComponent=Ce;exports.GetResourceGroups=V;exports.GetResourceType=E;exports.GetResourceTypes=Q;exports.GetWatchState=q;exports.List=x;exports.ListAllConnections=J;exports.ListAllPortForwardSessions=Pe;exports.ListConnections=k;exports.PluginValues=G;exports.QueryAll=Te;exports.RemoveConnection=K;exports.RetryFailedPlugin=C;exports.Set=$e;exports.StartConnection=X;exports.StartConnectionWatch=Y;exports.StartResourcePortForwardingSession=be;exports.StopConnection=Z;exports.StopConnectionWatch=ee;exports.StreamAction=te;exports.Subscribe=Se;exports.SubscribeResource=ne;exports.Unsubscribe=de;exports.UnsubscribeResource=re;exports.Update=oe;exports.UpdateConnection=ce;exports.Values=_;exports.graphservice=$o;exports.servicewrapper=Ar;exports.servicewrapper$1=eo;exports.servicewrapper$2=dt;exports.servicewrapper$3=tr;exports.servicewrapper$4=ke;exports.servicewrapper$5=Et;exports.servicewrapper$6=co;exports.servicewrapper$7=jr;exports.servicewrapper$8=xr;exports.servicewrapper$9=cr;
|