@meridianlabs/inspect-scout-viewer 0.4.39 → 0.4.40
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/lib/{AsciinemaPlayerImpl-6ZAkt1g5.js → AsciinemaPlayerImpl-CsvrGGFj.js} +22 -22
- package/lib/{AsciinemaPlayerImpl-6ZAkt1g5.js.map → AsciinemaPlayerImpl-CsvrGGFj.js.map} +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +23728 -22835
- package/lib/index.js.map +1 -1
- package/lib/src/app/components/ScoreValue.d.ts +1 -1
- package/lib/src/app/hooks/useEnsureVisibleScannerResults.d.ts +16 -0
- package/lib/src/app/server/useSearches.d.ts +2 -2
- package/lib/src/app/transcript/SearchPanel.d.ts +1 -1
- package/lib/src/app/transcript/hooks/useTranscriptColumnFilter.d.ts +1 -1
- package/lib/src/debugging/navigationDebugging.d.ts +1 -1
- package/lib/src/icons.d.ts +0 -1
- package/lib/src/main.d.ts +1 -0
- package/lib/src/router/url.d.ts +0 -2
- package/lib/src/state/userSettings.d.ts +4 -2
- package/lib/src/theme/ThemeToggleControl.d.ts +7 -0
- package/lib/src/theme/bootstrap.d.ts +0 -5
- package/lib/src/theme/constants.d.ts +1 -0
- package/lib/src/types/generated.d.ts +62 -5
- package/lib/styles/index.css +3687 -304
- package/package.json +21 -24
- package/lib/src/app/settings/SettingsPanel.d.ts +0 -2
- package/lib/src/theme/resolveTheme.d.ts +0 -19
|
@@ -488,7 +488,7 @@ async function __wbg_init(module_or_path) {
|
|
|
488
488
|
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
489
489
|
return __wbg_finalize_init(instance, module);
|
|
490
490
|
}
|
|
491
|
-
var exports =
|
|
491
|
+
var exports = /*#__PURE__*/ Object.freeze({
|
|
492
492
|
__proto__: null,
|
|
493
493
|
Vt,
|
|
494
494
|
create: create$1,
|
|
@@ -2973,7 +2973,7 @@ function startTransition$1(fn) {
|
|
|
2973
2973
|
Listener = Owner = null;
|
|
2974
2974
|
});
|
|
2975
2975
|
}
|
|
2976
|
-
var [transPending, setTransPending] =
|
|
2976
|
+
var [transPending, setTransPending] = /*@__PURE__*/ createSignal(false);
|
|
2977
2977
|
function useTransition() {
|
|
2978
2978
|
return [transPending, startTransition$1];
|
|
2979
2979
|
}
|
|
@@ -3995,7 +3995,7 @@ var Transition = (props) => {
|
|
|
3995
3995
|
}
|
|
3996
3996
|
});
|
|
3997
3997
|
};
|
|
3998
|
-
var _tmpl$$e =
|
|
3998
|
+
var _tmpl$$e = /*#__PURE__*/ template(`<div class="ap-term"><canvas></canvas><svg class="ap-term-symbols" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" width="100%" height="100%" aria-hidden="true"><defs></defs><g></g></svg><pre class="ap-term-text" aria-live="off" tabindex="0"></pre></div>`, 12);
|
|
3999
3999
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
4000
4000
|
var BLOCK_H_RES = 8;
|
|
4001
4001
|
var BLOCK_V_RES = 24;
|
|
@@ -4837,12 +4837,12 @@ function getVectorSymbolDef(codepoint) {
|
|
|
4837
4837
|
const halfVerticalGap = verticalGap / 2;
|
|
4838
4838
|
const toViewBoxY = (offset) => .5 + offset * CELL_RATIO;
|
|
4839
4839
|
const leftX1 = .5 - halfHorizontalGap;
|
|
4840
|
-
const rightX0 = .
|
|
4840
|
+
const rightX0 = .575;
|
|
4841
4841
|
const rightX1 = 1.02;
|
|
4842
|
-
const topY0 = toViewBoxY(
|
|
4843
|
-
const topY1 = toViewBoxY(
|
|
4842
|
+
const topY0 = toViewBoxY(-.1 - lineHeight);
|
|
4843
|
+
const topY1 = toViewBoxY(-.1);
|
|
4844
4844
|
const bottomY0 = toViewBoxY(halfVerticalGap);
|
|
4845
|
-
const bottomY1 = toViewBoxY(
|
|
4845
|
+
const bottomY1 = toViewBoxY(.27);
|
|
4846
4846
|
const rect = (x0, x1, y0, y1) => `M${x0},${y0} L${x1},${y0} L${x1},${y1} L${x0},${y1} Z`;
|
|
4847
4847
|
return `<path d="${rect(0, leftX1, topY0, topY1)} ${rect(rightX0, rightX1, topY0, topY1)} ${rect(0, leftX1, bottomY0, bottomY1)} ${rect(rightX0, rightX1, bottomY0, bottomY1)}" fill="currentColor"/>`;
|
|
4848
4848
|
}
|
|
@@ -4931,35 +4931,35 @@ var FALLBACK_THEME = {
|
|
|
4931
4931
|
"#000000"
|
|
4932
4932
|
]
|
|
4933
4933
|
};
|
|
4934
|
-
var _tmpl$$d =
|
|
4934
|
+
var _tmpl$$d = /*#__PURE__*/ template(`<svg version="1.1" viewBox="0 0 12 12" class="ap-icon ap-icon-fullscreen-off"><path d="M7,5 L7,0 L9,2 L11,0 L12,1 L10,3 L12,5 Z"></path><path d="M5,7 L0,7 L2,9 L0,11 L1,12 L3,10 L5,12 Z"></path></svg>`, 6);
|
|
4935
4935
|
var ExpandIcon = ((props) => {
|
|
4936
4936
|
return _tmpl$$d.cloneNode(true);
|
|
4937
4937
|
});
|
|
4938
|
-
var _tmpl$$c =
|
|
4938
|
+
var _tmpl$$c = /*#__PURE__*/ template(`<svg version="1.1" viewBox="6 8 14 16" class="ap-icon"><path d="M0.938 8.313h22.125c0.5 0 0.938 0.438 0.938 0.938v13.5c0 0.5-0.438 0.938-0.938 0.938h-22.125c-0.5 0-0.938-0.438-0.938-0.938v-13.5c0-0.5 0.438-0.938 0.938-0.938zM1.594 22.063h20.813v-12.156h-20.813v12.156zM3.844 11.188h1.906v1.938h-1.906v-1.938zM7.469 11.188h1.906v1.938h-1.906v-1.938zM11.031 11.188h1.938v1.938h-1.938v-1.938zM14.656 11.188h1.875v1.938h-1.875v-1.938zM18.25 11.188h1.906v1.938h-1.906v-1.938zM5.656 15.031h1.938v1.938h-1.938v-1.938zM9.281 16.969v-1.938h1.906v1.938h-1.906zM12.875 16.969v-1.938h1.906v1.938h-1.906zM18.406 16.969h-1.938v-1.938h1.938v1.938zM16.531 20.781h-9.063v-1.906h9.063v1.906z"></path></svg>`, 4);
|
|
4939
4939
|
var KeyboardIcon = ((props) => {
|
|
4940
4940
|
return _tmpl$$c.cloneNode(true);
|
|
4941
4941
|
});
|
|
4942
|
-
var _tmpl$$b =
|
|
4942
|
+
var _tmpl$$b = /*#__PURE__*/ template(`<svg version="1.1" viewBox="0 0 12 12" class="ap-icon" aria-label="Pause" role="button"><path d="M1,0 L4,0 L4,12 L1,12 Z"></path><path d="M8,0 L11,0 L11,12 L8,12 Z"></path></svg>`, 6);
|
|
4943
4943
|
var PauseIcon = ((props) => {
|
|
4944
4944
|
return _tmpl$$b.cloneNode(true);
|
|
4945
4945
|
});
|
|
4946
|
-
var _tmpl$$a =
|
|
4946
|
+
var _tmpl$$a = /*#__PURE__*/ template(`<svg version="1.1" viewBox="0 0 12 12" class="ap-icon" aria-label="Play" role="button"><path d="M1,0 L11,6 L1,12 Z"></path></svg>`, 4);
|
|
4947
4947
|
var PlayIcon = ((props) => {
|
|
4948
4948
|
return _tmpl$$a.cloneNode(true);
|
|
4949
4949
|
});
|
|
4950
|
-
var _tmpl$$9 =
|
|
4950
|
+
var _tmpl$$9 = /*#__PURE__*/ template(`<svg version="1.1" viewBox="0 0 12 12" class="ap-icon ap-icon-fullscreen-on"><path d="M12,0 L7,0 L9,2 L7,4 L8,5 L10,3 L12,5 Z"></path><path d="M0,12 L0,7 L2,9 L4,7 L5,8 L3,10 L5,12 Z"></path></svg>`, 6);
|
|
4951
4951
|
var ShrinkIcon = ((props) => {
|
|
4952
4952
|
return _tmpl$$9.cloneNode(true);
|
|
4953
4953
|
});
|
|
4954
|
-
var _tmpl$$8 =
|
|
4954
|
+
var _tmpl$$8 = /*#__PURE__*/ template(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path d="M10.5 3.75a.75.75 0 0 0-1.264-.546L5.203 7H2.667a.75.75 0 0 0-.7.48A6.985 6.985 0 0 0 1.5 10c0 .887.165 1.737.468 2.52.111.29.39.48.7.48h2.535l4.033 3.796a.75.75 0 0 0 1.264-.546V3.75ZM16.45 5.05a.75.75 0 0 0-1.06 1.061 5.5 5.5 0 0 1 0 7.778.75.75 0 0 0 1.06 1.06 7 7 0 0 0 0-9.899Z"></path><path d="M14.329 7.172a.75.75 0 0 0-1.061 1.06 2.5 2.5 0 0 1 0 3.536.75.75 0 0 0 1.06 1.06 4 4 0 0 0 0-5.656Z"></path></svg>`, 6);
|
|
4955
4955
|
var SpeakerOnIcon = ((props) => {
|
|
4956
4956
|
return _tmpl$$8.cloneNode(true);
|
|
4957
4957
|
});
|
|
4958
|
-
var _tmpl$$7 =
|
|
4958
|
+
var _tmpl$$7 = /*#__PURE__*/ template(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-5"><path d="M10.047 3.062a.75.75 0 0 1 .453.688v12.5a.75.75 0 0 1-1.264.546L5.203 13H2.667a.75.75 0 0 1-.7-.48A6.985 6.985 0 0 1 1.5 10c0-.887.165-1.737.468-2.52a.75.75 0 0 1 .7-.48h2.535l4.033-3.796a.75.75 0 0 1 .811-.142ZM13.78 7.22a.75.75 0 1 0-1.06 1.06L14.44 10l-1.72 1.72a.75.75 0 0 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L16.56 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L15.5 8.94l-1.72-1.72Z"></path></svg>`, 4);
|
|
4959
4959
|
var SpeakerOffIcon = ((props) => {
|
|
4960
4960
|
return _tmpl$$7.cloneNode(true);
|
|
4961
4961
|
});
|
|
4962
|
-
var _tmpl$$6 =
|
|
4962
|
+
var _tmpl$$6 = /*#__PURE__*/ template(`<span class="ap-button ap-playback-button" tabindex="0"></span>`, 2), _tmpl$2$1 = /*#__PURE__*/ template(`<span class="ap-bar"><span class="ap-gutter ap-gutter-empty"></span><span class="ap-gutter ap-gutter-full"></span></span>`, 6), _tmpl$3$1 = /*#__PURE__*/ template(`<span class="ap-tooltip">Unmute (m)</span>`, 2), _tmpl$4$1 = /*#__PURE__*/ template(`<span class="ap-tooltip">Mute (m)</span>`, 2), _tmpl$5$1 = /*#__PURE__*/ template(`<span class="ap-button ap-speaker-button ap-tooltip-container" aria-label="Mute / unmute" role="button" tabindex="0"></span>`, 2), _tmpl$6$1 = /*#__PURE__*/ template(`<div class="ap-control-bar"><span class="ap-timer" aria-readonly="true" role="textbox" tabindex="0"><span class="ap-time-elapsed"></span><span class="ap-time-remaining"></span></span><span class="ap-progressbar"></span><span class="ap-button ap-kbd-button ap-tooltip-container" aria-label="Show keyboard shortcuts" role="button" tabindex="0"><span class="ap-tooltip">Keyboard shortcuts (?)</span></span><span class="ap-button ap-fullscreen-button ap-tooltip-container" aria-label="Toggle fullscreen mode" role="button" tabindex="0"><span class="ap-tooltip">Fullscreen (f)</span></span></div>`, 18), _tmpl$7$1 = /*#__PURE__*/ template(`<span class="ap-marker-container ap-tooltip-container"><span class="ap-marker"></span><span class="ap-tooltip"></span></span>`, 6);
|
|
4963
4963
|
function formatTime(seconds) {
|
|
4964
4964
|
let s = Math.floor(seconds);
|
|
4965
4965
|
const d = Math.floor(s / 86400);
|
|
@@ -5131,15 +5131,15 @@ delegateEvents([
|
|
|
5131
5131
|
"mousedown",
|
|
5132
5132
|
"mousemove"
|
|
5133
5133
|
]);
|
|
5134
|
-
var _tmpl$$5 =
|
|
5134
|
+
var _tmpl$$5 = /*#__PURE__*/ template(`<div class="ap-overlay ap-overlay-error"><span>💥</span></div>`, 4);
|
|
5135
5135
|
var ErrorOverlay = ((props) => {
|
|
5136
5136
|
return _tmpl$$5.cloneNode(true);
|
|
5137
5137
|
});
|
|
5138
|
-
var _tmpl$$4 =
|
|
5138
|
+
var _tmpl$$4 = /*#__PURE__*/ template(`<div class="ap-overlay ap-overlay-loading"><span class="ap-loader"></span></div>`, 4);
|
|
5139
5139
|
var LoaderOverlay = ((props) => {
|
|
5140
5140
|
return _tmpl$$4.cloneNode(true);
|
|
5141
5141
|
});
|
|
5142
|
-
var _tmpl$$3 =
|
|
5142
|
+
var _tmpl$$3 = /*#__PURE__*/ template(`<div class="ap-overlay ap-overlay-info"><span></span></div>`, 4);
|
|
5143
5143
|
var InfoOverlay = ((props) => {
|
|
5144
5144
|
return (() => {
|
|
5145
5145
|
const _el$ = _tmpl$$3.cloneNode(true), _el$2 = _el$.firstChild;
|
|
@@ -5148,7 +5148,7 @@ var InfoOverlay = ((props) => {
|
|
|
5148
5148
|
return _el$;
|
|
5149
5149
|
})();
|
|
5150
5150
|
});
|
|
5151
|
-
var _tmpl$$2 =
|
|
5151
|
+
var _tmpl$$2 = /*#__PURE__*/ template(`<div class="ap-overlay ap-overlay-start"><div class="ap-play-button"><div><span><svg version="1.1" viewBox="0 0 1000.0 1000.0" class="ap-icon"><defs><mask id="small-triangle-mask"><rect width="100%" height="100%" fill="white"></rect><polygon points="700.0 500.0, 400.00000000000006 326.7949192431122, 399.9999999999999 673.2050807568877" fill="black"></polygon></mask></defs><polygon points="1000.0 500.0, 250.0000000000001 66.98729810778059, 249.99999999999977 933.0127018922192" mask="url(#small-triangle-mask)" fill="white" class="ap-play-btn-fill"></polygon><polyline points="673.2050807568878 400.0, 326.7949192431123 600.0" stroke="white" stroke-width="90" class="ap-play-btn-stroke"></polyline></svg></span></div></div></div>`, 22);
|
|
5152
5152
|
var StartOverlay = ((props) => {
|
|
5153
5153
|
const e = (f) => {
|
|
5154
5154
|
return (e) => {
|
|
@@ -5163,7 +5163,7 @@ var StartOverlay = ((props) => {
|
|
|
5163
5163
|
})();
|
|
5164
5164
|
});
|
|
5165
5165
|
delegateEvents(["click"]);
|
|
5166
|
-
var _tmpl$$1 =
|
|
5166
|
+
var _tmpl$$1 = /*#__PURE__*/ template(`<li><kbd>space</kbd> - pause / resume</li>`, 4), _tmpl$2 = /*#__PURE__*/ template(`<li><kbd>←</kbd> / <kbd>→</kbd> - rewind / fast-forward by 5 seconds</li>`, 6), _tmpl$3 = /*#__PURE__*/ template(`<li><kbd>Shift</kbd> + <kbd>←</kbd> / <kbd>→</kbd> - rewind / fast-forward by 10%</li>`, 8), _tmpl$4 = /*#__PURE__*/ template(`<li><kbd>[</kbd> / <kbd>]</kbd> - jump to the previous / next marker</li>`, 6), _tmpl$5 = /*#__PURE__*/ template(`<li><kbd>0</kbd>, <kbd>1</kbd>, <kbd>2</kbd> ... <kbd>9</kbd> - jump to 0%, 10%, 20% ... 90%</li>`, 10), _tmpl$6 = /*#__PURE__*/ template(`<li><kbd>,</kbd> / <kbd>.</kbd> - step back / forward, a frame at a time (when paused)</li>`, 6), _tmpl$7 = /*#__PURE__*/ template(`<li><kbd>m</kbd> - mute / unmute audio</li>`, 4), _tmpl$8 = /*#__PURE__*/ template(`<div class="ap-overlay ap-overlay-help"><div><div><p>Keyboard shortcuts</p><ul><li><kbd>f</kbd> - toggle fullscreen mode</li><li><kbd>?</kbd> - show this help popup</li></ul></div></div></div>`, 18);
|
|
5167
5167
|
var HelpOverlay = ((props) => {
|
|
5168
5168
|
const e = (f) => {
|
|
5169
5169
|
return (e) => {
|
|
@@ -5211,7 +5211,7 @@ var HelpOverlay = ((props) => {
|
|
|
5211
5211
|
})();
|
|
5212
5212
|
});
|
|
5213
5213
|
delegateEvents(["click"]);
|
|
5214
|
-
var _tmpl$ =
|
|
5214
|
+
var _tmpl$ = /*#__PURE__*/ template(`<div class="ap-wrapper" tabindex="-1"><div></div></div>`, 4);
|
|
5215
5215
|
var CONTROL_BAR_HEIGHT = 32;
|
|
5216
5216
|
var Player = ((props) => {
|
|
5217
5217
|
const logger = props.logger;
|
|
@@ -5851,4 +5851,4 @@ var AsciinemaPlayerImpl = ({ id, rows, cols, inputUrl, outputUrl, timingUrl, fit
|
|
|
5851
5851
|
//#endregion
|
|
5852
5852
|
export { AsciinemaPlayerImpl as default };
|
|
5853
5853
|
|
|
5854
|
-
//# sourceMappingURL=AsciinemaPlayerImpl-
|
|
5854
|
+
//# sourceMappingURL=AsciinemaPlayerImpl-CsvrGGFj.js.map
|