@xxmachina/components 20.67.0 → 20.69.4
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/fesm2022/xxmachina-components-extras-flow.mjs +0 -0
- package/fesm2022/xxmachina-components-features-command.mjs +16 -16
- package/fesm2022/xxmachina-components-features-query.mjs +16 -16
- package/fesm2022/xxmachina-components-frames-qtp-v2.mjs +47 -47
- package/fesm2022/xxmachina-components-groups-command-form.mjs +5 -5
- package/fesm2022/xxmachina-components-groups-query-form.mjs +10 -10
- package/fesm2022/xxmachina-components-molecules-app-selector.mjs +3 -3
- package/fesm2022/xxmachina-components-molecules-calendar-paginator.mjs +3 -3
- package/fesm2022/xxmachina-components-molecules-daily-cell.mjs +12 -12
- package/fesm2022/xxmachina-components-molecules-inline-edit-field.mjs +10 -10
- package/fesm2022/xxmachina-components-molecules-user-avatar-menu.mjs +8 -8
- package/fesm2022/xxmachina-components-molecules-version-selector.mjs +7 -7
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs +5 -5
- package/fesm2022/xxmachina-components-molecules-workspace-selector.mjs +8 -8
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs +5 -5
- package/fesm2022/xxmachina-components-organisms-event-input-section.mjs +6 -6
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs +11 -11
- package/fesm2022/xxmachina-components-organisms-video-trimmer-section.mjs +11 -11
- package/fesm2022/xxmachina-components-organisms-xterm.mjs +16 -16
- package/fesm2022/xxmachina-components-pages-command.mjs +25 -25
- package/fesm2022/xxmachina-components-pages-query-v2.mjs +23 -23
- package/fesm2022/xxmachina-components-pages-query.mjs +51 -51
- package/fesm2022/xxmachina-components-pages-thread.mjs +13 -13
- package/fesm2022/xxmachina-components-routes-preloading.mjs +3 -3
- package/fesm2022/xxmachina-components-routes-queries.mjs +1 -1
- package/fesm2022/{xxmachina-components-routes-resources-pages.routes-DEu2qpeu.mjs → xxmachina-components-routes-resources-pages.routes-BHb0I2nz.mjs} +1 -1
- package/fesm2022/{xxmachina-components-routes-resources-resource.routes-CWxi2agj.mjs → xxmachina-components-routes-resources-resource.routes-CSp_8C3O.mjs} +1 -1
- package/fesm2022/xxmachina-components-routes-resources.mjs +1 -1
- package/fesm2022/xxmachina-components-routes-transformer.mjs +6 -6
- package/fesm2022/xxmachina-components-routes-transformers.mjs +1 -1
- package/fesm2022/xxmachina-components-services-app-bar.mjs +3 -3
- package/fesm2022/xxmachina-components-services-app.mjs +3 -3
- package/fesm2022/xxmachina-components-services-assistant.mjs +3 -3
- package/fesm2022/xxmachina-components-services-command.mjs +4 -4
- package/fesm2022/xxmachina-components-services-context.mjs +4 -4
- package/fesm2022/xxmachina-components-services-contract.mjs +3 -3
- package/fesm2022/xxmachina-components-services-debug.mjs +4 -4
- package/fesm2022/xxmachina-components-services-forms-query.mjs +3 -3
- package/fesm2022/xxmachina-components-services-forms-schedule.mjs +3 -3
- package/fesm2022/xxmachina-components-services-forms-variables.mjs +3 -3
- package/fesm2022/xxmachina-components-services-graphql.mjs +3 -3
- package/fesm2022/xxmachina-components-services-invoice.mjs +3 -3
- package/fesm2022/xxmachina-components-services-json-schema.mjs +3 -3
- package/fesm2022/xxmachina-components-services-message.mjs +5 -5
- package/fesm2022/xxmachina-components-services-openai.mjs +9 -9
- package/fesm2022/xxmachina-components-services-openapi.mjs +3 -3
- package/fesm2022/xxmachina-components-services-order.mjs +3 -3
- package/fesm2022/xxmachina-components-services-partner.mjs +3 -3
- package/fesm2022/xxmachina-components-services-query.mjs +3 -3
- package/fesm2022/xxmachina-components-services-recording.mjs +7 -7
- package/fesm2022/xxmachina-components-services-thread.mjs +3 -3
- package/fesm2022/xxmachina-components-services-transformer.mjs +3 -3
- package/fesm2022/xxmachina-components-services-version.mjs +8 -8
- package/fesm2022/xxmachina-components-services-youtube.mjs +3 -3
- package/fesm2022/xxmachina-components-templates-agent.mjs +11 -11
- package/fesm2022/xxmachina-components-templates-background.mjs +20 -20
- package/fesm2022/xxmachina-components-templates-env.mjs +26 -26
- package/fesm2022/xxmachina-components-templates-flow-nodes-group.mjs +4 -4
- package/fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs +3 -3
- package/fesm2022/xxmachina-components-templates-flow-nodes-task.mjs +3 -3
- package/fesm2022/xxmachina-components-templates-flow.mjs +18 -18
- package/fesm2022/xxmachina-components-templates-invoice-iframe.mjs +3 -3
- package/fesm2022/xxmachina-components-templates-machina-icon-button-menu.mjs +9 -9
- package/fesm2022/xxmachina-components-templates-machina-menu.mjs +7 -7
- package/fesm2022/xxmachina-components-templates-scheduler.mjs +3 -3
- package/fesm2022/xxmachina-components-templates-video.mjs +14 -14
- package/fesm2022/xxmachina-components.mjs +26 -26
- package/package.json +1 -1
|
@@ -11,10 +11,10 @@ class ContractService {
|
|
|
11
11
|
query: `query { contracts { id no title issueDate orderIds } }`,
|
|
12
12
|
}).pipe(map((data => data?.data?.contracts ?? [])), map((contracts) => contracts.map((contract) => Contract.from({ ...contract }))));
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
15
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContractService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContractService, providedIn: 'root' });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContractService, decorators: [{
|
|
18
18
|
type: Injectable,
|
|
19
19
|
args: [{ providedIn: 'root' }]
|
|
20
20
|
}] });
|
|
@@ -3,7 +3,7 @@ import { signal, inject, effect, Injectable, provideAppInitializer } from '@angu
|
|
|
3
3
|
import { SnackBarService } from '@ng-atomic/common/services/snack-bar';
|
|
4
4
|
|
|
5
5
|
class MachinaDevService {
|
|
6
|
-
isDevMode = signal(false, ...(ngDevMode ? [{ debugName: "isDevMode" }] : []));
|
|
6
|
+
isDevMode = signal(false, ...(ngDevMode ? [{ debugName: "isDevMode" }] : /* istanbul ignore next */ []));
|
|
7
7
|
snackBar = inject(SnackBarService);
|
|
8
8
|
toggleDevMode() {
|
|
9
9
|
this.isDevMode.update(isDevMode => !isDevMode);
|
|
@@ -23,10 +23,10 @@ class MachinaDevService {
|
|
|
23
23
|
initialized = true;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
27
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaDevService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaDevService, providedIn: 'root' });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaDevService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{ providedIn: 'root' }]
|
|
32
32
|
}], ctorParameters: () => [] });
|
|
@@ -50,10 +50,10 @@ class QueryFormService {
|
|
|
50
50
|
updatedAt: null,
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
54
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
54
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFormService, providedIn: 'root' });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFormService, decorators: [{
|
|
57
57
|
type: Injectable,
|
|
58
58
|
args: [{
|
|
59
59
|
providedIn: 'root'
|
|
@@ -55,10 +55,10 @@ class ScheduleService {
|
|
|
55
55
|
for (const schedule of schedules)
|
|
56
56
|
scheduleForm.push(this.buildScheduleForm(schedule));
|
|
57
57
|
}
|
|
58
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
59
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScheduleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
59
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScheduleService, providedIn: 'root' });
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScheduleService, decorators: [{
|
|
62
62
|
type: Injectable,
|
|
63
63
|
args: [{
|
|
64
64
|
providedIn: 'root'
|
|
@@ -16,10 +16,10 @@ class VariablesFromService {
|
|
|
16
16
|
build(value) {
|
|
17
17
|
return buildVariablesForm(value, this.fb);
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
20
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VariablesFromService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VariablesFromService, providedIn: 'root' });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VariablesFromService, decorators: [{
|
|
23
23
|
type: Injectable,
|
|
24
24
|
args: [{ providedIn: 'root' }]
|
|
25
25
|
}] });
|
|
@@ -15,10 +15,10 @@ class GraphqlService {
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
19
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlService, providedIn: 'root' });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlService, decorators: [{
|
|
22
22
|
type: Injectable,
|
|
23
23
|
args: [{ providedIn: 'root' }]
|
|
24
24
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
@@ -110,10 +110,10 @@ class InvoiceService {
|
|
|
110
110
|
async sync() {
|
|
111
111
|
return lastValueFrom(this.http.post(`/api-next/invoices/sync`, {}));
|
|
112
112
|
}
|
|
113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
114
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: InvoiceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
114
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: InvoiceService, providedIn: 'root' });
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: InvoiceService, decorators: [{
|
|
117
117
|
type: Injectable,
|
|
118
118
|
args: [{
|
|
119
119
|
providedIn: 'root'
|
|
@@ -40,10 +40,10 @@ class JsonSchemaService {
|
|
|
40
40
|
}
|
|
41
41
|
return schema;
|
|
42
42
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
44
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: JsonSchemaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: JsonSchemaService, providedIn: 'root' });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: JsonSchemaService, decorators: [{
|
|
47
47
|
type: Injectable,
|
|
48
48
|
args: [{ providedIn: 'root' }]
|
|
49
49
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
@@ -16,9 +16,9 @@ class MESSAGES {
|
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
18
|
class MessageService {
|
|
19
|
-
messages = signal([], ...(ngDevMode ? [{ debugName: "messages" }] : []));
|
|
19
|
+
messages = signal([], ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
|
|
20
20
|
messages$ = toObservable(this.messages);
|
|
21
|
-
latestMessage = computed(() => this.messages().at(-1) ?? null, ...(ngDevMode ? [{ debugName: "latestMessage" }] : []));
|
|
21
|
+
latestMessage = computed(() => this.messages().at(-1) ?? null, ...(ngDevMode ? [{ debugName: "latestMessage" }] : /* istanbul ignore next */ []));
|
|
22
22
|
latestMessage$ = toObservable(this.latestMessage);
|
|
23
23
|
openai = inject(OpenAIService);
|
|
24
24
|
pushMessage(message) {
|
|
@@ -32,10 +32,10 @@ class MessageService {
|
|
|
32
32
|
this.messages.set(completed);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
36
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MessageService, decorators: [{
|
|
39
39
|
type: Injectable,
|
|
40
40
|
args: [{ providedIn: 'root' }]
|
|
41
41
|
}] });
|
|
@@ -48,9 +48,9 @@ function provideOpenaiBackendUrl(url) {
|
|
|
48
48
|
}
|
|
49
49
|
class OpenAIService {
|
|
50
50
|
config = inject(OPENAI_CONFIG);
|
|
51
|
-
apiKey = signal(this.config?.apiKey, ...(ngDevMode ? [{ debugName: "apiKey" }] : []));
|
|
52
|
-
openai = computed(() => new OpenAI(this.config), ...(ngDevMode ? [{ debugName: "openai" }] : []));
|
|
53
|
-
hasApiKey = computed(() => this.apiKey()?.trim() !== '', ...(ngDevMode ? [{ debugName: "hasApiKey" }] : []));
|
|
51
|
+
apiKey = signal(this.config?.apiKey, ...(ngDevMode ? [{ debugName: "apiKey" }] : /* istanbul ignore next */ []));
|
|
52
|
+
openai = computed(() => new OpenAI(this.config), ...(ngDevMode ? [{ debugName: "openai" }] : /* istanbul ignore next */ []));
|
|
53
|
+
hasApiKey = computed(() => this.apiKey()?.trim() !== '', ...(ngDevMode ? [{ debugName: "hasApiKey" }] : /* istanbul ignore next */ []));
|
|
54
54
|
async complete(_messages) {
|
|
55
55
|
const resolvedMessages = await Promise.all(_messages.map(message => OpenAiMessageHelper.buildMessage(message)));
|
|
56
56
|
console.debug('[OpenAIService] resolvedMessages', resolvedMessages);
|
|
@@ -64,10 +64,10 @@ class OpenAIService {
|
|
|
64
64
|
{ role: 'assistant', content: assistantMessage, time: new Date() }
|
|
65
65
|
];
|
|
66
66
|
}
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
68
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
68
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIService, providedIn: 'root' });
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIService, decorators: [{
|
|
71
71
|
type: Injectable,
|
|
72
72
|
args: [{ providedIn: 'root' }]
|
|
73
73
|
}] });
|
|
@@ -87,10 +87,10 @@ class OpenAIViaBackendService extends OpenAIService {
|
|
|
87
87
|
{ role: 'assistant', content: assistantMessage, time: new Date() }
|
|
88
88
|
];
|
|
89
89
|
}
|
|
90
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
91
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
90
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIViaBackendService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIViaBackendService });
|
|
92
92
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenAIViaBackendService, decorators: [{
|
|
94
94
|
type: Injectable
|
|
95
95
|
}] });
|
|
96
96
|
function provideOpenAIViaBackendService(backendUrl) {
|
|
@@ -20,10 +20,10 @@ class OpenApiService {
|
|
|
20
20
|
getOpenApiSchema(url) {
|
|
21
21
|
return this.http.get(url);
|
|
22
22
|
}
|
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
24
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
24
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenApiService, providedIn: 'root' });
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OpenApiService, decorators: [{
|
|
27
27
|
type: Injectable,
|
|
28
28
|
args: [{
|
|
29
29
|
providedIn: 'root'
|
|
@@ -17,10 +17,10 @@ class OrderService {
|
|
|
17
17
|
...order,
|
|
18
18
|
}))));
|
|
19
19
|
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
21
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OrderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OrderService, providedIn: 'root' });
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: OrderService, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{
|
|
26
26
|
providedIn: 'root'
|
|
@@ -24,10 +24,10 @@ class PartnerService {
|
|
|
24
24
|
} }`
|
|
25
25
|
}).pipe(map((data => data?.data?.partners ?? [])), map((partners) => partners.map((partner) => Partner.from({ ...partner }))));
|
|
26
26
|
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
28
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PartnerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PartnerService, providedIn: 'root' });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PartnerService, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{ providedIn: 'root' }]
|
|
33
33
|
}] });
|
|
@@ -41,10 +41,10 @@ class QueryService {
|
|
|
41
41
|
const endpoint = `${options.baseUrl}/generate`;
|
|
42
42
|
return lastValueFrom(this.http.post(endpoint, { instructions }));
|
|
43
43
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
45
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryService, providedIn: 'root' });
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryService, decorators: [{
|
|
48
48
|
type: Injectable,
|
|
49
49
|
args: [{ providedIn: 'root' }]
|
|
50
50
|
}] });
|
|
@@ -8,12 +8,12 @@ import { toSignal } from '@angular/core/rxjs-interop';
|
|
|
8
8
|
class RecordingService {
|
|
9
9
|
constructor() {
|
|
10
10
|
}
|
|
11
|
-
stream = signal(null, ...(ngDevMode ? [{ debugName: "stream" }] : []));
|
|
12
|
-
recorder = computed(() => this.stream() ? new MediaRecorder(this.stream()) : null, ...(ngDevMode ? [{ debugName: "recorder" }] : []));
|
|
11
|
+
stream = signal(null, ...(ngDevMode ? [{ debugName: "stream" }] : /* istanbul ignore next */ []));
|
|
12
|
+
recorder = computed(() => this.stream() ? new MediaRecorder(this.stream()) : null, ...(ngDevMode ? [{ debugName: "recorder" }] : /* istanbul ignore next */ []));
|
|
13
13
|
isRecording$ = interval(500).pipe(map(() => this.recorder()?.state === 'recording'));
|
|
14
14
|
isRecording = toSignal(this.isRecording$);
|
|
15
|
-
recordedChunks = signal([], ...(ngDevMode ? [{ debugName: "recordedChunks" }] : []));
|
|
16
|
-
startTime = signal(null, ...(ngDevMode ? [{ debugName: "startTime" }] : []));
|
|
15
|
+
recordedChunks = signal([], ...(ngDevMode ? [{ debugName: "recordedChunks" }] : /* istanbul ignore next */ []));
|
|
16
|
+
startTime = signal(null, ...(ngDevMode ? [{ debugName: "startTime" }] : /* istanbul ignore next */ []));
|
|
17
17
|
async stopStream() {
|
|
18
18
|
if (this.stream()) {
|
|
19
19
|
this.stream().getTracks().forEach(track => track.stop());
|
|
@@ -42,10 +42,10 @@ class RecordingService {
|
|
|
42
42
|
this.startTime.set(null);
|
|
43
43
|
return fixWebmDuration(blob, time);
|
|
44
44
|
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
46
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RecordingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
46
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RecordingService, providedIn: 'root' });
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RecordingService, decorators: [{
|
|
49
49
|
type: Injectable,
|
|
50
50
|
args: [{ providedIn: 'root' }]
|
|
51
51
|
}], ctorParameters: () => [] });
|
|
@@ -105,10 +105,10 @@ class ThreadService {
|
|
|
105
105
|
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
109
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
109
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadService, providedIn: 'root' });
|
|
110
110
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadService, decorators: [{
|
|
112
112
|
type: Injectable,
|
|
113
113
|
args: [{ providedIn: 'root' }]
|
|
114
114
|
}] });
|
|
@@ -13,10 +13,10 @@ class TransformerService {
|
|
|
13
13
|
async runTests(transformer, specs) {
|
|
14
14
|
return Promise.all(specs.map(spec => this.runTest(transformer, spec)));
|
|
15
15
|
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TransformerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TransformerService, providedIn: 'root' });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TransformerService, decorators: [{
|
|
20
20
|
type: Injectable,
|
|
21
21
|
args: [{ providedIn: 'root' }]
|
|
22
22
|
}] });
|
|
@@ -112,8 +112,8 @@ class VersionService {
|
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
versions = signal(DEFAULT_VERSIONS, ...(ngDevMode ? [{ debugName: "versions" }] : []));
|
|
116
|
-
isLoading = signal(true, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
115
|
+
versions = signal(DEFAULT_VERSIONS, ...(ngDevMode ? [{ debugName: "versions" }] : /* istanbul ignore next */ []));
|
|
116
|
+
isLoading = signal(true, ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
|
|
117
117
|
isVersionedHost(hostname) {
|
|
118
118
|
return this.matchVersionedHost(hostname);
|
|
119
119
|
}
|
|
@@ -126,12 +126,12 @@ class VersionService {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
return null;
|
|
129
|
-
}, ...(ngDevMode ? [{ debugName: "currentVersion" }] : []));
|
|
130
|
-
currentVersionLabel = computed(() => resolveVersionLabel(this.versions(), this.currentVersion()), ...(ngDevMode ? [{ debugName: "currentVersionLabel" }] : []));
|
|
129
|
+
}, ...(ngDevMode ? [{ debugName: "currentVersion" }] : /* istanbul ignore next */ []));
|
|
130
|
+
currentVersionLabel = computed(() => resolveVersionLabel(this.versions(), this.currentVersion()), ...(ngDevMode ? [{ debugName: "currentVersionLabel" }] : /* istanbul ignore next */ []));
|
|
131
131
|
isCloudflareEnv = computed(() => {
|
|
132
132
|
const hostname = this.document.location.hostname;
|
|
133
133
|
return this.isVersionedHost(hostname) || hostname === 'localhost';
|
|
134
|
-
}, ...(ngDevMode ? [{ debugName: "isCloudflareEnv" }] : []));
|
|
134
|
+
}, ...(ngDevMode ? [{ debugName: "isCloudflareEnv" }] : /* istanbul ignore next */ []));
|
|
135
135
|
async initialize() {
|
|
136
136
|
if (this.initialized)
|
|
137
137
|
return;
|
|
@@ -221,10 +221,10 @@ class VersionService {
|
|
|
221
221
|
}
|
|
222
222
|
this.isLoading.set(false);
|
|
223
223
|
}
|
|
224
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
225
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VersionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
225
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VersionService, providedIn: 'root' });
|
|
226
226
|
}
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VersionService, decorators: [{
|
|
228
228
|
type: Injectable,
|
|
229
229
|
args: [{ providedIn: 'root' }]
|
|
230
230
|
}], ctorParameters: () => [] });
|
|
@@ -10,10 +10,10 @@ class YoutubeService {
|
|
|
10
10
|
.catch((err => console.error('err:', err)));
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YoutubeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YoutubeService, providedIn: 'root' });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: YoutubeService, decorators: [{
|
|
17
17
|
type: Injectable,
|
|
18
18
|
args: [{
|
|
19
19
|
providedIn: 'root'
|
|
@@ -74,16 +74,16 @@ class AgentTemplate extends NgAtomicComponent {
|
|
|
74
74
|
cdr = inject(ChangeDetectorRef);
|
|
75
75
|
app = inject(AppService);
|
|
76
76
|
authState = injectAuthState();
|
|
77
|
-
isLoggedIn = computed(() => !!this.authState(), ...(ngDevMode ? [{ debugName: "isLoggedIn" }] : []));
|
|
78
|
-
endActions = input([], ...(ngDevMode ? [{ debugName: "endActions" }] : []));
|
|
79
|
-
hideInputArea = input(false, ...(ngDevMode ? [{ debugName: "hideInputArea" }] : []));
|
|
77
|
+
isLoggedIn = computed(() => !!this.authState(), ...(ngDevMode ? [{ debugName: "isLoggedIn" }] : /* istanbul ignore next */ []));
|
|
78
|
+
endActions = input([], ...(ngDevMode ? [{ debugName: "endActions" }] : /* istanbul ignore next */ []));
|
|
79
|
+
hideInputArea = input(false, ...(ngDevMode ? [{ debugName: "hideInputArea" }] : /* istanbul ignore next */ []));
|
|
80
80
|
navStartActions = computed(() => {
|
|
81
81
|
if (!this.isLoggedIn())
|
|
82
82
|
return [];
|
|
83
83
|
return [{ id: 'close-side-app', icon: 'close', name: '閉じる' }];
|
|
84
|
-
}, ...(ngDevMode ? [{ debugName: "navStartActions" }] : []));
|
|
85
|
-
xtermComponent = viewChild('xtermComponent', ...(ngDevMode ? [{ debugName: "xtermComponent" }] : []));
|
|
86
|
-
inputField = viewChild('inputField', ...(ngDevMode ? [{ debugName: "inputField" }] : []));
|
|
84
|
+
}, ...(ngDevMode ? [{ debugName: "navStartActions" }] : /* istanbul ignore next */ []));
|
|
85
|
+
xtermComponent = viewChild('xtermComponent', ...(ngDevMode ? [{ debugName: "xtermComponent" }] : /* istanbul ignore next */ []));
|
|
86
|
+
inputField = viewChild('inputField', ...(ngDevMode ? [{ debugName: "inputField" }] : /* istanbul ignore next */ []));
|
|
87
87
|
statusText = 'Ready';
|
|
88
88
|
isProcessing = false;
|
|
89
89
|
showCursor = false;
|
|
@@ -363,8 +363,8 @@ class AgentTemplate extends NgAtomicComponent {
|
|
|
363
363
|
this.cursorTop = 12 + (currentLineIndex * 20) - scrollTop;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
367
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AgentTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
367
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: AgentTemplate, isStandalone: true, selector: "templates-agent", inputs: { endActions: { classPropertyName: "endActions", publicName: "endActions", isSignal: true, isRequired: false, transformFunction: null }, hideInputArea: { classPropertyName: "hideInputArea", publicName: "hideInputArea", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "window:resize": "onWindowResize()" }, classAttribute: "template" }, viewQueries: [{ propertyName: "xtermComponent", first: true, predicate: ["xtermComponent"], descendants: true, isSignal: true }, { propertyName: "inputField", first: true, predicate: ["inputField"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.EntranceTemplateStore, inputs: ["form", "form", "actions", "actions", "title", "title", "fieldMap", "fieldMap"] }], ngImport: i0, template: `
|
|
368
368
|
<frames-scroll class="terminal-window">
|
|
369
369
|
<organisms-navigator top injectable class="terminal-header"
|
|
370
370
|
[startActions]="navStartActions()"
|
|
@@ -420,9 +420,9 @@ class AgentTemplate extends NgAtomicComponent {
|
|
|
420
420
|
</div>
|
|
421
421
|
}
|
|
422
422
|
</frames-scroll>
|
|
423
|
-
`, isInline: true, styles: [":host{--text: #e0e0e0;--text-SCOPED-IN-entrance-
|
|
423
|
+
`, isInline: true, styles: [":host{--text: #e0e0e0;--text-SCOPED-IN-entrance-oKKO: var(--text);--user: #33ff33;--user-SCOPED-IN-entrance-oKKO: var(--user);--sys: #888;--sys-SCOPED-IN-entrance-oKKO: var(--sys);--accent: #ff79c6;--accent-SCOPED-IN-entrance-oKKO: var(--accent);--border: rgba(51, 51, 51, .5);--border-SCOPED-IN-entrance-oKKO: var(--border)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}:host{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:transparent;font-family:SF Mono,Monaco,monospace;padding-top:env(safe-area-inset-top);transition:all .3s ease}.terminal-window{--height: 100%;--contents-gap: 0;width:100%;height:100%;background:#0a0a0a;animation:fadeIn .3s;transition:all .3s ease}.terminal-header{display:flex;justify-content:space-between;align-items:center;height:56px;min-height:56px;flex-shrink:0;padding:0;background:#1a1a1a99;border-bottom:1px solid var(--border-SCOPED-IN-entrance-oKKO);transition:all .3s ease;position:relative}.terminal-header .close-button{color:var(--sys-SCOPED-IN-entrance-oKKO);margin-right:.5rem;opacity:.7}.terminal-header .close-button:hover{color:var(--text-SCOPED-IN-entrance-oKKO);opacity:1}.terminal-header .terminal-title{font-size:13px;color:var(--text-SCOPED-IN-entrance-oKKO);font-weight:500;flex:1}.terminal-header .terminal-status{font-size:12px;color:var(--sys-SCOPED-IN-entrance-oKKO);opacity:.7}.terminal-display{width:100%;height:100%;background:#0a0a0a}.input-area{background:#000000e6;border-top:1px solid var(--border-SCOPED-IN-entrance-oKKO);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:all .3s ease;padding:16px 20px}.input-line{display:block;position:relative}.input-line .input-prefix{display:none}.input-line .textarea-wrapper{display:flex;align-items:flex-start;position:relative;border:1px solid rgba(255,255,255,.2);border-radius:4px;transition:border-color .2s ease}.input-line .textarea-wrapper:focus-within{border-color:#fff6}.input-line .textarea-wrapper .arrow-prefix{color:#e0e0e0;font-family:SF Mono,Monaco,monospace;font-size:14px;font-weight:400;padding:12px 0 12px 16px;flex-shrink:0;pointer-events:none}.input-line .textarea-wrapper .input-container{flex:1;position:relative;overflow:hidden}.input-line .textarea-wrapper .terminal-input{width:100%;background:transparent;border:none;outline:none;color:#e0e0e0;font-family:SF Mono,Monaco,monospace;font-size:14px;font-weight:400;caret-color:transparent;padding:12px 16px 12px 8px;transition:none;resize:none;height:44px;min-height:44px;max-height:200px;overflow-y:auto;overflow-x:hidden;line-height:20px;box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word}.input-line .textarea-wrapper .terminal-input::selection{background:#ffffff4d}.input-line .textarea-wrapper .terminal-input{caret-shape:block}.input-line .textarea-wrapper .terminal-input:disabled{opacity:.5;cursor:not-allowed}.input-line .textarea-wrapper .terminal-input:-webkit-autofill{-webkit-text-fill-color:#e0e0e0;-webkit-box-shadow:0 0 0 1000px rgba(0,0,0,.9) inset}.input-line .textarea-wrapper .terminal-input::placeholder{color:#ffffff4d;opacity:1}.input-line .textarea-wrapper .block-cursor{position:absolute;width:10px;height:20px;background:#e0e0e0;opacity:0;pointer-events:none}.input-line .textarea-wrapper .block-cursor.visible{animation:blink 1s infinite}@keyframes blink{0%,50%{opacity:.8}51%,to{opacity:0}}:host:has(.terminal-window){height:100vh;height:100dvh;overflow-y:auto}.ascii-art{font-family:Consolas,Monaco,Liberation Mono,Menlo,Courier New,monospace!important;font-size:10px!important;line-height:1.1!important;letter-spacing:0!important;font-weight:400!important;margin:1em 0!important;padding:1em!important;white-space:pre!important;overflow-x:auto!important;overflow-y:hidden!important;display:block!important;width:fit-content!important;background:#ffffff08;border:1px solid var(--border-SCOPED-IN-entrance-oKKO);border-radius:4px;color:var(--accent-SCOPED-IN-entrance-oKKO)!important;opacity:.9;text-shadow:0 0 10px var(--accent-SCOPED-IN-entrance-oKKO),0 0 20px var(--accent-SCOPED-IN-entrance-oKKO);-webkit-font-smoothing:none!important;-moz-osx-font-smoothing:unset!important;font-variant-ligatures:none!important;text-rendering:optimizeLegibility!important}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "component", type: XtermOrganism, selector: "organisms-xterm", outputs: ["terminalReady", "githubLinkClick"] }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
424
424
|
}
|
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AgentTemplate, decorators: [{
|
|
426
426
|
type: Component,
|
|
427
427
|
args: [{ selector: 'templates-agent', imports: [
|
|
428
428
|
FormsModule,
|
|
@@ -505,7 +505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
505
505
|
'fieldMap',
|
|
506
506
|
],
|
|
507
507
|
},
|
|
508
|
-
], styles: [":host{--text: #e0e0e0;--text-SCOPED-IN-entrance-
|
|
508
|
+
], styles: [":host{--text: #e0e0e0;--text-SCOPED-IN-entrance-oKKO: var(--text);--user: #33ff33;--user-SCOPED-IN-entrance-oKKO: var(--user);--sys: #888;--sys-SCOPED-IN-entrance-oKKO: var(--sys);--accent: #ff79c6;--accent-SCOPED-IN-entrance-oKKO: var(--accent);--border: rgba(51, 51, 51, .5);--border-SCOPED-IN-entrance-oKKO: var(--border)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}:host{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:transparent;font-family:SF Mono,Monaco,monospace;padding-top:env(safe-area-inset-top);transition:all .3s ease}.terminal-window{--height: 100%;--contents-gap: 0;width:100%;height:100%;background:#0a0a0a;animation:fadeIn .3s;transition:all .3s ease}.terminal-header{display:flex;justify-content:space-between;align-items:center;height:56px;min-height:56px;flex-shrink:0;padding:0;background:#1a1a1a99;border-bottom:1px solid var(--border-SCOPED-IN-entrance-oKKO);transition:all .3s ease;position:relative}.terminal-header .close-button{color:var(--sys-SCOPED-IN-entrance-oKKO);margin-right:.5rem;opacity:.7}.terminal-header .close-button:hover{color:var(--text-SCOPED-IN-entrance-oKKO);opacity:1}.terminal-header .terminal-title{font-size:13px;color:var(--text-SCOPED-IN-entrance-oKKO);font-weight:500;flex:1}.terminal-header .terminal-status{font-size:12px;color:var(--sys-SCOPED-IN-entrance-oKKO);opacity:.7}.terminal-display{width:100%;height:100%;background:#0a0a0a}.input-area{background:#000000e6;border-top:1px solid var(--border-SCOPED-IN-entrance-oKKO);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:all .3s ease;padding:16px 20px}.input-line{display:block;position:relative}.input-line .input-prefix{display:none}.input-line .textarea-wrapper{display:flex;align-items:flex-start;position:relative;border:1px solid rgba(255,255,255,.2);border-radius:4px;transition:border-color .2s ease}.input-line .textarea-wrapper:focus-within{border-color:#fff6}.input-line .textarea-wrapper .arrow-prefix{color:#e0e0e0;font-family:SF Mono,Monaco,monospace;font-size:14px;font-weight:400;padding:12px 0 12px 16px;flex-shrink:0;pointer-events:none}.input-line .textarea-wrapper .input-container{flex:1;position:relative;overflow:hidden}.input-line .textarea-wrapper .terminal-input{width:100%;background:transparent;border:none;outline:none;color:#e0e0e0;font-family:SF Mono,Monaco,monospace;font-size:14px;font-weight:400;caret-color:transparent;padding:12px 16px 12px 8px;transition:none;resize:none;height:44px;min-height:44px;max-height:200px;overflow-y:auto;overflow-x:hidden;line-height:20px;box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word}.input-line .textarea-wrapper .terminal-input::selection{background:#ffffff4d}.input-line .textarea-wrapper .terminal-input{caret-shape:block}.input-line .textarea-wrapper .terminal-input:disabled{opacity:.5;cursor:not-allowed}.input-line .textarea-wrapper .terminal-input:-webkit-autofill{-webkit-text-fill-color:#e0e0e0;-webkit-box-shadow:0 0 0 1000px rgba(0,0,0,.9) inset}.input-line .textarea-wrapper .terminal-input::placeholder{color:#ffffff4d;opacity:1}.input-line .textarea-wrapper .block-cursor{position:absolute;width:10px;height:20px;background:#e0e0e0;opacity:0;pointer-events:none}.input-line .textarea-wrapper .block-cursor.visible{animation:blink 1s infinite}@keyframes blink{0%,50%{opacity:.8}51%,to{opacity:0}}:host:has(.terminal-window){height:100vh;height:100dvh;overflow-y:auto}.ascii-art{font-family:Consolas,Monaco,Liberation Mono,Menlo,Courier New,monospace!important;font-size:10px!important;line-height:1.1!important;letter-spacing:0!important;font-weight:400!important;margin:1em 0!important;padding:1em!important;white-space:pre!important;overflow-x:auto!important;overflow-y:hidden!important;display:block!important;width:fit-content!important;background:#ffffff08;border:1px solid var(--border-SCOPED-IN-entrance-oKKO);border-radius:4px;color:var(--accent-SCOPED-IN-entrance-oKKO)!important;opacity:.9;text-shadow:0 0 10px var(--accent-SCOPED-IN-entrance-oKKO),0 0 20px var(--accent-SCOPED-IN-entrance-oKKO);-webkit-font-smoothing:none!important;-moz-osx-font-smoothing:unset!important;font-variant-ligatures:none!important;text-rendering:optimizeLegibility!important}\n"] }]
|
|
509
509
|
}], propDecorators: { endActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "endActions", required: false }] }], hideInputArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInputArea", required: false }] }], xtermComponent: [{ type: i0.ViewChild, args: ['xtermComponent', { isSignal: true }] }], inputField: [{ type: i0.ViewChild, args: ['inputField', { isSignal: true }] }], onWindowResize: [{
|
|
510
510
|
type: HostListener,
|
|
511
511
|
args: ['window:resize']
|