@memberjunction/ng-dashboard-viewer 6.1.4 → 6.2.0-edge.1
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/lib/config-dialogs/confirm-dialog.component.d.ts +58 -8
- package/dist/lib/config-dialogs/confirm-dialog.component.d.ts.map +1 -1
- package/dist/lib/config-dialogs/confirm-dialog.component.js +119 -17
- package/dist/lib/config-dialogs/confirm-dialog.component.js.map +1 -1
- package/dist/lib/config-panels/artifact-config-panel.component.d.ts +63 -11
- package/dist/lib/config-panels/artifact-config-panel.component.d.ts.map +1 -1
- package/dist/lib/config-panels/artifact-config-panel.component.js +152 -48
- package/dist/lib/config-panels/artifact-config-panel.component.js.map +1 -1
- package/dist/lib/config-panels/query-config-panel.component.d.ts +57 -9
- package/dist/lib/config-panels/query-config-panel.component.d.ts.map +1 -1
- package/dist/lib/config-panels/query-config-panel.component.js +142 -46
- package/dist/lib/config-panels/query-config-panel.component.js.map +1 -1
- package/dist/lib/config-panels/view-config-panel.component.d.ts +69 -11
- package/dist/lib/config-panels/view-config-panel.component.d.ts.map +1 -1
- package/dist/lib/config-panels/view-config-panel.component.js +165 -49
- package/dist/lib/config-panels/view-config-panel.component.js.map +1 -1
- package/dist/lib/config-panels/weburl-config-panel.component.d.ts +42 -6
- package/dist/lib/config-panels/weburl-config-panel.component.d.ts.map +1 -1
- package/dist/lib/config-panels/weburl-config-panel.component.js +113 -41
- package/dist/lib/config-panels/weburl-config-panel.component.js.map +1 -1
- package/dist/lib/dashboard-browser/dashboard-browser.component.d.ts.map +1 -1
- package/dist/lib/dashboard-browser/dashboard-browser.component.js +7 -4
- package/dist/lib/dashboard-browser/dashboard-browser.component.js.map +1 -1
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.d.ts +163 -12
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.d.ts.map +1 -1
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.js +332 -78
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.js.map +1 -1
- package/dist/lib/dialogs/add-panel-dialog/add-panel-dialog.component.d.ts +63 -9
- package/dist/lib/dialogs/add-panel-dialog/add-panel-dialog.component.d.ts.map +1 -1
- package/dist/lib/dialogs/add-panel-dialog/add-panel-dialog.component.js +172 -66
- package/dist/lib/dialogs/add-panel-dialog/add-panel-dialog.component.js.map +1 -1
- package/dist/lib/dialogs/edit-part-dialog/edit-part-dialog.component.d.ts +11 -1
- package/dist/lib/dialogs/edit-part-dialog/edit-part-dialog.component.d.ts.map +1 -1
- package/dist/lib/dialogs/edit-part-dialog/edit-part-dialog.component.js +30 -10
- package/dist/lib/dialogs/edit-part-dialog/edit-part-dialog.component.js.map +1 -1
- package/dist/lib/models/dashboard-types.d.ts +8 -0
- package/dist/lib/models/dashboard-types.d.ts.map +1 -1
- package/dist/lib/models/dashboard-types.js +21 -5
- package/dist/lib/models/dashboard-types.js.map +1 -1
- package/dist/lib/parts/artifact-part.component.d.ts +63 -7
- package/dist/lib/parts/artifact-part.component.d.ts.map +1 -1
- package/dist/lib/parts/artifact-part.component.js +98 -22
- package/dist/lib/parts/artifact-part.component.js.map +1 -1
- package/dist/lib/parts/query-part.component.d.ts +26 -4
- package/dist/lib/parts/query-part.component.d.ts.map +1 -1
- package/dist/lib/parts/query-part.component.js +62 -18
- package/dist/lib/parts/query-part.component.js.map +1 -1
- package/dist/lib/parts/view-part.component.d.ts +21 -3
- package/dist/lib/parts/view-part.component.d.ts.map +1 -1
- package/dist/lib/parts/view-part.component.js +55 -19
- package/dist/lib/parts/view-part.component.js.map +1 -1
- package/dist/lib/parts/weburl-part.component.d.ts +29 -5
- package/dist/lib/parts/weburl-part.component.d.ts.map +1 -1
- package/dist/lib/parts/weburl-part.component.js +63 -15
- package/dist/lib/parts/weburl-part.component.js.map +1 -1
- package/dist/lib/services/golden-layout-wrapper.service.d.ts +65 -5
- package/dist/lib/services/golden-layout-wrapper.service.d.ts.map +1 -1
- package/dist/lib/services/golden-layout-wrapper.service.js +135 -27
- package/dist/lib/services/golden-layout-wrapper.service.js.map +1 -1
- package/package.json +13 -13
|
@@ -27,43 +27,101 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
27
27
|
private _dashboard;
|
|
28
28
|
private _dashboardId;
|
|
29
29
|
/** The dashboard entity to display */
|
|
30
|
-
set
|
|
30
|
+
set Dashboard(value: MJDashboardEntity | null);
|
|
31
|
+
get Dashboard(): MJDashboardEntity | null;
|
|
32
|
+
/** @deprecated Use {@link Dashboard}. */
|
|
31
33
|
get dashboard(): MJDashboardEntity | null;
|
|
34
|
+
/** @deprecated Use {@link Dashboard}. */
|
|
35
|
+
set dashboard(value: MJDashboardEntity | null);
|
|
32
36
|
/** Alternative: Load dashboard by ID */
|
|
33
|
-
set
|
|
37
|
+
set DashboardId(value: string | null);
|
|
38
|
+
get DashboardId(): string | null;
|
|
39
|
+
/** @deprecated Use {@link DashboardId}. */
|
|
34
40
|
get dashboardId(): string | null;
|
|
41
|
+
/** @deprecated Use {@link DashboardId}. */
|
|
42
|
+
set dashboardId(value: string | null);
|
|
35
43
|
/** Whether the dashboard is in edit mode */
|
|
36
44
|
private _isEditing;
|
|
37
|
-
set
|
|
45
|
+
set IsEditing(value: boolean);
|
|
46
|
+
get IsEditing(): boolean;
|
|
47
|
+
/** @deprecated Use {@link IsEditing}. */
|
|
38
48
|
get isEditing(): boolean;
|
|
49
|
+
/** @deprecated Use {@link IsEditing}. */
|
|
50
|
+
set isEditing(value: boolean);
|
|
39
51
|
/** Whether to show the toolbar */
|
|
40
52
|
private _showToolbar;
|
|
41
|
-
set
|
|
53
|
+
set ShowToolbar(value: boolean);
|
|
54
|
+
get ShowToolbar(): boolean;
|
|
55
|
+
/** @deprecated Use {@link ShowToolbar}. */
|
|
42
56
|
get showToolbar(): boolean;
|
|
57
|
+
/** @deprecated Use {@link ShowToolbar}. */
|
|
58
|
+
set showToolbar(value: boolean);
|
|
43
59
|
/** Whether to auto-save layout changes */
|
|
44
60
|
private _autoSave;
|
|
45
|
-
set
|
|
61
|
+
set AutoSave(value: boolean);
|
|
62
|
+
get AutoSave(): boolean;
|
|
63
|
+
/** @deprecated Use {@link AutoSave}. */
|
|
46
64
|
get autoSave(): boolean;
|
|
65
|
+
/** @deprecated Use {@link AutoSave}. */
|
|
66
|
+
set autoSave(value: boolean);
|
|
47
67
|
/** Whether to show the breadcrumb navigation */
|
|
48
|
-
|
|
68
|
+
ShowBreadcrumb: boolean;
|
|
69
|
+
/** @deprecated Use {@link ShowBreadcrumb}. */
|
|
70
|
+
set showBreadcrumb(value: DashboardViewerComponent['ShowBreadcrumb']);
|
|
71
|
+
/** @deprecated Use {@link ShowBreadcrumb}. */
|
|
72
|
+
get showBreadcrumb(): DashboardViewerComponent['ShowBreadcrumb'];
|
|
49
73
|
/** Whether to show the "Open in Tab" button (for embedded dashboards) */
|
|
50
|
-
|
|
74
|
+
ShowOpenInTabButton: boolean;
|
|
75
|
+
/** @deprecated Use {@link ShowOpenInTabButton}. */
|
|
76
|
+
set showOpenInTabButton(value: DashboardViewerComponent['ShowOpenInTabButton']);
|
|
77
|
+
/** @deprecated Use {@link ShowOpenInTabButton}. */
|
|
78
|
+
get showOpenInTabButton(): DashboardViewerComponent['ShowOpenInTabButton'];
|
|
51
79
|
/** Whether to show the Edit button */
|
|
52
|
-
|
|
80
|
+
ShowEditButton: boolean;
|
|
81
|
+
/** @deprecated Use {@link ShowEditButton}. */
|
|
82
|
+
set showEditButton(value: DashboardViewerComponent['ShowEditButton']);
|
|
83
|
+
/** @deprecated Use {@link ShowEditButton}. */
|
|
84
|
+
get showEditButton(): DashboardViewerComponent['ShowEditButton'];
|
|
53
85
|
/** All categories for breadcrumb path resolution */
|
|
54
86
|
Categories: MJDashboardCategoryEntity[];
|
|
55
87
|
/**
|
|
56
88
|
* Computed: Should the toolbar be visible?
|
|
57
89
|
* Auto-hides when showToolbar=false OR when all toolbar elements are disabled
|
|
58
90
|
*/
|
|
91
|
+
get ShouldShowToolbar(): boolean;
|
|
92
|
+
/** @deprecated Use {@link ShouldShowToolbar}. */
|
|
59
93
|
get shouldShowToolbar(): boolean;
|
|
60
94
|
/** Emitted when dashboard configuration changes */
|
|
61
95
|
configChanged: EventEmitter<DashboardConfigChangedEvent>;
|
|
62
96
|
/** Emitted when a panel requests navigation to another resource */
|
|
97
|
+
NavigationRequested: EventEmitter<DashboardNavRequestEvent>;
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated Use {@link NavigationRequested}.
|
|
100
|
+
*
|
|
101
|
+
* The same emitter under the old binding name, so a template still binding
|
|
102
|
+
* (navigationRequested) keeps working. Must stay AFTER NavigationRequested: class fields
|
|
103
|
+
* initialise in order, and the other way round this captures undefined.
|
|
104
|
+
*/
|
|
63
105
|
navigationRequested: EventEmitter<DashboardNavRequestEvent>;
|
|
64
106
|
/** Emitted when a panel interaction occurs */
|
|
107
|
+
PanelInteraction: EventEmitter<PanelInteractionEvent>;
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated Use {@link PanelInteraction}.
|
|
110
|
+
*
|
|
111
|
+
* The same emitter under the old binding name, so a template still binding
|
|
112
|
+
* (panelInteraction) keeps working. Must stay AFTER PanelInteraction: class fields
|
|
113
|
+
* initialise in order, and the other way round this captures undefined.
|
|
114
|
+
*/
|
|
65
115
|
panelInteraction: EventEmitter<PanelInteractionEvent>;
|
|
66
116
|
/** Emitted when the dashboard is saved */
|
|
117
|
+
DashboardSaved: EventEmitter<MJDashboardEntity>;
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated Use {@link DashboardSaved}.
|
|
120
|
+
*
|
|
121
|
+
* The same emitter under the old binding name, so a template still binding
|
|
122
|
+
* (dashboardSaved) keeps working. Must stay AFTER DashboardSaved: class fields
|
|
123
|
+
* initialise in order, and the other way round this captures undefined.
|
|
124
|
+
*/
|
|
67
125
|
dashboardSaved: EventEmitter<MJDashboardEntity>;
|
|
68
126
|
/** Emitted when an error occurs */
|
|
69
127
|
error: EventEmitter<{
|
|
@@ -71,31 +129,98 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
71
129
|
error?: Error;
|
|
72
130
|
}>;
|
|
73
131
|
/** Emitted when edit mode changes */
|
|
132
|
+
EditModeChanged: EventEmitter<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated Use {@link EditModeChanged}.
|
|
135
|
+
*
|
|
136
|
+
* The same emitter under the old binding name, so a template still binding
|
|
137
|
+
* (editModeChanged) keeps working. Must stay AFTER EditModeChanged: class fields
|
|
138
|
+
* initialise in order, and the other way round this captures undefined.
|
|
139
|
+
*/
|
|
74
140
|
editModeChanged: EventEmitter<boolean>;
|
|
75
141
|
/** Emitted when user navigates via breadcrumb */
|
|
142
|
+
BreadcrumbNavigate: EventEmitter<BreadcrumbNavigateEvent>;
|
|
143
|
+
/**
|
|
144
|
+
* @deprecated Use {@link BreadcrumbNavigate}.
|
|
145
|
+
*
|
|
146
|
+
* The same emitter under the old binding name, so a template still binding
|
|
147
|
+
* (breadcrumbNavigate) keeps working. Must stay AFTER BreadcrumbNavigate: class fields
|
|
148
|
+
* initialise in order, and the other way round this captures undefined.
|
|
149
|
+
*/
|
|
76
150
|
breadcrumbNavigate: EventEmitter<BreadcrumbNavigateEvent>;
|
|
77
151
|
/** Emitted when user clicks "Open in Tab" button */
|
|
152
|
+
OpenInTab: EventEmitter<{
|
|
153
|
+
dashboardId: string;
|
|
154
|
+
dashboardName: string;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated Use {@link OpenInTab}.
|
|
158
|
+
*
|
|
159
|
+
* The same emitter under the old binding name, so a template still binding
|
|
160
|
+
* (openInTab) keeps working. Must stay AFTER OpenInTab: class fields
|
|
161
|
+
* initialise in order, and the other way round this captures undefined.
|
|
162
|
+
*/
|
|
78
163
|
openInTab: EventEmitter<{
|
|
79
164
|
dashboardId: string;
|
|
80
165
|
dashboardName: string;
|
|
81
166
|
}>;
|
|
82
167
|
/** Emitted as the Golden Layout viewer moves through dashboard/layout readiness states. */
|
|
168
|
+
LayoutLifecycle: EventEmitter<DashboardLayoutLifecycleEvent>;
|
|
169
|
+
/**
|
|
170
|
+
* @deprecated Use {@link LayoutLifecycle}.
|
|
171
|
+
*
|
|
172
|
+
* The same emitter under the old binding name, so a template still binding
|
|
173
|
+
* (layoutLifecycle) keeps working. Must stay AFTER LayoutLifecycle: class fields
|
|
174
|
+
* initialise in order, and the other way round this captures undefined.
|
|
175
|
+
*/
|
|
83
176
|
layoutLifecycle: EventEmitter<DashboardLayoutLifecycleEvent>;
|
|
84
177
|
/** Emitted once Golden Layout has initialized with a non-zero container and updated its size. */
|
|
178
|
+
LayoutReady: EventEmitter<void>;
|
|
179
|
+
/**
|
|
180
|
+
* @deprecated Use {@link LayoutReady}.
|
|
181
|
+
*
|
|
182
|
+
* The same emitter under the old binding name, so a template still binding
|
|
183
|
+
* (layoutReady) keeps working. Must stay AFTER LayoutReady: class fields
|
|
184
|
+
* initialise in order, and the other way round this captures undefined.
|
|
185
|
+
*/
|
|
85
186
|
layoutReady: EventEmitter<void>;
|
|
86
187
|
/** Emitted when layout initialization is deferred because the container cannot be initialized yet. */
|
|
188
|
+
LayoutDeferred: EventEmitter<{
|
|
189
|
+
reason: string;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated Use {@link LayoutDeferred}.
|
|
193
|
+
*
|
|
194
|
+
* The same emitter under the old binding name, so a template still binding
|
|
195
|
+
* (layoutDeferred) keeps working. Must stay AFTER LayoutDeferred: class fields
|
|
196
|
+
* initialise in order, and the other way round this captures undefined.
|
|
197
|
+
*/
|
|
87
198
|
layoutDeferred: EventEmitter<{
|
|
88
199
|
reason: string;
|
|
89
200
|
}>;
|
|
90
|
-
|
|
201
|
+
LayoutContainer: ElementRef<HTMLElement>;
|
|
202
|
+
/** @deprecated Use {@link LayoutContainer}. */
|
|
203
|
+
get layoutContainer(): ElementRef<HTMLElement>;
|
|
204
|
+
/** @deprecated Use {@link LayoutContainer}. */
|
|
205
|
+
set layoutContainer(value: ElementRef<HTMLElement>);
|
|
91
206
|
isLoading: boolean;
|
|
92
207
|
config: DashboardConfig | null;
|
|
93
|
-
|
|
94
|
-
|
|
208
|
+
PartTypes: MJDashboardPartTypeEntity[];
|
|
209
|
+
/** @deprecated Use {@link PartTypes}. */
|
|
210
|
+
get partTypes(): MJDashboardPartTypeEntity[];
|
|
211
|
+
/** @deprecated Use {@link PartTypes}. */
|
|
212
|
+
set partTypes(value: MJDashboardPartTypeEntity[]);
|
|
213
|
+
HasUnsavedChanges: boolean;
|
|
214
|
+
/** @deprecated Use {@link HasUnsavedChanges}. */
|
|
215
|
+
get hasUnsavedChanges(): boolean;
|
|
216
|
+
/** @deprecated Use {@link HasUnsavedChanges}. */
|
|
217
|
+
set hasUnsavedChanges(value: boolean);
|
|
95
218
|
/**
|
|
96
219
|
* Helper to check if layout has any panels (for template use).
|
|
97
220
|
* Panels are stored in componentState within the layout tree.
|
|
98
221
|
*/
|
|
222
|
+
get HasPanels(): boolean;
|
|
223
|
+
/** @deprecated Use {@link HasPanels}. */
|
|
99
224
|
get hasPanels(): boolean;
|
|
100
225
|
private readonly _destroy$;
|
|
101
226
|
private readonly _panelComponents;
|
|
@@ -115,16 +240,22 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
115
240
|
/**
|
|
116
241
|
* Toggle edit mode
|
|
117
242
|
*/
|
|
243
|
+
ToggleEditMode(): void;
|
|
244
|
+
/** @deprecated Use {@link ToggleEditMode}. */
|
|
118
245
|
toggleEditMode(): void;
|
|
119
246
|
/**
|
|
120
247
|
* Add a new panel to the dashboard.
|
|
121
248
|
* The panel is stored in GL's componentState - no separate panels array.
|
|
122
249
|
*/
|
|
250
|
+
AddPanel(partTypeId: string, panelConfig: PanelConfig, title: string, icon?: string, location?: LayoutLocation): Promise<void>;
|
|
251
|
+
/** @deprecated Use {@link AddPanel}. */
|
|
123
252
|
addPanel(partTypeId: string, panelConfig: PanelConfig, title: string, icon?: string, location?: LayoutLocation): Promise<void>;
|
|
124
253
|
/**
|
|
125
254
|
* Remove a panel from the dashboard.
|
|
126
255
|
* Panels live in GL's componentState, so removing from GL removes the panel.
|
|
127
256
|
*/
|
|
257
|
+
RemovePanel(panelId: string): void;
|
|
258
|
+
/** @deprecated Use {@link RemovePanel}. */
|
|
128
259
|
removePanel(panelId: string): void;
|
|
129
260
|
/**
|
|
130
261
|
* Save the current dashboard configuration
|
|
@@ -133,11 +264,15 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
133
264
|
/**
|
|
134
265
|
* Refresh all panels
|
|
135
266
|
*/
|
|
267
|
+
RefreshAllPanels(): Promise<void>;
|
|
268
|
+
/** @deprecated Use {@link RefreshAllPanels}. */
|
|
136
269
|
refreshAllPanels(): Promise<void>;
|
|
137
270
|
/**
|
|
138
271
|
* Resolves when the current dashboard's Golden Layout instance has initialized
|
|
139
272
|
* against a non-zero container and completed its first size update.
|
|
140
273
|
*/
|
|
274
|
+
WaitForLayoutReady(): Promise<void>;
|
|
275
|
+
/** @deprecated Use {@link WaitForLayoutReady}. */
|
|
141
276
|
waitForLayoutReady(): Promise<void>;
|
|
142
277
|
/**
|
|
143
278
|
* Get the current configuration
|
|
@@ -146,21 +281,29 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
146
281
|
/**
|
|
147
282
|
* Get available part types
|
|
148
283
|
*/
|
|
284
|
+
GetPartTypes(): MJDashboardPartTypeEntity[];
|
|
285
|
+
/** @deprecated Use {@link GetPartTypes}. */
|
|
149
286
|
getPartTypes(): MJDashboardPartTypeEntity[];
|
|
150
287
|
/**
|
|
151
288
|
* Get a panel by ID.
|
|
152
289
|
* Extracts panel from the layout's componentState (single source of truth).
|
|
153
290
|
*/
|
|
291
|
+
GetPanel(panelId: string): DashboardPanel | null;
|
|
292
|
+
/** @deprecated Use {@link GetPanel}. */
|
|
154
293
|
getPanel(panelId: string): DashboardPanel | null;
|
|
155
294
|
/**
|
|
156
295
|
* Get the part type for a panel
|
|
157
296
|
*/
|
|
297
|
+
GetPartTypeForPanel(panelId: string): MJDashboardPartTypeEntity | null;
|
|
298
|
+
/** @deprecated Use {@link GetPartTypeForPanel}. */
|
|
158
299
|
getPartTypeForPanel(panelId: string): MJDashboardPartTypeEntity | null;
|
|
159
300
|
/**
|
|
160
301
|
* Update a panel's configuration.
|
|
161
302
|
* Since panels live in componentState within the layout, we need to
|
|
162
303
|
* update the layout tree directly or reinitialize with updated data.
|
|
163
304
|
*/
|
|
305
|
+
UpdatePanelConfig(panelId: string, newConfig: PanelConfig, title?: string, icon?: string): void;
|
|
306
|
+
/** @deprecated Use {@link UpdatePanelConfig}. */
|
|
164
307
|
updatePanelConfig(panelId: string, newConfig: PanelConfig, title?: string, icon?: string): void;
|
|
165
308
|
/**
|
|
166
309
|
* Recursively update a panel's config within the layout tree
|
|
@@ -169,14 +312,20 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
169
312
|
/**
|
|
170
313
|
* Handle add panel button click - emits event for parent to show dialog
|
|
171
314
|
*/
|
|
315
|
+
OnAddPanelClick(): void;
|
|
316
|
+
/** @deprecated Use {@link OnAddPanelClick}. */
|
|
172
317
|
onAddPanelClick(): void;
|
|
173
318
|
/**
|
|
174
319
|
* Handle "Open in Tab" button click - emits event for parent to open dashboard in its own tab
|
|
175
320
|
*/
|
|
321
|
+
OnOpenInTabClick(): void;
|
|
322
|
+
/** @deprecated Use {@link OnOpenInTabClick}. */
|
|
176
323
|
onOpenInTabClick(): void;
|
|
177
324
|
/**
|
|
178
325
|
* Handle breadcrumb navigation
|
|
179
326
|
*/
|
|
327
|
+
OnBreadcrumbNavigate(event: BreadcrumbNavigateEvent): void;
|
|
328
|
+
/** @deprecated Use {@link OnBreadcrumbNavigate}. */
|
|
180
329
|
onBreadcrumbNavigate(event: BreadcrumbNavigateEvent): void;
|
|
181
330
|
private loadPartTypes;
|
|
182
331
|
private loadDashboardById;
|
|
@@ -228,11 +377,13 @@ export declare class DashboardViewerComponent extends BaseAngularComponent imple
|
|
|
228
377
|
/**
|
|
229
378
|
* Confirm removal of a panel (called by parent after confirmation dialog)
|
|
230
379
|
*/
|
|
380
|
+
ConfirmRemovePanel(panelId: string): void;
|
|
381
|
+
/** @deprecated Use {@link ConfirmRemovePanel}. */
|
|
231
382
|
confirmRemovePanel(panelId: string): void;
|
|
232
383
|
private destroyPanelComponent;
|
|
233
384
|
private updatePanelEditModes;
|
|
234
385
|
private markDirty;
|
|
235
386
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardViewerComponent, never>;
|
|
236
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardViewerComponent, "mj-dashboard-viewer", never, { "dashboard": { "alias": "dashboard"; "required": false; }; "dashboardId": { "alias": "dashboardId"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "autoSave": { "alias": "autoSave"; "required": false; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; }; "showOpenInTabButton": { "alias": "showOpenInTabButton"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "Categories": { "alias": "Categories"; "required": false; }; }, { "configChanged": "configChanged"; "navigationRequested": "navigationRequested"; "panelInteraction": "panelInteraction"; "dashboardSaved": "dashboardSaved"; "error": "error"; "editModeChanged": "editModeChanged"; "breadcrumbNavigate": "breadcrumbNavigate"; "openInTab": "openInTab"; "layoutLifecycle": "layoutLifecycle"; "layoutReady": "layoutReady"; "layoutDeferred": "layoutDeferred"; }, never, never, false, never>;
|
|
387
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardViewerComponent, "mj-dashboard-viewer", never, { "Dashboard": { "alias": "Dashboard"; "required": false; }; "dashboard": { "alias": "dashboard"; "required": false; }; "DashboardId": { "alias": "DashboardId"; "required": false; }; "dashboardId": { "alias": "dashboardId"; "required": false; }; "IsEditing": { "alias": "IsEditing"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "ShowToolbar": { "alias": "ShowToolbar"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "AutoSave": { "alias": "AutoSave"; "required": false; }; "autoSave": { "alias": "autoSave"; "required": false; }; "ShowBreadcrumb": { "alias": "ShowBreadcrumb"; "required": false; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; }; "ShowOpenInTabButton": { "alias": "ShowOpenInTabButton"; "required": false; }; "showOpenInTabButton": { "alias": "showOpenInTabButton"; "required": false; }; "ShowEditButton": { "alias": "ShowEditButton"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "Categories": { "alias": "Categories"; "required": false; }; }, { "configChanged": "configChanged"; "NavigationRequested": "NavigationRequested"; "navigationRequested": "navigationRequested"; "PanelInteraction": "PanelInteraction"; "panelInteraction": "panelInteraction"; "DashboardSaved": "DashboardSaved"; "dashboardSaved": "dashboardSaved"; "error": "error"; "EditModeChanged": "EditModeChanged"; "editModeChanged": "editModeChanged"; "BreadcrumbNavigate": "BreadcrumbNavigate"; "breadcrumbNavigate": "breadcrumbNavigate"; "OpenInTab": "OpenInTab"; "openInTab": "openInTab"; "LayoutLifecycle": "LayoutLifecycle"; "layoutLifecycle": "layoutLifecycle"; "LayoutReady": "LayoutReady"; "layoutReady": "layoutReady"; "LayoutDeferred": "LayoutDeferred"; "layoutDeferred": "layoutDeferred"; }, never, never, false, never>;
|
|
237
388
|
}
|
|
238
389
|
//# sourceMappingURL=dashboard-viewer.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-viewer.component.d.ts","sourceRoot":"","sources":["../../../src/lib/dashboard-viewer/dashboard-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EACZ,SAAS,EAET,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,QAAQ,EAGR,mBAAmB,EAGtB,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAmB,iBAAiB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzI,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EACH,eAAe,EACf,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,2BAA2B,EAE3B,wBAAwB,EAK3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8B,cAAc,EAAE,MAAM,2CAA2C,CAAC;;AAGvG,MAAM,MAAM,yBAAyB,GAC/B,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,OAAO,GACP,OAAO,CAAC;AAEd,MAAM,WAAW,6BAA6B;IAC1C,KAAK,EAAE,yBAAyB,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB;AAID;;;;;;GAMG;AACH,qBAOa,wBAAyB,SAAQ,oBAAqB,YAAW,SAAS;
|
|
1
|
+
{"version":3,"file":"dashboard-viewer.component.d.ts","sourceRoot":"","sources":["../../../src/lib/dashboard-viewer/dashboard-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EACZ,SAAS,EAET,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,QAAQ,EAGR,mBAAmB,EAGtB,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAmB,iBAAiB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzI,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EACH,eAAe,EACf,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,2BAA2B,EAE3B,wBAAwB,EAK3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8B,cAAc,EAAE,MAAM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