@lvce-editor/renderer-process 30.57.1 → 30.57.2
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/rendererProcessMain.js +573 -551
- package/dist/sessionReplayWorkerMain.js +142 -132
- package/package.json +1 -1
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
const omitted = new Set(['SCRIPT', 'STYLE', 'LINK', 'META', 'BASE', 'NOSCRIPT']);
|
|
2
2
|
const unsupported = new Set(['IFRAME', 'WEBVIEW', 'CANVAS', 'OBJECT', 'EMBED', 'VIDEO', 'AUDIO']);
|
|
3
|
+
// The allowlist covers HTML, SVG and accessibility attributes.
|
|
3
4
|
const attributes$1 = /^(class|style|id|title|role|type|checked|disabled|selected|placeholder|width|height|viewBox|d|fill|stroke|cx|cy|r|x|y|x1|x2|y1|y2|points|transform|xmlns|aria-[\w-]+)$/i;
|
|
4
5
|
const capture = document => {
|
|
5
|
-
const visit =
|
|
6
|
-
if (
|
|
7
|
-
text:
|
|
6
|
+
const visit = original => {
|
|
7
|
+
if (original.nodeType === 3) return {
|
|
8
|
+
text: original.textContent
|
|
8
9
|
};
|
|
9
|
-
if (
|
|
10
|
+
if (original.nodeType !== 1) return undefined;
|
|
11
|
+
const node = original;
|
|
12
|
+
if (omitted.has(node.tagName)) return undefined;
|
|
13
|
+
// Attributes also work on XML elements without a dataset property.
|
|
10
14
|
if (node.hasAttribute('data-session-replay-ignore')) return undefined;
|
|
11
15
|
if (unsupported.has(node.tagName) || node.matches('.Terminal, .TerminalView, .xterm, [data-session-replay-placeholder]')) {
|
|
12
16
|
const {
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
height,
|
|
18
|
+
width
|
|
15
19
|
} = node.getBoundingClientRect();
|
|
16
20
|
return {
|
|
17
|
-
tag: 'div',
|
|
18
21
|
attrs: {
|
|
19
22
|
class: 'SessionReplayPlaceholder',
|
|
20
23
|
style: `background:#808080;color:white;width:${width}px;height:${height}px;overflow:hidden`
|
|
21
24
|
},
|
|
22
25
|
children: [{
|
|
23
26
|
text: 'Content unavailable in replay'
|
|
24
|
-
}]
|
|
27
|
+
}],
|
|
28
|
+
tag: 'div'
|
|
25
29
|
};
|
|
26
30
|
}
|
|
27
31
|
if (node.matches('[data-session-replay-mask], input[type=password]')) return {
|
|
28
|
-
tag: 'span',
|
|
29
32
|
children: [{
|
|
30
33
|
text: '••••••••'
|
|
31
|
-
}]
|
|
34
|
+
}],
|
|
35
|
+
tag: 'span'
|
|
32
36
|
};
|
|
33
37
|
const attrs = Object.fromEntries([...node.attributes].filter(({
|
|
34
38
|
name
|
|
@@ -36,23 +40,26 @@ const capture = document => {
|
|
|
36
40
|
name,
|
|
37
41
|
value
|
|
38
42
|
}) => [name, value]));
|
|
39
|
-
if (node.tagName === 'IMG'
|
|
43
|
+
if (node.tagName === 'IMG') {
|
|
44
|
+
const image = node;
|
|
45
|
+
if (image.src.startsWith('data:image/')) attrs.src = image.src;
|
|
46
|
+
}
|
|
40
47
|
return {
|
|
41
|
-
tag: node.localName,
|
|
42
48
|
attrs,
|
|
43
|
-
|
|
49
|
+
tag: node.localName,
|
|
50
|
+
...(node.namespaceURI === 'http://www.w3.org/2000/svg' && {
|
|
44
51
|
svg: true
|
|
45
|
-
}
|
|
46
|
-
...(typeof node.value === 'string'
|
|
52
|
+
}),
|
|
53
|
+
...('value' in node && typeof node.value === 'string' && {
|
|
47
54
|
value: node.value
|
|
48
|
-
}
|
|
49
|
-
...(typeof node.checked === 'boolean'
|
|
55
|
+
}),
|
|
56
|
+
...('checked' in node && typeof node.checked === 'boolean' && {
|
|
50
57
|
checked: node.checked
|
|
51
|
-
}
|
|
52
|
-
...(node.scrollTop || node.scrollLeft
|
|
58
|
+
}),
|
|
59
|
+
...((node.scrollTop || node.scrollLeft) && {
|
|
53
60
|
scroll: [node.scrollLeft, node.scrollTop]
|
|
54
|
-
}
|
|
55
|
-
children:
|
|
61
|
+
}),
|
|
62
|
+
children: Array.from(node.childNodes, visit).filter(child => child !== undefined)
|
|
56
63
|
};
|
|
57
64
|
};
|
|
58
65
|
const styles = [];
|
|
@@ -60,10 +67,11 @@ const capture = document => {
|
|
|
60
67
|
if (!sheet || seen.has(sheet)) return '';
|
|
61
68
|
seen.add(sheet);
|
|
62
69
|
try {
|
|
63
|
-
return
|
|
64
|
-
if (
|
|
65
|
-
const
|
|
66
|
-
|
|
70
|
+
return Array.from(sheet.cssRules, rule => {
|
|
71
|
+
if (!('styleSheet' in rule)) return rule.cssText;
|
|
72
|
+
const importRule = rule;
|
|
73
|
+
const imported = visitSheet(importRule.styleSheet, seen);
|
|
74
|
+
return importRule.media.mediaText ? `@media ${importRule.media.mediaText} { ${imported} }` : imported;
|
|
67
75
|
}).join('\n');
|
|
68
76
|
} catch {
|
|
69
77
|
return '';
|
|
@@ -71,12 +79,12 @@ const capture = document => {
|
|
|
71
79
|
};
|
|
72
80
|
for (const sheet of [...document.styleSheets, ...document.adoptedStyleSheets]) styles.push(visitSheet(sheet));
|
|
73
81
|
return {
|
|
74
|
-
dom: visit(document.body),
|
|
75
|
-
styles,
|
|
76
82
|
documentElement: {
|
|
77
83
|
className: document.documentElement.className,
|
|
78
84
|
style: document.documentElement.style.cssText
|
|
79
85
|
},
|
|
86
|
+
dom: visit(document.body),
|
|
87
|
+
styles,
|
|
80
88
|
viewport: [document.defaultView.innerWidth, document.defaultView.innerHeight]
|
|
81
89
|
};
|
|
82
90
|
};
|
|
@@ -89,12 +97,14 @@ const observe = (document, record, onError) => {
|
|
|
89
97
|
};
|
|
90
98
|
const observer = new MutationObserver(mark);
|
|
91
99
|
observer.observe(document.documentElement, {
|
|
92
|
-
subtree: true,
|
|
93
|
-
childList: true,
|
|
94
100
|
attributes: true,
|
|
95
|
-
characterData: true
|
|
101
|
+
characterData: true,
|
|
102
|
+
childList: true,
|
|
103
|
+
subtree: true
|
|
104
|
+
});
|
|
105
|
+
for (const type of ['input', 'change', 'scroll']) document.addEventListener(type, mark, {
|
|
106
|
+
capture: true
|
|
96
107
|
});
|
|
97
|
-
for (const type of ['input', 'change', 'scroll']) document.addEventListener(type, mark, true);
|
|
98
108
|
document.defaultView.addEventListener('resize', mark);
|
|
99
109
|
let lastStyles = '';
|
|
100
110
|
const snapshot = async (force = false) => {
|
|
@@ -116,7 +126,9 @@ const observe = (document, record, onError) => {
|
|
|
116
126
|
}
|
|
117
127
|
};
|
|
118
128
|
void snapshot(true);
|
|
119
|
-
const timer = setInterval(
|
|
129
|
+
const timer = setInterval(() => {
|
|
130
|
+
void snapshot();
|
|
131
|
+
}, 100);
|
|
120
132
|
return () => {
|
|
121
133
|
stopped = true;
|
|
122
134
|
clearInterval(timer);
|
|
@@ -134,13 +146,13 @@ const serializeMessage = message => {
|
|
|
134
146
|
if (seen.has(value)) return '[circular]';
|
|
135
147
|
seen.add(value);
|
|
136
148
|
if (value instanceof Error) return {
|
|
137
|
-
name: value.name,
|
|
138
149
|
message: value.message,
|
|
150
|
+
name: value.name,
|
|
139
151
|
stack: value.stack
|
|
140
152
|
};
|
|
141
153
|
if (value instanceof ArrayBuffer || ArrayBuffer.isView(value)) return {
|
|
142
|
-
|
|
143
|
-
|
|
154
|
+
byteLength: value.byteLength,
|
|
155
|
+
type: value.constructor.name
|
|
144
156
|
};
|
|
145
157
|
if (value.constructor?.name === 'MessagePort') return {
|
|
146
158
|
type: 'MessagePort'
|
|
@@ -151,8 +163,8 @@ const serializeMessage = message => {
|
|
|
151
163
|
|
|
152
164
|
const createClient = url => {
|
|
153
165
|
const worker = new Worker(url, {
|
|
154
|
-
|
|
155
|
-
|
|
166
|
+
name: 'Session Replay Worker',
|
|
167
|
+
type: 'module'
|
|
156
168
|
});
|
|
157
169
|
const callbacks = new Map();
|
|
158
170
|
let nextId = 0;
|
|
@@ -177,13 +189,18 @@ const createClient = url => {
|
|
|
177
189
|
fail(new Error('Session replay worker failed to load'));
|
|
178
190
|
};
|
|
179
191
|
return {
|
|
192
|
+
dispose() {
|
|
193
|
+
disposed = true;
|
|
194
|
+
worker.terminate();
|
|
195
|
+
fail(new Error('Session replay worker is closed'));
|
|
196
|
+
},
|
|
180
197
|
invoke(method, ...params) {
|
|
181
198
|
if (disposed) return Promise.reject(new Error('Session replay worker is closed'));
|
|
182
199
|
return new Promise((resolve, reject) => {
|
|
183
200
|
const id = nextId++;
|
|
184
201
|
callbacks.set(id, {
|
|
185
|
-
|
|
186
|
-
|
|
202
|
+
reject,
|
|
203
|
+
resolve: value => resolve(value)
|
|
187
204
|
});
|
|
188
205
|
try {
|
|
189
206
|
worker.postMessage({
|
|
@@ -193,35 +210,35 @@ const createClient = url => {
|
|
|
193
210
|
});
|
|
194
211
|
} catch (error) {
|
|
195
212
|
callbacks.delete(id);
|
|
196
|
-
reject(error);
|
|
213
|
+
reject(error instanceof Error ? error : new Error(String(error)));
|
|
197
214
|
}
|
|
198
215
|
});
|
|
199
|
-
},
|
|
200
|
-
dispose() {
|
|
201
|
-
disposed = true;
|
|
202
|
-
worker.terminate();
|
|
203
|
-
fail(new Error('Session replay worker is closed'));
|
|
204
216
|
}
|
|
205
217
|
};
|
|
206
218
|
};
|
|
207
219
|
|
|
208
220
|
const tags = new Set('body div span p pre code main section article header footer nav aside h1 h2 h3 h4 h5 h6 ul ol li table thead tbody tr td th button input textarea select option label form fieldset legend a img br hr strong em b i u s small details summary svg path rect circle ellipse line polyline polygon g defs clipPath text tspan'.split(' '));
|
|
221
|
+
// The allowlist covers HTML, SVG and accessibility attributes.
|
|
209
222
|
const attributes = /^(class|style|id|title|role|type|checked|disabled|selected|placeholder|width|height|viewBox|d|fill|stroke|cx|cy|r|x|y|x1|x2|y1|y2|points|transform|xmlns|aria-[\w-]+)$/i;
|
|
210
223
|
const renderFrame = (document, frame) => {
|
|
211
224
|
let count = 0;
|
|
212
225
|
const scrolls = [];
|
|
226
|
+
// Keep the inert DOM reconstruction and its bounds together.
|
|
227
|
+
// eslint-disable-next-line sonarjs/cognitive-complexity
|
|
213
228
|
const visit = (value, depth = 0) => {
|
|
214
229
|
if (++count > 100_000 || depth > 150 || !value || typeof value !== 'object') throw new Error('Invalid replay DOM');
|
|
215
230
|
if (typeof value.text === 'string') return document.createTextNode(value.text);
|
|
216
|
-
const tag = tags.has(value.tag) ? value.tag : 'div';
|
|
231
|
+
const tag = value.tag && tags.has(value.tag) ? value.tag : 'div';
|
|
217
232
|
const node = value.svg ? document.createElementNS('http://www.w3.org/2000/svg', tag) : document.createElement(tag);
|
|
218
|
-
|
|
233
|
+
const entries = Object.entries(value.attrs || {});
|
|
234
|
+
for (const [key, val] of entries) {
|
|
219
235
|
if (attributes.test(key) && typeof val === 'string') node.setAttribute(key, val);
|
|
220
236
|
if (key === 'src' && tag === 'img' && typeof val === 'string' && /^data:image\/(png|jpeg|gif|webp);base64,/.test(val)) node.setAttribute(key, val);
|
|
221
237
|
}
|
|
222
|
-
if (typeof value.value === 'string' && 'value' in node && node.type !== 'file') node.value = value.value;
|
|
223
|
-
if (typeof value.checked === 'boolean') node.checked = value.checked;
|
|
224
|
-
|
|
238
|
+
if (typeof value.value === 'string' && 'value' in node && (!('type' in node) || node.type !== 'file')) node.value = value.value;
|
|
239
|
+
if (typeof value.checked === 'boolean' && 'checked' in node) node.checked = value.checked;
|
|
240
|
+
const children = value.children || [];
|
|
241
|
+
for (const child of children) node.append(visit(child, depth + 1));
|
|
225
242
|
if (Array.isArray(value.scroll)) scrolls.push([node, value.scroll]);
|
|
226
243
|
return node;
|
|
227
244
|
};
|
|
@@ -236,8 +253,8 @@ const renderFrame = (document, frame) => {
|
|
|
236
253
|
for (const [node, [x, y]] of scrolls) node.scrollTo(x, y);
|
|
237
254
|
};
|
|
238
255
|
const mountPlayer = async (container, {
|
|
239
|
-
|
|
240
|
-
|
|
256
|
+
source,
|
|
257
|
+
workerUrl
|
|
241
258
|
}) => {
|
|
242
259
|
const client = createClient(workerUrl);
|
|
243
260
|
container.replaceChildren();
|
|
@@ -251,7 +268,7 @@ const mountPlayer = async (container, {
|
|
|
251
268
|
iframe.setAttribute('sandbox', 'allow-same-origin');
|
|
252
269
|
iframe.style.cssText = 'border:0;pointer-events:none;display:block';
|
|
253
270
|
const loaded = new Promise(resolve => {
|
|
254
|
-
iframe.onload = resolve;
|
|
271
|
+
iframe.onload = () => resolve();
|
|
255
272
|
});
|
|
256
273
|
// An opaque, inert visual document: recorded markup cannot run scripts, submit forms or fetch URLs.
|
|
257
274
|
iframe.srcdoc = '<!doctype html><html><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; img-src data:; font-src data:"></head><body></body></html>';
|
|
@@ -278,14 +295,16 @@ const mountPlayer = async (container, {
|
|
|
278
295
|
let position = 0;
|
|
279
296
|
let duration = 0;
|
|
280
297
|
const show = result => {
|
|
281
|
-
|
|
282
|
-
|
|
298
|
+
({
|
|
299
|
+
duration,
|
|
300
|
+
position
|
|
301
|
+
} = result);
|
|
283
302
|
slider.max = String(Math.ceil(duration));
|
|
284
303
|
slider.value = String(Math.round(position));
|
|
285
304
|
status.textContent = `${(position / 1000).toFixed(1)} / ${(duration / 1000).toFixed(1)} s`;
|
|
286
305
|
const [width, height] = result.frame.viewport || [1280, 720];
|
|
287
|
-
iframe.style.width = `${Math.max(1, Math.min(
|
|
288
|
-
iframe.style.height = `${Math.max(1, Math.min(
|
|
306
|
+
iframe.style.width = `${Math.max(1, Math.min(16_384, width))}px`;
|
|
307
|
+
iframe.style.height = `${Math.max(1, Math.min(16_384, height))}px`;
|
|
289
308
|
renderFrame(iframe.contentDocument, result.frame);
|
|
290
309
|
};
|
|
291
310
|
const pause = () => {
|
|
@@ -300,7 +319,7 @@ const mountPlayer = async (container, {
|
|
|
300
319
|
};
|
|
301
320
|
const report = error => {
|
|
302
321
|
pause();
|
|
303
|
-
status.textContent = error.message;
|
|
322
|
+
status.textContent = error instanceof Error ? error.message : String(error);
|
|
304
323
|
};
|
|
305
324
|
slider.oninput = () => {
|
|
306
325
|
pause();
|
|
@@ -318,7 +337,9 @@ const mountPlayer = async (container, {
|
|
|
318
337
|
if (!playing || disposed) return;
|
|
319
338
|
try {
|
|
320
339
|
await seek(performance.now() - origin);
|
|
321
|
-
if (position >= duration) pause();else if (playing) timer = setTimeout(
|
|
340
|
+
if (position >= duration) pause();else if (playing) timer = setTimeout(() => {
|
|
341
|
+
void tick();
|
|
342
|
+
}, 50);
|
|
322
343
|
} catch (error) {
|
|
323
344
|
report(error);
|
|
324
345
|
}
|
|
@@ -349,10 +370,11 @@ const state$h = {
|
|
|
349
370
|
const attached = new WeakSet();
|
|
350
371
|
const workerUrl = new URL('sessionReplayWorkerMain.js', import.meta.url);
|
|
351
372
|
const report = error => {
|
|
352
|
-
|
|
373
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
374
|
+
state$h.lastError = message;
|
|
353
375
|
state$h.stopObserving?.();
|
|
354
376
|
state$h.stopObserving = undefined;
|
|
355
|
-
console.warn(`Session replay: ${
|
|
377
|
+
console.warn(`Session replay: ${message}`);
|
|
356
378
|
};
|
|
357
379
|
const record$1 = (direction, message) => {
|
|
358
380
|
if (!state$h.client || state$h.lastError) return;
|
|
@@ -1374,87 +1396,87 @@ const Use$1 = 91;
|
|
|
1374
1396
|
const Reference$1 = 100;
|
|
1375
1397
|
|
|
1376
1398
|
const VirtualDomElements = {
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
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
|
-
|
|
1399
|
+
__proto__: null,
|
|
1400
|
+
A,
|
|
1401
|
+
Article,
|
|
1402
|
+
Aside,
|
|
1403
|
+
Audio: Audio$2,
|
|
1404
|
+
BlockQuote,
|
|
1405
|
+
Br,
|
|
1406
|
+
Button,
|
|
1407
|
+
Canvas,
|
|
1408
|
+
Circle: Circle$1,
|
|
1409
|
+
Cite,
|
|
1410
|
+
Code,
|
|
1411
|
+
Col,
|
|
1412
|
+
ColGroup,
|
|
1413
|
+
Data,
|
|
1414
|
+
Dd,
|
|
1415
|
+
Defs: Defs$1,
|
|
1416
|
+
Del,
|
|
1417
|
+
Div,
|
|
1418
|
+
Dl,
|
|
1419
|
+
Dt,
|
|
1420
|
+
Ellipse: Ellipse$1,
|
|
1421
|
+
Em,
|
|
1422
|
+
Figcaption,
|
|
1423
|
+
Figure,
|
|
1424
|
+
Footer,
|
|
1425
|
+
Form,
|
|
1426
|
+
G: G$1,
|
|
1427
|
+
H1,
|
|
1428
|
+
H2,
|
|
1429
|
+
H3,
|
|
1430
|
+
H4,
|
|
1431
|
+
H5,
|
|
1432
|
+
H6,
|
|
1433
|
+
Head,
|
|
1434
|
+
Header,
|
|
1435
|
+
Hr,
|
|
1436
|
+
Html,
|
|
1437
|
+
I,
|
|
1438
|
+
Iframe,
|
|
1439
|
+
Img,
|
|
1440
|
+
Input,
|
|
1441
|
+
Ins,
|
|
1442
|
+
Kbd,
|
|
1443
|
+
Label,
|
|
1444
|
+
Li,
|
|
1445
|
+
Line: Line$1,
|
|
1446
|
+
Main,
|
|
1447
|
+
Meta,
|
|
1448
|
+
Nav,
|
|
1449
|
+
Ol,
|
|
1450
|
+
Option,
|
|
1451
|
+
P,
|
|
1452
|
+
Path: Path$1,
|
|
1453
|
+
Polygon: Polygon$1,
|
|
1454
|
+
Polyline: Polyline$1,
|
|
1455
|
+
Pre,
|
|
1456
|
+
Quote: Quote$2,
|
|
1457
|
+
Rect: Rect$1,
|
|
1458
|
+
Reference: Reference$1,
|
|
1459
|
+
Search,
|
|
1460
|
+
Section,
|
|
1461
|
+
Select,
|
|
1462
|
+
Span,
|
|
1463
|
+
Strong,
|
|
1464
|
+
Style,
|
|
1465
|
+
Svg: Svg$1,
|
|
1466
|
+
TBody,
|
|
1467
|
+
THead,
|
|
1468
|
+
Table,
|
|
1469
|
+
Td,
|
|
1470
|
+
Text: Text$1,
|
|
1471
|
+
TextArea,
|
|
1472
|
+
Tfoot,
|
|
1473
|
+
Th,
|
|
1474
|
+
Time,
|
|
1475
|
+
Title,
|
|
1476
|
+
Tr,
|
|
1477
|
+
Ul,
|
|
1478
|
+
Use: Use$1,
|
|
1479
|
+
Video: Video$1
|
|
1458
1480
|
};
|
|
1459
1481
|
|
|
1460
1482
|
const elementTagMap = {
|
|
@@ -1546,8 +1568,8 @@ const getElementTag$1 = type => {
|
|
|
1546
1568
|
};
|
|
1547
1569
|
|
|
1548
1570
|
const ElementTagMap = {
|
|
1549
|
-
|
|
1550
|
-
|
|
1571
|
+
__proto__: null,
|
|
1572
|
+
getElementTag: getElementTag$1
|
|
1551
1573
|
};
|
|
1552
1574
|
|
|
1553
1575
|
const Backspace$1 = 'Backspace';
|
|
@@ -4490,9 +4512,9 @@ const wrap = worker => {
|
|
|
4490
4512
|
};
|
|
4491
4513
|
|
|
4492
4514
|
const IpcParentWithModuleWorker = {
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4515
|
+
__proto__: null,
|
|
4516
|
+
create: create$z,
|
|
4517
|
+
wrap
|
|
4496
4518
|
};
|
|
4497
4519
|
|
|
4498
4520
|
const isMessagePort = value => {
|
|
@@ -4522,8 +4544,8 @@ const create$y = async ({
|
|
|
4522
4544
|
};
|
|
4523
4545
|
|
|
4524
4546
|
const IpcParentWithMessagePort = {
|
|
4525
|
-
|
|
4526
|
-
|
|
4547
|
+
__proto__: null,
|
|
4548
|
+
create: create$y
|
|
4527
4549
|
};
|
|
4528
4550
|
|
|
4529
4551
|
const create$x = async url => {
|
|
@@ -4539,8 +4561,8 @@ const create$x = async url => {
|
|
|
4539
4561
|
};
|
|
4540
4562
|
|
|
4541
4563
|
const IpcParentWithReferencePort = {
|
|
4542
|
-
|
|
4543
|
-
|
|
4564
|
+
__proto__: null,
|
|
4565
|
+
create: create$x
|
|
4544
4566
|
};
|
|
4545
4567
|
|
|
4546
4568
|
const workers = Object.create(null);
|
|
@@ -4583,8 +4605,8 @@ const create$w = async ({
|
|
|
4583
4605
|
};
|
|
4584
4606
|
|
|
4585
4607
|
const IpcParentWithModuleWorkerWithMessagePort = {
|
|
4586
|
-
|
|
4587
|
-
|
|
4608
|
+
__proto__: null,
|
|
4609
|
+
create: create$w
|
|
4588
4610
|
};
|
|
4589
4611
|
|
|
4590
4612
|
const isElectron = platform === Electron$1;
|
|
@@ -4608,8 +4630,8 @@ const create$v = async ({
|
|
|
4608
4630
|
};
|
|
4609
4631
|
|
|
4610
4632
|
const IpcParentWithElectron = {
|
|
4611
|
-
|
|
4612
|
-
|
|
4633
|
+
__proto__: null,
|
|
4634
|
+
create: create$v
|
|
4613
4635
|
};
|
|
4614
4636
|
|
|
4615
4637
|
const getModule = method => {
|
|
@@ -5545,18 +5567,18 @@ const dispatchEvent = (element, options) => {
|
|
|
5545
5567
|
};
|
|
5546
5568
|
|
|
5547
5569
|
const ElementActions = {
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5570
|
+
__proto__: null,
|
|
5571
|
+
click,
|
|
5572
|
+
contextMenu,
|
|
5573
|
+
dispatchEvent,
|
|
5574
|
+
hover,
|
|
5575
|
+
keyDown,
|
|
5576
|
+
keyUp,
|
|
5577
|
+
keyboardEvent,
|
|
5578
|
+
mouseDown,
|
|
5579
|
+
mouseEvent,
|
|
5580
|
+
mouseUp,
|
|
5581
|
+
type
|
|
5560
5582
|
};
|
|
5561
5583
|
|
|
5562
5584
|
const querySelectorByText = (root, text) => {
|
|
@@ -5803,16 +5825,16 @@ const toHaveJSProperty$1 = (locator, {
|
|
|
5803
5825
|
};
|
|
5804
5826
|
|
|
5805
5827
|
const ConditionValues = {
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5828
|
+
__proto__: null,
|
|
5829
|
+
toBeFocused: toBeFocused$1,
|
|
5830
|
+
toContainText: toContainText$1,
|
|
5831
|
+
toHaveAttribute: toHaveAttribute$1,
|
|
5832
|
+
toHaveClass: toHaveClass$1,
|
|
5833
|
+
toHaveCount: toHaveCount$1,
|
|
5834
|
+
toHaveCss: toHaveCss$1,
|
|
5835
|
+
toHaveId: toHaveId$1,
|
|
5836
|
+
toHaveJSProperty: toHaveJSProperty$1,
|
|
5837
|
+
toHaveText: toHaveText$1
|
|
5816
5838
|
};
|
|
5817
5839
|
|
|
5818
5840
|
const keyCodeMap = {
|
|
@@ -5911,8 +5933,8 @@ const press = options => {
|
|
|
5911
5933
|
};
|
|
5912
5934
|
|
|
5913
5935
|
const KeyboardActions = {
|
|
5914
|
-
|
|
5915
|
-
|
|
5936
|
+
__proto__: null,
|
|
5937
|
+
press
|
|
5916
5938
|
};
|
|
5917
5939
|
|
|
5918
5940
|
const toHaveCount = (elements, {
|
|
@@ -5925,9 +5947,9 @@ const toBeHidden = elements => {
|
|
|
5925
5947
|
};
|
|
5926
5948
|
|
|
5927
5949
|
const MultiElementConditions = {
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5950
|
+
__proto__: null,
|
|
5951
|
+
toBeHidden,
|
|
5952
|
+
toHaveCount
|
|
5931
5953
|
};
|
|
5932
5954
|
|
|
5933
5955
|
const toBeVisible = element => {
|
|
@@ -5991,17 +6013,17 @@ const toHaveCss = (element, {
|
|
|
5991
6013
|
};
|
|
5992
6014
|
|
|
5993
6015
|
const SingleElementConditions = {
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6016
|
+
__proto__: null,
|
|
6017
|
+
toBeFocused,
|
|
6018
|
+
toBeVisible,
|
|
6019
|
+
toContainText,
|
|
6020
|
+
toHaveAttribute,
|
|
6021
|
+
toHaveClass,
|
|
6022
|
+
toHaveCss,
|
|
6023
|
+
toHaveId,
|
|
6024
|
+
toHaveJSProperty,
|
|
6025
|
+
toHaveText,
|
|
6026
|
+
toHaveValue
|
|
6005
6027
|
};
|
|
6006
6028
|
|
|
6007
6029
|
const retainItem = (item, index) => {
|
|
@@ -6398,11 +6420,11 @@ const dispose$g = state => {
|
|
|
6398
6420
|
};
|
|
6399
6421
|
|
|
6400
6422
|
const ImagePreview$1 = {
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6423
|
+
__proto__: null,
|
|
6424
|
+
create: create$q,
|
|
6425
|
+
dispose: dispose$g,
|
|
6426
|
+
showError,
|
|
6427
|
+
update
|
|
6406
6428
|
};
|
|
6407
6429
|
|
|
6408
6430
|
const getNodeIndex = $Node => {
|
|
@@ -6452,19 +6474,19 @@ const handleContextMenu$6 = event => {
|
|
|
6452
6474
|
const returnValue$8 = true;
|
|
6453
6475
|
|
|
6454
6476
|
const ViewletActivityBarEvents = {
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6477
|
+
__proto__: null,
|
|
6478
|
+
handleBlur: handleBlur$7,
|
|
6479
|
+
handleContextMenu: handleContextMenu$6,
|
|
6480
|
+
handleFocus: handleFocus$9,
|
|
6481
|
+
handleMouseDown: handleMouseDown$3,
|
|
6482
|
+
returnValue: returnValue$8
|
|
6461
6483
|
};
|
|
6462
6484
|
|
|
6463
6485
|
const Events$6 = ViewletActivityBarEvents;
|
|
6464
6486
|
|
|
6465
6487
|
const ViewletActivityBar = {
|
|
6466
|
-
|
|
6467
|
-
|
|
6488
|
+
__proto__: null,
|
|
6489
|
+
Events: Events$6
|
|
6468
6490
|
};
|
|
6469
6491
|
|
|
6470
6492
|
const executeViewletCommand$1 = 'Viewlet.executeViewletCommand';
|
|
@@ -6480,8 +6502,8 @@ const send = (method, uid, ...args) => {
|
|
|
6480
6502
|
};
|
|
6481
6503
|
|
|
6482
6504
|
const ViewletEventRouter = {
|
|
6483
|
-
|
|
6484
|
-
|
|
6505
|
+
__proto__: null,
|
|
6506
|
+
send
|
|
6485
6507
|
};
|
|
6486
6508
|
|
|
6487
6509
|
const executeViewletCommand = (uid, command, ...args) => {
|
|
@@ -6625,15 +6647,15 @@ const handleAudioError = event => {
|
|
|
6625
6647
|
};
|
|
6626
6648
|
|
|
6627
6649
|
const ViewletAudioEvents = {
|
|
6628
|
-
|
|
6629
|
-
|
|
6650
|
+
__proto__: null,
|
|
6651
|
+
handleAudioError
|
|
6630
6652
|
};
|
|
6631
6653
|
|
|
6632
6654
|
const Events$5 = ViewletAudioEvents;
|
|
6633
6655
|
|
|
6634
6656
|
const ViewletAudio = {
|
|
6635
|
-
|
|
6636
|
-
|
|
6657
|
+
__proto__: null,
|
|
6658
|
+
Events: Events$5
|
|
6637
6659
|
};
|
|
6638
6660
|
|
|
6639
6661
|
const create$p = () => {
|
|
@@ -6652,11 +6674,11 @@ const setTime = (state, time) => {
|
|
|
6652
6674
|
};
|
|
6653
6675
|
|
|
6654
6676
|
const ViewletClock = {
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6677
|
+
__proto__: null,
|
|
6678
|
+
create: create$p,
|
|
6679
|
+
dispose: dispose$f,
|
|
6680
|
+
refresh: refresh$3,
|
|
6681
|
+
setTime
|
|
6660
6682
|
};
|
|
6661
6683
|
|
|
6662
6684
|
const applyUidWorkaround = element => {
|
|
@@ -6742,9 +6764,9 @@ const handlePointerDown$2 = event => {
|
|
|
6742
6764
|
const returnValue$7 = true;
|
|
6743
6765
|
|
|
6744
6766
|
const ViewletColorPickerEvents = {
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6767
|
+
__proto__: null,
|
|
6768
|
+
handlePointerDown: handlePointerDown$2,
|
|
6769
|
+
returnValue: returnValue$7
|
|
6748
6770
|
};
|
|
6749
6771
|
|
|
6750
6772
|
const setColor = (state, color) => {
|
|
@@ -6769,11 +6791,11 @@ const appendWidget$6 = state => {
|
|
|
6769
6791
|
};
|
|
6770
6792
|
|
|
6771
6793
|
const ViewletColorPicker = {
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6794
|
+
__proto__: null,
|
|
6795
|
+
Events: ViewletColorPickerEvents,
|
|
6796
|
+
appendWidget: appendWidget$6,
|
|
6797
|
+
setColor,
|
|
6798
|
+
setOffsetX
|
|
6777
6799
|
};
|
|
6778
6800
|
|
|
6779
6801
|
const handleInput$5 = event => {
|
|
@@ -6792,9 +6814,9 @@ const handleFocus$7 = event => {
|
|
|
6792
6814
|
};
|
|
6793
6815
|
|
|
6794
6816
|
const ViewletDebugConsoleEvents = {
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6817
|
+
__proto__: null,
|
|
6818
|
+
handleFocus: handleFocus$7,
|
|
6819
|
+
handleInput: handleInput$5
|
|
6798
6820
|
};
|
|
6799
6821
|
|
|
6800
6822
|
const create$n = () => {
|
|
@@ -6812,9 +6834,9 @@ const setDom$9 = (state, dom) => {
|
|
|
6812
6834
|
};
|
|
6813
6835
|
|
|
6814
6836
|
const ViewletDebugConsole = {
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6837
|
+
__proto__: null,
|
|
6838
|
+
create: create$n,
|
|
6839
|
+
setDom: setDom$9
|
|
6818
6840
|
};
|
|
6819
6841
|
|
|
6820
6842
|
const handleKeyDown$2 = event => {
|
|
@@ -6836,9 +6858,9 @@ const handleBlur$5 = event => {
|
|
|
6836
6858
|
};
|
|
6837
6859
|
|
|
6838
6860
|
const ViewletDefineKeyBindingEvents = {
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6861
|
+
__proto__: null,
|
|
6862
|
+
handleBlur: handleBlur$5,
|
|
6863
|
+
handleKeyDown: handleKeyDown$2
|
|
6842
6864
|
};
|
|
6843
6865
|
|
|
6844
6866
|
const setValue$2 = (state, value) => {
|
|
@@ -6859,10 +6881,10 @@ const focus$d = state => {
|
|
|
6859
6881
|
};
|
|
6860
6882
|
|
|
6861
6883
|
const ViewletDefineKeyBinding = {
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6884
|
+
__proto__: null,
|
|
6885
|
+
Events: ViewletDefineKeyBindingEvents,
|
|
6886
|
+
focus: focus$d,
|
|
6887
|
+
setValue: setValue$2
|
|
6866
6888
|
};
|
|
6867
6889
|
|
|
6868
6890
|
const handleClick$5 = index => {
|
|
@@ -6957,14 +6979,14 @@ const setErrorStack = (state, errorStack) => {
|
|
|
6957
6979
|
};
|
|
6958
6980
|
|
|
6959
6981
|
const ViewletDialog = {
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6982
|
+
__proto__: null,
|
|
6983
|
+
create: create$m,
|
|
6984
|
+
postAppend,
|
|
6985
|
+
setButtons,
|
|
6986
|
+
setCodeFrame,
|
|
6987
|
+
setErrorMessage,
|
|
6988
|
+
setErrorStack,
|
|
6989
|
+
setHeader
|
|
6968
6990
|
};
|
|
6969
6991
|
|
|
6970
6992
|
const handleWheel$2 = event => {
|
|
@@ -6981,9 +7003,9 @@ const handleScrollBarPointerDown$2 = event => {
|
|
|
6981
7003
|
};
|
|
6982
7004
|
|
|
6983
7005
|
const ViewletDiffEditorEvents = {
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
7006
|
+
__proto__: null,
|
|
7007
|
+
handleScrollBarPointerDown: handleScrollBarPointerDown$2,
|
|
7008
|
+
handleWheel: handleWheel$2
|
|
6987
7009
|
};
|
|
6988
7010
|
|
|
6989
7011
|
const setScrollBar = (state, scrollBarY, scrollBarHeight, scrollBarThumbClass) => {
|
|
@@ -6997,9 +7019,9 @@ const setScrollBar = (state, scrollBarY, scrollBarHeight, scrollBarThumbClass) =
|
|
|
6997
7019
|
};
|
|
6998
7020
|
|
|
6999
7021
|
const ViewletDiffEditor = {
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7022
|
+
__proto__: null,
|
|
7023
|
+
Events: ViewletDiffEditorEvents,
|
|
7024
|
+
setScrollBar
|
|
7003
7025
|
};
|
|
7004
7026
|
|
|
7005
7027
|
const handleClickAt$2 = event => {
|
|
@@ -7043,12 +7065,12 @@ const handleSashCornerPointerDown = create$o(event => {
|
|
|
7043
7065
|
const returnValue$6 = true;
|
|
7044
7066
|
|
|
7045
7067
|
const ViewletE2eTestEvents = {
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7068
|
+
__proto__: null,
|
|
7069
|
+
handleClickAt: handleClickAt$2,
|
|
7070
|
+
handleContextMenu: handleContextMenu$4,
|
|
7071
|
+
handleLoad: handleLoad$3,
|
|
7072
|
+
handleSashCornerPointerDown,
|
|
7073
|
+
returnValue: returnValue$6
|
|
7052
7074
|
};
|
|
7053
7075
|
|
|
7054
7076
|
// TODO could use browser view when running in electron
|
|
@@ -7093,10 +7115,10 @@ const setPreviewTransform = (state, transform) => {
|
|
|
7093
7115
|
// }
|
|
7094
7116
|
|
|
7095
7117
|
const ViewletE2eTest = {
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7118
|
+
__proto__: null,
|
|
7119
|
+
Events: ViewletE2eTestEvents,
|
|
7120
|
+
setIframe: setIframe$3,
|
|
7121
|
+
setPreviewTransform
|
|
7100
7122
|
};
|
|
7101
7123
|
|
|
7102
7124
|
const handleClickAt$1 = event => {
|
|
@@ -7121,11 +7143,11 @@ const handleContextMenu$3 = event => {
|
|
|
7121
7143
|
const returnValue$5 = true;
|
|
7122
7144
|
|
|
7123
7145
|
const ViewletE2eTestsEvents = {
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7146
|
+
__proto__: null,
|
|
7147
|
+
handleClickAt: handleClickAt$1,
|
|
7148
|
+
handleContextMenu: handleContextMenu$3,
|
|
7149
|
+
handleLoad: handleLoad$2,
|
|
7150
|
+
returnValue: returnValue$5
|
|
7129
7151
|
};
|
|
7130
7152
|
|
|
7131
7153
|
const sendToIframe = (contentWindow, message, origin, transfer) => {
|
|
@@ -7182,10 +7204,10 @@ const setPort$2 = (state, portId, origin) => {
|
|
|
7182
7204
|
};
|
|
7183
7205
|
|
|
7184
7206
|
const ViewletE2eTests = {
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7207
|
+
__proto__: null,
|
|
7208
|
+
Events: ViewletE2eTestsEvents,
|
|
7209
|
+
setIframe: setIframe$2,
|
|
7210
|
+
setPort: setPort$2
|
|
7189
7211
|
};
|
|
7190
7212
|
|
|
7191
7213
|
const Script = 2;
|
|
@@ -7202,9 +7224,9 @@ const handleBlur$4 = event => {
|
|
|
7202
7224
|
};
|
|
7203
7225
|
|
|
7204
7226
|
const ViewletEditorCodeGeneratorEvents = {
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7227
|
+
__proto__: null,
|
|
7228
|
+
handleBlur: handleBlur$4,
|
|
7229
|
+
handleFocusIn: handleFocusIn$3
|
|
7208
7230
|
};
|
|
7209
7231
|
|
|
7210
7232
|
const setBounds$9 = (state, x, y, width, height) => {
|
|
@@ -7243,12 +7265,12 @@ const focus$c = (state, key, source) => {
|
|
|
7243
7265
|
};
|
|
7244
7266
|
|
|
7245
7267
|
const ViewletEditorCodeGenerator = {
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7268
|
+
__proto__: null,
|
|
7269
|
+
Events: ViewletEditorCodeGeneratorEvents,
|
|
7270
|
+
appendWidget: appendWidget$5,
|
|
7271
|
+
dispose: dispose$e,
|
|
7272
|
+
focus: focus$c,
|
|
7273
|
+
setBounds: setBounds$9
|
|
7252
7274
|
};
|
|
7253
7275
|
|
|
7254
7276
|
const Passive = {
|
|
@@ -7446,18 +7468,18 @@ const setBounds$8 = (state, x, y, width, height) => {
|
|
|
7446
7468
|
};
|
|
7447
7469
|
|
|
7448
7470
|
const ViewletEditorCompletion = {
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7471
|
+
__proto__: null,
|
|
7472
|
+
attachEvents: attachEvents$6,
|
|
7473
|
+
create: create$l,
|
|
7474
|
+
dispose: dispose$d,
|
|
7475
|
+
handleError: handleError$5,
|
|
7476
|
+
setBounds: setBounds$8,
|
|
7477
|
+
setContentHeight,
|
|
7478
|
+
setDom: setDom$8,
|
|
7479
|
+
setNegativeMargin,
|
|
7480
|
+
setScrollBar,
|
|
7481
|
+
setSize,
|
|
7482
|
+
showLoading
|
|
7461
7483
|
};
|
|
7462
7484
|
|
|
7463
7485
|
const handleClose = () => {
|
|
@@ -7466,9 +7488,9 @@ const handleClose = () => {
|
|
|
7466
7488
|
const returnValue$4 = true;
|
|
7467
7489
|
|
|
7468
7490
|
const ViewletEditorCompletionDetailsEvents = {
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7491
|
+
__proto__: null,
|
|
7492
|
+
handleClose,
|
|
7493
|
+
returnValue: returnValue$4
|
|
7472
7494
|
};
|
|
7473
7495
|
|
|
7474
7496
|
const create$k = () => {
|
|
@@ -7508,14 +7530,14 @@ const setBounds$7 = (state, x, y, width, height) => {
|
|
|
7508
7530
|
};
|
|
7509
7531
|
|
|
7510
7532
|
const ViewletEditorCompletionDetails = {
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7533
|
+
__proto__: null,
|
|
7534
|
+
Events: ViewletEditorCompletionDetailsEvents,
|
|
7535
|
+
appendWidget: appendWidget$4,
|
|
7536
|
+
attachEvents: attachEvents$5,
|
|
7537
|
+
create: create$k,
|
|
7538
|
+
dispose: dispose$c,
|
|
7539
|
+
setBounds: setBounds$7,
|
|
7540
|
+
setDom: setDom$7
|
|
7519
7541
|
};
|
|
7520
7542
|
|
|
7521
7543
|
// TODO not sure whether created DOM node
|
|
@@ -7552,10 +7574,10 @@ const setBounds$6 = (state, x, y, width, height) => {
|
|
|
7552
7574
|
};
|
|
7553
7575
|
|
|
7554
7576
|
const ViewletEditorError = {
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7577
|
+
__proto__: null,
|
|
7578
|
+
create: create$j,
|
|
7579
|
+
setBounds: setBounds$6,
|
|
7580
|
+
setDom: setDom$6
|
|
7559
7581
|
};
|
|
7560
7582
|
|
|
7561
7583
|
const returnValue$3 = true;
|
|
@@ -7580,9 +7602,9 @@ const handleSashPointerDown$2 = create$o(event => {
|
|
|
7580
7602
|
});
|
|
7581
7603
|
|
|
7582
7604
|
const ViewletEditorHoverEvents = {
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7605
|
+
__proto__: null,
|
|
7606
|
+
handleSashPointerDown: handleSashPointerDown$2,
|
|
7607
|
+
returnValue: returnValue$3
|
|
7586
7608
|
};
|
|
7587
7609
|
|
|
7588
7610
|
const setBounds$5 = (state, x, y, width, height) => {
|
|
@@ -7606,11 +7628,11 @@ const setDom$5 = (state, dom) => {
|
|
|
7606
7628
|
};
|
|
7607
7629
|
|
|
7608
7630
|
const ViewletEditorHover = {
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7631
|
+
__proto__: null,
|
|
7632
|
+
Events: ViewletEditorHoverEvents,
|
|
7633
|
+
appendWidget: appendWidget$3,
|
|
7634
|
+
setBounds: setBounds$5,
|
|
7635
|
+
setDom: setDom$5
|
|
7614
7636
|
};
|
|
7615
7637
|
|
|
7616
7638
|
const LeftClick = 0;
|
|
@@ -7752,12 +7774,12 @@ const setDom$4 = (state, dom) => {
|
|
|
7752
7774
|
};
|
|
7753
7775
|
|
|
7754
7776
|
const ViewletEditorImage = {
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7777
|
+
__proto__: null,
|
|
7778
|
+
attachEvents: attachEvents$4,
|
|
7779
|
+
create: create$i,
|
|
7780
|
+
setDom: setDom$4,
|
|
7781
|
+
setDragging,
|
|
7782
|
+
setTransform
|
|
7761
7783
|
};
|
|
7762
7784
|
|
|
7763
7785
|
const create$h = () => {
|
|
@@ -7776,10 +7798,10 @@ const refresh$2 = (state, context) => {
|
|
|
7776
7798
|
};
|
|
7777
7799
|
|
|
7778
7800
|
const ViewletEditorPlainText = {
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7801
|
+
__proto__: null,
|
|
7802
|
+
create: create$h,
|
|
7803
|
+
dispose: dispose$b,
|
|
7804
|
+
refresh: refresh$2
|
|
7783
7805
|
};
|
|
7784
7806
|
|
|
7785
7807
|
const handleFocusIn$2 = event => {
|
|
@@ -7789,8 +7811,8 @@ const handleFocusIn$2 = event => {
|
|
|
7789
7811
|
};
|
|
7790
7812
|
|
|
7791
7813
|
const ViewletEditorSourceActionsEvents = {
|
|
7792
|
-
|
|
7793
|
-
|
|
7814
|
+
__proto__: null,
|
|
7815
|
+
handleFocusIn: handleFocusIn$2
|
|
7794
7816
|
};
|
|
7795
7817
|
|
|
7796
7818
|
const setBounds$4 = (state, x, y, width, height) => {
|
|
@@ -7811,11 +7833,11 @@ const dispose$a = state => {
|
|
|
7811
7833
|
};
|
|
7812
7834
|
|
|
7813
7835
|
const ViewletEditorSourceActions = {
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7836
|
+
__proto__: null,
|
|
7837
|
+
Events: ViewletEditorSourceActionsEvents,
|
|
7838
|
+
appendWidget: appendWidget$2,
|
|
7839
|
+
dispose: dispose$a,
|
|
7840
|
+
setBounds: setBounds$4
|
|
7819
7841
|
};
|
|
7820
7842
|
|
|
7821
7843
|
const create$g = () => {
|
|
@@ -7833,9 +7855,9 @@ const setMessage$3 = (state, message) => {
|
|
|
7833
7855
|
};
|
|
7834
7856
|
|
|
7835
7857
|
const ViewletEditorTextError = {
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7858
|
+
__proto__: null,
|
|
7859
|
+
create: create$g,
|
|
7860
|
+
setMessage: setMessage$3
|
|
7839
7861
|
};
|
|
7840
7862
|
|
|
7841
7863
|
const create$f = () => {
|
|
@@ -7860,10 +7882,10 @@ const setBounds$3 = (state, x, y, width, height) => {
|
|
|
7860
7882
|
};
|
|
7861
7883
|
|
|
7862
7884
|
const ViewletEditorWidgetError = {
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7885
|
+
__proto__: null,
|
|
7886
|
+
create: create$f,
|
|
7887
|
+
setBounds: setBounds$3,
|
|
7888
|
+
setMessage: setMessage$2
|
|
7867
7889
|
};
|
|
7868
7890
|
|
|
7869
7891
|
const create$e = () => {
|
|
@@ -7879,11 +7901,11 @@ const focus$b = state => {};
|
|
|
7879
7901
|
const dispose$9 = state => {};
|
|
7880
7902
|
|
|
7881
7903
|
const ViewletEmpty = {
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7904
|
+
__proto__: null,
|
|
7905
|
+
create: create$e,
|
|
7906
|
+
dispose: dispose$9,
|
|
7907
|
+
focus: focus$b,
|
|
7908
|
+
refresh: refresh$1
|
|
7887
7909
|
};
|
|
7888
7910
|
|
|
7889
7911
|
const create$d = () => {
|
|
@@ -7895,8 +7917,8 @@ const create$d = () => {
|
|
|
7895
7917
|
};
|
|
7896
7918
|
|
|
7897
7919
|
const ViewletEmptyEditor = {
|
|
7898
|
-
|
|
7899
|
-
|
|
7920
|
+
__proto__: null,
|
|
7921
|
+
create: create$d
|
|
7900
7922
|
};
|
|
7901
7923
|
|
|
7902
7924
|
const create$c = () => {
|
|
@@ -7914,16 +7936,16 @@ const setMessage$1 = (state, message) => {
|
|
|
7914
7936
|
};
|
|
7915
7937
|
|
|
7916
7938
|
const ViewletError = {
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7939
|
+
__proto__: null,
|
|
7940
|
+
create: create$c,
|
|
7941
|
+
setMessage: setMessage$1
|
|
7920
7942
|
};
|
|
7921
7943
|
|
|
7922
7944
|
const commandMap$1 = {};
|
|
7923
7945
|
|
|
7924
7946
|
const ViewletExtensionViewEvents = {
|
|
7925
|
-
|
|
7926
|
-
|
|
7947
|
+
__proto__: null,
|
|
7948
|
+
commandMap: commandMap$1
|
|
7927
7949
|
};
|
|
7928
7950
|
|
|
7929
7951
|
const setIframeCredentialless = ($Iframe, credentialless) => {
|
|
@@ -7977,10 +7999,10 @@ const setIframe$1 = (state, src, sandbox = [], srcDoc = '', csp = '', credential
|
|
|
7977
7999
|
};
|
|
7978
8000
|
|
|
7979
8001
|
const ViewletExtensionView = {
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
8002
|
+
__proto__: null,
|
|
8003
|
+
Events: ViewletExtensionViewEvents,
|
|
8004
|
+
focus: focus$a,
|
|
8005
|
+
setIframe: setIframe$1
|
|
7984
8006
|
};
|
|
7985
8007
|
|
|
7986
8008
|
const handleInput$4 = event => {
|
|
@@ -8052,24 +8074,24 @@ const handleFocusReplaceAll = event => {
|
|
|
8052
8074
|
const returnValue$2 = true;
|
|
8053
8075
|
|
|
8054
8076
|
const ViewletFindWidgetEvents = {
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8077
|
+
__proto__: null,
|
|
8078
|
+
handleClickClose: handleClickClose$1,
|
|
8079
|
+
handleClickNextMatch,
|
|
8080
|
+
handleClickPreviousMatch,
|
|
8081
|
+
handleClickReplace,
|
|
8082
|
+
handleClickReplaceAll,
|
|
8083
|
+
handleClickToggleReplace,
|
|
8084
|
+
handleFocus: handleFocus$5,
|
|
8085
|
+
handleFocusClose,
|
|
8086
|
+
handleFocusNext,
|
|
8087
|
+
handleFocusPrevious,
|
|
8088
|
+
handleFocusReplaceAll,
|
|
8089
|
+
handleInput: handleInput$4,
|
|
8090
|
+
handleInputBlur,
|
|
8091
|
+
handleReplaceFocus,
|
|
8092
|
+
handleReplaceInput,
|
|
8093
|
+
handleToggleReplaceFocus,
|
|
8094
|
+
returnValue: returnValue$2
|
|
8073
8095
|
};
|
|
8074
8096
|
|
|
8075
8097
|
const create$b = () => {
|
|
@@ -8132,15 +8154,15 @@ const dispose$8 = state => {
|
|
|
8132
8154
|
const Events$4 = ViewletFindWidgetEvents;
|
|
8133
8155
|
|
|
8134
8156
|
const ViewletFindWidget = {
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8157
|
+
__proto__: null,
|
|
8158
|
+
Events: Events$4,
|
|
8159
|
+
appendWidget: appendWidget$1,
|
|
8160
|
+
create: create$b,
|
|
8161
|
+
dispose: dispose$8,
|
|
8162
|
+
focus: focus$9,
|
|
8163
|
+
setBounds: setBounds$2,
|
|
8164
|
+
setDom: setDom$3,
|
|
8165
|
+
setValue: setValue$1
|
|
8144
8166
|
};
|
|
8145
8167
|
|
|
8146
8168
|
const handleLocationsMouseDown = event => {
|
|
@@ -8157,8 +8179,8 @@ const handleLocationsMouseDown = event => {
|
|
|
8157
8179
|
};
|
|
8158
8180
|
|
|
8159
8181
|
const ViewletLocationsEvents = {
|
|
8160
|
-
|
|
8161
|
-
|
|
8182
|
+
__proto__: null,
|
|
8183
|
+
handleLocationsMouseDown
|
|
8162
8184
|
};
|
|
8163
8185
|
|
|
8164
8186
|
const setFocusedIndex$1 = (state, oldFocusedIndex, newFocusedIndex) => {
|
|
@@ -8194,11 +8216,11 @@ const focus$8 = state => {
|
|
|
8194
8216
|
};
|
|
8195
8217
|
|
|
8196
8218
|
const ViewletImplementations = {
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8219
|
+
__proto__: null,
|
|
8220
|
+
Events: ViewletLocationsEvents,
|
|
8221
|
+
focus: focus$8,
|
|
8222
|
+
handleError: handleError$3,
|
|
8223
|
+
setFocusedIndex: setFocusedIndex$1
|
|
8202
8224
|
};
|
|
8203
8225
|
|
|
8204
8226
|
const handleScrollBarPointerDown = event => {
|
|
@@ -8206,15 +8228,15 @@ const handleScrollBarPointerDown = event => {
|
|
|
8206
8228
|
};
|
|
8207
8229
|
|
|
8208
8230
|
const ViewletInlineDiffEditorEvents = {
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8231
|
+
__proto__: null,
|
|
8232
|
+
handleScrollBarPointerDown,
|
|
8233
|
+
handleWheel: handleWheel$2
|
|
8212
8234
|
};
|
|
8213
8235
|
|
|
8214
8236
|
const ViewletInlineDiffEditor = {
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8237
|
+
__proto__: null,
|
|
8238
|
+
Events: ViewletInlineDiffEditorEvents,
|
|
8239
|
+
setScrollBar
|
|
8218
8240
|
};
|
|
8219
8241
|
|
|
8220
8242
|
const handleResizerPointerMove = event => {
|
|
@@ -8264,11 +8286,11 @@ const handlePointerDown = event => {
|
|
|
8264
8286
|
};
|
|
8265
8287
|
|
|
8266
8288
|
const ViewletkeyBindingsEvents = {
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8289
|
+
__proto__: null,
|
|
8290
|
+
handlePointerDown,
|
|
8291
|
+
handleResizerPointerDown,
|
|
8292
|
+
handleResizerPointerMove,
|
|
8293
|
+
handleResizerPointerUp
|
|
8272
8294
|
};
|
|
8273
8295
|
|
|
8274
8296
|
const setValue = (state, value) => {
|
|
@@ -8292,12 +8314,12 @@ const setColumnWidths = (state, columnWidth1, columnWidth2, columnWidth3) => {
|
|
|
8292
8314
|
const Events$3 = ViewletkeyBindingsEvents;
|
|
8293
8315
|
|
|
8294
8316
|
const ViewletKeyBindings = {
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8317
|
+
__proto__: null,
|
|
8318
|
+
Events: Events$3,
|
|
8319
|
+
setColumnWidths,
|
|
8320
|
+
setScrollBar,
|
|
8321
|
+
setSize,
|
|
8322
|
+
setValue
|
|
8301
8323
|
};
|
|
8302
8324
|
|
|
8303
8325
|
const getSashId = $Target => {
|
|
@@ -8516,10 +8538,10 @@ const setSashes = (state, sashSidebar, sashPanel) => {
|
|
|
8516
8538
|
};
|
|
8517
8539
|
|
|
8518
8540
|
const ViewletLayout = {
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8541
|
+
__proto__: null,
|
|
8542
|
+
attachEvents: attachEvents$3,
|
|
8543
|
+
create: create$a,
|
|
8544
|
+
setSashes
|
|
8523
8545
|
};
|
|
8524
8546
|
|
|
8525
8547
|
const ActivityBar = 'ActivityBar';
|
|
@@ -8624,15 +8646,15 @@ const disposeFindWidget = state => {
|
|
|
8624
8646
|
const dispose$7 = state => {};
|
|
8625
8647
|
|
|
8626
8648
|
const ViewletOutput = {
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8649
|
+
__proto__: null,
|
|
8650
|
+
clear: clear$1,
|
|
8651
|
+
create: create$9,
|
|
8652
|
+
dispose: dispose$7,
|
|
8653
|
+
disposeFindWidget,
|
|
8654
|
+
focus: focus$7,
|
|
8655
|
+
handleError: handleError$2,
|
|
8656
|
+
openFindWidget,
|
|
8657
|
+
setText
|
|
8636
8658
|
};
|
|
8637
8659
|
|
|
8638
8660
|
const handleClickClose = event => {
|
|
@@ -8794,26 +8816,26 @@ const setActionsDom$1 = (state, actions, childUid) => {
|
|
|
8794
8816
|
};
|
|
8795
8817
|
|
|
8796
8818
|
const ViewletPanel = {
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8819
|
+
__proto__: null,
|
|
8820
|
+
attachEvents: attachEvents$2,
|
|
8821
|
+
create: create$8,
|
|
8822
|
+
dispose: dispose$6,
|
|
8823
|
+
focus: focus$6,
|
|
8824
|
+
setActionsDom: setActionsDom$1,
|
|
8825
|
+
setSelectedIndex,
|
|
8826
|
+
setTabsDom: setTabsDom$1
|
|
8805
8827
|
};
|
|
8806
8828
|
|
|
8807
8829
|
const ViewletReferences = {
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8830
|
+
__proto__: null,
|
|
8831
|
+
Events: ViewletLocationsEvents,
|
|
8832
|
+
focus: focus$8,
|
|
8833
|
+
handleError: handleError$3,
|
|
8834
|
+
setFocusedIndex: setFocusedIndex$1
|
|
8813
8835
|
};
|
|
8814
8836
|
|
|
8815
8837
|
const ViewletRunAndDebug = {
|
|
8816
|
-
|
|
8838
|
+
__proto__: null
|
|
8817
8839
|
};
|
|
8818
8840
|
|
|
8819
8841
|
const handleLoadedMetadata = event => {
|
|
@@ -8843,9 +8865,9 @@ const setScreenCapture = (state, id) => {
|
|
|
8843
8865
|
};
|
|
8844
8866
|
|
|
8845
8867
|
const ViewletScreenCapture = {
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8868
|
+
__proto__: null,
|
|
8869
|
+
create: create$7,
|
|
8870
|
+
setScreenCapture
|
|
8849
8871
|
};
|
|
8850
8872
|
|
|
8851
8873
|
const Sidebar = 'Side Bar';
|
|
@@ -8930,13 +8952,13 @@ const focus$5 = async () => {
|
|
|
8930
8952
|
};
|
|
8931
8953
|
|
|
8932
8954
|
const ViewletSidebar = {
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8955
|
+
__proto__: null,
|
|
8956
|
+
attachEvents: attachEvents$1,
|
|
8957
|
+
create: create$6,
|
|
8958
|
+
dispose: dispose$5,
|
|
8959
|
+
focus: focus$5,
|
|
8960
|
+
setActionsDom,
|
|
8961
|
+
setTitle
|
|
8940
8962
|
};
|
|
8941
8963
|
|
|
8942
8964
|
const pendingSelections = new WeakMap();
|
|
@@ -9105,24 +9127,24 @@ const handleClickOpenExternal = () => {
|
|
|
9105
9127
|
};
|
|
9106
9128
|
|
|
9107
9129
|
const ViewletSimpleBrowserEvents = {
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9130
|
+
__proto__: null,
|
|
9131
|
+
handleBlur: handleBlur$1,
|
|
9132
|
+
handleClickBackward,
|
|
9133
|
+
handleClickForward,
|
|
9134
|
+
handleClickOpenExternal,
|
|
9135
|
+
handleClickReload,
|
|
9136
|
+
handleClickSuggestion,
|
|
9137
|
+
handleFocus: handleFocus$1,
|
|
9138
|
+
handleInput: handleInput$2
|
|
9117
9139
|
};
|
|
9118
9140
|
|
|
9119
9141
|
const ViewletSimpleBrowser = {
|
|
9120
|
-
|
|
9121
|
-
|
|
9142
|
+
__proto__: null,
|
|
9143
|
+
Events: ViewletSimpleBrowserEvents
|
|
9122
9144
|
};
|
|
9123
9145
|
|
|
9124
9146
|
const ViewletSimpleBrowserHistory = {
|
|
9125
|
-
|
|
9147
|
+
__proto__: null
|
|
9126
9148
|
};
|
|
9127
9149
|
|
|
9128
9150
|
const handleContextMenu$1 = event => {
|
|
@@ -9210,14 +9232,14 @@ const handleInput$1 = event => {
|
|
|
9210
9232
|
};
|
|
9211
9233
|
|
|
9212
9234
|
const ViewletSourceControlEvents = {
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9235
|
+
__proto__: null,
|
|
9236
|
+
handleClick: handleClick$3,
|
|
9237
|
+
handleContextMenu: handleContextMenu$1,
|
|
9238
|
+
handleFocus,
|
|
9239
|
+
handleInput: handleInput$1,
|
|
9240
|
+
handleMouseOut,
|
|
9241
|
+
handleMouseOver,
|
|
9242
|
+
handleWheel: handleWheel$2
|
|
9221
9243
|
};
|
|
9222
9244
|
|
|
9223
9245
|
const focus$4 = state => {
|
|
@@ -9228,9 +9250,9 @@ const focus$4 = state => {
|
|
|
9228
9250
|
};
|
|
9229
9251
|
|
|
9230
9252
|
const ViewletSourceControl = {
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9253
|
+
__proto__: null,
|
|
9254
|
+
Events: ViewletSourceControlEvents,
|
|
9255
|
+
focus: focus$4
|
|
9234
9256
|
};
|
|
9235
9257
|
|
|
9236
9258
|
const handleClick$2 = event => {
|
|
@@ -9243,8 +9265,8 @@ const handleClick$2 = event => {
|
|
|
9243
9265
|
};
|
|
9244
9266
|
|
|
9245
9267
|
const ViewletStatusBarEvents = {
|
|
9246
|
-
|
|
9247
|
-
|
|
9268
|
+
__proto__: null,
|
|
9269
|
+
handleClick: handleClick$2
|
|
9248
9270
|
};
|
|
9249
9271
|
|
|
9250
9272
|
const create$5 = () => {
|
|
@@ -9275,10 +9297,10 @@ const focus$3 = state => {
|
|
|
9275
9297
|
};
|
|
9276
9298
|
|
|
9277
9299
|
const ViewletStatusBar = {
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9300
|
+
__proto__: null,
|
|
9301
|
+
create: create$5,
|
|
9302
|
+
focus: focus$3,
|
|
9303
|
+
setDom: setDom$2
|
|
9282
9304
|
};
|
|
9283
9305
|
|
|
9284
9306
|
const handleClick$1 = event => {
|
|
@@ -9287,15 +9309,15 @@ const handleClick$1 = event => {
|
|
|
9287
9309
|
};
|
|
9288
9310
|
|
|
9289
9311
|
const ViewletStorageEvents = {
|
|
9290
|
-
|
|
9291
|
-
|
|
9312
|
+
__proto__: null,
|
|
9313
|
+
handleClick: handleClick$1
|
|
9292
9314
|
};
|
|
9293
9315
|
|
|
9294
9316
|
const Events$2 = ViewletStorageEvents;
|
|
9295
9317
|
|
|
9296
9318
|
const ViewletStorage = {
|
|
9297
|
-
|
|
9298
|
-
|
|
9319
|
+
__proto__: null,
|
|
9320
|
+
Events: Events$2
|
|
9299
9321
|
};
|
|
9300
9322
|
|
|
9301
9323
|
const handleClickTab = event => {
|
|
@@ -9328,9 +9350,9 @@ const handleMouseDown$1 = event => {
|
|
|
9328
9350
|
};
|
|
9329
9351
|
|
|
9330
9352
|
const ViewletTerminalsEvents = {
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9353
|
+
__proto__: null,
|
|
9354
|
+
handleClickTab,
|
|
9355
|
+
handleMouseDown: handleMouseDown$1
|
|
9334
9356
|
};
|
|
9335
9357
|
|
|
9336
9358
|
const Events$1 = ViewletTerminalsEvents;
|
|
@@ -9360,10 +9382,10 @@ const setTabsDom = (state, dom) => {
|
|
|
9360
9382
|
};
|
|
9361
9383
|
|
|
9362
9384
|
const ViewletTerminals = {
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9385
|
+
__proto__: null,
|
|
9386
|
+
Events: Events$1,
|
|
9387
|
+
create: create$4,
|
|
9388
|
+
setTabsDom
|
|
9367
9389
|
};
|
|
9368
9390
|
|
|
9369
9391
|
const isInsideTitleBarMenu$1 = $Element => {
|
|
@@ -9460,14 +9482,14 @@ const handleFocusIn$1 = event => {
|
|
|
9460
9482
|
};
|
|
9461
9483
|
|
|
9462
9484
|
const ViewletTitleBarMenuBarEvents = {
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9485
|
+
__proto__: null,
|
|
9486
|
+
handleClick,
|
|
9487
|
+
handleFocusIn: handleFocusIn$1,
|
|
9488
|
+
handleFocusOut,
|
|
9489
|
+
handleMenuClick,
|
|
9490
|
+
handleMenuMouseOver,
|
|
9491
|
+
handlePointerOut,
|
|
9492
|
+
handlePointerOver
|
|
9471
9493
|
};
|
|
9472
9494
|
|
|
9473
9495
|
const activeId = 'TitleBarEntryActive';
|
|
@@ -9744,14 +9766,14 @@ const setMenus = (state, changes, uid) => {
|
|
|
9744
9766
|
};
|
|
9745
9767
|
|
|
9746
9768
|
const ViewletTitleBarMenuBar = {
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9769
|
+
__proto__: null,
|
|
9770
|
+
Events: ViewletTitleBarMenuBarEvents,
|
|
9771
|
+
closeMenu,
|
|
9772
|
+
dispose: dispose$4,
|
|
9773
|
+
focus: focus$2,
|
|
9774
|
+
openMenu,
|
|
9775
|
+
setFocusedIndex,
|
|
9776
|
+
setMenus
|
|
9755
9777
|
};
|
|
9756
9778
|
|
|
9757
9779
|
const activeClassName = 'TitleBarActive';
|
|
@@ -9763,15 +9785,15 @@ const setFocused = (state, isFocused) => {
|
|
|
9763
9785
|
};
|
|
9764
9786
|
|
|
9765
9787
|
const ViewletTitleBar = {
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9788
|
+
__proto__: null,
|
|
9789
|
+
Events: ViewletTitleBarMenuBarEvents,
|
|
9790
|
+
closeMenu,
|
|
9791
|
+
dispose: dispose$4,
|
|
9792
|
+
focus: focus$2,
|
|
9793
|
+
openMenu,
|
|
9794
|
+
setFocused,
|
|
9795
|
+
setFocusedIndex,
|
|
9796
|
+
setMenus
|
|
9775
9797
|
};
|
|
9776
9798
|
|
|
9777
9799
|
/**
|
|
@@ -9787,21 +9809,21 @@ const handleTitleBarButtonsClick = event => {
|
|
|
9787
9809
|
const returnValue$1 = true;
|
|
9788
9810
|
|
|
9789
9811
|
const ViewletTitleBarButtonsEvents = {
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9812
|
+
__proto__: null,
|
|
9813
|
+
handleTitleBarButtonsClick,
|
|
9814
|
+
returnValue: returnValue$1
|
|
9793
9815
|
};
|
|
9794
9816
|
|
|
9795
9817
|
const ViewletTitleBarButtons = {
|
|
9796
|
-
|
|
9797
|
-
|
|
9818
|
+
__proto__: null,
|
|
9819
|
+
Events: ViewletTitleBarButtonsEvents
|
|
9798
9820
|
};
|
|
9799
9821
|
|
|
9800
9822
|
const Events = {};
|
|
9801
9823
|
|
|
9802
9824
|
const ViewletTitleBarIcon = {
|
|
9803
|
-
|
|
9804
|
-
|
|
9825
|
+
__proto__: null,
|
|
9826
|
+
Events
|
|
9805
9827
|
};
|
|
9806
9828
|
|
|
9807
9829
|
const create$3 = () => {
|
|
@@ -9819,9 +9841,9 @@ const setDom$1 = (state, dom) => {
|
|
|
9819
9841
|
};
|
|
9820
9842
|
|
|
9821
9843
|
const ViewletTitleBarTitle = {
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9844
|
+
__proto__: null,
|
|
9845
|
+
create: create$3,
|
|
9846
|
+
setDom: setDom$1
|
|
9825
9847
|
};
|
|
9826
9848
|
|
|
9827
9849
|
const handleVideoError$1 = (code, message) => {
|
|
@@ -9843,13 +9865,13 @@ const handleVideoError = event => {
|
|
|
9843
9865
|
};
|
|
9844
9866
|
|
|
9845
9867
|
const ViewletVideoEvents = {
|
|
9846
|
-
|
|
9847
|
-
|
|
9868
|
+
__proto__: null,
|
|
9869
|
+
handleVideoError
|
|
9848
9870
|
};
|
|
9849
9871
|
|
|
9850
9872
|
const ViewletVideo = {
|
|
9851
|
-
|
|
9852
|
-
|
|
9873
|
+
__proto__: null,
|
|
9874
|
+
Events: ViewletVideoEvents
|
|
9853
9875
|
};
|
|
9854
9876
|
|
|
9855
9877
|
const handleClickAt = event => {
|
|
@@ -9874,11 +9896,11 @@ const handleContextMenu = event => {
|
|
|
9874
9896
|
const returnValue = true;
|
|
9875
9897
|
|
|
9876
9898
|
const ViewletWebViewEvents = {
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9899
|
+
__proto__: null,
|
|
9900
|
+
handleClickAt,
|
|
9901
|
+
handleContextMenu,
|
|
9902
|
+
handleLoad,
|
|
9903
|
+
returnValue
|
|
9882
9904
|
};
|
|
9883
9905
|
|
|
9884
9906
|
// TODO could use browser view when running in electron
|
|
@@ -9934,11 +9956,11 @@ const setPosition = (state, id, x, y, width, height) => {
|
|
|
9934
9956
|
};
|
|
9935
9957
|
|
|
9936
9958
|
const ViewletWebView = {
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9959
|
+
__proto__: null,
|
|
9960
|
+
Events: ViewletWebViewEvents,
|
|
9961
|
+
setIframe,
|
|
9962
|
+
setPort: setPort$1,
|
|
9963
|
+
setPosition
|
|
9942
9964
|
};
|
|
9943
9965
|
|
|
9944
9966
|
const moduleLoaders = {
|
|
@@ -11762,10 +11784,10 @@ const handleInput = event => {
|
|
|
11762
11784
|
};
|
|
11763
11785
|
|
|
11764
11786
|
const ViewletEditorRenameEvents = {
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11787
|
+
__proto__: null,
|
|
11788
|
+
handleBlur,
|
|
11789
|
+
handleFocusIn,
|
|
11790
|
+
handleInput
|
|
11769
11791
|
};
|
|
11770
11792
|
|
|
11771
11793
|
const setBounds = (state, x, y, width, height) => {
|
|
@@ -11786,11 +11808,11 @@ const dispose$1 = state => {
|
|
|
11786
11808
|
};
|
|
11787
11809
|
|
|
11788
11810
|
const ViewletEditorRename = {
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11811
|
+
__proto__: null,
|
|
11812
|
+
Events: ViewletEditorRenameEvents,
|
|
11813
|
+
appendWidget,
|
|
11814
|
+
dispose: dispose$1,
|
|
11815
|
+
setBounds
|
|
11794
11816
|
};
|
|
11795
11817
|
|
|
11796
11818
|
const handleContentSecurityPolicyViolation = event => {
|
|
@@ -12022,14 +12044,14 @@ const dispose = state => {
|
|
|
12022
12044
|
};
|
|
12023
12045
|
|
|
12024
12046
|
const ViewletTerminal2 = {
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12047
|
+
__proto__: null,
|
|
12048
|
+
attachEvents,
|
|
12049
|
+
create,
|
|
12050
|
+
dispose,
|
|
12051
|
+
focus,
|
|
12052
|
+
handleMouseDown,
|
|
12053
|
+
setTerminal,
|
|
12054
|
+
write
|
|
12033
12055
|
};
|
|
12034
12056
|
|
|
12035
12057
|
// based on https://github.com/microsoft/vscode/blob/5f87632829dc3ac80203e2377727935184399431/src/vs/base/browser/ui/aria/aria.ts (License MIT)
|
|
@@ -12105,8 +12127,8 @@ const alert$1 = message => {
|
|
|
12105
12127
|
};
|
|
12106
12128
|
|
|
12107
12129
|
const AriaAlert = {
|
|
12108
|
-
|
|
12109
|
-
|
|
12130
|
+
__proto__: null,
|
|
12131
|
+
alert: alert$1
|
|
12110
12132
|
};
|
|
12111
12133
|
|
|
12112
12134
|
export { invoke$1 as executeCommand, ready };
|