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