@omniviewdev/runtime 0.5.0 → 0.6.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/runtime.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-D_aIcqH0.cjs"),d=require("./events-BTiuwc-0.cjs"),A=require("./calls-DZctVyoQ.cjs"),w=n.newRuntimeCaller(n.objectNames.Application),_=0,M=1,C=2;function j(){return w(_)}function O(){return w(M)}function W(){return w(C)}const T=Object.freeze(Object.defineProperty({__proto__:null,Hide:j,Quit:W,Show:O},Symbol.toStringTag,{value:"Module"})),p=n.newRuntimeCaller(n.objectNames.Clipboard),D=0,E=1;function R(t){return p(D,{text:t})}function L(){return p(E)}const x=Object.freeze(Object.defineProperty({__proto__:null,SetText:R,Text:L},Symbol.toStringTag,{value:"Module"}));n.hasDOM&&(window._wails=window._wails||{});const P=n.newRuntimeCaller(n.objectNames.Dialog),I=0,B=1,G=2,k=3,q=4,z=5;function s(t,e={}){return P(t,e)}function F(t){return s(I,t)}function $(t){return s(B,t)}function Q(t){return s(G,t)}function y(t){return s(k,t)}function N(t){var e;return(e=s(q,t))!==null&&e!==void 0?e:[]}function Y(t){return s(z,t)}const H=Object.freeze(Object.defineProperty({__proto__:null,Error:Q,Info:F,OpenFile:N,Question:y,SaveFile:Y,Warning:$},Symbol.toStringTag,{value:"Module"})),u=n.newRuntimeCaller(n.objectNames.Screens),U=0,J=1,K=2,V=3,X=4;function Z(){return u(U)}function tt(){return u(J)}function et(){return u(K)}function nt(t){return u(V,{id:t})}function ot(t){return u(X,{index:t})}const rt=Object.freeze(Object.defineProperty({__proto__:null,GetAll:Z,GetByID:nt,GetByIndex:ot,GetCurrent:et,GetPrimary:tt},Symbol.toStringTag,{value:"Module"}));function it(t,e=null){d.Emit(t,e)}function lt(t,e){const o=n.thisWindow.Get(t),r=o[e];if(typeof r!="function"){console.error(`Window method '${e}' not found`);return}try{r.call(o)}catch(i){console.error(`Error calling window method '${e}': `,i)}}function h(t){const e=t.currentTarget;function o(i="Yes"){if(i!=="Yes")return;const a=e.getAttribute("wml-event")||e.getAttribute("data-wml-event"),f=e.getAttribute("wml-target-window")||e.getAttribute("data-wml-target-window")||"",b=e.getAttribute("wml-window")||e.getAttribute("data-wml-window"),m=e.getAttribute("wml-openurl")||e.getAttribute("data-wml-openurl");a!==null&&it(a),b!==null&&lt(f,b),m!==null&&d.OpenURL(m)}const r=e.getAttribute("wml-confirm")||e.getAttribute("data-wml-confirm");r?y({Title:"Confirm",Message:r,Detached:!1,Buttons:[{Label:"Yes"},{Label:"No",IsDefault:!0}]}).then(o):o()}const g=Symbol("controller"),c=Symbol("triggerMap"),l=Symbol("elementCount");class st{constructor(){this[g]=new AbortController}set(e,o){return{signal:this[g].signal}}reset(){this[g].abort(),this[g]=new AbortController}}class ct{constructor(){this[c]=new WeakMap,this[l]=0}set(e,o){return this[c].has(e)||this[l]++,this[c].set(e,o),{}}reset(){if(!(this[l]<=0)){for(const e of document.body.querySelectorAll("*")){if(this[l]<=0)break;const o=this[c].get(e);o!=null&&this[l]--;for(const r of o||[])e.removeEventListener(r,h)}this[c]=new WeakMap,this[l]=0}}}const S=n.canAbortListeners()?new st:new ct;function ut(t){const e=/\S+/g,o=t.getAttribute("wml-trigger")||t.getAttribute("data-wml-trigger")||"click",r=[];let i;for(;(i=e.exec(o))!==null;)r.push(i[0]);const a=S.set(t,r);for(const f of r)t.addEventListener(f,h,a)}function at(){n.whenReady(v)}function v(){S.reset(),document.body.querySelectorAll("[wml-event], [wml-window], [wml-openurl], [data-wml-event], [data-wml-window], [data-wml-openurl]").forEach(ut)}const gt=Object.freeze(Object.defineProperty({__proto__:null,Enable:at,Reload:v},Symbol.toStringTag,{value:"Module"}));exports.Flags=n.flags;exports.System=n.system;exports.Window=n.thisWindow;exports.Browser=d.browser;exports.Events=d.events;exports.Call=A.calls;exports.Application=T;exports.Clipboard=x;exports.Dialogs=H;exports.Screens=rt;exports.WML=gt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-D_aIcqH0.cjs"),d=require("./events-CtgYnKmS.cjs"),A=require("./calls-DUhq86Ki.cjs"),w=n.newRuntimeCaller(n.objectNames.Application),_=0,M=1,C=2;function j(){return w(_)}function O(){return w(M)}function W(){return w(C)}const T=Object.freeze(Object.defineProperty({__proto__:null,Hide:j,Quit:W,Show:O},Symbol.toStringTag,{value:"Module"})),p=n.newRuntimeCaller(n.objectNames.Clipboard),D=0,E=1;function R(t){return p(D,{text:t})}function L(){return p(E)}const x=Object.freeze(Object.defineProperty({__proto__:null,SetText:R,Text:L},Symbol.toStringTag,{value:"Module"}));n.hasDOM&&(window._wails=window._wails||{});const P=n.newRuntimeCaller(n.objectNames.Dialog),I=0,B=1,G=2,k=3,q=4,z=5;function s(t,e={}){return P(t,e)}function F(t){return s(I,t)}function $(t){return s(B,t)}function Q(t){return s(G,t)}function y(t){return s(k,t)}function N(t){var e;return(e=s(q,t))!==null&&e!==void 0?e:[]}function Y(t){return s(z,t)}const H=Object.freeze(Object.defineProperty({__proto__:null,Error:Q,Info:F,OpenFile:N,Question:y,SaveFile:Y,Warning:$},Symbol.toStringTag,{value:"Module"})),u=n.newRuntimeCaller(n.objectNames.Screens),U=0,J=1,K=2,V=3,X=4;function Z(){return u(U)}function tt(){return u(J)}function et(){return u(K)}function nt(t){return u(V,{id:t})}function ot(t){return u(X,{index:t})}const rt=Object.freeze(Object.defineProperty({__proto__:null,GetAll:Z,GetByID:nt,GetByIndex:ot,GetCurrent:et,GetPrimary:tt},Symbol.toStringTag,{value:"Module"}));function it(t,e=null){d.Emit(t,e)}function lt(t,e){const o=n.thisWindow.Get(t),r=o[e];if(typeof r!="function"){console.error(`Window method '${e}' not found`);return}try{r.call(o)}catch(i){console.error(`Error calling window method '${e}': `,i)}}function h(t){const e=t.currentTarget;function o(i="Yes"){if(i!=="Yes")return;const a=e.getAttribute("wml-event")||e.getAttribute("data-wml-event"),f=e.getAttribute("wml-target-window")||e.getAttribute("data-wml-target-window")||"",b=e.getAttribute("wml-window")||e.getAttribute("data-wml-window"),m=e.getAttribute("wml-openurl")||e.getAttribute("data-wml-openurl");a!==null&&it(a),b!==null&&lt(f,b),m!==null&&d.OpenURL(m)}const r=e.getAttribute("wml-confirm")||e.getAttribute("data-wml-confirm");r?y({Title:"Confirm",Message:r,Detached:!1,Buttons:[{Label:"Yes"},{Label:"No",IsDefault:!0}]}).then(o):o()}const g=Symbol("controller"),c=Symbol("triggerMap"),l=Symbol("elementCount");class st{constructor(){this[g]=new AbortController}set(e,o){return{signal:this[g].signal}}reset(){this[g].abort(),this[g]=new AbortController}}class ct{constructor(){this[c]=new WeakMap,this[l]=0}set(e,o){return this[c].has(e)||this[l]++,this[c].set(e,o),{}}reset(){if(!(this[l]<=0)){for(const e of document.body.querySelectorAll("*")){if(this[l]<=0)break;const o=this[c].get(e);o!=null&&this[l]--;for(const r of o||[])e.removeEventListener(r,h)}this[c]=new WeakMap,this[l]=0}}}const S=n.canAbortListeners()?new st:new ct;function ut(t){const e=/\S+/g,o=t.getAttribute("wml-trigger")||t.getAttribute("data-wml-trigger")||"click",r=[];let i;for(;(i=e.exec(o))!==null;)r.push(i[0]);const a=S.set(t,r);for(const f of r)t.addEventListener(f,h,a)}function at(){n.whenReady(v)}function v(){S.reset(),document.body.querySelectorAll("[wml-event], [wml-window], [wml-openurl], [data-wml-event], [data-wml-window], [data-wml-openurl]").forEach(ut)}const gt=Object.freeze(Object.defineProperty({__proto__:null,Enable:at,Reload:v},Symbol.toStringTag,{value:"Module"}));exports.Flags=n.flags;exports.System=n.system;exports.Window=n.thisWindow;exports.Browser=d.browser;exports.Events=d.events;exports.Call=A.calls;exports.Application=T;exports.Clipboard=x;exports.Dialogs=H;exports.Screens=rt;exports.WML=gt;
package/dist/runtime.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { n as g, o as f, h as _, w as v, c as M, t as C } from "./index-D2mKAO8s.js";
2
2
  import { f as At, s as _t } from "./index-D2mKAO8s.js";
