@omniviewdev/runtime 0.8.1 → 0.9.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.
Files changed (39) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.js +183 -186
  3. package/dist/calls-Bg_uMVc9.cjs +1 -0
  4. package/dist/{calls-C1yoW06C.js → calls-BvZkVSse.js} +11 -5
  5. package/dist/context/drawer/types.d.ts +3 -2
  6. package/dist/context/settings/SettingsContext.d.ts +1 -1
  7. package/dist/{events-CtgYnKmS.cjs → events-DnLqUWri.cjs} +1 -1
  8. package/dist/{events-Bcx6NsMp.js → events-uBheGmqm.js} +1 -1
  9. package/dist/hooks/exec/useExecSession.d.ts +11 -1
  10. package/dist/hooks/resource/useResource.d.ts +1 -1
  11. package/dist/index-BVi9X4oU.cjs +6 -0
  12. package/dist/{index-D2mKAO8s.js → index-zyAgCXOO.js} +52 -52
  13. package/dist/index.cjs +4 -4
  14. package/dist/index.js +2934 -2089
  15. package/dist/{legacyEnum-DORXlU_y.js → legacyEnum-CKqyRmbX.js} +3 -1
  16. package/dist/models-CT4kHj47.js +2444 -0
  17. package/dist/models-DQl7tqts.cjs +1 -0
  18. package/dist/models-DU8pTcoZ.js +142 -0
  19. package/dist/models-KV9f8Ceh.cjs +1 -0
  20. package/dist/models.cjs +1 -1
  21. package/dist/models.js +229 -232
  22. package/dist/resourceIcons.d.ts +2 -2
  23. package/dist/router/Link.d.ts +1 -1
  24. package/dist/router/index.d.ts +1 -1
  25. package/dist/router/usePluginRouter.d.ts +1 -1
  26. package/dist/runtime.cjs +1 -1
  27. package/dist/runtime.js +6 -6
  28. package/dist/servicewrapper-CCW7kIVs.cjs +1 -0
  29. package/dist/servicewrapper-Q1ww3DUo.js +849 -0
  30. package/dist/types/app.d.ts +1 -1
  31. package/package.json +22 -16
  32. package/dist/calls-DUhq86Ki.cjs +0 -1
  33. package/dist/graphservice-1J8q3eeL.cjs +0 -1
  34. package/dist/graphservice-CUg1PUsC.js +0 -852
  35. package/dist/index-D_aIcqH0.cjs +0 -6
  36. package/dist/models-4EtitZnM.js +0 -2447
  37. package/dist/models-BQsuB2Lj.cjs +0 -1
  38. package/dist/models-BpVWHqlF.cjs +0 -1
  39. package/dist/models-C5sf8GNY.js +0 -145
