@sftech/ng-orchestrator 0.0.8 → 0.0.9

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.
Files changed (20) hide show
  1. package/fesm2022/{sftech-ng-orchestrator-agent.service-BVkHOvAQ.mjs → sftech-ng-orchestrator-agent.service-B-Oyla5f.mjs} +6 -6
  2. package/fesm2022/{sftech-ng-orchestrator-agent.service-BVkHOvAQ.mjs.map → sftech-ng-orchestrator-agent.service-B-Oyla5f.mjs.map} +1 -1
  3. package/fesm2022/sftech-ng-orchestrator-agents.routes-DB9PYB14.mjs +130 -0
  4. package/fesm2022/{sftech-ng-orchestrator-agents.routes-3OmUhy-n.mjs.map → sftech-ng-orchestrator-agents.routes-DB9PYB14.mjs.map} +1 -1
  5. package/fesm2022/{sftech-ng-orchestrator-chat.routes-tnUPt3Yq.mjs → sftech-ng-orchestrator-chat.routes-C-qQU3r4.mjs} +10 -10
  6. package/fesm2022/{sftech-ng-orchestrator-chat.routes-tnUPt3Yq.mjs.map → sftech-ng-orchestrator-chat.routes-C-qQU3r4.mjs.map} +1 -1
  7. package/fesm2022/sftech-ng-orchestrator-prompt-display.component-LSo-QYNv.mjs +114 -0
  8. package/fesm2022/{sftech-ng-orchestrator-prompt-display.component-6dCdRqd7.mjs.map → sftech-ng-orchestrator-prompt-display.component-LSo-QYNv.mjs.map} +1 -1
  9. package/fesm2022/{sftech-ng-orchestrator-prompt.service-BXq1WfM1.mjs → sftech-ng-orchestrator-prompt.service-CGjm-Lgg.mjs} +8 -8
  10. package/fesm2022/{sftech-ng-orchestrator-prompt.service-BXq1WfM1.mjs.map → sftech-ng-orchestrator-prompt.service-CGjm-Lgg.mjs.map} +1 -1
  11. package/fesm2022/sftech-ng-orchestrator-prompts.routes-C0Lzyz67.mjs +52 -0
  12. package/fesm2022/{sftech-ng-orchestrator-prompts.routes-D2jSFvxO.mjs.map → sftech-ng-orchestrator-prompts.routes-C0Lzyz67.mjs.map} +1 -1
  13. package/fesm2022/{sftech-ng-orchestrator-sftech-ng-orchestrator-C3rCwHh1.mjs → sftech-ng-orchestrator-sftech-ng-orchestrator-BvI6i-px.mjs} +11 -11
  14. package/fesm2022/{sftech-ng-orchestrator-sftech-ng-orchestrator-C3rCwHh1.mjs.map → sftech-ng-orchestrator-sftech-ng-orchestrator-BvI6i-px.mjs.map} +1 -1
  15. package/fesm2022/sftech-ng-orchestrator.mjs +1 -1
  16. package/lib/ng-orchestrator/chat/chat.component.d.ts +1 -1
  17. package/package.json +1 -1
  18. package/fesm2022/sftech-ng-orchestrator-agents.routes-3OmUhy-n.mjs +0 -130
  19. package/fesm2022/sftech-ng-orchestrator-prompt-display.component-6dCdRqd7.mjs +0 -114
  20. package/fesm2022/sftech-ng-orchestrator-prompts.routes-D2jSFvxO.mjs +0 -52