3
- import { a as O, E as W } from "./events-DDTGFACO.js";
4
- import { c as Mt, e as Ct } from "./events-DDTGFACO.js";
5
- import { c as Wt } from "./calls-BmUnjINC.js";
3
+ import { a as O, E as W } from "./events-Bcx6NsMp.js";
4
+ import { b as Mt, e as Ct } from "./events-Bcx6NsMp.js";
5
+ import { c as Wt } from "./calls-C1yoW06C.js";
6
6
  const w = g(f.Application), D = 0, E = 1, T = 2;
7
7
  function x() {
8
8
  return w(D);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Omniview",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@omniviewdev/runtime",
5
- "version": "0.5.0",
5
+ "version": "0.6.0",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "omniview"
53
53
  ],
54
54
  "devDependencies": {
55
- "@omniviewdev/base-ui": "~0.5.0",
55
+ "@omniviewdev/base-ui": "~0.7.0",
56
56
  "@tanstack/react-query": "^5.76.1",
57
57
  "@types/node": "^25.5.0",
58
58
  "@types/react": "^19.0.0",
@@ -66,7 +66,7 @@
66
66
  "vite-plugin-dts": "^4.5.3"
67
67
  },
68
68
  "peerDependencies": {
69
- "@omniviewdev/base-ui": "~0.5.0"
69
+ "@omniviewdev/base-ui": "~0.7.0"
70
70
  },