@@ -1,852 +0,0 @@
1
- var te = Object.defineProperty;
2
- var ne = (e, t, r) => t in e ? te(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var s = (e, t, r) => ne(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { A as a, M as p, a as u, N as $, B as re } from "./index-D2mKAO8s.js";
5
- import { d as H, V as A, e as oe, P as ce, f as se, g as ie, R as ae, h as ue, i as $e, j as P, k as pe, l as le, m as fe, n as ye, o as he, p as Te, q as ge, r as de, s as Se, E as me, t as Fe, u as Pe, v as Ge, w as be, x as Re, y as Ce, z as _e, B as ve, H as Oe, I as we, J as Le, K as je, M as He, N as Ae, O as Me, Q as De, T as Ie, X as Ve, Y as ze, Z as Ne, _ as We } from "./models-4EtitZnM.js";
6
- import { B as n } from "./calls-C1yoW06C.js";
7
- function Ee(e, t) {
8
- return n(3867104420, e, t).then((r) => M(r));
9
- }
10
- function Je(e) {
11
- return n(3795411887, e);
12
- }
13
- function Ue() {
14
- return n(1053995964).then((e) => Xe(e));
15
- }
16
- function Be(e) {
17
- return n(3231741321, e).then((t) => Ye(t));
18
- }
19
- function qe(e) {
20
- return n(2597562645, e).then((t) => D(t));
21
- }
22
- function Qe(e, t, r) {
23
- return n(1481837168, e, t, r);
24
- }
25
- function ke(e, t) {
26
- return n(230212281, e, t);
27
- }
28
- function xe(e, t, r) {
29
- return n(1534017462, e, t, r).then((o) => Ze(o));
30
- }
31
- function Ke() {
32
- return n(2408440370).then((e) => D(e));
33
- }
34
- const M = H.createFrom, Xe = a(u), Ye = p(u, M), D = p(u, u), Ze = A.createFrom, Pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
- __proto__: null,
36
- GetSetting: Ee,
37
- HasPlugin: Je,
38
- ListPlugins: Ue,
39
- ListSettings: Be,
40
- PluginValues: qe,
41
- SetSetting: Qe,
42
- SetSettings: ke,
43
- ValidateSetting: xe,
44
- Values: Ke
45
- }, Symbol.toStringTag, { value: "Module" }));
46
- function et(e) {
47
- return n(3150413499, e).then((t) => f(t));
48
- }
49
- function tt(e) {
50
- return n(1152913314, e).then((t) => Pt(t));
51
- }
52
- function nt(e) {
53
- return n(111194374, e).then((t) => G(t));
54
- }
55
- function rt(e) {
56
- return n(3945933305, e);
57
- }
58
- function ot(e) {
59
- return n(2859775056, e).then((t) => I(t));
60
- }
61
- function ct(e, t) {
62
- return n(2209599792, e, t).then((r) => Rt(r));
63
- }
64
- function st(e) {
65
- return n(3963363730, e).then((t) => I(t));
66
- }
67
- function it(e) {
68
- return n(1357029266, e).then((t) => f(t));
69
- }
70
- function at() {
71
- return n(2477486666).then((e) => g(e));
72
- }
73
- function ut() {
74
- return n(976517756).then((e) => g(e));
75
- }
76
- function $t(e) {
77
- return n(1020548995, e).then((t) => g(t));
78
- }
79
- function pt(e, t) {
80
- return n(2004740384, e, t).then((r) => g(r));
81
- }
82
- function lt() {
83
- return n(873697101).then((e) => V(e));
84
- }
85
- function ft() {
86
- return n(637134283).then((e) => _t(e));
87
- }
88
- function yt() {
89
- return n(550607756).then((e) => vt(e));
90
- }
91
- function ht(e, t) {
92
- return n(288660195, e, t).then((r) => f(r));
93
- }
94
- function Tt(e) {
95
- return n(1771013494, e).then((t) => f(t));
96
- }
97
- function gt(e) {
98
- return n(2433379724, e).then((t) => f(t));
99
- }
100
- function dt(e, t, r) {
101
- return n(2783597264, e, t, r).then((o) => V(o));
102
- }
103
- function St(e) {
104
- return n(1369550929, e).then((t) => f(t));
105
- }
106
- function mt(e) {
107
- return n(3828800061, e).then((t) => f(t));
108
- }
109
- const f = oe.createFrom, Ft = se.createFrom, Pt = $(Ft), G = ce.createFrom, Gt = ie.createFrom, I = a(Gt), bt = ae.createFrom, Rt = a(bt), g = $(G), Ct = ue.createFrom, V = a(Ct), _t = a(G), vt = a(f), Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
- __proto__: null,
111
- GetPlugin: et,
112
- GetPluginDownloadStats: tt,
113
- GetPluginMeta: nt,
114
- GetPluginReadme: rt,
115
- GetPluginReleaseHistory: ot,
116
- GetPluginReviews: ct,
117
- GetPluginVersions: st,
118
- InstallDevPluginFromPath: it,
119
- InstallFromPathPrompt: at,
120
- InstallInDevMode: ut,
121
- InstallPluginFromPath: $t,
122
- InstallPluginVersion: pt,
123
- ListAvailablePlugins: lt,
124
- ListPluginMetas: ft,
125
- ListPlugins: yt,
126
- LoadPlugin: ht,
127
- ReloadPlugin: Tt,
128
- RetryFailedPlugin: gt,
129
- SearchPlugins: dt,
130
- UninstallPlugin: St,
131
- UnlinkDevPlugin: mt
132
- }, Symbol.toStringTag, { value: "Module" }));
133
- function Ot(e) {
134
- return n(122243240, e);
135
- }
136
- function wt() {
137
- return n(269082212).then((e) => Qt(e));
138
- }
139
- function Lt(e) {
140
- return n(1421156656, e).then((t) => b(t));
141
- }
142
- function jt(e) {
143
- return n(3143996982, e).then((t) => z(t));
144
- }
145
- function Ht(e) {
146
- return n(1695819138, e);
147
- }
148
- function At(e) {
149
- return n(1827194808, e).then((t) => kt(t));
150
- }
151
- function Mt(e) {
152
- return n(72059321, e);
153
- }
154
- function Dt(e) {
155
- return n(62418781, e).then((t) => xt(t));
156
- }
157
- function It(e) {
158
- return n(2222012564, e).then((t) => Kt(t));
159
- }
160
- function Vt(e) {
161
- return n(2753368941, e);
162
- }
163
- function zt(e) {
164
- return n(3825211425, e);
165
- }
166
- function Nt(e) {
167
- return n(2121298005, e).then((t) => Xt(t));
168
- }
169
- function Wt() {
170
- return n(3038957305).then((e) => T(e));
171
- }
172
- function Et() {
173
- return n(3369612893);
174
- }
175
- function Jt(e, t) {
176
- return n(252556992, e, t);
177
- }
178
- function Ut(e) {
179
- return n(1704369097, e);
180
- }
181
- function Bt(e, t) {
182
- return n(1399113254, e, t).then((r) => Zt(r));
183
- }
184
- function qt() {
185
- return n(2936263106).then((e) => z(e));
186
- }
187
- const b = $e.createFrom, Qt = a(b), z = p(u, u), kt = a(u), xt = a(u), Kt = H.createFrom, Xt = a(u);
188
- var T = function e(...t) {
189
- return T === e && (T = Yt), T(...t);
190
- };
191
- const Yt = p(u, b), Zt = A.createFrom, bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
192
- __proto__: null,
193
- GetBool: Ot,
194
- GetCategories: wt,
195
- GetCategory: Lt,
196
- GetCategoryValues: jt,
197
- GetFloat: Ht,
198
- GetFloatSlice: At,
199
- GetInt: Mt,
200
- GetIntSlice: Dt,
201
- GetSetting: It,
202
- GetSettingValue: Vt,
203
- GetString: zt,
204
- GetStringSlice: Nt,
205
- ListSettings: Wt,
206
- LoadSettings: Et,
207
- SetSetting: Jt,
208
- SetSettings: Ut,
209
- ValidateSetting: Bt,
210
- Values: qt
211
- }, Symbol.toStringTag, { value: "Module" }));
212
- class R {
213
- /** Creates a new Action instance. */
214
- constructor(t = {}) {
215
- /**
216
- * "navigate", "retry", "open-url", "copy"
217
- */
218
- s(this, "type");
219
- s(this, "label");
220
- s(this, "target");
221
- "type" in t || (this.type = ""), "label" in t || (this.label = ""), Object.assign(this, t);
222
- }
223
- /**
224
- * Creates a new Action instance from a string or object.
225
- */
226
- static createFrom(t = {}) {
227
- let r = typeof t == "string" ? JSON.parse(t) : t;
228
- return new R(r);
229
- }
230
- }
231
- class C {
232
- /** Creates a new AppError instance. */
233
- constructor(t = {}) {
234
- s(this, "type");
235
- s(this, "title");
236
- s(this, "status");
237
- s(this, "detail");
238
- s(this, "instance");
239
- s(this, "suggestions");
240
- s(this, "actions");
241
- s(this, "code");
242
- s(this, "requestId");
243
- s(this, "recovery");
244
- s(this, "location");
245
- "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);
246
- }
247
- /**
248
- * Creates a new AppError instance from a string or object.
249
- */
250
- static createFrom(t = {}) {
251
- const r = en, o = nn, c = on;
252
- let i = typeof t == "string" ? JSON.parse(t) : t;
253
- return "suggestions" in i && (i.suggestions = r(i.suggestions)), "actions" in i && (i.actions = o(i.actions)), "location" in i && (i.location = c(i.location)), new C(i);
254
- }
255
- }
256
- class _ {
257
- /** Creates a new Location instance. */
258
- constructor(t = {}) {
259
- s(this, "start");
260
- s(this, "end");
261
- s(this, "unit");
262
- "start" in t || (this.start = 0), "end" in t || (this.end = 0), "unit" in t || (this.unit = ""), Object.assign(this, t);
263
- }
264
- /**
265
- * Creates a new Location instance from a string or object.
266
- */
267
- static createFrom(t = {}) {
268
- let r = typeof t == "string" ? JSON.parse(t) : t;
269
- return new _(r);
270
- }
271
- }
272
- const en = a(u), tn = R.createFrom, nn = a(tn), rn = _.createFrom, on = $(rn);
273
- class d {
274
- /** Creates a new ActionEventDTO instance. */
275
- constructor(t = {}) {
276
- s(this, "type");
277
- s(this, "data");
278
- s(this, "error");
279
- "type" in t || (this.type = ""), Object.assign(this, t);
280
- }
281
- /**
282
- * Creates a new ActionEventDTO instance from a string or object.
283
- */
284
- static createFrom(t = {}) {
285
- const r = cn, o = an;
286
- let c = typeof t == "string" ? JSON.parse(t) : t;
287
- return "data" in c && (c.data = r(c.data)), "error" in c && (c.error = o(c.error)), new d(c);
288
- }
289
- }
290
- class v {
291
- /** Creates a new ActionSnapshot instance. */
292
- constructor(t = {}) {
293
- s(this, "sequence");
294
- s(this, "event");
295
- s(this, "terminal");
296
- "sequence" in t || (this.sequence = 0), "event" in t || (this.event = new d()), "terminal" in t || (this.terminal = !1), Object.assign(this, t);
297
- }
298
- /**
299
- * Creates a new ActionSnapshot instance from a string or object.
300
- */
301
- static createFrom(t = {}) {
302
- const r = un;
303
- let o = typeof t == "string" ? JSON.parse(t) : t;
304
- return "event" in o && (o.event = r(o.event)), new v(o);
305
- }
306
- }
307
- class O {
308
- /** Creates a new ConnectionState instance. */
309
- constructor(t = {}) {
310
- /**
311
- * Connection metadata (name, avatar, labels, etc.)
312
- */
313
- s(this, "connection");
314
- /**
315
- * Whether this connection is actively started/connected.
316
- */
317
- s(this, "started");
318
- /**
319
- * Per-resource watch states (resource key → WatchState enum).
320
- */
321
- s(this, "resources");
322
- /**
323
- * Per-resource object counts (resource key → count of cached objects).
324
- */
325
- s(this, "resourceCounts");
326
- /**
327
- * Aggregate counts computed server-side.
328
- */
329
- s(this, "totalResources");
330
- s(this, "syncedCount");
331
- s(this, "errorCount");
332
- /**
333
- * ISO 8601 timestamp of the last successful sync, or empty if never synced.
334
- * String instead of time.Time for Wails serialization compatibility.
335
- */
336
- s(this, "lastSyncTime");
337
- "connection" in t || (this.connection = new P()), "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);
338
- }
339
- /**
340
- * Creates a new ConnectionState instance from a string or object.
341
- */
342
- static createFrom(t = {}) {
343
- const r = $n, o = pn, c = ln;
344
- let i = typeof t == "string" ? JSON.parse(t) : t;
345
- return "connection" in i && (i.connection = r(i.connection)), "resources" in i && (i.resources = o(i.resources)), "resourceCounts" in i && (i.resourceCounts = c(i.resourceCounts)), new O(i);
346
- }
347
- }
348
- const cn = p(u, u), sn = C.createFrom, an = $(sn), un = d.createFrom, $n = P.createFrom, pn = p(u, u), ln = p(u, u);
349
- function fn(e, t) {
350
- return n(4065522324, e, t);
351
- }
352
- function yn(e) {
353
- return n(2393377246, e).then((t) => ir(t));
354
- }
355
- function hn(e) {
356
- return n(1090099505, e);
357
- }
358
- function Tn(e, t) {
359
- return n(1688967279, e, t).then((r) => N(r));
360
- }
361
- function gn(e, t, r, o) {
362
- return n(1613386605, e, t, r, o).then((c) => ur(c));
363
- }
364
- function dn(e, t, r, o) {
365
- return n(1477526970, e, t, r, o).then((c) => pr(c));
366
- }
367
- function Sn(e, t, r) {
368
- return n(1338477906, e, t, r);
369
- }
370
- function mn(e, t, r, o, c) {
371
- return n(1844283666, e, t, r, o, c).then((i) => fr(i));
372
- }
373
- function Fn(e, t, r, o) {
374
- return n(4148812394, e, t, r, o).then((c) => hr(c));
375
- }
376
- function Pn(e, t, r, o) {
377
- return n(194970279, e, t, r, o).then((c) => gr(c));
378
- }
379
- function Gn(e, t, r) {
380
- return n(419011114, e, t, r).then((o) => Sr(o));
381
- }
382
- function bn() {
383
- return n(4153677080).then((e) => Pr(e));
384
- }
385
- function Rn(e, t) {
386
- return n(950535743, e, t).then((r) => S(r));
387
- }
388
- function Cn(e, t) {
389
- return n(537508515, e, t).then((r) => W(r));
390
- }
391
- function _n(e, t) {
392
- return n(1394342402, e, t).then((r) => br(r));
393
- }
394
- function vn(e, t, r) {
395
- return n(1947262600, e, t, r).then((o) => Cr(o));
396
- }
397
- function On(e, t, r, o) {
398
- return n(1644192689, e, t, r, o).then((c) => vr(c));
399
- }
400
- function wn(e, t) {
401
- return n(2699561690, e, t).then((r) => wr(r));
402
- }
403
- function Ln(e, t) {
404
- return n(1474609809, e, t).then((r) => jr(r));
405
- }
406
- function jn(e, t) {
407
- return n(4077050094, e, t).then((r) => Hr(r));
408
- }
409
- function Hn(e, t, r, o, c, i) {
410
- return n(3171791798, e, t, r, o, c, i).then((l) => Mr(l));
411
- }
412
- function An(e, t) {
413
- return n(114848330, e, t).then((r) => E(r));
414
- }
415
- function Mn(e, t) {
416
- return n(4290498491, e, t).then((r) => Dr(r));
417
- }
418
- function Dn(e, t, r) {
419
- return n(137675652, e, t, r);
420
- }
421
- function In(e, t) {
422
- return n(2078766795, e, t).then((r) => Ir(r));
423
- }
424
- function Vn(e, t) {
425
- return n(3311395752, e, t).then((r) => Vr(r));
426
- }
427
- function zn(e, t) {
428
- return n(42345827, e, t).then((r) => Nr(r));
429
- }
430
- function Nn(e) {
431
- return n(854008408, e);
432
- }
433
- function Wn(e, t) {
434
- return n(3547410887, e, t);
435
- }
436
- function En(e, t, r) {
437
- return n(3516169863, e, t, r);
438
- }
439
- function Jn(e, t, r, o) {
440
- return n(3093409425, e, t, r, o).then((c) => Er(c));
441
- }
442
- function Un() {
443
- return n(1598984489).then((e) => Jr(e));
444
- }
445
- function Bn(e) {
446
- return n(1775572154, e).then((t) => w(t));
447
- }
448
- function qn() {
449
- return n(3217612415).then((e) => W(e));
450
- }
451
- function Qn(e) {
452
- return n(2037329938, e).then((t) => w(t));
453
- }
454
- function kn(e, t) {
455
- return n(421198049, e, t);
456
- }
457
- function xn(e, t, r, o, c) {
458
- return n(3987850310, e, t, r, o, c).then((i) => Br(i));
459
- }
460
- function Kn(e, t, r) {
461
- return n(555702059, e, t, r);
462
- }
463
- function Xn(e, t) {
464
- return n(3276991559, e, t).then((r) => N(r));
465
- }
466
- function Yn(e, t) {
467
- return n(3389223006, e, t);
468
- }
469
- function Zn(e, t) {
470
- return n(794258089, e, t).then((r) => S(r));
471
- }
472
- function er(e, t) {
473
- return n(1661153284, e, t);
474
- }
475
- function tr(e, t, r) {
476
- return n(3981374696, e, t, r);
477
- }
478
- function nr(e, t, r, o, c) {
479
- return n(2990116431, e, t, r, o, c);
480
- }
481
- function rr(e, t, r) {
482
- return n(2856546527, e, t, r);
483
- }
484
- function or(e, t, r) {
485
- return n(3710015102, e, t, r);
486
- }
487
- function cr(e, t, r, o) {
488
- return n(2408192164, e, t, r, o).then((c) => Qr(c));
489
- }
490
- function sr(e, t) {
491
- return n(2131988692, e, t).then((r) => S(r));
492
- }
493
- const ir = v.createFrom, N = pe.createFrom, ar = ye.createFrom, ur = $(ar), $r = he.createFrom, pr = $($r), lr = Te.createFrom, fr = $(lr), yr = ge.createFrom, hr = $(yr), Tr = de.createFrom, gr = $(Tr), dr = Se.createFrom, Sr = a(dr), mr = O.createFrom, Fr = a(mr), Pr = p(u, Fr), S = P.createFrom, W = a(u), Gr = me.createFrom, br = a(Gr), Rr = Fe.createFrom, Cr = a(Rr), _r = Pe.createFrom, vr = $(_r), Or = Ge.createFrom, wr = a(Or), Lr = be.createFrom, jr = $(Lr), Hr = le.createFrom, Ar = Re.createFrom, Mr = a(Ar), E = fe.createFrom, Dr = p(u, E), J = Ce.createFrom, Ir = $(J), Vr = p(u, J), zr = _e.createFrom, Nr = $(zr), Wr = ve.createFrom, Er = $(Wr), w = a(S), Jr = p(u, w), Ur = Oe.createFrom, Br = a(Ur), qr = we.createFrom, Qr = $(qr), Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
494
- __proto__: null,
495
- AddConnection: fn,
496
- AttachStreamAction: yn,
497
- CancelStreamAction: hn,
498
- CheckConnection: Tn,
499
- Create: gn,
500
- Delete: dn,
501
- EnsureResourceWatch: Sn,
502
- ExecuteAction: mn,
503
- Find: Fn,
504
- Get: Pn,
505
- GetActions: Gn,
506
- GetAllConnectionStates: bn,
507
- GetConnection: Rn,
508
- GetConnectionNamespaces: Cn,
509
- GetEditorSchemas: _n,
510
- GetFilterFields: vn,
511
- GetHealth: On,
512
- GetRelationships: wn,
513
- GetResourceCapabilities: Ln,
514
- GetResourceDefinition: jn,
515
- GetResourceEvents: Hn,
516
- GetResourceGroup: An,
517
- GetResourceGroups: Mn,
518
- GetResourceSchema: Dn,
519
- GetResourceType: In,
520
- GetResourceTypes: Vn,
521
- GetWatchState: zn,
522
- HasPlugin: Nn,
523
- HasResourceType: Wn,
524
- IsResourceWatchRunning: En,
525
- List: Jn,
526
- ListAllConnections: Un,
527
- ListConnections: Bn,
528
- ListPlugins: qn,
529
- LoadConnections: Qn,
530
- RemoveConnection: kn,
531
- ResolveRelationships: xn,
532
- RestartResourceWatch: Kn,
533
- StartConnection: Xn,
534
- StartConnectionWatch: Yn,
535
- StopConnection: Zn,
536
- StopConnectionWatch: er,
537
- StopResourceWatch: tr,
538
- StreamAction: nr,
539
- SubscribeResource: rr,
540
- UnsubscribeResource: or,
541
- Update: cr,
542
- UpdateConnection: sr
543
- }, Symbol.toStringTag, { value: "Module" }));
544
- function kr(e, t) {
545
- return n(3653639550, e, t);
546
- }
547
- function xr(e, t) {
548
- return n(851823419, e, t);
549
- }
550
- function Kr(e) {
551
- return n(2991415449, e).then((t) => Yr(t));
552
- }
553
- function Xr(e, t, r) {
554
- return n(2695679023, e, t, r);
555
- }
556
- const Yr = a(u), Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
557
- __proto__: null,
558
- Delete: kr,
559
- Get: xr,
560
- Keys: Kr,
561
- Set: Xr
562
- }, Symbol.toStringTag, { value: "Module" }));
563
- function Zr(e) {
564
- return n(93318075, e).then((t) => (t[0] = h(t[0]), t[1] = re(t[1]), t));
565
- }
566
- function eo(e) {
567
- return n(1353297556, e);
568
- }
569
- function to(e, t, r) {
570
- return n(608251756, e, t, r).then((o) => h(o));
571
- }
572
- function no(e) {
573
- return n(4182196712, e).then((t) => h(t));
574
- }
575
- function ro(e) {
576
- return n(3993344525, e).then((t) => h(t));
577
- }
578
- function oo(e, t) {
579
- return n(1779192716, e, t).then((r) => yo(r));
580
- }
581
- function co() {
582
- return n(4033362541).then((e) => ho(e));
583
- }
584
- function so(e) {
585
- return n(2619212338, e).then((t) => B(t));
586
- }
587
- function io(e) {
588
- return n(1371268636, e).then((t) => h(t));
589
- }
590
- function ao(e) {
591
- return n(3881019319, e);
592
- }
593
- function uo() {
594
- return n(3006426324).then((e) => To(e));
595
- }
596
- function $o() {
597
- return n(265791345).then((e) => go(e));
598
- }
599
- function po(e, t, r) {
600
- return n(1492965384, e, t, r);
601
- }
602
- function lo(e, t) {
603
- return n(486465741, e, t);
604
- }
605
- const fo = je.createFrom, h = $(fo), U = Le.createFrom, yo = $(U), B = p(u, U), ho = p(u, B), To = a(u), go = a(h), _c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
606
- __proto__: null,
607
- AttachSession: Zr,
608
- CloseSession: eo,
609
- CreateSession: to,
610
- CreateTerminal: no,
611
- DetachSession: ro,
612
- GetHandler: oo,
613
- GetHandlers: co,
614
- GetPluginHandlers: so,
615
- GetSession: io,
616
- HasPlugin: ao,
617
- ListPlugins: uo,
618
- ListSessions: $o,
619
- ResizeSession: po,
620
- WriteSession: lo
621
- }, Symbol.toStringTag, { value: "Module" }));
622
- function So(e) {
623
- return n(2776241946, e);
624
- }
625
- function mo(e, t, r) {
626
- return n(1762441314, e, t, r).then((o) => m(o));
627
- }
628
- function Fo(e) {
629
- return n(1474987050, e).then((t) => m(t));
630
- }
631
- function Po(e) {
632
- return n(3156347865, e).then((t) => wo(t));
633
- }
634
- function Go(e) {
635
- return n(1444002509, e);
636
- }
637
- function bo() {
638
- return n(3104582886).then((e) => Lo(e));
639
- }
640
- function Ro() {
641
- return n(2249742267).then((e) => jo(e));
642
- }
643
- function Co(e, t) {
644
- return n(1212190993, e, t);
645
- }
646
- function _o(e, t) {
647
- return n(2177127885, e, t).then((r) => m(r));
648
- }
649
- const vo = He.createFrom, m = $(vo), Oo = Ae.createFrom, wo = a(Oo), Lo = a(u), jo = a(m), vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
650
- __proto__: null,
651
- CloseSession: So,
652
- CreateSession: mo,
653
- GetSession: Fo,
654
- GetSupportedResources: Po,
655
- HasPlugin: Go,
656
- ListPlugins: bo,
657
- ListSessions: Ro,
658
- SendCommand: Co,
659
- UpdateSessionOptions: _o
660
- }, Symbol.toStringTag, { value: "Module" }));
661
- class L {
662
- /** Creates a new MetricProviderSummary instance. */
663
- constructor(t = {}) {
664
- s(this, "plugin_id");
665
- s(this, "provider_id");
666
- s(this, "name");
667
- s(this, "icon");
668
- s(this, "description");
669
- s(this, "handlers");
670
- "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);
671
- }
672
- /**
673
- * Creates a new MetricProviderSummary instance from a string or object.
674
- */
675
- static createFrom(t = {}) {
676
- const r = Ao;
677
- let o = typeof t == "string" ? JSON.parse(t) : t;
678
- return "handlers" in o && (o.handlers = r(o.handlers)), new L(o);
679
- }
680
- }
681
- const Ho = Me.createFrom, Ao = a(Ho);
682
- function Mo() {
683
- return n(3919346639).then((e) => q(e));
684
- }
685
- function Do(e) {
686
- return n(3953821778, e).then((t) => q(t));
687
- }
688
- function Io(e) {
689
- return n(1815388456, e);
690
- }
691
- function Vo() {
692
- return n(2730149903).then((e) => Uo(e));
693
- }
694
- function zo(e, t, r) {
695
- return n(3947209283, e, t, r).then((o) => Q(o));
696
- }
697
- function No(e, t, r, o, c, i, l, y, Y, Z) {
698
- return n(2480040278, e, t, r, o, c, i, l, y, Y, Z).then((ee) => qo(ee));
699
- }
700
- function Wo(e, t, r) {
701
- return n(3738888803, e, t, r);
702
- }
703
- function Eo(e) {
704
- return n(3994236150, e);
705
- }
706
- const Jo = L.createFrom, q = a(Jo), Uo = a(u), Bo = De.createFrom, Q = $(Bo), qo = p(u, Q), Oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
707
- __proto__: null,
708
- GetProviders: Mo,
709
- GetProvidersForResource: Do,
710
- HasPlugin: Io,
711
- ListPlugins: Vo,
712
- Query: zo,
713
- QueryAll: No,
714
- Subscribe: Wo,
715
- Unsubscribe: Eo
716
- }, Symbol.toStringTag, { value: "Module" }));
717
- function Qo(e) {
718
- return n(182596922, e).then((t) => F(t));
719
- }
720
- function ko(e, t, r) {
721
- return n(981100722, e, t, r).then((o) => j(o));
722
- }
723
- function xo(e) {
724
- return n(2157304970, e).then((t) => F(t));
725
- }
726
- function Ko(e) {
727
- return n(650882, e).then((t) => k(t));
728
- }
729
- function Xo(e) {
730
- return n(3624690437, e);
731
- }
732
- function Yo() {
733
- return n(2195697754).then((e) => j(e));
734
- }
735
- function Zo() {
736
- return n(167463150).then((e) => k(e));
737
- }
738
- function ec(e, t) {
739
- return n(2090415403, e, t).then((r) => j(r));
740
- }
741
- function tc(e, t, r) {
742
- return n(780445954, e, t, r).then((o) => F(o));
743
- }
744
- const nc = Ie.createFrom, F = $(nc), j = a(F), k = a(u), wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
- __proto__: null,
746
- ClosePortForwardSession: Qo,
747
- FindPortForwardSessions: ko,
748
- GetPortForwardSession: xo,
749
- GetSupportedPortForwardTargets: Ko,
750
- HasPlugin: Xo,
751
- ListAllPortForwardSessions: Yo,
752
- ListPlugins: Zo,
753
- ListPortForwardSessions: ec,
754
- StartResourcePortForwardingSession: tc
755
- }, Symbol.toStringTag, { value: "Module" }));
756
- function rc(e) {
757
- return n(2106300110, e).then((t) => sc(t));
758
- }
759
- function oc(e) {
760
- return n(765209827, e).then((t) => ic(t));
761
- }
762
- function cc(e) {
763
- return n(2355436169, e).then((t) => K(t));
764
- }
765
- const x = Ve.createFrom, K = a(x), sc = p(u, K), ic = $(x), Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
766
- __proto__: null,
767
- GetPluginComponents: rc,
768
- GetResourceAreaComponent: oc,
769
- GetResourceComponents: cc
770
- }, Symbol.toStringTag, { value: "Module" }));
771
- function ac(e, t, r, o, c, i) {
772
- return n(3749557463, e, t, r, o, c, i).then((l) => fc(l));
773
- }
774
- function uc(e, t, r, o, c, i, l) {
775
- return n(3912521777, e, t, r, o, c, i, l).then((y) => X(y));
776
- }
777
- function $c(e, t, r, o, c, i, l) {
778
- return n(1916045973, e, t, r, o, c, i, l).then((y) => hc(y));
779
- }
780
- function pc(e, t, r, o, c, i, l) {
781
- return n(210990208, e, t, r, o, c, i, l).then((y) => gc(y));
782
- }
783
- const lc = ze.createFrom, fc = $(lc), yc = Ne.createFrom, X = a(yc), hc = a(X), Tc = We.createFrom, gc = $(Tc), jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
784
- __proto__: null,
785
- GetDependencyTree: ac,
786
- GetRelated: uc,
787
- GetRelationshipChain: $c,
788
- GetSubgraph: pc
789
- }, Symbol.toStringTag, { value: "Module" }));
790
- export {
791
- Rc as $,
792
- gn as A,
793
- rr as B,
794
- to as C,
795
- dn as D,
796
- or as E,
797
- ko as F,
798
- nt as G,
799
- Gn as H,
800
- mn as I,
801
- _n as J,
802
- zn as K,
803
- Bn as L,
804
- hn as M,
805
- nr as N,
806
- yn as O,
807
- qe as P,
808
- No as Q,
809
- kn as R,
810
- Xn as S,
811
- uc as T,
812
- sr as U,
813
- qt as V,
814
- ac as W,
815
- pc as X,
816
- _c as Y,
817
- wc as Z,
818
- Gc as _,
819
- Zn as a,
820
- jc as a0,
821
- Pc as a1,
822
- bc as a2,
823
- Lc as a3,
824
- vc as a4,
825
- Oc as a5,
826
- Cc as a6,
827
- Rn as b,
828
- Yn as c,
829
- er as d,
830
- Cn as e,
831
- bn as f,
832
- gt as g,
833
- Un as h,
834
- xr as i,
835
- Xr as j,
836
- mo as k,
837
- So as l,
838
- Mo as m,
839
- Do as n,
840
- Wo as o,
841
- Eo as p,
842
- Yo as q,
843
- Qo as r,
844
- tc as s,
845
- cr as t,
846
- Pn as u,
847
- oc as v,
848
- Mn as w,
849
- Jn as x,
850
- In as y,
851
- Vn as z
852
- };