@omniviewdev/runtime 0.15.0 → 0.17.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 +160 -219
- package/dist/bindings/events/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +19 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +16 -0
- package/dist/context/settings/index.d.ts +1 -0
- package/dist/context/settings/settingsWindow.d.ts +4 -0
- package/dist/context/windows/activePageNavigator.d.ts +2 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +400 -381
- package/dist/models-B8VGD21U.cjs +1 -0
- package/dist/models-BJZVpONm.cjs +1 -0
- package/dist/models-BlxGoC2X.js +1463 -0
- package/dist/{models-BJgLAHwq.js → models-ddVn9pLv.js} +79 -284
- package/dist/models.cjs +1 -1
- package/dist/models.js +33 -33
- package/dist/service-DKddH-QF.cjs +1 -0
- package/dist/service-lcq0B7wi.js +739 -0
- package/dist/settingsEditors.d.ts +35 -0
- package/package.json +3 -3
- package/dist/models-BTzXdmUY.js +0 -1240
- package/dist/models-BhsFYb70.cjs +0 -1
- package/dist/models-NYvUa5Yc.cjs +0 -1
- package/dist/servicewrapper-CZ9BUUjp.js +0 -662
- package/dist/servicewrapper-lF8bBrIo.cjs +0 -1
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
import { B as ee, N as y, M as S, A as a, a as l } from "./index-zyAgCXOO.js";
|
|
2
|
+
import { a as B, H as te, b as ne, c as re, P as oe, D as ie, V as se, R as ce, A as ae, C as ue, d as le, e as fe, f as pe, g as he, L as $e, h as ge, i as de, Q as ye, j as Se, k as me, I as Te } from "./models-BlxGoC2X.js";
|
|
3
|
+
import { B as n, a as h } from "./calls-DYGtxNJ6.js";
|
|
4
|
+
function $(e, t = []) {
|
|
5
|
+
let u = 0;
|
|
6
|
+
for (const s of t) {
|
|
7
|
+
if (s.length > 65536) throw new RangeError("Request routing byte limit");
|
|
8
|
+
u += new TextEncoder().encode(JSON.stringify(s)).length + 1;
|
|
9
|
+
}
|
|
10
|
+
if (u > 57344) throw new RangeError("Request routing byte limit");
|
|
11
|
+
let N = 0, H = 2, Z = 0, W = 0;
|
|
12
|
+
const J = [], p = (s) => {
|
|
13
|
+
for (let f = 0; f < s.length; f++) {
|
|
14
|
+
const c = s.charCodeAt(f);
|
|
15
|
+
let g = c < 128 ? 1 : c < 2048 ? 2 : 3;
|
|
16
|
+
if (c >= 55296 && c <= 56319) {
|
|
17
|
+
const m = s.charCodeAt(++f);
|
|
18
|
+
if (!(m >= 56320 && m <= 57343)) throw new TypeError("Invalid Unicode");
|
|
19
|
+
g = 4;
|
|
20
|
+
} else if (c >= 56320 && c <= 57343) throw new TypeError("Invalid Unicode");
|
|
21
|
+
if (N += g, H += c === 34 || c === 92 ? 2 : g, N > 33554432 || H > 67043328) throw new RangeError("Request JSON byte limit");
|
|
22
|
+
}
|
|
23
|
+
J.push(s);
|
|
24
|
+
}, z = (s) => {
|
|
25
|
+
if (s.length > 33554432) throw new RangeError("Request JSON byte limit");
|
|
26
|
+
for (let f = 0; f < s.length; f++) {
|
|
27
|
+
const c = s.charCodeAt(f);
|
|
28
|
+
if (c >= 55296 && c <= 56319) {
|
|
29
|
+
const g = s.charCodeAt(++f);
|
|
30
|
+
if (!(g >= 56320 && g <= 57343)) throw new TypeError("Invalid Unicode");
|
|
31
|
+
} else if (c >= 56320 && c <= 57343) throw new TypeError("Invalid Unicode");
|
|
32
|
+
}
|
|
33
|
+
p(JSON.stringify(s));
|
|
34
|
+
}, G = (s, f) => {
|
|
35
|
+
if (++Z > 262144 || f > 64) throw new RangeError("Request JSON structural limit");
|
|
36
|
+
if (s === null) {
|
|
37
|
+
p("null");
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
if (typeof s == "string") {
|
|
41
|
+
z(s);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (typeof s == "boolean") {
|
|
45
|
+
p(s ? "true" : "false");
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (typeof s == "number") {
|
|
49
|
+
if (!Number.isFinite(s)) throw new TypeError("Request numbers must be finite");
|
|
50
|
+
p(Object.is(s, -0) ? "-0" : JSON.stringify(s));
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (Array.isArray(s)) {
|
|
54
|
+
p("[");
|
|
55
|
+
for (let c = 0; c < s.length; c++) {
|
|
56
|
+
if (++W > 1048576) throw new RangeError("Request JSON field limit");
|
|
57
|
+
c && p(","), G(s[c], f + 1);
|
|
58
|
+
}
|
|
59
|
+
p("]");
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
if (typeof s == "object") {
|
|
63
|
+
p("{");
|
|
64
|
+
let c = !0;
|
|
65
|
+
for (const [g, m] of Object.entries(s))
|
|
66
|
+
if (m !== void 0) {
|
|
67
|
+
if (++W > 1048576) throw new RangeError("Request JSON field limit");
|
|
68
|
+
c || p(","), c = !1, z(g), p(":"), G(m, f + 1);
|
|
69
|
+
}
|
|
70
|
+
p("}");
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
throw new TypeError("Unsupported request JSON value");
|
|
74
|
+
};
|
|
75
|
+
return G(e, 0), J.join("");
|
|
76
|
+
}
|
|
77
|
+
function be(e) {
|
|
78
|
+
return n(93318075, e).then((t) => (t[0] = T(t[0]), t[1] = ee(t[1]), t));
|
|
79
|
+
}
|
|
80
|
+
function Pe(e) {
|
|
81
|
+
return n(1353297556, e);
|
|
82
|
+
}
|
|
83
|
+
function Re(e) {
|
|
84
|
+
return n(4182196712, e).then((t) => T(t));
|
|
85
|
+
}
|
|
86
|
+
function we(e) {
|
|
87
|
+
return n(3993344525, e).then((t) => T(t));
|
|
88
|
+
}
|
|
89
|
+
function ve(e, t) {
|
|
90
|
+
return n(1779192716, e, t).then((r) => ke(r));
|
|
91
|
+
}
|
|
92
|
+
function Ge() {
|
|
93
|
+
return n(4033362541).then((e) => Ee(e));
|
|
94
|
+
}
|
|
95
|
+
function Ce(e) {
|
|
96
|
+
return n(2619212338, e).then((t) => I(t));
|
|
97
|
+
}
|
|
98
|
+
function Fe(e) {
|
|
99
|
+
return n(1371268636, e).then((t) => T(t));
|
|
100
|
+
}
|
|
101
|
+
function Oe(e) {
|
|
102
|
+
return n(3881019319, e);
|
|
103
|
+
}
|
|
104
|
+
function _e() {
|
|
105
|
+
return n(3006426324).then((e) => Ne(e));
|
|
106
|
+
}
|
|
107
|
+
function je() {
|
|
108
|
+
return n(265791345).then((e) => He(e));
|
|
109
|
+
}
|
|
110
|
+
function Ae(e, t, r) {
|
|
111
|
+
return n(1492965384, e, t, r);
|
|
112
|
+
}
|
|
113
|
+
function Le(e, t) {
|
|
114
|
+
return n(486465741, e, t);
|
|
115
|
+
}
|
|
116
|
+
const Me = B.createFrom, T = y(Me), D = te.createFrom, ke = y(D), I = S(l, D), Ee = S(l, I), Ne = a(l), He = a(T);
|
|
117
|
+
function We(e, t, r) {
|
|
118
|
+
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.CreateSession", e, t, $(r, [e, t])).then((i) => i === null ? null : B.createFrom(i));
|
|
119
|
+
}
|
|
120
|
+
const Vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
121
|
+
__proto__: null,
|
|
122
|
+
AttachSession: be,
|
|
123
|
+
CloseSession: Pe,
|
|
124
|
+
CreateSession: We,
|
|
125
|
+
CreateTerminal: Re,
|
|
126
|
+
DetachSession: we,
|
|
127
|
+
GetHandler: ve,
|
|
128
|
+
GetHandlers: Ge,
|
|
129
|
+
GetPluginHandlers: Ce,
|
|
130
|
+
GetSession: Fe,
|
|
131
|
+
HasPlugin: Oe,
|
|
132
|
+
ListPlugins: _e,
|
|
133
|
+
ListSessions: je,
|
|
134
|
+
ResizeSession: Ae,
|
|
135
|
+
WriteSession: Le
|
|
136
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
137
|
+
function Je(e) {
|
|
138
|
+
return n(182596922, e).then((t) => C(t));
|
|
139
|
+
}
|
|
140
|
+
function ze(e, t, r) {
|
|
141
|
+
return n(981100722, e, t, r).then((i) => F(i));
|
|
142
|
+
}
|
|
143
|
+
function Be(e) {
|
|
144
|
+
return n(2157304970, e).then((t) => C(t));
|
|
145
|
+
}
|
|
146
|
+
function De(e) {
|
|
147
|
+
return n(650882, e).then((t) => U(t));
|
|
148
|
+
}
|
|
149
|
+
function Ie(e) {
|
|
150
|
+
return n(3624690437, e);
|
|
151
|
+
}
|
|
152
|
+
function Ue() {
|
|
153
|
+
return n(2195697754).then((e) => F(e));
|
|
154
|
+
}
|
|
155
|
+
function qe() {
|
|
156
|
+
return n(167463150).then((e) => U(e));
|
|
157
|
+
}
|
|
158
|
+
function xe(e, t) {
|
|
159
|
+
return n(2090415403, e, t).then((r) => F(r));
|
|
160
|
+
}
|
|
161
|
+
const Ve = ne.createFrom, C = y(Ve), F = a(C), U = a(l);
|
|
162
|
+
function Qe(e, t, r) {
|
|
163
|
+
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/networker.ServiceWrapper.StartResourcePortForwardingSession", e, t, $(r, [e, t]));
|
|
164
|
+
}
|
|
165
|
+
const Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
166
|
+
__proto__: null,
|
|
167
|
+
ClosePortForwardSession: Je,
|
|
168
|
+
FindPortForwardSessions: ze,
|
|
169
|
+
GetPortForwardSession: Be,
|
|
170
|
+
GetSupportedPortForwardTargets: De,
|
|
171
|
+
HasPlugin: Ie,
|
|
172
|
+
ListAllPortForwardSessions: Ue,
|
|
173
|
+
ListPlugins: qe,
|
|
174
|
+
ListPortForwardSessions: xe,
|
|
175
|
+
StartResourcePortForwardingSession: Qe
|
|
176
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
177
|
+
class O {
|
|
178
|
+
pluginID;
|
|
179
|
+
running;
|
|
180
|
+
url;
|
|
181
|
+
error;
|
|
182
|
+
supported;
|
|
183
|
+
pid;
|
|
184
|
+
/** Creates a new PluginProfilingStatus instance. */
|
|
185
|
+
constructor(t = {}) {
|
|
186
|
+
"pluginID" in t || (this.pluginID = ""), "running" in t || (this.running = !1), "url" in t || (this.url = ""), "error" in t || (this.error = ""), "supported" in t || (this.supported = !1), "pid" in t || (this.pid = 0), Object.assign(this, t);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Creates a new PluginProfilingStatus instance from a string or object.
|
|
190
|
+
*/
|
|
191
|
+
static createFrom(t = {}) {
|
|
192
|
+
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
193
|
+
return new O(r);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function Ke(e) {
|
|
197
|
+
return n(3150413499, e).then((t) => d(t));
|
|
198
|
+
}
|
|
199
|
+
function Xe(e) {
|
|
200
|
+
return n(1152913314, e).then((t) => mt(t));
|
|
201
|
+
}
|
|
202
|
+
function Ye(e) {
|
|
203
|
+
return n(111194374, e).then((t) => _(t));
|
|
204
|
+
}
|
|
205
|
+
function Ze() {
|
|
206
|
+
return n(1083754477).then((e) => bt(e));
|
|
207
|
+
}
|
|
208
|
+
function et(e) {
|
|
209
|
+
return n(3945933305, e);
|
|
210
|
+
}
|
|
211
|
+
function tt(e) {
|
|
212
|
+
return n(2859775056, e).then((t) => q(t));
|
|
213
|
+
}
|
|
214
|
+
function nt(e, t) {
|
|
215
|
+
return n(2209599792, e, t).then((r) => wt(r));
|
|
216
|
+
}
|
|
217
|
+
function rt(e) {
|
|
218
|
+
return n(3963363730, e).then((t) => q(t));
|
|
219
|
+
}
|
|
220
|
+
function ot(e) {
|
|
221
|
+
return n(1357029266, e).then((t) => d(t));
|
|
222
|
+
}
|
|
223
|
+
function it() {
|
|
224
|
+
return n(2477486666).then((e) => R(e));
|
|
225
|
+
}
|
|
226
|
+
function st() {
|
|
227
|
+
return n(976517756).then((e) => R(e));
|
|
228
|
+
}
|
|
229
|
+
function ct(e) {
|
|
230
|
+
return n(1020548995, e).then((t) => R(t));
|
|
231
|
+
}
|
|
232
|
+
function at(e, t) {
|
|
233
|
+
return n(2004740384, e, t).then((r) => R(r));
|
|
234
|
+
}
|
|
235
|
+
function ut() {
|
|
236
|
+
return n(873697101).then((e) => x(e));
|
|
237
|
+
}
|
|
238
|
+
function lt() {
|
|
239
|
+
return n(637134283).then((e) => Gt(e));
|
|
240
|
+
}
|
|
241
|
+
function ft() {
|
|
242
|
+
return n(550607756).then((e) => Ct(e));
|
|
243
|
+
}
|
|
244
|
+
function pt(e, t) {
|
|
245
|
+
return n(288660195, e, t).then((r) => d(r));
|
|
246
|
+
}
|
|
247
|
+
function ht(e) {
|
|
248
|
+
return n(1771013494, e).then((t) => d(t));
|
|
249
|
+
}
|
|
250
|
+
function $t(e) {
|
|
251
|
+
return n(2433379724, e).then((t) => d(t));
|
|
252
|
+
}
|
|
253
|
+
function gt(e, t, r) {
|
|
254
|
+
return n(2783597264, e, t, r).then((i) => x(i));
|
|
255
|
+
}
|
|
256
|
+
function dt(e) {
|
|
257
|
+
return n(1369550929, e).then((t) => d(t));
|
|
258
|
+
}
|
|
259
|
+
function yt(e) {
|
|
260
|
+
return n(3828800061, e).then((t) => d(t));
|
|
261
|
+
}
|
|
262
|
+
const d = re.createFrom, St = ie.createFrom, mt = y(St), _ = oe.createFrom, Tt = O.createFrom, bt = a(Tt), Pt = se.createFrom, q = a(Pt), Rt = ce.createFrom, wt = a(Rt), R = y(_), vt = ae.createFrom, x = a(vt), Gt = a(_), Ct = a(d), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
263
|
+
__proto__: null,
|
|
264
|
+
GetPlugin: Ke,
|
|
265
|
+
GetPluginDownloadStats: Xe,
|
|
266
|
+
GetPluginMeta: Ye,
|
|
267
|
+
GetPluginProfilingStatuses: Ze,
|
|
268
|
+
GetPluginReadme: et,
|
|
269
|
+
GetPluginReleaseHistory: tt,
|
|
270
|
+
GetPluginReviews: nt,
|
|
271
|
+
GetPluginVersions: rt,
|
|
272
|
+
InstallDevPluginFromPath: ot,
|
|
273
|
+
InstallFromPathPrompt: it,
|
|
274
|
+
InstallInDevMode: st,
|
|
275
|
+
InstallPluginFromPath: ct,
|
|
276
|
+
InstallPluginVersion: at,
|
|
277
|
+
ListAvailablePlugins: ut,
|
|
278
|
+
ListPluginMetas: lt,
|
|
279
|
+
ListPlugins: ft,
|
|
280
|
+
LoadPlugin: pt,
|
|
281
|
+
ReloadPlugin: ht,
|
|
282
|
+
RetryFailedPlugin: $t,
|
|
283
|
+
SearchPlugins: gt,
|
|
284
|
+
UninstallPlugin: dt,
|
|
285
|
+
UnlinkDevPlugin: yt
|
|
286
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
287
|
+
function Ft(e, t) {
|
|
288
|
+
return n(1688967279, e, t).then((r) => V(r));
|
|
289
|
+
}
|
|
290
|
+
function Ot(e, t) {
|
|
291
|
+
return n(950535743, e, t).then((r) => j(r));
|
|
292
|
+
}
|
|
293
|
+
function _t(e) {
|
|
294
|
+
return n(854008408, e);
|
|
295
|
+
}
|
|
296
|
+
function jt() {
|
|
297
|
+
return n(1598984489).then((e) => Nt(e));
|
|
298
|
+
}
|
|
299
|
+
function At(e) {
|
|
300
|
+
return n(1775572154, e).then((t) => A(t));
|
|
301
|
+
}
|
|
302
|
+
function Lt() {
|
|
303
|
+
return n(3217612415).then((e) => Ht(e));
|
|
304
|
+
}
|
|
305
|
+
function Mt(e) {
|
|
306
|
+
return n(2037329938, e).then((t) => A(t));
|
|
307
|
+
}
|
|
308
|
+
function kt(e, t) {
|
|
309
|
+
return n(3276991559, e, t).then((r) => V(r));
|
|
310
|
+
}
|
|
311
|
+
function Et(e, t) {
|
|
312
|
+
return n(794258089, e, t).then((r) => j(r));
|
|
313
|
+
}
|
|
314
|
+
const V = ue.createFrom, j = le.createFrom, A = a(j), Nt = S(l, A), Ht = a(l), Wt = "github.com/omniviewdev/omniview/backend/pkg/plugin/resource.ServiceWrapper";
|
|
315
|
+
function o(e, ...t) {
|
|
316
|
+
return h(`${Wt}.${e}`, ...t);
|
|
317
|
+
}
|
|
318
|
+
const Jt = (e) => o("Features", e), zt = (e, t) => o("GetConnectionMetadata", e, t), Bt = (e, t) => o("RefreshConnectionMetadata", e, t), Dt = (e, t) => o("Catalog", e, t), It = (e, t) => o("Get", e, t), Ut = (e, t) => o("Enumerate", e, t), qt = (e, t) => o("NativeQuery", e, $(t, [e])), xt = (e, t) => o("Mutate", e, $(t, [e])), Vt = (e, t) => o("Action", e, $(t, [e])), Qt = (e, t) => o("ResolveTarget", e, t), Kt = (e, t) => o("ResolveReference", e, t), Xt = (e, t, r) => o("GetSchemaDocument", e, t, r), Yt = () => o("GetAllConnectionStates"), Zt = (e) => o("ListConnectionProfiles", e), en = (e, t) => o("SaveConnectionProfile", e, t), tn = (e, t) => o("ImportConnectionProfile", e, t), nn = (e, t) => o("ResetConnectionProfile", e, t), rn = (e, t) => o("RemoveConnection", e, t), on = (e, t) => o("GetResourceGroups", e, t), sn = (e, t, r) => o("GetResourceDefinition", e, t, r), cn = (e, t) => o("GetEditorSchemas", e, t), an = (e, t, r) => o("GetRelationships", e, t, r), un = (e, t) => o("ResolveRelationships", e, t), ln = (e, t, r) => o("GetHealth", e, $({
|
|
319
|
+
request: t,
|
|
320
|
+
body: r
|
|
321
|
+
}, [e])), fn = (e, t, r) => o("GetResourceEvents", e, t, r), pn = (e, t, r) => o("GetActions", e, t, r), hn = (e, t) => o("StreamAction", e, $(t, [e])), $n = (e) => o("AttachStreamAction", e), gn = (e) => o("CancelStreamAction", e), dn = (e, t) => o("StartConnectionWatch", e, t), yn = (e, t) => o("StopConnectionWatch", e, t), Sn = (e, t) => o("GetWatchState", e, t), mn = (e, t) => o("EnsureResourceWatch", e, t), Tn = (e, t, r) => o("StopResourceWatch", e, t, r), bn = (e, t) => o("RestartResourceWatch", e, t), Pn = (e, t, r) => o("IsResourceWatchRunning", e, t, r), Rn = (e, t) => o("SubscribeResource", e, t), wn = (e, t) => o("UnsubscribeResource", e, t), vn = (e, t, r) => o("ScopeValues", e, t, r), Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
322
|
+
__proto__: null,
|
|
323
|
+
Action: Vt,
|
|
324
|
+
AttachStreamAction: $n,
|
|
325
|
+
CancelStreamAction: gn,
|
|
326
|
+
Catalog: Dt,
|
|
327
|
+
CheckConnection: Ft,
|
|
328
|
+
EnsureResourceWatch: mn,
|
|
329
|
+
Enumerate: Ut,
|
|
330
|
+
Features: Jt,
|
|
331
|
+
Get: It,
|
|
332
|
+
GetActions: pn,
|
|
333
|
+
GetAllConnectionStates: Yt,
|
|
334
|
+
GetConnection: Ot,
|
|
335
|
+
GetConnectionMetadata: zt,
|
|
336
|
+
GetEditorSchemas: cn,
|
|
337
|
+
GetHealth: ln,
|
|
338
|
+
GetRelationships: an,
|
|
339
|
+
GetResourceDefinition: sn,
|
|
340
|
+
GetResourceEvents: fn,
|
|
341
|
+
GetResourceGroups: on,
|
|
342
|
+
GetSchemaDocument: Xt,
|
|
343
|
+
GetWatchState: Sn,
|
|
344
|
+
HasPlugin: _t,
|
|
345
|
+
ImportConnectionProfile: tn,
|
|
346
|
+
IsResourceWatchRunning: Pn,
|
|
347
|
+
ListAllConnections: jt,
|
|
348
|
+
ListConnectionProfiles: Zt,
|
|
349
|
+
ListConnections: At,
|
|
350
|
+
ListPlugins: Lt,
|
|
351
|
+
LoadConnections: Mt,
|
|
352
|
+
Mutate: xt,
|
|
353
|
+
NativeQuery: qt,
|
|
354
|
+
RefreshConnectionMetadata: Bt,
|
|
355
|
+
RemoveConnection: rn,
|
|
356
|
+
ResetConnectionProfile: nn,
|
|
357
|
+
ResolveReference: Kt,
|
|
358
|
+
ResolveRelationships: un,
|
|
359
|
+
ResolveTarget: Qt,
|
|
360
|
+
RestartResourceWatch: bn,
|
|
361
|
+
SaveConnectionProfile: en,
|
|
362
|
+
ScopeValues: vn,
|
|
363
|
+
StartConnection: kt,
|
|
364
|
+
StartConnectionWatch: dn,
|
|
365
|
+
StopConnection: Et,
|
|
366
|
+
StopConnectionWatch: yn,
|
|
367
|
+
StopResourceWatch: Tn,
|
|
368
|
+
StreamAction: hn,
|
|
369
|
+
SubscribeResource: Rn,
|
|
370
|
+
UnsubscribeResource: wn
|
|
371
|
+
}, Symbol.toStringTag, { value: "Module" })), w = "github.com/omniviewdev/omniview/backend/pkg/plugin/resource.GraphService";
|
|
372
|
+
function Gn(e, t, r, i, u) {
|
|
373
|
+
return h(`${w}.GetRelated`, e, t, r, i, u);
|
|
374
|
+
}
|
|
375
|
+
function Cn(e, t, r, i, u) {
|
|
376
|
+
return h(`${w}.GetRelationshipChain`, e, t, r, i, u);
|
|
377
|
+
}
|
|
378
|
+
function Fn(e, t, r, i) {
|
|
379
|
+
return h(`${w}.GetDependencyTree`, e, t, r, i);
|
|
380
|
+
}
|
|
381
|
+
function On(e, t, r, i, u) {
|
|
382
|
+
return h(`${w}.GetSubgraph`, e, t, r, i, u);
|
|
383
|
+
}
|
|
384
|
+
const Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
385
|
+
__proto__: null,
|
|
386
|
+
GetDependencyTree: Fn,
|
|
387
|
+
GetRelated: Gn,
|
|
388
|
+
GetRelationshipChain: Cn,
|
|
389
|
+
GetSubgraph: On
|
|
390
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
391
|
+
class L {
|
|
392
|
+
snapshot;
|
|
393
|
+
applied;
|
|
394
|
+
uncertain;
|
|
395
|
+
message;
|
|
396
|
+
/** Creates a new CommitResult instance. */
|
|
397
|
+
constructor(t = {}) {
|
|
398
|
+
"snapshot" in t || (this.snapshot = new b()), "applied" in t || (this.applied = !1), "uncertain" in t || (this.uncertain = !1), "message" in t || (this.message = ""), Object.assign(this, t);
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Creates a new CommitResult instance from a string or object.
|
|
402
|
+
*/
|
|
403
|
+
static createFrom(t = {}) {
|
|
404
|
+
const r = _n;
|
|
405
|
+
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
406
|
+
return "snapshot" in i && (i.snapshot = r(i.snapshot)), new L(i);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
class v {
|
|
410
|
+
kind;
|
|
411
|
+
pluginId;
|
|
412
|
+
/** Creates a new Scope instance. */
|
|
413
|
+
constructor(t = {}) {
|
|
414
|
+
"kind" in t || (this.kind = ""), Object.assign(this, t);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Creates a new Scope instance from a string or object.
|
|
418
|
+
*/
|
|
419
|
+
static createFrom(t = {}) {
|
|
420
|
+
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
421
|
+
return new v(r);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
class b {
|
|
425
|
+
scope;
|
|
426
|
+
categories;
|
|
427
|
+
/** Creates a new Snapshot instance. */
|
|
428
|
+
constructor(t = {}) {
|
|
429
|
+
"scope" in t || (this.scope = new v()), "categories" in t || (this.categories = {}), Object.assign(this, t);
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Creates a new Snapshot instance from a string or object.
|
|
433
|
+
*/
|
|
434
|
+
static createFrom(t = {}) {
|
|
435
|
+
const r = jn, i = P;
|
|
436
|
+
let u = typeof t == "string" ? JSON.parse(t) : t;
|
|
437
|
+
return "scope" in u && (u.scope = r(u.scope)), "categories" in u && (u.categories = i(u.categories)), new b(u);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
const _n = b.createFrom, jn = v.createFrom;
|
|
441
|
+
var P = function e(...t) {
|
|
442
|
+
return P === e && (P = Ln), P(...t);
|
|
443
|
+
};
|
|
444
|
+
const An = fe.createFrom, Ln = S(l, An);
|
|
445
|
+
function Mn(e, t) {
|
|
446
|
+
return n(1766083910, e, t).then((r) => Nn(r));
|
|
447
|
+
}
|
|
448
|
+
function kn(e) {
|
|
449
|
+
return n(3969198041, e).then((t) => Hn(t));
|
|
450
|
+
}
|
|
451
|
+
function En(e, t, r) {
|
|
452
|
+
return n(3964153809, e, t, r).then((i) => Wn(i));
|
|
453
|
+
}
|
|
454
|
+
const Nn = L.createFrom, Hn = b.createFrom, Wn = pe.createFrom, Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
455
|
+
__proto__: null,
|
|
456
|
+
Commit: Mn,
|
|
457
|
+
GetSnapshot: kn,
|
|
458
|
+
Validate: En
|
|
459
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
460
|
+
function Jn(e) {
|
|
461
|
+
return n(2106300110, e).then((t) => Dn(t));
|
|
462
|
+
}
|
|
463
|
+
function zn(e) {
|
|
464
|
+
return n(765209827, e).then((t) => In(t));
|
|
465
|
+
}
|
|
466
|
+
function Bn(e) {
|
|
467
|
+
return n(2355436169, e).then((t) => K(t));
|
|
468
|
+
}
|
|
469
|
+
const Q = he.createFrom, K = a(Q), Dn = S(l, K), In = y(Q), eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
470
|
+
__proto__: null,
|
|
471
|
+
GetPluginComponents: Jn,
|
|
472
|
+
GetResourceAreaComponent: zn,
|
|
473
|
+
GetResourceComponents: Bn
|
|
474
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
475
|
+
function Un(e) {
|
|
476
|
+
return n(2776241946, e);
|
|
477
|
+
}
|
|
478
|
+
function qn(e) {
|
|
479
|
+
return n(1474987050, e).then((t) => M(t));
|
|
480
|
+
}
|
|
481
|
+
function xn(e) {
|
|
482
|
+
return n(3156347865, e).then((t) => tr(t));
|
|
483
|
+
}
|
|
484
|
+
function Vn(e) {
|
|
485
|
+
return n(1444002509, e);
|
|
486
|
+
}
|
|
487
|
+
function Qn() {
|
|
488
|
+
return n(3104582886).then((e) => nr(e));
|
|
489
|
+
}
|
|
490
|
+
function Kn() {
|
|
491
|
+
return n(2249742267).then((e) => rr(e));
|
|
492
|
+
}
|
|
493
|
+
function Xn(e, t) {
|
|
494
|
+
return n(1212190993, e, t);
|
|
495
|
+
}
|
|
496
|
+
function Yn(e, t) {
|
|
497
|
+
return n(2177127885, e, t).then((r) => M(r));
|
|
498
|
+
}
|
|
499
|
+
const Zn = $e.createFrom, M = y(Zn), er = ge.createFrom, tr = a(er), nr = a(l), rr = a(M);
|
|
500
|
+
function or(e, t, r) {
|
|
501
|
+
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/logs.ServiceWrapper.CreateSession", e, t, $(r, [e, t]));
|
|
502
|
+
}
|
|
503
|
+
const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
504
|
+
__proto__: null,
|
|
505
|
+
CloseSession: Un,
|
|
506
|
+
CreateSession: or,
|
|
507
|
+
GetSession: qn,
|
|
508
|
+
GetSupportedResources: xn,
|
|
509
|
+
HasPlugin: Vn,
|
|
510
|
+
ListPlugins: Qn,
|
|
511
|
+
ListSessions: Kn,
|
|
512
|
+
SendCommand: Xn,
|
|
513
|
+
UpdateSessionOptions: Yn
|
|
514
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
515
|
+
class k {
|
|
516
|
+
plugin_id;
|
|
517
|
+
provider_id;
|
|
518
|
+
name;
|
|
519
|
+
icon;
|
|
520
|
+
description;
|
|
521
|
+
handlers;
|
|
522
|
+
/** Creates a new MetricProviderSummary instance. */
|
|
523
|
+
constructor(t = {}) {
|
|
524
|
+
"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);
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Creates a new MetricProviderSummary instance from a string or object.
|
|
528
|
+
*/
|
|
529
|
+
static createFrom(t = {}) {
|
|
530
|
+
const r = sr;
|
|
531
|
+
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
532
|
+
return "handlers" in i && (i.handlers = r(i.handlers)), new k(i);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
const ir = de.createFrom, sr = a(ir);
|
|
536
|
+
function cr() {
|
|
537
|
+
return n(3919346639).then((e) => X(e));
|
|
538
|
+
}
|
|
539
|
+
function ar(e) {
|
|
540
|
+
return n(3953821778, e).then((t) => X(t));
|
|
541
|
+
}
|
|
542
|
+
function ur(e) {
|
|
543
|
+
return n(1815388456, e);
|
|
544
|
+
}
|
|
545
|
+
function lr() {
|
|
546
|
+
return n(2730149903).then((e) => hr(e));
|
|
547
|
+
}
|
|
548
|
+
function fr(e) {
|
|
549
|
+
return n(3994236150, e);
|
|
550
|
+
}
|
|
551
|
+
const pr = k.createFrom, X = a(pr), hr = a(l);
|
|
552
|
+
ye.createFrom;
|
|
553
|
+
const E = "github.com/omniviewdev/omniview/backend/pkg/plugin/metric.ServiceWrapper";
|
|
554
|
+
function $r(e, t, r) {
|
|
555
|
+
return h(`${E}.Query`, e, t, $(r, [e, t]));
|
|
556
|
+
}
|
|
557
|
+
function gr(e, t) {
|
|
558
|
+
return h(`${E}.QueryAll`, e, $(t, [e]));
|
|
559
|
+
}
|
|
560
|
+
function dr(e, t, r) {
|
|
561
|
+
return h(`${E}.Subscribe`, e, t, $(r, [e, t]));
|
|
562
|
+
}
|
|
563
|
+
const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
564
|
+
__proto__: null,
|
|
565
|
+
GetProviders: cr,
|
|
566
|
+
GetProvidersForResource: ar,
|
|
567
|
+
HasPlugin: ur,
|
|
568
|
+
ListPlugins: lr,
|
|
569
|
+
Query: $r,
|
|
570
|
+
QueryAll: gr,
|
|
571
|
+
Subscribe: dr,
|
|
572
|
+
Unsubscribe: fr
|
|
573
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
574
|
+
function yr(e, t) {
|
|
575
|
+
return n(3653639550, e, t);
|
|
576
|
+
}
|
|
577
|
+
function Sr(e, t) {
|
|
578
|
+
return n(851823419, e, t);
|
|
579
|
+
}
|
|
580
|
+
function mr(e) {
|
|
581
|
+
return n(2991415449, e).then((t) => br(t));
|
|
582
|
+
}
|
|
583
|
+
function Tr(e, t, r) {
|
|
584
|
+
return n(2695679023, e, t, r);
|
|
585
|
+
}
|
|
586
|
+
const br = a(l), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
587
|
+
__proto__: null,
|
|
588
|
+
Delete: yr,
|
|
589
|
+
Get: Sr,
|
|
590
|
+
Keys: mr,
|
|
591
|
+
Set: Tr
|
|
592
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
593
|
+
function Pr(e) {
|
|
594
|
+
return n(584261046, e);
|
|
595
|
+
}
|
|
596
|
+
function Rr(e) {
|
|
597
|
+
return n(3098255555, e);
|
|
598
|
+
}
|
|
599
|
+
function wr(e) {
|
|
600
|
+
return n(903698361, e);
|
|
601
|
+
}
|
|
602
|
+
function vr(e, t, r) {
|
|
603
|
+
return n(1235170530, e, t, r).then((i) => Jr(i));
|
|
604
|
+
}
|
|
605
|
+
function Gr(e) {
|
|
606
|
+
return n(3199298309, e);
|
|
607
|
+
}
|
|
608
|
+
function Cr() {
|
|
609
|
+
return n(2119827301).then((e) => zr(e));
|
|
610
|
+
}
|
|
611
|
+
function Fr(e) {
|
|
612
|
+
return n(2822783534, e).then((t) => Y(t));
|
|
613
|
+
}
|
|
614
|
+
function Or() {
|
|
615
|
+
return n(1563865534);
|
|
616
|
+
}
|
|
617
|
+
function _r() {
|
|
618
|
+
return n(914742443).then((e) => Dr(e));
|
|
619
|
+
}
|
|
620
|
+
function jr() {
|
|
621
|
+
return n(3392737293).then((e) => Ir(e));
|
|
622
|
+
}
|
|
623
|
+
function Ar(e, t, r) {
|
|
624
|
+
return n(1474486628, e, t, r);
|
|
625
|
+
}
|
|
626
|
+
function Lr(e, t, r) {
|
|
627
|
+
return n(2366942716, e, t, r);
|
|
628
|
+
}
|
|
629
|
+
function Mr(e) {
|
|
630
|
+
return n(4008581935, e);
|
|
631
|
+
}
|
|
632
|
+
function kr(e) {
|
|
633
|
+
return n(520255202, e);
|
|
634
|
+
}
|
|
635
|
+
function Er(e, t, r) {
|
|
636
|
+
return n(958877691, e, t, r);
|
|
637
|
+
}
|
|
638
|
+
function Nr(e, t, r) {
|
|
639
|
+
return n(1772958861, e, t, r);
|
|
640
|
+
}
|
|
641
|
+
function Hr(e, t, r) {
|
|
642
|
+
return n(728919203, e, t, r);
|
|
643
|
+
}
|
|
644
|
+
function Wr(e, t) {
|
|
645
|
+
return n(1547965995, e, t);
|
|
646
|
+
}
|
|
647
|
+
const Jr = Se.createFrom, zr = me.createFrom, Y = S(l, l), Br = Te.createFrom, Dr = a(Br), Ir = S(l, Y), oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
648
|
+
__proto__: null,
|
|
649
|
+
BeginDrag: Pr,
|
|
650
|
+
CancelDrag: Rr,
|
|
651
|
+
Close: wr,
|
|
652
|
+
EndDrag: vr,
|
|
653
|
+
Focus: Gr,
|
|
654
|
+
GetSettingsState: Cr,
|
|
655
|
+
GetState: Fr,
|
|
656
|
+
HideSettings: Or,
|
|
657
|
+
List: _r,
|
|
658
|
+
ListStates: jr,
|
|
659
|
+
MoveDrag: Ar,
|
|
660
|
+
MoveToPointer: Lr,
|
|
661
|
+
Open: Mr,
|
|
662
|
+
OpenSettings: kr,
|
|
663
|
+
ReportViewport: Er,
|
|
664
|
+
RespondDrop: Nr,
|
|
665
|
+
SaveState: Hr,
|
|
666
|
+
SetSettingsLocation: Wr
|
|
667
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
668
|
+
export {
|
|
669
|
+
on as $,
|
|
670
|
+
zt as A,
|
|
671
|
+
Bt as B,
|
|
672
|
+
Mn as C,
|
|
673
|
+
Sr as D,
|
|
674
|
+
Tr as E,
|
|
675
|
+
We as F,
|
|
676
|
+
kn as G,
|
|
677
|
+
or as H,
|
|
678
|
+
tn as I,
|
|
679
|
+
Un as J,
|
|
680
|
+
cr as K,
|
|
681
|
+
At as L,
|
|
682
|
+
ar as M,
|
|
683
|
+
dr as N,
|
|
684
|
+
kr as O,
|
|
685
|
+
Ue as P,
|
|
686
|
+
gr as Q,
|
|
687
|
+
nn as R,
|
|
688
|
+
Et as S,
|
|
689
|
+
Je as T,
|
|
690
|
+
fr as U,
|
|
691
|
+
En as V,
|
|
692
|
+
ze as W,
|
|
693
|
+
Qe as X,
|
|
694
|
+
xt as Y,
|
|
695
|
+
It as Z,
|
|
696
|
+
zn as _,
|
|
697
|
+
Kr as a,
|
|
698
|
+
qt as a0,
|
|
699
|
+
Ut as a1,
|
|
700
|
+
Sn as a2,
|
|
701
|
+
Rn as a3,
|
|
702
|
+
mn as a4,
|
|
703
|
+
wn as a5,
|
|
704
|
+
pn as a6,
|
|
705
|
+
Vt as a7,
|
|
706
|
+
cn as a8,
|
|
707
|
+
Xt as a9,
|
|
708
|
+
gn as aa,
|
|
709
|
+
hn as ab,
|
|
710
|
+
$n as ac,
|
|
711
|
+
Gn as ad,
|
|
712
|
+
Fn as ae,
|
|
713
|
+
On as af,
|
|
714
|
+
Zr as b,
|
|
715
|
+
Xr as c,
|
|
716
|
+
eo as d,
|
|
717
|
+
Vr as e,
|
|
718
|
+
oo as f,
|
|
719
|
+
Yr as g,
|
|
720
|
+
Ye as h,
|
|
721
|
+
Ft as i,
|
|
722
|
+
kt as j,
|
|
723
|
+
en as k,
|
|
724
|
+
to as l,
|
|
725
|
+
no as m,
|
|
726
|
+
Qr as n,
|
|
727
|
+
rn as o,
|
|
728
|
+
Ot as p,
|
|
729
|
+
dn as q,
|
|
730
|
+
yn as r,
|
|
731
|
+
ro as s,
|
|
732
|
+
vn as t,
|
|
733
|
+
Yt as u,
|
|
734
|
+
Dt as v,
|
|
735
|
+
Qt as w,
|
|
736
|
+
$t as x,
|
|
737
|
+
jt as y,
|
|
738
|
+
Zt as z
|
|
739
|
+
};
|