@ai-ecoverse/slicc-spectrum 2.9.0 → 2.9.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/README.md +6 -5
- package/dist/slicc-dummy.js +10 -2
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-kernel-model.js.map +2 -2
- package/dist/slicc-ui.js +162 -58
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/browser.d.ts +28 -1
- package/dist/types/dummy/browser.d.ts +11 -1
- package/package.json +2 -2
|
@@ -9,7 +9,6 @@ import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
|
|
|
9
9
|
import '@adobe/spectrum-wc-icons/swc-icon-camera.js';
|
|
10
10
|
import '@adobe/spectrum-wc-icons/swc-icon-chevron-down.js';
|
|
11
11
|
import '@adobe/spectrum-wc-icons/swc-icon-chevron-left.js';
|
|
12
|
-
import '@adobe/spectrum-wc-icons/swc-icon-chevron-right.js';
|
|
13
12
|
import '@adobe/spectrum-wc-icons/swc-icon-close.js';
|
|
14
13
|
import '@adobe/spectrum-wc-icons/swc-icon-code.js';
|
|
15
14
|
import '@adobe/spectrum-wc-icons/swc-icon-copy.js';
|
|
@@ -32,6 +31,34 @@ export declare function host(url: string): string;
|
|
|
32
31
|
export declare function place(url: string): string;
|
|
33
32
|
export declare function since(at: number, now?: number): string;
|
|
34
33
|
export declare function describe(action: BrowserAction): string;
|
|
34
|
+
export declare function recentActions(all: readonly BrowserAction[], shown: number): BrowserAction[];
|
|
35
|
+
export type FoldedAction = {
|
|
36
|
+
action: BrowserAction;
|
|
37
|
+
count: number;
|
|
38
|
+
};
|
|
39
|
+
export declare function sameAction(a: BrowserAction, b: BrowserAction): boolean;
|
|
40
|
+
export declare function foldActions(actions: readonly BrowserAction[]): FoldedAction[];
|
|
41
|
+
export declare function pickImage(frame: {
|
|
42
|
+
src: string;
|
|
43
|
+
at: number;
|
|
44
|
+
} | null | undefined, shot: {
|
|
45
|
+
src: string;
|
|
46
|
+
at: number;
|
|
47
|
+
} | null | undefined, watching: boolean): {
|
|
48
|
+
src: string;
|
|
49
|
+
at: number;
|
|
50
|
+
} | null;
|
|
51
|
+
export declare function frameSize(box: {
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
} | null | undefined, dpr?: number, prior?: {
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
} | null): {
|
|
58
|
+
width: number;
|
|
59
|
+
height: number;
|
|
60
|
+
key: string;
|
|
61
|
+
} | null;
|
|
35
62
|
export declare const refresh = 10000;
|
|
36
63
|
export declare const fresh = 3000;
|
|
37
64
|
export declare const actionPage = 50;
|
|
@@ -24,7 +24,17 @@ export declare class DummyBrowser extends Emitter<BrowserEvents> implements Brow
|
|
|
24
24
|
finish(id: string, error?: string): void;
|
|
25
25
|
run(script: readonly ActionDraft[]): Promise<void>;
|
|
26
26
|
release(agentId: string): void;
|
|
27
|
-
|
|
27
|
+
lastWatch(): {
|
|
28
|
+
tabId: string;
|
|
29
|
+
size?: {
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
watch(tabId: string, size?: {
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
}): () => void;
|
|
28
38
|
activate(id: string): void;
|
|
29
39
|
open(url: string, agentId?: string | null): BrowserTab;
|
|
30
40
|
navigate(id: string, url: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "Web components for SLICC on Spectrum Web Components: the terminal, the app shell and its surfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@adobe/spectrum-wc": "2.0.0-beta.6",
|
|
64
64
|
"@adobe/spectrum-wc-icons": "2.0.0-beta.6",
|
|
65
65
|
"@ai-ecoverse/slicc-cdp": "1.47.2",
|
|
66
|
-
"@ai-ecoverse/slicc-kernel": "1.176.
|
|
66
|
+
"@ai-ecoverse/slicc-kernel": "1.176.2",
|
|
67
67
|
"@ai-ecoverse/slicc-shared-web": "2.13.10",
|
|
68
68
|
"@ai-ecoverse/slicc-vault": "1.24.0",
|
|
69
69
|
"@ai-ecoverse/wasm-bash": "5.3.0-23",
|