@omniviewdev/runtime 0.0.0-nightly.20260225

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 (111) hide show
  1. package/LICENSE +661 -0
  2. package/dist/Client-DGdSmmVk.js +585 -0
  3. package/dist/Client-ES-O5dCV.cjs +1 -0
  4. package/dist/api.cjs +1 -0
  5. package/dist/api.d.ts +13 -0
  6. package/dist/api.js +120 -0
  7. package/dist/context/drawer/BottomDrawerContext.d.ts +20 -0
  8. package/dist/context/drawer/RightDrawerContext.d.ts +15 -0
  9. package/dist/context/drawer/index.d.ts +3 -0
  10. package/dist/context/drawer/types.d.ts +222 -0
  11. package/dist/context/index.d.ts +5 -0
  12. package/dist/context/modal/ConfirmationModalContext.d.ts +12 -0
  13. package/dist/context/modal/index.d.ts +1 -0
  14. package/dist/context/operations/OperationsContext.d.ts +27 -0
  15. package/dist/context/plugins/PluginContext.d.ts +9 -0
  16. package/dist/context/plugins/PluginContextProvider.d.ts +5 -0
  17. package/dist/context/plugins/index.d.ts +3 -0
  18. package/dist/context/plugins/usePluginContext.d.ts +3 -0
  19. package/dist/context/settings/SettingsContext.d.ts +9 -0
  20. package/dist/context/settings/index.d.ts +1 -0
  21. package/dist/errors/index.d.ts +3 -0
  22. package/dist/errors/parseAppError.d.ts +51 -0
  23. package/dist/errors/parseAppError.test.d.ts +1 -0
  24. package/dist/errors/types.d.ts +40 -0
  25. package/dist/extensions/index.d.ts +2 -0
  26. package/dist/extensions/points/resource/helpers.d.ts +19 -0
  27. package/dist/extensions/points/resource/types.d.ts +6 -0
  28. package/dist/extensions/provider.d.ts +18 -0
  29. package/dist/extensions/registry.d.ts +30 -0
  30. package/dist/extensions/utils.d.ts +4 -0
  31. package/dist/hooks/connection/index.d.ts +4 -0
  32. package/dist/hooks/connection/useConnection.d.ts +37 -0
  33. package/dist/hooks/connection/useConnectionNamespaces.d.ts +20 -0
  34. package/dist/hooks/connection/useConnectionStatus.d.ts +29 -0
  35. package/dist/hooks/connection/useConnections.d.ts +18 -0
  36. package/dist/hooks/data/index.d.ts +1 -0
  37. package/dist/hooks/data/usePluginData.d.ts +11 -0
  38. package/dist/hooks/drawer/index.d.ts +2 -0
  39. package/dist/hooks/drawer/useBottomDrawer.d.ts +1 -0
  40. package/dist/hooks/drawer/useRightDrawer.d.ts +5 -0
  41. package/dist/hooks/exec/index.d.ts +1 -0
  42. package/dist/hooks/exec/useExecSession.d.ts +21 -0
  43. package/dist/hooks/index.d.ts +13 -0
  44. package/dist/hooks/logs/index.d.ts +1 -0
  45. package/dist/hooks/logs/useLogSession.d.ts +21 -0
  46. package/dist/hooks/metric/index.d.ts +3 -0
  47. package/dist/hooks/metric/useMetricProviders.d.ts +9 -0
  48. package/dist/hooks/metric/useMetricStream.d.ts +40 -0
  49. package/dist/hooks/metric/useResourceMetrics.d.ts +46 -0
  50. package/dist/hooks/modal/index.d.ts +1 -0
  51. package/dist/hooks/modal/useConfirmationModal.d.ts +5 -0
  52. package/dist/hooks/networker/index.d.ts +3 -0
  53. package/dist/hooks/networker/types.d.ts +50 -0
  54. package/dist/hooks/networker/usePortForwardSessions.d.ts +13 -0
  55. package/dist/hooks/networker/useResourcePortForwarder.d.ts +21 -0
  56. package/dist/hooks/operations/useOperations.d.ts +1 -0
  57. package/dist/hooks/resource/index.d.ts +13 -0
  58. package/dist/hooks/resource/useActiveSyncs.d.ts +16 -0
  59. package/dist/hooks/resource/useEditorSchemas.d.ts +22 -0
  60. package/dist/hooks/resource/useInformerState.d.ts +24 -0
  61. package/dist/hooks/resource/useResource.d.ts +74 -0
  62. package/dist/hooks/resource/useResourceActions.d.ts +69 -0
  63. package/dist/hooks/resource/useResourceAreaComponent.d.ts +9 -0
  64. package/dist/hooks/resource/useResourceGroups.d.ts +22 -0
  65. package/dist/hooks/resource/useResourceMutations.d.ts +58 -0
  66. package/dist/hooks/resource/useResourceSearch.d.ts +36 -0
  67. package/dist/hooks/resource/useResourceType.d.ts +22 -0
  68. package/dist/hooks/resource/useResourceTypes.d.ts +22 -0
  69. package/dist/hooks/resource/useResources.d.ts +73 -0
  70. package/dist/hooks/resource/useStreamAction.d.ts +21 -0
  71. package/dist/hooks/settings/index.d.ts +1 -0
  72. package/dist/hooks/settings/useSettings.d.ts +2 -0
  73. package/dist/hooks/snackbar/index.d.ts +1 -0
  74. package/dist/hooks/snackbar/useSnackbar.d.ts +24 -0
  75. package/dist/hooks/useResolvedPluginId.d.ts +8 -0
  76. package/dist/index.cjs +2 -0
  77. package/dist/index.d.ts +6 -0
  78. package/dist/index.js +2593 -0
  79. package/dist/models.cjs +1 -0
  80. package/dist/models.d.ts +1 -0
  81. package/dist/models.js +1915 -0
  82. package/dist/router/Link.d.ts +24 -0
  83. package/dist/router/index.d.ts +11 -0
  84. package/dist/router/usePluginRouter.d.ts +40 -0
  85. package/dist/runtime.cjs +1 -0
  86. package/dist/runtime.d.ts +1 -0
  87. package/dist/runtime.js +215 -0
  88. package/dist/types/app.d.ts +73 -0
  89. package/dist/types/extensions.d.ts +186 -0
  90. package/dist/types/index.d.ts +4 -0
  91. package/dist/types/informer.d.ts +49 -0
  92. package/dist/types/plugin.d.ts +5 -0
  93. package/dist/utils/activeSyncAggregator.d.ts +29 -0
  94. package/dist/utils/activeSyncAggregator.test.d.ts +1 -0
  95. package/dist/wailsjs/go/data/Client.d.ts +10 -0
  96. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +22 -0
  97. package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +18 -0
  98. package/dist/wailsjs/go/exec/Client.d.ts +26 -0
  99. package/dist/wailsjs/go/logs/Client.d.ts +16 -0
  100. package/dist/wailsjs/go/main/App.d.ts +8 -0
  101. package/dist/wailsjs/go/metric/Client.d.ts +12 -0
  102. package/dist/wailsjs/go/models.d.ts +894 -0
  103. package/dist/wailsjs/go/networker/Client.d.ts +14 -0
  104. package/dist/wailsjs/go/plugin/pluginManager.d.ts +52 -0
  105. package/dist/wailsjs/go/resource/Client.d.ts +68 -0
  106. package/dist/wailsjs/go/settings/Client.d.ts +14 -0
  107. package/dist/wailsjs/go/settings/provider.d.ts +46 -0
  108. package/dist/wailsjs/go/ui/Client.d.ts +6 -0
  109. package/dist/wailsjs/go/utils/Client.d.ts +2 -0
  110. package/dist/wailsjs/runtime/runtime.d.ts +249 -0
  111. package/package.json +68 -0
