@memberjunction/ng-dashboards 6.2.0-edge.3 → 6.2.0-edge.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/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts +4 -3
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts.map +1 -1
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js +8 -5
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js.map +1 -1
- package/dist/AI/components/duplicates/compare-value.component.d.ts +67 -0
- package/dist/AI/components/duplicates/compare-value.component.d.ts.map +1 -0
- package/dist/AI/components/duplicates/compare-value.component.js +168 -0
- package/dist/AI/components/duplicates/compare-value.component.js.map +1 -0
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +49 -3
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +287 -169
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts +77 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts.map +1 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.js +116 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.js.map +1 -0
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts +1 -0
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts.map +1 -1
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js +16 -4
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.d.ts +2 -0
- package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.js +12 -6
- package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
- package/dist/AI/components/vectors/vector-index-auto.d.ts +29 -0
- package/dist/AI/components/vectors/vector-index-auto.d.ts.map +1 -0
- package/dist/AI/components/vectors/vector-index-auto.js +59 -0
- package/dist/AI/components/vectors/vector-index-auto.js.map +1 -0
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts +9 -0
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.js +65 -20
- package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
- package/dist/Actions/components/actions-overview.component.d.ts.map +1 -1
- package/dist/Actions/components/actions-overview.component.js +7 -3
- package/dist/Actions/components/actions-overview.component.js.map +1 -1
- package/dist/Actions/components/categories-list-view.component.d.ts.map +1 -1
- package/dist/Actions/components/categories-list-view.component.js +3 -2
- package/dist/Actions/components/categories-list-view.component.js.map +1 -1
- package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -1
- package/dist/ComponentStudio/component-studio-dashboard.component.js +1 -0
- package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -1
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts +0 -3
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js +5 -14
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js.map +1 -1
- package/dist/ComponentStudio/components/artifact-load-dialog.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/artifact-load-dialog.component.js +1 -0
- package/dist/ComponentStudio/components/artifact-load-dialog.component.js.map +1 -1
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.js +1 -0
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.js.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.d.ts +2 -0
- package/dist/Credentials/components/credentials-list-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.js +12 -10
- package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts +14 -43
- package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-agent-context.js +6 -29
- package/dist/DashboardBrowser/dashboard-browser-agent-context.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts +174 -321
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js +522 -1195
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-library-filter.d.ts +116 -0
- package/dist/DashboardBrowser/dashboard-library-filter.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboard-library-filter.js +277 -0
- package/dist/DashboardBrowser/dashboard-library-filter.js.map +1 -0
- package/dist/DashboardBrowser/dashboard-share-dialog.component.d.ts +1 -1
- package/dist/DashboardBrowser/dashboard-share-dialog.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboards-agent-tools.d.ts +26 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.js +32 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.js.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts +58 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.js +391 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.js.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts +37 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.js +68 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.js.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.component.d.ts +295 -0
- package/dist/DashboardEditor/dashboard-editor.component.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.component.js +1022 -0
- package/dist/DashboardEditor/dashboard-editor.component.js.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.types.d.ts +23 -0
- package/dist/DashboardEditor/dashboard-editor.types.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.types.js +3 -0
- package/dist/DashboardEditor/dashboard-editor.types.js.map +1 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.d.ts +11 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.js +17 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.js.map +1 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +26 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.js +302 -219
- package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
- package/dist/DataExplorer/services/explorer-state.service.d.ts +1 -1
- package/dist/DataExplorer/services/explorer-state.service.js +2 -5
- package/dist/DataExplorer/services/explorer-state.service.js.map +1 -1
- package/dist/FormBuilder/form-builder-resource.component.d.ts +0 -14
- package/dist/FormBuilder/form-builder-resource.component.d.ts.map +1 -1
- package/dist/FormBuilder/form-builder-resource.component.js +7 -29
- package/dist/FormBuilder/form-builder-resource.component.js.map +1 -1
- package/dist/Home/home-agent-context.d.ts +29 -10
- package/dist/Home/home-agent-context.d.ts.map +1 -1
- package/dist/Home/home-agent-context.js +50 -24
- package/dist/Home/home-agent-context.js.map +1 -1
- package/dist/Home/home-dashboard-switcher.component.d.ts +95 -0
- package/dist/Home/home-dashboard-switcher.component.d.ts.map +1 -0
- package/dist/Home/home-dashboard-switcher.component.js +442 -0
- package/dist/Home/home-dashboard-switcher.component.js.map +1 -0
- package/dist/Home/home-dashboard.component.d.ts +330 -17
- package/dist/Home/home-dashboard.component.d.ts.map +1 -1
- package/dist/Home/home-dashboard.component.js +1702 -1014
- package/dist/Home/home-dashboard.component.js.map +1 -1
- package/dist/Home/home-menus.d.ts +38 -0
- package/dist/Home/home-menus.d.ts.map +1 -0
- package/dist/Home/home-menus.js +53 -0
- package/dist/Home/home-menus.js.map +1 -0
- package/dist/Home/home-pinned-dashboards.d.ts +33 -0
- package/dist/Home/home-pinned-dashboards.d.ts.map +1 -0
- package/dist/Home/home-pinned-dashboards.js +76 -0
- package/dist/Home/home-pinned-dashboards.js.map +1 -0
- package/dist/PredictiveStudio/components/ps-production.component.d.ts +5 -1
- package/dist/PredictiveStudio/components/ps-production.component.d.ts.map +1 -1
- package/dist/PredictiveStudio/components/ps-production.component.js +64 -41
- package/dist/PredictiveStudio/components/ps-production.component.js.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.d.ts.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.js +3 -2
- package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
- package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js +2 -2
- package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js.map +1 -1
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts +1 -0
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts.map +1 -1
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.js +7 -0
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.js.map +1 -1
- package/dist/Testing/components/testing-explorer.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-explorer.component.js +7 -7
- package/dist/Testing/components/testing-explorer.component.js.map +1 -1
- package/dist/ai-dashboards.module.d.ts +21 -20
- package/dist/ai-dashboards.module.d.ts.map +1 -1
- package/dist/ai-dashboards.module.js +4 -1
- package/dist/ai-dashboards.module.js.map +1 -1
- package/dist/core-dashboards.module.d.ts +69 -62
- package/dist/core-dashboards.module.d.ts.map +1 -1
- package/dist/core-dashboards.module.js +22 -2
- package/dist/core-dashboards.module.js.map +1 -1
- package/dist/data-explorer-dashboards.module.d.ts +1 -1
- package/dist/data-explorer-dashboards.module.d.ts.map +1 -1
- package/dist/data-explorer-dashboards.module.js +3 -1
- package/dist/data-explorer-dashboards.module.js.map +1 -1
- package/dist/public-api.d.ts +2 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/dist/shared/dashboard-library-changes.d.ts +23 -0
- package/dist/shared/dashboard-library-changes.d.ts.map +1 -0
- package/dist/shared/dashboard-library-changes.js +26 -0
- package/dist/shared/dashboard-library-changes.js.map +1 -0
- package/dist/shared/dashboard-owner-names.d.ts +17 -0
- package/dist/shared/dashboard-owner-names.d.ts.map +1 -0
- package/dist/shared/dashboard-owner-names.js +65 -0
- package/dist/shared/dashboard-owner-names.js.map +1 -0
- package/dist/shared/dashboard-recents.d.ts +34 -0
- package/dist/shared/dashboard-recents.d.ts.map +1 -0
- package/dist/shared/dashboard-recents.js +87 -0
- package/dist/shared/dashboard-recents.js.map +1 -0
- package/dist/shared/dashboards-app-install.d.ts +59 -0
- package/dist/shared/dashboards-app-install.d.ts.map +1 -0
- package/dist/shared/dashboards-app-install.js +97 -0
- package/dist/shared/dashboards-app-install.js.map +1 -0
- package/dist/shared/dashboards-app.helpers.d.ts +42 -0
- package/dist/shared/dashboards-app.helpers.d.ts.map +1 -0
- package/dist/shared/dashboards-app.helpers.js +143 -0
- package/dist/shared/dashboards-app.helpers.js.map +1 -0
- package/package.json +69 -68
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import type { MJLeftNavItem, MJLeftNavSection } from '@memberjunction/ng-ui-components';
|
|
4
|
+
import { ResourceData, MJDashboardEntity, MJDashboardCategoryEntity, DashboardUserPermissions } from '@memberjunction/core-entities';
|
|
5
|
+
import { DashboardLibraryFilter, LibraryEmptyStateText } from './dashboard-library-filter';
|
|
6
|
+
import type { DashboardOpenEvent, DashboardEditEvent, DashboardDeleteEvent, DashboardMoveEvent, DashboardCreateEvent, CategoryCreateEvent, CategoryDeleteEvent, CategoryChangeEvent, ViewPreferenceChangeEvent, DashboardBrowserViewMode, DashboardFavoriteToggleEvent } from '@memberjunction/ng-dashboard-viewer';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Library page of the Dashboards app. A left rail picks a Library filter (All, Mine, Shared with
|
|
10
|
+
* me, Favorites, Recently opened), a category or Uncategorized; the generic
|
|
11
|
+
* DashboardBrowserComponent lists the result. Every list is flat, favorites first, then the
|
|
12
|
+
* dashboards opened last, then the rest; a category opens as a folder. Cards show a star the user
|
|
13
|
+
* can toggle and the owner ("You" or the owner's name). A click opens the dashboard in a tab of the
|
|
14
|
+
* Dashboards app, in place of the preview tab, so Back returns to the Library. A Shift, Ctrl or Cmd
|
|
15
|
+
* click opens it in a separate tab. New dashboard asks for the name first, then opens the new
|
|
16
|
+
* dashboard in edit mode.
|
|
15
17
|
*/
|
|
16
18
|
export declare class DashboardBrowserResourceComponent extends BaseResourceComponent implements OnInit, OnDestroy {
|
|
17
19
|
private cdr;
|
|
18
|
-
Mode: BrowserMode;
|
|
19
|
-
/** @deprecated Use {@link Mode}. */
|
|
20
|
-
get mode(): BrowserMode;
|
|
21
|
-
/** @deprecated Use {@link Mode}. */
|
|
22
|
-
set mode(value: BrowserMode);
|
|
23
20
|
isLoading: boolean;
|
|
24
21
|
Dashboards: MJDashboardEntity[];
|
|
25
22
|
/** @deprecated Use {@link Dashboards}. */
|
|
@@ -31,11 +28,6 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
31
28
|
get categories(): MJDashboardCategoryEntity[];
|
|
32
29
|
/** @deprecated Use {@link Categories}. */
|
|
33
30
|
set categories(value: MJDashboardCategoryEntity[]);
|
|
34
|
-
SelectedDashboard: MJDashboardEntity | null;
|
|
35
|
-
/** @deprecated Use {@link SelectedDashboard}. */
|
|
36
|
-
get selectedDashboard(): MJDashboardEntity | null;
|
|
37
|
-
/** @deprecated Use {@link SelectedDashboard}. */
|
|
38
|
-
set selectedDashboard(value: MJDashboardEntity | null);
|
|
39
31
|
SelectedCategoryId: string | null;
|
|
40
32
|
/** @deprecated Use {@link SelectedCategoryId}. */
|
|
41
33
|
get selectedCategoryId(): string | null;
|
|
@@ -46,83 +38,12 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
46
38
|
get viewMode(): DashboardBrowserViewMode;
|
|
47
39
|
/** @deprecated Use {@link ViewMode}. */
|
|
48
40
|
set viewMode(value: DashboardBrowserViewMode);
|
|
49
|
-
ShowAddPanelDialog: boolean;
|
|
50
|
-
/** @deprecated Use {@link ShowAddPanelDialog}. */
|
|
51
|
-
get showAddPanelDialog(): boolean;
|
|
52
|
-
/** @deprecated Use {@link ShowAddPanelDialog}. */
|
|
53
|
-
set showAddPanelDialog(value: boolean);
|
|
54
41
|
/**
|
|
55
42
|
* Free-text search the agent has applied to the dashboard list (via the
|
|
56
43
|
* SearchDashboards tool). Reported in the agent context so the agent knows
|
|
57
44
|
* how the visible list is currently narrowed; cleared by ClearDashboardFilters.
|
|
58
45
|
*/
|
|
59
46
|
private agentSearchText;
|
|
60
|
-
/**
|
|
61
|
-
* Which tool-set ('list' vs 'open') is currently registered with the agent.
|
|
62
|
-
* The Dashboard Browser exposes different tools depending on whether the user
|
|
63
|
-
* is browsing the list or has a dashboard open (mirrors the Data Explorer's
|
|
64
|
-
* mode-scoped tools). We only re-register on the flip — see
|
|
65
|
-
* {@link syncAgentToolsForMode}.
|
|
66
|
-
*/
|
|
67
|
-
private lastRegisteredToolMode;
|
|
68
|
-
ShowConfigDialog: boolean;
|
|
69
|
-
/** @deprecated Use {@link ShowConfigDialog}. */
|
|
70
|
-
get showConfigDialog(): boolean;
|
|
71
|
-
/** @deprecated Use {@link ShowConfigDialog}. */
|
|
72
|
-
set showConfigDialog(value: boolean);
|
|
73
|
-
ConfigDialogPanel: DashboardPanel | null;
|
|
74
|
-
/** @deprecated Use {@link ConfigDialogPanel}. */
|
|
75
|
-
get configDialogPanel(): DashboardPanel | null;
|
|
76
|
-
/** @deprecated Use {@link ConfigDialogPanel}. */
|
|
77
|
-
set configDialogPanel(value: DashboardPanel | null);
|
|
78
|
-
ConfigDialogPartType: MJDashboardPartTypeEntity | null;
|
|
79
|
-
/** @deprecated Use {@link ConfigDialogPartType}. */
|
|
80
|
-
get configDialogPartType(): MJDashboardPartTypeEntity | null;
|
|
81
|
-
/** @deprecated Use {@link ConfigDialogPartType}. */
|
|
82
|
-
set configDialogPartType(value: MJDashboardPartTypeEntity | null);
|
|
83
|
-
ConfigDialogClass: string;
|
|
84
|
-
/** @deprecated Use {@link ConfigDialogClass}. */
|
|
85
|
-
get configDialogClass(): string;
|
|
86
|
-
/** @deprecated Use {@link ConfigDialogClass}. */
|
|
87
|
-
set configDialogClass(value: string);
|
|
88
|
-
ShowConfirmDialog: boolean;
|
|
89
|
-
/** @deprecated Use {@link ShowConfirmDialog}. */
|
|
90
|
-
get showConfirmDialog(): boolean;
|
|
91
|
-
/** @deprecated Use {@link ShowConfirmDialog}. */
|
|
92
|
-
set showConfirmDialog(value: boolean);
|
|
93
|
-
ConfirmPanelId: string;
|
|
94
|
-
/** @deprecated Use {@link ConfirmPanelId}. */
|
|
95
|
-
get confirmPanelId(): string;
|
|
96
|
-
/** @deprecated Use {@link ConfirmPanelId}. */
|
|
97
|
-
set confirmPanelId(value: string);
|
|
98
|
-
ConfirmPanelTitle: string;
|
|
99
|
-
/** @deprecated Use {@link ConfirmPanelTitle}. */
|
|
100
|
-
get confirmPanelTitle(): string;
|
|
101
|
-
/** @deprecated Use {@link ConfirmPanelTitle}. */
|
|
102
|
-
set confirmPanelTitle(value: string);
|
|
103
|
-
ShowShareDialog: boolean;
|
|
104
|
-
/** @deprecated Use {@link ShowShareDialog}. */
|
|
105
|
-
get showShareDialog(): boolean;
|
|
106
|
-
/** @deprecated Use {@link ShowShareDialog}. */
|
|
107
|
-
set showShareDialog(value: boolean);
|
|
108
|
-
EditingName: string;
|
|
109
|
-
/** @deprecated Use {@link EditingName}. */
|
|
110
|
-
get editingName(): string;
|
|
111
|
-
/** @deprecated Use {@link EditingName}. */
|
|
112
|
-
set editingName(value: string);
|
|
113
|
-
EditingDescription: string;
|
|
114
|
-
/** @deprecated Use {@link EditingDescription}. */
|
|
115
|
-
get editingDescription(): string;
|
|
116
|
-
/** @deprecated Use {@link EditingDescription}. */
|
|
117
|
-
set editingDescription(value: string);
|
|
118
|
-
private originalName;
|
|
119
|
-
private originalDescription;
|
|
120
|
-
private originalConfig;
|
|
121
|
-
SelectedDashboardPermissions: DashboardUserPermissions;
|
|
122
|
-
/** @deprecated Use {@link SelectedDashboardPermissions}. */
|
|
123
|
-
get selectedDashboardPermissions(): DashboardUserPermissions;
|
|
124
|
-
/** @deprecated Use {@link SelectedDashboardPermissions}. */
|
|
125
|
-
set selectedDashboardPermissions(value: DashboardUserPermissions);
|
|
126
47
|
DashboardPermissionsMap: Map<string, DashboardUserPermissions>;
|
|
127
48
|
/** @deprecated Use {@link DashboardPermissionsMap}. */
|
|
128
49
|
get dashboardPermissionsMap(): Map<string, DashboardUserPermissions>;
|
|
@@ -134,11 +55,45 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
134
55
|
/** @deprecated Use {@link EffectiveCategoryMap}. */
|
|
135
56
|
set effectiveCategoryMap(value: Map<string, string | null>);
|
|
136
57
|
private _pendingQueryParams;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
58
|
+
private _initialQueryParamsApplied;
|
|
59
|
+
/** The ids of the dashboards the user opened, most recent first, as last read from the record logs. */
|
|
60
|
+
private recentDashboardIds;
|
|
61
|
+
private favorites;
|
|
62
|
+
private recentAccess;
|
|
63
|
+
private appManager;
|
|
64
|
+
private notifications;
|
|
65
|
+
/** The active Library filter. A category is only selected under `all`. */
|
|
66
|
+
LibraryFilter: DashboardLibraryFilter;
|
|
67
|
+
/** The dashboards given to the browser: the loaded list for the current location, in the Library order. */
|
|
68
|
+
VisibleDashboards: MJDashboardEntity[];
|
|
69
|
+
/** IDs of the user's favorite dashboards, for the card stars. */
|
|
70
|
+
FavoriteIds: string[];
|
|
71
|
+
/** Each dashboard's owner text ("You" or the owner's name), keyed by dashboard ID. */
|
|
72
|
+
OwnerLabels: Map<string, string>;
|
|
73
|
+
/** What an empty flat list shows at the current location. */
|
|
74
|
+
EmptyState: LibraryEmptyStateText;
|
|
75
|
+
/** Owner names read so far, keyed by normalized user ID. '' = the read did not return the user. */
|
|
76
|
+
private ownerNames;
|
|
77
|
+
/** Normalized IDs of the owners whose names are being read. */
|
|
78
|
+
private ownerReadsInFlight;
|
|
79
|
+
/** How many dashboards the browser shows for each Library filter. */
|
|
80
|
+
LibraryCounts: Record<DashboardLibraryFilter, number>;
|
|
81
|
+
/** The rail's Library and Categories sections. */
|
|
82
|
+
RailSections: MJLeftNavSection[];
|
|
83
|
+
/** Rail ids of the expanded category tree items. */
|
|
84
|
+
RailExpandedIds: string[];
|
|
85
|
+
/** Whether the rail is collapsed to icons. Saved per user. */
|
|
86
|
+
RailCollapsed: boolean;
|
|
87
|
+
/** True while the New dashboard dialog is open. */
|
|
88
|
+
ShowNewDashboardDialog: boolean;
|
|
89
|
+
/** True while the dashboard named in the New dashboard dialog is being created. */
|
|
90
|
+
IsCreatingDashboard: boolean;
|
|
91
|
+
/** The longest name the New dashboard dialog accepts. */
|
|
92
|
+
NewDashboardNameMaxLength: number;
|
|
93
|
+
/** The category the dashboard named in the dialog is filed in; null for no category. */
|
|
94
|
+
private newDashboardCategoryId;
|
|
95
|
+
private static readonly RAIL_COLLAPSED_SETTING;
|
|
96
|
+
private railExpansionInitialized;
|
|
142
97
|
constructor(cdr: ChangeDetectorRef);
|
|
143
98
|
ngOnInit(): void;
|
|
144
99
|
ngOnDestroy(): void;
|
|
@@ -150,32 +105,72 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
150
105
|
*/
|
|
151
106
|
protected OnQueryParamsChanged(params: Record<string, string>, _source: 'popstate' | 'deeplink'): void;
|
|
152
107
|
/**
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
108
|
+
* Opens the dashboard named by the `dashboard` query param,
|
|
109
|
+
* then removes the param, so a reload does not open it again and the same
|
|
110
|
+
* link opens it next time. Requires the dashboard list to be loaded.
|
|
156
111
|
*/
|
|
157
112
|
private applyDashboardSelectionFromParams;
|
|
158
|
-
|
|
159
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Removes the `dashboard` query param from this tab. Deferred to a microtask
|
|
115
|
+
* because UpdateQueryParams does nothing while OnQueryParamsChanged is being
|
|
116
|
+
* delivered.
|
|
117
|
+
*/
|
|
118
|
+
private clearDashboardQueryParam;
|
|
119
|
+
/**
|
|
120
|
+
* Opens a dashboard in a tab of the Dashboards app (see DashboardsAppOpenOptions), in edit mode
|
|
121
|
+
* when `openInEditMode` is set, and in a separate tab when `openInNewTab` is set. The Library
|
|
122
|
+
* itself stays on the list.
|
|
123
|
+
*/
|
|
124
|
+
private openDashboard;
|
|
125
|
+
GetResourceDisplayName(_data: ResourceData): Promise<string>;
|
|
126
|
+
GetResourceIconClass(_data: ResourceData): Promise<string>;
|
|
127
|
+
/** The rail item for the current Library filter or category. */
|
|
128
|
+
get RailActiveId(): string;
|
|
129
|
+
/** True unless one category's folder is open: every other location is a flat list. */
|
|
130
|
+
get IsFlatView(): boolean;
|
|
131
|
+
/** Moves the Library to the Library filter, category or Uncategorized of the clicked rail item. */
|
|
132
|
+
OnRailItemClicked(item: MJLeftNavItem): void;
|
|
133
|
+
/** Expands or collapses a category in the rail tree. */
|
|
134
|
+
OnRailItemToggled(item: MJLeftNavItem): void;
|
|
135
|
+
/** Collapses or expands the whole rail and saves the choice for the user. */
|
|
136
|
+
OnRailCollapsedChange(collapsed: boolean): void;
|
|
137
|
+
private get currentLocation();
|
|
138
|
+
/** Applies a location the user chose, writes it to the URL, and reports it to the agent. */
|
|
139
|
+
private moveTo;
|
|
140
|
+
/** Sets the Library filter and category, then recomputes what the browser and the rail show. */
|
|
141
|
+
private applyLocation;
|
|
142
|
+
/**
|
|
143
|
+
* Recomputes what the browser and the rail show from the current state: the visible dashboards,
|
|
144
|
+
* the stars, the owners, the empty state, the counts and the rail sections.
|
|
145
|
+
*/
|
|
146
|
+
private refreshLibraryView;
|
|
147
|
+
/**
|
|
148
|
+
* Expands the top-level categories the first time there are any, then keeps the user's
|
|
149
|
+
* choices, adding only the folders above the selected category so it stays visible.
|
|
150
|
+
*/
|
|
151
|
+
private refreshRailExpansion;
|
|
152
|
+
private libraryContext;
|
|
153
|
+
/**
|
|
154
|
+
* Favorites or recents changed: recompute the view, which re-sorts it, and re-render. Does not
|
|
155
|
+
* report to the agent, because these changes also arrive while the Library is a background tab
|
|
156
|
+
* and the agent context belongs to the active tab.
|
|
157
|
+
*/
|
|
158
|
+
private onLibrarySourcesChanged;
|
|
159
|
+
/** The recently opened dashboards were read again: keep them, then refresh as {@link onLibrarySourcesChanged} does. */
|
|
160
|
+
private onRecentDashboardIdsChanged;
|
|
161
|
+
/**
|
|
162
|
+
* The dashboard cache changed: re-read it, refresh the view and read the names of new owners.
|
|
163
|
+
* Does not report to the agent, because this also runs while the Library is a background tab.
|
|
164
|
+
*/
|
|
165
|
+
private onLibraryCacheChanged;
|
|
160
166
|
/**
|
|
161
167
|
* Report the current browser state to the AI agent (async chat agent and
|
|
162
|
-
* realtime co-agent). Re-emit whenever
|
|
168
|
+
* realtime co-agent). Re-emit whenever the list, search, category filter,
|
|
163
169
|
* view mode, or loading state changes.
|
|
164
170
|
*/
|
|
165
171
|
private emitAgentContext;
|
|
166
|
-
/**
|
|
167
|
-
|
|
168
|
-
*
|
|
169
|
-
* The viewer holds the live `DashboardConfig` whose `layout` embeds each
|
|
170
|
-
* panel in Golden Layout's componentState; {@link extractPanelsFromLayout}
|
|
171
|
-
* pulls them out. We resolve each panel's part-type name via the viewer's
|
|
172
|
-
* `getPartTypeForPanel`. Tolerant by design — if the viewer isn't mounted
|
|
173
|
-
* yet (e.g. context emitted before @ViewChild resolves) we return an empty
|
|
174
|
-
* list rather than throwing.
|
|
175
|
-
*
|
|
176
|
-
* @returns a descriptive panel summary list (never null)
|
|
177
|
-
*/
|
|
178
|
-
private readOpenedDashboardPanels;
|
|
172
|
+
/** The name of the selected category, "Uncategorized" for that list, or null for none. */
|
|
173
|
+
private get selectedCategoryName();
|
|
179
174
|
/**
|
|
180
175
|
* The total number of dashboards accessible to the current user, independent
|
|
181
176
|
* of any in-memory search narrowing the agent has applied. `this.dashboards`
|
|
@@ -184,37 +179,20 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
184
179
|
*/
|
|
185
180
|
private get totalAccessibleDashboardCount();
|
|
186
181
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* The Dashboard Browser surfaces different tools depending on whether the
|
|
190
|
-
* user is browsing the list ('list') or has a dashboard open ('open' — the
|
|
191
|
-
* view/edit modes collapse to one tool-mode here). We compute the effective
|
|
192
|
-
* mode, and only when it differs from {@link lastRegisteredToolMode} do we
|
|
193
|
-
* call `SetAgentClientTools` with `[...common, ...(list ? list : open)]`.
|
|
194
|
-
* Guarding on the flip avoids re-registering on every context emission.
|
|
195
|
-
*
|
|
196
|
-
* Mirrors the Data Explorer's mode-scoped tool approach.
|
|
182
|
+
* Registers the agent client tools. The Library always shows the list, so the
|
|
183
|
+
* tool set never changes and is registered once.
|
|
197
184
|
*/
|
|
198
|
-
private
|
|
185
|
+
private registerAgentTools;
|
|
199
186
|
/**
|
|
200
|
-
* Tools
|
|
201
|
-
*
|
|
202
|
-
* another dashboard without first going back to the list.
|
|
187
|
+
* Tools to find, open, and reload dashboards, plus the read-only detail
|
|
188
|
+
* tools (category tree, shares).
|
|
203
189
|
*/
|
|
204
190
|
private commonTools;
|
|
205
191
|
/**
|
|
206
|
-
* Tools
|
|
207
|
-
* filters, and view-mode toggling.
|
|
208
|
-
* dashboard is open, so they're scoped out of the OPEN tool-set.
|
|
192
|
+
* Tools that shape the list — the Library filter, category filtering, clear
|
|
193
|
+
* filters, and view-mode toggling.
|
|
209
194
|
*/
|
|
210
195
|
private listModeTools;
|
|
211
|
-
/**
|
|
212
|
-
* Tools available only while a dashboard is OPEN (view/edit) — go back to
|
|
213
|
-
* the list, inspect the open dashboard's panels, and read its detail
|
|
214
|
-
* (owner, dates, access level). Scoped out of the LIST tool-set because
|
|
215
|
-
* there's no open dashboard there.
|
|
216
|
-
*/
|
|
217
|
-
private openModeTools;
|
|
218
196
|
/**
|
|
219
197
|
* Filter the dashboard list by a text query against name + description.
|
|
220
198
|
* The generic browser owns the category/view chrome; this surfaces a
|
|
@@ -222,48 +200,33 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
222
200
|
* applicable, so we narrow the in-memory list the browser renders.
|
|
223
201
|
*/
|
|
224
202
|
private agentSearchDashboards;
|
|
203
|
+
/** Show one Library list; clears any category filter. */
|
|
204
|
+
private agentSelectLibraryFilter;
|
|
225
205
|
/**
|
|
226
|
-
* Apply a category filter by NAME or ID (empty string clears it)
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
206
|
+
* Apply a category filter by NAME or ID (empty string clears it). Resolves a
|
|
207
|
+
* supplied name (case-insensitive) to its id against the loaded, accessible
|
|
208
|
+
* category list — mirroring the Data Explorer's SelectView name→id resolution.
|
|
209
|
+
* "Uncategorized" (when no category has that name) shows the dashboards in no
|
|
210
|
+
* category. A category is shown under the All Library filter.
|
|
230
211
|
*/
|
|
231
212
|
private agentSelectCategory;
|
|
232
|
-
/** Clear
|
|
213
|
+
/** Clear the text search, the Library filter and the category filter, returning to All dashboards. */
|
|
233
214
|
private agentClearDashboardFilters;
|
|
234
215
|
/**
|
|
235
|
-
* Open a dashboard
|
|
236
|
-
*
|
|
237
|
-
*
|
|
216
|
+
* Open a dashboard by NAME or ID. Resolves against the full
|
|
217
|
+
* accessible list (see {@link resolveDashboardForTool}), so a prior search
|
|
218
|
+
* that narrowed the visible list does not hide it.
|
|
238
219
|
*/
|
|
239
220
|
private agentOpenDashboard;
|
|
240
221
|
/** Switch and persist the list view mode (cards | list). */
|
|
241
222
|
private agentSwitchViewMode;
|
|
242
223
|
/**
|
|
243
|
-
* Resolve
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
224
|
+
* Resolve a tool's dashboard param (ID **or** name) to an accessible
|
|
225
|
+
* dashboard: an exact ID match first, then a case-insensitive name match.
|
|
226
|
+
* Returns a tolerant error result when the param is missing or nothing
|
|
227
|
+
* matches.
|
|
247
228
|
*/
|
|
248
229
|
private resolveDashboardForTool;
|
|
249
|
-
/**
|
|
250
|
-
* Return the panel list for the open (or named) dashboard. For the open
|
|
251
|
-
* dashboard we read live panels from the viewer; for another dashboard we
|
|
252
|
-
* parse its persisted UIConfigDetails. Read-only.
|
|
253
|
-
*/
|
|
254
|
-
private agentGetDashboardPanels;
|
|
255
|
-
/**
|
|
256
|
-
* Parse a dashboard's persisted UIConfigDetails into a descriptive panel
|
|
257
|
-
* summary list, resolving each panel's part-type name from the engine's
|
|
258
|
-
* cached part types. Tolerant — returns [] on missing/invalid config.
|
|
259
|
-
*/
|
|
260
|
-
private readPanelsFromPersistedConfig;
|
|
261
|
-
/**
|
|
262
|
-
* Return owner / dates / category / access-level detail for the open (or
|
|
263
|
-
* named) dashboard. Access level comes from the DashboardEngine permissions
|
|
264
|
-
* already computed by the browser. Read-only.
|
|
265
|
-
*/
|
|
266
|
-
private agentGetDashboardDetail;
|
|
267
230
|
/**
|
|
268
231
|
* Return the accessible category tree (name, ID, parent ID, and per-category
|
|
269
232
|
* count of accessible dashboards filed directly under it). Read-only.
|
|
@@ -275,20 +238,15 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
275
238
|
* permission records. Returns no secrets. Read-only.
|
|
276
239
|
*/
|
|
277
240
|
private agentGetDashboardShares;
|
|
278
|
-
/** Format a date to ISO, tolerant of null/invalid values. */
|
|
279
|
-
private toIsoOrNull;
|
|
280
241
|
/**
|
|
281
|
-
* Handle dashboard open request from generic browser
|
|
242
|
+
* Handle dashboard open request from generic browser: open the dashboard, in a separate tab for a
|
|
243
|
+
* Shift, Ctrl or Cmd click.
|
|
282
244
|
*/
|
|
283
245
|
OnDashboardOpen(event: DashboardOpenEvent): void;
|
|
284
246
|
/** @deprecated Use {@link OnDashboardOpen}. */
|
|
285
247
|
onDashboardOpen(event: DashboardOpenEvent): void;
|
|
286
248
|
/**
|
|
287
|
-
*
|
|
288
|
-
*/
|
|
289
|
-
openInNewTab(): void;
|
|
290
|
-
/**
|
|
291
|
-
* Handle dashboard edit request from generic browser
|
|
249
|
+
* Handle dashboard edit request from generic browser: open it in edit mode.
|
|
292
250
|
*/
|
|
293
251
|
OnDashboardEdit(event: DashboardEditEvent): void;
|
|
294
252
|
/** @deprecated Use {@link OnDashboardEdit}. */
|
|
@@ -307,14 +265,16 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
307
265
|
OnDashboardMove(event: DashboardMoveEvent): Promise<void>;
|
|
308
266
|
/** @deprecated Use {@link OnDashboardMove}. */
|
|
309
267
|
onDashboardMove(event: DashboardMoveEvent): Promise<void>;
|
|
310
|
-
/**
|
|
311
|
-
* Handle create dashboard request from generic browser
|
|
312
|
-
*/
|
|
268
|
+
/** The generic browser asks for a new dashboard (its New menu or an empty state): asks for the name first. */
|
|
313
269
|
OnDashboardCreate(event: DashboardCreateEvent): Promise<void>;
|
|
314
270
|
/** @deprecated Use {@link OnDashboardCreate}. */
|
|
315
271
|
onDashboardCreate(event: DashboardCreateEvent): Promise<void>;
|
|
272
|
+
/** Stars or unstars a dashboard from its card. Changed$ then re-sorts the Library. */
|
|
273
|
+
OnDashboardFavoriteToggle(event: DashboardFavoriteToggleEvent): Promise<void>;
|
|
316
274
|
/**
|
|
317
|
-
* Handle
|
|
275
|
+
* Handle folder navigation in the generic browser and update the URL. Entering a
|
|
276
|
+
* folder shows it under the All Library filter; going back to the root shows the
|
|
277
|
+
* current Library filter's flat list.
|
|
318
278
|
*/
|
|
319
279
|
OnCategoryChange(event: CategoryChangeEvent): void;
|
|
320
280
|
/** @deprecated Use {@link OnCategoryChange}. */
|
|
@@ -340,159 +300,53 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
340
300
|
/** @deprecated Use {@link OnCategoryDelete}. */
|
|
341
301
|
onCategoryDelete(event: CategoryDeleteEvent): Promise<void>;
|
|
342
302
|
/**
|
|
343
|
-
*
|
|
344
|
-
*
|
|
303
|
+
* Opens the New dashboard dialog. The dashboard is filed in `categoryId`, else in the open
|
|
304
|
+
* category folder, else in no category.
|
|
345
305
|
*/
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
|
|
306
|
+
OpenNewDashboardDialog(categoryId?: string | null): void;
|
|
307
|
+
/** Closes the New dashboard dialog and creates nothing. */
|
|
308
|
+
OnNewDashboardCancelled(): void;
|
|
349
309
|
/**
|
|
350
|
-
*
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
openDashboard(dashboard: MJDashboardEntity): void;
|
|
355
|
-
/**
|
|
356
|
-
* Open a dashboard for editing
|
|
357
|
-
*/
|
|
358
|
-
EditDashboard(dashboard: MJDashboardEntity): void;
|
|
359
|
-
/** @deprecated Use {@link EditDashboard}. */
|
|
360
|
-
editDashboard(dashboard: MJDashboardEntity): void;
|
|
361
|
-
/**
|
|
362
|
-
* Go back to list view
|
|
363
|
-
*/
|
|
364
|
-
BackToList(): void;
|
|
365
|
-
/** @deprecated Use {@link BackToList}. */
|
|
366
|
-
backToList(): void;
|
|
367
|
-
/**
|
|
368
|
-
* Toggle edit mode for current dashboard
|
|
369
|
-
*/
|
|
370
|
-
ToggleEditMode(): void;
|
|
371
|
-
/** @deprecated Use {@link ToggleEditMode}. */
|
|
372
|
-
toggleEditMode(): void;
|
|
373
|
-
/**
|
|
374
|
-
* Open the share dialog for the current dashboard
|
|
375
|
-
*/
|
|
376
|
-
OpenShareDialog(): void;
|
|
377
|
-
/** @deprecated Use {@link OpenShareDialog}. */
|
|
378
|
-
openShareDialog(): void;
|
|
379
|
-
/**
|
|
380
|
-
* Close the share dialog
|
|
381
|
-
*/
|
|
382
|
-
CloseShareDialog(): void;
|
|
383
|
-
/** @deprecated Use {@link CloseShareDialog}. */
|
|
384
|
-
closeShareDialog(): void;
|
|
385
|
-
/**
|
|
386
|
-
* Handle share dialog result
|
|
387
|
-
*/
|
|
388
|
-
OnShareDialogResult(result: ShareDialogResult): void;
|
|
389
|
-
/** @deprecated Use {@link OnShareDialogResult}. */
|
|
390
|
-
onShareDialogResult(result: ShareDialogResult): void;
|
|
391
|
-
/**
|
|
392
|
-
* Create a new dashboard
|
|
310
|
+
* Creates the dashboard named in the dialog, reloads the cache the dashboard tab reads from, puts
|
|
311
|
+
* the dashboard first in the list, and opens it in edit mode in a tab of the Dashboards app. When
|
|
312
|
+
* the save fails, the dialog stays open with the name and the user is told. A second call while
|
|
313
|
+
* the dashboard is being created does nothing.
|
|
393
314
|
*/
|
|
315
|
+
OnNewDashboardNamed(name: string): Promise<void>;
|
|
316
|
+
/** @deprecated Use {@link OpenNewDashboardDialog}. */
|
|
394
317
|
CreateDashboard(categoryId?: string | null): Promise<void>;
|
|
395
|
-
/** @deprecated Use {@link
|
|
318
|
+
/** @deprecated Use {@link OpenNewDashboardDialog}. */
|
|
396
319
|
createDashboard(categoryId?: string | null): Promise<void>;
|
|
320
|
+
/** Sets whether the named dashboard is being created, and re-renders the dialog. */
|
|
321
|
+
private setCreatingDashboard;
|
|
322
|
+
/** Reloads the dashboard cache before the new dashboard's tab opens: the tab reads the dashboard from it. A failure is only logged. */
|
|
323
|
+
private reloadDashboardCache;
|
|
324
|
+
private loadDashboards;
|
|
397
325
|
/**
|
|
398
|
-
*
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
/** @deprecated Use {@link SaveDashboard}. */
|
|
402
|
-
saveDashboard(): Promise<void>;
|
|
403
|
-
/**
|
|
404
|
-
* Cancel editing and revert changes
|
|
405
|
-
*/
|
|
406
|
-
CancelEdit(): void;
|
|
407
|
-
/** @deprecated Use {@link CancelEdit}. */
|
|
408
|
-
cancelEdit(): void;
|
|
409
|
-
/**
|
|
410
|
-
* Handle name input blur - validate name is not empty
|
|
411
|
-
*/
|
|
412
|
-
OnNameBlur(): void;
|
|
413
|
-
/** @deprecated Use {@link OnNameBlur}. */
|
|
414
|
-
onNameBlur(): void;
|
|
415
|
-
/**
|
|
416
|
-
* Open the Add Part dialog
|
|
417
|
-
*/
|
|
418
|
-
OpenAddPartDialog(): void;
|
|
419
|
-
/** @deprecated Use {@link OpenAddPartDialog}. */
|
|
420
|
-
openAddPartDialog(): void;
|
|
421
|
-
/**
|
|
422
|
-
* Handle panel interaction events from the viewer
|
|
423
|
-
*/
|
|
424
|
-
OnPanelInteraction(event: PanelInteractionEvent): void;
|
|
425
|
-
/** @deprecated Use {@link OnPanelInteraction}. */
|
|
426
|
-
onPanelInteraction(event: PanelInteractionEvent): void;
|
|
427
|
-
/**
|
|
428
|
-
* Handle navigation events from panels
|
|
429
|
-
*/
|
|
430
|
-
OnNavigationRequested(event: DashboardNavRequestEvent): void;
|
|
431
|
-
/** @deprecated Use {@link OnNavigationRequested}. */
|
|
432
|
-
onNavigationRequested(event: DashboardNavRequestEvent): void;
|
|
433
|
-
/**
|
|
434
|
-
* Resolve an application name to its ID
|
|
435
|
-
*/
|
|
436
|
-
private resolveAppId;
|
|
437
|
-
/**
|
|
438
|
-
* Handle add panel dialog result
|
|
439
|
-
*/
|
|
440
|
-
OnPanelAdded(result: AddPanelResult): Promise<void>;
|
|
441
|
-
/** @deprecated Use {@link OnPanelAdded}. */
|
|
442
|
-
onPanelAdded(result: AddPanelResult): Promise<void>;
|
|
443
|
-
/**
|
|
444
|
-
* Handle add panel dialog cancel
|
|
445
|
-
*/
|
|
446
|
-
OnAddPanelCancelled(): void;
|
|
447
|
-
/** @deprecated Use {@link OnAddPanelCancelled}. */
|
|
448
|
-
onAddPanelCancelled(): void;
|
|
449
|
-
/**
|
|
450
|
-
* Open the config dialog for a panel
|
|
451
|
-
*/
|
|
452
|
-
OpenConfigDialog(panelId: string): void;
|
|
453
|
-
/** @deprecated Use {@link OpenConfigDialog}. */
|
|
454
|
-
openConfigDialog(panelId: string): void;
|
|
455
|
-
/**
|
|
456
|
-
* Handle config dialog save
|
|
457
|
-
*/
|
|
458
|
-
OnConfigDialogSaved(result: EditPartDialogResult): void;
|
|
459
|
-
/** @deprecated Use {@link OnConfigDialogSaved}. */
|
|
460
|
-
onConfigDialogSaved(result: EditPartDialogResult): void;
|
|
461
|
-
/**
|
|
462
|
-
* Handle config dialog cancel
|
|
463
|
-
*/
|
|
464
|
-
OnConfigDialogCancelled(): void;
|
|
465
|
-
/** @deprecated Use {@link OnConfigDialogCancelled}. */
|
|
466
|
-
onConfigDialogCancelled(): void;
|
|
467
|
-
/**
|
|
468
|
-
* Close the config dialog
|
|
469
|
-
*/
|
|
470
|
-
private closeConfigDialog;
|
|
471
|
-
/**
|
|
472
|
-
* Open the remove confirmation dialog
|
|
326
|
+
* Reads the library from the engine cache: the dashboards the user can access (narrowed by an
|
|
327
|
+
* agent search), the categories owned by or shared with the user (by name), and the permission
|
|
328
|
+
* and effective-category maps.
|
|
473
329
|
*/
|
|
474
|
-
|
|
475
|
-
/** @deprecated Use {@link OpenRemoveConfirmDialog}. */
|
|
476
|
-
openRemoveConfirmDialog(panelId: string, panelTitle: string): void;
|
|
330
|
+
private readLibraryFromEngine;
|
|
477
331
|
/**
|
|
478
|
-
*
|
|
332
|
+
* The dashboards the user can access whose name or description contains the agent's search text
|
|
333
|
+
* (all when there is none). The Library order is applied when the view is refreshed.
|
|
479
334
|
*/
|
|
480
|
-
|
|
481
|
-
/** @deprecated Use {@link OnRemoveConfirmed}. */
|
|
482
|
-
onRemoveConfirmed(): void;
|
|
335
|
+
private readSearchedDashboards;
|
|
483
336
|
/**
|
|
484
|
-
*
|
|
337
|
+
* Reads the names of owners not read yet and not being read, then shows them on the cards.
|
|
338
|
+
* Never throws.
|
|
485
339
|
*/
|
|
486
|
-
|
|
487
|
-
/** @deprecated Use {@link OnRemoveCancelled}. */
|
|
488
|
-
onRemoveCancelled(): void;
|
|
340
|
+
private refreshOwnerNames;
|
|
489
341
|
/**
|
|
490
|
-
*
|
|
342
|
+
* Builds the permission map, and the effective category of each shared dashboard, for every
|
|
343
|
+
* dashboard the user can access. An agent search that narrows the list does not narrow the maps.
|
|
491
344
|
*/
|
|
492
|
-
private
|
|
493
|
-
private loadDashboards;
|
|
345
|
+
private buildPermissionMaps;
|
|
494
346
|
/**
|
|
495
|
-
* Update the URL query params for the current tab
|
|
347
|
+
* Update the URL query params for the current tab: the Library filter (`lib`,
|
|
348
|
+
* omitted for All), the category filter, and no `dashboard` param (the Library
|
|
349
|
+
* never shows a dashboard itself).
|
|
496
350
|
* Routes through BaseResourceComponent.UpdateQueryParams, which updates the tab
|
|
497
351
|
* configuration (triggering the shell's URL sync while respecting app-scoped
|
|
498
352
|
* routes) and is auto-suppressed while delivering OnQueryParamsChanged so
|
|
@@ -508,5 +362,4 @@ export declare class DashboardBrowserResourceComponent extends BaseResourceCompo
|
|
|
508
362
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardBrowserResourceComponent, never>;
|
|
509
363
|
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardBrowserResourceComponent, "mj-dashboard-browser-resource", never, {}, {}, never, never, false, never>;
|
|
510
364
|
}
|
|
511
|
-
export {};
|
|
512
365
|
//# sourceMappingURL=dashboard-browser-resource.component.d.ts.map
|