@@ -1,52 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Component } from '@angular/core';
3
- import { BaseListComponent, IconProvider, PaginatorComponent } from '@sftech/ng-shared';
4
- import { DialogService } from 'primeng/dynamicdialog';
5
- import { Panel } from 'primeng/panel';
6
- import * as i1 from 'primeng/table';
7
- import { TableModule } from 'primeng/table';
8
- import { P as PromptService } from './sftech-ng-orchestrator-prompt.service-BXq1WfM1.mjs';
9
- import { P as PromptDisplayComponent } from './sftech-ng-orchestrator-prompt-display.component-6dCdRqd7.mjs';
10
- import { RouterOutlet } from '@angular/router';
11
-
12
- class PromptsListComponent extends BaseListComponent {
13
- _repo = inject(PromptService);
14
- _route = 'prompts';
15
- _modalComponent = PromptDisplayComponent;
16
- detailModalHeaderText = 'Prompt-Details';
17
- iconProvider = IconProvider;
18
- constructor() {
19
- super();
20
- }
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PromptsListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: PromptsListComponent, isStandalone: true, selector: "sftech-prompts-list", providers: [DialogService], usesInheritance: true, ngImport: i0, template: "<h1 class=\"text-primary-900 font-bold text-xl p-2 my-4\">Prompt-\u00DCbersicht</h1>\r\n@if (!data()) {\r\n <p-panel [toggleable]=\"false\">\r\n <p class=\"m-0\">\r\n Daten werden geladen...\r\n </p>\r\n </p-panel>\r\n} @else if (data()!.length === 0) {\r\n <p-panel [toggleable]=\"false\">\r\n <p class=\"m-0\">\r\n Es sind keine Prompts vorhanden.\r\n </p>\r\n </p-panel>\r\n} @else if (data()!.length > 0) {\r\n <p-table [value]=\"data()!\"\r\n stripedRows\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n selectionMode=\"single\"\r\n [resizableColumns]=\"true\"\r\n dataKey=\"id\"\r\n >\r\n <ng-template #header>\r\n <tr>\r\n @for(column of data()![0].propertiesToShow; track column) {\r\n <th>{{ data()![0].getUiNameForProperty(column) }}</th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-prompt>\r\n <tr (click)=\"openDisplay(prompt.id)\" [pSelectableRow]=\"prompt\">\r\n @for(column of data()![0].propertiesToShow; track column) {\r\n <td style=\"white-space: pre-wrap\">\r\n {{ prompt.getPropertyValue(column) }}\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n <sftech-paginator [pagination]=\"odata().pagination\" (odataChanged)=\"updatePagination($event)\"></sftech-paginator>\r\n}\r\n\r\n", styles: [""], dependencies: [{ kind: "component", type: PaginatorComponent, selector: "sftech-paginator", inputs: ["pagination"], outputs: ["odataChanged"] }, { kind: "component", type: Panel, selector: "p-panel", inputs: ["toggleable", "header", "collapsed", "style", "styleClass", "iconPos", "expandIcon", "collapseIcon", "showHeader", "toggler", "transitionOptions", "toggleButtonProps"], outputs: ["collapsedChange", "onBeforeToggle", "onAfterToggle"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i1.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i1.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }] });
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PromptsListComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: 'sftech-prompts-list', imports: [PaginatorComponent, Panel, TableModule], providers: [DialogService], template: "<h1 class=\"text-primary-900 font-bold text-xl p-2 my-4\">Prompt-\u00DCbersicht</h1>\r\n@if (!data()) {\r\n <p-panel [toggleable]=\"false\">\r\n <p class=\"m-0\">\r\n Daten werden geladen...\r\n </p>\r\n </p-panel>\r\n} @else if (data()!.length === 0) {\r\n <p-panel [toggleable]=\"false\">\r\n <p class=\"m-0\">\r\n Es sind keine Prompts vorhanden.\r\n </p>\r\n </p-panel>\r\n} @else if (data()!.length > 0) {\r\n <p-table [value]=\"data()!\"\r\n stripedRows\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n selectionMode=\"single\"\r\n [resizableColumns]=\"true\"\r\n dataKey=\"id\"\r\n >\r\n <ng-template #header>\r\n <tr>\r\n @for(column of data()![0].propertiesToShow; track column) {\r\n <th>{{ data()![0].getUiNameForProperty(column) }}</th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-prompt>\r\n <tr (click)=\"openDisplay(prompt.id)\" [pSelectableRow]=\"prompt\">\r\n @for(column of data()![0].propertiesToShow; track column) {\r\n <td style=\"white-space: pre-wrap\">\r\n {{ prompt.getPropertyValue(column) }}\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n <sftech-paginator [pagination]=\"odata().pagination\" (odataChanged)=\"updatePagination($event)\"></sftech-paginator>\r\n}\r\n\r\n" }]
27
- }], ctorParameters: () => [] });
28
-
29
- class PromptsComponent {
30
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PromptsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: PromptsComponent, isStandalone: true, selector: "sftech-prompts", ngImport: i0, template: "<router-outlet></router-outlet>\r\n\r\n", styles: [""], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PromptsComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'sftech-prompts', imports: [RouterOutlet], template: "<router-outlet></router-outlet>\r\n\r\n" }]
36
- }] });
37
-
38
- const promptsRoutes = [
39
- {
40
- path: '',
41
- component: PromptsComponent,
42
- children: [
43
- {
44
- path: '',
45
- component: PromptsListComponent,
46
- },
47
- ],
48
- },
49
- ];
50
-
51
- export { promptsRoutes };
52
- //# sourceMappingURL=sftech-ng-orchestrator-prompts.routes-D2jSFvxO.mjs.map