@omniviewdev/runtime 0.5.0 → 0.7.0
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.js +16 -16
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/apperror/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/apperror/models.d.ts +58 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +25 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +14 -0
- package/dist/{calls-BmUnjINC.js → calls-C1yoW06C.js} +60 -60
- package/dist/{calls-DZctVyoQ.cjs → calls-DUhq86Ki.cjs} +1 -1
- package/dist/context/operations/OperationsContext.d.ts +1 -1
- package/dist/errors/parseAppError.d.ts +1 -14
- package/dist/errors/types.d.ts +13 -2
- package/dist/{events-DDTGFACO.js → events-Bcx6NsMp.js} +1 -2
- package/dist/{events-BTiuwc-0.cjs → events-CtgYnKmS.cjs} +1 -1
- package/dist/graphservice-1J8q3eeL.cjs +1 -0
- package/dist/graphservice-CUg1PUsC.js +852 -0
- package/dist/hooks/resource/useEventBatcher.d.ts +4 -3
- package/dist/hooks/resource/useStreamAction.d.ts +3 -6
- package/dist/hooks/snackbar/useSnackbar.d.ts +2 -0
- package/dist/index.cjs +4 -2
- package/dist/index.js +1075 -1002
- package/dist/{models-D-vu7j83.js → models-4EtitZnM.js} +379 -361
- package/dist/models-BQsuB2Lj.cjs +1 -0
- package/dist/{models-8-4Ny_ft.cjs → models-BpVWHqlF.cjs} +1 -1
- package/dist/{models-BlTzZkmp.js → models-C5sf8GNY.js} +1 -1
- package/dist/models.cjs +1 -1
- package/dist/models.js +48 -47
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +3 -3
- package/package.json +3 -3
- package/dist/graphservice-Cb7rr7SB.cjs +0 -1
- package/dist/graphservice-DloOtC_7.js +0 -739
- package/dist/models-CGYstu7u.cjs +0 -1
|
@@ -1 +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;
|
|
1
|
+
"use strict";const t=require("./index-D_aIcqH0.cjs"),p=t.newRuntimeCaller(t.objectNames.Browser),D=0;function W(i){return p(D,{url:i.toString()})}const g=Object.freeze(Object.defineProperty({__proto__:null,OpenURL:W},Symbol.toStringTag,{value:"Module"})),o=new Map;class u{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 h(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 S=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=M);const A=t.newRuntimeCaller(t.objectNames.Events),C=0;class c{constructor(e,n){this.name=e,this.data=n??null}}function M(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(s=>!d.has(s));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 u(i,e,n);return d.push(a),o.set(i,d),()=>h(a)}function r(i,e){return l(i,e,-1)}function v(i,e){return l(i,e,1)}function U(...i){i.forEach(e=>o.delete(e))}function F(){o.clear()}function m(i,e){return A(C,new c(i,e))}const O=Object.freeze(Object.defineProperty({__proto__:null,Emit:m,Off:U,OffAll:F,On:r,OnMultiple:l,Once:v,Types:S,WailsEvent:c},Symbol.toStringTag,{value:"Module"}));exports.Emit=m;exports.On=r;exports.OpenURL=W;exports.browser=g;exports.events=O;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Je=Object.defineProperty;var Qe=(e,t,r)=>t in e?Je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>Qe(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),i=require("./models-BQsuB2Lj.cjs"),n=require("./calls-DUhq86Ki.cjs");function xe(e,t){return n.ByID(3867104420,e,t).then(r=>v(r))}function ke(e){return n.ByID(3795411887,e)}function Ke(){return n.ByID(1053995964).then(e=>nt(e))}function Xe(e){return n.ByID(3231741321,e).then(t=>rt(t))}function R(e){return n.ByID(2597562645,e).then(t=>_(t))}function Ye(e,t,r){return n.ByID(1481837168,e,t,r)}function Ze(e,t){return n.ByID(230212281,e,t)}function et(e,t,r){return n.ByID(1534017462,e,t,r).then(c=>ot(c))}function tt(){return n.ByID(2408440370).then(e=>_(e))}const v=i.Setting.createFrom,nt=o.Array(o.Any),rt=o.Map(o.Any,v),_=o.Map(o.Any,o.Any),ot=i.ValidationResult.createFrom,ct=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:xe,HasPlugin:ke,ListPlugins:Ke,ListSettings:Xe,PluginValues:R,SetSetting:Ye,SetSettings:Ze,ValidateSetting:et,Values:tt},Symbol.toStringTag,{value:"Module"}));function it(e){return n.ByID(3150413499,e).then(t=>l(t))}function ut(e){return n.ByID(1152913314,e).then(t=>bt(t))}function w(e){return n.ByID(111194374,e).then(t=>d(t))}function st(e){return n.ByID(3945933305,e)}function at(e){return n.ByID(2859775056,e).then(t=>L(t))}function yt(e,t){return n.ByID(2209599792,e,t).then(r=>Ct(r))}function lt(e){return n.ByID(3963363730,e).then(t=>L(t))}function $t(e){return n.ByID(1357029266,e).then(t=>l(t))}function pt(){return n.ByID(2477486666).then(e=>h(e))}function ft(){return n.ByID(976517756).then(e=>h(e))}function ht(e){return n.ByID(1020548995,e).then(t=>h(t))}function Dt(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function It(){return n.ByID(873697101).then(e=>M(e))}function Bt(){return n.ByID(637134283).then(e=>vt(e))}function Tt(){return n.ByID(550607756).then(e=>_t(e))}function dt(e,t){return n.ByID(288660195,e,t).then(r=>l(r))}function St(e){return n.ByID(1771013494,e).then(t=>l(t))}function O(e){return n.ByID(2433379724,e).then(t=>l(t))}function gt(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>M(c))}function mt(e){return n.ByID(1369550929,e).then(t=>l(t))}function Ft(e){return n.ByID(3828800061,e).then(t=>l(t))}const l=i.PluginInfo.createFrom,At=i.DownloadStats.createFrom,bt=o.Nullable(At),d=i.PluginMeta.createFrom,Gt=i.VersionInfo.createFrom,L=o.Array(Gt),Pt=i.Review.createFrom,Ct=o.Array(Pt),h=o.Nullable(d),Rt=i.AvailablePlugin.createFrom,M=o.Array(Rt),vt=o.Array(d),_t=o.Array(l),wt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:it,GetPluginDownloadStats:ut,GetPluginMeta:w,GetPluginReadme:st,GetPluginReleaseHistory:at,GetPluginReviews:yt,GetPluginVersions:lt,InstallDevPluginFromPath:$t,InstallFromPathPrompt:pt,InstallInDevMode:ft,InstallPluginFromPath:ht,InstallPluginVersion:Dt,ListAvailablePlugins:It,ListPluginMetas:Bt,ListPlugins:Tt,LoadPlugin:dt,ReloadPlugin:St,RetryFailedPlugin:O,SearchPlugins:gt,UninstallPlugin:mt,UnlinkDevPlugin:Ft},Symbol.toStringTag,{value:"Module"}));function Ot(e){return n.ByID(122243240,e)}function Lt(){return n.ByID(269082212).then(e=>Xt(e))}function Mt(e){return n.ByID(1421156656,e).then(t=>S(t))}function Nt(e){return n.ByID(3143996982,e).then(t=>j(t))}function jt(e){return n.ByID(1695819138,e)}function Ht(e){return n.ByID(1827194808,e).then(t=>Yt(t))}function Vt(e){return n.ByID(72059321,e)}function zt(e){return n.ByID(62418781,e).then(t=>Zt(t))}function Ut(e){return n.ByID(2222012564,e).then(t=>en(t))}function Wt(e){return n.ByID(2753368941,e)}function Et(e){return n.ByID(3825211425,e)}function qt(e){return n.ByID(2121298005,e).then(t=>tn(t))}function Jt(){return n.ByID(3038957305).then(e=>f(e))}function Qt(){return n.ByID(3369612893)}function xt(e,t){return n.ByID(252556992,e,t)}function kt(e){return n.ByID(1704369097,e)}function Kt(e,t){return n.ByID(1399113254,e,t).then(r=>rn(r))}function N(){return n.ByID(2936263106).then(e=>j(e))}const S=i.Category.createFrom,Xt=o.Array(S),j=o.Map(o.Any,o.Any),Yt=o.Array(o.Any),Zt=o.Array(o.Any),en=i.Setting.createFrom,tn=o.Array(o.Any);var f=function e(...t){return f===e&&(f=nn),f(...t)};const nn=o.Map(o.Any,S),rn=i.ValidationResult.createFrom,on=Object.freeze(Object.defineProperty({__proto__:null,GetBool:Ot,GetCategories:Lt,GetCategory:Mt,GetCategoryValues:Nt,GetFloat:jt,GetFloatSlice:Ht,GetInt:Vt,GetIntSlice:zt,GetSetting:Ut,GetSettingValue:Wt,GetString:Et,GetStringSlice:qt,ListSettings:Jt,LoadSettings:Qt,SetSetting:xt,SetSettings:kt,ValidateSetting:Kt,Values:N},Symbol.toStringTag,{value:"Module"}));class g{constructor(t={}){s(this,"type");s(this,"label");s(this,"target");"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new g(r)}}class m{constructor(t={}){s(this,"type");s(this,"title");s(this,"status");s(this,"detail");s(this,"instance");s(this,"suggestions");s(this,"actions");s(this,"code");s(this,"requestId");s(this,"recovery");s(this,"location");"type"in t||(this.type=""),"title"in t||(this.title=""),"status"in t||(this.status=0),"detail"in t||(this.detail=""),Object.assign(this,t)}static createFrom(t={}){const r=cn,c=sn,u=yn;let a=typeof t=="string"?JSON.parse(t):t;return"suggestions"in a&&(a.suggestions=r(a.suggestions)),"actions"in a&&(a.actions=c(a.actions)),"location"in a&&(a.location=u(a.location)),new m(a)}}class F{constructor(t={}){s(this,"start");s(this,"end");s(this,"unit");"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new F(r)}}const cn=o.Array(o.Any),un=g.createFrom,sn=o.Array(un),an=F.createFrom,yn=o.Nullable(an);class D{constructor(t={}){s(this,"type");s(this,"data");s(this,"error");"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=ln,c=pn;let u=typeof t=="string"?JSON.parse(t):t;return"data"in u&&(u.data=r(u.data)),"error"in u&&(u.error=c(u.error)),new D(u)}}class A{constructor(t={}){s(this,"sequence");s(this,"event");s(this,"terminal");"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=fn;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new A(c)}}class b{constructor(t={}){s(this,"connection");s(this,"started");s(this,"resources");s(this,"resourceCounts");s(this,"totalResources");s(this,"syncedCount");s(this,"errorCount");s(this,"lastSyncTime");"connection"in t||(this.connection=new i.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=hn,c=Dn,u=In;let a=typeof t=="string"?JSON.parse(t):t;return"connection"in a&&(a.connection=r(a.connection)),"resources"in a&&(a.resources=c(a.resources)),"resourceCounts"in a&&(a.resourceCounts=u(a.resourceCounts)),new b(a)}}const ln=o.Map(o.Any,o.Any),$n=m.createFrom,pn=o.Nullable($n),fn=D.createFrom,hn=i.Connection.createFrom,Dn=o.Map(o.Any,o.Any),In=o.Map(o.Any,o.Any);function Bn(e,t){return n.ByID(4065522324,e,t)}function H(e){return n.ByID(2393377246,e).then(t=>jn(t))}function V(e){return n.ByID(1090099505,e)}function Tn(e,t){return n.ByID(1688967279,e,t).then(r=>pe(r))}function z(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(u=>Vn(u))}function U(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(u=>Un(u))}function dn(e,t,r){return n.ByID(1338477906,e,t,r)}function W(e,t,r,c,u){return n.ByID(1844283666,e,t,r,c,u).then(a=>En(a))}function Sn(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(u=>Jn(u))}function E(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(u=>xn(u))}function q(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Kn(c))}function J(){return n.ByID(4153677080).then(e=>Zn(e))}function Q(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function x(e,t){return n.ByID(537508515,e,t).then(r=>fe(r))}function k(e,t){return n.ByID(1394342402,e,t).then(r=>tr(r))}function gn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>rr(c))}function mn(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(u=>cr(u))}function Fn(e,t){return n.ByID(2699561690,e,t).then(r=>ur(r))}function An(e,t){return n.ByID(1474609809,e,t).then(r=>ar(r))}function bn(e,t){return n.ByID(4077050094,e,t).then(r=>yr(r))}function Gn(e,t,r,c,u,a){return n.ByID(3171791798,e,t,r,c,u,a).then(y=>$r(y))}function Pn(e,t){return n.ByID(114848330,e,t).then(r=>he(r))}function K(e,t){return n.ByID(4290498491,e,t).then(r=>pr(r))}function Cn(e,t,r){return n.ByID(137675652,e,t,r)}function X(e,t){return n.ByID(2078766795,e,t).then(r=>fr(r))}function Y(e,t){return n.ByID(3311395752,e,t).then(r=>hr(r))}function Z(e,t){return n.ByID(42345827,e,t).then(r=>Ir(r))}function Rn(e){return n.ByID(854008408,e)}function vn(e,t){return n.ByID(3547410887,e,t)}function _n(e,t,r){return n.ByID(3516169863,e,t,r)}function ee(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(u=>Tr(u))}function te(){return n.ByID(1598984489).then(e=>dr(e))}function ne(e){return n.ByID(1775572154,e).then(t=>G(t))}function wn(){return n.ByID(3217612415).then(e=>fe(e))}function On(e){return n.ByID(2037329938,e).then(t=>G(t))}function re(e,t){return n.ByID(421198049,e,t)}function Ln(e,t,r,c,u){return n.ByID(3987850310,e,t,r,c,u).then(a=>gr(a))}function Mn(e,t,r){return n.ByID(555702059,e,t,r)}function oe(e,t){return n.ByID(3276991559,e,t).then(r=>pe(r))}function ce(e,t){return n.ByID(3389223006,e,t)}function ie(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ue(e,t){return n.ByID(1661153284,e,t)}function Nn(e,t,r){return n.ByID(3981374696,e,t,r)}function se(e,t,r,c,u){return n.ByID(2990116431,e,t,r,c,u)}function ae(e,t,r){return n.ByID(2856546527,e,t,r)}function ye(e,t,r){return n.ByID(3710015102,e,t,r)}function le(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(u=>Fr(u))}function $e(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const jn=A.createFrom,pe=i.ConnectionStatus.createFrom,Hn=i.CreateResult.createFrom,Vn=o.Nullable(Hn),zn=i.DeleteResult.createFrom,Un=o.Nullable(zn),Wn=i.ActionResult.createFrom,En=o.Nullable(Wn),qn=i.FindResult.createFrom,Jn=o.Nullable(qn),Qn=i.GetResult.createFrom,xn=o.Nullable(Qn),kn=i.ActionDescriptor.createFrom,Kn=o.Array(kn),Xn=b.createFrom,Yn=o.Array(Xn),Zn=o.Map(o.Any,Yn),I=i.Connection.createFrom,fe=o.Array(o.Any),er=i.EditorSchema.createFrom,tr=o.Array(er),nr=i.FilterField.createFrom,rr=o.Array(nr),or=i.ResourceHealth.createFrom,cr=o.Nullable(or),ir=i.RelationshipDescriptor.createFrom,ur=o.Array(ir),sr=i.ResourceCapabilities.createFrom,ar=o.Nullable(sr),yr=i.ResourceDefinition.createFrom,lr=i.ResourceEvent.createFrom,$r=o.Array(lr),he=i.ResourceGroup.createFrom,pr=o.Map(o.Any,he),De=i.ResourceMeta.createFrom,fr=o.Nullable(De),hr=o.Map(o.Any,De),Dr=i.WatchConnectionSummary.createFrom,Ir=o.Nullable(Dr),Br=i.ListResult.createFrom,Tr=o.Nullable(Br),G=o.Array(I),dr=o.Map(o.Any,G),Sr=i.ResolvedRelationship.createFrom,gr=o.Array(Sr),mr=i.UpdateResult.createFrom,Fr=o.Nullable(mr),Ar=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Bn,AttachStreamAction:H,CancelStreamAction:V,CheckConnection:Tn,Create:z,Delete:U,EnsureResourceWatch:dn,ExecuteAction:W,Find:Sn,Get:E,GetActions:q,GetAllConnectionStates:J,GetConnection:Q,GetConnectionNamespaces:x,GetEditorSchemas:k,GetFilterFields:gn,GetHealth:mn,GetRelationships:Fn,GetResourceCapabilities:An,GetResourceDefinition:bn,GetResourceEvents:Gn,GetResourceGroup:Pn,GetResourceGroups:K,GetResourceSchema:Cn,GetResourceType:X,GetResourceTypes:Y,GetWatchState:Z,HasPlugin:Rn,HasResourceType:vn,IsResourceWatchRunning:_n,List:ee,ListAllConnections:te,ListConnections:ne,ListPlugins:wn,LoadConnections:On,RemoveConnection:re,ResolveRelationships:Ln,RestartResourceWatch:Mn,StartConnection:oe,StartConnectionWatch:ce,StopConnection:ie,StopConnectionWatch:ue,StopResourceWatch:Nn,StreamAction:se,SubscribeResource:ae,UnsubscribeResource:ye,Update:le,UpdateConnection:$e},Symbol.toStringTag,{value:"Module"}));function br(e,t){return n.ByID(3653639550,e,t)}function Ie(e,t){return n.ByID(851823419,e,t)}function Gr(e){return n.ByID(2991415449,e).then(t=>Pr(t))}function Be(e,t,r){return n.ByID(2695679023,e,t,r)}const Pr=o.Array(o.Any),Cr=Object.freeze(Object.defineProperty({__proto__:null,Delete:br,Get:Ie,Keys:Gr,Set:Be},Symbol.toStringTag,{value:"Module"}));function Rr(e){return n.ByID(93318075,e).then(t=>(t[0]=p(t[0]),t[1]=o.ByteSlice(t[1]),t))}function vr(e){return n.ByID(1353297556,e)}function Te(e,t,r){return n.ByID(608251756,e,t,r).then(c=>p(c))}function _r(e){return n.ByID(4182196712,e).then(t=>p(t))}function wr(e){return n.ByID(3993344525,e).then(t=>p(t))}function Or(e,t){return n.ByID(1779192716,e,t).then(r=>Er(r))}function Lr(){return n.ByID(4033362541).then(e=>qr(e))}function Mr(e){return n.ByID(2619212338,e).then(t=>Se(t))}function Nr(e){return n.ByID(1371268636,e).then(t=>p(t))}function jr(e){return n.ByID(3881019319,e)}function Hr(){return n.ByID(3006426324).then(e=>Jr(e))}function Vr(){return n.ByID(265791345).then(e=>Qr(e))}function zr(e,t,r){return n.ByID(1492965384,e,t,r)}function Ur(e,t){return n.ByID(486465741,e,t)}const Wr=i.Session.createFrom,p=o.Nullable(Wr),de=i.Handler.createFrom,Er=o.Nullable(de),Se=o.Map(o.Any,de),qr=o.Map(o.Any,Se),Jr=o.Array(o.Any),Qr=o.Array(p),xr=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Rr,CloseSession:vr,CreateSession:Te,CreateTerminal:_r,DetachSession:wr,GetHandler:Or,GetHandlers:Lr,GetPluginHandlers:Mr,GetSession:Nr,HasPlugin:jr,ListPlugins:Hr,ListSessions:Vr,ResizeSession:zr,WriteSession:Ur},Symbol.toStringTag,{value:"Module"}));function ge(e){return n.ByID(2776241946,e)}function me(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function kr(e){return n.ByID(1474987050,e).then(t=>B(t))}function Kr(e){return n.ByID(3156347865,e).then(t=>oo(t))}function Xr(e){return n.ByID(1444002509,e)}function Yr(){return n.ByID(3104582886).then(e=>co(e))}function Zr(){return n.ByID(2249742267).then(e=>io(e))}function eo(e,t){return n.ByID(1212190993,e,t)}function to(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const no=i.LogSession.createFrom,B=o.Nullable(no),ro=i.Handler$1.createFrom,oo=o.Array(ro),co=o.Array(o.Any),io=o.Array(B),uo=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:ge,CreateSession:me,GetSession:kr,GetSupportedResources:Kr,HasPlugin:Xr,ListPlugins:Yr,ListSessions:Zr,SendCommand:eo,UpdateSessionOptions:to},Symbol.toStringTag,{value:"Module"}));class P{constructor(t={}){s(this,"plugin_id");s(this,"provider_id");s(this,"name");s(this,"icon");s(this,"description");s(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=ao;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const so=i.Handler$2.createFrom,ao=o.Array(so);function Fe(){return n.ByID(3919346639).then(e=>Ce(e))}function Ae(e){return n.ByID(3953821778,e).then(t=>Ce(t))}function yo(e){return n.ByID(1815388456,e)}function lo(){return n.ByID(2730149903).then(e=>fo(e))}function $o(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>Re(c))}function be(e,t,r,c,u,a,y,$,We,Ee){return n.ByID(2480040278,e,t,r,c,u,a,y,$,We,Ee).then(qe=>Do(qe))}function Ge(e,t,r){return n.ByID(3738888803,e,t,r)}function Pe(e){return n.ByID(3994236150,e)}const po=P.createFrom,Ce=o.Array(po),fo=o.Array(o.Any),ho=i.QueryResponse.createFrom,Re=o.Nullable(ho),Do=o.Map(o.Any,Re),Io=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Fe,GetProvidersForResource:Ae,HasPlugin:yo,ListPlugins:lo,Query:$o,QueryAll:be,Subscribe:Ge,Unsubscribe:Pe},Symbol.toStringTag,{value:"Module"}));function ve(e){return n.ByID(182596922,e).then(t=>T(t))}function _e(e,t,r){return n.ByID(981100722,e,t,r).then(c=>C(c))}function Bo(e){return n.ByID(2157304970,e).then(t=>T(t))}function To(e){return n.ByID(650882,e).then(t=>Le(t))}function So(e){return n.ByID(3624690437,e)}function we(){return n.ByID(2195697754).then(e=>C(e))}function go(){return n.ByID(167463150).then(e=>Le(e))}function mo(e,t){return n.ByID(2090415403,e,t).then(r=>C(r))}function Oe(e,t,r){return n.ByID(780445954,e,t,r).then(c=>T(c))}const Fo=i.PortForwardSession.createFrom,T=o.Nullable(Fo),C=o.Array(T),Le=o.Array(o.Any),Ao=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:ve,FindPortForwardSessions:_e,GetPortForwardSession:Bo,GetSupportedPortForwardTargets:To,HasPlugin:So,ListAllPortForwardSessions:we,ListPlugins:go,ListPortForwardSessions:mo,StartResourcePortForwardingSession:Oe},Symbol.toStringTag,{value:"Module"}));function bo(e){return n.ByID(2106300110,e).then(t=>Po(t))}function Me(e){return n.ByID(765209827,e).then(t=>Co(t))}function Go(e){return n.ByID(2355436169,e).then(t=>je(t))}const Ne=i.ResourceComponent.createFrom,je=o.Array(Ne),Po=o.Map(o.Any,je),Co=o.Nullable(Ne),Ro=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:bo,GetResourceAreaComponent:Me,GetResourceComponents:Go},Symbol.toStringTag,{value:"Module"}));function He(e,t,r,c,u,a){return n.ByID(3749557463,e,t,r,c,u,a).then(y=>wo(y))}function Ve(e,t,r,c,u,a,y){return n.ByID(3912521777,e,t,r,c,u,a,y).then($=>Ue($))}function vo(e,t,r,c,u,a,y){return n.ByID(1916045973,e,t,r,c,u,a,y).then($=>Lo($))}function ze(e,t,r,c,u,a,y){return n.ByID(210990208,e,t,r,c,u,a,y).then($=>No($))}const _o=i.DependencyTree.createFrom,wo=o.Nullable(_o),Oo=i.GraphEdge.createFrom,Ue=o.Array(Oo),Lo=o.Array(Ue),Mo=i.Subgraph.createFrom,No=o.Nullable(Mo),jo=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:He,GetRelated:Ve,GetRelationshipChain:vo,GetSubgraph:ze},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=H;exports.CancelStreamAction=V;exports.ClosePortForwardSession=ve;exports.CloseSession=ge;exports.Create=z;exports.CreateSession=Te;exports.CreateSession$1=me;exports.Delete=U;exports.ExecuteAction=W;exports.FindPortForwardSessions=_e;exports.Get=Ie;exports.Get$1=E;exports.GetActions=q;exports.GetAllConnectionStates=J;exports.GetConnection=Q;exports.GetConnectionNamespaces=x;exports.GetDependencyTree=He;exports.GetEditorSchemas=k;exports.GetPluginMeta=w;exports.GetProviders=Fe;exports.GetProvidersForResource=Ae;exports.GetRelated=Ve;exports.GetResourceAreaComponent=Me;exports.GetResourceGroups=K;exports.GetResourceType=X;exports.GetResourceTypes=Y;exports.GetSubgraph=ze;exports.GetWatchState=Z;exports.List=ee;exports.ListAllConnections=te;exports.ListAllPortForwardSessions=we;exports.ListConnections=ne;exports.PluginValues=R;exports.QueryAll=be;exports.RemoveConnection=re;exports.RetryFailedPlugin=O;exports.Set=Be;exports.StartConnection=oe;exports.StartConnectionWatch=ce;exports.StartResourcePortForwardingSession=Oe;exports.StopConnection=ie;exports.StopConnectionWatch=ue;exports.StreamAction=se;exports.Subscribe=Ge;exports.SubscribeResource=ae;exports.Unsubscribe=Pe;exports.UnsubscribeResource=ye;exports.Update=le;exports.UpdateConnection=$e;exports.Values=N;exports.graphservice=jo;exports.servicewrapper=xr;exports.servicewrapper$1=Ao;exports.servicewrapper$2=wt;exports.servicewrapper$3=Ar;exports.servicewrapper$4=ct;exports.servicewrapper$5=on;exports.servicewrapper$6=Ro;exports.servicewrapper$7=uo;exports.servicewrapper$8=Io;exports.servicewrapper$9=Cr;
|