@omniviewdev/runtime 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +188 -156
- package/dist/bindings/events/index.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/omniview/backend/extensiondiagnostics/host/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/extensiondiagnostics/host/service.d.ts +12 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/extensiondiagnostics/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/extensiondiagnostics/models.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +54 -26
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +6 -9
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +53 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +15 -72
- package/dist/compat/legacyEnum.d.ts +2 -2
- package/dist/context/settings/index.d.ts +1 -1
- package/dist/context/settings/settingsWindow.d.ts +3 -1
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/resource-editor.d.ts +22 -0
- package/dist/graph-D4xtzkXX.cjs +1 -0
- package/dist/graph-iJFYWdRz.js +7 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +3 -3
- package/dist/hooks/connection/useConnections.d.ts +0 -3
- package/dist/hooks/resource/index.d.ts +1 -2
- package/dist/hooks/resource/useActiveSyncs.d.ts +2 -2
- package/dist/hooks/resource/useResources.d.ts +10 -16
- package/dist/hooks/resource/useSourceStates.d.ts +17 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2925 -2828
- package/dist/models-B3B5AdrM.cjs +1 -0
- package/dist/{models-BlRe-e25.js → models-B_Ef0-Dw.js} +1 -1
- package/dist/{models-C-3HYV9E.cjs → models-CX8HlqvF.cjs} +1 -1
- package/dist/{models-DNQykdGx.js → models-eKPHQdEl.js} +394 -321
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +1 -1
- package/dist/models.js +86 -84
- package/dist/resource/v2/ancillary.d.ts +1 -1
- package/dist/resource/v2/client.d.ts +8 -12
- package/dist/resource/v2/domain.d.ts +2 -1
- package/dist/resource/v2/host.d.ts +55 -31
- package/dist/resource/v2/sourceView.d.ts +20 -0
- package/dist/search.d.ts +1 -1
- package/dist/service-CbJRfldb.js +748 -0
- package/dist/service-DyXmAdcM.cjs +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/resource-editor.d.ts +195 -0
- package/dist/types/source.d.ts +8 -0
- package/dist/utils/activeSyncAggregator.d.ts +6 -17
- package/package.json +3 -3
- package/dist/graph-JDqyJC_i.js +0 -10
- package/dist/graph-wHun0Bkz.cjs +0 -1
- package/dist/hooks/resource/useEventBatcher.d.ts +0 -25
- package/dist/hooks/resource/useWatchState.d.ts +0 -21
- package/dist/models-D5pkScnE.cjs +0 -1
- package/dist/service-D25QhNF2.js +0 -750
- package/dist/service-MaHvflXn.cjs +0 -1
- package/dist/types/watch.d.ts +0 -55
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
class
|
|
1
|
+
import { A as c, a as l, M as f, N as d } from "./index-zyAgCXOO.js";
|
|
2
|
+
class X {
|
|
3
3
|
connection;
|
|
4
4
|
/** Creates a new AccessRoute instance. */
|
|
5
5
|
constructor(t = {}) {
|
|
@@ -10,10 +10,10 @@ class q {
|
|
|
10
10
|
*/
|
|
11
11
|
static createFrom(t = {}) {
|
|
12
12
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
13
|
-
return new
|
|
13
|
+
return new X(s);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
class
|
|
16
|
+
class K {
|
|
17
17
|
address;
|
|
18
18
|
incarnation;
|
|
19
19
|
/** Creates a new ResourceReference instance. */
|
|
@@ -25,10 +25,10 @@ class Z {
|
|
|
25
25
|
*/
|
|
26
26
|
static createFrom(t = {}) {
|
|
27
27
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
28
|
-
return new
|
|
28
|
+
return new K(s);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
let
|
|
31
|
+
let V = class jt {
|
|
32
32
|
label;
|
|
33
33
|
label_selector;
|
|
34
34
|
paths;
|
|
@@ -41,11 +41,11 @@ let Y = class vt {
|
|
|
41
41
|
* Creates a new ActionTargetBuilder instance from a string or object.
|
|
42
42
|
*/
|
|
43
43
|
static createFrom(t = {}) {
|
|
44
|
-
const s =
|
|
44
|
+
const s = O, i = h;
|
|
45
45
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
46
|
-
return "paths" in n && (n.paths = s(n.paths)), "selectors" in n && (n.selectors = i(n.selectors)), new
|
|
46
|
+
return "paths" in n && (n.paths = s(n.paths)), "selectors" in n && (n.selectors = i(n.selectors)), new jt(n);
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, Vt = class Jt {
|
|
49
49
|
plugin;
|
|
50
50
|
resource;
|
|
51
51
|
target_builder;
|
|
@@ -57,18 +57,18 @@ let Y = class vt {
|
|
|
57
57
|
supports_native_command;
|
|
58
58
|
/** Creates a new Handler instance. */
|
|
59
59
|
constructor(t = {}) {
|
|
60
|
-
"plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new
|
|
60
|
+
"plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new V()), "default_command" in t || (this.default_command = []), "supports_native_command" in t || (this.supports_native_command = !1), Object.assign(this, t);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Creates a new Handler instance from a string or object.
|
|
64
64
|
*/
|
|
65
65
|
static createFrom(t = {}) {
|
|
66
|
-
const s =
|
|
66
|
+
const s = Qt, i = O;
|
|
67
67
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
68
|
-
return "target_builder" in n && (n.target_builder = s(n.target_builder)), "default_command" in n && (n.default_command = i(n.default_command)), new
|
|
68
|
+
return "target_builder" in n && (n.target_builder = s(n.target_builder)), "default_command" in n && (n.default_command = i(n.default_command)), new Jt(n);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
-
class
|
|
71
|
+
class Q {
|
|
72
72
|
created_at;
|
|
73
73
|
labels;
|
|
74
74
|
params;
|
|
@@ -83,12 +83,12 @@ class G {
|
|
|
83
83
|
* Creates a new Session instance from a string or object.
|
|
84
84
|
*/
|
|
85
85
|
static createFrom(t = {}) {
|
|
86
|
-
const s =
|
|
86
|
+
const s = h, i = h, n = O;
|
|
87
87
|
let a = typeof t == "string" ? JSON.parse(t) : t;
|
|
88
|
-
return "labels" in a && (a.labels = s(a.labels)), "params" in a && (a.params = i(a.params)), "command" in a && (a.command = n(a.command)), new
|
|
88
|
+
return "labels" in a && (a.labels = s(a.labels)), "params" in a && (a.params = i(a.params)), "command" in a && (a.command = n(a.command)), new Q(a);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
class
|
|
91
|
+
class L {
|
|
92
92
|
params;
|
|
93
93
|
labels;
|
|
94
94
|
id;
|
|
@@ -107,19 +107,19 @@ class X {
|
|
|
107
107
|
* Creates a new SessionOptions instance from a string or object.
|
|
108
108
|
*/
|
|
109
109
|
static createFrom(t = {}) {
|
|
110
|
-
const s =
|
|
111
|
-
let
|
|
112
|
-
return "params" in
|
|
110
|
+
const s = h, i = h, n = Mt, a = te, G = O;
|
|
111
|
+
let o = typeof t == "string" ? JSON.parse(t) : t;
|
|
112
|
+
return "params" in o && (o.params = s(o.params)), "labels" in o && (o.labels = i(o.labels)), "reference" in o && (o.reference = n(o.reference)), "route" in o && (o.route = a(o.route)), "command" in o && (o.command = G(o.command)), new L(o);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const O = c(l), h = f(l, l), Qt = V.createFrom, Lt = K.createFrom, Mt = d(Lt), $t = X.createFrom, te = d($t), hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
116
116
|
__proto__: null,
|
|
117
|
-
ActionTargetBuilder:
|
|
118
|
-
Handler:
|
|
119
|
-
Session:
|
|
120
|
-
SessionOptions:
|
|
117
|
+
ActionTargetBuilder: V,
|
|
118
|
+
Handler: Vt,
|
|
119
|
+
Session: Q,
|
|
120
|
+
SessionOptions: L
|
|
121
121
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
122
|
-
class
|
|
122
|
+
class M {
|
|
123
123
|
resource_id;
|
|
124
124
|
connection_id;
|
|
125
125
|
/** Creates a new FindPortForwardSessionRequest instance. */
|
|
@@ -131,11 +131,11 @@ class K {
|
|
|
131
131
|
*/
|
|
132
132
|
static createFrom(t = {}) {
|
|
133
133
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
134
|
-
return new
|
|
134
|
+
return new M(s);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
var
|
|
138
|
-
class
|
|
137
|
+
var It = /* @__PURE__ */ ((e) => (e.$zero = "", e.PortForwardConnectionTypeResource = "RESOURCE", e.PortForwardConnectionTypeStatic = "STATIC", e))(It || {}), Pt = /* @__PURE__ */ ((e) => (e.$zero = "", e.PortForwardProtocolTCP = "TCP", e.PortForwardProtocolUDP = "UDP", e))(Pt || {});
|
|
138
|
+
class $ {
|
|
139
139
|
created_at;
|
|
140
140
|
updated_at;
|
|
141
141
|
connection;
|
|
@@ -149,18 +149,18 @@ class V {
|
|
|
149
149
|
remote_port;
|
|
150
150
|
/** Creates a new PortForwardSession instance. */
|
|
151
151
|
constructor(t = {}) {
|
|
152
|
-
"created_at" in t || (this.created_at = "0001-01-01T00:00:00.000Z"), "updated_at" in t || (this.updated_at = "0001-01-01T00:00:00.000Z"), "connection" in t || (this.connection = null), "labels" in t || (this.labels = {}), "id" in t || (this.id = ""), "protocol" in t || (this.protocol = ""), "state" in t || (this.state = ""), "connection_type" in t || (this.connection_type = ""), "encryption" in t || (this.encryption = new
|
|
152
|
+
"created_at" in t || (this.created_at = "0001-01-01T00:00:00.000Z"), "updated_at" in t || (this.updated_at = "0001-01-01T00:00:00.000Z"), "connection" in t || (this.connection = null), "labels" in t || (this.labels = {}), "id" in t || (this.id = ""), "protocol" in t || (this.protocol = ""), "state" in t || (this.state = ""), "connection_type" in t || (this.connection_type = ""), "encryption" in t || (this.encryption = new m()), "local_port" in t || (this.local_port = 0), "remote_port" in t || (this.remote_port = 0), Object.assign(this, t);
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Creates a new PortForwardSession instance from a string or object.
|
|
156
156
|
*/
|
|
157
157
|
static createFrom(t = {}) {
|
|
158
|
-
const s =
|
|
158
|
+
const s = ee, i = ie;
|
|
159
159
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
160
|
-
return "labels" in n && (n.labels = s(n.labels)), "encryption" in n && (n.encryption = i(n.encryption)), new
|
|
160
|
+
return "labels" in n && (n.labels = s(n.labels)), "encryption" in n && (n.encryption = i(n.encryption)), new $(n);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
class
|
|
163
|
+
class m {
|
|
164
164
|
algorithm;
|
|
165
165
|
key;
|
|
166
166
|
enabled;
|
|
@@ -173,20 +173,20 @@ class h {
|
|
|
173
173
|
*/
|
|
174
174
|
static createFrom(t = {}) {
|
|
175
175
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
176
|
-
return new
|
|
176
|
+
return new m(s);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
var
|
|
180
|
-
const
|
|
179
|
+
var Et = /* @__PURE__ */ ((e) => (e.$zero = "", e.SessionStateActive = "ACTIVE", e.SessionStatePaused = "PAUSED", e.SessionStateStopped = "STOPPED", e.SessionStateFailed = "FAILED", e))(Et || {});
|
|
180
|
+
const ee = f(l, l), ie = m.createFrom, mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
181
181
|
__proto__: null,
|
|
182
|
-
FindPortForwardSessionRequest:
|
|
183
|
-
PortForwardConnectionType:
|
|
184
|
-
PortForwardProtocol:
|
|
185
|
-
PortForwardSession:
|
|
186
|
-
PortForwardSessionEncryption:
|
|
187
|
-
SessionState:
|
|
182
|
+
FindPortForwardSessionRequest: M,
|
|
183
|
+
PortForwardConnectionType: It,
|
|
184
|
+
PortForwardProtocol: Pt,
|
|
185
|
+
PortForwardSession: $,
|
|
186
|
+
PortForwardSessionEncryption: m,
|
|
187
|
+
SessionState: Et
|
|
188
188
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
189
|
-
class
|
|
189
|
+
class tt {
|
|
190
190
|
id;
|
|
191
191
|
name;
|
|
192
192
|
description;
|
|
@@ -214,9 +214,9 @@ class Q {
|
|
|
214
214
|
* Creates a new AvailablePlugin instance from a string or object.
|
|
215
215
|
*/
|
|
216
216
|
static createFrom(t = {}) {
|
|
217
|
-
const s =
|
|
217
|
+
const s = kt;
|
|
218
218
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
219
|
-
return "tags" in i && (i.tags = s(i.tags)), new
|
|
219
|
+
return "tags" in i && (i.tags = s(i.tags)), new tt(i);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
class w {
|
|
@@ -234,7 +234,7 @@ class w {
|
|
|
234
234
|
return new w(s);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
class
|
|
237
|
+
class et {
|
|
238
238
|
total;
|
|
239
239
|
last_month;
|
|
240
240
|
last_week;
|
|
@@ -247,12 +247,12 @@ class L {
|
|
|
247
247
|
* Creates a new DownloadStats instance from a string or object.
|
|
248
248
|
*/
|
|
249
249
|
static createFrom(t = {}) {
|
|
250
|
-
const s =
|
|
250
|
+
const s = ne;
|
|
251
251
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
252
|
-
return "daily_stats" in i && (i.daily_stats = s(i.daily_stats)), new
|
|
252
|
+
return "daily_stats" in i && (i.daily_stats = s(i.daily_stats)), new et(i);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
class
|
|
255
|
+
class it {
|
|
256
256
|
id;
|
|
257
257
|
user_id;
|
|
258
258
|
rating;
|
|
@@ -268,10 +268,10 @@ class M {
|
|
|
268
268
|
*/
|
|
269
269
|
static createFrom(t = {}) {
|
|
270
270
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
271
|
-
return new
|
|
271
|
+
return new it(s);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
class
|
|
274
|
+
class st {
|
|
275
275
|
version;
|
|
276
276
|
description;
|
|
277
277
|
changelog;
|
|
@@ -287,20 +287,68 @@ class $ {
|
|
|
287
287
|
* Creates a new VersionInfo instance from a string or object.
|
|
288
288
|
*/
|
|
289
289
|
static createFrom(t = {}) {
|
|
290
|
-
const s =
|
|
290
|
+
const s = kt;
|
|
291
291
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
292
|
-
return "capabilities" in i && (i.capabilities = s(i.capabilities)), new
|
|
292
|
+
return "capabilities" in i && (i.capabilities = s(i.capabilities)), new st(i);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const kt = c(l), se = w.createFrom, ne = c(se), gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
296
296
|
__proto__: null,
|
|
297
|
-
AvailablePlugin:
|
|
297
|
+
AvailablePlugin: tt,
|
|
298
298
|
DailyStat: w,
|
|
299
|
-
DownloadStats:
|
|
300
|
-
Review:
|
|
301
|
-
VersionInfo:
|
|
299
|
+
DownloadStats: et,
|
|
300
|
+
Review: it,
|
|
301
|
+
VersionInfo: st
|
|
302
302
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
303
303
|
class v {
|
|
304
|
+
operations;
|
|
305
|
+
resource_types;
|
|
306
|
+
/** Creates a new ConnectionExport instance. */
|
|
307
|
+
constructor(t = {}) {
|
|
308
|
+
"operations" in t || (this.operations = []), "resource_types" in t || (this.resource_types = []), Object.assign(this, t);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Creates a new ConnectionExport instance from a string or object.
|
|
312
|
+
*/
|
|
313
|
+
static createFrom(t = {}) {
|
|
314
|
+
const s = p, i = p;
|
|
315
|
+
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
316
|
+
return "operations" in n && (n.operations = s(n.operations)), "resource_types" in n && (n.resource_types = i(n.resource_types)), new v(n);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
class T {
|
|
320
|
+
plugin;
|
|
321
|
+
operations;
|
|
322
|
+
resource_types;
|
|
323
|
+
/** Creates a new ConnectionRequirement instance. */
|
|
324
|
+
constructor(t = {}) {
|
|
325
|
+
"plugin" in t || (this.plugin = ""), "operations" in t || (this.operations = []), "resource_types" in t || (this.resource_types = []), Object.assign(this, t);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Creates a new ConnectionRequirement instance from a string or object.
|
|
329
|
+
*/
|
|
330
|
+
static createFrom(t = {}) {
|
|
331
|
+
const s = p, i = p;
|
|
332
|
+
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
333
|
+
return "operations" in n && (n.operations = s(n.operations)), "resource_types" in n && (n.resource_types = i(n.resource_types)), new T(n);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
class u {
|
|
337
|
+
connections;
|
|
338
|
+
/** Creates a new ExportsSpec instance. */
|
|
339
|
+
constructor(t = {}) {
|
|
340
|
+
Object.assign(this, t);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Creates a new ExportsSpec instance from a string or object.
|
|
344
|
+
*/
|
|
345
|
+
static createFrom(t = {}) {
|
|
346
|
+
const s = re;
|
|
347
|
+
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
348
|
+
return "connections" in i && (i.connections = s(i.connections)), new u(i);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
class N {
|
|
304
352
|
name;
|
|
305
353
|
email;
|
|
306
354
|
url;
|
|
@@ -313,11 +361,11 @@ class v {
|
|
|
313
361
|
*/
|
|
314
362
|
static createFrom(t = {}) {
|
|
315
363
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
316
|
-
return new
|
|
364
|
+
return new N(s);
|
|
317
365
|
}
|
|
318
366
|
}
|
|
319
|
-
var
|
|
320
|
-
class
|
|
367
|
+
var zt = /* @__PURE__ */ ((e) => (e.$zero = "", e.PluginComponentAreaEditor = "EDITOR", e.PluginComponentAreaSidebar = "SIDEBAR", e))(zt || {});
|
|
368
|
+
class g {
|
|
321
369
|
resource;
|
|
322
370
|
/** Creates a new PluginComponents instance. */
|
|
323
371
|
constructor(t = {}) {
|
|
@@ -327,12 +375,12 @@ class m {
|
|
|
327
375
|
* Creates a new PluginComponents instance from a string or object.
|
|
328
376
|
*/
|
|
329
377
|
static createFrom(t = {}) {
|
|
330
|
-
const s =
|
|
378
|
+
const s = ce;
|
|
331
379
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
332
|
-
return "resource" in i && (i.resource = s(i.resource)), new
|
|
380
|
+
return "resource" in i && (i.resource = s(i.resource)), new g(i);
|
|
333
381
|
}
|
|
334
382
|
}
|
|
335
|
-
class
|
|
383
|
+
class j {
|
|
336
384
|
name;
|
|
337
385
|
email;
|
|
338
386
|
/** Creates a new PluginMaintainer instance. */
|
|
@@ -344,10 +392,10 @@ class T {
|
|
|
344
392
|
*/
|
|
345
393
|
static createFrom(t = {}) {
|
|
346
394
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
347
|
-
return new
|
|
395
|
+
return new j(s);
|
|
348
396
|
}
|
|
349
397
|
}
|
|
350
|
-
class
|
|
398
|
+
class _ {
|
|
351
399
|
id;
|
|
352
400
|
version;
|
|
353
401
|
name;
|
|
@@ -367,6 +415,8 @@ class g {
|
|
|
367
415
|
components;
|
|
368
416
|
schema_version;
|
|
369
417
|
sdk_protocol_version;
|
|
418
|
+
exports;
|
|
419
|
+
requires;
|
|
370
420
|
/**
|
|
371
421
|
* StateIsolation is inspectable before launch; only a trusted builder's
|
|
372
422
|
* attestation may authorize isolated startup, never self-asserted YAML.
|
|
@@ -374,18 +424,18 @@ class g {
|
|
|
374
424
|
state_isolation;
|
|
375
425
|
/** Creates a new PluginMeta instance. */
|
|
376
426
|
constructor(t = {}) {
|
|
377
|
-
"id" in t || (this.id = ""), "version" in t || (this.version = ""), "name" in t || (this.name = ""), "icon" in t || (this.icon = ""), "icon_url" in t || (this.icon_url = ""), "description" in t || (this.description = ""), "repository" in t || (this.repository = ""), "website" in t || (this.website = ""), "category" in t || (this.category = ""), "license" in t || (this.license = ""), "maintainers" in t || (this.maintainers = []), "tags" in t || (this.tags = []), "dependencies" in t || (this.dependencies = []), "capabilities" in t || (this.capabilities = []), "theme" in t || (this.theme = new
|
|
427
|
+
"id" in t || (this.id = ""), "version" in t || (this.version = ""), "name" in t || (this.name = ""), "icon" in t || (this.icon = ""), "icon_url" in t || (this.icon_url = ""), "description" in t || (this.description = ""), "repository" in t || (this.repository = ""), "website" in t || (this.website = ""), "category" in t || (this.category = ""), "license" in t || (this.license = ""), "maintainers" in t || (this.maintainers = []), "tags" in t || (this.tags = []), "dependencies" in t || (this.dependencies = []), "capabilities" in t || (this.capabilities = []), "theme" in t || (this.theme = new y()), "components" in t || (this.components = new g()), "schema_version" in t || (this.schema_version = 0), "sdk_protocol_version" in t || (this.sdk_protocol_version = 0), Object.assign(this, t);
|
|
378
428
|
}
|
|
379
429
|
/**
|
|
380
430
|
* Creates a new PluginMeta instance from a string or object.
|
|
381
431
|
*/
|
|
382
432
|
static createFrom(t = {}) {
|
|
383
|
-
const s =
|
|
433
|
+
const s = de, i = fe, n = p, a = p, G = p, o = he, Yt = me, Gt = _e, Xt = be, Kt = Se;
|
|
384
434
|
let r = typeof t == "string" ? JSON.parse(t) : t;
|
|
385
|
-
return "author" in r && (r.author = s(r.author)), "maintainers" in r && (r.maintainers = i(r.maintainers)), "tags" in r && (r.tags = n(r.tags)), "dependencies" in r && (r.dependencies = a(r.dependencies)), "capabilities" in r && (r.capabilities =
|
|
435
|
+
return "author" in r && (r.author = s(r.author)), "maintainers" in r && (r.maintainers = i(r.maintainers)), "tags" in r && (r.tags = n(r.tags)), "dependencies" in r && (r.dependencies = a(r.dependencies)), "capabilities" in r && (r.capabilities = G(r.capabilities)), "theme" in r && (r.theme = o(r.theme)), "components" in r && (r.components = Yt(r.components)), "exports" in r && (r.exports = Gt(r.exports)), "requires" in r && (r.requires = Xt(r.requires)), "state_isolation" in r && (r.state_isolation = Kt(r.state_isolation)), new _(r);
|
|
386
436
|
}
|
|
387
437
|
}
|
|
388
|
-
class
|
|
438
|
+
class J {
|
|
389
439
|
name;
|
|
390
440
|
plugin;
|
|
391
441
|
area;
|
|
@@ -399,12 +449,12 @@ class u {
|
|
|
399
449
|
* Creates a new PluginResourceComponent instance from a string or object.
|
|
400
450
|
*/
|
|
401
451
|
static createFrom(t = {}) {
|
|
402
|
-
const s =
|
|
452
|
+
const s = p;
|
|
403
453
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
404
|
-
return "resources" in i && (i.resources = s(i.resources)), new
|
|
454
|
+
return "resources" in i && (i.resources = s(i.resources)), new J(i);
|
|
405
455
|
}
|
|
406
456
|
}
|
|
407
|
-
class
|
|
457
|
+
class y {
|
|
408
458
|
colors;
|
|
409
459
|
/** Creates a new PluginTheme instance. */
|
|
410
460
|
constructor(t = {}) {
|
|
@@ -414,9 +464,9 @@ class _ {
|
|
|
414
464
|
* Creates a new PluginTheme instance from a string or object.
|
|
415
465
|
*/
|
|
416
466
|
static createFrom(t = {}) {
|
|
417
|
-
const s =
|
|
467
|
+
const s = Oe;
|
|
418
468
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
419
|
-
return "colors" in i && (i.colors = s(i.colors)), new
|
|
469
|
+
return "colors" in i && (i.colors = s(i.colors)), new y(i);
|
|
420
470
|
}
|
|
421
471
|
}
|
|
422
472
|
class b {
|
|
@@ -435,7 +485,22 @@ class b {
|
|
|
435
485
|
return new b(s);
|
|
436
486
|
}
|
|
437
487
|
}
|
|
438
|
-
class
|
|
488
|
+
class I {
|
|
489
|
+
connections;
|
|
490
|
+
/** Creates a new RequiresSpec instance. */
|
|
491
|
+
constructor(t = {}) {
|
|
492
|
+
"connections" in t || (this.connections = []), Object.assign(this, t);
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Creates a new RequiresSpec instance from a string or object.
|
|
496
|
+
*/
|
|
497
|
+
static createFrom(t = {}) {
|
|
498
|
+
const s = ve;
|
|
499
|
+
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
500
|
+
return "connections" in i && (i.connections = s(i.connections)), new I(i);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
class P {
|
|
439
504
|
schema_version;
|
|
440
505
|
capability;
|
|
441
506
|
sdk_module;
|
|
@@ -456,28 +521,32 @@ class N {
|
|
|
456
521
|
*/
|
|
457
522
|
static createFrom(t = {}) {
|
|
458
523
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
459
|
-
return new
|
|
524
|
+
return new P(s);
|
|
460
525
|
}
|
|
461
526
|
}
|
|
462
|
-
const
|
|
527
|
+
const p = c(l), ae = v.createFrom, re = d(ae), le = J.createFrom, ce = c(le), oe = N.createFrom, de = d(oe), pe = j.createFrom, fe = c(pe), he = y.createFrom, me = g.createFrom, ge = u.createFrom, _e = d(ge), ye = I.createFrom, be = d(ye), Fe = P.createFrom, Se = d(Fe), Oe = b.createFrom, we = T.createFrom, ve = c(we), _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
463
528
|
__proto__: null,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
529
|
+
ConnectionExport: v,
|
|
530
|
+
ConnectionRequirement: T,
|
|
531
|
+
ExportsSpec: u,
|
|
532
|
+
PluginAuthor: N,
|
|
533
|
+
PluginComponentArea: zt,
|
|
534
|
+
PluginComponents: g,
|
|
535
|
+
PluginMaintainer: j,
|
|
536
|
+
PluginMeta: _,
|
|
537
|
+
PluginResourceComponent: J,
|
|
538
|
+
PluginTheme: y,
|
|
471
539
|
PluginThemeColors: b,
|
|
472
|
-
|
|
540
|
+
RequiresSpec: I,
|
|
541
|
+
StateIsolationProvenance: P
|
|
473
542
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
474
|
-
var
|
|
475
|
-
const
|
|
543
|
+
var E = /* @__PURE__ */ ((e) => (e[e.$zero = 0] = "$zero", e[e.minDuration = -9223372036854776e3] = "minDuration", e[e.maxDuration = 9223372036854776e3] = "maxDuration", e[e.Nanosecond = 1] = "Nanosecond", e[e.Microsecond = 1e3] = "Microsecond", e[e.Millisecond = 1e6] = "Millisecond", e[e.Second = 1e9] = "Second", e[e.Minute = 6e10] = "Minute", e[e.Hour = 36e11] = "Hour", e))(E || {});
|
|
544
|
+
const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
476
545
|
__proto__: null,
|
|
477
|
-
Duration:
|
|
546
|
+
Duration: E
|
|
478
547
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
479
|
-
var
|
|
480
|
-
class
|
|
548
|
+
var Te = /* @__PURE__ */ ((e) => (e.$zero = "", e.CapabilityResource = "resource", e.CapabilityExec = "exec", e.CapabilityNetworker = "networker", e.CapabilityLog = "log", e.CapabilityMetric = "metric", e.CapabilitySettings = "settings", e.CapabilityTools = "tools", e.CapabilityUI = "ui", e))(Te || {});
|
|
549
|
+
class nt {
|
|
481
550
|
/**
|
|
482
551
|
* LastRefresh is the time when the auth context was last refreshed
|
|
483
552
|
* +optional
|
|
@@ -539,18 +608,18 @@ class tt {
|
|
|
539
608
|
Client;
|
|
540
609
|
/** Creates a new Connection instance. */
|
|
541
610
|
constructor(t = {}) {
|
|
542
|
-
"last_refresh" in t || (this.last_refresh = "0001-01-01T00:00:00.000Z"), "data" in t || (this.data = {}), "labels" in t || (this.labels = {}), "lifecycle" in t || (this.lifecycle = new
|
|
611
|
+
"last_refresh" in t || (this.last_refresh = "0001-01-01T00:00:00.000Z"), "data" in t || (this.data = {}), "labels" in t || (this.labels = {}), "lifecycle" in t || (this.lifecycle = new k()), "id" in t || (this.id = ""), "uid" in t || (this.uid = ""), "name" in t || (this.name = ""), "description" in t || (this.description = ""), "avatar" in t || (this.avatar = ""), "expiry_time" in t || (this.expiry_time = E.$zero), "Client" in t || (this.Client = null), Object.assign(this, t);
|
|
543
612
|
}
|
|
544
613
|
/**
|
|
545
614
|
* Creates a new Connection instance from a string or object.
|
|
546
615
|
*/
|
|
547
616
|
static createFrom(t = {}) {
|
|
548
|
-
const s =
|
|
617
|
+
const s = Nt, i = Nt, n = Je;
|
|
549
618
|
let a = typeof t == "string" ? JSON.parse(t) : t;
|
|
550
|
-
return "data" in a && (a.data = s(a.data)), "labels" in a && (a.labels = i(a.labels)), "lifecycle" in a && (a.lifecycle = n(a.lifecycle)), new
|
|
619
|
+
return "data" in a && (a.data = s(a.data)), "labels" in a && (a.labels = i(a.labels)), "lifecycle" in a && (a.lifecycle = n(a.lifecycle)), new nt(a);
|
|
551
620
|
}
|
|
552
621
|
}
|
|
553
|
-
class
|
|
622
|
+
class at {
|
|
554
623
|
enabled;
|
|
555
624
|
triggers;
|
|
556
625
|
retry;
|
|
@@ -562,13 +631,13 @@ class et {
|
|
|
562
631
|
* Creates a new ConnectionAutoConnect instance from a string or object.
|
|
563
632
|
*/
|
|
564
633
|
static createFrom(t = {}) {
|
|
565
|
-
const s =
|
|
634
|
+
const s = Ie;
|
|
566
635
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
567
|
-
return "triggers" in i && (i.triggers = s(i.triggers)), new
|
|
636
|
+
return "triggers" in i && (i.triggers = s(i.triggers)), new at(i);
|
|
568
637
|
}
|
|
569
638
|
}
|
|
570
|
-
var
|
|
571
|
-
class
|
|
639
|
+
var ue = /* @__PURE__ */ ((e) => (e.$zero = "", e.ConnectionAutoConnectRetryNone = "NONE", e.ConnectionAutoConnectRetryOnChange = "ON_CHANGE", e))(ue || {}), Ne = /* @__PURE__ */ ((e) => (e.$zero = "", e.ConnectionAutoConnectTriggerPluginStart = "PLUGIN_START", e.ConnectionAutoConnectTriggerConnectionDiscovered = "CONNECTION_DISCOVERED", e))(Ne || {});
|
|
640
|
+
class k {
|
|
572
641
|
auto_connect;
|
|
573
642
|
/** Creates a new ConnectionLifecycle instance. */
|
|
574
643
|
constructor(t = {}) {
|
|
@@ -578,12 +647,12 @@ class J {
|
|
|
578
647
|
* Creates a new ConnectionLifecycle instance from a string or object.
|
|
579
648
|
*/
|
|
580
649
|
static createFrom(t = {}) {
|
|
581
|
-
const s =
|
|
650
|
+
const s = Ee;
|
|
582
651
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
583
|
-
return "auto_connect" in i && (i.auto_connect = s(i.auto_connect)), new
|
|
652
|
+
return "auto_connect" in i && (i.auto_connect = s(i.auto_connect)), new k(i);
|
|
584
653
|
}
|
|
585
654
|
}
|
|
586
|
-
class
|
|
655
|
+
class xt {
|
|
587
656
|
/**
|
|
588
657
|
* Connection is the connection that the status is for.
|
|
589
658
|
*/
|
|
@@ -608,13 +677,13 @@ class Pt {
|
|
|
608
677
|
* Creates a new ConnectionStatus instance from a string or object.
|
|
609
678
|
*/
|
|
610
679
|
static createFrom(t = {}) {
|
|
611
|
-
const s =
|
|
680
|
+
const s = ze;
|
|
612
681
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
613
|
-
return "connection" in i && (i.connection = s(i.connection)), new
|
|
682
|
+
return "connection" in i && (i.connection = s(i.connection)), new xt(i);
|
|
614
683
|
}
|
|
615
684
|
}
|
|
616
|
-
var
|
|
617
|
-
class
|
|
685
|
+
var je = /* @__PURE__ */ ((e) => (e.$zero = "", e.ConnectionStatusUnknown = "UNKNOWN", e.ConnectionStatusConnected = "CONNECTED", e.ConnectionStatusDisconnected = "DISCONNECTED", e.ConnectionStatusPending = "PENDING", e.ConnectionStatusFailed = "FAILED", e.ConnectionStatusError = "ERROR", e.ConnectionStatusUnauthorized = "UNAUTHORIZED", e.ConnectionStatusForbidden = "FORBIDDEN", e.ConnectionStatusBadRequest = "BAD_REQUEST", e.ConnectionStatusNotFound = "NOT_FOUND", e.ConnectionStatusTimeout = "TIMEOUT", e.ConnectionStatusUnavailable = "UNAVAILABLE", e.ConnectionStatusRequestEntityTooLarge = "REQUEST_ENTITY_TOO_LARGE", e))(je || {});
|
|
686
|
+
class At {
|
|
618
687
|
id;
|
|
619
688
|
metadata;
|
|
620
689
|
phase;
|
|
@@ -625,19 +694,19 @@ class Et {
|
|
|
625
694
|
lastError;
|
|
626
695
|
/** Creates a new PluginInfo instance. */
|
|
627
696
|
constructor(t = {}) {
|
|
628
|
-
"id" in t || (this.id = ""), "metadata" in t || (this.metadata = new
|
|
697
|
+
"id" in t || (this.id = ""), "metadata" in t || (this.metadata = new _()), "phase" in t || (this.phase = ""), "enabled" in t || (this.enabled = !1), "devMode" in t || (this.devMode = !1), "capabilities" in t || (this.capabilities = []), Object.assign(this, t);
|
|
629
698
|
}
|
|
630
699
|
/**
|
|
631
700
|
* Creates a new PluginInfo instance from a string or object.
|
|
632
701
|
*/
|
|
633
702
|
static createFrom(t = {}) {
|
|
634
|
-
const s =
|
|
703
|
+
const s = xe, i = Ae;
|
|
635
704
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
636
|
-
return "metadata" in n && (n.metadata = s(n.metadata)), "capabilities" in n && (n.capabilities = i(n.capabilities)), new
|
|
705
|
+
return "metadata" in n && (n.metadata = s(n.metadata)), "capabilities" in n && (n.capabilities = i(n.capabilities)), new At(n);
|
|
637
706
|
}
|
|
638
707
|
}
|
|
639
|
-
const
|
|
640
|
-
class
|
|
708
|
+
const Nt = f(l, l), Je = k.createFrom, Ie = c(l), Pe = at.createFrom, Ee = d(Pe), ke = nt.createFrom, ze = d(ke), xe = _.createFrom, Ae = c(l);
|
|
709
|
+
class rt {
|
|
641
710
|
settings;
|
|
642
711
|
id;
|
|
643
712
|
label;
|
|
@@ -651,12 +720,12 @@ class it {
|
|
|
651
720
|
* Creates a new Category instance from a string or object.
|
|
652
721
|
*/
|
|
653
722
|
static createFrom(t = {}) {
|
|
654
|
-
const s =
|
|
723
|
+
const s = Be;
|
|
655
724
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
656
|
-
return "settings" in i && (i.settings = s(i.settings)), new
|
|
725
|
+
return "settings" in i && (i.settings = s(i.settings)), new rt(i);
|
|
657
726
|
}
|
|
658
727
|
}
|
|
659
|
-
class
|
|
728
|
+
class z {
|
|
660
729
|
/**
|
|
661
730
|
* ID is the unique identifier of the setting
|
|
662
731
|
*/
|
|
@@ -714,12 +783,12 @@ class I {
|
|
|
714
783
|
* Creates a new Setting instance from a string or object.
|
|
715
784
|
*/
|
|
716
785
|
static createFrom(t = {}) {
|
|
717
|
-
const s =
|
|
786
|
+
const s = Ce, i = qe;
|
|
718
787
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
719
|
-
return "options" in n && (n.options = s(n.options)), "fileSelection" in n && (n.fileSelection = i(n.fileSelection)), new
|
|
788
|
+
return "options" in n && (n.options = s(n.options)), "fileSelection" in n && (n.fileSelection = i(n.fileSelection)), new z(n);
|
|
720
789
|
}
|
|
721
790
|
}
|
|
722
|
-
class
|
|
791
|
+
class x {
|
|
723
792
|
/**
|
|
724
793
|
* Whether file selection should be allowed.
|
|
725
794
|
*/
|
|
@@ -752,12 +821,12 @@ class P {
|
|
|
752
821
|
* Creates a new SettingFileSelection instance from a string or object.
|
|
753
822
|
*/
|
|
754
823
|
static createFrom(t = {}) {
|
|
755
|
-
const s =
|
|
824
|
+
const s = De;
|
|
756
825
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
757
|
-
return "extensions" in i && (i.extensions = s(i.extensions)), new
|
|
826
|
+
return "extensions" in i && (i.extensions = s(i.extensions)), new x(i);
|
|
758
827
|
}
|
|
759
828
|
}
|
|
760
|
-
class
|
|
829
|
+
class A {
|
|
761
830
|
/**
|
|
762
831
|
* Label is the human readable label of the option
|
|
763
832
|
*/
|
|
@@ -779,11 +848,11 @@ class E {
|
|
|
779
848
|
*/
|
|
780
849
|
static createFrom(t = {}) {
|
|
781
850
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
782
|
-
return new
|
|
851
|
+
return new A(s);
|
|
783
852
|
}
|
|
784
853
|
}
|
|
785
|
-
var
|
|
786
|
-
class
|
|
854
|
+
var Rt = /* @__PURE__ */ ((e) => (e.$zero = "", e.Text = "text", e.Select = "select", e.MultiSelect = "multiselect", e.Integer = "integer", e.Float = "float", e.Toggle = "toggle", e.Color = "color", e.DateTime = "datetime", e.Password = "password", e))(Rt || {});
|
|
855
|
+
class lt {
|
|
787
856
|
valid;
|
|
788
857
|
code;
|
|
789
858
|
message;
|
|
@@ -796,19 +865,19 @@ class st {
|
|
|
796
865
|
*/
|
|
797
866
|
static createFrom(t = {}) {
|
|
798
867
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
799
|
-
return new
|
|
868
|
+
return new lt(s);
|
|
800
869
|
}
|
|
801
870
|
}
|
|
802
|
-
const
|
|
871
|
+
const Re = z.createFrom, Be = f(l, Re), We = A.createFrom, Ce = c(We), Ue = x.createFrom, qe = d(Ue), De = c(l), bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
803
872
|
__proto__: null,
|
|
804
|
-
Category:
|
|
805
|
-
Setting:
|
|
806
|
-
SettingFileSelection:
|
|
807
|
-
SettingOption:
|
|
808
|
-
SettingType:
|
|
809
|
-
ValidationResult:
|
|
873
|
+
Category: rt,
|
|
874
|
+
Setting: z,
|
|
875
|
+
SettingFileSelection: x,
|
|
876
|
+
SettingOption: A,
|
|
877
|
+
SettingType: Rt,
|
|
878
|
+
ValidationResult: lt
|
|
810
879
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
811
|
-
class
|
|
880
|
+
class ct {
|
|
812
881
|
plugin;
|
|
813
882
|
/** Creates a new GetPluginComponentsInput instance. */
|
|
814
883
|
constructor(t = {}) {
|
|
@@ -819,10 +888,10 @@ class nt {
|
|
|
819
888
|
*/
|
|
820
889
|
static createFrom(t = {}) {
|
|
821
890
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
822
|
-
return new
|
|
891
|
+
return new ct(s);
|
|
823
892
|
}
|
|
824
893
|
}
|
|
825
|
-
class
|
|
894
|
+
class ot {
|
|
826
895
|
plugin;
|
|
827
896
|
resource;
|
|
828
897
|
area;
|
|
@@ -835,10 +904,10 @@ class at {
|
|
|
835
904
|
*/
|
|
836
905
|
static createFrom(t = {}) {
|
|
837
906
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
838
|
-
return new
|
|
907
|
+
return new ot(s);
|
|
839
908
|
}
|
|
840
909
|
}
|
|
841
|
-
class
|
|
910
|
+
class dt {
|
|
842
911
|
plugin;
|
|
843
912
|
resource;
|
|
844
913
|
/** Creates a new GetResourceComponentsInput instance. */
|
|
@@ -850,10 +919,10 @@ class rt {
|
|
|
850
919
|
*/
|
|
851
920
|
static createFrom(t = {}) {
|
|
852
921
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
853
|
-
return new
|
|
922
|
+
return new dt(s);
|
|
854
923
|
}
|
|
855
924
|
}
|
|
856
|
-
class
|
|
925
|
+
class pt {
|
|
857
926
|
owner;
|
|
858
927
|
name;
|
|
859
928
|
plugin;
|
|
@@ -869,19 +938,19 @@ class lt {
|
|
|
869
938
|
*/
|
|
870
939
|
static createFrom(t = {}) {
|
|
871
940
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
872
|
-
return new
|
|
941
|
+
return new pt(s);
|
|
873
942
|
}
|
|
874
943
|
}
|
|
875
|
-
var
|
|
876
|
-
const
|
|
944
|
+
var Bt = /* @__PURE__ */ ((e) => (e.$zero = "", e.ResourceComponentAreaSidebar = "SIDEBAR", e.ResourceComponentAreaTable = "TABLE", e))(Bt || {});
|
|
945
|
+
const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
877
946
|
__proto__: null,
|
|
878
|
-
GetPluginComponentsInput:
|
|
879
|
-
GetResourceAreaComponentInput:
|
|
880
|
-
GetResourceComponentsInput:
|
|
881
|
-
ResourceComponent:
|
|
882
|
-
ResourceComponentArea:
|
|
947
|
+
GetPluginComponentsInput: ct,
|
|
948
|
+
GetResourceAreaComponentInput: ot,
|
|
949
|
+
GetResourceComponentsInput: dt,
|
|
950
|
+
ResourceComponent: pt,
|
|
951
|
+
ResourceComponentArea: Bt
|
|
883
952
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
884
|
-
class
|
|
953
|
+
class F {
|
|
885
954
|
label;
|
|
886
955
|
label_selector;
|
|
887
956
|
paths;
|
|
@@ -894,29 +963,29 @@ class y {
|
|
|
894
963
|
* Creates a new ActionTargetBuilder instance from a string or object.
|
|
895
964
|
*/
|
|
896
965
|
static createFrom(t = {}) {
|
|
897
|
-
const s =
|
|
966
|
+
const s = Ze, i = ht;
|
|
898
967
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
899
|
-
return "paths" in n && (n.paths = s(n.paths)), "selectors" in n && (n.selectors = i(n.selectors)), new
|
|
968
|
+
return "paths" in n && (n.paths = s(n.paths)), "selectors" in n && (n.selectors = i(n.selectors)), new F(n);
|
|
900
969
|
}
|
|
901
970
|
}
|
|
902
|
-
let
|
|
971
|
+
let He = class Wt {
|
|
903
972
|
plugin;
|
|
904
973
|
resource;
|
|
905
974
|
target_builder;
|
|
906
975
|
/** Creates a new Handler instance. */
|
|
907
976
|
constructor(t = {}) {
|
|
908
|
-
"plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new
|
|
977
|
+
"plugin" in t || (this.plugin = ""), "resource" in t || (this.resource = ""), "target_builder" in t || (this.target_builder = new F()), Object.assign(this, t);
|
|
909
978
|
}
|
|
910
979
|
/**
|
|
911
980
|
* Creates a new Handler instance from a string or object.
|
|
912
981
|
*/
|
|
913
982
|
static createFrom(t = {}) {
|
|
914
|
-
const s =
|
|
983
|
+
const s = Ye;
|
|
915
984
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
916
|
-
return "target_builder" in i && (i.target_builder = s(i.target_builder)), new
|
|
985
|
+
return "target_builder" in i && (i.target_builder = s(i.target_builder)), new Wt(i);
|
|
917
986
|
}
|
|
918
987
|
};
|
|
919
|
-
class
|
|
988
|
+
class ft {
|
|
920
989
|
id;
|
|
921
990
|
plugin_id;
|
|
922
991
|
connection_id;
|
|
@@ -934,9 +1003,9 @@ class ct {
|
|
|
934
1003
|
* Creates a new LogSession instance from a string or object.
|
|
935
1004
|
*/
|
|
936
1005
|
static createFrom(t = {}) {
|
|
937
|
-
const s =
|
|
1006
|
+
const s = Ge, i = Ke;
|
|
938
1007
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
939
|
-
return "options" in n && (n.options = s(n.options)), "active_sources" in n && (n.active_sources = i(n.active_sources)), new
|
|
1008
|
+
return "options" in n && (n.options = s(n.options)), "active_sources" in n && (n.active_sources = i(n.active_sources)), new ft(n);
|
|
940
1009
|
}
|
|
941
1010
|
}
|
|
942
1011
|
class S {
|
|
@@ -958,13 +1027,13 @@ class S {
|
|
|
958
1027
|
* Creates a new LogSessionOptions instance from a string or object.
|
|
959
1028
|
*/
|
|
960
1029
|
static createFrom(t = {}) {
|
|
961
|
-
const s =
|
|
1030
|
+
const s = ht;
|
|
962
1031
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
963
1032
|
return "params" in i && (i.params = s(i.params)), new S(i);
|
|
964
1033
|
}
|
|
965
1034
|
}
|
|
966
|
-
var
|
|
967
|
-
class
|
|
1035
|
+
var Ct = /* @__PURE__ */ ((e) => (e[e.$zero = 0] = "$zero", e[e.LogSessionStatusActive = 0] = "LogSessionStatusActive", e[e.LogSessionStatusPaused = 1] = "LogSessionStatusPaused", e[e.LogSessionStatusClosed = 2] = "LogSessionStatusClosed", e[e.LogSessionStatusError = 3] = "LogSessionStatusError", e[e.LogSessionStatusConnecting = 4] = "LogSessionStatusConnecting", e[e.LogSessionStatusInitializing = 5] = "LogSessionStatusInitializing", e))(Ct || {});
|
|
1036
|
+
class R {
|
|
968
1037
|
id;
|
|
969
1038
|
labels;
|
|
970
1039
|
/** Creates a new LogSource instance. */
|
|
@@ -975,23 +1044,23 @@ class k {
|
|
|
975
1044
|
* Creates a new LogSource instance from a string or object.
|
|
976
1045
|
*/
|
|
977
1046
|
static createFrom(t = {}) {
|
|
978
|
-
const s =
|
|
1047
|
+
const s = ht;
|
|
979
1048
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
980
|
-
return "labels" in i && (i.labels = s(i.labels)), new
|
|
1049
|
+
return "labels" in i && (i.labels = s(i.labels)), new R(i);
|
|
981
1050
|
}
|
|
982
1051
|
}
|
|
983
|
-
var
|
|
984
|
-
const
|
|
1052
|
+
var Ut = /* @__PURE__ */ ((e) => (e[e.$zero = 0] = "$zero", e[e.StreamCommandPause = 0] = "StreamCommandPause", e[e.StreamCommandResume = 1] = "StreamCommandResume", e[e.StreamCommandClose = 2] = "StreamCommandClose", e))(Ut || {});
|
|
1053
|
+
const Ze = c(l), ht = f(l, l), Ye = F.createFrom, Ge = S.createFrom, Xe = R.createFrom, Ke = c(Xe), Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
985
1054
|
__proto__: null,
|
|
986
|
-
ActionTargetBuilder:
|
|
987
|
-
Handler:
|
|
988
|
-
LogSession:
|
|
1055
|
+
ActionTargetBuilder: F,
|
|
1056
|
+
Handler: He,
|
|
1057
|
+
LogSession: ft,
|
|
989
1058
|
LogSessionOptions: S,
|
|
990
|
-
LogSessionStatus:
|
|
991
|
-
LogSource:
|
|
992
|
-
LogStreamCommand:
|
|
1059
|
+
LogSessionStatus: Ct,
|
|
1060
|
+
LogSource: R,
|
|
1061
|
+
LogStreamCommand: Ut
|
|
993
1062
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
994
|
-
class
|
|
1063
|
+
class B {
|
|
995
1064
|
metric_id;
|
|
996
1065
|
min;
|
|
997
1066
|
max;
|
|
@@ -1005,18 +1074,18 @@ class z {
|
|
|
1005
1074
|
labels;
|
|
1006
1075
|
/** Creates a new AggregateValue instance. */
|
|
1007
1076
|
constructor(t = {}) {
|
|
1008
|
-
"metric_id" in t || (this.metric_id = ""), "min" in t || (this.min = 0), "max" in t || (this.max = 0), "avg" in t || (this.avg = 0), "sum" in t || (this.sum = 0), "p50" in t || (this.p50 = 0), "p90" in t || (this.p90 = 0), "p99" in t || (this.p99 = 0), "count" in t || (this.count = 0), "window" in t || (this.window =
|
|
1077
|
+
"metric_id" in t || (this.metric_id = ""), "min" in t || (this.min = 0), "max" in t || (this.max = 0), "avg" in t || (this.avg = 0), "sum" in t || (this.sum = 0), "p50" in t || (this.p50 = 0), "p90" in t || (this.p90 = 0), "p99" in t || (this.p99 = 0), "count" in t || (this.count = 0), "window" in t || (this.window = E.$zero), "labels" in t || (this.labels = {}), Object.assign(this, t);
|
|
1009
1078
|
}
|
|
1010
1079
|
/**
|
|
1011
1080
|
* Creates a new AggregateValue instance from a string or object.
|
|
1012
1081
|
*/
|
|
1013
1082
|
static createFrom(t = {}) {
|
|
1014
|
-
const s =
|
|
1083
|
+
const s = Z;
|
|
1015
1084
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1016
|
-
return "labels" in i && (i.labels = s(i.labels)), new
|
|
1085
|
+
return "labels" in i && (i.labels = s(i.labels)), new B(i);
|
|
1017
1086
|
}
|
|
1018
1087
|
}
|
|
1019
|
-
class
|
|
1088
|
+
class W {
|
|
1020
1089
|
min;
|
|
1021
1090
|
max;
|
|
1022
1091
|
color;
|
|
@@ -1029,10 +1098,10 @@ class x {
|
|
|
1029
1098
|
*/
|
|
1030
1099
|
static createFrom(t = {}) {
|
|
1031
1100
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1032
|
-
return new
|
|
1101
|
+
return new W(s);
|
|
1033
1102
|
}
|
|
1034
1103
|
}
|
|
1035
|
-
class
|
|
1104
|
+
class C {
|
|
1036
1105
|
metric_id;
|
|
1037
1106
|
value;
|
|
1038
1107
|
timestamp;
|
|
@@ -1045,12 +1114,12 @@ class A {
|
|
|
1045
1114
|
* Creates a new CurrentValue instance from a string or object.
|
|
1046
1115
|
*/
|
|
1047
1116
|
static createFrom(t = {}) {
|
|
1048
|
-
const s =
|
|
1117
|
+
const s = Z;
|
|
1049
1118
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1050
|
-
return "labels" in i && (i.labels = s(i.labels)), new
|
|
1119
|
+
return "labels" in i && (i.labels = s(i.labels)), new C(i);
|
|
1051
1120
|
}
|
|
1052
1121
|
}
|
|
1053
|
-
class
|
|
1122
|
+
class U {
|
|
1054
1123
|
timestamp;
|
|
1055
1124
|
value;
|
|
1056
1125
|
labels;
|
|
@@ -1062,12 +1131,12 @@ class R {
|
|
|
1062
1131
|
* Creates a new DataPoint instance from a string or object.
|
|
1063
1132
|
*/
|
|
1064
1133
|
static createFrom(t = {}) {
|
|
1065
|
-
const s =
|
|
1134
|
+
const s = Z;
|
|
1066
1135
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1067
|
-
return "labels" in i && (i.labels = s(i.labels)), new
|
|
1136
|
+
return "labels" in i && (i.labels = s(i.labels)), new U(i);
|
|
1068
1137
|
}
|
|
1069
1138
|
}
|
|
1070
|
-
class
|
|
1139
|
+
class mt {
|
|
1071
1140
|
resource;
|
|
1072
1141
|
metrics;
|
|
1073
1142
|
/** Creates a new Handler instance. */
|
|
@@ -1078,12 +1147,12 @@ class dt {
|
|
|
1078
1147
|
* Creates a new Handler instance from a string or object.
|
|
1079
1148
|
*/
|
|
1080
1149
|
static createFrom(t = {}) {
|
|
1081
|
-
const s =
|
|
1150
|
+
const s = Qe;
|
|
1082
1151
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1083
|
-
return "metrics" in i && (i.metrics = s(i.metrics)), new
|
|
1152
|
+
return "metrics" in i && (i.metrics = s(i.metrics)), new mt(i);
|
|
1084
1153
|
}
|
|
1085
1154
|
}
|
|
1086
|
-
class
|
|
1155
|
+
class q {
|
|
1087
1156
|
id;
|
|
1088
1157
|
name;
|
|
1089
1158
|
unit;
|
|
@@ -1100,12 +1169,12 @@ class B {
|
|
|
1100
1169
|
* Creates a new MetricDescriptor instance from a string or object.
|
|
1101
1170
|
*/
|
|
1102
1171
|
static createFrom(t = {}) {
|
|
1103
|
-
const s =
|
|
1172
|
+
const s = Me, i = $e;
|
|
1104
1173
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
1105
|
-
return "color_ranges" in n && (n.color_ranges = s(n.color_ranges)), "supported_shapes" in n && (n.supported_shapes = i(n.supported_shapes)), new
|
|
1174
|
+
return "color_ranges" in n && (n.color_ranges = s(n.color_ranges)), "supported_shapes" in n && (n.supported_shapes = i(n.supported_shapes)), new q(n);
|
|
1106
1175
|
}
|
|
1107
1176
|
}
|
|
1108
|
-
class
|
|
1177
|
+
class D {
|
|
1109
1178
|
time_series;
|
|
1110
1179
|
current_value;
|
|
1111
1180
|
aggregate_value;
|
|
@@ -1117,13 +1186,13 @@ class W {
|
|
|
1117
1186
|
* Creates a new MetricResult instance from a string or object.
|
|
1118
1187
|
*/
|
|
1119
1188
|
static createFrom(t = {}) {
|
|
1120
|
-
const s =
|
|
1189
|
+
const s = ei, i = si, n = ai;
|
|
1121
1190
|
let a = typeof t == "string" ? JSON.parse(t) : t;
|
|
1122
|
-
return "time_series" in a && (a.time_series = s(a.time_series)), "current_value" in a && (a.current_value = i(a.current_value)), "aggregate_value" in a && (a.aggregate_value = n(a.aggregate_value)), new
|
|
1191
|
+
return "time_series" in a && (a.time_series = s(a.time_series)), "current_value" in a && (a.current_value = i(a.current_value)), "aggregate_value" in a && (a.aggregate_value = n(a.aggregate_value)), new D(a);
|
|
1123
1192
|
}
|
|
1124
1193
|
}
|
|
1125
|
-
var
|
|
1126
|
-
class
|
|
1194
|
+
var qt = /* @__PURE__ */ ((e) => (e[e.$zero = 0] = "$zero", e[e.ShapeCurrent = 0] = "ShapeCurrent", e[e.ShapeTimeseries = 1] = "ShapeTimeseries", e[e.ShapeAggregate = 2] = "ShapeAggregate", e))(qt || {}), Dt = /* @__PURE__ */ ((e) => (e[e.$zero = 0] = "$zero", e[e.UnitNone = 0] = "UnitNone", e[e.UnitBytes = 1] = "UnitBytes", e[e.UnitKB = 2] = "UnitKB", e[e.UnitMB = 3] = "UnitMB", e[e.UnitGB = 4] = "UnitGB", e[e.UnitPercentage = 5] = "UnitPercentage", e[e.UnitMillis = 6] = "UnitMillis", e[e.UnitSeconds = 7] = "UnitSeconds", e[e.UnitCount = 8] = "UnitCount", e[e.UnitOpsPerSec = 9] = "UnitOpsPerSec", e[e.UnitBytesPerSec = 10] = "UnitBytesPerSec", e[e.UnitMillicores = 11] = "UnitMillicores", e[e.UnitCores = 12] = "UnitCores", e))(Dt || {});
|
|
1195
|
+
class gt {
|
|
1127
1196
|
success;
|
|
1128
1197
|
results;
|
|
1129
1198
|
error;
|
|
@@ -1135,12 +1204,12 @@ class pt {
|
|
|
1135
1204
|
* Creates a new QueryResponse instance from a string or object.
|
|
1136
1205
|
*/
|
|
1137
1206
|
static createFrom(t = {}) {
|
|
1138
|
-
const s =
|
|
1207
|
+
const s = li;
|
|
1139
1208
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1140
|
-
return "results" in i && (i.results = s(i.results)), new
|
|
1209
|
+
return "results" in i && (i.results = s(i.results)), new gt(i);
|
|
1141
1210
|
}
|
|
1142
1211
|
}
|
|
1143
|
-
class
|
|
1212
|
+
class H {
|
|
1144
1213
|
metric_id;
|
|
1145
1214
|
data_points;
|
|
1146
1215
|
labels;
|
|
@@ -1152,26 +1221,26 @@ class C {
|
|
|
1152
1221
|
* Creates a new TimeSeries instance from a string or object.
|
|
1153
1222
|
*/
|
|
1154
1223
|
static createFrom(t = {}) {
|
|
1155
|
-
const s =
|
|
1224
|
+
const s = oi, i = Z;
|
|
1156
1225
|
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
1157
|
-
return "data_points" in n && (n.data_points = s(n.data_points)), "labels" in n && (n.labels = i(n.labels)), new
|
|
1226
|
+
return "data_points" in n && (n.data_points = s(n.data_points)), "labels" in n && (n.labels = i(n.labels)), new H(n);
|
|
1158
1227
|
}
|
|
1159
1228
|
}
|
|
1160
|
-
const
|
|
1229
|
+
const Z = f(l, l), Ve = q.createFrom, Qe = c(Ve), Le = W.createFrom, Me = c(Le), $e = c(l), ti = H.createFrom, ei = d(ti), ii = C.createFrom, si = d(ii), ni = B.createFrom, ai = d(ni), ri = D.createFrom, li = c(ri), ci = U.createFrom, oi = c(ci), Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1161
1230
|
__proto__: null,
|
|
1162
|
-
AggregateValue:
|
|
1163
|
-
ColorRange:
|
|
1164
|
-
CurrentValue:
|
|
1165
|
-
DataPoint:
|
|
1166
|
-
Handler:
|
|
1167
|
-
MetricDescriptor:
|
|
1168
|
-
MetricResult:
|
|
1169
|
-
MetricShape:
|
|
1170
|
-
MetricUnit:
|
|
1171
|
-
QueryResponse:
|
|
1172
|
-
TimeSeries:
|
|
1231
|
+
AggregateValue: B,
|
|
1232
|
+
ColorRange: W,
|
|
1233
|
+
CurrentValue: C,
|
|
1234
|
+
DataPoint: U,
|
|
1235
|
+
Handler: mt,
|
|
1236
|
+
MetricDescriptor: q,
|
|
1237
|
+
MetricResult: D,
|
|
1238
|
+
MetricShape: qt,
|
|
1239
|
+
MetricUnit: Dt,
|
|
1240
|
+
QueryResponse: gt,
|
|
1241
|
+
TimeSeries: H
|
|
1173
1242
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1174
|
-
class
|
|
1243
|
+
class _t {
|
|
1175
1244
|
sessionId;
|
|
1176
1245
|
sourceWindow;
|
|
1177
1246
|
dragType;
|
|
@@ -1189,10 +1258,10 @@ class ft {
|
|
|
1189
1258
|
*/
|
|
1190
1259
|
static createFrom(t = {}) {
|
|
1191
1260
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1192
|
-
return new
|
|
1261
|
+
return new _t(s);
|
|
1193
1262
|
}
|
|
1194
1263
|
}
|
|
1195
|
-
class
|
|
1264
|
+
class yt {
|
|
1196
1265
|
sessionId;
|
|
1197
1266
|
sourceWindow;
|
|
1198
1267
|
dragType;
|
|
@@ -1205,10 +1274,10 @@ class ht {
|
|
|
1205
1274
|
*/
|
|
1206
1275
|
static createFrom(t = {}) {
|
|
1207
1276
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1208
|
-
return new
|
|
1277
|
+
return new yt(s);
|
|
1209
1278
|
}
|
|
1210
1279
|
}
|
|
1211
|
-
class
|
|
1280
|
+
class bt {
|
|
1212
1281
|
sessionId;
|
|
1213
1282
|
/** Creates a new DragEndEvent instance. */
|
|
1214
1283
|
constructor(t = {}) {
|
|
@@ -1219,10 +1288,10 @@ class mt {
|
|
|
1219
1288
|
*/
|
|
1220
1289
|
static createFrom(t = {}) {
|
|
1221
1290
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1222
|
-
return new
|
|
1291
|
+
return new bt(s);
|
|
1223
1292
|
}
|
|
1224
1293
|
}
|
|
1225
|
-
class
|
|
1294
|
+
class Ft {
|
|
1226
1295
|
sessionId;
|
|
1227
1296
|
targetWindow;
|
|
1228
1297
|
/** Creates a new DragLeaveEvent instance. */
|
|
@@ -1234,10 +1303,10 @@ class gt {
|
|
|
1234
1303
|
*/
|
|
1235
1304
|
static createFrom(t = {}) {
|
|
1236
1305
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1237
|
-
return new
|
|
1306
|
+
return new Ft(s);
|
|
1238
1307
|
}
|
|
1239
1308
|
}
|
|
1240
|
-
class
|
|
1309
|
+
class St {
|
|
1241
1310
|
sessionId;
|
|
1242
1311
|
targetWindow;
|
|
1243
1312
|
/**
|
|
@@ -1255,10 +1324,10 @@ class _t {
|
|
|
1255
1324
|
*/
|
|
1256
1325
|
static createFrom(t = {}) {
|
|
1257
1326
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1258
|
-
return new
|
|
1327
|
+
return new St(s);
|
|
1259
1328
|
}
|
|
1260
1329
|
}
|
|
1261
|
-
class
|
|
1330
|
+
class Ot {
|
|
1262
1331
|
accepted;
|
|
1263
1332
|
targetWindow;
|
|
1264
1333
|
targetInstanceId;
|
|
@@ -1271,10 +1340,10 @@ class bt {
|
|
|
1271
1340
|
*/
|
|
1272
1341
|
static createFrom(t = {}) {
|
|
1273
1342
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1274
|
-
return new
|
|
1343
|
+
return new Ot(s);
|
|
1275
1344
|
}
|
|
1276
1345
|
}
|
|
1277
|
-
class
|
|
1346
|
+
class Y {
|
|
1278
1347
|
name;
|
|
1279
1348
|
kind;
|
|
1280
1349
|
/**
|
|
@@ -1290,11 +1359,11 @@ class D {
|
|
|
1290
1359
|
*/
|
|
1291
1360
|
static createFrom(t = {}) {
|
|
1292
1361
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1293
|
-
return new
|
|
1362
|
+
return new Y(s);
|
|
1294
1363
|
}
|
|
1295
1364
|
}
|
|
1296
|
-
var
|
|
1297
|
-
class
|
|
1365
|
+
var Ht = /* @__PURE__ */ ((e) => (e.$zero = "", e.KindWorkspace = "workspace", e.KindPanel = "panel", e.KindSettings = "settings", e))(Ht || {});
|
|
1366
|
+
class wt {
|
|
1298
1367
|
kind;
|
|
1299
1368
|
/**
|
|
1300
1369
|
* InitialState is the opaque per-slot state handed to the new window
|
|
@@ -1322,12 +1391,12 @@ class yt {
|
|
|
1322
1391
|
* Creates a new OpenRequest instance from a string or object.
|
|
1323
1392
|
*/
|
|
1324
1393
|
static createFrom(t = {}) {
|
|
1325
|
-
const s =
|
|
1394
|
+
const s = Zt;
|
|
1326
1395
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1327
|
-
return "initialState" in i && (i.initialState = s(i.initialState)), new
|
|
1396
|
+
return "initialState" in i && (i.initialState = s(i.initialState)), new wt(i);
|
|
1328
1397
|
}
|
|
1329
1398
|
}
|
|
1330
|
-
class
|
|
1399
|
+
class vt {
|
|
1331
1400
|
requestId;
|
|
1332
1401
|
target;
|
|
1333
1402
|
visible;
|
|
@@ -1340,10 +1409,10 @@ class St {
|
|
|
1340
1409
|
*/
|
|
1341
1410
|
static createFrom(t = {}) {
|
|
1342
1411
|
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
1343
|
-
return new
|
|
1412
|
+
return new vt(s);
|
|
1344
1413
|
}
|
|
1345
1414
|
}
|
|
1346
|
-
class
|
|
1415
|
+
class Tt {
|
|
1347
1416
|
name;
|
|
1348
1417
|
kind;
|
|
1349
1418
|
states;
|
|
@@ -1355,12 +1424,12 @@ class Ot {
|
|
|
1355
1424
|
* Creates a new WindowClosedEvent instance from a string or object.
|
|
1356
1425
|
*/
|
|
1357
1426
|
static createFrom(t = {}) {
|
|
1358
|
-
const s =
|
|
1427
|
+
const s = Zt;
|
|
1359
1428
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1360
|
-
return "states" in i && (i.states = s(i.states)), new
|
|
1429
|
+
return "states" in i && (i.states = s(i.states)), new Tt(i);
|
|
1361
1430
|
}
|
|
1362
1431
|
}
|
|
1363
|
-
class
|
|
1432
|
+
class ut {
|
|
1364
1433
|
windows;
|
|
1365
1434
|
/** Creates a new WindowsChangedEvent instance. */
|
|
1366
1435
|
constructor(t = {}) {
|
|
@@ -1370,99 +1439,103 @@ class Ft {
|
|
|
1370
1439
|
* Creates a new WindowsChangedEvent instance from a string or object.
|
|
1371
1440
|
*/
|
|
1372
1441
|
static createFrom(t = {}) {
|
|
1373
|
-
const s =
|
|
1442
|
+
const s = pi;
|
|
1374
1443
|
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
1375
|
-
return "windows" in i && (i.windows = s(i.windows)), new
|
|
1444
|
+
return "windows" in i && (i.windows = s(i.windows)), new ut(i);
|
|
1376
1445
|
}
|
|
1377
1446
|
}
|
|
1378
|
-
const
|
|
1447
|
+
const Zt = f(l, l), di = Y.createFrom, pi = c(di), wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1379
1448
|
__proto__: null,
|
|
1380
|
-
DragBegin:
|
|
1381
|
-
DragBeginEvent:
|
|
1382
|
-
DragEndEvent:
|
|
1383
|
-
DragLeaveEvent:
|
|
1384
|
-
DragPointerEvent:
|
|
1385
|
-
DropResult:
|
|
1386
|
-
Info:
|
|
1387
|
-
Kind:
|
|
1388
|
-
OpenRequest:
|
|
1389
|
-
SettingsState:
|
|
1390
|
-
WindowClosedEvent:
|
|
1391
|
-
WindowsChangedEvent:
|
|
1449
|
+
DragBegin: _t,
|
|
1450
|
+
DragBeginEvent: yt,
|
|
1451
|
+
DragEndEvent: bt,
|
|
1452
|
+
DragLeaveEvent: Ft,
|
|
1453
|
+
DragPointerEvent: St,
|
|
1454
|
+
DropResult: Ot,
|
|
1455
|
+
Info: Y,
|
|
1456
|
+
Kind: Ht,
|
|
1457
|
+
OpenRequest: wt,
|
|
1458
|
+
SettingsState: vt,
|
|
1459
|
+
WindowClosedEvent: Tt,
|
|
1460
|
+
WindowsChangedEvent: ut
|
|
1392
1461
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1393
1462
|
export {
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1463
|
+
y as $,
|
|
1464
|
+
tt as A,
|
|
1465
|
+
S as B,
|
|
1466
|
+
xt as C,
|
|
1467
|
+
et as D,
|
|
1468
|
+
u as E,
|
|
1469
|
+
M as F,
|
|
1470
|
+
ct as G,
|
|
1471
|
+
Vt as H,
|
|
1472
|
+
Y as I,
|
|
1473
|
+
Ct as J,
|
|
1474
|
+
R as K,
|
|
1475
|
+
ft as L,
|
|
1476
|
+
Ut as M,
|
|
1477
|
+
q as N,
|
|
1478
|
+
D as O,
|
|
1479
|
+
_ as P,
|
|
1480
|
+
gt as Q,
|
|
1481
|
+
it as R,
|
|
1482
|
+
L as S,
|
|
1483
|
+
qt as T,
|
|
1484
|
+
Dt as U,
|
|
1485
|
+
st as V,
|
|
1486
|
+
N as W,
|
|
1487
|
+
zt as X,
|
|
1488
|
+
g as Y,
|
|
1489
|
+
j as Z,
|
|
1490
|
+
J as _,
|
|
1491
|
+
Q as a,
|
|
1492
|
+
b as a0,
|
|
1493
|
+
It as a1,
|
|
1494
|
+
Pt as a2,
|
|
1495
|
+
m as a3,
|
|
1496
|
+
I as a4,
|
|
1497
|
+
Bt as a5,
|
|
1498
|
+
Et as a6,
|
|
1499
|
+
z as a7,
|
|
1500
|
+
x as a8,
|
|
1501
|
+
A as a9,
|
|
1502
|
+
Rt as aa,
|
|
1503
|
+
P as ab,
|
|
1504
|
+
H as ac,
|
|
1505
|
+
_i as ad,
|
|
1506
|
+
hi as ae,
|
|
1507
|
+
Si as af,
|
|
1508
|
+
Oi as ag,
|
|
1509
|
+
mi as ah,
|
|
1510
|
+
gi as ai,
|
|
1511
|
+
bi as aj,
|
|
1512
|
+
yi as ak,
|
|
1513
|
+
Fi as al,
|
|
1514
|
+
wi as am,
|
|
1515
|
+
E as an,
|
|
1516
|
+
$ as b,
|
|
1517
|
+
At as c,
|
|
1518
|
+
nt as d,
|
|
1519
|
+
rt as e,
|
|
1520
|
+
lt as f,
|
|
1521
|
+
pt as g,
|
|
1522
|
+
He as h,
|
|
1523
|
+
mt as i,
|
|
1524
|
+
Ot as j,
|
|
1525
|
+
vt as k,
|
|
1526
|
+
je as l,
|
|
1527
|
+
at as m,
|
|
1528
|
+
ue as n,
|
|
1529
|
+
Ne as o,
|
|
1530
|
+
k as p,
|
|
1531
|
+
Te as q,
|
|
1532
|
+
V as r,
|
|
1533
|
+
B as s,
|
|
1534
|
+
W as t,
|
|
1535
|
+
v as u,
|
|
1536
|
+
T as v,
|
|
1537
|
+
C as w,
|
|
1538
|
+
U as x,
|
|
1539
|
+
ot as y,
|
|
1540
|
+
dt as z
|
|
1468
1541
|
};
|