@xxmachina/components 19.21.7 → 19.24.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.
- package/extras/flow/index.d.ts +13 -3
- package/extras/flow/index.d.ts.map +1 -1
- package/features/query/index.d.ts.map +1 -1
- package/fesm2022/xxmachina-components-extras-flow.mjs +110 -11
- package/fesm2022/xxmachina-components-extras-flow.mjs.map +1 -1
- package/fesm2022/xxmachina-components-groups-query-form.mjs.map +1 -1
- package/fesm2022/xxmachina-components-molecules-inline-edit-field.mjs +117 -0
- package/fesm2022/xxmachina-components-molecules-inline-edit-field.mjs.map +1 -0
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs +2 -2
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs +2 -2
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs +19 -4
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-xterm.mjs +849 -49
- package/fesm2022/xxmachina-components-organisms-xterm.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-command-harness.mjs +28 -0
- package/fesm2022/xxmachina-components-pages-command-harness.mjs.map +1 -0
- package/fesm2022/xxmachina-components-pages-command.mjs +10 -6
- package/fesm2022/xxmachina-components-pages-command.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-query.mjs +2 -2
- package/fesm2022/xxmachina-components-pages-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-thread.mjs +2 -2
- package/fesm2022/xxmachina-components-pages-thread.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-message.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-agent.mjs +151 -123
- package/fesm2022/xxmachina-components-templates-agent.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-background.mjs +376 -242
- package/fesm2022/xxmachina-components-templates-background.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-flow-nodes-group.mjs +164 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-group.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs +157 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-task.mjs +154 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-task.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow.mjs +337 -0
- package/fesm2022/xxmachina-components-templates-flow.mjs.map +1 -0
- package/fesm2022/xxmachina-components.mjs +2 -2
- package/fesm2022/xxmachina-components.mjs.map +1 -1
- package/groups/query-form/index.d.ts +3 -4
- package/groups/query-form/index.d.ts.map +1 -1
- package/index.d.ts.map +1 -1
- package/molecules/inline-edit-field/index.d.ts +32 -0
- package/molecules/inline-edit-field/index.d.ts.map +1 -0
- package/organisms/terminal-input-section/index.d.ts +2 -1
- package/organisms/terminal-input-section/index.d.ts.map +1 -1
- package/organisms/xterm/index.d.ts +176 -4
- package/organisms/xterm/index.d.ts.map +1 -1
- package/package.json +29 -13
- package/pages/command/harness/index.d.ts +14 -0
- package/pages/command/harness/index.d.ts.map +1 -0
- package/pages/command/index.d.ts +12 -4
- package/pages/command/index.d.ts.map +1 -1
- package/pages/query/index.d.ts +2 -2
- package/pages/query/index.d.ts.map +1 -1
- package/pages/query-v2/index.d.ts.map +1 -1
- package/services/command/index.d.ts.map +1 -1
- package/services/message/index.d.ts +3 -3
- package/services/message/index.d.ts.map +1 -1
- package/templates/agent/index.d.ts +11 -2
- package/templates/agent/index.d.ts.map +1 -1
- package/templates/background/index.d.ts +14 -20
- package/templates/background/index.d.ts.map +1 -1
- package/templates/flow/index.d.ts +61 -0
- package/templates/flow/index.d.ts.map +1 -0
- package/templates/flow/nodes/group/index.d.ts +44 -0
- package/templates/flow/nodes/group/index.d.ts.map +1 -0
- package/templates/flow/nodes/issue/index.d.ts +46 -0
- package/templates/flow/nodes/issue/index.d.ts.map +1 -0
- package/templates/flow/nodes/task/index.d.ts +37 -0
- package/templates/flow/nodes/task/index.d.ts.map +1 -0
- package/fesm2022/xxmachina-components-services-calendar.mjs +0 -25
- package/fesm2022/xxmachina-components-services-calendar.mjs.map +0 -1
- package/fesm2022/xxmachina-components-services-schedule.mjs +0 -51
- package/fesm2022/xxmachina-components-services-schedule.mjs.map +0 -1
- package/services/calendar/index.d.ts +0 -14
- package/services/calendar/index.d.ts.map +0 -1
- package/services/schedule/index.d.ts +0 -27
- package/services/schedule/index.d.ts.map +0 -1
|
@@ -1,25 +1,155 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { Terminal, ILinkProvider, ILink, ITerminalAddon } from '@xterm/xterm';
|
|
4
|
+
import * as _ng_atomic_core from '@ng-atomic/core';
|
|
5
|
+
import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
6
|
+
import * as _ng_atomic_common_services_ui from '@ng-atomic/common/services/ui';
|
|
4
7
|
|
|
5
|
-
declare
|
|
8
|
+
declare enum XtermActionId {
|
|
9
|
+
DATA_INPUT = "xterm:data-input",
|
|
10
|
+
RESIZED = "xterm:resized",
|
|
11
|
+
GITHUB_LINK_CLICK = "xterm:github-link-click",
|
|
12
|
+
FILE_LINK_CLICK = "xterm:file-link-click"
|
|
13
|
+
}
|
|
14
|
+
declare class XtermOrganismStore extends InjectableComponent {
|
|
15
|
+
static readonly DI: {
|
|
16
|
+
provide: (typeOrComponent: Parameters<(typeOrFactory: _ng_atomic_core.TypeOrTypeFactory<any>) => {
|
|
17
|
+
provide: any;
|
|
18
|
+
useValue: () => Promise<_angular_core.Type<any>>;
|
|
19
|
+
}>[0]) => (_angular_core.Provider | {
|
|
20
|
+
provide: any;
|
|
21
|
+
useValue: () => Promise<_angular_core.Type<any>>;
|
|
22
|
+
})[];
|
|
23
|
+
provideConfig: (useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{
|
|
24
|
+
data: string;
|
|
25
|
+
interactive: boolean;
|
|
26
|
+
queryResult: string;
|
|
27
|
+
useInteractiveTheme: boolean;
|
|
28
|
+
}>, label?: string) => _angular_core.Provider;
|
|
29
|
+
injectConfig: () => _angular_core.Signal<{
|
|
30
|
+
data: string;
|
|
31
|
+
interactive: boolean;
|
|
32
|
+
queryResult: string;
|
|
33
|
+
useInteractiveTheme: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
provideInitializer: <SI extends (store: XtermOrganismStore) => Promise<void> | void>(initializer: SI) => {
|
|
36
|
+
provide: _angular_core.InjectionToken<(store: any) => Promise<void> | void>;
|
|
37
|
+
useValue: {
|
|
38
|
+
key: new () => XtermOrganismStore;
|
|
39
|
+
initializer: (store: XtermOrganismStore) => Promise<void> | void;
|
|
40
|
+
};
|
|
41
|
+
multi: boolean;
|
|
42
|
+
}[];
|
|
43
|
+
initialize: (store: XtermOrganismStore) => Promise<void>;
|
|
44
|
+
provideComponent: (typeOrFactory: _ng_atomic_core.TypeOrTypeFactory<any>) => {
|
|
45
|
+
provide: any;
|
|
46
|
+
useValue: () => Promise<_angular_core.Type<any>>;
|
|
47
|
+
};
|
|
48
|
+
Initializer: {
|
|
49
|
+
provide<SI extends (store: XtermOrganismStore) => Promise<void> | void>(initializer: SI): {
|
|
50
|
+
provide: _angular_core.InjectionToken<(store: any) => Promise<void> | void>;
|
|
51
|
+
useValue: {
|
|
52
|
+
key: new () => XtermOrganismStore;
|
|
53
|
+
initializer: (store: XtermOrganismStore) => Promise<void> | void;
|
|
54
|
+
};
|
|
55
|
+
multi: boolean;
|
|
56
|
+
}[];
|
|
57
|
+
inject(): ((store: XtermOrganismStore) => Promise<void> | void)[];
|
|
58
|
+
initializeStore(store: XtermOrganismStore): Promise<void>;
|
|
59
|
+
};
|
|
60
|
+
Config: {
|
|
61
|
+
provide(useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{
|
|
62
|
+
data: string;
|
|
63
|
+
interactive: boolean;
|
|
64
|
+
queryResult: string;
|
|
65
|
+
useInteractiveTheme: boolean;
|
|
66
|
+
}>, label?: string): _angular_core.Provider;
|
|
67
|
+
inject(): _angular_core.Signal<{
|
|
68
|
+
data: string;
|
|
69
|
+
interactive: boolean;
|
|
70
|
+
queryResult: string;
|
|
71
|
+
useInteractiveTheme: boolean;
|
|
72
|
+
}>;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly config: _angular_core.Signal<{
|
|
76
|
+
data: string;
|
|
77
|
+
interactive: boolean;
|
|
78
|
+
queryResult: string;
|
|
79
|
+
useInteractiveTheme: boolean;
|
|
80
|
+
}>;
|
|
81
|
+
readonly data: _angular_core.InputSignal<string>;
|
|
82
|
+
readonly interactive: _angular_core.InputSignal<boolean>;
|
|
83
|
+
readonly queryResult: _angular_core.InputSignal<string>;
|
|
84
|
+
/** Use interactive theme even when not interactive (for display consistency) */
|
|
85
|
+
readonly useInteractiveTheme: _angular_core.InputSignal<boolean>;
|
|
86
|
+
/** Total bytes written to the buffer (for accurate diff detection when buffer overflows) */
|
|
87
|
+
readonly totalWritten: _angular_core.InputSignal<number>;
|
|
88
|
+
constructor();
|
|
89
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XtermOrganismStore, never>;
|
|
90
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<XtermOrganismStore, "organisms-xterm", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "queryResult": { "alias": "queryResult"; "required": false; "isSignal": true; }; "useInteractiveTheme": { "alias": "useInteractiveTheme"; "required": false; "isSignal": true; }; "totalWritten": { "alias": "totalWritten"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type ImageAddon = any;
|
|
94
|
+
declare class XtermOrganism extends NgAtomicComponent implements AfterViewInit, OnDestroy {
|
|
6
95
|
readonly container: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
96
|
+
protected readonly store: XtermOrganismStore;
|
|
97
|
+
private readonly hostElement;
|
|
7
98
|
readonly terminalReady: _angular_core.OutputEmitterRef<Terminal>;
|
|
8
99
|
readonly githubLinkClick: _angular_core.OutputEmitterRef<number>;
|
|
9
100
|
private terminal;
|
|
10
101
|
private fitAddon;
|
|
102
|
+
private imageAddon;
|
|
11
103
|
private githubLinksAddon;
|
|
104
|
+
private fileLinksAddon;
|
|
12
105
|
private resizeObserver?;
|
|
106
|
+
private lastDataLength;
|
|
107
|
+
/** Tracks how many bytes have been processed (for totalWritten-based diff detection) */
|
|
108
|
+
private lastProcessedLength;
|
|
109
|
+
private readonly terminalInitialized;
|
|
110
|
+
/** Tracks if initialization was skipped due to container being too small */
|
|
111
|
+
private initSkippedDueToSize;
|
|
112
|
+
constructor();
|
|
113
|
+
private writeDataToTerminal;
|
|
114
|
+
/**
|
|
115
|
+
* Write data using totalWritten for accurate diff detection.
|
|
116
|
+
* This method handles buffer overflow scenarios correctly.
|
|
117
|
+
* @param data The current buffer content
|
|
118
|
+
* @param totalWritten Total bytes written to the buffer (cumulative)
|
|
119
|
+
*/
|
|
120
|
+
private writeDataWithTotalWritten;
|
|
13
121
|
ngAfterViewInit(): void;
|
|
122
|
+
private initializeTerminal;
|
|
14
123
|
ngOnDestroy(): void;
|
|
124
|
+
private markInitialized;
|
|
125
|
+
private loadImageAddon;
|
|
15
126
|
write(text: string): void;
|
|
16
127
|
writeln(text: string): void;
|
|
17
128
|
clear(): void;
|
|
18
129
|
scrollToBottom(): void;
|
|
19
130
|
scrollToTop(): void;
|
|
20
131
|
scrollLines(lines: number): void;
|
|
132
|
+
fit(): void;
|
|
133
|
+
get cols(): number;
|
|
134
|
+
get rows(): number;
|
|
135
|
+
getTerminal(): Terminal | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* Display an inline image using iTerm2's Inline Image Protocol
|
|
138
|
+
* @param base64Data Base64 encoded image data (PNG, JPEG, etc.)
|
|
139
|
+
* @param options Image display options
|
|
140
|
+
*/
|
|
141
|
+
displayImage(base64Data: string, options?: {
|
|
142
|
+
width?: string | number;
|
|
143
|
+
height?: string | number;
|
|
144
|
+
preserveAspectRatio?: boolean;
|
|
145
|
+
name?: string;
|
|
146
|
+
}): void;
|
|
147
|
+
/**
|
|
148
|
+
* Get the ImageAddon instance for advanced image operations
|
|
149
|
+
*/
|
|
150
|
+
getImageAddon(): ImageAddon | undefined;
|
|
21
151
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XtermOrganism, never>;
|
|
22
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XtermOrganism, "organisms-xterm", never, {}, { "terminalReady": "terminalReady"; "githubLinkClick": "githubLinkClick"; }, never, never, true,
|
|
152
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XtermOrganism, "organisms-xterm", never, {}, { "terminalReady": "terminalReady"; "githubLinkClick": "githubLinkClick"; }, never, never, true, [{ directive: typeof XtermOrganismStore; inputs: { "data": "data"; "interactive": "interactive"; "useInteractiveTheme": "useInteractiveTheme"; "totalWritten": "totalWritten"; }; outputs: {}; }]>;
|
|
23
153
|
}
|
|
24
154
|
|
|
25
155
|
interface GitHubLinkActivateHandler {
|
|
@@ -43,6 +173,48 @@ declare class GitHubLinksAddon implements ITerminalAddon {
|
|
|
43
173
|
dispose(): void;
|
|
44
174
|
}
|
|
45
175
|
|
|
46
|
-
|
|
47
|
-
|
|
176
|
+
/**
|
|
177
|
+
* Drop-in replacement for @xterm/addon-web-links that supports
|
|
178
|
+
* URLs spanning wrapped terminal lines.
|
|
179
|
+
*/
|
|
180
|
+
declare class WebLinksAddon implements ITerminalAddon {
|
|
181
|
+
private readonly _handler?;
|
|
182
|
+
private _linkProvider?;
|
|
183
|
+
constructor(_handler?: (event: MouseEvent, uri: string) => void);
|
|
184
|
+
activate(terminal: Terminal): void;
|
|
185
|
+
dispose(): void;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Utility functions for displaying images in xterm using SIXEL format
|
|
190
|
+
*/
|
|
191
|
+
interface SvgToSixelOptions {
|
|
192
|
+
width?: number;
|
|
193
|
+
height?: number;
|
|
194
|
+
backgroundColor?: string;
|
|
195
|
+
textColor?: string;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Generate ASCII art text using figlet
|
|
199
|
+
* Note: figlet is loaded dynamically as it's not available in browser environments
|
|
200
|
+
*/
|
|
201
|
+
declare function generateAsciiArt(text: string, font?: string): Promise<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Convert ASCII art text to SVG with transparent background
|
|
204
|
+
*/
|
|
205
|
+
declare function asciiArtToSvg(asciiArt: string, options?: {
|
|
206
|
+
textColor?: string;
|
|
207
|
+
fontSize?: number;
|
|
208
|
+
}): string;
|
|
209
|
+
/**
|
|
210
|
+
* Convert SVG to SIXEL format for xterm display
|
|
211
|
+
*/
|
|
212
|
+
declare function svgToSixel(svgString: string, options?: SvgToSixelOptions): Promise<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Generate MACHINA ASCII art banner as SIXEL
|
|
215
|
+
*/
|
|
216
|
+
declare function getMachinaAsciiArtSixel(options?: SvgToSixelOptions): Promise<string>;
|
|
217
|
+
|
|
218
|
+
export { GitHubLinkProvider, GitHubLinksAddon, WebLinksAddon, XtermActionId, XtermOrganism, XtermOrganismStore, asciiArtToSvg, generateAsciiArt, getMachinaAsciiArtSixel, svgToSixel };
|
|
219
|
+
export type { GitHubLinkActivateHandler, SvgToSixelOptions };
|
|
48
220
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/xterm.organism.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/github-link.provider.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/github-links.addon.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/xterm.organism.store.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/xterm.organism.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/github-link.provider.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/github-links.addon.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/web-links.addon.ts","../../../../../../packages/@xxmachina/components/src/lib/organisms/xterm/image.utils.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;AAIA;AACE;AACA;AACA;AACA;AACD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAO4C;AAE1C;;;;;AAAuD;;;;;;;;;;;AAexD;;ACzBD;AAkDA;;AAcE;AACA;;;;;;;;;;;;AAcA;;;;AA+CA;AAsBA;;;;;AAKG;AACH;;AAgDA;;AAoGA;;AAmCO;AAIA;AAIA;AAIA;AAIA;AAIA;AAIA;;;;AAsBP;;;;AAIG;AACI;AACL;AACA;;;AAGD;AAuBD;;AAEG;;;;AAIJ;;;;AC5aA;AAED;;;AAEE;AAGmB;AAInB;AA0CA;AAyBD;;AC/ED;;;;AAKqB;AAGnB;AAOA;AAGD;;AClBD;;;AAGG;AACH;AAII;;;AAGF;AAMA;AAGD;;ACvBD;;AAEG;;;;;;AAOF;AAED;;;AAGG;AACH;AAmBA;;AAEG;AACH;;;AAEyD;AAgCzD;;AAEG;AACH;AA6KA;;AAEG;AACH;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xxmachina/components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.24.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
"types": "./molecules/daily-cell/index.d.ts",
|
|
47
47
|
"default": "./fesm2022/xxmachina-components-molecules-daily-cell.mjs"
|
|
48
48
|
},
|
|
49
|
+
"./molecules/inline-edit-field": {
|
|
50
|
+
"types": "./molecules/inline-edit-field/index.d.ts",
|
|
51
|
+
"default": "./fesm2022/xxmachina-components-molecules-inline-edit-field.mjs"
|
|
52
|
+
},
|
|
49
53
|
"./molecules/weekly-header": {
|
|
50
54
|
"types": "./molecules/weekly-header/index.d.ts",
|
|
51
55
|
"default": "./fesm2022/xxmachina-components-molecules-weekly-header.mjs"
|
|
@@ -130,10 +134,6 @@
|
|
|
130
134
|
"types": "./services/assistant/index.d.ts",
|
|
131
135
|
"default": "./fesm2022/xxmachina-components-services-assistant.mjs"
|
|
132
136
|
},
|
|
133
|
-
"./services/calendar": {
|
|
134
|
-
"types": "./services/calendar/index.d.ts",
|
|
135
|
-
"default": "./fesm2022/xxmachina-components-services-calendar.mjs"
|
|
136
|
-
},
|
|
137
137
|
"./services/command": {
|
|
138
138
|
"types": "./services/command/index.d.ts",
|
|
139
139
|
"default": "./fesm2022/xxmachina-components-services-command.mjs"
|
|
@@ -194,10 +194,6 @@
|
|
|
194
194
|
"types": "./services/recording/index.d.ts",
|
|
195
195
|
"default": "./fesm2022/xxmachina-components-services-recording.mjs"
|
|
196
196
|
},
|
|
197
|
-
"./services/schedule": {
|
|
198
|
-
"types": "./services/schedule/index.d.ts",
|
|
199
|
-
"default": "./fesm2022/xxmachina-components-services-schedule.mjs"
|
|
200
|
-
},
|
|
201
197
|
"./services/thread": {
|
|
202
198
|
"types": "./services/thread/index.d.ts",
|
|
203
199
|
"default": "./fesm2022/xxmachina-components-services-thread.mjs"
|
|
@@ -218,6 +214,10 @@
|
|
|
218
214
|
"types": "./templates/background/index.d.ts",
|
|
219
215
|
"default": "./fesm2022/xxmachina-components-templates-background.mjs"
|
|
220
216
|
},
|
|
217
|
+
"./templates/flow": {
|
|
218
|
+
"types": "./templates/flow/index.d.ts",
|
|
219
|
+
"default": "./fesm2022/xxmachina-components-templates-flow.mjs"
|
|
220
|
+
},
|
|
221
221
|
"./templates/invoice-iframe": {
|
|
222
222
|
"types": "./templates/invoice-iframe/index.d.ts",
|
|
223
223
|
"default": "./fesm2022/xxmachina-components-templates-invoice-iframe.mjs"
|
|
@@ -234,21 +234,37 @@
|
|
|
234
234
|
"types": "./validators/query/index.d.ts",
|
|
235
235
|
"default": "./fesm2022/xxmachina-components-validators-query.mjs"
|
|
236
236
|
},
|
|
237
|
+
"./pages/command/harness": {
|
|
238
|
+
"types": "./pages/command/harness/index.d.ts",
|
|
239
|
+
"default": "./fesm2022/xxmachina-components-pages-command-harness.mjs"
|
|
240
|
+
},
|
|
237
241
|
"./routes/side/chat": {
|
|
238
242
|
"types": "./routes/side/chat/index.d.ts",
|
|
239
243
|
"default": "./fesm2022/xxmachina-components-routes-side-chat.mjs"
|
|
240
244
|
},
|
|
241
|
-
"./services/forms/query": {
|
|
242
|
-
"types": "./services/forms/query/index.d.ts",
|
|
243
|
-
"default": "./fesm2022/xxmachina-components-services-forms-query.mjs"
|
|
244
|
-
},
|
|
245
245
|
"./services/forms/schedule": {
|
|
246
246
|
"types": "./services/forms/schedule/index.d.ts",
|
|
247
247
|
"default": "./fesm2022/xxmachina-components-services-forms-schedule.mjs"
|
|
248
248
|
},
|
|
249
|
+
"./services/forms/query": {
|
|
250
|
+
"types": "./services/forms/query/index.d.ts",
|
|
251
|
+
"default": "./fesm2022/xxmachina-components-services-forms-query.mjs"
|
|
252
|
+
},
|
|
249
253
|
"./services/forms/variables": {
|
|
250
254
|
"types": "./services/forms/variables/index.d.ts",
|
|
251
255
|
"default": "./fesm2022/xxmachina-components-services-forms-variables.mjs"
|
|
256
|
+
},
|
|
257
|
+
"./templates/flow/nodes/group": {
|
|
258
|
+
"types": "./templates/flow/nodes/group/index.d.ts",
|
|
259
|
+
"default": "./fesm2022/xxmachina-components-templates-flow-nodes-group.mjs"
|
|
260
|
+
},
|
|
261
|
+
"./templates/flow/nodes/issue": {
|
|
262
|
+
"types": "./templates/flow/nodes/issue/index.d.ts",
|
|
263
|
+
"default": "./fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs"
|
|
264
|
+
},
|
|
265
|
+
"./templates/flow/nodes/task": {
|
|
266
|
+
"types": "./templates/flow/nodes/task/index.d.ts",
|
|
267
|
+
"default": "./fesm2022/xxmachina-components-templates-flow-nodes-task.mjs"
|
|
252
268
|
}
|
|
253
269
|
},
|
|
254
270
|
"sideEffects": false,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentHarness, HarnessPredicate, TestElement } from '@angular/cdk/testing';
|
|
2
|
+
import { FormTemplateHarness } from '@ng-atomic/components/templates/form/harness';
|
|
3
|
+
|
|
4
|
+
declare class CommandPageHarness extends ComponentHarness {
|
|
5
|
+
static hostSelector: string;
|
|
6
|
+
private _form;
|
|
7
|
+
static with(options?: Record<string, unknown>): HarnessPredicate<CommandPageHarness>;
|
|
8
|
+
getForm(): Promise<FormTemplateHarness>;
|
|
9
|
+
getFieldByLabel(label: string): Promise<TestElement | null>;
|
|
10
|
+
clickExecuteButton(): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { CommandPageHarness };
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../../packages/@xxmachina/components/src/lib/pages/command/harness/command-page.harness.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAGA,cAAA,kBAAA,SAAA,gBAAA;;;AAKE,0BAAA,MAAA,oBAAA,gBAAA,CAAA,kBAAA;AAIM,eAAA,OAAA,CAAA,mBAAA;;AASA,0BAAA,OAAA;AAIP;;;;"}
|
package/pages/command/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { FormFieldMap } from '@ng-atomic/common/pipes/smart-field';
|
|
|
12
12
|
import { AppService } from '@ng-atomic/common/services/app';
|
|
13
13
|
import { CommandFeature } from '@xxmachina/components/features/command';
|
|
14
14
|
import { QueryFeature } from '@xxmachina/components/features/query';
|
|
15
|
+
export * from '@xxmachina/components/pages/command/harness';
|
|
15
16
|
|
|
16
17
|
declare enum ActionId {
|
|
17
18
|
EXECUTE_COMMAND = "execute-command",
|
|
@@ -30,6 +31,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
30
31
|
useValue: () => Promise<_angular_core.Type<any>>;
|
|
31
32
|
})[];
|
|
32
33
|
provideConfig: (useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{
|
|
34
|
+
title: string;
|
|
33
35
|
style: {
|
|
34
36
|
width: string;
|
|
35
37
|
};
|
|
@@ -39,6 +41,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
39
41
|
additionalFormFieldMap: FormFieldMap;
|
|
40
42
|
}>, label?: string) => Provider;
|
|
41
43
|
injectConfig: () => _angular_core.Signal<{
|
|
44
|
+
title: string;
|
|
42
45
|
style: {
|
|
43
46
|
width: string;
|
|
44
47
|
};
|
|
@@ -74,6 +77,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
74
77
|
};
|
|
75
78
|
Config: {
|
|
76
79
|
provide(useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{
|
|
80
|
+
title: string;
|
|
77
81
|
style: {
|
|
78
82
|
width: string;
|
|
79
83
|
};
|
|
@@ -83,6 +87,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
83
87
|
additionalFormFieldMap: FormFieldMap;
|
|
84
88
|
}>, label?: string): Provider;
|
|
85
89
|
inject(): _angular_core.Signal<{
|
|
90
|
+
title: string;
|
|
86
91
|
style: {
|
|
87
92
|
width: string;
|
|
88
93
|
};
|
|
@@ -95,6 +100,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
95
100
|
};
|
|
96
101
|
static readonly Config: {
|
|
97
102
|
provide(useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{
|
|
103
|
+
title: string;
|
|
98
104
|
style: {
|
|
99
105
|
width: string;
|
|
100
106
|
};
|
|
@@ -104,6 +110,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
104
110
|
additionalFormFieldMap: FormFieldMap;
|
|
105
111
|
}>, label?: string): Provider;
|
|
106
112
|
inject(): _angular_core.Signal<{
|
|
113
|
+
title: string;
|
|
107
114
|
style: {
|
|
108
115
|
width: string;
|
|
109
116
|
};
|
|
@@ -171,6 +178,7 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
171
178
|
}): Provider;
|
|
172
179
|
readonly feature: CommandFeature;
|
|
173
180
|
readonly config: _angular_core.Signal<{
|
|
181
|
+
title: string;
|
|
174
182
|
style: {
|
|
175
183
|
width: string;
|
|
176
184
|
};
|
|
@@ -197,12 +205,12 @@ declare class CommandPageStore extends InjectableComponent {
|
|
|
197
205
|
protected readonly _data: _angular_core.Signal<any>;
|
|
198
206
|
readonly data: _angular_core.InputSignal<any>;
|
|
199
207
|
protected readonly formInvalid: _angular_core.Signal<boolean>;
|
|
200
|
-
readonly title: _angular_core.InputSignal<
|
|
201
|
-
readonly actions: _angular_core.
|
|
208
|
+
readonly title: _angular_core.InputSignal<any>;
|
|
209
|
+
readonly actions: _angular_core.InputSignal<Action<any>[]>;
|
|
202
210
|
readonly skip: _angular_core.Signal<boolean>;
|
|
203
211
|
constructor();
|
|
204
212
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommandPageStore, never>;
|
|
205
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CommandPageStore, never, never, { "style": { "alias": "style"; "required": false; "isSignal": true; }; "navStartActions": { "alias": "navStartActions"; "required": false; "isSignal": true; }; "navEndActions": { "alias": "navEndActions"; "required": false; "isSignal": true; }; "command": { "alias": "command"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "extractedFormFieldMap": { "alias": "extractedFormFieldMap"; "required": false; "isSignal": true; }; "additionalFormFieldMap": { "alias": "additionalFormFieldMap"; "required": false; "isSignal": true; }; "formFieldMap": { "alias": "formFieldMap"; "required": false; "isSignal": true; }; "formFieldKeys": { "alias": "formFieldKeys"; "required": false; "isSignal": true; }; "formFlatExcludes": { "alias": "formFlatExcludes"; "required": false; "isSignal": true; }; "initializeQuery": { "alias": "initializeQuery"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
213
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CommandPageStore, never, never, { "style": { "alias": "style"; "required": false; "isSignal": true; }; "navStartActions": { "alias": "navStartActions"; "required": false; "isSignal": true; }; "navEndActions": { "alias": "navEndActions"; "required": false; "isSignal": true; }; "command": { "alias": "command"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "extractedFormFieldMap": { "alias": "extractedFormFieldMap"; "required": false; "isSignal": true; }; "additionalFormFieldMap": { "alias": "additionalFormFieldMap"; "required": false; "isSignal": true; }; "formFieldMap": { "alias": "formFieldMap"; "required": false; "isSignal": true; }; "formFieldKeys": { "alias": "formFieldKeys"; "required": false; "isSignal": true; }; "formFlatExcludes": { "alias": "formFlatExcludes"; "required": false; "isSignal": true; }; "initializeQuery": { "alias": "initializeQuery"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
206
214
|
}
|
|
207
215
|
declare class CommandPage extends NgAtomicComponent {
|
|
208
216
|
protected readonly store: CommandPageStore;
|
|
@@ -211,7 +219,7 @@ declare class CommandPage extends NgAtomicComponent {
|
|
|
211
219
|
readonly parentRouterOutletFrame: RouterOutletFrame;
|
|
212
220
|
protected onFileSelected(payload: any): void;
|
|
213
221
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommandPage, never>;
|
|
214
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommandPage, "pages-command", never, {}, {}, never, never, true, [{ directive: typeof CommandPageStore; inputs: { "style": "style"; "navEndActions": "navEndActions"; "command": "command"; "form": "form"; "additionalFormFieldMap": "additionalFormFieldMap"; "formFieldMap": "formFieldMap"; "formFlatExcludes": "formFlatExcludes"; "initializeQuery": "initializeQuery"; "data": "data"; }; outputs: {}; }]>;
|
|
222
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommandPage, "pages-command", never, {}, {}, never, never, true, [{ directive: typeof CommandPageStore; inputs: { "style": "style"; "navEndActions": "navEndActions"; "command": "command"; "form": "form"; "additionalFormFieldMap": "additionalFormFieldMap"; "formFieldMap": "formFieldMap"; "formFlatExcludes": "formFlatExcludes"; "initializeQuery": "initializeQuery"; "data": "data"; "actions": "actions"; }; outputs: {}; }]>;
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
export { CommandPage, CommandPageStore, buildActions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/command/command.page.ts"],"sourcesContent":[null],"names":["i0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/command/command.page.ts"],"sourcesContent":[null],"names":["i0"],"mappings":";;;;;;;;;;;;;;;;AA4BA,aAAA,QAAA;AACE;AACA;AACD;AA8BD,iBAAA,YAAA,4CAAA,MAAA;AAMA,cAAA,gBAAA,SAAA,mBAAA;;AAGE,qCAAA,QAAA;;;;;;;;;;;;;;AAQoB;;AAWA,2BAAA,MAAA;;;;;;;;AAXA;;AAWA,2BAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAXA;;AAWA,+BAAA,MAAA;;;;;;;;AAXA;;AAWA,+BAAA,MAAA;;;;AAO8B;;;;;;;AAlB9B;;AAWA,2BAAA,MAAA;;;;;;;;AAXA;;AAWA,2BAAA,MAAA;;;AAQgC;;;;;;;;;;;;AACU;AAE9D,6BAAA,QAAA;AAQA,4BAAA,QAAA;AAQA,+BAAA,QAAA;AAYA,wCAAA,QAAA;AAQA,oCAAA,QAAA;AAQA,wEAAA,QAAA;;AAgBA;;;;;;;;AAQA;;;;;;;;AAWA,uDAAA,QAAA;AAqBA,oDAAA,QAAA;AAgBA,mEAAA,MAAA,KAAA,MAAA,gBAAA,QAAA;AAQA,qEAAA,QAAA,KAAA,MAAA,gBAAA,QAAA;;;;;;;;;;;AAgIyE,iBAAA,OAAA;AAKrE,2BAAA,IAAA;;;AAA0D;;AAE3D,QAAA,QAAA;;AAgCH,qBAAe,aAAA,CAAA,MAAA;;;;;AAzTK;;AAWA,uBAAA,MAAA;;AA8S+B;;AAEnD,oBAAc,aAAA,CAAA,WAAA;;AAA+C;8BAErC,aAAA,CAAA,WAAA,CAAA,MAAA;4BACF,aAAA,CAAA,WAAA,CAAA,MAAA;sBACN,aAAA,aAAA,+BAAA,CAAA,oBAAA;mBACH,aAAA,CAAA,WAAA,CAAA,SAAA;oCACiB,aAAA,CAAA,WAAA;qCACC,aAAA,CAAA,WAAA,CAAA,YAAA;2BACV,aAAA,CAAA,WAAA,CAAA,YAAA;4BAIC,aAAA,CAAA,WAAA;+BACG,aAAA,CAAA,WAAA;AACzB,yCAAmC,aAAA,CAAA,MAAA,CAAA,KAAA;8BACX,aAAA,CAAA,WAAA,CAAA,KAAA;AACxB,8BAAwB,aAAA,CAAA,MAAA;mBACX,aAAA,CAAA,WAAA;AACb,oCAA8B,aAAA,CAAA,MAAA;oBAChB,aAAA,CAAA,WAAA;sBAEE,aAAA,CAAA,WAAA,CAAA,MAAA;mBACH,aAAA,CAAA,MAAA;;;;AAMd;AAED,cAAA,WAAA,SAAA,iBAAA;AA8DE,8BAAA,gBAAA;;;;AAMA;;AAPW,iBAAAA,aAAA,CAAA,sBAAA,CAAA,WAAA,2EAAA,gBAAA;AAUZ;;;;"}
|
package/pages/query/index.d.ts
CHANGED
|
@@ -250,8 +250,8 @@ declare class QueryPageStore extends InjectableComponent {
|
|
|
250
250
|
readonly childrenKey: _angular_core.InputSignal<string>;
|
|
251
251
|
readonly additionalColumns: _angular_core.InputSignal<(items: object[]) => string[]>;
|
|
252
252
|
readonly additionalColumnNames: _angular_core.InputSignal<string[]>;
|
|
253
|
-
readonly extractedColumnNames: _angular_core.InputSignal<
|
|
254
|
-
readonly columnNames: _angular_core.InputSignal<
|
|
253
|
+
readonly extractedColumnNames: _angular_core.InputSignal<any>;
|
|
254
|
+
readonly columnNames: _angular_core.InputSignal<any[]>;
|
|
255
255
|
readonly sticky: _angular_core.InputSignal<{
|
|
256
256
|
stickyStart: number;
|
|
257
257
|
stickyEnd: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/query/interfaces/action-id.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/interfaces/table-cell-change.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/utils/items-map.builder.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-action.reducer.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-page.store.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-page.component.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/query/interfaces/action-id.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/interfaces/table-cell-change.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/utils/items-map.builder.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-action.reducer.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-page.store.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query/query-page.component.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AACE;AACA;AACA;AACA;AACA;AACD;;ACND;;AAEG;AACG;;;;;;;AAOL;AAED;;AAEG;AACG;;;;;;;;;AASH;AACD;AACE;;;;AACA;;;;;AAEH;AAED;;AAEG;AACG;;AAEJ;;AAEA;AACD;;ACpCD;;AAEG;AACH;AAaA;;AAEG;AACH;;AClBA;;;;;;AAQC;;AC+BD;;AAGE;;;;;;;;;;;;;;;AAS8B;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;AAAA;;;;;;;AAMkB;;;;;;;;;;;;;AAGoB;AAEpE;AAUA;AAaA;;AAWA;;AAcA;AAOA;AAOA;AAaA;AAaA;AAuBA;AASA;AAaA;AASA;AAIA;AAIA;AAWA;AAIA;AAIA;AAIA;;;AAYA;AAIA;AAIA;;AAgCA;AAMA;AAIA;AASA;;;;;;;AA/P8B;;;;;AAgQ+B;;;;;;;;;;;;;;;;;;;;;;AAyB7D;;;AAA6E;AAC7E;;;;;;;;;;;;;;;AAAoJ;;;;;;;;;AASpJ;;;;;;AASD;;ACnVD;;;AAgEE;AACA;AACA;AACA;;;;;;;;AAuB2C;;AAe3C;;AAAwC;;;AAGzC;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/query-v2/query-v2.page.store.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query-v2/query-v2.page.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;;;;AAcA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/pages/query-v2/query-v2.page.store.ts","../../../../../../packages/@xxmachina/components/src/lib/pages/query-v2/query-v2.page.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;;;;AAcA;AACE;AACD;AAED;AAEE;AAEA;;AAEG;AACH;;;;;;AAYA;;;;;AAcA;AAKA;AAKA;;;AAUA;;AAOA;;;;AAA8D;;;;;AAuB9D;;;;;;AASG;;;AA8BH;;;AAGD;;AC7HD;AAgCE;;AAIA;;;AAGD;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/command/command.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;AAiBM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/command/command.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;AAiBM;AAA6D;;AAE7D;AACN;AAKA;;;AAEC;AAED;AAEE;AACA;AACA;AACA;AACA;AAGA;AACA;;;;;AAgBA;;AAWA;AAIA;AAIA;AAIM;;;;AAyDN;AAWA;AAUA;;;;AAQD;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as rxjs from 'rxjs';
|
|
2
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
import { Message } from '@ng-atomic/common/models';
|
|
4
4
|
import { OpenAIService } from '@xxmachina/components/services/openai';
|
|
5
5
|
|
|
@@ -9,9 +9,9 @@ declare class MESSAGES {
|
|
|
9
9
|
}
|
|
10
10
|
declare class MessageService {
|
|
11
11
|
readonly messages: _angular_core.WritableSignal<Message[]>;
|
|
12
|
-
readonly messages$:
|
|
12
|
+
readonly messages$: Observable<Message[]>;
|
|
13
13
|
readonly latestMessage: _angular_core.Signal<Message>;
|
|
14
|
-
readonly latestMessage$:
|
|
14
|
+
readonly latestMessage$: Observable<Message | null>;
|
|
15
15
|
readonly openai: OpenAIService;
|
|
16
16
|
pushMessage(message: Message): void;
|
|
17
17
|
clearMessages(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/message/message.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/message/message.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAOA,cAAA,QAAA;AACE,iCAAA,OAAA;AAKA,mCAAA,OAAA;AAKD;AAED,cAAA,cAAA;uBAEmB,aAAA,CAAA,cAAA,CAAA,OAAA;;4BAEK,aAAA,CAAA,MAAA,CAAA,OAAA;;;AAItB,yBAAA,OAAA;AAIA;AAIA,qCAAA,OAAA;;;AAKD;;;;"}
|
|
@@ -18,6 +18,14 @@ declare class AgentTemplate extends NgAtomicComponent implements AfterViewInit {
|
|
|
18
18
|
protected store: EntranceTemplateStore;
|
|
19
19
|
private cdr;
|
|
20
20
|
private app;
|
|
21
|
+
private readonly authState;
|
|
22
|
+
protected readonly isLoggedIn: _angular_core.Signal<boolean>;
|
|
23
|
+
readonly endActions: _angular_core.InputSignal<any[]>;
|
|
24
|
+
protected navStartActions: _angular_core.Signal<{
|
|
25
|
+
id: string;
|
|
26
|
+
icon: string;
|
|
27
|
+
name: string;
|
|
28
|
+
}[]>;
|
|
21
29
|
readonly xtermComponent: _angular_core.Signal<XtermOrganism>;
|
|
22
30
|
readonly inputField: _angular_core.Signal<ElementRef<HTMLTextAreaElement>>;
|
|
23
31
|
protected statusText: string;
|
|
@@ -30,6 +38,7 @@ declare class AgentTemplate extends NgAtomicComponent implements AfterViewInit {
|
|
|
30
38
|
private historyIndex;
|
|
31
39
|
protected currentInput: string;
|
|
32
40
|
ngAfterViewInit(): void;
|
|
41
|
+
onWindowResize(): void;
|
|
33
42
|
onTerminalReady(terminal: Terminal): void;
|
|
34
43
|
onGitHubLinkClick(issueNumber: number): void;
|
|
35
44
|
private showWelcomeMessage;
|
|
@@ -39,7 +48,7 @@ declare class AgentTemplate extends NgAtomicComponent implements AfterViewInit {
|
|
|
39
48
|
handleEnter(event: KeyboardEvent): void;
|
|
40
49
|
navigateHistory(event: KeyboardEvent, direction: number): void;
|
|
41
50
|
generateCommand(event?: KeyboardEvent): void;
|
|
42
|
-
|
|
51
|
+
onNavAction(action: any): void;
|
|
43
52
|
focusInput(): void;
|
|
44
53
|
adjustTextareaHeight(): void;
|
|
45
54
|
preventPrefixDeletion(_event: KeyboardEvent): void;
|
|
@@ -48,7 +57,7 @@ declare class AgentTemplate extends NgAtomicComponent implements AfterViewInit {
|
|
|
48
57
|
handleBlur(): void;
|
|
49
58
|
updateCursorPosition(): void;
|
|
50
59
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgentTemplate, never>;
|
|
51
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AgentTemplate, "templates-agent", never, {}, {}, never, never, true, [{ directive: typeof i1.EntranceTemplateStore; inputs: { "form": "form"; "actions": "actions"; "title": "title"; "fieldMap": "fieldMap"; }; outputs: {}; }]>;
|
|
60
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AgentTemplate, "templates-agent", never, { "endActions": { "alias": "endActions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.EntranceTemplateStore; inputs: { "form": "form"; "actions": "actions"; "title": "title"; "fieldMap": "fieldMap"; }; outputs: {}; }]>;
|
|
52
61
|
}
|
|
53
62
|
declare function provideAgentTemplate(): Provider[];
|
|
54
63
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/templates/agent/agent.template.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/templates/agent/agent.template.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAuBA,aAAA,QAAA;AACE;AACA;AACA;AACA;AACD;AAED,cAAA,aAAA,SAAA,iBAAA,YAAA,aAAA;;;;;;AA+FE;AACA,mCAA6B,aAAA,CAAA,MAAA;yBAEV,aAAA,CAAA,WAAA;AAEnB,+BAAyB,aAAA,CAAA,MAAA;;;;AAGtB;6BAEoB,aAAA,CAAA,MAAA,CAAA,aAAA;yBACJ,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,mBAAA;;;;;;;;;;;;;;;AAkGnB;AAIA;AAwFA;;AA+CA,2BAAA,aAAA;AAmBA,4BAAA,aAAA;;;;;;;;;;;AAyGD;AAED,iBAAA,oBAAA,IAAA,QAAA;;;;"}
|
|
@@ -1,33 +1,27 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
2
3
|
|
|
3
|
-
declare class BackgroundTemplate {
|
|
4
|
+
declare class BackgroundTemplate implements OnDestroy {
|
|
4
5
|
title: i0.InputSignal<string>;
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
private
|
|
8
|
-
protected
|
|
9
|
-
|
|
10
|
-
private frame;
|
|
6
|
+
private container;
|
|
7
|
+
private particleSystem;
|
|
8
|
+
private glitchInterval;
|
|
9
|
+
protected currentMessage: string;
|
|
10
|
+
protected isGlitching: boolean;
|
|
11
11
|
private messages;
|
|
12
|
-
private
|
|
12
|
+
private messageIndex;
|
|
13
13
|
constructor();
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
private drawText;
|
|
17
|
-
private animate;
|
|
14
|
+
private triggerGlitch;
|
|
15
|
+
ngOnDestroy(): void;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundTemplate, never>;
|
|
19
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<BackgroundTemplate, "app-background-template", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
|
-
declare class MachinaBackgroundTemplate {
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private particles;
|
|
26
|
-
protected window: Window & typeof globalThis;
|
|
27
|
-
private hue;
|
|
20
|
+
declare class MachinaBackgroundTemplate implements OnDestroy {
|
|
21
|
+
private container;
|
|
22
|
+
private particleSystem;
|
|
28
23
|
constructor();
|
|
29
|
-
|
|
30
|
-
private animate;
|
|
24
|
+
ngOnDestroy(): void;
|
|
31
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<MachinaBackgroundTemplate, never>;
|
|
32
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<MachinaBackgroundTemplate, "machina-templates-background", never, {}, {}, never, never, true, never>;
|
|
33
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/templates/background/lain-background.template.ts","../../../../../../packages/@xxmachina/components/src/lib/templates/background/background.template.ts","../../../../../../packages/@xxmachina/components/src/lib/templates/background/index.ts"],"sourcesContent":[null,null,null],"names":["_angular_core"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/templates/background/lain-background.template.ts","../../../../../../packages/@xxmachina/components/src/lib/templates/background/background.template.ts","../../../../../../packages/@xxmachina/components/src/lib/templates/background/index.ts"],"sourcesContent":[null,null,null],"names":["_angular_core"],"mappings":";;;AAGA,cAAA,kBAAA,YAAA,SAAA;AA6FE,WAAKA,EAAA,CAAA,WAAA;;;;;;;;;AAmCL;;;;AAgBD;;AChJD,cAAA,yBAAA,YAAA,SAAA;;;;;;;AAkCC;;AC9BD,iBAAA,gCAAA;;;AAEC;AAED,iBAAA,6BAAA;;;AAEC;;;;"}
|