@memberjunction/ng-dashboards 2.42.0
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/dist/AI/ai-dashboard.component.d.ts +54 -0
- package/dist/AI/ai-dashboard.component.d.ts.map +1 -0
- package/dist/AI/ai-dashboard.component.js +248 -0
- package/dist/AI/ai-dashboard.component.js.map +1 -0
- package/dist/AI/components/agents/agent-configuration.component.d.ts +41 -0
- package/dist/AI/components/agents/agent-configuration.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-configuration.component.js +325 -0
- package/dist/AI/components/agents/agent-configuration.component.js.map +1 -0
- package/dist/AI/components/agents/agent-editor.component.d.ts +77 -0
- package/dist/AI/components/agents/agent-editor.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-editor.component.js +869 -0
- package/dist/AI/components/agents/agent-editor.component.js.map +1 -0
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts +33 -0
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-filter-panel.component.js +144 -0
- package/dist/AI/components/agents/agent-filter-panel.component.js.map +1 -0
- package/dist/AI/components/execution-monitoring.component.d.ts +13 -0
- package/dist/AI/components/execution-monitoring.component.d.ts.map +1 -0
- package/dist/AI/components/execution-monitoring.component.js +30 -0
- package/dist/AI/components/execution-monitoring.component.js.map +1 -0
- package/dist/AI/components/models/model-management.component.d.ts +73 -0
- package/dist/AI/components/models/model-management.component.d.ts.map +1 -0
- package/dist/AI/components/models/model-management.component.js +669 -0
- package/dist/AI/components/models/model-management.component.js.map +1 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts +49 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.js +186 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.js.map +1 -0
- package/dist/AI/components/prompts/prompt-management.component.d.ts +113 -0
- package/dist/AI/components/prompts/prompt-management.component.d.ts.map +1 -0
- package/dist/AI/components/prompts/prompt-management.component.js +1316 -0
- package/dist/AI/components/prompts/prompt-management.component.js.map +1 -0
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts +33 -0
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/system/system-config-filter-panel.component.js +146 -0
- package/dist/AI/components/system/system-config-filter-panel.component.js.map +1 -0
- package/dist/AI/components/system/system-configuration.component.d.ts +37 -0
- package/dist/AI/components/system/system-configuration.component.d.ts.map +1 -0
- package/dist/AI/components/system/system-configuration.component.js +311 -0
- package/dist/AI/components/system/system-configuration.component.js.map +1 -0
- package/dist/Actions/actions-management-dashboard.component.d.ts +50 -0
- package/dist/Actions/actions-management-dashboard.component.d.ts.map +1 -0
- package/dist/Actions/actions-management-dashboard.component.js +282 -0
- package/dist/Actions/actions-management-dashboard.component.js.map +1 -0
- package/dist/Actions/components/actions-list-view.component.d.ts +52 -0
- package/dist/Actions/components/actions-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/actions-list-view.component.js +366 -0
- package/dist/Actions/components/actions-list-view.component.js.map +1 -0
- package/dist/Actions/components/actions-overview.component.d.ts +71 -0
- package/dist/Actions/components/actions-overview.component.d.ts.map +1 -0
- package/dist/Actions/components/actions-overview.component.js +605 -0
- package/dist/Actions/components/actions-overview.component.js.map +1 -0
- package/dist/Actions/components/categories-list-view.component.d.ts +11 -0
- package/dist/Actions/components/categories-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/categories-list-view.component.js +35 -0
- package/dist/Actions/components/categories-list-view.component.js.map +1 -0
- package/dist/Actions/components/code-management.component.d.ts +11 -0
- package/dist/Actions/components/code-management.component.d.ts.map +1 -0
- package/dist/Actions/components/code-management.component.js +35 -0
- package/dist/Actions/components/code-management.component.js.map +1 -0
- package/dist/Actions/components/entity-integration.component.d.ts +11 -0
- package/dist/Actions/components/entity-integration.component.d.ts.map +1 -0
- package/dist/Actions/components/entity-integration.component.js +35 -0
- package/dist/Actions/components/entity-integration.component.js.map +1 -0
- package/dist/Actions/components/execution-monitoring.component.d.ts +83 -0
- package/dist/Actions/components/execution-monitoring.component.d.ts.map +1 -0
- package/dist/Actions/components/execution-monitoring.component.js +629 -0
- package/dist/Actions/components/execution-monitoring.component.js.map +1 -0
- package/dist/Actions/components/executions-list-view.component.d.ts +11 -0
- package/dist/Actions/components/executions-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/executions-list-view.component.js +35 -0
- package/dist/Actions/components/executions-list-view.component.js.map +1 -0
- package/dist/Actions/components/scheduled-actions.component.d.ts +11 -0
- package/dist/Actions/components/scheduled-actions.component.d.ts.map +1 -0
- package/dist/Actions/components/scheduled-actions.component.js +35 -0
- package/dist/Actions/components/scheduled-actions.component.js.map +1 -0
- package/dist/Actions/components/security-permissions.component.d.ts +11 -0
- package/dist/Actions/components/security-permissions.component.d.ts.map +1 -0
- package/dist/Actions/components/security-permissions.component.js +35 -0
- package/dist/Actions/components/security-permissions.component.js.map +1 -0
- package/dist/Actions/index.d.ts +11 -0
- package/dist/Actions/index.d.ts.map +1 -0
- package/dist/Actions/index.js +11 -0
- package/dist/Actions/index.js.map +1 -0
- package/dist/EntityAdmin/components/entity-details.component.d.ts +50 -0
- package/dist/EntityAdmin/components/entity-details.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/entity-details.component.js +684 -0
- package/dist/EntityAdmin/components/entity-details.component.js.map +1 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.d.ts +31 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.js +162 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.js.map +1 -0
- package/dist/EntityAdmin/components/erd-composite.component.d.ts +73 -0
- package/dist/EntityAdmin/components/erd-composite.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/erd-composite.component.js +288 -0
- package/dist/EntityAdmin/components/erd-composite.component.js.map +1 -0
- package/dist/EntityAdmin/components/erd-diagram.component.d.ts +47 -0
- package/dist/EntityAdmin/components/erd-diagram.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/erd-diagram.component.js +618 -0
- package/dist/EntityAdmin/components/erd-diagram.component.js.map +1 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts +50 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts.map +1 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.js +190 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -0
- package/dist/generic/base-dashboard.d.ts +65 -0
- package/dist/generic/base-dashboard.d.ts.map +1 -0
- package/dist/generic/base-dashboard.js +86 -0
- package/dist/generic/base-dashboard.js.map +1 -0
- package/dist/module.d.ts +43 -0
- package/dist/module.d.ts.map +1 -0
- package/dist/module.js +141 -0
- package/dist/module.js.map +1 -0
- package/dist/public-api.d.ts +6 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +18 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { BaseDashboard } from '../generic/base-dashboard';
|
|
9
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
10
|
+
import { CompositeKey } from '@memberjunction/core';
|
|
11
|
+
import { Subject } from 'rxjs';
|
|
12
|
+
import { debounceTime } from 'rxjs/operators';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@progress/kendo-angular-indicators";
|
|
15
|
+
import * as i2 from "@memberjunction/ng-container-directives";
|
|
16
|
+
import * as i3 from "@progress/kendo-angular-navigation";
|
|
17
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
18
|
+
import * as i5 from "./components/actions-overview.component";
|
|
19
|
+
import * as i6 from "./components/execution-monitoring.component";
|
|
20
|
+
import * as i7 from "./components/scheduled-actions.component";
|
|
21
|
+
import * as i8 from "./components/code-management.component";
|
|
22
|
+
import * as i9 from "./components/entity-integration.component";
|
|
23
|
+
import * as i10 from "./components/security-permissions.component";
|
|
24
|
+
import * as i11 from "./components/actions-list-view.component";
|
|
25
|
+
import * as i12 from "./components/executions-list-view.component";
|
|
26
|
+
import * as i13 from "./components/categories-list-view.component";
|
|
27
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
29
|
+
i0.ɵɵelementStart(0, "mj-actions-overview", 10);
|
|
30
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template_mj_actions_overview_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); })("showActionsListView", function ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template_mj_actions_overview_showActionsListView_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowActionsListView()); })("showExecutionsListView", function ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template_mj_actions_overview_showExecutionsListView_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowExecutionsListView()); })("showCategoriesListView", function ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template_mj_actions_overview_showCategoriesListView_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowCategoriesListView()); });
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
} }
|
|
33
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
35
|
+
i0.ɵɵelementStart(0, "mj-execution-monitoring", 11);
|
|
36
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_1_Template_mj_execution_monitoring_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); })("showExecutionsListView", function ActionsManagementDashboardComponent_Conditional_10_Conditional_1_Template_mj_execution_monitoring_showExecutionsListView_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onShowExecutionsListView()); });
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
} }
|
|
39
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
41
|
+
i0.ɵɵelementStart(0, "mj-scheduled-actions", 12);
|
|
42
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_2_Template_mj_scheduled_actions_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} }
|
|
45
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
47
|
+
i0.ɵɵelementStart(0, "mj-code-management", 12);
|
|
48
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_3_Template_mj_code_management_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
} }
|
|
51
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
53
|
+
i0.ɵɵelementStart(0, "mj-entity-integration", 12);
|
|
54
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_4_Template_mj_entity_integration_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} }
|
|
57
|
+
function ActionsManagementDashboardComponent_Conditional_10_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
59
|
+
i0.ɵɵelementStart(0, "mj-security-permissions", 12);
|
|
60
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_10_Conditional_5_Template_mj_security_permissions_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
} }
|
|
63
|
+
function ActionsManagementDashboardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵtemplate(0, ActionsManagementDashboardComponent_Conditional_10_Conditional_0_Template, 1, 0, "mj-actions-overview")(1, ActionsManagementDashboardComponent_Conditional_10_Conditional_1_Template, 1, 0, "mj-execution-monitoring")(2, ActionsManagementDashboardComponent_Conditional_10_Conditional_2_Template, 1, 0, "mj-scheduled-actions")(3, ActionsManagementDashboardComponent_Conditional_10_Conditional_3_Template, 1, 0, "mj-code-management")(4, ActionsManagementDashboardComponent_Conditional_10_Conditional_4_Template, 1, 0, "mj-entity-integration")(5, ActionsManagementDashboardComponent_Conditional_10_Conditional_5_Template, 1, 0, "mj-security-permissions");
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
67
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "overview" ? 0 : -1);
|
|
68
|
+
i0.ɵɵadvance();
|
|
69
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "execution" ? 1 : -1);
|
|
70
|
+
i0.ɵɵadvance();
|
|
71
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "scheduled" ? 2 : -1);
|
|
72
|
+
i0.ɵɵadvance();
|
|
73
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "code" ? 3 : -1);
|
|
74
|
+
i0.ɵɵadvance();
|
|
75
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "entities" ? 4 : -1);
|
|
76
|
+
i0.ɵɵadvance();
|
|
77
|
+
i0.ɵɵconditional(ctx_r1.activeTab === "security" ? 5 : -1);
|
|
78
|
+
} }
|
|
79
|
+
function ActionsManagementDashboardComponent_Conditional_11_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
81
|
+
i0.ɵɵelementStart(0, "mj-actions-list-view", 12);
|
|
82
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_11_Conditional_4_Template_mj_actions_list_view_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} }
|
|
85
|
+
function ActionsManagementDashboardComponent_Conditional_11_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
87
|
+
i0.ɵɵelementStart(0, "mj-executions-list-view", 12);
|
|
88
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_11_Conditional_5_Template_mj_executions_list_view_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
} }
|
|
91
|
+
function ActionsManagementDashboardComponent_Conditional_11_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
93
|
+
i0.ɵɵelementStart(0, "mj-categories-list-view", 12);
|
|
94
|
+
i0.ɵɵlistener("openEntityRecord", function ActionsManagementDashboardComponent_Conditional_11_Conditional_6_Template_mj_categories_list_view_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); });
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
} }
|
|
97
|
+
function ActionsManagementDashboardComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
99
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 13)(2, "button", 14);
|
|
100
|
+
i0.ɵɵlistener("click", function ActionsManagementDashboardComponent_Conditional_11_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onBackToOverview()); });
|
|
101
|
+
i0.ɵɵtext(3);
|
|
102
|
+
i0.ɵɵelementEnd()();
|
|
103
|
+
i0.ɵɵtemplate(4, ActionsManagementDashboardComponent_Conditional_11_Conditional_4_Template, 1, 0, "mj-actions-list-view")(5, ActionsManagementDashboardComponent_Conditional_11_Conditional_5_Template, 1, 0, "mj-executions-list-view")(6, ActionsManagementDashboardComponent_Conditional_11_Conditional_6_Template, 1, 0, "mj-categories-list-view");
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
} if (rf & 2) {
|
|
106
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
107
|
+
i0.ɵɵadvance(2);
|
|
108
|
+
i0.ɵɵproperty("icon", "chevron-left")("fillMode", "flat");
|
|
109
|
+
i0.ɵɵadvance();
|
|
110
|
+
i0.ɵɵtextInterpolate1(" Back to ", ctx_r1.getCurrentTabLabel(), " ");
|
|
111
|
+
i0.ɵɵadvance();
|
|
112
|
+
i0.ɵɵconditional(ctx_r1.subView === "actions-list" ? 4 : -1);
|
|
113
|
+
i0.ɵɵadvance();
|
|
114
|
+
i0.ɵɵconditional(ctx_r1.subView === "executions-list" ? 5 : -1);
|
|
115
|
+
i0.ɵɵadvance();
|
|
116
|
+
i0.ɵɵconditional(ctx_r1.subView === "categories-list" ? 6 : -1);
|
|
117
|
+
} }
|
|
118
|
+
function ActionsManagementDashboardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
120
|
+
i0.ɵɵelement(1, "kendo-loader", 15);
|
|
121
|
+
i0.ɵɵelementEnd();
|
|
122
|
+
} if (rf & 2) {
|
|
123
|
+
i0.ɵɵadvance();
|
|
124
|
+
i0.ɵɵproperty("themeColor", "primary");
|
|
125
|
+
} }
|
|
126
|
+
let ActionsManagementDashboardComponent = class ActionsManagementDashboardComponent extends BaseDashboard {
|
|
127
|
+
constructor() {
|
|
128
|
+
super();
|
|
129
|
+
this.isLoading = false;
|
|
130
|
+
this.activeTab = 'overview'; // Default tab
|
|
131
|
+
this.subView = null; // Current sub-view
|
|
132
|
+
// Navigation items for bottom navigation
|
|
133
|
+
this.navigationItems = ['overview', 'execution', 'scheduled', 'code', 'entities', 'security'];
|
|
134
|
+
this.navigationConfig = [
|
|
135
|
+
{ text: 'Overview', icon: 'k-icon k-i-dashboard' },
|
|
136
|
+
{ text: 'Execution', icon: 'k-icon k-i-track-changes' },
|
|
137
|
+
{ text: 'Scheduled', icon: 'k-icon k-i-clock' },
|
|
138
|
+
{ text: 'Code', icon: 'k-icon k-i-code' },
|
|
139
|
+
{ text: 'Entities', icon: 'k-icon k-i-sitemap' },
|
|
140
|
+
{ text: 'Security', icon: 'k-icon k-i-lock' }
|
|
141
|
+
];
|
|
142
|
+
this.stateChangeSubject = new Subject();
|
|
143
|
+
this.setupStateManagement();
|
|
144
|
+
}
|
|
145
|
+
ngAfterViewInit() {
|
|
146
|
+
this.emitStateChange();
|
|
147
|
+
}
|
|
148
|
+
ngOnDestroy() {
|
|
149
|
+
this.stateChangeSubject.complete();
|
|
150
|
+
}
|
|
151
|
+
onTabChange(tabId) {
|
|
152
|
+
this.activeTab = tabId;
|
|
153
|
+
this.emitStateChange();
|
|
154
|
+
}
|
|
155
|
+
onNavigationChange(event) {
|
|
156
|
+
var _a;
|
|
157
|
+
const target = event.target;
|
|
158
|
+
const index = Array.from(((_a = target.parentElement) === null || _a === void 0 ? void 0 : _a.children) || []).indexOf(target);
|
|
159
|
+
if (index >= 0 && index < this.navigationItems.length) {
|
|
160
|
+
this.activeTab = this.navigationItems[index];
|
|
161
|
+
this.emitStateChange();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
setupStateManagement() {
|
|
165
|
+
this.stateChangeSubject.pipe(debounceTime(50)).subscribe(state => {
|
|
166
|
+
this.UserStateChanged.emit(state);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
emitStateChange() {
|
|
170
|
+
const state = {
|
|
171
|
+
activeTab: this.activeTab,
|
|
172
|
+
subView: this.subView,
|
|
173
|
+
actionsOverviewState: {},
|
|
174
|
+
executionMonitoringState: {},
|
|
175
|
+
scheduledActionsState: {},
|
|
176
|
+
codeManagementState: {},
|
|
177
|
+
entityIntegrationState: {},
|
|
178
|
+
securityPermissionsState: {}
|
|
179
|
+
};
|
|
180
|
+
this.stateChangeSubject.next(state);
|
|
181
|
+
}
|
|
182
|
+
loadUserState(state) {
|
|
183
|
+
if (state.activeTab) {
|
|
184
|
+
this.activeTab = state.activeTab;
|
|
185
|
+
}
|
|
186
|
+
if (state.subView !== undefined) {
|
|
187
|
+
this.subView = state.subView;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
onOpenEntityRecord(data) {
|
|
191
|
+
if (data && typeof data === 'object' && 'entityName' in data && 'recordId' in data) {
|
|
192
|
+
const entityData = data;
|
|
193
|
+
const compositeKey = new CompositeKey([{ FieldName: 'ID', Value: entityData.recordId }]);
|
|
194
|
+
this.OpenEntityRecord.emit({
|
|
195
|
+
EntityName: entityData.entityName,
|
|
196
|
+
RecordPKey: compositeKey
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
// Required BaseDashboard methods
|
|
201
|
+
initDashboard() {
|
|
202
|
+
try {
|
|
203
|
+
this.isLoading = true;
|
|
204
|
+
// Initialize actions management dashboard
|
|
205
|
+
}
|
|
206
|
+
catch (error) {
|
|
207
|
+
console.error('Error initializing Actions Management dashboard:', error);
|
|
208
|
+
this.Error.emit(new Error('Failed to initialize Actions Management dashboard. Please try again.'));
|
|
209
|
+
}
|
|
210
|
+
finally {
|
|
211
|
+
this.isLoading = false;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
loadData() {
|
|
215
|
+
// Load initial data for actions management
|
|
216
|
+
}
|
|
217
|
+
getCurrentTabLabel() {
|
|
218
|
+
const tabIndex = this.navigationItems.indexOf(this.activeTab);
|
|
219
|
+
const labels = ['Overview', 'Execution', 'Scheduled', 'Code', 'Entities', 'Security'];
|
|
220
|
+
return tabIndex >= 0 ? labels[tabIndex] : 'Actions Management';
|
|
221
|
+
}
|
|
222
|
+
// Sub-view navigation methods
|
|
223
|
+
showSubView(viewName) {
|
|
224
|
+
this.subView = viewName;
|
|
225
|
+
this.emitStateChange();
|
|
226
|
+
}
|
|
227
|
+
hideSubView() {
|
|
228
|
+
this.subView = null;
|
|
229
|
+
this.emitStateChange();
|
|
230
|
+
}
|
|
231
|
+
onBackToOverview() {
|
|
232
|
+
this.hideSubView();
|
|
233
|
+
}
|
|
234
|
+
// Handle sub-view requests from child components
|
|
235
|
+
onShowActionsListView() {
|
|
236
|
+
this.showSubView('actions-list');
|
|
237
|
+
}
|
|
238
|
+
onShowExecutionsListView() {
|
|
239
|
+
this.showSubView('executions-list');
|
|
240
|
+
}
|
|
241
|
+
onShowCategoriesListView() {
|
|
242
|
+
this.showSubView('categories-list');
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
ActionsManagementDashboardComponent.ɵfac = function ActionsManagementDashboardComponent_Factory(t) { return new (t || ActionsManagementDashboardComponent)(); };
|
|
246
|
+
ActionsManagementDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionsManagementDashboardComponent, selectors: [["mj-actions-management-dashboard"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 3, consts: [["mjFillContainer", "", 1, "actions-management-dashboard"], [1, "dashboard-header"], [1, "dashboard-title"], [1, "fa-solid", "fa-cogs"], [1, "dashboard-subtitle"], [1, "dashboard-content"], [1, "actions-navigation", 3, "itemClick", "items"], [1, "tab-content"], [1, "sub-view-container"], [1, "loading-overlay"], [3, "openEntityRecord", "showActionsListView", "showExecutionsListView", "showCategoriesListView"], [3, "openEntityRecord", "showExecutionsListView"], [3, "openEntityRecord"], [1, "sub-view-header"], ["kendoButton", "", 1, "back-button", 3, "click", "icon", "fillMode"], ["type", "converging-spinner", 3, "themeColor"]], template: function ActionsManagementDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
247
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
248
|
+
i0.ɵɵelement(3, "i", 3);
|
|
249
|
+
i0.ɵɵtext(4, " Actions Management ");
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
252
|
+
i0.ɵɵtext(6, " Manage actions, execution monitoring, and integrations ");
|
|
253
|
+
i0.ɵɵelementEnd()();
|
|
254
|
+
i0.ɵɵelementStart(7, "div", 5)(8, "kendo-bottomnavigation", 6);
|
|
255
|
+
i0.ɵɵlistener("itemClick", function ActionsManagementDashboardComponent_Template_kendo_bottomnavigation_itemClick_8_listener($event) { return ctx.onNavigationChange($event); });
|
|
256
|
+
i0.ɵɵelementEnd();
|
|
257
|
+
i0.ɵɵelementStart(9, "div", 7);
|
|
258
|
+
i0.ɵɵtemplate(10, ActionsManagementDashboardComponent_Conditional_10_Template, 6, 6)(11, ActionsManagementDashboardComponent_Conditional_11_Template, 7, 6, "div", 8);
|
|
259
|
+
i0.ɵɵelementEnd()();
|
|
260
|
+
i0.ɵɵtemplate(12, ActionsManagementDashboardComponent_Conditional_12_Template, 2, 1, "div", 9);
|
|
261
|
+
i0.ɵɵelementEnd();
|
|
262
|
+
} if (rf & 2) {
|
|
263
|
+
i0.ɵɵadvance(8);
|
|
264
|
+
i0.ɵɵproperty("items", ctx.navigationConfig);
|
|
265
|
+
i0.ɵɵadvance(2);
|
|
266
|
+
i0.ɵɵconditional(ctx.subView === null ? 10 : 11);
|
|
267
|
+
i0.ɵɵadvance(2);
|
|
268
|
+
i0.ɵɵconditional(ctx.isLoading ? 12 : -1);
|
|
269
|
+
} }, dependencies: [i1.LoaderComponent, i2.FillContainer, i3.BottomNavigationComponent, i4.ButtonComponent, i5.ActionsOverviewComponent, i6.ExecutionMonitoringComponent, i7.ScheduledActionsComponent, i8.CodeManagementComponent, i9.EntityIntegrationComponent, i10.SecurityPermissionsComponent, i11.ActionsListViewComponent, i12.ExecutionsListViewComponent, i13.CategoriesListViewComponent], styles: [".actions-management-dashboard[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 1rem;\n background-color: var(--kendo-color-surface);\n\n .dashboard-header {\n margin-bottom: 1.5rem;\n \n .dashboard-title {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n margin: 0 0 0.5rem 0;\n font-size: 1.75rem;\n font-weight: 600;\n color: var(--kendo-color-on-app-surface);\n \n i {\n color: var(--kendo-color-primary);\n }\n }\n \n .dashboard-subtitle {\n color: var(--kendo-color-subtle);\n font-size: 1rem;\n margin-left: 2.25rem;\n }\n }\n\n .dashboard-content {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n\n .actions-navigation {\n margin-bottom: 1rem;\n border-radius: 0.5rem;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n }\n\n .tab-content {\n flex: 1;\n min-height: 0;\n background: var(--kendo-color-app-surface);\n border-radius: 0.5rem;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n\n .sub-view-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n\n .sub-view-header {\n padding: 1rem 1.5rem;\n border-bottom: 1px solid var(--kendo-color-border);\n background: var(--kendo-color-surface);\n\n .back-button {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n color: var(--kendo-color-primary);\n font-weight: 600;\n\n &:hover {\n color: var(--kendo-color-primary-darker);\n }\n }\n }\n\n mj-actions-list-view,\n mj-executions-list-view,\n mj-categories-list-view {\n flex: 1;\n min-height: 0;\n }\n }\n }\n }\n\n .loading-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(255, 255, 255, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n }\n}\n\n// Navigation styling\n[_nghost-%COMP%] {\n .k-bottom-nav {\n .k-bottom-nav-item {\n transition: all 0.2s ease;\n \n &:hover {\n background-color: var(--kendo-color-base-hover);\n }\n \n &.k-state-selected {\n background-color: var(--kendo-color-primary);\n color: var(--kendo-color-on-primary);\n }\n }\n }\n}\n\n//[_ngcontent-%COMP%] Responsive[_ngcontent-%COMP%] design\n@media[_ngcontent-%COMP%] (max-width[_ngcontent-%COMP%]: 768px)[_ngcontent-%COMP%] {\n .actions-management-dashboard {\n padding: 0.5rem;\n \n .dashboard-header {\n margin-bottom: 1rem;\n \n .dashboard-title {\n font-size: 1.5rem;\n }\n \n .dashboard-subtitle {\n font-size: 0.9rem;\n }\n }\n }\n}"] });
|
|
270
|
+
ActionsManagementDashboardComponent = __decorate([
|
|
271
|
+
RegisterClass(BaseDashboard, 'ActionsManagement')
|
|
272
|
+
], ActionsManagementDashboardComponent);
|
|
273
|
+
export { ActionsManagementDashboardComponent };
|
|
274
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsManagementDashboardComponent, [{
|
|
275
|
+
type: Component,
|
|
276
|
+
args: [{ selector: 'mj-actions-management-dashboard', template: "<div class=\"actions-management-dashboard\" mjFillContainer>\n <div class=\"dashboard-header\">\n <h2 class=\"dashboard-title\">\n <i class=\"fa-solid fa-cogs\"></i>\n Actions Management\n </h2>\n <div class=\"dashboard-subtitle\">\n Manage actions, execution monitoring, and integrations\n </div>\n </div>\n\n <div class=\"dashboard-content\">\n <!-- Bottom Navigation -->\n <kendo-bottomnavigation\n [items]=\"navigationConfig\"\n (itemClick)=\"onNavigationChange($event)\"\n class=\"actions-navigation\">\n </kendo-bottomnavigation>\n\n <!-- Tab Content -->\n <div class=\"tab-content\">\n @if (subView === null) {\n <!-- Main tab content when no sub-view is active -->\n @if (activeTab === 'overview') {\n <mj-actions-overview\n (openEntityRecord)=\"onOpenEntityRecord($event)\"\n (showActionsListView)=\"onShowActionsListView()\"\n (showExecutionsListView)=\"onShowExecutionsListView()\"\n (showCategoriesListView)=\"onShowCategoriesListView()\">\n </mj-actions-overview>\n }\n \n @if (activeTab === 'execution') {\n <mj-execution-monitoring\n (openEntityRecord)=\"onOpenEntityRecord($event)\"\n (showExecutionsListView)=\"onShowExecutionsListView()\">\n </mj-execution-monitoring>\n }\n \n @if (activeTab === 'scheduled') {\n <mj-scheduled-actions\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-scheduled-actions>\n }\n \n @if (activeTab === 'code') {\n <mj-code-management\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-code-management>\n }\n \n @if (activeTab === 'entities') {\n <mj-entity-integration\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-entity-integration>\n }\n \n @if (activeTab === 'security') {\n <mj-security-permissions\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-security-permissions>\n }\n } @else {\n <!-- Sub-view content -->\n <div class=\"sub-view-container\">\n <div class=\"sub-view-header\">\n <button kendoButton \n [icon]=\"'chevron-left'\" \n [fillMode]=\"'flat'\"\n (click)=\"onBackToOverview()\"\n class=\"back-button\">\n Back to {{ getCurrentTabLabel() }}\n </button>\n </div>\n \n @if (subView === 'actions-list') {\n <mj-actions-list-view\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-actions-list-view>\n }\n \n @if (subView === 'executions-list') {\n <mj-executions-list-view\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-executions-list-view>\n }\n \n @if (subView === 'categories-list') {\n <mj-categories-list-view\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-categories-list-view>\n }\n </div>\n }\n </div>\n </div>\n\n @if (isLoading) {\n <div class=\"loading-overlay\">\n <kendo-loader type=\"converging-spinner\" [themeColor]=\"'primary'\"></kendo-loader>\n </div>\n }\n</div>", styles: [".actions-management-dashboard {\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 1rem;\n background-color: var(--kendo-color-surface);\n\n .dashboard-header {\n margin-bottom: 1.5rem;\n \n .dashboard-title {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n margin: 0 0 0.5rem 0;\n font-size: 1.75rem;\n font-weight: 600;\n color: var(--kendo-color-on-app-surface);\n \n i {\n color: var(--kendo-color-primary);\n }\n }\n \n .dashboard-subtitle {\n color: var(--kendo-color-subtle);\n font-size: 1rem;\n margin-left: 2.25rem;\n }\n }\n\n .dashboard-content {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n\n .actions-navigation {\n margin-bottom: 1rem;\n border-radius: 0.5rem;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n }\n\n .tab-content {\n flex: 1;\n min-height: 0;\n background: var(--kendo-color-app-surface);\n border-radius: 0.5rem;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n\n .sub-view-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n\n .sub-view-header {\n padding: 1rem 1.5rem;\n border-bottom: 1px solid var(--kendo-color-border);\n background: var(--kendo-color-surface);\n\n .back-button {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n color: var(--kendo-color-primary);\n font-weight: 600;\n\n &:hover {\n color: var(--kendo-color-primary-darker);\n }\n }\n }\n\n mj-actions-list-view,\n mj-executions-list-view,\n mj-categories-list-view {\n flex: 1;\n min-height: 0;\n }\n }\n }\n }\n\n .loading-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(255, 255, 255, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n }\n}\n\n// Navigation styling\n:host ::ng-deep {\n .k-bottom-nav {\n .k-bottom-nav-item {\n transition: all 0.2s ease;\n \n &:hover {\n background-color: var(--kendo-color-base-hover);\n }\n \n &.k-state-selected {\n background-color: var(--kendo-color-primary);\n color: var(--kendo-color-on-primary);\n }\n }\n }\n}\n\n// Responsive design\n@media (max-width: 768px) {\n .actions-management-dashboard {\n padding: 0.5rem;\n \n .dashboard-header {\n margin-bottom: 1rem;\n \n .dashboard-title {\n font-size: 1.5rem;\n }\n \n .dashboard-subtitle {\n font-size: 0.9rem;\n }\n }\n }\n}"] }]
|
|
277
|
+
}], () => [], null); })();
|
|
278
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionsManagementDashboardComponent, { className: "ActionsManagementDashboardComponent", filePath: "src/Actions/actions-management-dashboard.component.ts", lineNumber: 31 }); })();
|
|
279
|
+
export function LoadActionsManagementDashboard() {
|
|
280
|
+
// Prevents tree-shaking
|
|
281
|
+
}
|
|
282
|
+
//# sourceMappingURL=actions-management-dashboard.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions-management-dashboard.component.js","sourceRoot":"","sources":["../../src/Actions/actions-management-dashboard.component.ts","../../src/Actions/actions-management-dashboard.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAA4B,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;;;;;;;;;;;;;ICmBpC,+CAIwD;IAAtD,AADA,AADA,AADA,gQAAoB,iCAA0B,KAAC,mPACxB,8BAAuB,KAAC,yPACrB,iCAA0B,KAAC,yPAC3B,iCAA0B,KAAC;IACvD,iBAAsB;;;;IAItB,mDAEwD;IAAtD,AADA,oQAAoB,iCAA0B,KAAC,6PACrB,iCAA0B,KAAC;IACvD,iBAA0B;;;;IAI1B,gDACkD;IAAhD,iQAAoB,iCAA0B,KAAC;IACjD,iBAAuB;;;;IAIvB,8CACkD;IAAhD,+PA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AI,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACtC,CAAC;IAEM,wBAAwB;QAC7B,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACtC,CAAC;;sHA3IU,mCAAmC;sFAAnC,mCAAmC;QC5B5C,AADF,AADF,8BAA0D,aAC1B,YACA;QAC1B,uBAAgC;QAChC,oCACF;QAAA,iBAAK;QACL,8BAAgC;QAC9B,wEACF;QACF,AADE,iBAAM,EACF;QAIJ,AAFF,8BAA+B,gCAKA;QAD3B,8IAAa,8BAA0B,IAAC;QAE1C,iBAAyB;QAGzB,8BAAyB;QA0CrB,AAzCF,oFAAwB,iFAyCf;QAiCb,AADE,iBAAM,EACF;QAEN,8FAAiB;QAKnB,iBAAM;;QAxFA,eAA0B;QAA1B,4CAA0B;QAO1B,eAwEC;QAxED,gDAwEC;QAIL,eAIC;QAJD,yCAIC;;ADvEU,mCAAmC;IAD/C,aAAa,CAAC,aAAa,EAAE,mBAAmB,CAAC;GACrC,mCAAmC,CA4I/C;;iFA5IY,mCAAmC;cAN/C,SAAS;2BACE,iCAAiC;;kFAKhC,mCAAmC;AA8IhD,MAAM,UAAU,8BAA8B;IAC5C,wBAAwB;AAC1B,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ActionEntity, ActionCategoryEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ActionsListViewComponent implements OnInit, OnDestroy {
|
|
6
|
+
openEntityRecord: EventEmitter<{
|
|
7
|
+
entityName: string;
|
|
8
|
+
recordId: string;
|
|
9
|
+
}>;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
actions: ActionEntity[];
|
|
12
|
+
filteredActions: ActionEntity[];
|
|
13
|
+
categories: Map<string, ActionCategoryEntity>;
|
|
14
|
+
searchTerm$: BehaviorSubject<string>;
|
|
15
|
+
selectedStatus$: BehaviorSubject<string>;
|
|
16
|
+
selectedType$: BehaviorSubject<string>;
|
|
17
|
+
selectedCategory$: BehaviorSubject<string>;
|
|
18
|
+
statusOptions: {
|
|
19
|
+
text: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
typeOptions: {
|
|
23
|
+
text: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
categoryOptions: Array<{
|
|
27
|
+
text: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}>;
|
|
30
|
+
private destroy$;
|
|
31
|
+
constructor();
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
private setupFilters;
|
|
35
|
+
private loadData;
|
|
36
|
+
private loadActions;
|
|
37
|
+
private loadCategories;
|
|
38
|
+
private populateCategoriesMap;
|
|
39
|
+
private buildCategoryOptions;
|
|
40
|
+
private applyFilters;
|
|
41
|
+
onSearchChange(searchTerm: string): void;
|
|
42
|
+
onStatusFilterChange(status: string): void;
|
|
43
|
+
onTypeFilterChange(type: string): void;
|
|
44
|
+
onCategoryFilterChange(categoryId: string): void;
|
|
45
|
+
openAction(action: ActionEntity): void;
|
|
46
|
+
getCategoryName(categoryId: string | null): string;
|
|
47
|
+
getStatusColor(status: string): 'success' | 'warning' | 'error' | 'info';
|
|
48
|
+
getTypeIcon(type: string): string;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsListViewComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsListViewComponent, "mj-actions-list-view", never, {}, { "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=actions-list-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions-list-view.component.d.ts","sourceRoot":"","sources":["../../../src/Actions/components/actions-list-view.component.ts"],"names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