@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
|
Binary file
|
|
@@ -21,10 +21,10 @@ class CommandFormBuilder {
|
|
|
21
21
|
}),
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
25
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFormBuilder, providedIn: 'root' });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFormBuilder, decorators: [{
|
|
28
28
|
type: Injectable,
|
|
29
29
|
args: [{ providedIn: 'root' }]
|
|
30
30
|
}] });
|
|
@@ -34,21 +34,21 @@ class CommandFeature {
|
|
|
34
34
|
_commandService = inject(CommandService);
|
|
35
35
|
commandFb = inject(CommandFormBuilder);
|
|
36
36
|
jsonSchemaFb = inject(JsonSchemaFormService);
|
|
37
|
-
commandForm = computed(() => this.commandFb.build(), ...(ngDevMode ? [{ debugName: "commandForm" }] : []));
|
|
37
|
+
commandForm = computed(() => this.commandFb.build(), ...(ngDevMode ? [{ debugName: "commandForm" }] : /* istanbul ignore next */ []));
|
|
38
38
|
commandFormValue = derivedAsync(() => this.commandForm().valueChanges, { initialValue: this.commandForm().value });
|
|
39
|
-
apiJsonUrl = computed(() => this.commandFormValue()?.webApiRequest?.apiJsonUrl, ...(ngDevMode ? [{ debugName: "apiJsonUrl" }] : []));
|
|
40
|
-
path = computed(() => this.commandFormValue()?.webApiRequest?.path, ...(ngDevMode ? [{ debugName: "path" }] : []));
|
|
41
|
-
method = computed(() => this.commandFormValue()?.webApiRequest?.method?.toLowerCase(), ...(ngDevMode ? [{ debugName: "method" }] : []));
|
|
42
|
-
requestBodySchema = computed(() => this.openApi().getRequestBodySchema(this.path(), this.method()), ...(ngDevMode ? [{ debugName: "requestBodySchema" }] : []));
|
|
43
|
-
title = computed(() => this.openApi().getSummary(this.path(), this.method()), ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
39
|
+
apiJsonUrl = computed(() => this.commandFormValue()?.webApiRequest?.apiJsonUrl, ...(ngDevMode ? [{ debugName: "apiJsonUrl" }] : /* istanbul ignore next */ []));
|
|
40
|
+
path = computed(() => this.commandFormValue()?.webApiRequest?.path, ...(ngDevMode ? [{ debugName: "path" }] : /* istanbul ignore next */ []));
|
|
41
|
+
method = computed(() => this.commandFormValue()?.webApiRequest?.method?.toLowerCase(), ...(ngDevMode ? [{ debugName: "method" }] : /* istanbul ignore next */ []));
|
|
42
|
+
requestBodySchema = computed(() => this.openApi().getRequestBodySchema(this.path(), this.method()), ...(ngDevMode ? [{ debugName: "requestBodySchema" }] : /* istanbul ignore next */ []));
|
|
43
|
+
title = computed(() => this.openApi().getSummary(this.path(), this.method()), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
44
44
|
endpointAutoCompleteOptions = computed(() => {
|
|
45
45
|
return this.openApi().getEndpoints().filter((endpoint) => endpoint.startsWith(this.path()));
|
|
46
|
-
}, ...(ngDevMode ? [{ debugName: "endpointAutoCompleteOptions" }] : []));
|
|
46
|
+
}, ...(ngDevMode ? [{ debugName: "endpointAutoCompleteOptions" }] : /* istanbul ignore next */ []));
|
|
47
47
|
methodOptions = computed(() => {
|
|
48
48
|
return this.openApi().getMethods(this.commandFormValue()?.webApiRequest?.path ?? '').map((method) => ({
|
|
49
49
|
name: method.toLocaleUpperCase(), value: method.toLocaleUpperCase()
|
|
50
50
|
}));
|
|
51
|
-
}, ...(ngDevMode ? [{ debugName: "methodOptions" }] : []));
|
|
51
|
+
}, ...(ngDevMode ? [{ debugName: "methodOptions" }] : /* istanbul ignore next */ []));
|
|
52
52
|
openApi = derivedAsync(() => {
|
|
53
53
|
const url = this.apiJsonUrl();
|
|
54
54
|
return of(url).pipe(filter((url) => !!url), switchMap(() => this.openApiService.getOpenApi(url).pipe(catchError((error) => (console.error(error), NEVER)))));
|
|
@@ -60,24 +60,24 @@ class CommandFeature {
|
|
|
60
60
|
paths: {},
|
|
61
61
|
}),
|
|
62
62
|
});
|
|
63
|
-
form = computed(() => this.jsonSchemaFb.build(this.requestBodySchema(), { fb: this.fb }), ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
63
|
+
form = computed(() => this.jsonSchemaFb.build(this.requestBodySchema(), { fb: this.fb }), ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
64
64
|
extractedFormFieldMap = computed(() => this.jsonSchemaFb.buildFieldMap(this.requestBodySchema(), {
|
|
65
65
|
merge: {
|
|
66
66
|
'id': { type: 'hidden' },
|
|
67
67
|
'__typename': { type: 'hidden' },
|
|
68
68
|
'kind': { type: 'hidden' },
|
|
69
69
|
}
|
|
70
|
-
}), ...(ngDevMode ? [{ debugName: "extractedFormFieldMap" }] : []));
|
|
70
|
+
}), ...(ngDevMode ? [{ debugName: "extractedFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
71
71
|
hasPermission(command) {
|
|
72
72
|
return this._commandService.hasPermission(command);
|
|
73
73
|
}
|
|
74
74
|
execute(command, data) {
|
|
75
75
|
return this._commandService.execute(command, data);
|
|
76
76
|
}
|
|
77
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
78
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
77
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFeature, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
78
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFeature });
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFeature, decorators: [{
|
|
81
81
|
type: Injectable
|
|
82
82
|
}] });
|
|
83
83
|
|
|
@@ -53,10 +53,10 @@ class QueryUpdateFeature {
|
|
|
53
53
|
});
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
57
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryUpdateFeature, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
57
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryUpdateFeature });
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryUpdateFeature, decorators: [{
|
|
60
60
|
type: Injectable
|
|
61
61
|
}] });
|
|
62
62
|
|
|
@@ -108,10 +108,10 @@ class QueryGraphqlVariablesFormFeature {
|
|
|
108
108
|
this.feature.form.get(['graphql', 'variablesJson']).setValue(JSON.stringify(next, null, 2));
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
112
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlVariablesFormFeature, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
112
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlVariablesFormFeature });
|
|
113
113
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlVariablesFormFeature, decorators: [{
|
|
115
115
|
type: Injectable
|
|
116
116
|
}], ctorParameters: () => [] });
|
|
117
117
|
|
|
@@ -138,10 +138,10 @@ class GraphqlResolver {
|
|
|
138
138
|
? this.queryService.query(query)
|
|
139
139
|
: this.queryService.subscribe(query);
|
|
140
140
|
}
|
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
142
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
142
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlResolver });
|
|
143
143
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GraphqlResolver, decorators: [{
|
|
145
145
|
type: Injectable
|
|
146
146
|
}] });
|
|
147
147
|
|
|
@@ -210,7 +210,7 @@ class QueryFeature {
|
|
|
210
210
|
}
|
|
211
211
|
return this.auth.accessToken$.pipe(filter(accessToken => !!accessToken), map(() => query));
|
|
212
212
|
}), distinctUntilChanged((a, b) => isEqual(a, b)), debounceTime(500), this.app.loading.switchMap((query) => this.executeQuery(query), 'progress'), filter((result) => !!result), pauseWhenEditing(this.editingStateManager), shareReplay({ bufferSize: 1, refCount: true }));
|
|
213
|
-
error = signal(false, ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
213
|
+
error = signal(false, ...(ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []));
|
|
214
214
|
result = toSignal(this.result$);
|
|
215
215
|
constructor() {
|
|
216
216
|
this.form.get(['graphql', 'variablesJson']).valueChanges.pipe(takeUntilDestroyed(), debounceTime(300), distinctUntilChanged(isEqual)).subscribe(() => this.refresh());
|
|
@@ -230,10 +230,10 @@ class QueryFeature {
|
|
|
230
230
|
return of(null);
|
|
231
231
|
}));
|
|
232
232
|
}
|
|
233
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
234
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
233
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFeature, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
234
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFeature });
|
|
235
235
|
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFeature, decorators: [{
|
|
237
237
|
type: Injectable
|
|
238
238
|
}], ctorParameters: () => [] });
|
|
239
239
|
|
|
@@ -242,10 +242,10 @@ class QueryGraphqlSchemaFeature {
|
|
|
242
242
|
service = inject(QueryService);
|
|
243
243
|
graphqlSchema$ = this.feature.query$.pipe(debounceTime(300), filter(query => QueryHelper.isExecutableGetSchemaGraphql(query)), switchMap((query) => this.service.getSchema(query).pipe(catchError(error => (console.error('[QueryFeature] error', error), NEVER)))), distinctUntilChanged((a, b) => isEqual(a, b)));
|
|
244
244
|
graphqlSchema = toSignal(this.graphqlSchema$);
|
|
245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
246
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlSchemaFeature, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
246
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlSchemaFeature });
|
|
247
247
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryGraphqlSchemaFeature, decorators: [{
|
|
249
249
|
type: Injectable
|
|
250
250
|
}] });
|
|
251
251
|
|
|
@@ -21,10 +21,10 @@ class QuerySectionDirective {
|
|
|
21
21
|
static ngTemplateContextGuard(_dir, _ctx) {
|
|
22
22
|
return true;
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QuerySectionDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: QuerySectionDirective, isStandalone: true, selector: "[querySection]", ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QuerySectionDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: '[querySection]',
|
|
@@ -37,10 +37,10 @@ class TransformerSectionDirective {
|
|
|
37
37
|
constructor(templateRef) {
|
|
38
38
|
this.templateRef = templateRef;
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
41
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TransformerSectionDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: TransformerSectionDirective, isStandalone: true, selector: "[transformerSection]", ngImport: i0 });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TransformerSectionDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[transformerSection]',
|
|
@@ -53,10 +53,10 @@ class PresenterSectionDirective {
|
|
|
53
53
|
constructor(templateRef) {
|
|
54
54
|
this.templateRef = templateRef;
|
|
55
55
|
}
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
57
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PresenterSectionDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: PresenterSectionDirective, isStandalone: true, selector: "[presenterSection]", ngImport: i0 });
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PresenterSectionDirective, decorators: [{
|
|
60
60
|
type: Directive,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: '[presenterSection]',
|
|
@@ -65,11 +65,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
65
65
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
66
66
|
|
|
67
67
|
class QtpV2Select {
|
|
68
|
-
options = input([], ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
69
|
-
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
68
|
+
options = input([], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
69
|
+
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
70
70
|
valueChange = output();
|
|
71
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
72
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2Select, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QtpV2Select, isStandalone: true, selector: "frames-qtp-v2-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
|
|
73
73
|
<mat-form-field appearance="outline" class="qtp-select">
|
|
74
74
|
<mat-select [value]="value()" (selectionChange)="valueChange.emit($event.value)" panelClass="qtp-select-panel">
|
|
75
75
|
@for (option of options(); track option.id) {
|
|
@@ -79,7 +79,7 @@ class QtpV2Select {
|
|
|
79
79
|
</mat-form-field>
|
|
80
80
|
`, isInline: true, styles: [":host{display:contents}.qtp-select{width:110px;min-width:110px;max-width:110px}::ng-deep .qtp-select .mat-mdc-form-field-subscript-wrapper{display:none}::ng-deep .qtp-select .mat-mdc-text-field-wrapper{padding:0 10px!important;height:28px!important;background:#ffffff0f!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:6px!important;transition:all .2s ease!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}::ng-deep .qtp-select .mat-mdc-form-field-flex{height:28px!important}::ng-deep .qtp-select .mat-mdc-form-field-infix{padding:4px 0!important;min-height:28px!important;width:90px}::ng-deep .qtp-select .mat-mdc-select-trigger{font-size:12px!important;font-weight:500!important;letter-spacing:.2px!important;height:20px;width:90px}::ng-deep .qtp-select .mat-mdc-select-value,::ng-deep .qtp-select .mat-mdc-select-value-text,::ng-deep .qtp-select .mat-mdc-select-min-line{color:#fffffff2!important;-webkit-text-fill-color:rgba(255,255,255,.95)!important}::ng-deep .qtp-select .mat-mdc-select-arrow{color:#ffffff80!important;transition:color .2s ease,transform .2s ease!important}::ng-deep .qtp-select .mat-mdc-select-arrow svg{fill:currentColor!important}::ng-deep .qtp-select .mdc-notched-outline{display:none!important}::ng-deep .qtp-select:hover .mat-mdc-text-field-wrapper{background:#ffffff1a!important;border-color:#64b4ff66!important}::ng-deep .qtp-select:focus-within .mat-mdc-text-field-wrapper{background:#ffffff14!important;border-color:#64b4ff99!important;box-shadow:0 0 0 2px #64b4ff26!important}::ng-deep .qtp-select-panel{background:#2a2a2a!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:4px;max-height:256px}::ng-deep .qtp-select-panel .mat-mdc-option{font-size:12px;min-height:32px;padding:0 12px}::ng-deep .qtp-select-panel .mat-mdc-option .mdc-list-item__primary-text{color:#fff}::ng-deep .qtp-select-panel .mat-mdc-option:hover{background:#ffffff14!important}::ng-deep .qtp-select-panel .mat-mdc-option:hover .mdc-list-item__primary-text{color:#fff}::ng-deep .qtp-select-panel .mat-mdc-option.mat-mdc-option-active,::ng-deep .qtp-select-panel .mat-mdc-option.mat-mdc-option-selected{background:#ffffff1f!important}::ng-deep .qtp-select-panel .mat-mdc-option.mat-mdc-option-active .mdc-list-item__primary-text,::ng-deep .qtp-select-panel .mat-mdc-option.mat-mdc-option-selected .mdc-list-item__primary-text{color:#fff;font-weight:400}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2Select, decorators: [{
|
|
83
83
|
type: Component,
|
|
84
84
|
args: [{ selector: 'frames-qtp-v2-select', standalone: true, imports: [MatFormFieldModule, MatSelectModule], template: `
|
|
85
85
|
<mat-form-field appearance="outline" class="qtp-select">
|
|
@@ -93,12 +93,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
93
93
|
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
|
|
94
94
|
|
|
95
95
|
class QtpV2TransformerActions {
|
|
96
|
-
canGenerate = input(false, ...(ngDevMode ? [{ debugName: "canGenerate" }] : []));
|
|
97
|
-
generating = input(false, ...(ngDevMode ? [{ debugName: "generating" }] : []));
|
|
96
|
+
canGenerate = input(false, ...(ngDevMode ? [{ debugName: "canGenerate" }] : /* istanbul ignore next */ []));
|
|
97
|
+
generating = input(false, ...(ngDevMode ? [{ debugName: "generating" }] : /* istanbul ignore next */ []));
|
|
98
98
|
generate = output();
|
|
99
99
|
run = output();
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2TransformerActions, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QtpV2TransformerActions, isStandalone: true, selector: "frames-qtp-v2-transformer-actions", inputs: { canGenerate: { classPropertyName: "canGenerate", publicName: "canGenerate", isSignal: true, isRequired: false, transformFunction: null }, generating: { classPropertyName: "generating", publicName: "generating", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { generate: "generate", run: "run" }, ngImport: i0, template: `
|
|
102
102
|
@if (canGenerate()) {
|
|
103
103
|
<button mat-stroked-button class="qtp-generate-btn" (click)="generate.emit()" [disabled]="generating()">
|
|
104
104
|
@if (generating()) {
|
|
@@ -114,7 +114,7 @@ class QtpV2TransformerActions {
|
|
|
114
114
|
</button>
|
|
115
115
|
`, isInline: true, styles: [":host{display:contents}.qtp-generate-btn{height:26px!important;line-height:26px!important;font-size:11px!important;font-weight:500!important;letter-spacing:.3px!important;padding:0 10px!important;min-width:auto!important;background:#ffffff14!important;color:#ffffffe6!important;border-radius:6px!important;border:1px solid rgba(100,180,255,.4)!important;transition:all .15s ease!important}.qtp-generate-btn:hover:not(:disabled){background:#64b4ff26!important;border-color:#64b4ff99!important}.qtp-generate-btn:disabled{opacity:.6;cursor:not-allowed}.qtp-generate-btn .mat-icon{font-size:14px!important;width:14px!important;height:14px!important;margin-right:4px!important;color:#64b4ffe6}.qtp-generate-btn mat-spinner{display:inline-block;margin-right:4px!important;vertical-align:middle}.qtp-run-btn{height:26px!important;line-height:26px!important;font-size:11px!important;font-weight:500!important;letter-spacing:.3px!important;padding:0 12px!important;min-width:auto!important;background:#1976d2!important;color:#fff!important;border-radius:6px!important;border:none!important;box-shadow:0 2px 4px #0003!important;transition:all .15s ease!important}.qtp-run-btn:hover{background:#1e88e5!important;box-shadow:0 3px 6px #00000040!important;transform:translateY(-1px)}.qtp-run-btn:active{transform:translateY(0);box-shadow:0 1px 2px #0003!important}.qtp-run-btn .mat-icon{font-size:14px!important;width:14px!important;height:14px!important;margin-right:4px!important}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2TransformerActions, decorators: [{
|
|
118
118
|
type: Component,
|
|
119
119
|
args: [{ selector: 'frames-qtp-v2-transformer-actions', standalone: true, imports: [MatButtonModule, MatIconModule, MatProgressSpinnerModule], template: `
|
|
120
120
|
@if (canGenerate()) {
|
|
@@ -134,11 +134,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
134
134
|
}], propDecorators: { canGenerate: [{ type: i0.Input, args: [{ isSignal: true, alias: "canGenerate", required: false }] }], generating: [{ type: i0.Input, args: [{ isSignal: true, alias: "generating", required: false }] }], generate: [{ type: i0.Output, args: ["generate"] }], run: [{ type: i0.Output, args: ["run"] }] } });
|
|
135
135
|
|
|
136
136
|
class QtpV2DebugContent {
|
|
137
|
-
error = input(...(ngDevMode ? [undefined, { debugName: "error" }] : []));
|
|
138
|
-
debugLogs = input([], ...(ngDevMode ? [{ debugName: "debugLogs" }] : []));
|
|
139
|
-
formattedDebugLogs = computed(() => this.debugLogs().map((entry, index) => ({ index, text: formatDebugEntry(entry) })), ...(ngDevMode ? [{ debugName: "formattedDebugLogs" }] : []));
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
141
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
137
|
+
error = input(...(ngDevMode ? [undefined, { debugName: "error" }] : /* istanbul ignore next */ []));
|
|
138
|
+
debugLogs = input([], ...(ngDevMode ? [{ debugName: "debugLogs" }] : /* istanbul ignore next */ []));
|
|
139
|
+
formattedDebugLogs = computed(() => this.debugLogs().map((entry, index) => ({ index, text: formatDebugEntry(entry) })), ...(ngDevMode ? [{ debugName: "formattedDebugLogs" }] : /* istanbul ignore next */ []));
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2DebugContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QtpV2DebugContent, isStandalone: true, selector: "frames-qtp-v2-debug-content", inputs: { error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, debugLogs: { classPropertyName: "debugLogs", publicName: "debugLogs", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
142
142
|
@if (error()) {
|
|
143
143
|
<div class="qtp-debug-error">
|
|
144
144
|
<div class="qtp-debug-error-header">
|
|
@@ -157,7 +157,7 @@ class QtpV2DebugContent {
|
|
|
157
157
|
}
|
|
158
158
|
`, isInline: true, styles: [":host{display:contents}.qtp-debug-error{background:#f4433614;border:1px solid rgba(244,67,54,.3);border-radius:6px;overflow:hidden}.qtp-debug-error-header{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f443361f;border-bottom:1px solid rgba(244,67,54,.2);color:#ff8a80;font-weight:500}.qtp-debug-error-header mat-icon{font-size:18px;width:18px;height:18px;color:#f44336}.qtp-debug-error-message{margin:0;padding:12px;color:#ffcdd2;white-space:pre-wrap;word-break:break-word;line-height:1.5}.qtp-debug-log{background-color:#ffffff0a;border:1px solid rgba(255,255,255,.12);border-radius:4px;color:#ffffffe0;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:1.5;margin:0 0 8px;max-height:240px;overflow:auto;padding:8px;white-space:pre-wrap;word-break:break-word}.qtp-debug-empty{color:#fff6;font-style:italic}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2DebugContent, decorators: [{
|
|
161
161
|
type: Component,
|
|
162
162
|
args: [{ selector: 'frames-qtp-v2-debug-content', standalone: true, imports: [MatIconModule], template: `
|
|
163
163
|
@if (error()) {
|
|
@@ -190,30 +190,30 @@ function formatDebugEntry(value) {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
class QtpV2Frame {
|
|
193
|
-
mode = input('presentation', ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
194
|
-
expandedPanels = input(['query', 'presenter'], ...(ngDevMode ? [{ debugName: "expandedPanels" }] : []));
|
|
195
|
-
availableTransformers = input([], ...(ngDevMode ? [{ debugName: "availableTransformers" }] : []));
|
|
196
|
-
selectedTransformer = input(...(ngDevMode ? [undefined, { debugName: "selectedTransformer" }] : []));
|
|
197
|
-
availablePresenters = input([], ...(ngDevMode ? [{ debugName: "availablePresenters" }] : []));
|
|
198
|
-
selectedPresenter = input(...(ngDevMode ? [undefined, { debugName: "selectedPresenter" }] : []));
|
|
199
|
-
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
|
|
200
|
-
error = input(...(ngDevMode ? [undefined, { debugName: "error" }] : []));
|
|
201
|
-
debugLogs = input([], ...(ngDevMode ? [{ debugName: "debugLogs" }] : []));
|
|
202
|
-
canGenerateTransformer = input(false, ...(ngDevMode ? [{ debugName: "canGenerateTransformer" }] : []));
|
|
203
|
-
generatingTransformer = input(false, ...(ngDevMode ? [{ debugName: "generatingTransformer" }] : []));
|
|
193
|
+
mode = input('presentation', ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
194
|
+
expandedPanels = input(['query', 'presenter'], ...(ngDevMode ? [{ debugName: "expandedPanels" }] : /* istanbul ignore next */ []));
|
|
195
|
+
availableTransformers = input([], ...(ngDevMode ? [{ debugName: "availableTransformers" }] : /* istanbul ignore next */ []));
|
|
196
|
+
selectedTransformer = input(...(ngDevMode ? [undefined, { debugName: "selectedTransformer" }] : /* istanbul ignore next */ []));
|
|
197
|
+
availablePresenters = input([], ...(ngDevMode ? [{ debugName: "availablePresenters" }] : /* istanbul ignore next */ []));
|
|
198
|
+
selectedPresenter = input(...(ngDevMode ? [undefined, { debugName: "selectedPresenter" }] : /* istanbul ignore next */ []));
|
|
199
|
+
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
200
|
+
error = input(...(ngDevMode ? [undefined, { debugName: "error" }] : /* istanbul ignore next */ []));
|
|
201
|
+
debugLogs = input([], ...(ngDevMode ? [{ debugName: "debugLogs" }] : /* istanbul ignore next */ []));
|
|
202
|
+
canGenerateTransformer = input(false, ...(ngDevMode ? [{ debugName: "canGenerateTransformer" }] : /* istanbul ignore next */ []));
|
|
203
|
+
generatingTransformer = input(false, ...(ngDevMode ? [{ debugName: "generatingTransformer" }] : /* istanbul ignore next */ []));
|
|
204
204
|
panelStatesChange = output();
|
|
205
205
|
transformerSelected = output();
|
|
206
206
|
presenterSelected = output();
|
|
207
207
|
runTransformer = output();
|
|
208
208
|
generateTransformer = output();
|
|
209
|
-
queryTemplates = contentChildren(QuerySectionDirective, ...(ngDevMode ? [{ debugName: "queryTemplates" }] : []));
|
|
210
|
-
transformerTemplates = contentChildren(TransformerSectionDirective, ...(ngDevMode ? [{ debugName: "transformerTemplates" }] : []));
|
|
211
|
-
presenterTemplates = contentChildren(PresenterSectionDirective, ...(ngDevMode ? [{ debugName: "presenterTemplates" }] : []));
|
|
212
|
-
localPanels = signal(null, ...(ngDevMode ? [{ debugName: "localPanels" }] : []));
|
|
213
|
-
panels = computed(() => this.localPanels() ?? this.expandedPanels(), ...(ngDevMode ? [{ debugName: "panels" }] : []));
|
|
214
|
-
querySection = computed(() => this.queryTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "querySection" }] : []));
|
|
215
|
-
transformerSection = computed(() => this.transformerTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "transformerSection" }] : []));
|
|
216
|
-
presenterSection = computed(() => this.presenterTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "presenterSection" }] : []));
|
|
209
|
+
queryTemplates = contentChildren(QuerySectionDirective, ...(ngDevMode ? [{ debugName: "queryTemplates" }] : /* istanbul ignore next */ []));
|
|
210
|
+
transformerTemplates = contentChildren(TransformerSectionDirective, ...(ngDevMode ? [{ debugName: "transformerTemplates" }] : /* istanbul ignore next */ []));
|
|
211
|
+
presenterTemplates = contentChildren(PresenterSectionDirective, ...(ngDevMode ? [{ debugName: "presenterTemplates" }] : /* istanbul ignore next */ []));
|
|
212
|
+
localPanels = signal(null, ...(ngDevMode ? [{ debugName: "localPanels" }] : /* istanbul ignore next */ []));
|
|
213
|
+
panels = computed(() => this.localPanels() ?? this.expandedPanels(), ...(ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []));
|
|
214
|
+
querySection = computed(() => this.queryTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "querySection" }] : /* istanbul ignore next */ []));
|
|
215
|
+
transformerSection = computed(() => this.transformerTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "transformerSection" }] : /* istanbul ignore next */ []));
|
|
216
|
+
presenterSection = computed(() => this.presenterTemplates()[0]?.templateRef, ...(ngDevMode ? [{ debugName: "presenterSection" }] : /* istanbul ignore next */ []));
|
|
217
217
|
isExpanded(panel) {
|
|
218
218
|
return this.panels().includes(panel);
|
|
219
219
|
}
|
|
@@ -244,10 +244,10 @@ class QtpV2Frame {
|
|
|
244
244
|
onRun() {
|
|
245
245
|
this.runTransformer.emit();
|
|
246
246
|
}
|
|
247
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
248
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.6", type: QtpV2Frame, isStandalone: true, selector: "frames-qtp-v2", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, expandedPanels: { classPropertyName: "expandedPanels", publicName: "expandedPanels", isSignal: true, isRequired: false, transformFunction: null }, availableTransformers: { classPropertyName: "availableTransformers", publicName: "availableTransformers", isSignal: true, isRequired: false, transformFunction: null }, selectedTransformer: { classPropertyName: "selectedTransformer", publicName: "selectedTransformer", isSignal: true, isRequired: false, transformFunction: null }, availablePresenters: { classPropertyName: "availablePresenters", publicName: "availablePresenters", isSignal: true, isRequired: false, transformFunction: null }, selectedPresenter: { classPropertyName: "selectedPresenter", publicName: "selectedPresenter", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, debugLogs: { classPropertyName: "debugLogs", publicName: "debugLogs", isSignal: true, isRequired: false, transformFunction: null }, canGenerateTransformer: { classPropertyName: "canGenerateTransformer", publicName: "canGenerateTransformer", isSignal: true, isRequired: false, transformFunction: null }, generatingTransformer: { classPropertyName: "generatingTransformer", publicName: "generatingTransformer", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { panelStatesChange: "panelStatesChange", transformerSelected: "transformerSelected", presenterSelected: "presenterSelected", runTransformer: "runTransformer", generateTransformer: "generateTransformer" }, queries: [{ propertyName: "queryTemplates", predicate: QuerySectionDirective, isSignal: true }, { propertyName: "transformerTemplates", predicate: TransformerSectionDirective, isSignal: true }, { propertyName: "presenterTemplates", predicate: PresenterSectionDirective, isSignal: true }], ngImport: i0, template: "@if (mode() === 'presentation') {\n <!-- Presentation Mode: Presenter content only (\u898B\u305F\u76EE)\u3002\n querySection \u306F\u5E38\u6642\u30DE\u30A6\u30F3\u30C8\u3059\u308B (\u4E0B\u8A18\u30B3\u30E1\u30F3\u30C8\u53C2\u7167)\u3002 \u8868\u793A\u3057\u306A\u3044\u3060\u3051\u306A\u306E\u3067\n CSS (qtp-query-hidden, 0\u00D70) \u3067\u96A0\u3059\u3002 \u65E7: 20260710 fix \u3067 querySection = \u96A0\u3057 xterm\n \u3060\u3063\u305F\u9803\u306F presenter \u5074 xterm \u3068\u306E\u4E8C\u91CD parse \u304C CPU \u30DB\u30C3\u30C8\u30B9\u30DD\u30C3\u30C8\u3060\u3063\u305F\u305F\u3081\n \u975E\u30DE\u30A6\u30F3\u30C8\u5316\u3057\u3066\u3044\u305F\u304C\u3001 20260812 (query editor \u5316) \u3067 querySection \u306E\u4E2D\u8EAB\u304C\n XtermOrganism \u2192 SessionQueryEditor (GraphQL editor\u3001 xterm \u4F9D\u5B58\u306A\u3057) \u306B\u5909\u308F\u308A\u3001\n \u4E8C\u91CD parse \u3068\u3044\u3046\u975E\u30DE\u30A6\u30F3\u30C8\u5316\u306E\u6839\u62E0\u306F\u6D88\u6EC5\u3057\u305F\u3002 \u3055\u3089\u306B SessionQueryEditor \u306F\n mount \u6642\u306B query/subscription \u3092\u81EA\u52D5\u5B9F\u884C\u3059\u308B (fix/qtp-query-autorun) \u305F\u3081\u3001\n \u975E\u30DE\u30A6\u30F3\u30C8\u306E\u307E\u307E\u3060\u3068 presentation mode \u3067\u51FA\u529B\u53D6\u5F97\u306E\u7D4C\u8DEF\u81EA\u4F53\u304C\u767A\u706B\u3057\u306A\u3044\n (user \u5831\u544A: \u300Cpresenter mode \u3060\u3068\u521D\u671F\u8868\u793A\u3067\u51FA\u529B\u304C\u53D6\u308C\u306A\u3044\u300D)\u3002\n \u8A2D\u8A08: projects/docs/design/feat/20260812_session-domain-object-explorer.md \u8FFD\u88DC -->\n <div class=\"qtp-query-hidden\">\n <ng-container *ngTemplateOutlet=\"querySection()\" />\n </div>\n <div class=\"qtp-presentation\">\n <ng-container *ngTemplateOutlet=\"presenterSection()\" />\n </div>\n} @else {\n <!-- Develop Mode: Full QTP panels -->\n <div class=\"qtp-container\">\n <!-- Query Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('query')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('query')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">terminal</mat-icon>\n <span class=\"qtp-header-title\">Query</span>\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('query')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"querySection()\" />\n </div>\n </div>\n </section>\n\n <!-- Transformer Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('transformer')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('transformer')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">code</mat-icon>\n <span class=\"qtp-header-title\">Transformer</span>\n </div>\n <div class=\"qtp-header-right\" (click)=\"$event.stopPropagation()\">\n <frames-qtp-v2-select [options]=\"availableTransformers()\" [value]=\"selectedTransformer()?.id\" (valueChange)=\"onTransformerChange($event)\" />\n <frames-qtp-v2-transformer-actions\n [canGenerate]=\"canGenerateTransformer()\"\n [generating]=\"generatingTransformer()\"\n (generate)=\"generateTransformer.emit()\"\n (run)=\"onRun()\"\n />\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('transformer')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"transformerSection()\" />\n </div>\n </div>\n </section>\n\n <!-- Presenter Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('presenter')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('presenter')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">{{ selectedPresenter()?.icon ?? 'view_module' }}</mat-icon>\n <span class=\"qtp-header-title\">Presenter</span>\n </div>\n <div class=\"qtp-header-right\" (click)=\"$event.stopPropagation()\">\n <frames-qtp-v2-select [options]=\"availablePresenters()\" [value]=\"selectedPresenter()?.id\" (valueChange)=\"onPresenterChange($event)\" />\n @if (loading()) {\n <mat-spinner diameter=\"16\" />\n }\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('presenter')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"presenterSection()\" />\n </div>\n </div>\n </section>\n\n <!-- Debug Panel -->\n <section class=\"qtp-panel qtp-debug-panel\" [class.expanded]=\"isExpanded('debug')\" [class.has-error]=\"!!error()\">\n <header class=\"qtp-header\" (click)=\"togglePanel('debug')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">bug_report</mat-icon>\n <span class=\"qtp-header-title\">Debug</span>\n @if (error()) {\n <span class=\"qtp-debug-badge\">Error</span>\n }\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('debug')\">\n <div class=\"qtp-content qtp-debug-content\">\n <frames-qtp-v2-debug-content [error]=\"error()\" [debugLogs]=\"debugLogs()\" />\n </div>\n </div>\n </section>\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:pan-y}.qtp-query-hidden{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.qtp-presentation{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}.qtp-container{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:auto}.qtp-panel{background:#121216f2;overflow:hidden;display:flex;flex-direction:column;margin:0;border:none;border-bottom:1px solid rgba(255,255,255,.06);transition:flex .3s ease,background .2s ease}.qtp-panel:last-child{border-bottom:none}.qtp-panel:not(.expanded){flex:0 0 auto}.qtp-panel.expanded{flex:1 1 0;min-height:120px;background:#16161cfa}.qtp-header{display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:44px;cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff05;transition:background .2s ease}.qtp-header:hover{background:#ffffff0d}.expanded>.qtp-header{background:#ffffff0a;border-bottom:1px solid rgba(255,255,255,.08)}.qtp-header-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.qtp-header-icon{font-size:18px!important;width:18px!important;height:18px!important;color:#ffffff80;transition:color .2s ease}.expanded .qtp-header-icon{color:#64b4ffe6}.qtp-header-title{font-size:13px;font-weight:500;letter-spacing:.2px;color:#fff9;transition:color .2s ease}.expanded .qtp-header-title{color:#ffffffe6}.qtp-header-right{display:flex;align-items:center;gap:10px}.qtp-body{display:flex;flex-direction:column;overflow:auto;flex:0;max-height:0;transition:max-height .3s ease,flex .3s ease}.qtp-body.open{flex:1;max-height:9999px}.qtp-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:0;cursor:text;-webkit-user-select:text;user-select:text}.qtp-debug-panel.has-error .qtp-header{background:#f4433614}.qtp-debug-panel.has-error .qtp-header-icon{color:#f44336!important}.qtp-debug-badge{font-size:10px;font-weight:600;text-transform:uppercase;padding:2px 6px;border-radius:4px;background:#f4433633;color:#ff8a80;margin-left:8px}.qtp-debug-content{padding:12px 16px;font-family:JetBrains Mono,Fira Code,monospace;font-size:12px}mat-spinner{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: QtpV2Select, selector: "frames-qtp-v2-select", inputs: ["options", "value"], outputs: ["valueChange"] }, { kind: "component", type: QtpV2TransformerActions, selector: "frames-qtp-v2-transformer-actions", inputs: ["canGenerate", "generating"], outputs: ["generate", "run"] }, { kind: "component", type: QtpV2DebugContent, selector: "frames-qtp-v2-debug-content", inputs: ["error", "debugLogs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2Frame, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
248
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QtpV2Frame, isStandalone: true, selector: "frames-qtp-v2", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, expandedPanels: { classPropertyName: "expandedPanels", publicName: "expandedPanels", isSignal: true, isRequired: false, transformFunction: null }, availableTransformers: { classPropertyName: "availableTransformers", publicName: "availableTransformers", isSignal: true, isRequired: false, transformFunction: null }, selectedTransformer: { classPropertyName: "selectedTransformer", publicName: "selectedTransformer", isSignal: true, isRequired: false, transformFunction: null }, availablePresenters: { classPropertyName: "availablePresenters", publicName: "availablePresenters", isSignal: true, isRequired: false, transformFunction: null }, selectedPresenter: { classPropertyName: "selectedPresenter", publicName: "selectedPresenter", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, debugLogs: { classPropertyName: "debugLogs", publicName: "debugLogs", isSignal: true, isRequired: false, transformFunction: null }, canGenerateTransformer: { classPropertyName: "canGenerateTransformer", publicName: "canGenerateTransformer", isSignal: true, isRequired: false, transformFunction: null }, generatingTransformer: { classPropertyName: "generatingTransformer", publicName: "generatingTransformer", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { panelStatesChange: "panelStatesChange", transformerSelected: "transformerSelected", presenterSelected: "presenterSelected", runTransformer: "runTransformer", generateTransformer: "generateTransformer" }, queries: [{ propertyName: "queryTemplates", predicate: QuerySectionDirective, isSignal: true }, { propertyName: "transformerTemplates", predicate: TransformerSectionDirective, isSignal: true }, { propertyName: "presenterTemplates", predicate: PresenterSectionDirective, isSignal: true }], ngImport: i0, template: "@if (mode() === 'presentation') {\n <!-- Presentation Mode: Presenter content only (\u898B\u305F\u76EE)\u3002\n querySection \u306F\u5E38\u6642\u30DE\u30A6\u30F3\u30C8\u3059\u308B (\u4E0B\u8A18\u30B3\u30E1\u30F3\u30C8\u53C2\u7167)\u3002 \u8868\u793A\u3057\u306A\u3044\u3060\u3051\u306A\u306E\u3067\n CSS (qtp-query-hidden, 0\u00D70) \u3067\u96A0\u3059\u3002 \u65E7: 20260710 fix \u3067 querySection = \u96A0\u3057 xterm\n \u3060\u3063\u305F\u9803\u306F presenter \u5074 xterm \u3068\u306E\u4E8C\u91CD parse \u304C CPU \u30DB\u30C3\u30C8\u30B9\u30DD\u30C3\u30C8\u3060\u3063\u305F\u305F\u3081\n \u975E\u30DE\u30A6\u30F3\u30C8\u5316\u3057\u3066\u3044\u305F\u304C\u3001 20260812 (query editor \u5316) \u3067 querySection \u306E\u4E2D\u8EAB\u304C\n XtermOrganism \u2192 SessionQueryEditor (GraphQL editor\u3001 xterm \u4F9D\u5B58\u306A\u3057) \u306B\u5909\u308F\u308A\u3001\n \u4E8C\u91CD parse \u3068\u3044\u3046\u975E\u30DE\u30A6\u30F3\u30C8\u5316\u306E\u6839\u62E0\u306F\u6D88\u6EC5\u3057\u305F\u3002 \u3055\u3089\u306B SessionQueryEditor \u306F\n mount \u6642\u306B query/subscription \u3092\u81EA\u52D5\u5B9F\u884C\u3059\u308B (fix/qtp-query-autorun) \u305F\u3081\u3001\n \u975E\u30DE\u30A6\u30F3\u30C8\u306E\u307E\u307E\u3060\u3068 presentation mode \u3067\u51FA\u529B\u53D6\u5F97\u306E\u7D4C\u8DEF\u81EA\u4F53\u304C\u767A\u706B\u3057\u306A\u3044\n (user \u5831\u544A: \u300Cpresenter mode \u3060\u3068\u521D\u671F\u8868\u793A\u3067\u51FA\u529B\u304C\u53D6\u308C\u306A\u3044\u300D)\u3002\n \u8A2D\u8A08: projects/docs/design/feat/20260812_session-domain-object-explorer.md \u8FFD\u88DC -->\n <div class=\"qtp-query-hidden\">\n <ng-container *ngTemplateOutlet=\"querySection()\" />\n </div>\n <div class=\"qtp-presentation\">\n <ng-container *ngTemplateOutlet=\"presenterSection()\" />\n </div>\n} @else {\n <!-- Develop Mode: Full QTP panels -->\n <div class=\"qtp-container\">\n <!-- Query Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('query')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('query')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">terminal</mat-icon>\n <span class=\"qtp-header-title\">Query</span>\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('query')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"querySection()\" />\n </div>\n </div>\n </section>\n\n <!-- Transformer Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('transformer')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('transformer')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">code</mat-icon>\n <span class=\"qtp-header-title\">Transformer</span>\n </div>\n <div class=\"qtp-header-right\" (click)=\"$event.stopPropagation()\">\n <frames-qtp-v2-select [options]=\"availableTransformers()\" [value]=\"selectedTransformer()?.id\" (valueChange)=\"onTransformerChange($event)\" />\n <frames-qtp-v2-transformer-actions\n [canGenerate]=\"canGenerateTransformer()\"\n [generating]=\"generatingTransformer()\"\n (generate)=\"generateTransformer.emit()\"\n (run)=\"onRun()\"\n />\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('transformer')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"transformerSection()\" />\n </div>\n </div>\n </section>\n\n <!-- Presenter Panel -->\n <section class=\"qtp-panel\" [class.expanded]=\"isExpanded('presenter')\">\n <header class=\"qtp-header\" (click)=\"togglePanel('presenter')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">{{ selectedPresenter()?.icon ?? 'view_module' }}</mat-icon>\n <span class=\"qtp-header-title\">Presenter</span>\n </div>\n <div class=\"qtp-header-right\" (click)=\"$event.stopPropagation()\">\n <frames-qtp-v2-select [options]=\"availablePresenters()\" [value]=\"selectedPresenter()?.id\" (valueChange)=\"onPresenterChange($event)\" />\n @if (loading()) {\n <mat-spinner diameter=\"16\" />\n }\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('presenter')\">\n <div class=\"qtp-content\">\n <ng-container *ngTemplateOutlet=\"presenterSection()\" />\n </div>\n </div>\n </section>\n\n <!-- Debug Panel -->\n <section class=\"qtp-panel qtp-debug-panel\" [class.expanded]=\"isExpanded('debug')\" [class.has-error]=\"!!error()\">\n <header class=\"qtp-header\" (click)=\"togglePanel('debug')\">\n <div class=\"qtp-header-left\">\n <mat-icon class=\"qtp-header-icon\">bug_report</mat-icon>\n <span class=\"qtp-header-title\">Debug</span>\n @if (error()) {\n <span class=\"qtp-debug-badge\">Error</span>\n }\n </div>\n </header>\n <div class=\"qtp-body\" [class.open]=\"isExpanded('debug')\">\n <div class=\"qtp-content qtp-debug-content\">\n <frames-qtp-v2-debug-content [error]=\"error()\" [debugLogs]=\"debugLogs()\" />\n </div>\n </div>\n </section>\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:pan-y}.qtp-query-hidden{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.qtp-presentation{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}.qtp-container{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:auto}.qtp-panel{background:#121216f2;overflow:hidden;display:flex;flex-direction:column;margin:0;border:none;border-bottom:1px solid rgba(255,255,255,.06);transition:flex .3s ease,background .2s ease}.qtp-panel:last-child{border-bottom:none}.qtp-panel:not(.expanded){flex:0 0 auto}.qtp-panel.expanded{flex:1 1 0;min-height:120px;background:#16161cfa}.qtp-header{display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:44px;cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff05;transition:background .2s ease}.qtp-header:hover{background:#ffffff0d}.expanded>.qtp-header{background:#ffffff0a;border-bottom:1px solid rgba(255,255,255,.08)}.qtp-header-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.qtp-header-icon{font-size:18px!important;width:18px!important;height:18px!important;color:#ffffff80;transition:color .2s ease}.expanded .qtp-header-icon{color:#64b4ffe6}.qtp-header-title{font-size:13px;font-weight:500;letter-spacing:.2px;color:#fff9;transition:color .2s ease}.expanded .qtp-header-title{color:#ffffffe6}.qtp-header-right{display:flex;align-items:center;gap:10px}.qtp-body{display:flex;flex-direction:column;overflow:auto;flex:0;max-height:0;transition:max-height .3s ease,flex .3s ease}.qtp-body.open{flex:1;max-height:9999px}.qtp-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:0;cursor:text;-webkit-user-select:text;user-select:text}.qtp-debug-panel.has-error .qtp-header{background:#f4433614}.qtp-debug-panel.has-error .qtp-header-icon{color:#f44336!important}.qtp-debug-badge{font-size:10px;font-weight:600;text-transform:uppercase;padding:2px 6px;border-radius:4px;background:#f4433633;color:#ff8a80;margin-left:8px}.qtp-debug-content{padding:12px 16px;font-family:JetBrains Mono,Fira Code,monospace;font-size:12px}mat-spinner{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: QtpV2Select, selector: "frames-qtp-v2-select", inputs: ["options", "value"], outputs: ["valueChange"] }, { kind: "component", type: QtpV2TransformerActions, selector: "frames-qtp-v2-transformer-actions", inputs: ["canGenerate", "generating"], outputs: ["generate", "run"] }, { kind: "component", type: QtpV2DebugContent, selector: "frames-qtp-v2-debug-content", inputs: ["error", "debugLogs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
249
249
|
}
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QtpV2Frame, decorators: [{
|
|
251
251
|
type: Component,
|
|
252
252
|
args: [{ selector: 'frames-qtp-v2', standalone: true, imports: [
|
|
253
253
|
CommonModule,
|
|
@@ -8,12 +8,12 @@ import { CommandFeature } from '@xxmachina/components/features/command';
|
|
|
8
8
|
|
|
9
9
|
class CommandFormGroup extends NgAtomicComponent {
|
|
10
10
|
feature = inject(CommandFeature);
|
|
11
|
-
apiJsonUrls = input([], ...(ngDevMode ? [{ debugName: "apiJsonUrls" }] : []));
|
|
11
|
+
apiJsonUrls = input([], ...(ngDevMode ? [{ debugName: "apiJsonUrls" }] : /* istanbul ignore next */ []));
|
|
12
12
|
apiJsonUrlAutoCompleteOptions = computed(() => {
|
|
13
13
|
return this.apiJsonUrls().filter((url) => url.includes(this.feature.apiJsonUrl()));
|
|
14
|
-
}, ...(ngDevMode ? [{ debugName: "apiJsonUrlAutoCompleteOptions" }] : []));
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
14
|
+
}, ...(ngDevMode ? [{ debugName: "apiJsonUrlAutoCompleteOptions" }] : /* istanbul ignore next */ []));
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFormGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.25", type: CommandFormGroup, isStandalone: true, selector: "groups-command-form", inputs: { apiJsonUrls: { classPropertyName: "apiJsonUrls", publicName: "apiJsonUrls", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
17
17
|
<organisms-text-input-section
|
|
18
18
|
[control]="feature.commandForm().get(['webApiRequest', 'apiJsonUrl'])"
|
|
19
19
|
[autoComplete]="apiJsonUrlAutoCompleteOptions()"
|
|
@@ -34,7 +34,7 @@ class CommandFormGroup extends NgAtomicComponent {
|
|
|
34
34
|
</div>
|
|
35
35
|
`, isInline: true, styles: [":host{display:flex;flex-direction:column;padding-top:24px;box-sizing:border-box;height:100%}\n"], dependencies: [{ kind: "component", type: TextInputSectionOrganism, selector: "organisms-text-input-section" }, { kind: "component", type: SelectInputSectionOrganism, selector: "organisms-select-input-section" }, { kind: "pipe", type: JsonPipe, name: "json" }] });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandFormGroup, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{ selector: 'groups-command-form', imports: [
|
|
40
40
|
TextInputSectionOrganism,
|
|
@@ -28,14 +28,14 @@ function toGraphqlSchemaExtensions(schema) {
|
|
|
28
28
|
|
|
29
29
|
class QueryFormGroup extends NgAtomicComponent {
|
|
30
30
|
#feature = inject(QueryFeature);
|
|
31
|
-
form = input(this.#feature.form, ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
31
|
+
form = input(this.#feature.form, ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
32
32
|
formValue = derivedAsync(() => getValue$(this.form()));
|
|
33
33
|
graphqlSchemaFeature = inject(QueryGraphqlSchemaFeature);
|
|
34
34
|
keyActions = input([
|
|
35
35
|
{ key: 'Ctrl-Enter', actionId: QueryFeature.ActionId.クエリの実行 },
|
|
36
36
|
{ key: 'Cmd-Enter', actionId: QueryFeature.ActionId.クエリの実行 },
|
|
37
37
|
{ key: 'Cmd-s', actionId: QueryFeature.ActionId.クエリの更新 },
|
|
38
|
-
], ...(ngDevMode ? [{ debugName: "keyActions" }] : []));
|
|
38
|
+
], ...(ngDevMode ? [{ debugName: "keyActions" }] : /* istanbul ignore next */ []));
|
|
39
39
|
resources = injectAll(Resource);
|
|
40
40
|
endpointAutoCompleteOptions = computed(() => {
|
|
41
41
|
const query = this.formValue();
|
|
@@ -43,15 +43,15 @@ class QueryFormGroup extends NgAtomicComponent {
|
|
|
43
43
|
.filter(resource => resource.type === 'graphql')
|
|
44
44
|
.map(resource => resource.graphql.url)
|
|
45
45
|
.filter(url => url.startsWith(query.graphql.endpoint));
|
|
46
|
-
}, ...(ngDevMode ? [{ debugName: "endpointAutoCompleteOptions" }] : []));
|
|
47
|
-
queryExtensions = computed(() => toGraphqlSchemaExtensions(this.graphqlSchemaFeature.graphqlSchema()), ...(ngDevMode ? [{ debugName: "queryExtensions" }] : []));
|
|
48
|
-
variablesExtensions = computed(() => [json()], ...(ngDevMode ? [{ debugName: "variablesExtensions" }] : []));
|
|
49
|
-
headersExtensions = computed(() => [json()], ...(ngDevMode ? [{ debugName: "headersExtensions" }] : []));
|
|
46
|
+
}, ...(ngDevMode ? [{ debugName: "endpointAutoCompleteOptions" }] : /* istanbul ignore next */ []));
|
|
47
|
+
queryExtensions = computed(() => toGraphqlSchemaExtensions(this.graphqlSchemaFeature.graphqlSchema()), ...(ngDevMode ? [{ debugName: "queryExtensions" }] : /* istanbul ignore next */ []));
|
|
48
|
+
variablesExtensions = computed(() => [json()], ...(ngDevMode ? [{ debugName: "variablesExtensions" }] : /* istanbul ignore next */ []));
|
|
49
|
+
headersExtensions = computed(() => [json()], ...(ngDevMode ? [{ debugName: "headersExtensions" }] : /* istanbul ignore next */ []));
|
|
50
50
|
transformerExtensions = computed(() => [
|
|
51
51
|
javascript({ typescript: true })
|
|
52
|
-
], ...(ngDevMode ? [{ debugName: "transformerExtensions" }] : []));
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
54
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
52
|
+
], ...(ngDevMode ? [{ debugName: "transformerExtensions" }] : /* istanbul ignore next */ []));
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFormGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.25", type: QueryFormGroup, isStandalone: true, selector: "groups-query-form", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, keyActions: { classPropertyName: "keyActions", publicName: "keyActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<organisms-text-input-section
|
|
56
56
|
[label]="'GraphQL Endpoint'"
|
|
57
57
|
[control]="form().get(['graphql', 'endpoint'])"
|
|
@@ -99,7 +99,7 @@ class QueryFormGroup extends NgAtomicComponent {
|
|
|
99
99
|
</frames-tabs>
|
|
100
100
|
`, isInline: true, styles: [":host{display:flex;flex-direction:column;padding-top:24px;box-sizing:border-box;height:100%}:host frames-tabs{height:100%}:host frames-tabs extras-editor{height:100%}\n"], dependencies: [{ kind: "component", type: EditorComponent, selector: "extras-editor" }, { kind: "component", type: TextInputSectionOrganism, selector: "organisms-text-input-section" }, { kind: "component", type: TabsFrame, selector: "frames-tabs", inputs: ["labels"], outputs: ["selectedTabIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryFormGroup, decorators: [{
|
|
103
103
|
type: Component,
|
|
104
104
|
args: [{ selector: 'groups-query-form', imports: [
|
|
105
105
|
EditorComponent,
|
|
@@ -24,8 +24,8 @@ class AppSelectorMolecule {
|
|
|
24
24
|
onSelect(key) {
|
|
25
25
|
this.state()?.select(key);
|
|
26
26
|
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
28
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppSelectorMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: AppSelectorMolecule, isStandalone: true, selector: "molecules-app-selector", ngImport: i0, template: `
|
|
29
29
|
@if (state(); as app) {
|
|
30
30
|
<button mat-button class="app-display" [matMenuTriggerFor]="appMenu">
|
|
31
31
|
{{ app.current }}
|
|
@@ -39,7 +39,7 @@ class AppSelectorMolecule {
|
|
|
39
39
|
}
|
|
40
40
|
`, isInline: true, styles: [":host{display:inline-flex;align-items:center}.app-display{color:var(--on-primary-color, inherit);text-decoration:none;padding:0 8px;min-height:36px;line-height:36px;font-size:14px;transition:background-color .2s ease-in-out}.app-display:hover{color:var(--on-primary-color, inherit);background-color:#ffffff1a}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i3.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppSelectorMolecule, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'molecules-app-selector', standalone: true, imports: [MatButtonModule, MatIconModule, MatMenuModule], template: `
|
|
45
45
|
@if (state(); as app) {
|
|
@@ -17,14 +17,14 @@ class CalendarPaginatorMolecule {
|
|
|
17
17
|
onNextButtonClick() {
|
|
18
18
|
this.dateChange.emit(this.date.clone().add(1, 'months'));
|
|
19
19
|
}
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CalendarPaginatorMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: CalendarPaginatorMolecule, isStandalone: true, selector: "molecules-calendar-paginator", inputs: { date: "date" }, outputs: { dateChange: "dateChange" }, ngImport: i0, template: `
|
|
22
22
|
<button mat-icon-button (click)="onPrevButtonClick()"><mat-icon>keyboard_arrow_left</mat-icon></button>
|
|
23
23
|
<span class="month">{{ date | date : 'yyyy年MM月'}}</span>
|
|
24
24
|
<button mat-icon-button (click)="onNextButtonClick()"><mat-icon>keyboard_arrow_right</mat-icon></button>
|
|
25
25
|
`, isInline: true, styles: [":host{display:block}:host{display:flex;justify-content:center;align-items:center;width:fit-content}:host .month{font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: i3.DatePipe, name: "date" }] });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CalendarPaginatorMolecule, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ standalone: true, selector: 'molecules-calendar-paginator', imports: [
|
|
30
30
|
CommonModule,
|