71
71
  "dependencies": {
72
72
  "@wailsio/runtime": "3.0.0-beta.34",
@@ -1 +0,0 @@
1
- "use strict";var He=Object.defineProperty;var ze=(e,t,r)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var a=(e,t,r)=>ze(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),u=require("./models-CGYstu7u.cjs"),n=require("./calls-DZctVyoQ.cjs");function Ue(e,t){return n.ByID(3867104420,e,t).then(r=>P(r))}function We(e){return n.ByID(3795411887,e)}function Ve(){return n.ByID(1053995964).then(e=>ke(e))}function Ee(e){return n.ByID(3231741321,e).then(t=>Je(t))}function G(e){return n.ByID(2597562645,e).then(t=>b(t))}function Qe(e,t,r){return n.ByID(1481837168,e,t,r)}function qe(e,t){return n.ByID(230212281,e,t)}function xe(){return n.ByID(2408440370).then(e=>b(e))}const P=u.Setting.createFrom,ke=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:Ue,HasPlugin:We,ListPlugins:Ve,ListSettings:Ee,PluginValues:G,SetSetting:Qe,SetSettings:qe,Values:xe},Symbol.toStringTag,{value:"Module"}));function Xe(e){return n.ByID(3150413499,e).then(t=>$(t))}function Ye(e){return n.ByID(1152913314,e).then(t=>It(t))}function F(e){return n.ByID(111194374,e).then(t=>T(t))}function Ze(e){return n.ByID(3945933305,e)}function et(e){return n.ByID(2859775056,e).then(t=>R(t))}function tt(e,t){return n.ByID(2209599792,e,t).then(r=>St(r))}function nt(e){return n.ByID(3963363730,e).then(t=>R(t))}function rt(e){return n.ByID(1357029266,e).then(t=>$(t))}function ot(){return n.ByID(2477486666).then(e=>D(e))}function ct(){return n.ByID(976517756).then(e=>D(e))}function ut(e){return n.ByID(1020548995,e).then(t=>D(t))}function it(e,t){return n.ByID(2004740384,e,t).then(r=>D(r))}function st(){return n.ByID(873697101).then(e=>v(e))}function at(){return n.ByID(637134283).then(e=>gt(e))}function yt(){return n.ByID(550607756).then(e=>mt(e))}function $t(e,t){return n.ByID(288660195,e,t).then(r=>$(r))}function lt(e){return n.ByID(1771013494,e).then(t=>$(t))}function C(e){return n.ByID(2433379724,e).then(t=>$(t))}function pt(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>v(c))}function ft(e){return n.ByID(1369550929,e).then(t=>$(t))}function Dt(e){return n.ByID(3828800061,e).then(t=>$(t))}const $=u.PluginInfo.createFrom,ht=u.DownloadStats.createFrom,It=o.Nullable(ht),T=u.PluginMeta.createFrom,Bt=u.VersionInfo.createFrom,R=o.Array(Bt),Tt=u.Review.createFrom,St=o.Array(Tt),D=o.Nullable(T),dt=u.AvailablePlugin.createFrom,v=o.Array(dt),gt=o.Array(T),mt=o.Array($),At=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Xe,GetPluginDownloadStats:Ye,GetPluginMeta:F,GetPluginReadme:Ze,GetPluginReleaseHistory:et,GetPluginReviews:tt,GetPluginVersions:nt,InstallDevPluginFromPath:rt,InstallFromPathPrompt:ot,InstallInDevMode:ct,InstallPluginFromPath:ut,InstallPluginVersion:it,ListAvailablePlugins:st,ListPluginMetas:at,ListPlugins:yt,LoadPlugin:$t,ReloadPlugin:lt,RetryFailedPlugin:C,SearchPlugins:pt,UninstallPlugin:ft,UnlinkDevPlugin:Dt},Symbol.toStringTag,{value:"Module"}));function Gt(e){return n.ByID(122243240,e)}function Pt(){return n.ByID(269082212).then(e=>Ut(e))}function bt(e){return n.ByID(1421156656,e).then(t=>S(t))}function Ft(e){return n.ByID(3143996982,e).then(t=>w(t))}function Ct(e){return n.ByID(1695819138,e)}function Rt(e){return n.ByID(1827194808,e).then(t=>Wt(t))}function vt(e){return n.ByID(72059321,e)}function _t(e){return n.ByID(62418781,e).then(t=>Vt(t))}function wt(e){return n.ByID(2222012564,e).then(t=>Et(t))}function Lt(e){return n.ByID(2753368941,e)}function Mt(e){return n.ByID(3825211425,e)}function Ot(e){return n.ByID(2121298005,e).then(t=>Qt(t))}function Nt(){return n.ByID(3038957305).then(e=>f(e))}function jt(){return n.ByID(3369612893)}function Ht(e,t){return n.ByID(252556992,e,t)}function zt(e){return n.ByID(1704369097,e)}function _(){return n.ByID(2936263106).then(e=>w(e))}const S=u.Category.createFrom,Ut=o.Array(S),w=o.Map(o.Any,o.Any),Wt=o.Array(o.Any),Vt=o.Array(o.Any),Et=u.Setting.createFrom,Qt=o.Array(o.Any);var f=function e(...t){return f===e&&(f=qt),f(...t)};const qt=o.Map(o.Any,S),xt=Object.freeze(Object.defineProperty({__proto__:null,GetBool:Gt,GetCategories:Pt,GetCategory:bt,GetCategoryValues:Ft,GetFloat:Ct,GetFloatSlice:Rt,GetInt:vt,GetIntSlice:_t,GetSetting:wt,GetSettingValue:Lt,GetString:Mt,GetStringSlice:Ot,ListSettings:Nt,LoadSettings:jt,SetSetting:Ht,SetSettings:zt,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=kt,c=Jt,i=Kt;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 kt=u.Connection.createFrom,Jt=o.Map(o.Any,o.Any),Kt=o.Map(o.Any,o.Any);function Xt(e,t){return n.ByID(4065522324,e,t)}function Yt(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=>Tn(i))}function M(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(i=>dn(i))}function Zt(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=>mn(s))}function en(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(i=>Gn(i))}function N(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(i=>bn(i))}function j(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Cn(c))}function H(){return n.ByID(4153677080).then(e=>_n(e))}function z(e,t){return n.ByID(950535743,e,t).then(r=>h(r))}function U(e,t){return n.ByID(537508515,e,t).then(r=>ie(r))}function W(e,t){return n.ByID(1394342402,e,t).then(r=>Ln(r))}function tn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>On(c))}function nn(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(i=>jn(i))}function rn(e,t){return n.ByID(2699561690,e,t).then(r=>zn(r))}function on(e,t){return n.ByID(1474609809,e,t).then(r=>Wn(r))}function cn(e,t){return n.ByID(4077050094,e,t).then(r=>Vn(r))}function un(e,t,r,c,i,s){return n.ByID(3171791798,e,t,r,c,i,s).then(y=>Qn(y))}function sn(e,t){return n.ByID(114848330,e,t).then(r=>se(r))}function V(e,t){return n.ByID(4290498491,e,t).then(r=>qn(r))}function an(e,t,r){return n.ByID(137675652,e,t,r)}function E(e,t){return n.ByID(2078766795,e,t).then(r=>xn(r))}function Q(e,t){return n.ByID(3311395752,e,t).then(r=>kn(r))}function q(e,t){return n.ByID(42345827,e,t).then(r=>Kn(r))}function yn(e){return n.ByID(854008408,e)}function $n(e,t){return n.ByID(3547410887,e,t)}function ln(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=>Yn(i))}function k(){return n.ByID(1598984489).then(e=>Zn(e))}function J(e){return n.ByID(1775572154,e).then(t=>g(t))}function pn(){return n.ByID(3217612415).then(e=>ie(e))}function fn(e){return n.ByID(2037329938,e).then(t=>g(t))}function K(e,t){return n.ByID(421198049,e,t)}function Dn(e,t,r,c,i){return n.ByID(3987850310,e,t,r,c,i).then(s=>tr(s))}function hn(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 In(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=>rr(i))}function ce(e,t){return n.ByID(2131988692,e,t).then(r=>h(r))}const ue=u.ConnectionStatus.createFrom,Bn=u.CreateResult.createFrom,Tn=o.Nullable(Bn),Sn=u.DeleteResult.createFrom,dn=o.Nullable(Sn),gn=u.ActionResult.createFrom,mn=o.Nullable(gn),An=u.FindResult.createFrom,Gn=o.Nullable(An),Pn=u.GetResult.createFrom,bn=o.Nullable(Pn),Fn=u.ActionDescriptor.createFrom,Cn=o.Array(Fn),Rn=d.createFrom,vn=o.Array(Rn),_n=o.Map(o.Any,vn),h=u.Connection.createFrom,ie=o.Array(o.Any),wn=u.EditorSchema.createFrom,Ln=o.Array(wn),Mn=u.FilterField.createFrom,On=o.Array(Mn),Nn=u.ResourceHealth.createFrom,jn=o.Nullable(Nn),Hn=u.RelationshipDescriptor.createFrom,zn=o.Array(Hn),Un=u.ResourceCapabilities.createFrom,Wn=o.Nullable(Un),Vn=u.ResourceDefinition.createFrom,En=u.ResourceEvent.createFrom,Qn=o.Array(En),se=u.ResourceGroup.createFrom,qn=o.Map(o.Any,se),ae=u.ResourceMeta.createFrom,xn=o.Nullable(ae),kn=o.Map(o.Any,ae),Jn=u.WatchConnectionSummary.createFrom,Kn=o.Nullable(Jn),Xn=u.ListResult.createFrom,Yn=o.Nullable(Xn),g=o.Array(h),Zn=o.Map(o.Any,g),er=u.ResolvedRelationship.createFrom,tr=o.Array(er),nr=u.UpdateResult.createFrom,rr=o.Nullable(nr),or=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Xt,CheckConnection:Yt,Create:L,Delete:M,EnsureResourceWatch:Zt,ExecuteAction:O,Find:en,Get:N,GetActions:j,GetAllConnectionStates:H,GetConnection:z,GetConnectionNamespaces:U,GetEditorSchemas:W,GetFilterFields:tn,GetHealth:nn,GetRelationships:rn,GetResourceCapabilities:on,GetResourceDefinition:cn,GetResourceEvents:un,GetResourceGroup:sn,GetResourceGroups:V,GetResourceSchema:an,GetResourceType:E,GetResourceTypes:Q,GetWatchState:q,HasPlugin:yn,HasResourceType:$n,IsResourceWatchRunning:ln,List:x,ListAllConnections:k,ListConnections:J,ListPlugins:pn,LoadConnections:fn,RemoveConnection:K,ResolveRelationships:Dn,RestartResourceWatch:hn,StartConnection:X,StartConnectionWatch:Y,StopConnection:Z,StopConnectionWatch:ee,StopResourceWatch:In,StreamAction:te,SubscribeResource:ne,UnsubscribeResource:re,Update:oe,UpdateConnection:ce},Symbol.toStringTag,{value:"Module"}));function cr(e,t){return n.ByID(3653639550,e,t)}function ye(e,t){return n.ByID(851823419,e,t)}function ur(e){return n.ByID(2991415449,e).then(t=>ir(t))}function $e(e,t,r){return n.ByID(2695679023,e,t,r)}const ir=o.Array(o.Any),sr=Object.freeze(Object.defineProperty({__proto__:null,Delete:cr,Get:ye,Keys:ur,Set:$e},Symbol.toStringTag,{value:"Module"}));function ar(e){return n.ByID(93318075,e).then(t=>(t[0]=p(t[0]),t[1]=o.ByteSlice(t[1]),t))}function yr(e){return n.ByID(1353297556,e)}function le(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 lr(e){return n.ByID(3993344525,e).then(t=>p(t))}function pr(e,t){return n.ByID(1779192716,e,t).then(r=>mr(r))}function fr(){return n.ByID(4033362541).then(e=>Ar(e))}function Dr(e){return n.ByID(2619212338,e).then(t=>fe(t))}function hr(e){return n.ByID(1371268636,e).then(t=>p(t))}function Ir(e){return n.ByID(3881019319,e)}function Br(){return n.ByID(3006426324).then(e=>Gr(e))}function Tr(){return n.ByID(265791345).then(e=>Pr(e))}function Sr(e,t,r){return n.ByID(1492965384,e,t,r)}function dr(e,t){return n.ByID(486465741,e,t)}const gr=u.Session.createFrom,p=o.Nullable(gr),pe=u.Handler.createFrom,mr=o.Nullable(pe),fe=o.Map(o.Any,pe),Ar=o.Map(o.Any,fe),Gr=o.Array(o.Any),Pr=o.Array(p),br=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:ar,CloseSession:yr,CreateSession:le,CreateTerminal:$r,DetachSession:lr,GetHandler:pr,GetHandlers:fr,GetPluginHandlers:Dr,GetSession:hr,HasPlugin:Ir,ListPlugins:Br,ListSessions:Tr,ResizeSession:Sr,WriteSession:dr},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 Fr(e){return n.ByID(1474987050,e).then(t=>I(t))}function Cr(e){return n.ByID(3156347865,e).then(t=>Nr(t))}function Rr(e){return n.ByID(1444002509,e)}function vr(){return n.ByID(3104582886).then(e=>jr(e))}function _r(){return n.ByID(2249742267).then(e=>Hr(e))}function wr(e,t){return n.ByID(1212190993,e,t)}function Lr(e,t){return n.ByID(2177127885,e,t).then(r=>I(r))}const Mr=u.LogSession.createFrom,I=o.Nullable(Mr),Or=u.Handler$1.createFrom,Nr=o.Array(Or),jr=o.Array(o.Any),Hr=o.Array(I),zr=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:De,CreateSession:he,GetSession:Fr,GetSupportedResources:Cr,HasPlugin:Rr,ListPlugins:vr,ListSessions:_r,SendCommand:wr,UpdateSessionOptions:Lr},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=Wr;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new m(c)}}const Ur=u.Handler$2.createFrom,Wr=o.Array(Ur);function Ie(){return n.ByID(3919346639).then(e=>ge(e))}function Be(e){return n.ByID(3953821778,e).then(t=>ge(t))}function Vr(e){return n.ByID(1815388456,e)}function Er(){return n.ByID(2730149903).then(e=>xr(e))}function Qr(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>me(c))}function Te(e,t,r,c,i,s,y,l,Oe,Ne){return n.ByID(2480040278,e,t,r,c,i,s,y,l,Oe,Ne).then(je=>Jr(je))}function Se(e,t,r){return n.ByID(3738888803,e,t,r)}function de(e){return n.ByID(3994236150,e)}const qr=m.createFrom,ge=o.Array(qr),xr=o.Array(o.Any),kr=u.QueryResponse.createFrom,me=o.Nullable(kr),Jr=o.Map(o.Any,me),Kr=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Ie,GetProvidersForResource:Be,HasPlugin:Vr,ListPlugins:Er,Query:Qr,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 Xr(e){return n.ByID(2157304970,e).then(t=>B(t))}function Yr(e){return n.ByID(650882,e).then(t=>Fe(t))}function Zr(e){return n.ByID(3624690437,e)}function Pe(){return n.ByID(2195697754).then(e=>A(e))}function eo(){return n.ByID(167463150).then(e=>Fe(e))}function to(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 no=u.PortForwardSession.createFrom,B=o.Nullable(no),A=o.Array(B),Fe=o.Array(o.Any),ro=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:Ae,FindPortForwardSessions:Ge,GetPortForwardSession:Xr,GetSupportedPortForwardTargets:Yr,HasPlugin:Zr,ListAllPortForwardSessions:Pe,ListPlugins:eo,ListPortForwardSessions:to,StartResourcePortForwardingSession:be},Symbol.toStringTag,{value:"Module"}));function oo(e){return n.ByID(2106300110,e).then(t=>uo(t))}function Ce(e){return n.ByID(765209827,e).then(t=>io(t))}function co(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=u.ResourceComponent.createFrom,ve=o.Array(Re),uo=o.Map(o.Any,ve),io=o.Nullable(Re),so=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:oo,GetResourceAreaComponent:Ce,GetResourceComponents:co},Symbol.toStringTag,{value:"Module"}));function _e(e,t,r,c,i,s){return n.ByID(3749557463,e,t,r,c,i,s).then(y=>$o(y))}function we(e,t,r,c,i,s,y){return n.ByID(3912521777,e,t,r,c,i,s,y).then(l=>Me(l))}function ao(e,t,r,c,i,s,y){return n.ByID(1916045973,e,t,r,c,i,s,y).then(l=>po(l))}function Le(e,t,r,c,i,s,y){return n.ByID(210990208,e,t,r,c,i,s,y).then(l=>Do(l))}const yo=u.DependencyTree.createFrom,$o=o.Nullable(yo),lo=u.GraphEdge.createFrom,Me=o.Array(lo),po=o.Array(Me),fo=u.Subgraph.createFrom,Do=o.Nullable(fo),ho=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:_e,GetRelated:we,GetRelationshipChain:ao,GetSubgraph:Le},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=N;exports.GetActions=j;exports.GetAllConnectionStates=H;exports.GetConnection=z;exports.GetConnectionNamespaces=U;exports.GetDependencyTree=_e;exports.GetEditorSchemas=W;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.GetSubgraph=Le;exports.GetWatchState=q;exports.List=x;exports.ListAllConnections=k;exports.ListAllPortForwardSessions=Pe;exports.ListConnections=J;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=ho;exports.servicewrapper=br;exports.servicewrapper$1=ro;exports.servicewrapper$2=At;exports.servicewrapper$3=or;exports.servicewrapper$4=Ke;exports.servicewrapper$5=xt;exports.servicewrapper$6=so;exports.servicewrapper$7=zr;exports.servicewrapper$8=Kr;exports.servicewrapper$9=sr;