@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
|
@@ -86,15 +86,15 @@ function toggleAllSelectedIds(selectedIds, items) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class QueryActionReducer {
|
|
89
|
-
action = signal(null, ...(ngDevMode ? [{ debugName: "action" }] : []));
|
|
89
|
+
action = signal(null, ...(ngDevMode ? [{ debugName: "action" }] : /* istanbul ignore next */ []));
|
|
90
90
|
action$ = toObservable(this.action);
|
|
91
91
|
dispatch(action) {
|
|
92
92
|
this.action.set(action);
|
|
93
93
|
}
|
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
95
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryActionReducer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
95
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryActionReducer, providedIn: 'root' });
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryActionReducer, decorators: [{
|
|
98
98
|
type: Injectable,
|
|
99
99
|
args: [{ providedIn: 'root' }]
|
|
100
100
|
}] });
|
|
@@ -346,7 +346,7 @@ function provideNavEndActionsInitializer(storeToken) {
|
|
|
346
346
|
id: ActionId.TOGGLE_VARIABLES_FORM,
|
|
347
347
|
icon: store.navMode() === 'collapsed' ? 'expand_less' : 'expand_more'
|
|
348
348
|
} : null,
|
|
349
|
-
].filter(Boolean), ...(ngDevMode ? [{ debugName: "navEndActions" }] : []));
|
|
349
|
+
].filter(Boolean), ...(ngDevMode ? [{ debugName: "navEndActions" }] : /* istanbul ignore next */ []));
|
|
350
350
|
effect(() => applyToInput(store, 'navEndActions', [
|
|
351
351
|
...navEndActions(),
|
|
352
352
|
...store.additionalNavEndActions()
|
|
@@ -439,9 +439,9 @@ function setupServerSidePagination(target) {
|
|
|
439
439
|
const page = computed(() => ({
|
|
440
440
|
index: pageValue()?.index ?? 0,
|
|
441
441
|
size: pageValue()?.size || DEFAULT_PAGE.size,
|
|
442
|
-
}), { ...(ngDevMode ? { debugName: "page" } : {}), equal: isEqual });
|
|
443
|
-
const gql = computed(() => target.feature.query()?.graphql?.query ?? '', ...(ngDevMode ? [{ debugName: "gql" }] : []));
|
|
444
|
-
const paging = computed(() => declaresPagingVariables(gql()), ...(ngDevMode ? [{ debugName: "paging" }] : []));
|
|
442
|
+
}), { ...(ngDevMode ? { debugName: "page" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
443
|
+
const gql = computed(() => target.feature.query()?.graphql?.query ?? '', ...(ngDevMode ? [{ debugName: "gql" }] : /* istanbul ignore next */ []));
|
|
444
|
+
const paging = computed(() => declaresPagingVariables(gql()), ...(ngDevMode ? [{ debugName: "paging" }] : /* istanbul ignore next */ []));
|
|
445
445
|
effect(() => {
|
|
446
446
|
if (!paging())
|
|
447
447
|
return;
|
|
@@ -451,7 +451,7 @@ function setupServerSidePagination(target) {
|
|
|
451
451
|
return;
|
|
452
452
|
untracked(() => target.feature.form.get(['graphql', 'variablesJson']).setValue(JSON.stringify(next, null, 2)));
|
|
453
453
|
});
|
|
454
|
-
const countQuery = computed(() => (paging() ? buildCountQuery(target.feature.query()) : null), { ...(ngDevMode ? { debugName: "countQuery" } : {}), equal: isEqual });
|
|
454
|
+
const countQuery = computed(() => (paging() ? buildCountQuery(target.feature.query()) : null), { ...(ngDevMode ? { debugName: "countQuery" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
455
455
|
const count = derivedAsync(() => {
|
|
456
456
|
const query = countQuery();
|
|
457
457
|
if (!query)
|
|
@@ -604,7 +604,7 @@ let QueryPageStore = class QueryPageStore extends InjectableComponent {
|
|
|
604
604
|
return [
|
|
605
605
|
QueryPageStore_1.DI.provideInitializer((store) => {
|
|
606
606
|
const query = injectOne(Query, { id: injectRouteData(key) });
|
|
607
|
-
const _query = computed(() => query(), { ...(ngDevMode ? { debugName: "_query" } : {}), equal: (pre, cur) => JSON.stringify(pre) === JSON.stringify(cur) });
|
|
607
|
+
const _query = computed(() => query(), { ...(ngDevMode ? { debugName: "_query" } : /* istanbul ignore next */ {}), equal: (pre, cur) => JSON.stringify(pre) === JSON.stringify(cur) });
|
|
608
608
|
effect(() => {
|
|
609
609
|
console.debug('[QueryPageStore] query:', _query());
|
|
610
610
|
applyToInput(store, 'query', _query());
|
|
@@ -706,46 +706,46 @@ let QueryPageStore = class QueryPageStore extends InjectableComponent {
|
|
|
706
706
|
feature = inject(QueryFeature);
|
|
707
707
|
variablesFormFeature = inject(QueryGraphqlVariablesFormFeature);
|
|
708
708
|
indexFormBuilder = injectIndexFormBuilder();
|
|
709
|
-
navMode = signal('collapsed', ...(ngDevMode ? [{ debugName: "navMode" }] : []));
|
|
709
|
+
navMode = signal('collapsed', ...(ngDevMode ? [{ debugName: "navMode" }] : /* istanbul ignore next */ []));
|
|
710
710
|
editingStateManager = inject(EditingStateManager);
|
|
711
|
-
style = input(_computed(() => this.config().style), ...(ngDevMode ? [{ debugName: "style" }] : []));
|
|
712
|
-
query = input(null, ...(ngDevMode ? [{ debugName: "query" }] : []));
|
|
711
|
+
style = input(_computed(() => this.config().style), ...(ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []));
|
|
712
|
+
query = input(null, ...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
713
713
|
#navStartActions = injectNavStartActionsV2();
|
|
714
|
-
navStartActions = input(_computed(() => this.#navStartActions()), ...(ngDevMode ? [{ debugName: "navStartActions" }] : []));
|
|
715
|
-
additionalNavEndActions = input(_computed(() => this.config().additionalNavEndActions), ...(ngDevMode ? [{ debugName: "additionalNavEndActions" }] : []));
|
|
716
|
-
navEndActions = input(_computed(() => this.config().navEndActions), ...(ngDevMode ? [{ debugName: "navEndActions" }] : []));
|
|
717
|
-
type = input(_computed(() => this.config().type), ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
718
|
-
title = input(_computed(() => this.config().title ?? this.query()?.title), ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
719
|
-
titleEditable = input(_computed(() => this.config().titleEditable), ...(ngDevMode ? [{ debugName: "titleEditable" }] : []));
|
|
720
|
-
description = input('', ...(ngDevMode ? [{ debugName: "description" }] : []));
|
|
721
|
-
itemsMap = input(_computed(() => buildItemsMapFromResult(this.feature.result())), ...(ngDevMode ? [{ debugName: "itemsMap" }] : []));
|
|
722
|
-
items = computed(() => this.itemsMap()[Object.keys(this.itemsMap())[0]]?.items ?? [], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
723
|
-
itemsLength = input(_computed(() => this.itemsMap()[Object.keys(this.itemsMap())[0]]?.itemsLength ?? 0), ...(ngDevMode ? [{ debugName: "itemsLength" }] : []));
|
|
724
|
-
childrenKey = input(_computed(() => this.config().childrenKey), ...(ngDevMode ? [{ debugName: "childrenKey" }] : []));
|
|
725
|
-
additionalColumns = input(_computed(() => this.config().additionalColumns), ...(ngDevMode ? [{ debugName: "additionalColumns" }] : []));
|
|
726
|
-
additionalColumnNames = input(_computed(() => this.additionalColumns()(this.items())), ...(ngDevMode ? [{ debugName: "additionalColumnNames" }] : []));
|
|
727
|
-
extractedColumnNames = input(_computed(() => QueryHelper.extractColumnNames(this.items(), this.childrenKey())), ...(ngDevMode ? [{ debugName: "extractedColumnNames" }] : []));
|
|
728
|
-
columnNames = input(_computed(() => [...this.extractedColumnNames(), ...this.additionalColumnNames()]), ...(ngDevMode ? [{ debugName: "columnNames" }] : []));
|
|
729
|
-
sticky = input(_computed(() => ({ stickyStart: 2, stickyEnd: 1 })), ...(ngDevMode ? [{ debugName: "sticky" }] : []));
|
|
730
|
-
form = input(_computed(() => this.indexFormBuilder.build({ columns: buildColumns([...this.columnNames(), '__actions'], this.sticky()) })), ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
731
|
-
itemActions = input(_computed(() => this.config().itemActions), ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
714
|
+
navStartActions = input(_computed(() => this.#navStartActions()), ...(ngDevMode ? [{ debugName: "navStartActions" }] : /* istanbul ignore next */ []));
|
|
715
|
+
additionalNavEndActions = input(_computed(() => this.config().additionalNavEndActions), ...(ngDevMode ? [{ debugName: "additionalNavEndActions" }] : /* istanbul ignore next */ []));
|
|
716
|
+
navEndActions = input(_computed(() => this.config().navEndActions), ...(ngDevMode ? [{ debugName: "navEndActions" }] : /* istanbul ignore next */ []));
|
|
717
|
+
type = input(_computed(() => this.config().type), ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
718
|
+
title = input(_computed(() => this.config().title ?? this.query()?.title), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
719
|
+
titleEditable = input(_computed(() => this.config().titleEditable), ...(ngDevMode ? [{ debugName: "titleEditable" }] : /* istanbul ignore next */ []));
|
|
720
|
+
description = input('', ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
721
|
+
itemsMap = input(_computed(() => buildItemsMapFromResult(this.feature.result())), ...(ngDevMode ? [{ debugName: "itemsMap" }] : /* istanbul ignore next */ []));
|
|
722
|
+
items = computed(() => this.itemsMap()[Object.keys(this.itemsMap())[0]]?.items ?? [], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
723
|
+
itemsLength = input(_computed(() => this.itemsMap()[Object.keys(this.itemsMap())[0]]?.itemsLength ?? 0), ...(ngDevMode ? [{ debugName: "itemsLength" }] : /* istanbul ignore next */ []));
|
|
724
|
+
childrenKey = input(_computed(() => this.config().childrenKey), ...(ngDevMode ? [{ debugName: "childrenKey" }] : /* istanbul ignore next */ []));
|
|
725
|
+
additionalColumns = input(_computed(() => this.config().additionalColumns), ...(ngDevMode ? [{ debugName: "additionalColumns" }] : /* istanbul ignore next */ []));
|
|
726
|
+
additionalColumnNames = input(_computed(() => this.additionalColumns()(this.items())), ...(ngDevMode ? [{ debugName: "additionalColumnNames" }] : /* istanbul ignore next */ []));
|
|
727
|
+
extractedColumnNames = input(_computed(() => QueryHelper.extractColumnNames(this.items(), this.childrenKey())), ...(ngDevMode ? [{ debugName: "extractedColumnNames" }] : /* istanbul ignore next */ []));
|
|
728
|
+
columnNames = input(_computed(() => [...this.extractedColumnNames(), ...this.additionalColumnNames()]), ...(ngDevMode ? [{ debugName: "columnNames" }] : /* istanbul ignore next */ []));
|
|
729
|
+
sticky = input(_computed(() => ({ stickyStart: 2, stickyEnd: 1 })), ...(ngDevMode ? [{ debugName: "sticky" }] : /* istanbul ignore next */ []));
|
|
730
|
+
form = input(_computed(() => this.indexFormBuilder.build({ columns: buildColumns([...this.columnNames(), '__actions'], this.sticky()) })), ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
731
|
+
itemActions = input(_computed(() => this.config().itemActions), ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
732
732
|
tableTreeControl = new FlatTreeControl(n => n.level, n => n.isExpandable, { trackBy: (n) => n?.id ?? n });
|
|
733
|
-
variablesForm = input(_computed(() => this.variablesFormFeature.variablesForm() ?? new FormGroup({})), ...(ngDevMode ? [{ debugName: "variablesForm" }] : []));
|
|
734
|
-
variablesFormFieldMap = input(_computed(() => ({})), ...(ngDevMode ? [{ debugName: "variablesFormFieldMap" }] : []));
|
|
733
|
+
variablesForm = input(_computed(() => this.variablesFormFeature.variablesForm() ?? new FormGroup({})), ...(ngDevMode ? [{ debugName: "variablesForm" }] : /* istanbul ignore next */ []));
|
|
734
|
+
variablesFormFieldMap = input(_computed(() => ({})), ...(ngDevMode ? [{ debugName: "variablesFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
735
735
|
variablesFormValue = derivedAsync(() => getRawValue$(this.variablesForm()), { equal: isEqual });
|
|
736
736
|
variablesFormValue$ = toObservable(this.variablesFormValue);
|
|
737
|
-
variablesFormDisplayed = input(_computed(() => Object.keys(this.variablesForm()?.controls ?? {}).length > 0), ...(ngDevMode ? [{ debugName: "variablesFormDisplayed" }] : []));
|
|
738
|
-
tableColumnFormFieldMap = input(_computed(() => ({})), ...(ngDevMode ? [{ debugName: "tableColumnFormFieldMap" }] : []));
|
|
739
|
-
getRowClass = input(_computed(() => () => ''), ...(ngDevMode ? [{ debugName: "getRowClass" }] : []));
|
|
737
|
+
variablesFormDisplayed = input(_computed(() => Object.keys(this.variablesForm()?.controls ?? {}).length > 0), ...(ngDevMode ? [{ debugName: "variablesFormDisplayed" }] : /* istanbul ignore next */ []));
|
|
738
|
+
tableColumnFormFieldMap = input(_computed(() => ({})), ...(ngDevMode ? [{ debugName: "tableColumnFormFieldMap" }] : /* istanbul ignore next */ []));
|
|
739
|
+
getRowClass = input(_computed(() => () => ''), ...(ngDevMode ? [{ debugName: "getRowClass" }] : /* istanbul ignore next */ []));
|
|
740
740
|
skip = injectRouteSkip();
|
|
741
|
-
pageSizeOptions = input(_computed(() => this.config().pageSizeOptions), ...(ngDevMode ? [{ debugName: "pageSizeOptions" }] : []));
|
|
742
|
-
selectedIds = signal([], ...(ngDevMode ? [{ debugName: "selectedIds" }] : []));
|
|
743
|
-
selection = computed(() => new SelectionModel(true, this.selectedIds()), ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
744
|
-
qtpMode = input('presentation', ...(ngDevMode ? [{ debugName: "qtpMode" }] : []));
|
|
741
|
+
pageSizeOptions = input(_computed(() => this.config().pageSizeOptions), ...(ngDevMode ? [{ debugName: "pageSizeOptions" }] : /* istanbul ignore next */ []));
|
|
742
|
+
selectedIds = signal([], ...(ngDevMode ? [{ debugName: "selectedIds" }] : /* istanbul ignore next */ []));
|
|
743
|
+
selection = computed(() => new SelectionModel(true, this.selectedIds()), ...(ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []));
|
|
744
|
+
qtpMode = input('presentation', ...(ngDevMode ? [{ debugName: "qtpMode" }] : /* istanbul ignore next */ []));
|
|
745
745
|
parent = inject(QueryPageStore_1, { skipSelf: true, optional: true });
|
|
746
746
|
presenters = [...QUERY_PAGE_PRESENTERS, ...(inject(QUERY_PAGE_CUSTOM_PRESENTERS, { optional: true }) ?? [])];
|
|
747
747
|
transformers = [QUERY_PAGE_IDENTITY_TRANSFORMER];
|
|
748
|
-
selectedPresenter = computed(() => this.presenters.find(p => p.id === this.type()), ...(ngDevMode ? [{ debugName: "selectedPresenter" }] : []));
|
|
748
|
+
selectedPresenter = computed(() => this.presenters.find(p => p.id === this.type()), ...(ngDevMode ? [{ debugName: "selectedPresenter" }] : /* istanbul ignore next */ []));
|
|
749
749
|
constructor() {
|
|
750
750
|
super();
|
|
751
751
|
QueryPageStore_1.DI.initialize(this);
|
|
@@ -757,14 +757,14 @@ let QueryPageStore = class QueryPageStore extends InjectableComponent {
|
|
|
757
757
|
toggleAllSelection() {
|
|
758
758
|
this.selectedIds.update(ids => toggleAllSelectedIds(ids, this.items()));
|
|
759
759
|
}
|
|
760
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
761
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
760
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
761
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: QueryPageStore, isStandalone: true, inputs: { style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, additionalNavEndActions: { classPropertyName: "additionalNavEndActions", publicName: "additionalNavEndActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, titleEditable: { classPropertyName: "titleEditable", publicName: "titleEditable", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, itemsMap: { classPropertyName: "itemsMap", publicName: "itemsMap", isSignal: true, isRequired: false, transformFunction: null }, itemsLength: { classPropertyName: "itemsLength", publicName: "itemsLength", isSignal: true, isRequired: false, transformFunction: null }, childrenKey: { classPropertyName: "childrenKey", publicName: "childrenKey", isSignal: true, isRequired: false, transformFunction: null }, additionalColumns: { classPropertyName: "additionalColumns", publicName: "additionalColumns", isSignal: true, isRequired: false, transformFunction: null }, additionalColumnNames: { classPropertyName: "additionalColumnNames", publicName: "additionalColumnNames", isSignal: true, isRequired: false, transformFunction: null }, extractedColumnNames: { classPropertyName: "extractedColumnNames", publicName: "extractedColumnNames", isSignal: true, isRequired: false, transformFunction: null }, columnNames: { classPropertyName: "columnNames", publicName: "columnNames", isSignal: true, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "sticky", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, variablesForm: { classPropertyName: "variablesForm", publicName: "variablesForm", isSignal: true, isRequired: false, transformFunction: null }, variablesFormFieldMap: { classPropertyName: "variablesFormFieldMap", publicName: "variablesFormFieldMap", isSignal: true, isRequired: false, transformFunction: null }, variablesFormDisplayed: { classPropertyName: "variablesFormDisplayed", publicName: "variablesFormDisplayed", isSignal: true, isRequired: false, transformFunction: null }, tableColumnFormFieldMap: { classPropertyName: "tableColumnFormFieldMap", publicName: "tableColumnFormFieldMap", isSignal: true, isRequired: false, transformFunction: null }, getRowClass: { classPropertyName: "getRowClass", publicName: "getRowClass", isSignal: true, isRequired: false, transformFunction: null }, pageSizeOptions: { classPropertyName: "pageSizeOptions", publicName: "pageSizeOptions", isSignal: true, isRequired: false, transformFunction: null }, qtpMode: { classPropertyName: "qtpMode", publicName: "qtpMode", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
762
762
|
};
|
|
763
763
|
QueryPageStore = QueryPageStore_1 = __decorate([
|
|
764
764
|
TokenizedType(),
|
|
765
765
|
__metadata("design:paramtypes", [])
|
|
766
766
|
], QueryPageStore);
|
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPageStore, decorators: [{
|
|
768
768
|
type: Directive,
|
|
769
769
|
args: [{ standalone: true }]
|
|
770
770
|
}], ctorParameters: () => [], propDecorators: { style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }], navStartActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navStartActions", required: false }] }], additionalNavEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalNavEndActions", required: false }] }], navEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navEndActions", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titleEditable: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleEditable", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], itemsMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsMap", required: false }] }], itemsLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsLength", required: false }] }], childrenKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "childrenKey", required: false }] }], additionalColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalColumns", required: false }] }], additionalColumnNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalColumnNames", required: false }] }], extractedColumnNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "extractedColumnNames", required: false }] }], columnNames: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnNames", required: false }] }], sticky: [{ type: i0.Input, args: [{ isSignal: true, alias: "sticky", required: false }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], itemActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemActions", required: false }] }], variablesForm: [{ type: i0.Input, args: [{ isSignal: true, alias: "variablesForm", required: false }] }], variablesFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "variablesFormFieldMap", required: false }] }], variablesFormDisplayed: [{ type: i0.Input, args: [{ isSignal: true, alias: "variablesFormDisplayed", required: false }] }], tableColumnFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableColumnFormFieldMap", required: false }] }], getRowClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRowClass", required: false }] }], pageSizeOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizeOptions", required: false }] }], qtpMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "qtpMode", required: false }] }] } });
|
|
@@ -777,14 +777,14 @@ class QueryPage extends NgAtomicComponent {
|
|
|
777
777
|
reducer = inject(QueryActionReducer);
|
|
778
778
|
query = inject(QueryService);
|
|
779
779
|
feature = inject(QueryFeature);
|
|
780
|
-
template = viewChild(IndexTemplate, ...(ngDevMode ? [{ debugName: "template" }] : []));
|
|
781
|
-
title = input('default title', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
780
|
+
template = viewChild(IndexTemplate, ...(ngDevMode ? [{ debugName: "template" }] : /* istanbul ignore next */ []));
|
|
781
|
+
title = input('default title', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
782
782
|
constructor() {
|
|
783
783
|
super();
|
|
784
784
|
this.reducer.action$.subscribe((action) => this.dispatch(action));
|
|
785
785
|
const context = computed(() => ({
|
|
786
786
|
query: this.feature.formValue(),
|
|
787
|
-
}), ...(ngDevMode ? [{ debugName: "context" }] : []));
|
|
787
|
+
}), ...(ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []));
|
|
788
788
|
effect(() => this.app.context.context.set(JSON.stringify(context())));
|
|
789
789
|
}
|
|
790
790
|
selectPresenter(presenter) {
|
|
@@ -813,8 +813,8 @@ class QueryPage extends NgAtomicComponent {
|
|
|
813
813
|
itemClick(item) {
|
|
814
814
|
this.dispatch({ id: ActionId.DETAIL, payload: item });
|
|
815
815
|
}
|
|
816
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
817
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
816
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
817
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QueryPage, isStandalone: true, selector: "pages-query", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.qtp-develop": "store.qtpMode() === 'develop'" } }, providers: [provideQueryPageElementDataAccessor()], viewQueries: [{ propertyName: "template", first: true, predicate: IndexTemplate, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: QueryPageStore, inputs: ["type", "type", "query", "query", "titleEditable", "titleEditable", "variablesForm", "variablesForm", "variablesFormFieldMap", "variablesFormFieldMap", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "itemActions", "itemActions", "pageSizeOptions", "pageSizeOptions"] }], ngImport: i0, template: "<frames-router-outlet [skip]=\"store.skip()\" (action)=\"dispatch($event)\">\n <frames-qtp-v2\n [mode]=\"store.qtpMode()\"\n [style.width]=\"store.qtpMode() === 'develop' ? store.style()?.width : null\"\n [availableTransformers]=\"store.transformers\"\n [selectedTransformer]=\"store.transformers[0]\"\n [availablePresenters]=\"store.presenters\"\n [selectedPresenter]=\"store.selectedPresenter()\"\n (presenterSelected)=\"selectPresenter($event)\"\n >\n <ng-template querySection>\n @if (store.qtpMode() === 'develop') {\n <groups-query-form (action)=\"dispatch($event)\" />\n }\n </ng-template>\n <ng-template presenterSection>\n @if (store.selectedPresenter()?.component; as presenter) {\n <ng-container *ngComponentOutlet=\"presenter\" />\n } @else {\n <templates-index\n [tableColumnFormFieldMap]=\"store.tableColumnFormFieldMap()\"\n [style]=\"store.style()\"\n [title]=\"store.title()\"\n [description]=\"store.description()\"\n [titleControl]=\"store.feature.form.get(['title'])\"\n [titleEditable]=\"store.titleEditable()\"\n [type]=\"store.type()\"\n [tableChildrenKey]=\"store.childrenKey()\"\n [tableTreeControl]=\"store.tableTreeControl\"\n [itemsMap]=\"store.itemsMap()\"\n [itemsLength]=\"store.itemsLength()\"\n [itemActions]=\"store.itemActions()\"\n [getRowClass]=\"store.getRowClass()\"\n [selection]=\"store.selection()\"\n [form]=\"store.form()\"\n [navStartActions]=\"store.navStartActions()\"\n [navEndActions]=\"store.navEndActions()\"\n [navMode]=\"store.navMode()\"\n [pageSizeOptions]=\"store.pageSizeOptions()\"\n (action)=\"dispatch($event)\"\n >\n @if (store.variablesFormDisplayed()) {\n <div navDashboard>\n <ng-atomic-form-section-builder\n [form]=\"store.variablesForm()\"\n [fieldMap]=\"store.variablesFormFieldMap()\"\n />\n </div>\n }\n @if (store.qtpMode() === 'presentation') {\n <groups-query-form dashboard (action)=\"dispatch($event)\" />\n }\n </templates-index>\n }\n </ng-template>\n </frames-qtp-v2>\n</frames-router-outlet>\n", styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-query-DkEd: var(--page-width-lv1);--page-width-lv3-SCOPED-IN-query-DkEd: var(--page-width-lv3);--primary-color-SCOPED-IN-query-DkEd: var(--primary-color);--on-primary-color-SCOPED-IN-query-DkEd: var(--on-primary-color);--surface-color-SCOPED-IN-query-DkEd: var(--surface-color);--on-surface-color-SCOPED-IN-query-DkEd: var(--on-surface-color);--on-background-color-SCOPED-IN-query-DkEd: var(--on-background-color);--background-color-SCOPED-IN-query-DkEd: var(--background-color);--navigator-background-color-SCOPED-IN-query-DkEd: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-query-DkEd: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-query-DkEd: var(--table-background-color);--table-on-background-color-SCOPED-IN-query-DkEd: var(--table-on-background-color);--is-debug: 1;--is-debug-SCOPED-IN-query-DkEd: var(--is-debug)}:host *{--primary-color: var(--primary-color-SCOPED-IN-query-DkEd);--on-primary-color: var(--on-primary-color-SCOPED-IN-query-DkEd);--surface-color: var(--surface-color-SCOPED-IN-query-DkEd);--on-surface-color: var(--on-surface-color-SCOPED-IN-query-DkEd);--background-color: var(--background-color-SCOPED-IN-query-DkEd);--on-background-color: var(--on-background-color-SCOPED-IN-query-DkEd);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-query-DkEd);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-query-DkEd);--table-background-color: var(--table-background-color-SCOPED-IN-query-DkEd);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-query-DkEd);--is-debug: var(--is-debug-SCOPED-IN-query-DkEd)}:host templates-index{padding-left:0;box-sizing:border-box;--first-content-height: calc(var(--is-debug-SCOPED-IN-query-DkEd) * 300px);transition:padding-left .3s}:host templates-index div[navDashboard]{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:16px;box-sizing:border-box}:host templates-index div[navDashboard] ng-atomic-form-section-builder{--horizontal-padding: 0}:host frames-qtp-v2{touch-action:auto}:host(.qtp-develop) templates-index{--first-content-height: 0px}:host(.qtp-develop) frames-qtp-v2{padding-top:var(--navigator-height, 56px);box-sizing:border-box}:host(.qtp-develop) groups-query-form{--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .6);--mat-form-field-outlined-hover-label-text-color: rgba(255, 255, 255, .87);--mat-form-field-outlined-input-text-color: rgba(255, 255, 255, .87);--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-hover-outline-color: rgba(255, 255, 255, .87)}:host(.qtp-develop) groups-query-form ::ng-deep .mat-mdc-tab-group{--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .87);--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .87)}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "component", type: IndexTemplate, selector: "templates-index" }, { kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap", "fieldKeys"] }, { kind: "component", type: QueryFormGroup, selector: "groups-query-form", inputs: ["form", "keyActions"] }, { kind: "component", type: QtpV2Frame, selector: "frames-qtp-v2", inputs: ["mode", "expandedPanels", "availableTransformers", "selectedTransformer", "availablePresenters", "selectedPresenter", "loading", "error", "debugLogs", "canGenerateTransformer", "generatingTransformer"], outputs: ["panelStatesChange", "transformerSelected", "presenterSelected", "runTransformer", "generateTransformer"] }, { kind: "directive", type: QuerySectionDirective, selector: "[querySection]" }, { kind: "directive", type: PresenterSectionDirective, selector: "[presenterSection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
818
|
}
|
|
819
819
|
__decorate([
|
|
820
820
|
Effect(IndexTemplateStore.ActionId.BACK),
|
|
@@ -852,7 +852,7 @@ __decorate([
|
|
|
852
852
|
__metadata("design:paramtypes", [Object]),
|
|
853
853
|
__metadata("design:returntype", void 0)
|
|
854
854
|
], QueryPage.prototype, "itemClick", null);
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryPage, decorators: [{
|
|
856
856
|
type: Component,
|
|
857
857
|
args: [{ selector: 'pages-query', imports: [
|
|
858
858
|
NgComponentOutlet,
|
|
@@ -878,7 +878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
878
878
|
'pageSizeOptions'
|
|
879
879
|
]
|
|
880
880
|
},
|
|
881
|
-
], template: "<frames-router-outlet [skip]=\"store.skip()\" (action)=\"dispatch($event)\">\n <frames-qtp-v2\n [mode]=\"store.qtpMode()\"\n [style.width]=\"store.qtpMode() === 'develop' ? store.style()?.width : null\"\n [availableTransformers]=\"store.transformers\"\n [selectedTransformer]=\"store.transformers[0]\"\n [availablePresenters]=\"store.presenters\"\n [selectedPresenter]=\"store.selectedPresenter()\"\n (presenterSelected)=\"selectPresenter($event)\"\n >\n <ng-template querySection>\n @if (store.qtpMode() === 'develop') {\n <groups-query-form (action)=\"dispatch($event)\" />\n }\n </ng-template>\n <ng-template presenterSection>\n @if (store.selectedPresenter()?.component; as presenter) {\n <ng-container *ngComponentOutlet=\"presenter\" />\n } @else {\n <templates-index\n [tableColumnFormFieldMap]=\"store.tableColumnFormFieldMap()\"\n [style]=\"store.style()\"\n [title]=\"store.title()\"\n [description]=\"store.description()\"\n [titleControl]=\"store.feature.form.get(['title'])\"\n [titleEditable]=\"store.titleEditable()\"\n [type]=\"store.type()\"\n [tableChildrenKey]=\"store.childrenKey()\"\n [tableTreeControl]=\"store.tableTreeControl\"\n [itemsMap]=\"store.itemsMap()\"\n [itemsLength]=\"store.itemsLength()\"\n [itemActions]=\"store.itemActions()\"\n [getRowClass]=\"store.getRowClass()\"\n [selection]=\"store.selection()\"\n [form]=\"store.form()\"\n [navStartActions]=\"store.navStartActions()\"\n [navEndActions]=\"store.navEndActions()\"\n [navMode]=\"store.navMode()\"\n [pageSizeOptions]=\"store.pageSizeOptions()\"\n (action)=\"dispatch($event)\"\n >\n @if (store.variablesFormDisplayed()) {\n <div navDashboard>\n <ng-atomic-form-section-builder\n [form]=\"store.variablesForm()\"\n [fieldMap]=\"store.variablesFormFieldMap()\"\n />\n </div>\n }\n @if (store.qtpMode() === 'presentation') {\n <groups-query-form dashboard (action)=\"dispatch($event)\" />\n }\n </templates-index>\n }\n </ng-template>\n </frames-qtp-v2>\n</frames-router-outlet>\n", styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-query-
|
|
881
|
+
], template: "<frames-router-outlet [skip]=\"store.skip()\" (action)=\"dispatch($event)\">\n <frames-qtp-v2\n [mode]=\"store.qtpMode()\"\n [style.width]=\"store.qtpMode() === 'develop' ? store.style()?.width : null\"\n [availableTransformers]=\"store.transformers\"\n [selectedTransformer]=\"store.transformers[0]\"\n [availablePresenters]=\"store.presenters\"\n [selectedPresenter]=\"store.selectedPresenter()\"\n (presenterSelected)=\"selectPresenter($event)\"\n >\n <ng-template querySection>\n @if (store.qtpMode() === 'develop') {\n <groups-query-form (action)=\"dispatch($event)\" />\n }\n </ng-template>\n <ng-template presenterSection>\n @if (store.selectedPresenter()?.component; as presenter) {\n <ng-container *ngComponentOutlet=\"presenter\" />\n } @else {\n <templates-index\n [tableColumnFormFieldMap]=\"store.tableColumnFormFieldMap()\"\n [style]=\"store.style()\"\n [title]=\"store.title()\"\n [description]=\"store.description()\"\n [titleControl]=\"store.feature.form.get(['title'])\"\n [titleEditable]=\"store.titleEditable()\"\n [type]=\"store.type()\"\n [tableChildrenKey]=\"store.childrenKey()\"\n [tableTreeControl]=\"store.tableTreeControl\"\n [itemsMap]=\"store.itemsMap()\"\n [itemsLength]=\"store.itemsLength()\"\n [itemActions]=\"store.itemActions()\"\n [getRowClass]=\"store.getRowClass()\"\n [selection]=\"store.selection()\"\n [form]=\"store.form()\"\n [navStartActions]=\"store.navStartActions()\"\n [navEndActions]=\"store.navEndActions()\"\n [navMode]=\"store.navMode()\"\n [pageSizeOptions]=\"store.pageSizeOptions()\"\n (action)=\"dispatch($event)\"\n >\n @if (store.variablesFormDisplayed()) {\n <div navDashboard>\n <ng-atomic-form-section-builder\n [form]=\"store.variablesForm()\"\n [fieldMap]=\"store.variablesFormFieldMap()\"\n />\n </div>\n }\n @if (store.qtpMode() === 'presentation') {\n <groups-query-form dashboard (action)=\"dispatch($event)\" />\n }\n </templates-index>\n }\n </ng-template>\n </frames-qtp-v2>\n</frames-router-outlet>\n", styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-query-DkEd: var(--page-width-lv1);--page-width-lv3-SCOPED-IN-query-DkEd: var(--page-width-lv3);--primary-color-SCOPED-IN-query-DkEd: var(--primary-color);--on-primary-color-SCOPED-IN-query-DkEd: var(--on-primary-color);--surface-color-SCOPED-IN-query-DkEd: var(--surface-color);--on-surface-color-SCOPED-IN-query-DkEd: var(--on-surface-color);--on-background-color-SCOPED-IN-query-DkEd: var(--on-background-color);--background-color-SCOPED-IN-query-DkEd: var(--background-color);--navigator-background-color-SCOPED-IN-query-DkEd: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-query-DkEd: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-query-DkEd: var(--table-background-color);--table-on-background-color-SCOPED-IN-query-DkEd: var(--table-on-background-color);--is-debug: 1;--is-debug-SCOPED-IN-query-DkEd: var(--is-debug)}:host *{--primary-color: var(--primary-color-SCOPED-IN-query-DkEd);--on-primary-color: var(--on-primary-color-SCOPED-IN-query-DkEd);--surface-color: var(--surface-color-SCOPED-IN-query-DkEd);--on-surface-color: var(--on-surface-color-SCOPED-IN-query-DkEd);--background-color: var(--background-color-SCOPED-IN-query-DkEd);--on-background-color: var(--on-background-color-SCOPED-IN-query-DkEd);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-query-DkEd);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-query-DkEd);--table-background-color: var(--table-background-color-SCOPED-IN-query-DkEd);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-query-DkEd);--is-debug: var(--is-debug-SCOPED-IN-query-DkEd)}:host templates-index{padding-left:0;box-sizing:border-box;--first-content-height: calc(var(--is-debug-SCOPED-IN-query-DkEd) * 300px);transition:padding-left .3s}:host templates-index div[navDashboard]{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:16px;box-sizing:border-box}:host templates-index div[navDashboard] ng-atomic-form-section-builder{--horizontal-padding: 0}:host frames-qtp-v2{touch-action:auto}:host(.qtp-develop) templates-index{--first-content-height: 0px}:host(.qtp-develop) frames-qtp-v2{padding-top:var(--navigator-height, 56px);box-sizing:border-box}:host(.qtp-develop) groups-query-form{--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, .6);--mat-form-field-outlined-hover-label-text-color: rgba(255, 255, 255, .87);--mat-form-field-outlined-input-text-color: rgba(255, 255, 255, .87);--mat-form-field-outlined-outline-color: rgba(255, 255, 255, .38);--mat-form-field-outlined-hover-outline-color: rgba(255, 255, 255, .87)}:host(.qtp-develop) groups-query-form ::ng-deep .mat-mdc-tab-group{--mat-tab-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-inactive-hover-label-text-color: rgba(255, 255, 255, .87);--mat-tab-inactive-focus-label-text-color: rgba(255, 255, 255, .87)}\n"] }]
|
|
882
882
|
}], ctorParameters: () => [], propDecorators: { template: [{ type: i0.ViewChild, args: [i0.forwardRef(() => IndexTemplate), { isSignal: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], back: [], navigateToIframe: [], expandPage: [], toggleSelection: [], toggleAllSelection: [], itemClick: [] } });
|
|
883
883
|
|
|
884
884
|
/**
|
|
@@ -47,26 +47,26 @@ class ThreadPageStore extends InjectableComponent {
|
|
|
47
47
|
}
|
|
48
48
|
isRootPage = injectIsRootPage('side');
|
|
49
49
|
config = ThreadPageStore.DI.injectConfig();
|
|
50
|
-
title = input(_computed(() => this.config().title), ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
51
|
-
navStartActions = input(_computed(() => this.config().navStartActions), ...(ngDevMode ? [{ debugName: "navStartActions" }] : []));
|
|
50
|
+
title = input(_computed(() => this.config().title), ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
51
|
+
navStartActions = input(_computed(() => this.config().navStartActions), ...(ngDevMode ? [{ debugName: "navStartActions" }] : /* istanbul ignore next */ []));
|
|
52
52
|
actions = signal([
|
|
53
53
|
{ id: ActionId.SEND_MESSAGE, name: '送信', icon: 'send' },
|
|
54
|
-
], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
54
|
+
], ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
55
55
|
fb = inject(FormBuilder);
|
|
56
56
|
form = this.fb.group({
|
|
57
57
|
message: this.fb.control(''),
|
|
58
58
|
name: this.fb.control(''),
|
|
59
59
|
description: this.fb.control(''),
|
|
60
60
|
});
|
|
61
|
-
messages = input([], ...(ngDevMode ? [{ debugName: "messages" }] : []));
|
|
61
|
+
messages = input([], ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
|
|
62
62
|
constructor() {
|
|
63
63
|
super();
|
|
64
64
|
ThreadPageStore.DI.initialize(this);
|
|
65
65
|
}
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
67
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadPageStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: ThreadPageStore, isStandalone: true, inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadPageStore, decorators: [{
|
|
70
70
|
type: Directive,
|
|
71
71
|
args: [{ standalone: true }]
|
|
72
72
|
}], ctorParameters: () => [], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], navStartActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navStartActions", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }] } });
|
|
@@ -74,7 +74,7 @@ class ThreadPage extends NgAtomicComponent {
|
|
|
74
74
|
store = inject(ThreadPageStore);
|
|
75
75
|
reducer = inject(QueryActionReducer);
|
|
76
76
|
context = inject(ContextService);
|
|
77
|
-
isComposing = signal(false, ...(ngDevMode ? [{ debugName: "isComposing" }] : []));
|
|
77
|
+
isComposing = signal(false, ...(ngDevMode ? [{ debugName: "isComposing" }] : /* istanbul ignore next */ []));
|
|
78
78
|
onCompositionStart(event) {
|
|
79
79
|
this.isComposing.set(true);
|
|
80
80
|
}
|
|
@@ -92,8 +92,8 @@ class ThreadPage extends NgAtomicComponent {
|
|
|
92
92
|
_sendMessage() {
|
|
93
93
|
const content = this.store.form.get(['message'])?.value;
|
|
94
94
|
}
|
|
95
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
96
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadPage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
96
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: ThreadPage, isStandalone: true, selector: "app-chat", host: { listeners: { "compositionstart": "onCompositionStart($event)", "compositionend": "onCompositionEnd($event)", "keydown": "onKeydown($event)" } }, usesInheritance: true, hostDirectives: [{ directive: ThreadPageStore, inputs: ["title", "title", "navStartActions", "navStartActions", "messages", "messages"] }], ngImport: i0, template: `
|
|
97
97
|
<frames-router-outlet>
|
|
98
98
|
<templates-messages
|
|
99
99
|
[title]="store.title()"
|
|
@@ -104,7 +104,7 @@ class ThreadPage extends NgAtomicComponent {
|
|
|
104
104
|
(action)="dispatch($event)"
|
|
105
105
|
/>
|
|
106
106
|
</frames-router-outlet>
|
|
107
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-thread-
|
|
107
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-thread-XjUQ: var(--page-width-lv1);--page-width-lv3-SCOPED-IN-thread-XjUQ: var(--page-width-lv3);--primary-color-SCOPED-IN-thread-XjUQ: var(--primary-color);--on-primary-color-SCOPED-IN-thread-XjUQ: var(--on-primary-color);--surface-color-SCOPED-IN-thread-XjUQ: var(--surface-color);--on-surface-color-SCOPED-IN-thread-XjUQ: var(--on-surface-color);--on-background-color-SCOPED-IN-thread-XjUQ: var(--on-background-color);--background-color-SCOPED-IN-thread-XjUQ: var(--background-color);--navigator-background-color-SCOPED-IN-thread-XjUQ: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-thread-XjUQ: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-thread-XjUQ: var(--table-background-color);--table-on-background-color-SCOPED-IN-thread-XjUQ: var(--table-on-background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-thread-XjUQ)}:host .chat-container{display:flex;flex-direction:column;height:100%}:host .message{padding:10px;border-bottom:1px solid #ccc}\n"], dependencies: [{ kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "component", type: ThreadTemplate, selector: "templates-messages" }] });
|
|
108
108
|
}
|
|
109
109
|
__decorate([
|
|
110
110
|
Effect(ActionId.SEND_MESSAGE),
|
|
@@ -112,7 +112,7 @@ __decorate([
|
|
|
112
112
|
__metadata("design:paramtypes", []),
|
|
113
113
|
__metadata("design:returntype", void 0)
|
|
114
114
|
], ThreadPage.prototype, "_sendMessage", null);
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThreadPage, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
117
|
args: [{ selector: 'app-chat', template: `
|
|
118
118
|
<frames-router-outlet>
|
|
@@ -137,7 +137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
137
137
|
'messages',
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
|
-
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-thread-
|
|
140
|
+
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-thread-XjUQ: var(--page-width-lv1);--page-width-lv3-SCOPED-IN-thread-XjUQ: var(--page-width-lv3);--primary-color-SCOPED-IN-thread-XjUQ: var(--primary-color);--on-primary-color-SCOPED-IN-thread-XjUQ: var(--on-primary-color);--surface-color-SCOPED-IN-thread-XjUQ: var(--surface-color);--on-surface-color-SCOPED-IN-thread-XjUQ: var(--on-surface-color);--on-background-color-SCOPED-IN-thread-XjUQ: var(--on-background-color);--background-color-SCOPED-IN-thread-XjUQ: var(--background-color);--navigator-background-color-SCOPED-IN-thread-XjUQ: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-thread-XjUQ: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-thread-XjUQ: var(--table-background-color);--table-on-background-color-SCOPED-IN-thread-XjUQ: var(--table-on-background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-thread-XjUQ)}:host .chat-container{display:flex;flex-direction:column;height:100%}:host .message{padding:10px;border-bottom:1px solid #ccc}\n"] }]
|
|
141
141
|
}], propDecorators: { onCompositionStart: [{
|
|
142
142
|
type: HostListener,
|
|
143
143
|
args: ['compositionstart', ['$event']]
|
|
@@ -6,10 +6,10 @@ class MachinaPreloadingStrategy {
|
|
|
6
6
|
preload(route, fn) {
|
|
7
7
|
return route.data && route.data['preload'] ? fn() : of(null);
|
|
8
8
|
}
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
10
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaPreloadingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaPreloadingStrategy, providedIn: 'root' });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MachinaPreloadingStrategy, decorators: [{
|
|
13
13
|
type: Injectable,
|
|
14
14
|
args: [{ providedIn: 'root' }]
|
|
15
15
|
}] });
|
|
@@ -103,7 +103,7 @@ const routes = [
|
|
|
103
103
|
itemsLength: 0,
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
|
-
}, ...(ngDevMode ? [{ debugName: "itemsMap" }] : []));
|
|
106
|
+
}, ...(ngDevMode ? [{ debugName: "itemsMap" }] : /* istanbul ignore next */ []));
|
|
107
107
|
effect(() => { applyToInput(store, 'itemsMap', itemsMap()); });
|
|
108
108
|
}),
|
|
109
109
|
provideEffect(ActionId.EXPORT_QUERIES, () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const routes = [
|
|
2
2
|
{
|
|
3
3
|
path: ':resourceId',
|
|
4
|
-
loadChildren: () => import('./xxmachina-components-routes-resources-resource.routes-
|
|
4
|
+
loadChildren: () => import('./xxmachina-components-routes-resources-resource.routes-CSp_8C3O.mjs').then(m => m.routes),
|
|
5
5
|
}
|
|
6
6
|
];
|
|
7
7
|
|
|
@@ -55,7 +55,7 @@ const routes = [
|
|
|
55
55
|
updatedAt: {
|
|
56
56
|
type: 'date',
|
|
57
57
|
},
|
|
58
|
-
}), ...(ngDevMode ? [{ debugName: "formFieldMap" }] : []));
|
|
58
|
+
}), ...(ngDevMode ? [{ debugName: "formFieldMap" }] : /* istanbul ignore next */ []));
|
|
59
59
|
effect(() => {
|
|
60
60
|
applyToInput(store, 'fieldMap', formFieldMap());
|
|
61
61
|
});
|
|
@@ -20,7 +20,7 @@ const routes = [
|
|
|
20
20
|
{
|
|
21
21
|
path: '',
|
|
22
22
|
component: IndexPage,
|
|
23
|
-
loadChildren: () => import('./xxmachina-components-routes-resources-pages.routes-
|
|
23
|
+
loadChildren: () => import('./xxmachina-components-routes-resources-pages.routes-BHb0I2nz.mjs').then(m => m.routes),
|
|
24
24
|
providers: [
|
|
25
25
|
provideLangMap(() => getLangMap(Resource, {
|
|
26
26
|
description: '説明',
|
|
@@ -35,14 +35,14 @@ const routes = [
|
|
|
35
35
|
applyToInput(store, 'form', form);
|
|
36
36
|
}),
|
|
37
37
|
QueryPageStore.Initializer.provide((store) => {
|
|
38
|
-
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : []));
|
|
38
|
+
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : /* istanbul ignore next */ []));
|
|
39
39
|
effect(() => applyToInput(store, 'title', transformer()?.id ?? undefined));
|
|
40
40
|
}),
|
|
41
41
|
QueryPageStore.Initializer.provide((store) => {
|
|
42
42
|
const navEndActions = computed(() => [[
|
|
43
43
|
{ id: ActionId.RUN_TESTS, name: 'Run Tests', icon: 'play_arrow' },
|
|
44
44
|
{ id: ActionId.CREATE_SPEC, name: 'Create Spec', icon: 'add' },
|
|
45
|
-
]], ...(ngDevMode ? [{ debugName: "navEndActions" }] : []));
|
|
45
|
+
]], ...(ngDevMode ? [{ debugName: "navEndActions" }] : /* istanbul ignore next */ []));
|
|
46
46
|
effect(() => applyToInput(store, 'navEndActions', navEndActions()));
|
|
47
47
|
}),
|
|
48
48
|
QueryPageStore.Initializer.provide((store) => {
|
|
@@ -52,13 +52,13 @@ const routes = [
|
|
|
52
52
|
{ id: ActionId.DELETE_SPEC, name: 'Delete Spec', icon: 'delete', payload: item },
|
|
53
53
|
{ id: ActionId.RUN_TEST, name: 'Run Test', icon: 'play_arrow', payload: item },
|
|
54
54
|
];
|
|
55
|
-
}, ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
55
|
+
}, ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
56
56
|
effect(() => applyToInput(store, 'itemActions', itemActions()));
|
|
57
57
|
}),
|
|
58
58
|
provideEffect(ActionId.RUN_TESTS, () => {
|
|
59
59
|
const store = inject(QueryPageStore);
|
|
60
|
-
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : []));
|
|
61
|
-
const specs = computed(() => store.itemsMap()?.['specs']?.items ?? [], ...(ngDevMode ? [{ debugName: "specs" }] : []));
|
|
60
|
+
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : /* istanbul ignore next */ []));
|
|
61
|
+
const specs = computed(() => store.itemsMap()?.['specs']?.items ?? [], ...(ngDevMode ? [{ debugName: "specs" }] : /* istanbul ignore next */ []));
|
|
62
62
|
const app = inject(AppService);
|
|
63
63
|
return () => {
|
|
64
64
|
app.transformer.runTests(transformer(), specs()).then((result => {
|
|
@@ -73,7 +73,7 @@ const routes = [
|
|
|
73
73
|
}),
|
|
74
74
|
provideEffect(ActionId.RUN_TEST, () => {
|
|
75
75
|
const store = inject(QueryPageStore);
|
|
76
|
-
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : []));
|
|
76
|
+
const transformer = computed(() => store.itemsMap()?.['transformers']?.items?.[0] ?? null, ...(ngDevMode ? [{ debugName: "transformer" }] : /* istanbul ignore next */ []));
|
|
77
77
|
const app = inject(AppService);
|
|
78
78
|
return (item) => {
|
|
79
79
|
app.transformer.runTest(transformer(), item).then((result => {
|
|
@@ -52,7 +52,7 @@ const routes = [
|
|
|
52
52
|
}
|
|
53
53
|
return [];
|
|
54
54
|
};
|
|
55
|
-
}, ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
55
|
+
}, ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
56
56
|
effect(() => {
|
|
57
57
|
applyToInput(store, 'itemActions', itemActions());
|
|
58
58
|
});
|
|
@@ -43,10 +43,10 @@ class AppBarService {
|
|
|
43
43
|
}
|
|
44
44
|
return [];
|
|
45
45
|
}, { initialValue: [] });
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
47
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
47
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppBarService, providedIn: 'root' });
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppBarService, decorators: [{
|
|
50
50
|
type: Injectable,
|
|
51
51
|
args: [{ providedIn: 'root' }]
|
|
52
52
|
}] });
|
|
@@ -11,10 +11,10 @@ class AppService extends AppService$1 {
|
|
|
11
11
|
query = inject(QueryService);
|
|
12
12
|
context = inject(ContextService);
|
|
13
13
|
transformer = inject(TransformerService);
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
15
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppService, providedIn: 'root' });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AppService, decorators: [{
|
|
18
18
|
type: Injectable,
|
|
19
19
|
args: [{ providedIn: 'root' }]
|
|
20
20
|
}] });
|
|
@@ -23,10 +23,10 @@ class AssistantService {
|
|
|
23
23
|
syncFiles(id) {
|
|
24
24
|
return lastValueFrom(this.http.patch(`/api/assistants/${id}/sync_files`, {}));
|
|
25
25
|
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
27
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AssistantService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AssistantService, providedIn: 'root' });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AssistantService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{
|
|
32
32
|
providedIn: 'root'
|
|
@@ -25,7 +25,7 @@ class CommandService {
|
|
|
25
25
|
resources = injectAll(Resource);
|
|
26
26
|
resourceUrls = computed(() => {
|
|
27
27
|
return this.resources().filter(resource => resource.type === 'openapi').map((resource) => resource.openapi?.url).filter((u) => !!u);
|
|
28
|
-
}, ...(ngDevMode ? [{ debugName: "resourceUrls" }] : []));
|
|
28
|
+
}, ...(ngDevMode ? [{ debugName: "resourceUrls" }] : /* istanbul ignore next */ []));
|
|
29
29
|
resourceUrls$ = toObservable(this.resourceUrls);
|
|
30
30
|
refresh$ = new ReplaySubject(1);
|
|
31
31
|
schema = inject(JsonSchemaService);
|
|
@@ -122,10 +122,10 @@ class CommandService {
|
|
|
122
122
|
resolveCommand(commandOrId) {
|
|
123
123
|
return typeof commandOrId === 'string' ? this.getCommand(commandOrId) : commandOrId;
|
|
124
124
|
}
|
|
125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
126
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
126
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandService, providedIn: 'root' });
|
|
127
127
|
}
|
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CommandService, decorators: [{
|
|
129
129
|
type: Injectable,
|
|
130
130
|
args: [{ providedIn: 'root' }]
|
|
131
131
|
}], ctorParameters: () => [] });
|
|
@@ -2,12 +2,12 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { signal, Injectable } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class ContextService {
|
|
5
|
-
context = signal('', ...(ngDevMode ? [{ debugName: "context" }] : []));
|
|
5
|
+
context = signal('', ...(ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []));
|
|
6
6
|
constructor() { }
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
8
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContextService, providedIn: 'root' });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ContextService, decorators: [{
|
|
11
11
|
type: Injectable,
|
|
12
12
|
args: [{
|
|
13
13
|
providedIn: 'root'
|