package/dist/models.js ADDED
@@ -0,0 +1,1915 @@
1
+ var $ = Object.defineProperty;
2
+ var tt = (a, p, f) => p in a ? $(a, p, { enumerable: !0, configurable: !0, writable: !0, value: f }) : a[p] = f;
3
+ var e = (a, p, f) => tt(a, typeof p != "symbol" ? p + "" : p, f);
4
+ var k;
5
+ ((a) => {
6
+ class p {
7
+ constructor(s = {}) {
8
+ e(this, "name");
9
+ e(this, "email");
10
+ e(this, "url");
11
+ typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.email = s.email, this.url = s.url;
12
+ }
13
+ static createFrom(s = {}) {
14
+ return new p(s);
15
+ }
16
+ }
17
+ a.PluginAuthor = p;
18
+ class f {
19
+ constructor(s = {}) {
20
+ e(this, "name");
21
+ e(this, "plugin");
22
+ e(this, "area");
23
+ e(this, "resources");
24
+ e(this, "extension");
25
+ typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.plugin = s.plugin, this.area = s.area, this.resources = s.resources, this.extension = s.extension;
26
+ }
27
+ static createFrom(s = {}) {
28
+ return new f(s);
29
+ }
30
+ }
31
+ a.PluginResourceComponent = f;
32
+ class l {
33
+ constructor(s = {}) {
34
+ e(this, "resource");
35
+ typeof s == "string" && (s = JSON.parse(s)), this.resource = this.convertValues(s.resource, f);
36
+ }
37
+ static createFrom(s = {}) {
38
+ return new l(s);
39
+ }
40
+ convertValues(s, c, _ = !1) {
41
+ if (!s)
42
+ return s;
43
+ if (s.slice && s.map)
44
+ return s.map((w) => this.convertValues(w, c));
45
+ if (typeof s == "object") {
46
+ if (_) {
47
+ for (const w of Object.keys(s))
48
+ s[w] = new c(s[w]);
49
+ return s;
50
+ }
51
+ return new c(s);
52
+ }
53
+ return s;
54
+ }
55
+ }
56
+ a.PluginComponents = l;
57
+ class o {
58
+ constructor(s = {}) {
59
+ e(this, "name");
60
+ e(this, "email");
61
+ typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.email = s.email;
62
+ }
63
+ static createFrom(s = {}) {
64
+ return new o(s);
65
+ }
66
+ }
67
+ a.PluginMaintainer = o;
68
+ class g {
69
+ constructor(s = {}) {
70
+ e(this, "primary");
71
+ e(this, "secondary");
72
+ e(this, "tertiary");
73
+ typeof s == "string" && (s = JSON.parse(s)), this.primary = s.primary, this.secondary = s.secondary, this.tertiary = s.tertiary;
74
+ }
75
+ static createFrom(s = {}) {
76
+ return new g(s);
77
+ }
78
+ }
79
+ a.PluginThemeColors = g;
80
+ class r {
81
+ constructor(s = {}) {
82
+ e(this, "colors");
83
+ typeof s == "string" && (s = JSON.parse(s)), this.colors = this.convertValues(s.colors, g);
84
+ }
85
+ static createFrom(s = {}) {
86
+ return new r(s);
87
+ }
88
+ convertValues(s, c, _ = !1) {
89
+ if (!s)
90
+ return s;
91
+ if (s.slice && s.map)
92
+ return s.map((w) => this.convertValues(w, c));
93
+ if (typeof s == "object") {
94
+ if (_) {
95
+ for (const w of Object.keys(s))
96
+ s[w] = new c(s[w]);
97
+ return s;
98
+ }
99
+ return new c(s);
100
+ }
101
+ return s;
102
+ }
103
+ }
104
+ a.PluginTheme = r;
105
+ class i {
106
+ constructor(s = {}) {
107
+ e(this, "id");
108
+ e(this, "version");
109
+ e(this, "name");
110
+ e(this, "icon");
111
+ e(this, "icon_url");
112
+ e(this, "description");
113
+ e(this, "repository");
114
+ e(this, "website");
115
+ e(this, "category");
116
+ e(this, "license");
117
+ e(this, "author");
118
+ e(this, "maintainers");
119
+ e(this, "tags");
120
+ e(this, "dependencies");
121
+ e(this, "capabilities");
122
+ e(this, "theme");
123
+ e(this, "components");
124
+ typeof s == "string" && (s = JSON.parse(s)), this.id = s.id, this.version = s.version, this.name = s.name, this.icon = s.icon, this.icon_url = s.icon_url, this.description = s.description, this.repository = s.repository, this.website = s.website, this.category = s.category, this.license = s.license, this.author = this.convertValues(s.author, p), this.maintainers = this.convertValues(s.maintainers, o), this.tags = s.tags, this.dependencies = s.dependencies, this.capabilities = s.capabilities, this.theme = this.convertValues(s.theme, r), this.components = this.convertValues(s.components, l);
125
+ }
126
+ static createFrom(s = {}) {
127
+ return new i(s);
128
+ }
129
+ convertValues(s, c, _ = !1) {
130
+ if (!s)
131
+ return s;
132
+ if (s.slice && s.map)
133
+ return s.map((w) => this.convertValues(w, c));
134
+ if (typeof s == "object") {
135
+ if (_) {
136
+ for (const w of Object.keys(s))
137
+ s[w] = new c(s[w]);
138
+ return s;
139
+ }
140
+ return new c(s);
141
+ }
142
+ return s;
143
+ }
144
+ }
145
+ a.PluginMeta = i;
146
+ })(k || (k = {}));
147
+ var U;
148
+ ((a) => {
149
+ class p {
150
+ constructor(r = {}) {
151
+ e(this, "pid");
152
+ e(this, "protocol");
153
+ e(this, "protocolVersion");
154
+ e(this, "addr");
155
+ e(this, "vitePort");
156
+ e(this, "pluginId");
157
+ e(this, "version");
158
+ e(this, "startedAt");
159
+ typeof r == "string" && (r = JSON.parse(r)), this.pid = r.pid, this.protocol = r.protocol, this.protocolVersion = r.protocolVersion, this.addr = r.addr, this.vitePort = r.vitePort, this.pluginId = r.pluginId, this.version = r.version, this.startedAt = r.startedAt;
160
+ }
161
+ static createFrom(r = {}) {
162
+ return new p(r);
163
+ }
164
+ }
165
+ a.DevInfoFile = p;
166
+ class f {
167
+ static createFrom(r = {}) {
168
+ return new f(r);
169
+ }
170
+ constructor(r = {}) {
171
+ typeof r == "string" && (r = JSON.parse(r));
172
+ }
173
+ }
174
+ a.DevServerManager = f;
175
+ class l {
176
+ constructor(r = {}) {
177
+ e(this, "pluginID");
178
+ e(this, "mode");
179
+ e(this, "devPath");
180
+ e(this, "vitePort");
181
+ e(this, "viteURL");
182
+ e(this, "viteStatus");
183
+ e(this, "goStatus");
184
+ e(this, "lastBuildDuration");
185
+ e(this, "lastBuildTime");
186
+ e(this, "lastError");
187
+ e(this, "grpcConnected");
188
+ typeof r == "string" && (r = JSON.parse(r)), this.pluginID = r.pluginID, this.mode = r.mode, this.devPath = r.devPath, this.vitePort = r.vitePort, this.viteURL = r.viteURL, this.viteStatus = r.viteStatus, this.goStatus = r.goStatus, this.lastBuildDuration = r.lastBuildDuration, this.lastBuildTime = this.convertValues(r.lastBuildTime, O.Time), this.lastError = r.lastError, this.grpcConnected = r.grpcConnected;
189
+ }
190
+ static createFrom(r = {}) {
191
+ return new l(r);
192
+ }
193
+ convertValues(r, i, m = !1) {
194
+ if (!r)
195
+ return r;
196
+ if (r.slice && r.map)
197
+ return r.map((s) => this.convertValues(s, i));
198
+ if (typeof r == "object") {
199
+ if (m) {
200
+ for (const s of Object.keys(r))
201
+ r[s] = new i(r[s]);
202
+ return r;
203
+ }
204
+ return new i(r);
205
+ }
206
+ return r;
207
+ }
208
+ }
209
+ a.DevServerState = l;
210
+ class o {
211
+ constructor(r = {}) {
212
+ e(this, "timestamp");
213
+ e(this, "source");
214
+ e(this, "level");
215
+ e(this, "message");
216
+ e(this, "pluginID");
217
+ typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, O.Time), this.source = r.source, this.level = r.level, this.message = r.message, this.pluginID = r.pluginID;
218
+ }
219
+ static createFrom(r = {}) {
220
+ return new o(r);
221
+ }
222
+ convertValues(r, i, m = !1) {
223
+ if (!r)
224
+ return r;
225
+ if (r.slice && r.map)
226
+ return r.map((s) => this.convertValues(s, i));
227
+ if (typeof r == "object") {
228
+ if (m) {
229
+ for (const s of Object.keys(r))
230
+ r[s] = new i(r[s]);
231
+ return r;
232
+ }
233
+ return new i(r);
234
+ }
235
+ return r;
236
+ }
237
+ }
238
+ a.LogEntry = o;
239
+ })(U || (U = {}));
240
+ var B;
241
+ ((a) => {
242
+ class p {
243
+ constructor(i = {}) {
244
+ e(this, "created_at");
245
+ e(this, "labels");
246
+ e(this, "params");
247
+ e(this, "id");
248
+ e(this, "command");
249
+ e(this, "attached");
250
+ typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at, O.Time), this.labels = i.labels, this.params = i.params, this.id = i.id, this.command = i.command, this.attached = i.attached;
251
+ }
252
+ static createFrom(i = {}) {
253
+ return new p(i);
254
+ }
255
+ convertValues(i, m, s = !1) {
256
+ if (!i)
257
+ return i;
258
+ if (i.slice && i.map)
259
+ return i.map((c) => this.convertValues(c, m));
260
+ if (typeof i == "object") {
261
+ if (s) {
262
+ for (const c of Object.keys(i))
263
+ i[c] = new m(i[c]);
264
+ return i;
265
+ }
266
+ return new m(i);
267
+ }
268
+ return i;
269
+ }
270
+ }
271
+ a.Session = p;
272
+ class f {
273
+ constructor(i = {}) {
274
+ e(this, "session");
275
+ e(this, "buffer");
276
+ typeof i == "string" && (i = JSON.parse(i)), this.session = this.convertValues(i.session, p), this.buffer = i.buffer;
277
+ }
278
+ static createFrom(i = {}) {
279
+ return new f(i);
280
+ }
281
+ convertValues(i, m, s = !1) {
282
+ if (!i)
283
+ return i;
284
+ if (i.slice && i.map)
285
+ return i.map((c) => this.convertValues(c, m));
286
+ if (typeof i == "object") {
287
+ if (s) {
288
+ for (const c of Object.keys(i))
289
+ i[c] = new m(i[c]);
290
+ return i;
291
+ }
292
+ return new m(i);
293
+ }
294
+ return i;
295
+ }
296
+ }
297
+ a.AttachSessionResult = f;
298
+ class l {
299
+ constructor(i = {}) {
300
+ e(this, "labels");
301
+ e(this, "command");
302
+ typeof i == "string" && (i = JSON.parse(i)), this.labels = i.labels, this.command = i.command;
303
+ }
304
+ static createFrom(i = {}) {
305
+ return new l(i);
306
+ }
307
+ }
308
+ a.CreateTerminalOptions = l;
309
+ class o {
310
+ constructor(i = {}) {
311
+ e(this, "plugin");
312
+ e(this, "resource");
313
+ e(this, "target_builder");
314
+ e(this, "default_command");
315
+ typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, S.ActionTargetBuilder), this.default_command = i.default_command;
316
+ }
317
+ static createFrom(i = {}) {
318
+ return new o(i);
319
+ }
320
+ convertValues(i, m, s = !1) {
321
+ if (!i)
322
+ return i;
323
+ if (i.slice && i.map)
324
+ return i.map((c) => this.convertValues(c, m));
325
+ if (typeof i == "object") {
326
+ if (s) {
327
+ for (const c of Object.keys(i))
328
+ i[c] = new m(i[c]);
329
+ return i;
330
+ }
331
+ return new m(i);
332
+ }
333
+ return i;
334
+ }
335
+ }
336
+ a.Handler = o;
337
+ class g {
338
+ constructor(i = {}) {
339
+ e(this, "params");
340
+ e(this, "labels");
341
+ e(this, "id");
342
+ e(this, "resource_plugin");
343
+ e(this, "resource_key");
344
+ e(this, "resource_data");
345
+ e(this, "command");
346
+ e(this, "tty");
347
+ typeof i == "string" && (i = JSON.parse(i)), this.params = i.params, this.labels = i.labels, this.id = i.id, this.resource_plugin = i.resource_plugin, this.resource_key = i.resource_key, this.resource_data = i.resource_data, this.command = i.command, this.tty = i.tty;
348
+ }
349
+ static createFrom(i = {}) {
350
+ return new g(i);
351
+ }
352
+ }
353
+ a.SessionOptions = g;
354
+ })(B || (B = {}));
355
+ var G;
356
+ ((a) => {
357
+ class p {
358
+ constructor(i = {}) {
359
+ e(this, "target");
360
+ e(this, "follow");
361
+ e(this, "include_previous");
362
+ e(this, "include_timestamps");
363
+ e(this, "tail_lines");
364
+ e(this, "since_seconds");
365
+ e(this, "since_time");
366
+ e(this, "limit_bytes");
367
+ e(this, "include_source_events");
368
+ e(this, "params");
369
+ typeof i == "string" && (i = JSON.parse(i)), this.target = i.target, this.follow = i.follow, this.include_previous = i.include_previous, this.include_timestamps = i.include_timestamps, this.tail_lines = i.tail_lines, this.since_seconds = i.since_seconds, this.since_time = this.convertValues(i.since_time, O.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
370
+ }
371
+ static createFrom(i = {}) {
372
+ return new p(i);
373
+ }
374
+ convertValues(i, m, s = !1) {
375
+ if (!i)
376
+ return i;
377
+ if (i.slice && i.map)
378
+ return i.map((c) => this.convertValues(c, m));
379
+ if (typeof i == "object") {
380
+ if (s) {
381
+ for (const c of Object.keys(i))
382
+ i[c] = new m(i[c]);
383
+ return i;
384
+ }
385
+ return new m(i);
386
+ }
387
+ return i;
388
+ }
389
+ }
390
+ a.LogSessionOptions = p;
391
+ class f {
392
+ constructor(i = {}) {
393
+ e(this, "resource_key");
394
+ e(this, "resource_id");
395
+ e(this, "resource_data");
396
+ e(this, "options");
397
+ typeof i == "string" && (i = JSON.parse(i)), this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.resource_data = i.resource_data, this.options = this.convertValues(i.options, p);
398
+ }
399
+ static createFrom(i = {}) {
400
+ return new f(i);
401
+ }
402
+ convertValues(i, m, s = !1) {
403
+ if (!i)
404
+ return i;
405
+ if (i.slice && i.map)
406
+ return i.map((c) => this.convertValues(c, m));
407
+ if (typeof i == "object") {
408
+ if (s) {
409
+ for (const c of Object.keys(i))
410
+ i[c] = new m(i[c]);
411
+ return i;
412
+ }
413
+ return new m(i);
414
+ }
415
+ return i;
416
+ }
417
+ }
418
+ a.CreateSessionOptions = f;
419
+ class l {
420
+ constructor(i = {}) {
421
+ e(this, "plugin");
422
+ e(this, "resource");
423
+ e(this, "target_builder");
424
+ typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, S.ActionTargetBuilder);
425
+ }
426
+ static createFrom(i = {}) {
427
+ return new l(i);
428
+ }
429
+ convertValues(i, m, s = !1) {
430
+ if (!i)
431
+ return i;
432
+ if (i.slice && i.map)
433
+ return i.map((c) => this.convertValues(c, m));
434
+ if (typeof i == "object") {
435
+ if (s) {
436
+ for (const c of Object.keys(i))
437
+ i[c] = new m(i[c]);
438
+ return i;
439
+ }
440
+ return new m(i);
441
+ }
442
+ return i;
443
+ }
444
+ }
445
+ a.Handler = l;
446
+ class o {
447
+ constructor(i = {}) {
448
+ e(this, "id");
449
+ e(this, "labels");
450
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.labels = i.labels;
451
+ }
452
+ static createFrom(i = {}) {
453
+ return new o(i);
454
+ }
455
+ }
456
+ a.LogSource = o;
457
+ class g {
458
+ constructor(i = {}) {
459
+ e(this, "id");
460
+ e(this, "plugin_id");
461
+ e(this, "connection_id");
462
+ e(this, "resource_key");
463
+ e(this, "resource_id");
464
+ e(this, "options");
465
+ e(this, "status");
466
+ e(this, "active_sources");
467
+ e(this, "created_at");
468
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.plugin_id = i.plugin_id, this.connection_id = i.connection_id, this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.options = this.convertValues(i.options, p), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, o), this.created_at = this.convertValues(i.created_at, O.Time);
469
+ }
470
+ static createFrom(i = {}) {
471
+ return new g(i);
472
+ }
473
+ convertValues(i, m, s = !1) {
474
+ if (!i)
475
+ return i;
476
+ if (i.slice && i.map)
477
+ return i.map((c) => this.convertValues(c, m));
478
+ if (typeof i == "object") {
479
+ if (s) {
480
+ for (const c of Object.keys(i))
481
+ i[c] = new m(i[c]);
482
+ return i;
483
+ }
484
+ return new m(i);
485
+ }
486
+ return i;
487
+ }
488
+ }
489
+ a.LogSession = g;
490
+ })(G || (G = {}));
491
+ var z;
492
+ ((a) => {
493
+ class p {
494
+ constructor(o = {}) {
495
+ e(this, "displayName");
496
+ e(this, "pattern");
497
+ typeof o == "string" && (o = JSON.parse(o)), this.displayName = o.displayName, this.pattern = o.pattern;
498
+ }
499
+ static createFrom(o = {}) {
500
+ return new p(o);
501
+ }
502
+ }
503
+ a.FileFilter = p;
504
+ class f {
505
+ constructor(o = {}) {
506
+ e(this, "defaultDirectory");
507
+ e(this, "defaultFilename");
508
+ e(this, "title");
509
+ e(this, "filters");
510
+ e(this, "showHiddenFiles");
511
+ e(this, "canCreateDirectories");
512
+ e(this, "resolvesAliases");
513
+ e(this, "treatPackagesAsDirectories");
514
+ typeof o == "string" && (o = JSON.parse(o)), this.defaultDirectory = o.defaultDirectory, this.defaultFilename = o.defaultFilename, this.title = o.title, this.filters = this.convertValues(o.filters, p), this.showHiddenFiles = o.showHiddenFiles, this.canCreateDirectories = o.canCreateDirectories, this.resolvesAliases = o.resolvesAliases, this.treatPackagesAsDirectories = o.treatPackagesAsDirectories;
515
+ }
516
+ static createFrom(o = {}) {
517
+ return new f(o);
518
+ }
519
+ convertValues(o, g, r = !1) {
520
+ if (!o)
521
+ return o;
522
+ if (o.slice && o.map)
523
+ return o.map((i) => this.convertValues(i, g));
524
+ if (typeof o == "object") {
525
+ if (r) {
526
+ for (const i of Object.keys(o))
527
+ o[i] = new g(o[i]);
528
+ return o;
529
+ }
530
+ return new g(o);
531
+ }
532
+ return o;
533
+ }
534
+ }
535
+ a.FileDialogOptions = f;
536
+ })(z || (z = {}));
537
+ var K;
538
+ ((a) => {
539
+ class p {
540
+ constructor(n = {}) {
541
+ e(this, "metric_id");
542
+ e(this, "min");
543
+ e(this, "max");
544
+ e(this, "avg");
545
+ e(this, "sum");
546
+ e(this, "p50");
547
+ e(this, "p90");
548
+ e(this, "p99");
549
+ e(this, "count");
550
+ e(this, "window");
551
+ e(this, "labels");
552
+ typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.min = n.min, this.max = n.max, this.avg = n.avg, this.sum = n.sum, this.p50 = n.p50, this.p90 = n.p90, this.p99 = n.p99, this.count = n.count, this.window = n.window, this.labels = n.labels;
553
+ }
554
+ static createFrom(n = {}) {
555
+ return new p(n);
556
+ }
557
+ }
558
+ a.AggregateValue = p;
559
+ class f {
560
+ constructor(n = {}) {
561
+ e(this, "min");
562
+ e(this, "max");
563
+ e(this, "color");
564
+ typeof n == "string" && (n = JSON.parse(n)), this.min = n.min, this.max = n.max, this.color = n.color;
565
+ }
566
+ static createFrom(n = {}) {
567
+ return new f(n);
568
+ }
569
+ }
570
+ a.ColorRange = f;
571
+ class l {
572
+ constructor(n = {}) {
573
+ e(this, "metric_id");
574
+ e(this, "value");
575
+ e(this, "timestamp");
576
+ e(this, "labels");
577
+ typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.value = n.value, this.timestamp = this.convertValues(n.timestamp, O.Time), this.labels = n.labels;
578
+ }
579
+ static createFrom(n = {}) {
580
+ return new l(n);
581
+ }
582
+ convertValues(n, y, b = !1) {
583
+ if (!n)
584
+ return n;
585
+ if (n.slice && n.map)
586
+ return n.map((d) => this.convertValues(d, y));
587
+ if (typeof n == "object") {
588
+ if (b) {
589
+ for (const d of Object.keys(n))
590
+ n[d] = new y(n[d]);
591
+ return n;
592
+ }
593
+ return new y(n);
594
+ }
595
+ return n;
596
+ }
597
+ }
598
+ a.CurrentValue = l;
599
+ class o {
600
+ constructor(n = {}) {
601
+ e(this, "timestamp");
602
+ e(this, "value");
603
+ e(this, "labels");
604
+ typeof n == "string" && (n = JSON.parse(n)), this.timestamp = this.convertValues(n.timestamp, O.Time), this.value = n.value, this.labels = n.labels;
605
+ }
606
+ static createFrom(n = {}) {
607
+ return new o(n);
608
+ }
609
+ convertValues(n, y, b = !1) {
610
+ if (!n)
611
+ return n;
612
+ if (n.slice && n.map)
613
+ return n.map((d) => this.convertValues(d, y));
614
+ if (typeof n == "object") {
615
+ if (b) {
616
+ for (const d of Object.keys(n))
617
+ n[d] = new y(n[d]);
618
+ return n;
619
+ }
620
+ return new y(n);
621
+ }
622
+ return n;
623
+ }
624
+ }
625
+ a.DataPoint = o;
626
+ class g {
627
+ constructor(n = {}) {
628
+ e(this, "id");
629
+ e(this, "name");
630
+ e(this, "unit");
631
+ e(this, "icon");
632
+ e(this, "color_ranges");
633
+ e(this, "format_string");
634
+ e(this, "supported_shapes");
635
+ e(this, "chart_group");
636
+ typeof n == "string" && (n = JSON.parse(n)), this.id = n.id, this.name = n.name, this.unit = n.unit, this.icon = n.icon, this.color_ranges = this.convertValues(n.color_ranges, f), this.format_string = n.format_string, this.supported_shapes = n.supported_shapes, this.chart_group = n.chart_group;
637
+ }
638
+ static createFrom(n = {}) {
639
+ return new g(n);
640
+ }
641
+ convertValues(n, y, b = !1) {
642
+ if (!n)
643
+ return n;
644
+ if (n.slice && n.map)
645
+ return n.map((d) => this.convertValues(d, y));
646
+ if (typeof n == "object") {
647
+ if (b) {
648
+ for (const d of Object.keys(n))
649
+ n[d] = new y(n[d]);
650
+ return n;
651
+ }
652
+ return new y(n);
653
+ }
654
+ return n;
655
+ }
656
+ }
657
+ a.MetricDescriptor = g;
658
+ class r {
659
+ constructor(n = {}) {
660
+ e(this, "resource");
661
+ e(this, "metrics");
662
+ typeof n == "string" && (n = JSON.parse(n)), this.resource = n.resource, this.metrics = this.convertValues(n.metrics, g);
663
+ }
664
+ static createFrom(n = {}) {
665
+ return new r(n);
666
+ }
667
+ convertValues(n, y, b = !1) {
668
+ if (!n)
669
+ return n;
670
+ if (n.slice && n.map)
671
+ return n.map((d) => this.convertValues(d, y));
672
+ if (typeof n == "object") {
673
+ if (b) {
674
+ for (const d of Object.keys(n))
675
+ n[d] = new y(n[d]);
676
+ return n;
677
+ }
678
+ return new y(n);
679
+ }
680
+ return n;
681
+ }
682
+ }
683
+ a.Handler = r;
684
+ class i {
685
+ constructor(n = {}) {
686
+ e(this, "plugin_id");
687
+ e(this, "provider_id");
688
+ e(this, "name");
689
+ e(this, "icon");
690
+ e(this, "description");
691
+ e(this, "handlers");
692
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin_id = n.plugin_id, this.provider_id = n.provider_id, this.name = n.name, this.icon = n.icon, this.description = n.description, this.handlers = this.convertValues(n.handlers, r);
693
+ }
694
+ static createFrom(n = {}) {
695
+ return new i(n);
696
+ }
697
+ convertValues(n, y, b = !1) {
698
+ if (!n)
699
+ return n;
700
+ if (n.slice && n.map)
701
+ return n.map((d) => this.convertValues(d, y));
702
+ if (typeof n == "object") {
703
+ if (b) {
704
+ for (const d of Object.keys(n))
705
+ n[d] = new y(n[d]);
706
+ return n;
707
+ }
708
+ return new y(n);
709
+ }
710
+ return n;
711
+ }
712
+ }
713
+ a.MetricProviderSummary = i;
714
+ class m {
715
+ constructor(n = {}) {
716
+ e(this, "metric_id");
717
+ e(this, "data_points");
718
+ e(this, "labels");
719
+ typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.data_points = this.convertValues(n.data_points, o), this.labels = n.labels;
720
+ }
721
+ static createFrom(n = {}) {
722
+ return new m(n);
723
+ }
724
+ convertValues(n, y, b = !1) {
725
+ if (!n)
726
+ return n;
727
+ if (n.slice && n.map)
728
+ return n.map((d) => this.convertValues(d, y));
729
+ if (typeof n == "object") {
730
+ if (b) {
731
+ for (const d of Object.keys(n))
732
+ n[d] = new y(n[d]);
733
+ return n;
734
+ }
735
+ return new y(n);
736
+ }
737
+ return n;
738
+ }
739
+ }
740
+ a.TimeSeries = m;
741
+ class s {
742
+ constructor(n = {}) {
743
+ e(this, "time_series");
744
+ e(this, "current_value");
745
+ e(this, "aggregate_value");
746
+ typeof n == "string" && (n = JSON.parse(n)), this.time_series = this.convertValues(n.time_series, m), this.current_value = this.convertValues(n.current_value, l), this.aggregate_value = this.convertValues(n.aggregate_value, p);
747
+ }
748
+ static createFrom(n = {}) {
749
+ return new s(n);
750
+ }
751
+ convertValues(n, y, b = !1) {
752
+ if (!n)
753
+ return n;
754
+ if (n.slice && n.map)
755
+ return n.map((d) => this.convertValues(d, y));
756
+ if (typeof n == "object") {
757
+ if (b) {
758
+ for (const d of Object.keys(n))
759
+ n[d] = new y(n[d]);
760
+ return n;
761
+ }
762
+ return new y(n);
763
+ }
764
+ return n;
765
+ }
766
+ }
767
+ a.MetricResult = s;
768
+ class c {
769
+ constructor(n = {}) {
770
+ e(this, "resource_key");
771
+ e(this, "resource_id");
772
+ e(this, "resource_namespace");
773
+ e(this, "resource_data");
774
+ e(this, "metric_ids");
775
+ e(this, "shape");
776
+ e(this, "start_time");
777
+ e(this, "end_time");
778
+ e(this, "step");
779
+ e(this, "params");
780
+ typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.shape = n.shape, this.start_time = this.convertValues(n.start_time, O.Time), this.end_time = this.convertValues(n.end_time, O.Time), this.step = n.step, this.params = n.params;
781
+ }
782
+ static createFrom(n = {}) {
783
+ return new c(n);
784
+ }
785
+ convertValues(n, y, b = !1) {
786
+ if (!n)
787
+ return n;
788
+ if (n.slice && n.map)
789
+ return n.map((d) => this.convertValues(d, y));
790
+ if (typeof n == "object") {
791
+ if (b) {
792
+ for (const d of Object.keys(n))
793
+ n[d] = new y(n[d]);
794
+ return n;
795
+ }
796
+ return new y(n);
797
+ }
798
+ return n;
799
+ }
800
+ }
801
+ a.QueryRequest = c;
802
+ class _ {
803
+ constructor(n = {}) {
804
+ e(this, "success");
805
+ e(this, "results");
806
+ e(this, "error");
807
+ typeof n == "string" && (n = JSON.parse(n)), this.success = n.success, this.results = this.convertValues(n.results, s), this.error = n.error;
808
+ }
809
+ static createFrom(n = {}) {
810
+ return new _(n);
811
+ }
812
+ convertValues(n, y, b = !1) {
813
+ if (!n)
814
+ return n;
815
+ if (n.slice && n.map)
816
+ return n.map((d) => this.convertValues(d, y));
817
+ if (typeof n == "object") {
818
+ if (b) {
819
+ for (const d of Object.keys(n))
820
+ n[d] = new y(n[d]);
821
+ return n;
822
+ }
823
+ return new y(n);
824
+ }
825
+ return n;
826
+ }
827
+ }
828
+ a.QueryResponse = _;
829
+ class w {
830
+ constructor(n = {}) {
831
+ e(this, "resource_key");
832
+ e(this, "resource_id");
833
+ e(this, "resource_namespace");
834
+ e(this, "resource_data");
835
+ e(this, "metric_ids");
836
+ e(this, "interval");
837
+ typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.interval = n.interval;
838
+ }
839
+ static createFrom(n = {}) {
840
+ return new w(n);
841
+ }
842
+ }
843
+ a.SubscribeRequest = w;
844
+ })(K || (K = {}));
845
+ var H;
846
+ ((a) => {
847
+ class p {
848
+ constructor(r = {}) {
849
+ e(this, "resource_id");
850
+ e(this, "connection_id");
851
+ typeof r == "string" && (r = JSON.parse(r)), this.resource_id = r.resource_id, this.connection_id = r.connection_id;
852
+ }
853
+ static createFrom(r = {}) {
854
+ return new p(r);
855
+ }
856
+ }
857
+ a.FindPortForwardSessionRequest = p;
858
+ class f {
859
+ constructor(r = {}) {
860
+ e(this, "algorithm");
861
+ e(this, "key");
862
+ e(this, "enabled");
863
+ typeof r == "string" && (r = JSON.parse(r)), this.algorithm = r.algorithm, this.key = r.key, this.enabled = r.enabled;
864
+ }
865
+ static createFrom(r = {}) {
866
+ return new f(r);
867
+ }
868
+ }
869
+ a.PortForwardSessionEncryption = f;
870
+ class l {
871
+ constructor(r = {}) {
872
+ e(this, "created_at");
873
+ e(this, "updated_at");
874
+ e(this, "connection");
875
+ e(this, "labels");
876
+ e(this, "id");
877
+ e(this, "protocol");
878
+ e(this, "state");
879
+ e(this, "connection_type");
880
+ e(this, "encryption");
881
+ e(this, "local_port");
882
+ e(this, "remote_port");
883
+ typeof r == "string" && (r = JSON.parse(r)), this.created_at = this.convertValues(r.created_at, O.Time), this.updated_at = this.convertValues(r.updated_at, O.Time), this.connection = r.connection, this.labels = r.labels, this.id = r.id, this.protocol = r.protocol, this.state = r.state, this.connection_type = r.connection_type, this.encryption = this.convertValues(r.encryption, f), this.local_port = r.local_port, this.remote_port = r.remote_port;
884
+ }
885
+ static createFrom(r = {}) {
886
+ return new l(r);
887
+ }
888
+ convertValues(r, i, m = !1) {
889
+ if (!r)
890
+ return r;
891
+ if (r.slice && r.map)
892
+ return r.map((s) => this.convertValues(s, i));
893
+ if (typeof r == "object") {
894
+ if (m) {
895
+ for (const s of Object.keys(r))
896
+ r[s] = new i(r[s]);
897
+ return r;
898
+ }
899
+ return new i(r);
900
+ }
901
+ return r;
902
+ }
903
+ }
904
+ a.PortForwardSession = l;
905
+ class o {
906
+ constructor(r = {}) {
907
+ e(this, "connection");
908
+ e(this, "labels");
909
+ e(this, "params");
910
+ e(this, "protocol");
911
+ e(this, "connection_type");
912
+ e(this, "encryption");
913
+ e(this, "local_port");
914
+ e(this, "remote_port");
915
+ typeof r == "string" && (r = JSON.parse(r)), this.connection = r.connection, this.labels = r.labels, this.params = r.params, this.protocol = r.protocol, this.connection_type = r.connection_type, this.encryption = this.convertValues(r.encryption, f), this.local_port = r.local_port, this.remote_port = r.remote_port;
916
+ }
917
+ static createFrom(r = {}) {
918
+ return new o(r);
919
+ }
920
+ convertValues(r, i, m = !1) {
921
+ if (!r)
922
+ return r;
923
+ if (r.slice && r.map)
924
+ return r.map((s) => this.convertValues(s, i));
925
+ if (typeof r == "object") {
926
+ if (m) {
927
+ for (const s of Object.keys(r))
928
+ r[s] = new i(r[s]);
929
+ return r;
930
+ }
931
+ return new i(r);
932
+ }
933
+ return r;
934
+ }
935
+ }
936
+ a.PortForwardSessionOptions = o;
937
+ })(H || (H = {}));
938
+ var Q;
939
+ ((a) => {
940
+ class p {
941
+ constructor(l = {}) {
942
+ e(this, "DevMode");
943
+ e(this, "DevModePath");
944
+ e(this, "ExistingState");
945
+ typeof l == "string" && (l = JSON.parse(l)), this.DevMode = l.DevMode, this.DevModePath = l.DevModePath, this.ExistingState = this.convertValues(l.ExistingState, S.PluginState);
946
+ }
947
+ static createFrom(l = {}) {
948
+ return new p(l);
949
+ }
950
+ convertValues(l, o, g = !1) {
951
+ if (!l)
952
+ return l;
953
+ if (l.slice && l.map)
954
+ return l.map((r) => this.convertValues(r, o));
955
+ if (typeof l == "object") {
956
+ if (g) {
957
+ for (const r of Object.keys(l))
958
+ l[r] = new o(l[r]);
959
+ return l;
960
+ }
961
+ return new o(l);
962
+ }
963
+ return l;
964
+ }
965
+ }
966
+ a.LoadPluginOptions = p;
967
+ })(Q || (Q = {}));
968
+ var Y;
969
+ ((a) => {
970
+ class p {
971
+ constructor(i = {}) {
972
+ e(this, "id");
973
+ e(this, "name");
974
+ e(this, "description");
975
+ e(this, "icon_url");
976
+ e(this, "category");
977
+ e(this, "tags");
978
+ e(this, "license");
979
+ e(this, "official");
980
+ e(this, "featured");
981
+ e(this, "download_count");
982
+ e(this, "average_rating");
983
+ e(this, "review_count");
984
+ e(this, "repository");
985
+ e(this, "url");
986
+ e(this, "installed");
987
+ e(this, "installed_version");
988
+ e(this, "latest_version");
989
+ e(this, "update_available");
990
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.name = i.name, this.description = i.description, this.icon_url = i.icon_url, this.category = i.category, this.tags = i.tags, this.license = i.license, this.official = i.official, this.featured = i.featured, this.download_count = i.download_count, this.average_rating = i.average_rating, this.review_count = i.review_count, this.repository = i.repository, this.url = i.url, this.installed = i.installed, this.installed_version = i.installed_version, this.latest_version = i.latest_version, this.update_available = i.update_available;
991
+ }
992
+ static createFrom(i = {}) {
993
+ return new p(i);
994
+ }
995
+ }
996
+ a.AvailablePlugin = p;
997
+ class f {
998
+ constructor(i = {}) {
999
+ e(this, "date");
1000
+ e(this, "count");
1001
+ typeof i == "string" && (i = JSON.parse(i)), this.date = i.date, this.count = i.count;
1002
+ }
1003
+ static createFrom(i = {}) {
1004
+ return new f(i);
1005
+ }
1006
+ }
1007
+ a.DailyStat = f;
1008
+ class l {
1009
+ constructor(i = {}) {
1010
+ e(this, "total");
1011
+ e(this, "last_month");
1012
+ e(this, "last_week");
1013
+ e(this, "daily_stats");
1014
+ typeof i == "string" && (i = JSON.parse(i)), this.total = i.total, this.last_month = i.last_month, this.last_week = i.last_week, this.daily_stats = this.convertValues(i.daily_stats, f);
1015
+ }
1016
+ static createFrom(i = {}) {
1017
+ return new l(i);
1018
+ }
1019
+ convertValues(i, m, s = !1) {
1020
+ if (!i)
1021
+ return i;
1022
+ if (i.slice && i.map)
1023
+ return i.map((c) => this.convertValues(c, m));
1024
+ if (typeof i == "object") {
1025
+ if (s) {
1026
+ for (const c of Object.keys(i))
1027
+ i[c] = new m(i[c]);
1028
+ return i;
1029
+ }
1030
+ return new m(i);
1031
+ }
1032
+ return i;
1033
+ }
1034
+ }
1035
+ a.DownloadStats = l;
1036
+ class o {
1037
+ constructor(i = {}) {
1038
+ e(this, "id");
1039
+ e(this, "user_id");
1040
+ e(this, "rating");
1041
+ e(this, "title");
1042
+ e(this, "body");
1043
+ e(this, "created_at");
1044
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.user_id = i.user_id, this.rating = i.rating, this.title = i.title, this.body = i.body, this.created_at = i.created_at;
1045
+ }
1046
+ static createFrom(i = {}) {
1047
+ return new o(i);
1048
+ }
1049
+ }
1050
+ a.Review = o;
1051
+ class g {
1052
+ constructor(i = {}) {
1053
+ e(this, "version");
1054
+ e(this, "description");
1055
+ e(this, "changelog");
1056
+ e(this, "min_ide_version");
1057
+ e(this, "max_ide_version");
1058
+ e(this, "capabilities");
1059
+ e(this, "created_at");
1060
+ typeof i == "string" && (i = JSON.parse(i)), this.version = i.version, this.description = i.description, this.changelog = i.changelog, this.min_ide_version = i.min_ide_version, this.max_ide_version = i.max_ide_version, this.capabilities = i.capabilities, this.created_at = i.created_at;
1061
+ }
1062
+ static createFrom(i = {}) {
1063
+ return new g(i);
1064
+ }
1065
+ }
1066
+ a.VersionInfo = g;
1067
+ })(Y || (Y = {}));
1068
+ var q;
1069
+ ((a) => {
1070
+ ((g) => {
1071
+ g.TEXT = "text", g.INTEGER = "integer", g.FLOAT = "float", g.TOGGLE = "toggle", g.COLOR = "color", g.DATETIME = "datetime", g.PASSWORD = "password";
1072
+ })(a.SettingType || (a.SettingType = {}));
1073
+ class p {
1074
+ constructor(r = {}) {
1075
+ e(this, "enabled");
1076
+ e(this, "allowFolders");
1077
+ e(this, "extensions");
1078
+ e(this, "multiple");
1079
+ e(this, "relative");
1080
+ e(this, "defaultPath");
1081
+ typeof r == "string" && (r = JSON.parse(r)), this.enabled = r.enabled, this.allowFolders = r.allowFolders, this.extensions = r.extensions, this.multiple = r.multiple, this.relative = r.relative, this.defaultPath = r.defaultPath;
1082
+ }
1083
+ static createFrom(r = {}) {
1084
+ return new p(r);
1085
+ }
1086
+ }
1087
+ a.SettingFileSelection = p;
1088
+ class f {
1089
+ constructor(r = {}) {
1090
+ e(this, "label");
1091
+ e(this, "description");
1092
+ e(this, "value");
1093
+ typeof r == "string" && (r = JSON.parse(r)), this.label = r.label, this.description = r.description, this.value = r.value;
1094
+ }
1095
+ static createFrom(r = {}) {
1096
+ return new f(r);
1097
+ }
1098
+ }
1099
+ a.SettingOption = f;
1100
+ class l {
1101
+ constructor(r = {}) {
1102
+ e(this, "id");
1103
+ e(this, "label");
1104
+ e(this, "description");
1105
+ e(this, "type");
1106
+ e(this, "value");
1107
+ e(this, "default");
1108
+ e(this, "options");
1109
+ e(this, "fileSelection");
1110
+ e(this, "sensitive");
1111
+ typeof r == "string" && (r = JSON.parse(r)), this.id = r.id, this.label = r.label, this.description = r.description, this.type = r.type, this.value = r.value, this.default = r.default, this.options = this.convertValues(r.options, f), this.fileSelection = this.convertValues(r.fileSelection, p), this.sensitive = r.sensitive;
1112
+ }
1113
+ static createFrom(r = {}) {
1114
+ return new l(r);
1115
+ }
1116
+ convertValues(r, i, m = !1) {
1117
+ if (!r)
1118
+ return r;
1119
+ if (r.slice && r.map)
1120
+ return r.map((s) => this.convertValues(s, i));
1121
+ if (typeof r == "object") {
1122
+ if (m) {
1123
+ for (const s of Object.keys(r))
1124
+ r[s] = new i(r[s]);
1125
+ return r;
1126
+ }
1127
+ return new i(r);
1128
+ }
1129
+ return r;
1130
+ }
1131
+ }
1132
+ a.Setting = l;
1133
+ class o {
1134
+ constructor(r = {}) {
1135
+ e(this, "settings");
1136
+ e(this, "id");
1137
+ e(this, "label");
1138
+ e(this, "description");
1139
+ e(this, "icon");
1140
+ typeof r == "string" && (r = JSON.parse(r)), this.settings = this.convertValues(r.settings, l, !0), this.id = r.id, this.label = r.label, this.description = r.description, this.icon = r.icon;
1141
+ }
1142
+ static createFrom(r = {}) {
1143
+ return new o(r);
1144
+ }
1145
+ convertValues(r, i, m = !1) {
1146
+ if (!r)
1147
+ return r;
1148
+ if (r.slice && r.map)
1149
+ return r.map((s) => this.convertValues(s, i));
1150
+ if (typeof r == "object") {
1151
+ if (m) {
1152
+ for (const s of Object.keys(r))
1153
+ r[s] = new i(r[s]);
1154
+ return r;
1155
+ }
1156
+ return new i(r);
1157
+ }
1158
+ return r;
1159
+ }
1160
+ }
1161
+ a.Category = o;
1162
+ })(q || (q = {}));
1163
+ var O;
1164
+ ((a) => {
1165
+ class p {
1166
+ static createFrom(l = {}) {
1167
+ return new p(l);
1168
+ }
1169
+ constructor(l = {}) {
1170
+ typeof l == "string" && (l = JSON.parse(l));
1171
+ }
1172
+ }
1173
+ a.Time = p;
1174
+ })(O || (O = {}));
1175
+ var W;
1176
+ ((a) => {
1177
+ ((l) => {
1178
+ l.CONFIG = "config", l.FILESYSTEM = "fs", l.IMAGE = "image", l.KUBERNETES = "kubernetes", l.REPOSITORY = "repository", l.ROOTFS = "rootfs", l.SBOM = "sbom";
1179
+ })(a.Command || (a.Command = {})), ((l) => {
1180
+ l.VULN = "vuln", l.MISCONFIG = "misconfig", l.SECRET = "secret", l.LICENSE = "license";
1181
+ })(a.Scanner || (a.Scanner = {}));
1182
+ class p {
1183
+ constructor(o = {}) {
1184
+ e(this, "filePatterns");
1185
+ e(this, "skipDirs");
1186
+ e(this, "skipFiles");
1187
+ e(this, "scanners");
1188
+ typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
1189
+ }
1190
+ static createFrom(o = {}) {
1191
+ return new p(o);
1192
+ }
1193
+ }
1194
+ a.ScanOptions = p;
1195
+ class f {
1196
+ constructor(o = {}) {
1197
+ e(this, "timestamp");
1198
+ e(this, "result");
1199
+ e(this, "id");
1200
+ e(this, "command");
1201
+ typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp, O.Time), this.result = o.result, this.id = o.id, this.command = o.command;
1202
+ }
1203
+ static createFrom(o = {}) {
1204
+ return new f(o);
1205
+ }
1206
+ convertValues(o, g, r = !1) {
1207
+ if (!o)
1208
+ return o;
1209
+ if (o.slice && o.map)
1210
+ return o.map((i) => this.convertValues(i, g));
1211
+ if (typeof o == "object") {
1212
+ if (r) {
1213
+ for (const i of Object.keys(o))
1214
+ o[i] = new g(o[i]);
1215
+ return o;
1216
+ }
1217
+ return new g(o);
1218
+ }
1219
+ return o;
1220
+ }
1221
+ }
1222
+ a.ScanResult = f;
1223
+ })(W || (W = {}));
1224
+ var S;
1225
+ ((a) => {
1226
+ ((V) => {
1227
+ V.UNKNOWN = "UNKNOWN", V.CONNECTED = "CONNECTED", V.DISCONNECTED = "DISCONNECTED", V.PENDING = "PENDING", V.FAILED = "FAILED", V.ERROR = "ERROR", V.UNAUTHORIZED = "UNAUTHORIZED", V.FORBIDDEN = "FORBIDDEN", V.BAD_REQUEST = "BAD_REQUEST", V.NOT_FOUND = "NOT_FOUND", V.TIMEOUT = "TIMEOUT", V.UNAVAILABLE = "UNAVAILABLE", V.REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE";
1228
+ })(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
1229
+ class p {
1230
+ constructor(t = {}) {
1231
+ e(this, "id");
1232
+ e(this, "label");
1233
+ e(this, "description");
1234
+ e(this, "icon");
1235
+ e(this, "scope");
1236
+ e(this, "streaming");
1237
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.label = t.label, this.description = t.description, this.icon = t.icon, this.scope = t.scope, this.streaming = t.streaming;
1238
+ }
1239
+ static createFrom(t = {}) {
1240
+ return new p(t);
1241
+ }
1242
+ }
1243
+ a.ActionDescriptor = p;
1244
+ class f {
1245
+ constructor(t = {}) {
1246
+ e(this, "id");
1247
+ e(this, "namespace");
1248
+ e(this, "params");
1249
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.params = t.params;
1250
+ }
1251
+ static createFrom(t = {}) {
1252
+ return new f(t);
1253
+ }
1254
+ }
1255
+ a.ActionInput = f;
1256
+ class l {
1257
+ constructor(t = {}) {
1258
+ e(this, "success");
1259
+ e(this, "data");
1260
+ e(this, "message");
1261
+ typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
1262
+ }
1263
+ static createFrom(t = {}) {
1264
+ return new l(t);
1265
+ }
1266
+ }
1267
+ a.ActionResult = l;
1268
+ class o {
1269
+ constructor(t = {}) {
1270
+ e(this, "selectors");
1271
+ e(this, "label_selector");
1272
+ e(this, "label");
1273
+ e(this, "paths");
1274
+ typeof t == "string" && (t = JSON.parse(t)), this.selectors = t.selectors, this.label_selector = t.label_selector, this.label = t.label, this.paths = t.paths;
1275
+ }
1276
+ static createFrom(t = {}) {
1277
+ return new o(t);
1278
+ }
1279
+ }
1280
+ a.ActionTargetBuilder = o;
1281
+ class g {
1282
+ constructor(t = {}) {
1283
+ e(this, "idAccessor");
1284
+ e(this, "namespaceAccessor");
1285
+ e(this, "namespaced");
1286
+ e(this, "resourceKey");
1287
+ e(this, "keyAccessor");
1288
+ e(this, "keyMap");
1289
+ e(this, "detailExtractors");
1290
+ e(this, "displayId");
1291
+ typeof t == "string" && (t = JSON.parse(t)), this.idAccessor = t.idAccessor, this.namespaceAccessor = t.namespaceAccessor, this.namespaced = t.namespaced, this.resourceKey = t.resourceKey, this.keyAccessor = t.keyAccessor, this.keyMap = t.keyMap, this.detailExtractors = t.detailExtractors, this.displayId = t.displayId;
1292
+ }
1293
+ static createFrom(t = {}) {
1294
+ return new g(t);
1295
+ }
1296
+ }
1297
+ a.ResourceLink = g;
1298
+ class r {
1299
+ constructor(t = {}) {
1300
+ e(this, "id");
1301
+ e(this, "header");
1302
+ e(this, "accessor");
1303
+ e(this, "accessorPriority");
1304
+ e(this, "colorMap");
1305
+ e(this, "color");
1306
+ e(this, "align");
1307
+ e(this, "hidden");
1308
+ e(this, "width");
1309
+ e(this, "formatter");
1310
+ e(this, "component");
1311
+ e(this, "componentParams");
1312
+ e(this, "resourceLink");
1313
+ e(this, "valueMap");
1314
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.header = t.header, this.accessor = t.accessor, this.accessorPriority = t.accessorPriority, this.colorMap = t.colorMap, this.color = t.color, this.align = t.align, this.hidden = t.hidden, this.width = t.width, this.formatter = t.formatter, this.component = t.component, this.componentParams = t.componentParams, this.resourceLink = this.convertValues(t.resourceLink, g), this.valueMap = t.valueMap;
1315
+ }
1316
+ static createFrom(t = {}) {
1317
+ return new r(t);
1318
+ }
1319
+ convertValues(t, u, v = !1) {
1320
+ if (!t)
1321
+ return t;
1322
+ if (t.slice && t.map)
1323
+ return t.map((h) => this.convertValues(h, u));
1324
+ if (typeof t == "object") {
1325
+ if (v) {
1326
+ for (const h of Object.keys(t))
1327
+ t[h] = new u(t[h]);
1328
+ return t;
1329
+ }
1330
+ return new u(t);
1331
+ }
1332
+ return t;
1333
+ }
1334
+ }
1335
+ a.ColumnDef = r;
1336
+ class i {
1337
+ constructor(t = {}) {
1338
+ e(this, "last_refresh");
1339
+ e(this, "data");
1340
+ e(this, "labels");
1341
+ e(this, "id");
1342
+ e(this, "uid");
1343
+ e(this, "name");
1344
+ e(this, "description");
1345
+ e(this, "avatar");
1346
+ e(this, "expiry_time");
1347
+ e(this, "Client");
1348
+ typeof t == "string" && (t = JSON.parse(t)), this.last_refresh = this.convertValues(t.last_refresh, O.Time), this.data = t.data, this.labels = t.labels, this.id = t.id, this.uid = t.uid, this.name = t.name, this.description = t.description, this.avatar = t.avatar, this.expiry_time = t.expiry_time, this.Client = t.Client;
1349
+ }
1350
+ static createFrom(t = {}) {
1351
+ return new i(t);
1352
+ }
1353
+ convertValues(t, u, v = !1) {
1354
+ if (!t)
1355
+ return t;
1356
+ if (t.slice && t.map)
1357
+ return t.map((h) => this.convertValues(h, u));
1358
+ if (typeof t == "object") {
1359
+ if (v) {
1360
+ for (const h of Object.keys(t))
1361
+ t[h] = new u(t[h]);
1362
+ return t;
1363
+ }
1364
+ return new u(t);
1365
+ }
1366
+ return t;
1367
+ }
1368
+ }
1369
+ a.Connection = i;
1370
+ class m {
1371
+ constructor(t = {}) {
1372
+ e(this, "connection");
1373
+ e(this, "status");
1374
+ e(this, "error");
1375
+ e(this, "details");
1376
+ typeof t == "string" && (t = JSON.parse(t)), this.connection = this.convertValues(t.connection, i), this.status = t.status, this.error = t.error, this.details = t.details;
1377
+ }
1378
+ static createFrom(t = {}) {
1379
+ return new m(t);
1380
+ }
1381
+ convertValues(t, u, v = !1) {
1382
+ if (!t)
1383
+ return t;
1384
+ if (t.slice && t.map)
1385
+ return t.map((h) => this.convertValues(h, u));
1386
+ if (typeof t == "object") {
1387
+ if (v) {
1388
+ for (const h of Object.keys(t))
1389
+ t[h] = new u(t[h]);
1390
+ return t;
1391
+ }
1392
+ return new u(t);
1393
+ }
1394
+ return t;
1395
+ }
1396
+ }
1397
+ a.ConnectionStatus = m;
1398
+ class s {
1399
+ constructor(t = {}) {
1400
+ e(this, "params");
1401
+ e(this, "input");
1402
+ e(this, "namespace");
1403
+ typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.input = t.input, this.namespace = t.namespace;
1404
+ }
1405
+ static createFrom(t = {}) {
1406
+ return new s(t);
1407
+ }
1408
+ }
1409
+ a.CreateInput = s;
1410
+ class c {
1411
+ constructor(t = {}) {
1412
+ e(this, "result");
1413
+ e(this, "success");
1414
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1415
+ }
1416
+ static createFrom(t = {}) {
1417
+ return new c(t);
1418
+ }
1419
+ }
1420
+ a.CreateResult = c;
1421
+ class _ {
1422
+ constructor(t = {}) {
1423
+ e(this, "input");
1424
+ e(this, "params");
1425
+ e(this, "id");
1426
+ e(this, "namespace");
1427
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1428
+ }
1429
+ static createFrom(t = {}) {
1430
+ return new _(t);
1431
+ }
1432
+ }
1433
+ a.DeleteInput = _;
1434
+ class w {
1435
+ constructor(t = {}) {
1436
+ e(this, "result");
1437
+ e(this, "success");
1438
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1439
+ }
1440
+ static createFrom(t = {}) {
1441
+ return new w(t);
1442
+ }
1443
+ }
1444
+ a.DeleteResult = w;
1445
+ class F {
1446
+ constructor(t = {}) {
1447
+ e(this, "resourceKey");
1448
+ e(this, "fileMatch");
1449
+ e(this, "uri");
1450
+ e(this, "url");
1451
+ e(this, "content");
1452
+ e(this, "language");
1453
+ typeof t == "string" && (t = JSON.parse(t)), this.resourceKey = t.resourceKey, this.fileMatch = t.fileMatch, this.uri = t.uri, this.url = t.url, this.content = t.content, this.language = t.language;
1454
+ }
1455
+ static createFrom(t = {}) {
1456
+ return new F(t);
1457
+ }
1458
+ }
1459
+ a.EditorSchema = F;
1460
+ class n {
1461
+ constructor(t = {}) {
1462
+ e(this, "page");
1463
+ e(this, "pageSize");
1464
+ typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize;
1465
+ }
1466
+ static createFrom(t = {}) {
1467
+ return new n(t);
1468
+ }
1469
+ }
1470
+ a.PaginationParams = n;
1471
+ class y {
1472
+ constructor(t = {}) {
1473
+ e(this, "by");
1474
+ e(this, "direction");
1475
+ typeof t == "string" && (t = JSON.parse(t)), this.by = t.by, this.direction = t.direction;
1476
+ }
1477
+ static createFrom(t = {}) {
1478
+ return new y(t);
1479
+ }
1480
+ }
1481
+ a.OrderParams = y;
1482
+ class b {
1483
+ constructor(t = {}) {
1484
+ e(this, "params");
1485
+ e(this, "conditions");
1486
+ e(this, "namespaces");
1487
+ e(this, "order");
1488
+ e(this, "pagination");
1489
+ typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.conditions = t.conditions, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, y), this.pagination = this.convertValues(t.pagination, n);
1490
+ }
1491
+ static createFrom(t = {}) {
1492
+ return new b(t);
1493
+ }
1494
+ convertValues(t, u, v = !1) {
1495
+ if (!t)
1496
+ return t;
1497
+ if (t.slice && t.map)
1498
+ return t.map((h) => this.convertValues(h, u));
1499
+ if (typeof t == "object") {
1500
+ if (v) {
1501
+ for (const h of Object.keys(t))
1502
+ t[h] = new u(t[h]);
1503
+ return t;
1504
+ }
1505
+ return new u(t);
1506
+ }
1507
+ return t;
1508
+ }
1509
+ }
1510
+ a.FindInput = b;
1511
+ class d {
1512
+ constructor(t = {}) {
1513
+ e(this, "page");
1514
+ e(this, "pageSize");
1515
+ e(this, "total");
1516
+ e(this, "pages");
1517
+ typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.total = t.total, this.pages = t.pages;
1518
+ }
1519
+ static createFrom(t = {}) {
1520
+ return new d(t);
1521
+ }
1522
+ }
1523
+ a.PaginationResult = d;
1524
+ class J {
1525
+ constructor(t = {}) {
1526
+ e(this, "result");
1527
+ e(this, "success");
1528
+ e(this, "pagination");
1529
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.pagination = this.convertValues(t.pagination, d);
1530
+ }
1531
+ static createFrom(t = {}) {
1532
+ return new J(t);
1533
+ }
1534
+ convertValues(t, u, v = !1) {
1535
+ if (!t)
1536
+ return t;
1537
+ if (t.slice && t.map)
1538
+ return t.map((h) => this.convertValues(h, u));
1539
+ if (typeof t == "object") {
1540
+ if (v) {
1541
+ for (const h of Object.keys(t))
1542
+ t[h] = new u(t[h]);
1543
+ return t;
1544
+ }
1545
+ return new u(t);
1546
+ }
1547
+ return t;
1548
+ }
1549
+ }
1550
+ a.FindResult = J;
1551
+ class j {
1552
+ constructor(t = {}) {
1553
+ e(this, "params");
1554
+ e(this, "id");
1555
+ e(this, "namespace");
1556
+ typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1557
+ }
1558
+ static createFrom(t = {}) {
1559
+ return new j(t);
1560
+ }
1561
+ }
1562
+ a.GetInput = j;
1563
+ class D {
1564
+ constructor(t = {}) {
1565
+ e(this, "result");
1566
+ e(this, "success");
1567
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1568
+ }
1569
+ static createFrom(t = {}) {
1570
+ return new D(t);
1571
+ }
1572
+ }
1573
+ a.GetResult = D;
1574
+ class E {
1575
+ constructor(t = {}) {
1576
+ e(this, "connection");
1577
+ e(this, "resources");
1578
+ e(this, "resourceCounts");
1579
+ e(this, "totalResources");
1580
+ e(this, "syncedCount");
1581
+ e(this, "errorCount");
1582
+ typeof t == "string" && (t = JSON.parse(t)), this.connection = t.connection, this.resources = t.resources, this.resourceCounts = t.resourceCounts, this.totalResources = t.totalResources, this.syncedCount = t.syncedCount, this.errorCount = t.errorCount;
1583
+ }
1584
+ static createFrom(t = {}) {
1585
+ return new E(t);
1586
+ }
1587
+ }
1588
+ a.InformerConnectionSummary = E;
1589
+ class N {
1590
+ constructor(t = {}) {
1591
+ e(this, "id");
1592
+ e(this, "title");
1593
+ e(this, "icon");
1594
+ e(this, "description");
1595
+ e(this, "items");
1596
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.title = t.title, this.icon = t.icon, this.description = t.description, this.items = this.convertValues(t.items, N);
1597
+ }
1598
+ static createFrom(t = {}) {
1599
+ return new N(t);
1600
+ }
1601
+ convertValues(t, u, v = !1) {
1602
+ if (!t)
1603
+ return t;
1604
+ if (t.slice && t.map)
1605
+ return t.map((h) => this.convertValues(h, u));
1606
+ if (typeof t == "object") {
1607
+ if (v) {
1608
+ for (const h of Object.keys(t))
1609
+ t[h] = new u(t[h]);
1610
+ return t;
1611
+ }
1612
+ return new u(t);
1613
+ }
1614
+ return t;
1615
+ }
1616
+ }
1617
+ a.LayoutItem = N;
1618
+ class P {
1619
+ constructor(t = {}) {
1620
+ e(this, "params");
1621
+ e(this, "namespaces");
1622
+ e(this, "order");
1623
+ e(this, "pagination");
1624
+ typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, y), this.pagination = this.convertValues(t.pagination, n);
1625
+ }
1626
+ static createFrom(t = {}) {
1627
+ return new P(t);
1628
+ }
1629
+ convertValues(t, u, v = !1) {
1630
+ if (!t)
1631
+ return t;
1632
+ if (t.slice && t.map)
1633
+ return t.map((h) => this.convertValues(h, u));
1634
+ if (typeof t == "object") {
1635
+ if (v) {
1636
+ for (const h of Object.keys(t))
1637
+ t[h] = new u(t[h]);
1638
+ return t;
1639
+ }
1640
+ return new u(t);
1641
+ }
1642
+ return t;
1643
+ }
1644
+ }
1645
+ a.ListInput = P;
1646
+ class R {
1647
+ constructor(t = {}) {
1648
+ e(this, "result");
1649
+ e(this, "success");
1650
+ e(this, "pagination");
1651
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.pagination = this.convertValues(t.pagination, d);
1652
+ }
1653
+ static createFrom(t = {}) {
1654
+ return new R(t);
1655
+ }
1656
+ convertValues(t, u, v = !1) {
1657
+ if (!t)
1658
+ return t;
1659
+ if (t.slice && t.map)
1660
+ return t.map((h) => this.convertValues(h, u));
1661
+ if (typeof t == "object") {
1662
+ if (v) {
1663
+ for (const h of Object.keys(t))
1664
+ t[h] = new u(t[h]);
1665
+ return t;
1666
+ }
1667
+ return new u(t);
1668
+ }
1669
+ return t;
1670
+ }
1671
+ }
1672
+ a.ListResult = R;
1673
+ class I {
1674
+ constructor(t = {}) {
1675
+ e(this, "id");
1676
+ e(this, "metadata");
1677
+ e(this, "enabled");
1678
+ e(this, "running");
1679
+ e(this, "devMode");
1680
+ e(this, "devPath");
1681
+ e(this, "loading");
1682
+ e(this, "loadError");
1683
+ e(this, "capabilities");
1684
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.metadata = this.convertValues(t.metadata, k.PluginMeta), this.enabled = t.enabled, this.running = t.running, this.devMode = t.devMode, this.devPath = t.devPath, this.loading = t.loading, this.loadError = t.loadError, this.capabilities = t.capabilities;
1685
+ }
1686
+ static createFrom(t = {}) {
1687
+ return new I(t);
1688
+ }
1689
+ convertValues(t, u, v = !1) {
1690
+ if (!t)
1691
+ return t;
1692
+ if (t.slice && t.map)
1693
+ return t.map((h) => this.convertValues(h, u));
1694
+ if (typeof t == "object") {
1695
+ if (v) {
1696
+ for (const h of Object.keys(t))
1697
+ t[h] = new u(t[h]);
1698
+ return t;
1699
+ }
1700
+ return new u(t);
1701
+ }
1702
+ return t;
1703
+ }
1704
+ }
1705
+ a.Plugin = I;
1706
+ class T {
1707
+ constructor(t = {}) {
1708
+ e(this, "Metadata");
1709
+ e(this, "ID");
1710
+ e(this, "DevPath");
1711
+ e(this, "Enabled");
1712
+ e(this, "DevMode");
1713
+ typeof t == "string" && (t = JSON.parse(t)), this.Metadata = this.convertValues(t.Metadata, k.PluginMeta), this.ID = t.ID, this.DevPath = t.DevPath, this.Enabled = t.Enabled, this.DevMode = t.DevMode;
1714
+ }
1715
+ static createFrom(t = {}) {
1716
+ return new T(t);
1717
+ }
1718
+ convertValues(t, u, v = !1) {
1719
+ if (!t)
1720
+ return t;
1721
+ if (t.slice && t.map)
1722
+ return t.map((h) => this.convertValues(h, u));
1723
+ if (typeof t == "object") {
1724
+ if (v) {
1725
+ for (const h of Object.keys(t))
1726
+ t[h] = new u(t[h]);
1727
+ return t;
1728
+ }
1729
+ return new u(t);
1730
+ }
1731
+ return t;
1732
+ }
1733
+ }
1734
+ a.PluginState = T;
1735
+ class A {
1736
+ constructor(t = {}) {
1737
+ e(this, "id_accessor");
1738
+ e(this, "namespace_accessor");
1739
+ e(this, "memoizer_accessor");
1740
+ e(this, "columnDefs");
1741
+ e(this, "supportedOperations");
1742
+ typeof t == "string" && (t = JSON.parse(t)), this.id_accessor = t.id_accessor, this.namespace_accessor = t.namespace_accessor, this.memoizer_accessor = t.memoizer_accessor, this.columnDefs = this.convertValues(t.columnDefs, r), this.supportedOperations = t.supportedOperations;
1743
+ }
1744
+ static createFrom(t = {}) {
1745
+ return new A(t);
1746
+ }
1747
+ convertValues(t, u, v = !1) {
1748
+ if (!t)
1749
+ return t;
1750
+ if (t.slice && t.map)
1751
+ return t.map((h) => this.convertValues(h, u));
1752
+ if (typeof t == "object") {
1753
+ if (v) {
1754
+ for (const h of Object.keys(t))
1755
+ t[h] = new u(t[h]);
1756
+ return t;
1757
+ }
1758
+ return new u(t);
1759
+ }
1760
+ return t;
1761
+ }
1762
+ }
1763
+ a.ResourceDefinition = A;
1764
+ class M {
1765
+ constructor(t = {}) {
1766
+ e(this, "id");
1767
+ e(this, "name");
1768
+ e(this, "description");
1769
+ e(this, "icon");
1770
+ e(this, "resources");
1771
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.name = t.name, this.description = t.description, this.icon = t.icon, this.resources = this.convertValues(t.resources, Array, !0);
1772
+ }
1773
+ static createFrom(t = {}) {
1774
+ return new M(t);
1775
+ }
1776
+ convertValues(t, u, v = !1) {
1777
+ if (!t)
1778
+ return t;
1779
+ if (t.slice && t.map)
1780
+ return t.map((h) => this.convertValues(h, u));
1781
+ if (typeof t == "object") {
1782
+ if (v) {
1783
+ for (const h of Object.keys(t))
1784
+ t[h] = new u(t[h]);
1785
+ return t;
1786
+ }
1787
+ return new u(t);
1788
+ }
1789
+ return t;
1790
+ }
1791
+ }
1792
+ a.ResourceGroup = M;
1793
+ class L {
1794
+ constructor(t = {}) {
1795
+ e(this, "group");
1796
+ e(this, "version");
1797
+ e(this, "kind");
1798
+ e(this, "label");
1799
+ e(this, "icon");
1800
+ e(this, "description");
1801
+ e(this, "category");
1802
+ typeof t == "string" && (t = JSON.parse(t)), this.group = t.group, this.version = t.version, this.kind = t.kind, this.label = t.label, this.icon = t.icon, this.description = t.description, this.category = t.category;
1803
+ }
1804
+ static createFrom(t = {}) {
1805
+ return new L(t);
1806
+ }
1807
+ }
1808
+ a.ResourceMeta = L;
1809
+ class x {
1810
+ constructor(t = {}) {
1811
+ e(this, "input");
1812
+ e(this, "params");
1813
+ e(this, "id");
1814
+ e(this, "namespace");
1815
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1816
+ }
1817
+ static createFrom(t = {}) {
1818
+ return new x(t);
1819
+ }
1820
+ }
1821
+ a.UpdateInput = x;
1822
+ class C {
1823
+ constructor(t = {}) {
1824
+ e(this, "result");
1825
+ e(this, "success");
1826
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1827
+ }
1828
+ static createFrom(t = {}) {
1829
+ return new C(t);
1830
+ }
1831
+ }
1832
+ a.UpdateResult = C;
1833
+ })(S || (S = {}));
1834
+ var Z;
1835
+ ((a) => {
1836
+ class p {
1837
+ constructor(r = {}) {
1838
+ e(this, "plugin");
1839
+ typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin;
1840
+ }
1841
+ static createFrom(r = {}) {
1842
+ return new p(r);
1843
+ }
1844
+ }
1845
+ a.GetPluginComponentsInput = p;
1846
+ class f {
1847
+ constructor(r = {}) {
1848
+ e(this, "plugin");
1849
+ e(this, "resource");
1850
+ e(this, "area");
1851
+ typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource, this.area = r.area;
1852
+ }
1853
+ static createFrom(r = {}) {
1854
+ return new f(r);
1855
+ }
1856
+ }
1857
+ a.GetResourceAreaComponentInput = f;
1858
+ class l {
1859
+ constructor(r = {}) {
1860
+ e(this, "plugin");
1861
+ e(this, "resource");
1862
+ typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource;
1863
+ }
1864
+ static createFrom(r = {}) {
1865
+ return new l(r);
1866
+ }
1867
+ }
1868
+ a.GetResourceComponentsInput = l;
1869
+ class o {
1870
+ constructor(r = {}) {
1871
+ e(this, "owner");
1872
+ e(this, "name");
1873
+ e(this, "plugin");
1874
+ e(this, "resource");
1875
+ e(this, "area");
1876
+ e(this, "extension");
1877
+ typeof r == "string" && (r = JSON.parse(r)), this.owner = r.owner, this.name = r.name, this.plugin = r.plugin, this.resource = r.resource, this.area = r.area, this.extension = r.extension;
1878
+ }
1879
+ static createFrom(r = {}) {
1880
+ return new o(r);
1881
+ }
1882
+ }
1883
+ a.ResourceComponent = o;
1884
+ })(Z || (Z = {}));
1885
+ var X;
1886
+ ((a) => {
1887
+ class p {
1888
+ constructor(l = {}) {
1889
+ e(this, "filename");
1890
+ e(this, "contents");
1891
+ typeof l == "string" && (l = JSON.parse(l)), this.filename = l.filename, this.contents = l.contents;
1892
+ }
1893
+ static createFrom(l = {}) {
1894
+ return new p(l);
1895
+ }
1896
+ }
1897
+ a.GetLanguageInput = p;
1898
+ })(X || (X = {}));
1899
+ export {
1900
+ k as config,
1901
+ U as devserver,
1902
+ B as exec,
1903
+ G as logs,
1904
+ z as main,
1905
+ K as metric,
1906
+ H as networker,
1907
+ Q as plugin,
1908
+ Y as registry,
1909
+ q as settings,
1910
+ O as time,
1911
+ W as trivy,
1912
+ S as types,
1913
+ Z as ui,
1914
+ X as utils
1915
+ };