@ai-ecoverse/slicc-spectrum 1.69.1 → 1.69.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 +4 -4
- package/dist/slicc-ui.js +2858 -2631
- package/dist/slicc-ui.js.map +4 -4
- package/dist/types/app/browser.d.ts +1 -0
- package/dist/types/app/files.d.ts +8 -0
- package/dist/types/app/memory.d.ts +7 -1
- package/dist/types/app/search.d.ts +10 -0
- package/dist/types/components/file-tree.d.ts +3 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ import '@adobe/spectrum-wc-icons/swc-icon-code.js';
|
|
|
15
15
|
import '@adobe/spectrum-wc-icons/swc-icon-copy.js';
|
|
16
16
|
import '@adobe/spectrum-wc-icons/swc-icon-cursor-click.js';
|
|
17
17
|
import '@adobe/spectrum-wc-icons/swc-icon-globe-grid.js';
|
|
18
|
+
import '@adobe/spectrum-wc-icons/swc-icon-hand.js';
|
|
18
19
|
import '@adobe/spectrum-wc-icons/swc-icon-keyboard.js';
|
|
19
20
|
import '@adobe/spectrum-wc-icons/swc-icon-link.js';
|
|
20
21
|
import '@adobe/spectrum-wc-icons/swc-icon-open-in.js';
|
|
@@ -59,6 +59,12 @@ export declare class SliccFiles extends ModelElement {
|
|
|
59
59
|
error: {
|
|
60
60
|
state: boolean;
|
|
61
61
|
};
|
|
62
|
+
query: {
|
|
63
|
+
state: boolean;
|
|
64
|
+
};
|
|
65
|
+
unmatched: {
|
|
66
|
+
state: boolean;
|
|
67
|
+
};
|
|
62
68
|
};
|
|
63
69
|
count: number;
|
|
64
70
|
mounted: readonly string[];
|
|
@@ -68,6 +74,8 @@ export declare class SliccFiles extends ModelElement {
|
|
|
68
74
|
waiting: readonly string[];
|
|
69
75
|
inserting: ReadonlySet<string>;
|
|
70
76
|
error: string;
|
|
77
|
+
query: string;
|
|
78
|
+
unmatched: boolean;
|
|
71
79
|
constructor();
|
|
72
80
|
static styles: import("lit").CSSResult[];
|
|
73
81
|
protected subscribe(model: SliccModel): Array<() => void>;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
|
|
2
2
|
import '@adobe/spectrum-wc/components/badge/swc-badge.js';
|
|
3
3
|
import '@adobe/spectrum-wc/components/button/swc-button.js';
|
|
4
|
+
import '@adobe/spectrum-wc-icons/swc-icon-chevron-right.js';
|
|
4
5
|
import '@adobe/spectrum-wc-icons/swc-icon-delete.js';
|
|
5
6
|
import { type PropertyValues, type TemplateResult } from 'lit';
|
|
6
|
-
import type { Memory, MemoryTag, SliccModel } from '../model/types.js';
|
|
7
|
+
import type { Memory, MemoryScope, MemoryTag, SliccModel } from '../model/types.js';
|
|
7
8
|
import { ModelElement } from './base.js';
|
|
8
9
|
export type TagFilter = MemoryTag | 'all' | 'untagged';
|
|
10
|
+
export declare const everyone = "*";
|
|
9
11
|
export declare function visible(memories: readonly Memory[], scope: string, tag: TagFilter, query: string): Memory[];
|
|
12
|
+
export declare function inScope(memories: readonly Memory[], scope: string): number;
|
|
13
|
+
export declare function emptyNote(total: number, filtered: boolean, scope: MemoryScope | null): string;
|
|
14
|
+
export declare function scopeLabel(scope: MemoryScope): MemoryScope;
|
|
10
15
|
export declare const scopeGroups: {
|
|
11
16
|
readonly cones: 'Cones';
|
|
12
17
|
readonly roles: 'Roles';
|
|
13
18
|
};
|
|
14
19
|
export declare const tagLabels: Record<MemoryTag, string>;
|
|
20
|
+
export declare const tagVariants: Record<MemoryTag, string>;
|
|
15
21
|
export declare function sections(memories: readonly Memory[]): Array<[string, Memory[]]>;
|
|
16
22
|
export declare class SliccMemory extends ModelElement {
|
|
17
23
|
#private;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '@spectrum-web-components/search/sp-search.js';
|
|
2
|
+
import { type TemplateResult } from 'lit';
|
|
3
|
+
export interface SearchOptions {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
input: (value: string) => void;
|
|
7
|
+
keydown?: (event: KeyboardEvent) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const searchCss: import("lit").CSSResult;
|
|
10
|
+
export declare function search(options: SearchOptions): TemplateResult;
|
|
@@ -5,6 +5,9 @@ export declare class SliccFileTree extends HTMLElement {
|
|
|
5
5
|
static loaded: boolean;
|
|
6
6
|
get paths(): readonly string[];
|
|
7
7
|
set paths(value: readonly string[]);
|
|
8
|
+
get query(): string;
|
|
9
|
+
set query(value: string);
|
|
10
|
+
get empty(): boolean;
|
|
8
11
|
get gitStatus(): readonly GitStatusEntry[];
|
|
9
12
|
set gitStatus(value: readonly GitStatusEntry[]);
|
|
10
13
|
get expanded(): readonly string[];
|
package/package.json
CHANGED