@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
|
@@ -630,21 +630,21 @@ class XtermOrganismStore extends InjectableComponent {
|
|
|
630
630
|
useInteractiveTheme: false,
|
|
631
631
|
}), ['components', 'organisms', 'xterm']);
|
|
632
632
|
config = XtermOrganismStore.DI.injectConfig();
|
|
633
|
-
data = input(undefined, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
634
|
-
interactive = input(false, ...(ngDevMode ? [{ debugName: "interactive" }] : []));
|
|
635
|
-
queryResult = input('', ...(ngDevMode ? [{ debugName: "queryResult" }] : []));
|
|
636
|
-
useInteractiveTheme = input(false, ...(ngDevMode ? [{ debugName: "useInteractiveTheme" }] : []));
|
|
637
|
-
totalWritten = input(0, ...(ngDevMode ? [{ debugName: "totalWritten" }] : []));
|
|
638
|
-
staticScreen = input(false, ...(ngDevMode ? [{ debugName: "staticScreen" }] : []));
|
|
633
|
+
data = input(undefined, ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
634
|
+
interactive = input(false, ...(ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []));
|
|
635
|
+
queryResult = input('', ...(ngDevMode ? [{ debugName: "queryResult" }] : /* istanbul ignore next */ []));
|
|
636
|
+
useInteractiveTheme = input(false, ...(ngDevMode ? [{ debugName: "useInteractiveTheme" }] : /* istanbul ignore next */ []));
|
|
637
|
+
totalWritten = input(0, ...(ngDevMode ? [{ debugName: "totalWritten" }] : /* istanbul ignore next */ []));
|
|
638
|
+
staticScreen = input(false, ...(ngDevMode ? [{ debugName: "staticScreen" }] : /* istanbul ignore next */ []));
|
|
639
639
|
sessionContext = inject(XTERM_SESSION_CONTEXT, { optional: true });
|
|
640
640
|
constructor() {
|
|
641
641
|
super();
|
|
642
642
|
XtermOrganismStore.DI.initialize(this);
|
|
643
643
|
}
|
|
644
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
645
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: XtermOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
645
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: XtermOrganismStore, isStandalone: true, selector: "organisms-xterm", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, queryResult: { classPropertyName: "queryResult", publicName: "queryResult", isSignal: true, isRequired: false, transformFunction: null }, useInteractiveTheme: { classPropertyName: "useInteractiveTheme", publicName: "useInteractiveTheme", isSignal: true, isRequired: false, transformFunction: null }, totalWritten: { classPropertyName: "totalWritten", publicName: "totalWritten", isSignal: true, isRequired: false, transformFunction: null }, staticScreen: { classPropertyName: "staticScreen", publicName: "staticScreen", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
646
646
|
}
|
|
647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: XtermOrganismStore, decorators: [{
|
|
648
648
|
type: Directive,
|
|
649
649
|
args: [{ standalone: true, selector: 'organisms-xterm' }]
|
|
650
650
|
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], queryResult: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryResult", required: false }] }], useInteractiveTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "useInteractiveTheme", required: false }] }], totalWritten: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalWritten", required: false }] }], staticScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "staticScreen", required: false }] }] } });
|
|
@@ -1042,14 +1042,14 @@ class XtermOrganism extends NgAtomicComponent {
|
|
|
1042
1042
|
lastDataLength = 0;
|
|
1043
1043
|
lastProcessedLength = 0;
|
|
1044
1044
|
lastWrittenData = null;
|
|
1045
|
-
terminalInitialized = signal(false, ...(ngDevMode ? [{ debugName: "terminalInitialized" }] : []));
|
|
1045
|
+
terminalInitialized = signal(false, ...(ngDevMode ? [{ debugName: "terminalInitialized" }] : /* istanbul ignore next */ []));
|
|
1046
1046
|
initialized = this.terminalInitialized.asReadonly();
|
|
1047
|
-
fitEpoch = signal(0, ...(ngDevMode ? [{ debugName: "fitEpoch" }] : []));
|
|
1048
|
-
fitScheduled = signal(0, ...(ngDevMode ? [{ debugName: "fitScheduled" }] : []));
|
|
1047
|
+
fitEpoch = signal(0, ...(ngDevMode ? [{ debugName: "fitEpoch" }] : /* istanbul ignore next */ []));
|
|
1048
|
+
fitScheduled = signal(0, ...(ngDevMode ? [{ debugName: "fitScheduled" }] : /* istanbul ignore next */ []));
|
|
1049
1049
|
initSkippedDueToSize = false;
|
|
1050
1050
|
disposables = [];
|
|
1051
1051
|
followBottom = null;
|
|
1052
|
-
scrollFromBottom = signal(null, ...(ngDevMode ? [{ debugName: "scrollFromBottom" }] : []));
|
|
1052
|
+
scrollFromBottom = signal(null, ...(ngDevMode ? [{ debugName: "scrollFromBottom" }] : /* istanbul ignore next */ []));
|
|
1053
1053
|
stableTimer = null;
|
|
1054
1054
|
resizeTimer = null;
|
|
1055
1055
|
fallbackTimer = null;
|
|
@@ -1396,10 +1396,10 @@ class XtermOrganism extends NgAtomicComponent {
|
|
|
1396
1396
|
getImageAddon() {
|
|
1397
1397
|
return this.imageAddon;
|
|
1398
1398
|
}
|
|
1399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1400
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
1399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: XtermOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1400
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.25", type: XtermOrganism, isStandalone: true, selector: "organisms-xterm", outputs: { terminalReady: "terminalReady", githubLinkClick: "githubLinkClick" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: XtermOrganismStore, inputs: ["data", "data", "interactive", "interactive", "useInteractiveTheme", "useInteractiveTheme", "totalWritten", "totalWritten", "staticScreen", "staticScreen"] }], ngImport: i0, template: `<div #container class="terminal-viewport xterm-wrapper"></div>`, isInline: true, styles: ["", "@import\"https://unpkg.com/@xterm/xterm@5.5.0/css/xterm.css\";:host{display:block;width:100%;height:100%}:host .terminal-viewport,:host .xterm-wrapper{width:100%;height:100%;background:#0a0a0a;position:relative;overflow:hidden}:host:not(.interactive) .xterm-wrapper ::ng-deep .xterm-cursor-layer{display:none!important}:host:not(.interactive) .xterm-wrapper ::ng-deep .xterm-cursor,:host:not(.interactive) .xterm-wrapper ::ng-deep .xterm-cursor-outline{opacity:0!important}:host ::ng-deep .xterm-screen canvas{pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1401
1401
|
}
|
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: XtermOrganism, decorators: [{
|
|
1403
1403
|
type: Component,
|
|
1404
1404
|
args: [{ selector: 'organisms-xterm', standalone: true, imports: [], template: `<div #container class="terminal-viewport xterm-wrapper"></div>`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [{
|
|
1405
1405
|
directive: XtermOrganismStore,
|
|
@@ -206,7 +206,7 @@ let CommandPageStore = class CommandPageStore extends InjectableComponent {
|
|
|
206
206
|
static provideRouteParamMapToDataInitializer(projector) {
|
|
207
207
|
return CommandPageStore_1.Initializer.provide((store) => {
|
|
208
208
|
const paramMap = injectRouteParamMap({ merge: true });
|
|
209
|
-
const data = computed(() => projector(paramMap()), ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
209
|
+
const data = computed(() => projector(paramMap()), ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
210
210
|
effect(() => applyToInput(store, 'data', data()));
|
|
211
211
|
});
|
|
212
212
|
}
|
|
@@ -229,8 +229,8 @@ let CommandPageStore = class CommandPageStore extends InjectableComponent {
|
|
|
229
229
|
return provideEffect(ActionId.EXECUTE_COMMAND, () => {
|
|
230
230
|
const store = inject(CommandPageStore_1);
|
|
231
231
|
const app = inject(AppService);
|
|
232
|
-
const paramKeys = computed(() => EndpointHelper.extract(store.feature.path()), ...(ngDevMode ? [{ debugName: "paramKeys" }] : []));
|
|
233
|
-
const resolvedParams = computed(() => pick(store.data(), paramKeys()), ...(ngDevMode ? [{ debugName: "resolvedParams" }] : []));
|
|
232
|
+
const paramKeys = computed(() => EndpointHelper.extract(store.feature.path()), ...(ngDevMode ? [{ debugName: "paramKeys" }] : /* istanbul ignore next */ []));
|
|
233
|
+
const resolvedParams = computed(() => pick(store.data(), paramKeys()), ...(ngDevMode ? [{ debugName: "resolvedParams" }] : /* istanbul ignore next */ []));
|
|
234
234
|
return () => {
|
|
235
235
|
const resolvedEndpoint = EndpointHelper.resolve(store.feature.path(), resolvedParams());
|
|
236
236
|
const data = buildData(store.form(), store.command()?.webApiRequest?.contentType);
|
|
@@ -332,41 +332,41 @@ let CommandPageStore = class CommandPageStore extends InjectableComponent {
|
|
|
332
332
|
feature = inject(CommandFeature);
|
|
333
333
|
config = CommandPageStore_1.Config.inject();
|
|
334
334
|
queryFeature = inject(QueryFeature);
|
|
335
|
-
style = input(_computed(() => this.config().style), ...(ngDevMode ? [{ debugName: "style" }] : []));
|
|
335
|
+
style = input(_computed(() => this.config().style), ...(ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []));
|
|
336
336
|
#navStartActions = injectNavStartActionsV2();
|
|
337
|
-
navStartActions = input(_computed(() => this.#navStartActions()), ...(ngDevMode ? [{ debugName: "navStartActions" }] : []));
|
|
338
|
-
navEndActions = input(_computed(() => this.config().navEndActions), ...(ngDevMode ? [{ debugName: "navEndActions" }] : []));
|
|
339
|
-
command = input(_computed(() => this.config().command), ...(ngDevMode ? [{ debugName: "command" }] : []));
|
|
340
|
-
form = input(_computed(() => this.feature.form()), ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
341
|
-
extractedFormFieldMap = input(_computed(() => this.feature.extractedFormFieldMap()), ...(ngDevMode ? [{ debugName: "extractedFormFieldMap" }] : []));
|
|
342
|
-
additionalFormFieldMap = input(_computed(() => this.config().additionalFormFieldMap), ...(ngDevMode ? [{ debugName: "additionalFormFieldMap" }] : []));
|
|
337
|
+
navStartActions = input(_computed(() => this.#navStartActions()), ...(ngDevMode ? [{ debugName: "navStartActions" }] : /* istanbul ignore next */ []));
|
|
338
|
+
navEndActions = input(_computed(() => this.config().navEndActions), ...(ngDevMode ? [{ debugName: "navEndActions" }] : /* istanbul ignore next */ []));
|
|
339
|
+
command = input(_computed(() => this.config().command), ...(ngDevMode ? [{ debugName: "command" }] : /* istanbul ignore next */ []));
|
|
340
|
+
form = input(_computed(() => this.feature.form()), ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
341
|
+
extractedFormFieldMap = input(_computed(() => this.feature.extractedFormFieldMap()), ...(ngDevMode ? [{ debugName: "extractedFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
342
|
+
additionalFormFieldMap = input(_computed(() => this.config().additionalFormFieldMap), ...(ngDevMode ? [{ debugName: "additionalFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
343
343
|
formFieldMap = input(_computed(() => ({
|
|
344
344
|
...this.extractedFormFieldMap(),
|
|
345
345
|
...this.additionalFormFieldMap()
|
|
346
|
-
})), ...(ngDevMode ? [{ debugName: "formFieldMap" }] : []));
|
|
347
|
-
formFieldKeys = input(_computed(() => []), ...(ngDevMode ? [{ debugName: "formFieldKeys" }] : []));
|
|
348
|
-
formFlatExcludes = input(_computed(() => []), ...(ngDevMode ? [{ debugName: "formFlatExcludes" }] : []));
|
|
346
|
+
})), ...(ngDevMode ? [{ debugName: "formFieldMap" }] : /* istanbul ignore next */ []));
|
|
347
|
+
formFieldKeys = input(_computed(() => []), ...(ngDevMode ? [{ debugName: "formFieldKeys" }] : /* istanbul ignore next */ []));
|
|
348
|
+
formFlatExcludes = input(_computed(() => []), ...(ngDevMode ? [{ debugName: "formFlatExcludes" }] : /* istanbul ignore next */ []));
|
|
349
349
|
_initializeQuery = injectRouteData('query');
|
|
350
|
-
initializeQuery = input(_computed(() => this._initializeQuery()), ...(ngDevMode ? [{ debugName: "initializeQuery" }] : []));
|
|
350
|
+
initializeQuery = input(_computed(() => this._initializeQuery()), ...(ngDevMode ? [{ debugName: "initializeQuery" }] : /* istanbul ignore next */ []));
|
|
351
351
|
_data = injectUnflattenRouteParam('data');
|
|
352
|
-
data = input(_computed(() => this._data()), ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
352
|
+
data = input(_computed(() => this._data()), ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
353
353
|
formInvalid = derivedAsync(() => getInvalid$(this.form()));
|
|
354
|
-
title = input(_computed(() => this.config().title || this.feature.title()), ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
354
|
+
title = input(_computed(() => this.config().title || this.feature.title()), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
355
355
|
#actions = derivedAsync(() => buildActions(this.feature.hasPermission(this.command()), this.formInvalid()));
|
|
356
|
-
actions = input(_computed(() => this.#actions()), ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
356
|
+
actions = input(_computed(() => this.#actions()), ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
357
357
|
skip = injectRouteSkip();
|
|
358
358
|
constructor() {
|
|
359
359
|
super();
|
|
360
360
|
CommandPageStore_1.Initializer.initializeStore(this);
|
|
361
361
|
}
|
|
362
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
363
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandPageStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
363
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: CommandPageStore, isStandalone: true, inputs: { style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, command: { classPropertyName: "command", publicName: "command", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, extractedFormFieldMap: { classPropertyName: "extractedFormFieldMap", publicName: "extractedFormFieldMap", isSignal: true, isRequired: false, transformFunction: null }, additionalFormFieldMap: { classPropertyName: "additionalFormFieldMap", publicName: "additionalFormFieldMap", isSignal: true, isRequired: false, transformFunction: null }, formFieldMap: { classPropertyName: "formFieldMap", publicName: "formFieldMap", isSignal: true, isRequired: false, transformFunction: null }, formFieldKeys: { classPropertyName: "formFieldKeys", publicName: "formFieldKeys", isSignal: true, isRequired: false, transformFunction: null }, formFlatExcludes: { classPropertyName: "formFlatExcludes", publicName: "formFlatExcludes", isSignal: true, isRequired: false, transformFunction: null }, initializeQuery: { classPropertyName: "initializeQuery", publicName: "initializeQuery", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
364
364
|
};
|
|
365
365
|
CommandPageStore = CommandPageStore_1 = __decorate([
|
|
366
366
|
TokenizedType(),
|
|
367
367
|
__metadata("design:paramtypes", [])
|
|
368
368
|
], CommandPageStore);
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandPageStore, decorators: [{
|
|
370
370
|
type: Directive,
|
|
371
371
|
args: [{ standalone: true }]
|
|
372
372
|
}], ctorParameters: () => [], propDecorators: { style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], navStartActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navStartActions", required: false }] }], navEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navEndActions", required: false }] }], command: [{ type: i0.Input, args: [{ isSignal: true, alias: "command", required: false }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], extractedFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "extractedFormFieldMap", required: false }] }], additionalFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalFormFieldMap", required: false }] }], formFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "formFieldMap", required: false }] }], formFieldKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "formFieldKeys", required: false }] }], formFlatExcludes: [{ type: i0.Input, args: [{ isSignal: true, alias: "formFlatExcludes", required: false }] }], initializeQuery: [{ type: i0.Input, args: [{ isSignal: true, alias: "initializeQuery", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }] } });
|
|
@@ -378,8 +378,8 @@ class CommandPage extends NgAtomicComponent {
|
|
|
378
378
|
onFileSelected(payload) {
|
|
379
379
|
this.dispatch({ id: ActionId.FILE_SELECTED, payload });
|
|
380
380
|
}
|
|
381
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
382
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
381
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandPage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
382
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: CommandPage, isStandalone: true, selector: "pages-command", providers: [
|
|
383
383
|
CommandFeature,
|
|
384
384
|
QueryFeature,
|
|
385
385
|
QueryGraphqlSchemaFeature
|
|
@@ -410,7 +410,7 @@ class CommandPage extends NgAtomicComponent {
|
|
|
410
410
|
</frames-tabs>
|
|
411
411
|
</templates-form>
|
|
412
412
|
</frames-router-outlet>
|
|
413
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-command-
|
|
413
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-command-iwOx: var(--page-width-lv1);--primary-color-SCOPED-IN-command-iwOx: var(--primary-color);--on-primary-color-SCOPED-IN-command-iwOx: var(--on-primary-color);--background-color-SCOPED-IN-command-iwOx: var(--background-color);--on-background-color-SCOPED-IN-command-iwOx: var(--on-background-color)}:host templates-form{padding-left:0;box-sizing:border-box;transition:padding-left .3s}:host .template{--first-content-height: 0px;width:var(--page-width-lv1-SCOPED-IN-command-iwOx)}:host .template div[dashboard]{padding:0;box-sizing:border-box}:host *{--primary-color: var(--primary-color-SCOPED-IN-command-iwOx);--on-primary-color: var(--on-primary-color-SCOPED-IN-command-iwOx);--background-color: var(--background-color-SCOPED-IN-command-iwOx);--on-background-color: var(--on-background-color-SCOPED-IN-command-iwOx)}\n"], dependencies: [{ kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "component", type: FormTemplate, selector: "templates-form" }, { kind: "component", type: TabsFrame, selector: "frames-tabs", inputs: ["labels"], outputs: ["selectedTabIndexChange"] }, { kind: "component", type: CommandFormGroup, selector: "groups-command-form", inputs: ["apiJsonUrls"] }, { kind: "component", type: QueryFormGroup, selector: "groups-query-form", inputs: ["form", "keyActions"] }] });
|
|
414
414
|
}
|
|
415
415
|
__decorate([
|
|
416
416
|
Effect(FormTemplateStore.ActionId.FILE_SELECTED),
|
|
@@ -418,7 +418,7 @@ __decorate([
|
|
|
418
418
|
__metadata("design:paramtypes", [Object]),
|
|
419
419
|
__metadata("design:returntype", void 0)
|
|
420
420
|
], CommandPage.prototype, "onFileSelected", null);
|
|
421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandPage, decorators: [{
|
|
422
422
|
type: Component,
|
|
423
423
|
args: [{ selector: 'pages-command', imports: [
|
|
424
424
|
RouterOutletFrame,
|
|
@@ -473,7 +473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
473
473
|
'actions',
|
|
474
474
|
]
|
|
475
475
|
},
|
|
476
|
-
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-command-
|
|
476
|
+
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-command-iwOx: var(--page-width-lv1);--primary-color-SCOPED-IN-command-iwOx: var(--primary-color);--on-primary-color-SCOPED-IN-command-iwOx: var(--on-primary-color);--background-color-SCOPED-IN-command-iwOx: var(--background-color);--on-background-color-SCOPED-IN-command-iwOx: var(--on-background-color)}:host templates-form{padding-left:0;box-sizing:border-box;transition:padding-left .3s}:host .template{--first-content-height: 0px;width:var(--page-width-lv1-SCOPED-IN-command-iwOx)}:host .template div[dashboard]{padding:0;box-sizing:border-box}:host *{--primary-color: var(--primary-color-SCOPED-IN-command-iwOx);--on-primary-color: var(--on-primary-color-SCOPED-IN-command-iwOx);--background-color: var(--background-color-SCOPED-IN-command-iwOx);--on-background-color: var(--on-background-color-SCOPED-IN-command-iwOx)}\n"] }]
|
|
477
477
|
}], propDecorators: { onFileSelected: [] } });
|
|
478
478
|
|
|
479
479
|
/**
|
|
@@ -38,17 +38,17 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
38
38
|
provideEffect(ListOrganism.ActionId.CLICK_ITEM, () => handler),
|
|
39
39
|
];
|
|
40
40
|
}
|
|
41
|
-
query = input(injectRouteData('query')(), ...(ngDevMode ? [{ debugName: "query" }] : []));
|
|
42
|
-
navEndActions = input(injectRouteData('navEndActions')(), ...(ngDevMode ? [{ debugName: "navEndActions" }] : []));
|
|
43
|
-
columnNames = input([], ...(ngDevMode ? [{ debugName: "columnNames" }] : []));
|
|
44
|
-
presenter = input(injectRouteData('presenter')() ?? 'table', ...(ngDevMode ? [{ debugName: "presenter" }] : []));
|
|
41
|
+
query = input(injectRouteData('query')(), ...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
42
|
+
navEndActions = input(injectRouteData('navEndActions')(), ...(ngDevMode ? [{ debugName: "navEndActions" }] : /* istanbul ignore next */ []));
|
|
43
|
+
columnNames = input([], ...(ngDevMode ? [{ debugName: "columnNames" }] : /* istanbul ignore next */ []));
|
|
44
|
+
presenter = input(injectRouteData('presenter')() ?? 'table', ...(ngDevMode ? [{ debugName: "presenter" }] : /* istanbul ignore next */ []));
|
|
45
45
|
feature = inject(QueryFeature);
|
|
46
46
|
fb = inject(FormBuilder);
|
|
47
|
-
queryPanelExpanded = signal(true, ...(ngDevMode ? [{ debugName: "queryPanelExpanded" }] : []));
|
|
48
|
-
transformerPanelExpanded = signal(false, ...(ngDevMode ? [{ debugName: "transformerPanelExpanded" }] : []));
|
|
49
|
-
presenterPanelExpanded = signal(true, ...(ngDevMode ? [{ debugName: "presenterPanelExpanded" }] : []));
|
|
47
|
+
queryPanelExpanded = signal(true, ...(ngDevMode ? [{ debugName: "queryPanelExpanded" }] : /* istanbul ignore next */ []));
|
|
48
|
+
transformerPanelExpanded = signal(false, ...(ngDevMode ? [{ debugName: "transformerPanelExpanded" }] : /* istanbul ignore next */ []));
|
|
49
|
+
presenterPanelExpanded = signal(true, ...(ngDevMode ? [{ debugName: "presenterPanelExpanded" }] : /* istanbul ignore next */ []));
|
|
50
50
|
openPanelCount = computed(() => [this.queryPanelExpanded(), this.transformerPanelExpanded(), this.presenterPanelExpanded()]
|
|
51
|
-
.filter(Boolean).length, ...(ngDevMode ? [{ debugName: "openPanelCount" }] : []));
|
|
51
|
+
.filter(Boolean).length, ...(ngDevMode ? [{ debugName: "openPanelCount" }] : /* istanbul ignore next */ []));
|
|
52
52
|
toggleQueryPanel(expanded) {
|
|
53
53
|
if (!expanded && this.openPanelCount() <= 1)
|
|
54
54
|
return;
|
|
@@ -64,20 +64,20 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
64
64
|
return;
|
|
65
65
|
this.presenterPanelExpanded.set(expanded);
|
|
66
66
|
}
|
|
67
|
-
title = computed(() => this.query()?.title || 'データ一覧', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
68
|
-
queryType = computed(() => this.query()?.type || 'graphql', ...(ngDevMode ? [{ debugName: "queryType" }] : []));
|
|
67
|
+
title = computed(() => this.query()?.title || 'データ一覧', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
68
|
+
queryType = computed(() => this.query()?.type || 'graphql', ...(ngDevMode ? [{ debugName: "queryType" }] : /* istanbul ignore next */ []));
|
|
69
69
|
isLoading$ = this.feature.result$.pipe(map(() => false), startWith(true));
|
|
70
70
|
isLoading = toSignal(this.isLoading$, { initialValue: true });
|
|
71
|
-
result = computed(() => this.feature.result() ?? {}, ...(ngDevMode ? [{ debugName: "result" }] : []));
|
|
72
|
-
itemsMap = computed(() => buildItemsMapFromResult(this.result()), ...(ngDevMode ? [{ debugName: "itemsMap" }] : []));
|
|
71
|
+
result = computed(() => this.feature.result() ?? {}, ...(ngDevMode ? [{ debugName: "result" }] : /* istanbul ignore next */ []));
|
|
72
|
+
itemsMap = computed(() => buildItemsMapFromResult(this.result()), ...(ngDevMode ? [{ debugName: "itemsMap" }] : /* istanbul ignore next */ []));
|
|
73
73
|
items = computed(() => {
|
|
74
74
|
const map = this.itemsMap();
|
|
75
75
|
const keys = Object.keys(map);
|
|
76
76
|
if (keys.length === 0)
|
|
77
77
|
return [];
|
|
78
78
|
return map[keys[0]]?.items ?? [];
|
|
79
|
-
}, ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
80
|
-
itemCount = computed(() => this.items().length, ...(ngDevMode ? [{ debugName: "itemCount" }] : []));
|
|
79
|
+
}, ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
80
|
+
itemCount = computed(() => this.items().length, ...(ngDevMode ? [{ debugName: "itemCount" }] : /* istanbul ignore next */ []));
|
|
81
81
|
displayedColumns = computed(() => {
|
|
82
82
|
const items = this.items();
|
|
83
83
|
if (items.length === 0)
|
|
@@ -86,7 +86,7 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
86
86
|
if (!firstItem || typeof firstItem !== 'object')
|
|
87
87
|
return [];
|
|
88
88
|
return Object.keys(firstItem);
|
|
89
|
-
}, ...(ngDevMode ? [{ debugName: "displayedColumns" }] : []));
|
|
89
|
+
}, ...(ngDevMode ? [{ debugName: "displayedColumns" }] : /* istanbul ignore next */ []));
|
|
90
90
|
tableForm = computed(() => {
|
|
91
91
|
const columns = this.displayedColumns();
|
|
92
92
|
const columnsMap = {};
|
|
@@ -96,7 +96,7 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
96
96
|
return this.fb.group({
|
|
97
97
|
columns: this.fb.group({ map: this.fb.group(columnsMap) })
|
|
98
98
|
});
|
|
99
|
-
}, ...(ngDevMode ? [{ debugName: "tableForm" }] : []));
|
|
99
|
+
}, ...(ngDevMode ? [{ debugName: "tableForm" }] : /* istanbul ignore next */ []));
|
|
100
100
|
columnFormFieldMap = computed(() => {
|
|
101
101
|
const columns = this.displayedColumns();
|
|
102
102
|
const fieldMap = {};
|
|
@@ -104,7 +104,7 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
104
104
|
fieldMap[col] = { type: 'text', label: col };
|
|
105
105
|
});
|
|
106
106
|
return fieldMap;
|
|
107
|
-
}, ...(ngDevMode ? [{ debugName: "columnFormFieldMap" }] : []));
|
|
107
|
+
}, ...(ngDevMode ? [{ debugName: "columnFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
108
108
|
constructor() {
|
|
109
109
|
super();
|
|
110
110
|
effect(() => {
|
|
@@ -123,10 +123,10 @@ class QueryPageV2Store extends InjectableComponent {
|
|
|
123
123
|
refresh() {
|
|
124
124
|
this.feature.refresh();
|
|
125
125
|
}
|
|
126
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
127
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageV2Store, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
127
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: QueryPageV2Store, isStandalone: true, inputs: { query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, columnNames: { classPropertyName: "columnNames", publicName: "columnNames", isSignal: true, isRequired: false, transformFunction: null }, presenter: { classPropertyName: "presenter", publicName: "presenter", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
128
128
|
}
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageV2Store, decorators: [{
|
|
130
130
|
type: Directive,
|
|
131
131
|
args: [{ standalone: true }]
|
|
132
132
|
}], ctorParameters: () => [], propDecorators: { query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }], navEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navEndActions", required: false }] }], columnNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnNames", required: false }] }], presenter: [{ type: i0.Input, args: [{ isSignal: true, alias: "presenter", required: false }] }] } });
|
|
@@ -137,8 +137,8 @@ class QueryPageV2 extends NgAtomicComponent {
|
|
|
137
137
|
onItemClick(item) {
|
|
138
138
|
this.dispatch({ id: ActionId.CLICK_ITEM, payload: item });
|
|
139
139
|
}
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
141
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageV2, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QueryPageV2, isStandalone: true, selector: "pages-query-v2", providers: [
|
|
142
142
|
QueryFeature.provideDefault(),
|
|
143
143
|
], usesInheritance: true, hostDirectives: [{ directive: QueryPageV2Store, inputs: ["query", "query", "navEndActions", "navEndActions", "columnNames", "columnNames", "presenter", "presenter"] }], ngImport: i0, template: "<frames-router-outlet>\n <organisms-navigator\n injectable\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n >\n <span class=\"title\">{{ store.title() }}</span>\n </organisms-navigator>\n\n <div class=\"qtp-container\">\n <!-- Query Panel -->\n <mat-expansion-panel class=\"config-panel query-panel\"\n [expanded]=\"store.queryPanelExpanded()\"\n (opened)=\"store.toggleQueryPanel(true)\"\n (closed)=\"store.toggleQueryPanel(false)\">\n <mat-expansion-panel-header>\n <mat-panel-title>\n <mat-icon>code</mat-icon>\n <span>Query</span>\n </mat-panel-title>\n <mat-panel-description class=\"header-actions\">\n <span class=\"query-type\">{{ store.queryType() }}</span>\n <button mat-flat-button color=\"primary\" class=\"header-run-button\"\n (click)=\"store.refresh(); $event.stopPropagation()\">\n <mat-icon>play_arrow</mat-icon>Run\n </button>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div class=\"query-content\">\n <div class=\"query-form\" [formGroup]=\"store.feature.form\">\n <div class=\"form-row\" formGroupName=\"graphql\">\n <mat-form-field appearance=\"outline\" class=\"endpoint-field\">\n <mat-label>Endpoint</mat-label>\n <input matInput formControlName=\"endpoint\" placeholder=\"GraphQL Endpoint\">\n </mat-form-field>\n </div>\n <div class=\"form-row query-row\" formGroupName=\"graphql\">\n <mat-form-field appearance=\"outline\" class=\"query-field\">\n <mat-label>Query</mat-label>\n <textarea matInput formControlName=\"query\" rows=\"12\"\n placeholder=\"GraphQL Query or Subscription\"></textarea>\n </mat-form-field>\n </div>\n <div class=\"form-row variables-row\" formGroupName=\"graphql\">\n <mat-form-field appearance=\"outline\" class=\"variables-field\">\n <mat-label>Variables (JSON)</mat-label>\n <textarea matInput formControlName=\"variablesJson\" rows=\"3\"\n placeholder='{\"limit\": 25, \"offset\": 0}'></textarea>\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class=\"headers-field\">\n <mat-label>Headers (JSON)</mat-label>\n <textarea matInput formControlName=\"headersJson\" rows=\"3\"\n placeholder='{\"content-type\": \"application/json\"}'></textarea>\n </mat-form-field>\n </div>\n </div>\n </div>\n </mat-expansion-panel>\n\n <!-- Transformer Panel -->\n <mat-expansion-panel class=\"config-panel transformer-panel\"\n [expanded]=\"store.transformerPanelExpanded()\"\n (opened)=\"store.toggleTransformerPanel(true)\"\n (closed)=\"store.toggleTransformerPanel(false)\">\n <mat-expansion-panel-header>\n <mat-panel-title>\n <mat-icon>transform</mat-icon>\n <span>Transformer</span>\n </mat-panel-title>\n <mat-panel-description class=\"header-actions\">\n <button mat-flat-button color=\"primary\" class=\"header-run-button\"\n (click)=\"store.refresh(); $event.stopPropagation()\">\n <mat-icon>play_arrow</mat-icon>Run\n </button>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div class=\"transformer-content\" [formGroup]=\"store.feature.form\">\n <div formGroupName=\"graphql\">\n <mat-form-field appearance=\"outline\" class=\"transformer-field\">\n <mat-label>Transformer (TypeScript)</mat-label>\n <textarea matInput formControlName=\"transformerTs\" rows=\"10\"\n placeholder=\"const transformer = (data) => data;\"></textarea>\n </mat-form-field>\n </div>\n </div>\n </mat-expansion-panel>\n\n <!-- Presenter Panel -->\n <mat-expansion-panel class=\"config-panel presenter-panel\"\n [expanded]=\"store.presenterPanelExpanded()\"\n (opened)=\"store.togglePresenterPanel(true)\"\n (closed)=\"store.togglePresenterPanel(false)\">\n <mat-expansion-panel-header>\n <mat-panel-title>\n <mat-icon>table_chart</mat-icon>\n <span>Presenter</span>\n </mat-panel-title>\n <mat-panel-description class=\"header-actions\">\n @if (store.isLoading()) {\n <mat-spinner diameter=\"16\"></mat-spinner>\n }\n <span>{{ store.itemCount() }} \u4EF6</span>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div class=\"presenter-content\">\n @switch (store.presenter()) {\n @case ('list') {\n <organisms-list\n [items]=\"store.items()\"\n (action)=\"dispatch($event)\"\n />\n }\n @default {\n <organisms-table\n [items]=\"store.items()\"\n [form]=\"store.tableForm()\"\n [columnFormFieldMap]=\"store.columnFormFieldMap()\"\n />\n }\n }\n </div>\n </mat-expansion-panel>\n </div>\n</frames-router-outlet>\n", styles: [".config-panel{background:#0000004d;flex:0 0 auto;display:flex;flex-direction:column;overflow:hidden;width:100%}.config-panel.mat-expanded{flex:1 1 0;min-height:0}.config-panel.mat-expanded ::ng-deep .mat-expansion-panel-content-wrapper{flex:1 1 0;min-height:0}.config-panel ::ng-deep .mat-expansion-panel-header{padding:0 12px;height:40px;flex:0 0 40px}.config-panel.mat-expanded ::ng-deep .mat-expansion-panel-content{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}.config-panel.mat-expanded ::ng-deep .mat-expansion-panel-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;padding:8px 12px;overflow:hidden}.config-panel ::ng-deep .mat-expansion-panel-header-title{display:flex;align-items:center;gap:8px;font-size:12px;color:#ffffffb3;flex:0 0 auto}.config-panel ::ng-deep .mat-expansion-panel-header-title mat-icon{font-size:16px;width:16px;height:16px}.config-panel ::ng-deep .mat-expansion-panel-header-description{flex:1;justify-content:flex-end;margin-right:0}.header-actions{display:flex;align-items:center;gap:8px;color:#ffffffb3}.query-type{font-size:11px;color:#ffffff80;padding:2px 8px;background:#ffffff1a;border-radius:4px}.header-run-button{height:24px;line-height:24px;font-size:11px;padding:0 8px;min-width:auto;background:#1976d2;color:#fff}.header-run-button ::ng-deep .mat-icon{font-size:14px;width:14px;height:14px;margin-right:2px}::ng-deep .mat-mdc-form-field{width:100%}::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}::ng-deep .mat-mdc-text-field-wrapper{background:#ffffff0d}::ng-deep .mdc-notched-outline__leading,::ng-deep .mdc-notched-outline__notch,::ng-deep .mdc-notched-outline__trailing{border-color:#fff3!important}::ng-deep .mat-mdc-form-field-label{color:#fff9}::ng-deep .mat-mdc-input-element{color:#ffffffe6}::ng-deep textarea.mat-mdc-input-element{min-height:60px}.query-panel ::ng-deep .mat-expansion-panel-body{padding:8px}.query-content{flex:1 1 0;min-height:0;overflow:auto;background:#0a0a0a;border-radius:4px;padding:8px}.query-form{display:flex;flex-direction:column;gap:8px;width:100%;height:100%;min-height:0}.form-row{display:flex;gap:8px;width:100%;flex:0 0 auto}.form-row.query-row{flex:1 1 0;min-height:0}.form-row.variables-row .variables-field,.form-row.variables-row .headers-field{flex:1 1 50%}.endpoint-field{width:100%;flex:0 0 auto}.query-field{width:100%;flex:1 1 0;min-height:0}.query-field ::ng-deep .mat-mdc-form-field-flex{height:100%}.query-field ::ng-deep textarea{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;resize:none;height:100%}.transformer-panel ::ng-deep .mat-expansion-panel-body{padding:8px}.transformer-content{flex:1 1 0;min-height:0;overflow:auto;background:#0a0a0a;border-radius:4px;padding:8px}.transformer-field{width:100%}.transformer-field ::ng-deep textarea{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.4;resize:none}.presenter-panel ::ng-deep .mat-expansion-panel-body{padding:0}.presenter-content{flex:1 1 0;min-height:0;overflow:hidden;position:relative;display:flex;flex-direction:column}.presenter-content ::ng-deep organisms-table{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}:host{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}:host ::ng-deep frames-line-up .main{display:flex;flex-direction:column;width:100%;max-width:100%}.title{font-size:16px;font-weight:500}.qtp-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0;gap:4px;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "component", type: i3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i3.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.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: MatFormFieldModule }, { kind: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "component", type: TableOrganism, selector: "organisms-table" }, { kind: "component", type: ListOrganism, selector: "organisms-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
144
144
|
}
|
|
@@ -148,7 +148,7 @@ __decorate([
|
|
|
148
148
|
__metadata("design:paramtypes", [Object]),
|
|
149
149
|
__metadata("design:returntype", void 0)
|
|
150
150
|
], QueryPageV2.prototype, "onItemClick", null);
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageV2, decorators: [{
|
|
152
152
|
type: Component,
|
|
153
153
|
args: [{ selector: 'pages-query-v2', standalone: true, imports: [
|
|
154
154
|
ReactiveFormsModule,
|