@ai-ecoverse/slicc-spectrum 1.52.0 → 1.53.1

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.
@@ -48,7 +48,7 @@ export declare class SliccApp extends ThemedElement {
48
48
  protected updated(changed: PropertyValues<this>): void;
49
49
  get storageKey(): string;
50
50
  resetLayout(): void;
51
- show(id: string): void;
51
+ show(id: string, section?: string): void;
52
52
  newTerminal(): void;
53
53
  open(kind: DocumentKind, path: string): void;
54
54
  toggleColor(): void;
@@ -79,6 +79,9 @@ export declare class SliccNetwork extends ModelElement {
79
79
  linksError: {
80
80
  state: boolean;
81
81
  };
82
+ syncError: {
83
+ state: boolean;
84
+ };
82
85
  };
83
86
  checking: boolean;
84
87
  copied: boolean;
@@ -88,9 +91,11 @@ export declare class SliccNetwork extends ModelElement {
88
91
  tailnetError: string;
89
92
  tailnetCopied: string;
90
93
  linksError: string;
94
+ syncError: string;
91
95
  constructor();
92
96
  static styles: import("lit").CSSResult[];
93
97
  protected subscribe(model: SliccModel): Array<() => void>;
98
+ reveal(section: string): void;
94
99
  focus(): void;
95
100
  check(): Promise<void>;
96
101
  copy(): Promise<void>;
@@ -49,7 +49,7 @@ export declare function defaultLayout(dock: SliccDock, screen: ScreenClass, agen
49
49
  id: string;
50
50
  name: string;
51
51
  } | null, items?: readonly Surface[], terminals?: readonly TerminalInfo[]): void;
52
- export declare function closed(dock: SliccDock, items?: readonly Surface[]): Surface[];
52
+ export declare function shown(dock: SliccDock, id: string): boolean;
53
53
  export declare function sprinkleSurface(sprinkle: Sprinkle): Surface;
54
54
  export declare function dropPlacement(panel: string | null, position: string): Placement | null;
55
55
  export declare function openSprinkle(dock: SliccDock, sprinkle: Sprinkle, screen: ScreenClass, place?: Placement | null): string;
@@ -1,22 +1,23 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import type { SliccModel, TrayConnection } from '../model/types.js';
2
+ import type { SliccModel, TrayConnection, TrayStatus } from '../model/types.js';
3
3
  import { ModelElement } from './base.js';
4
4
  export declare const connectionVariant: Record<TrayConnection, string>;
5
5
  export declare const connectionLabel: Record<TrayConnection, string>;
6
+ export declare function budgetVariant(percent: number): string;
7
+ export declare function budgetLine(status: TrayStatus): string;
6
8
  export declare class SliccTray extends ModelElement {
7
9
  #private;
8
10
  static properties: {
9
11
  model: {
10
12
  attribute: boolean;
11
13
  };
12
- copied: {
13
- state: boolean;
14
+ panels: {
15
+ attribute: boolean;
14
16
  };
15
17
  };
16
- copied: boolean;
18
+ panels: readonly string[];
17
19
  constructor();
18
20
  static styles: import("lit").CSSResult[];
19
21
  protected subscribe(model: SliccModel): Array<() => void>;
20
- copy(): Promise<void>;
21
22
  render(): TemplateResult;
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.52.0",
3
+ "version": "1.53.1",
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",