@memberjunction/ng-dashboard-viewer 6.2.0-edge.4 → 6.2.0-edge.6
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/README.md +17 -3
- package/dist/lib/config-panels/artifact-config-panel.component.js +2 -2
- package/dist/lib/config-panels/component-config-panel.component.d.ts +51 -0
- package/dist/lib/config-panels/component-config-panel.component.d.ts.map +1 -0
- package/dist/lib/config-panels/component-config-panel.component.js +246 -0
- package/dist/lib/config-panels/component-config-panel.component.js.map +1 -0
- package/dist/lib/config-panels/index.d.ts +1 -0
- package/dist/lib/config-panels/index.d.ts.map +1 -1
- package/dist/lib/config-panels/index.js +1 -0
- package/dist/lib/config-panels/index.js.map +1 -1
- package/dist/lib/config-panels/query-config-panel.component.js +2 -2
- package/dist/lib/config-panels/view-config-panel.component.js +2 -2
- package/dist/lib/config-panels/weburl-config-panel.component.js +2 -2
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.d.ts +58 -1
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.d.ts.map +1 -1
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.js +186 -4
- package/dist/lib/dashboard-viewer/dashboard-viewer.component.js.map +1 -1
- package/dist/lib/dashboard-viewer.module.d.ts +22 -17
- package/dist/lib/dashboard-viewer.module.d.ts.map +1 -1
- package/dist/lib/dashboard-viewer.module.js +29 -4
- package/dist/lib/dashboard-viewer.module.js.map +1 -1
- package/dist/lib/dialogs/part-dialog/dashboard-part-dialog.component.d.ts +35 -1
- package/dist/lib/dialogs/part-dialog/dashboard-part-dialog.component.d.ts.map +1 -1
- package/dist/lib/dialogs/part-dialog/dashboard-part-dialog.component.js +307 -34
- package/dist/lib/dialogs/part-dialog/dashboard-part-dialog.component.js.map +1 -1
- package/dist/lib/dialogs/properties-dialog/dashboard-properties-dialog.component.d.ts +79 -0
- package/dist/lib/dialogs/properties-dialog/dashboard-properties-dialog.component.d.ts.map +1 -0
- package/dist/lib/dialogs/properties-dialog/dashboard-properties-dialog.component.js +461 -0
- package/dist/lib/dialogs/properties-dialog/dashboard-properties-dialog.component.js.map +1 -0
- package/dist/lib/dialogs/property-default-editor/property-default-editor.component.d.ts +41 -0
- package/dist/lib/dialogs/property-default-editor/property-default-editor.component.d.ts.map +1 -0
- package/dist/lib/dialogs/property-default-editor/property-default-editor.component.js +248 -0
- package/dist/lib/dialogs/property-default-editor/property-default-editor.component.js.map +1 -0
- package/dist/lib/models/dashboard-config-validator.d.ts +30 -0
- package/dist/lib/models/dashboard-config-validator.d.ts.map +1 -0
- package/dist/lib/models/dashboard-config-validator.js +107 -0
- package/dist/lib/models/dashboard-config-validator.js.map +1 -0
- package/dist/lib/models/dashboard-part-interfaces.d.ts +42 -0
- package/dist/lib/models/dashboard-part-interfaces.d.ts.map +1 -0
- package/dist/lib/models/dashboard-part-interfaces.js +180 -0
- package/dist/lib/models/dashboard-part-interfaces.js.map +1 -0
- package/dist/lib/models/dashboard-properties.d.ts +182 -0
- package/dist/lib/models/dashboard-properties.d.ts.map +1 -0
- package/dist/lib/models/dashboard-properties.js +263 -0
- package/dist/lib/models/dashboard-properties.js.map +1 -0
- 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.map +1 -1
- package/dist/lib/models/part-inputs-editor.d.ts +36 -0
- package/dist/lib/models/part-inputs-editor.d.ts.map +1 -0
- package/dist/lib/models/part-inputs-editor.js +53 -0
- package/dist/lib/models/part-inputs-editor.js.map +1 -0
- package/dist/lib/parts/artifact-part.component.d.ts.map +1 -1
- package/dist/lib/parts/artifact-part.component.js +5 -4
- package/dist/lib/parts/artifact-part.component.js.map +1 -1
- package/dist/lib/parts/base-dashboard-part.d.ts +50 -1
- package/dist/lib/parts/base-dashboard-part.d.ts.map +1 -1
- package/dist/lib/parts/base-dashboard-part.js +108 -1
- package/dist/lib/parts/base-dashboard-part.js.map +1 -1
- package/dist/lib/parts/component-part.component.d.ts +54 -0
- package/dist/lib/parts/component-part.component.d.ts.map +1 -0
- package/dist/lib/parts/component-part.component.js +221 -0
- package/dist/lib/parts/component-part.component.js.map +1 -0
- package/dist/lib/parts/index.d.ts +1 -0
- package/dist/lib/parts/index.d.ts.map +1 -1
- package/dist/lib/parts/index.js +1 -0
- package/dist/lib/parts/index.js.map +1 -1
- package/dist/lib/parts/query-part.component.d.ts +25 -1
- package/dist/lib/parts/query-part.component.d.ts.map +1 -1
- package/dist/lib/parts/query-part.component.js +93 -10
- package/dist/lib/parts/query-part.component.js.map +1 -1
- package/dist/lib/parts/view-part.component.d.ts +18 -1
- package/dist/lib/parts/view-part.component.d.ts.map +1 -1
- package/dist/lib/parts/view-part.component.js +74 -10
- package/dist/lib/parts/view-part.component.js.map +1 -1
- package/dist/lib/parts/weburl-part.component.d.ts +14 -0
- package/dist/lib/parts/weburl-part.component.d.ts.map +1 -1
- package/dist/lib/parts/weburl-part.component.js +62 -5
- package/dist/lib/parts/weburl-part.component.js.map +1 -1
- package/dist/public-api.d.ts +8 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +8 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +15 -13
|
@@ -9,25 +9,30 @@ import * as i7 from "./dialogs/part-dialog/dashboard-part-dialog.component";
|
|
|
9
9
|
import * as i8 from "./dialogs/add-panel-dialog/add-panel-dialog.component";
|
|
10
10
|
import * as i9 from "./dialogs/edit-part-dialog/edit-part-dialog.component";
|
|
11
11
|
import * as i10 from "./config-dialogs/confirm-dialog.component";
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./config-panels/
|
|
15
|
-
import * as i14 from "./config-panels/
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "./
|
|
18
|
-
import * as i17 from "./
|
|
19
|
-
import * as i18 from "./parts/
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "@
|
|
25
|
-
import * as i24 from "@
|
|
26
|
-
import * as i25 from "@memberjunction/ng-
|
|
27
|
-
import * as i26 from "@memberjunction/ng-
|
|
12
|
+
import * as i11 from "./dialogs/properties-dialog/dashboard-properties-dialog.component";
|
|
13
|
+
import * as i12 from "./dialogs/property-default-editor/property-default-editor.component";
|
|
14
|
+
import * as i13 from "./config-panels/weburl-config-panel.component";
|
|
15
|
+
import * as i14 from "./config-panels/view-config-panel.component";
|
|
16
|
+
import * as i15 from "./config-panels/query-config-panel.component";
|
|
17
|
+
import * as i16 from "./config-panels/artifact-config-panel.component";
|
|
18
|
+
import * as i17 from "./config-panels/component-config-panel.component";
|
|
19
|
+
import * as i18 from "./parts/weburl-part.component";
|
|
20
|
+
import * as i19 from "./parts/view-part.component";
|
|
21
|
+
import * as i20 from "./parts/query-part.component";
|
|
22
|
+
import * as i21 from "./parts/artifact-part.component";
|
|
23
|
+
import * as i22 from "./parts/component-part.component";
|
|
24
|
+
import * as i23 from "@angular/common";
|
|
25
|
+
import * as i24 from "@angular/forms";
|
|
26
|
+
import * as i25 from "@memberjunction/ng-shared-generic";
|
|
27
|
+
import * as i26 from "@memberjunction/ng-trees";
|
|
28
|
+
import * as i27 from "@memberjunction/ng-entity-viewer";
|
|
29
|
+
import * as i28 from "@memberjunction/ng-query-viewer";
|
|
30
|
+
import * as i29 from "@memberjunction/ng-artifacts";
|
|
31
|
+
import * as i30 from "@memberjunction/ng-react";
|
|
32
|
+
import * as i31 from "@memberjunction/ng-ui-components";
|
|
28
33
|
export declare class DashboardViewerModule {
|
|
29
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardViewerModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardViewerModule, [typeof i1.DashboardViewerComponent, typeof i2.DashboardBrowserComponent, typeof i3.DashboardBreadcrumbComponent, typeof i4.DashboardLayoutPreviewComponent, typeof i5.DashboardLayoutPreviewNodeComponent, typeof i6.DashboardCardComponent, typeof i7.DashboardPartDialogComponent, typeof i8.AddPanelDialogComponent, typeof i9.EditPartDialogComponent, typeof i10.ConfirmDialogComponent, typeof i11.
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardViewerModule, [typeof i1.DashboardViewerComponent, typeof i2.DashboardBrowserComponent, typeof i3.DashboardBreadcrumbComponent, typeof i4.DashboardLayoutPreviewComponent, typeof i5.DashboardLayoutPreviewNodeComponent, typeof i6.DashboardCardComponent, typeof i7.DashboardPartDialogComponent, typeof i8.AddPanelDialogComponent, typeof i9.EditPartDialogComponent, typeof i10.ConfirmDialogComponent, typeof i11.DashboardPropertiesDialogComponent, typeof i12.PropertyDefaultEditorComponent, typeof i13.WebURLConfigPanelComponent, typeof i14.ViewConfigPanelComponent, typeof i15.QueryConfigPanelComponent, typeof i16.ArtifactConfigPanelComponent, typeof i17.ComponentConfigPanelComponent, typeof i18.WebURLPartComponent, typeof i19.ViewPartComponent, typeof i20.QueryPartComponent, typeof i21.ArtifactPartComponent, typeof i22.ComponentPartComponent], [typeof i23.CommonModule, typeof i24.FormsModule, typeof i25.SharedGenericModule, typeof i26.NgTreesModule, typeof i27.EntityViewerModule, typeof i28.QueryViewerModule, typeof i29.ArtifactsModule, typeof i30.MJReactModule, typeof i31.MJEmptyStateComponent, typeof i31.MJAccordionModule, typeof i31.MJDialogComponent, typeof i31.MJDialogActionsComponent, typeof i31.MJButtonDirective], [typeof i1.DashboardViewerComponent, typeof i2.DashboardBrowserComponent, typeof i3.DashboardBreadcrumbComponent, typeof i4.DashboardLayoutPreviewComponent, typeof i6.DashboardCardComponent, typeof i7.DashboardPartDialogComponent, typeof i8.AddPanelDialogComponent, typeof i9.EditPartDialogComponent, typeof i10.ConfirmDialogComponent, typeof i11.DashboardPropertiesDialogComponent, typeof i12.PropertyDefaultEditorComponent, typeof i13.WebURLConfigPanelComponent, typeof i14.ViewConfigPanelComponent, typeof i15.QueryConfigPanelComponent, typeof i16.ArtifactConfigPanelComponent, typeof i17.ComponentConfigPanelComponent, typeof i18.WebURLPartComponent, typeof i19.ViewPartComponent, typeof i20.QueryPartComponent, typeof i21.ArtifactPartComponent, typeof i22.ComponentPartComponent]>;
|
|
31
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardViewerModule>;
|
|
32
37
|
}
|
|
33
38
|
//# sourceMappingURL=dashboard-viewer.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-viewer.module.d.ts","sourceRoot":"","sources":["../../src/lib/dashboard-viewer.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dashboard-viewer.module.d.ts","sourceRoot":"","sources":["../../src/lib/dashboard-viewer.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEA,qBAgGa,qBAAqB;yCAArB,qBAAqB;0CAArB,qBAAqB;0CAArB,qBAAqB;CAAI"}
|
|
@@ -11,6 +11,8 @@ import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
|
|
|
11
11
|
import { QueryViewerModule } from '@memberjunction/ng-query-viewer';
|
|
12
12
|
// MJ Artifacts for displaying conversation artifacts
|
|
13
13
|
import { ArtifactsModule } from '@memberjunction/ng-artifacts';
|
|
14
|
+
// MJ React host for Interactive Component parts
|
|
15
|
+
import { MJReactModule } from '@memberjunction/ng-react';
|
|
14
16
|
// MJ UI Components for the canonical empty-state placeholder, collapsible config-panel sections,
|
|
15
17
|
// and the dialog and buttons of the part dialog
|
|
16
18
|
import { MJEmptyStateComponent, MJAccordionModule, MJDialogComponent, MJDialogActionsComponent, MJButtonDirective } from '@memberjunction/ng-ui-components';
|
|
@@ -20,6 +22,8 @@ import { DashboardViewerComponent } from './dashboard-viewer/dashboard-viewer.co
|
|
|
20
22
|
import { DashboardPartDialogComponent } from './dialogs/part-dialog/dashboard-part-dialog.component';
|
|
21
23
|
import { AddPanelDialogComponent } from './dialogs/add-panel-dialog/add-panel-dialog.component';
|
|
22
24
|
import { EditPartDialogComponent } from './dialogs/edit-part-dialog/edit-part-dialog.component';
|
|
25
|
+
import { DashboardPropertiesDialogComponent } from './dialogs/properties-dialog/dashboard-properties-dialog.component';
|
|
26
|
+
import { PropertyDefaultEditorComponent } from './dialogs/property-default-editor/property-default-editor.component';
|
|
23
27
|
// Confirm Dialog (generic utility)
|
|
24
28
|
import { ConfirmDialogComponent } from './config-dialogs/confirm-dialog.component';
|
|
25
29
|
// Config Panels (pluggable form components for each part type)
|
|
@@ -27,11 +31,13 @@ import { WebURLConfigPanelComponent } from './config-panels/weburl-config-panel.
|
|
|
27
31
|
import { ViewConfigPanelComponent } from './config-panels/view-config-panel.component';
|
|
28
32
|
import { QueryConfigPanelComponent } from './config-panels/query-config-panel.component';
|
|
29
33
|
import { ArtifactConfigPanelComponent } from './config-panels/artifact-config-panel.component';
|
|
34
|
+
import { ComponentConfigPanelComponent } from './config-panels/component-config-panel.component';
|
|
30
35
|
// Runtime Part Components (pluggable renderers for each part type)
|
|
31
36
|
import { WebURLPartComponent } from './parts/weburl-part.component';
|
|
32
37
|
import { ViewPartComponent } from './parts/view-part.component';
|
|
33
38
|
import { QueryPartComponent } from './parts/query-part.component';
|
|
34
39
|
import { ArtifactPartComponent } from './parts/artifact-part.component';
|
|
40
|
+
import { ComponentPartComponent } from './parts/component-part.component';
|
|
35
41
|
// Dashboard Browser Component (generic, no routing dependencies)
|
|
36
42
|
import { DashboardBrowserComponent } from './dashboard-browser/dashboard-browser.component';
|
|
37
43
|
// Breadcrumb Component (reusable navigation component)
|
|
@@ -52,6 +58,7 @@ export class DashboardViewerModule {
|
|
|
52
58
|
EntityViewerModule,
|
|
53
59
|
QueryViewerModule,
|
|
54
60
|
ArtifactsModule,
|
|
61
|
+
MJReactModule,
|
|
55
62
|
MJEmptyStateComponent,
|
|
56
63
|
MJAccordionModule,
|
|
57
64
|
MJDialogComponent,
|
|
@@ -77,18 +84,22 @@ export class DashboardViewerModule {
|
|
|
77
84
|
AddPanelDialogComponent,
|
|
78
85
|
EditPartDialogComponent,
|
|
79
86
|
ConfirmDialogComponent,
|
|
87
|
+
DashboardPropertiesDialogComponent,
|
|
88
|
+
PropertyDefaultEditorComponent,
|
|
80
89
|
// Config Panels (pluggable form components)
|
|
81
90
|
// These are registered with @RegisterClass and loaded dynamically via ClassFactory
|
|
82
91
|
WebURLConfigPanelComponent,
|
|
83
92
|
ViewConfigPanelComponent,
|
|
84
93
|
QueryConfigPanelComponent,
|
|
85
94
|
ArtifactConfigPanelComponent,
|
|
95
|
+
ComponentConfigPanelComponent,
|
|
86
96
|
// Runtime Part Components (pluggable renderers)
|
|
87
97
|
// These are registered with @RegisterClass and loaded dynamically via ClassFactory
|
|
88
98
|
WebURLPartComponent,
|
|
89
99
|
ViewPartComponent,
|
|
90
100
|
QueryPartComponent,
|
|
91
|
-
ArtifactPartComponent
|
|
101
|
+
ArtifactPartComponent,
|
|
102
|
+
ComponentPartComponent
|
|
92
103
|
],
|
|
93
104
|
imports: [
|
|
94
105
|
CommonModule,
|
|
@@ -98,6 +109,7 @@ export class DashboardViewerModule {
|
|
|
98
109
|
EntityViewerModule,
|
|
99
110
|
QueryViewerModule,
|
|
100
111
|
ArtifactsModule,
|
|
112
|
+
MJReactModule,
|
|
101
113
|
MJEmptyStateComponent,
|
|
102
114
|
MJAccordionModule,
|
|
103
115
|
MJDialogComponent,
|
|
@@ -120,16 +132,20 @@ export class DashboardViewerModule {
|
|
|
120
132
|
AddPanelDialogComponent,
|
|
121
133
|
EditPartDialogComponent,
|
|
122
134
|
ConfirmDialogComponent,
|
|
135
|
+
DashboardPropertiesDialogComponent,
|
|
136
|
+
PropertyDefaultEditorComponent,
|
|
123
137
|
// Config Panels - exported for potential direct use
|
|
124
138
|
WebURLConfigPanelComponent,
|
|
125
139
|
ViewConfigPanelComponent,
|
|
126
140
|
QueryConfigPanelComponent,
|
|
127
141
|
ArtifactConfigPanelComponent,
|
|
142
|
+
ComponentConfigPanelComponent,
|
|
128
143
|
// Runtime Part Components - exported for potential direct use
|
|
129
144
|
WebURLPartComponent,
|
|
130
145
|
ViewPartComponent,
|
|
131
146
|
QueryPartComponent,
|
|
132
|
-
ArtifactPartComponent
|
|
147
|
+
ArtifactPartComponent,
|
|
148
|
+
ComponentPartComponent
|
|
133
149
|
]
|
|
134
150
|
}]
|
|
135
151
|
}], null, null); })();
|
|
@@ -150,24 +166,29 @@ export class DashboardViewerModule {
|
|
|
150
166
|
AddPanelDialogComponent,
|
|
151
167
|
EditPartDialogComponent,
|
|
152
168
|
ConfirmDialogComponent,
|
|
169
|
+
DashboardPropertiesDialogComponent,
|
|
170
|
+
PropertyDefaultEditorComponent,
|
|
153
171
|
// Config Panels (pluggable form components)
|
|
154
172
|
// These are registered with @RegisterClass and loaded dynamically via ClassFactory
|
|
155
173
|
WebURLConfigPanelComponent,
|
|
156
174
|
ViewConfigPanelComponent,
|
|
157
175
|
QueryConfigPanelComponent,
|
|
158
176
|
ArtifactConfigPanelComponent,
|
|
177
|
+
ComponentConfigPanelComponent,
|
|
159
178
|
// Runtime Part Components (pluggable renderers)
|
|
160
179
|
// These are registered with @RegisterClass and loaded dynamically via ClassFactory
|
|
161
180
|
WebURLPartComponent,
|
|
162
181
|
ViewPartComponent,
|
|
163
182
|
QueryPartComponent,
|
|
164
|
-
ArtifactPartComponent
|
|
183
|
+
ArtifactPartComponent,
|
|
184
|
+
ComponentPartComponent], imports: [CommonModule,
|
|
165
185
|
FormsModule,
|
|
166
186
|
SharedGenericModule,
|
|
167
187
|
NgTreesModule,
|
|
168
188
|
EntityViewerModule,
|
|
169
189
|
QueryViewerModule,
|
|
170
190
|
ArtifactsModule,
|
|
191
|
+
MJReactModule,
|
|
171
192
|
MJEmptyStateComponent,
|
|
172
193
|
MJAccordionModule,
|
|
173
194
|
MJDialogComponent,
|
|
@@ -188,14 +209,18 @@ export class DashboardViewerModule {
|
|
|
188
209
|
AddPanelDialogComponent,
|
|
189
210
|
EditPartDialogComponent,
|
|
190
211
|
ConfirmDialogComponent,
|
|
212
|
+
DashboardPropertiesDialogComponent,
|
|
213
|
+
PropertyDefaultEditorComponent,
|
|
191
214
|
// Config Panels - exported for potential direct use
|
|
192
215
|
WebURLConfigPanelComponent,
|
|
193
216
|
ViewConfigPanelComponent,
|
|
194
217
|
QueryConfigPanelComponent,
|
|
195
218
|
ArtifactConfigPanelComponent,
|
|
219
|
+
ComponentConfigPanelComponent,
|
|
196
220
|
// Runtime Part Components - exported for potential direct use
|
|
197
221
|
WebURLPartComponent,
|
|
198
222
|
ViewPartComponent,
|
|
199
223
|
QueryPartComponent,
|
|
200
|
-
ArtifactPartComponent
|
|
224
|
+
ArtifactPartComponent,
|
|
225
|
+
ComponentPartComponent] }); })();
|
|
201
226
|
//# sourceMappingURL=dashboard-viewer.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-viewer.module.js","sourceRoot":"","sources":["../../src/lib/dashboard-viewer.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,uBAAuB;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,sCAAsC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qEAAqE;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,+CAA+C;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,qDAAqD;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,iGAAiG;AACjG,gDAAgD;AAChD,OAAO,EACH,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACx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,qBAAqB;iBACxB;aACJ;;wFACY,qBAAqB;QArF1B,iBAAiB;QACjB,wBAAwB;QAExB,8BAA8B;QAC9B,yBAAyB;QAEzB,uBAAuB;QACvB,4BAA4B;QAE5B,mFAAmF;QACnF,+BAA+B;QAC/B,mCAAmC;QAEnC,iBAAiB;QACjB,sBAAsB;QAEtB,kBAAkB;QAClB,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,sBAAsB;QAEtB,4CAA4C;QAC5C,mFAAmF;QACnF,0BAA0B;QAC1B,wBAAwB;QACxB,yBAAyB;QACzB,4BAA4B;QAE5B,gDAAgD;QAChD,mFAAmF;QACnF,mBAAmB;QACnB,iBAAiB;QACjB,kBAAkB;QAClB,qBAAqB,aAGrB,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,aAAa;QACb,kBAAkB;QAClB,iBAAiB;QACjB,eAAe;QACf,qBAAqB;QACrB,iBAAiB;QACjB,iBAAiB;QACjB,wBAAwB;QACxB,iBAAiB;QAGjB,iBAAiB;QACjB,wBAAwB;QAExB,8BAA8B;QAC9B,yBAAyB;QAEzB,uBAAuB;QACvB,4BAA4B;QAE5B,iBAAiB;QACjB,+BAA+B;QAE/B,iBAAiB;QACjB,sBAAsB;QAEtB,kBAAkB;QAClB,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,sBAAsB;QAEtB,oDAAoD;QACpD,0BAA0B;QAC1B,wBAAwB;QACxB,yBAAyB;QACzB,4BAA4B;QAE5B,8DAA8D;QAC9D,mBAAmB;QACnB,iBAAiB;QACjB,kBAAkB;QAClB,qBAAqB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\n// MJ Shared Components\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\n\n// MJ Trees for hierarchical selection\nimport { NgTreesModule } from '@memberjunction/ng-trees';\n\n// MJ Entity Viewer for displaying entity data in grid/cards/timeline\nimport { EntityViewerModule } from '@memberjunction/ng-entity-viewer';\n\n// MJ Query Viewer for displaying query results\nimport { QueryViewerModule } from '@memberjunction/ng-query-viewer';\n\n// MJ Artifacts for displaying conversation artifacts\nimport { ArtifactsModule } from '@memberjunction/ng-artifacts';\n\n// MJ UI Components for the canonical empty-state placeholder, collapsible config-panel sections,\n// and the dialog and buttons of the part dialog\nimport {\n MJEmptyStateComponent,\n MJAccordionModule,\n MJDialogComponent,\n MJDialogActionsComponent,\n MJButtonDirective\n} from '@memberjunction/ng-ui-components';\n\n// Main Component\nimport { DashboardViewerComponent } from './dashboard-viewer/dashboard-viewer.component';\n\n// Dialogs\nimport { DashboardPartDialogComponent } from './dialogs/part-dialog/dashboard-part-dialog.component';\nimport { AddPanelDialogComponent } from './dialogs/add-panel-dialog/add-panel-dialog.component';\nimport { EditPartDialogComponent } from './dialogs/edit-part-dialog/edit-part-dialog.component';\n\n// Confirm Dialog (generic utility)\nimport { ConfirmDialogComponent } from './config-dialogs/confirm-dialog.component';\n\n// Config Panels (pluggable form components for each part type)\nimport { WebURLConfigPanelComponent } from './config-panels/weburl-config-panel.component';\nimport { ViewConfigPanelComponent } from './config-panels/view-config-panel.component';\nimport { QueryConfigPanelComponent } from './config-panels/query-config-panel.component';\nimport { ArtifactConfigPanelComponent } from './config-panels/artifact-config-panel.component';\n\n// Runtime Part Components (pluggable renderers for each part type)\nimport { WebURLPartComponent } from './parts/weburl-part.component';\nimport { ViewPartComponent } from './parts/view-part.component';\nimport { QueryPartComponent } from './parts/query-part.component';\nimport { ArtifactPartComponent } from './parts/artifact-part.component';\n\n// Dashboard Browser Component (generic, no routing dependencies)\nimport { DashboardBrowserComponent } from './dashboard-browser/dashboard-browser.component';\n\n// Breadcrumb Component (reusable navigation component)\nimport { DashboardBreadcrumbComponent } from './breadcrumb/dashboard-breadcrumb.component';\n\n// Layout Preview (a miniature of a saved dashboard layout, for dashboard cards)\nimport { DashboardLayoutPreviewComponent } from './layout-preview/dashboard-layout-preview.component';\nimport { DashboardLayoutPreviewNodeComponent } from './layout-preview/dashboard-layout-preview-node.component';\n\n// Dashboard Card (one dashboard: picture, name, owner, Shared marker, favorite star)\nimport { DashboardCardComponent } from './dashboard-card/dashboard-card.component';\n\n@NgModule({\n declarations: [\n // Main Component\n DashboardViewerComponent,\n\n // Dashboard Browser Component\n DashboardBrowserComponent,\n\n // Breadcrumb Component\n DashboardBreadcrumbComponent,\n\n // Layout Preview (the node component draws the preview's rows, columns and panels)\n DashboardLayoutPreviewComponent,\n DashboardLayoutPreviewNodeComponent,\n\n // Dashboard Card\n DashboardCardComponent,\n\n // Generic Dialogs\n DashboardPartDialogComponent,\n AddPanelDialogComponent,\n EditPartDialogComponent,\n ConfirmDialogComponent,\n\n // Config Panels (pluggable form components)\n // These are registered with @RegisterClass and loaded dynamically via ClassFactory\n WebURLConfigPanelComponent,\n ViewConfigPanelComponent,\n QueryConfigPanelComponent,\n ArtifactConfigPanelComponent,\n\n // Runtime Part Components (pluggable renderers)\n // These are registered with @RegisterClass and loaded dynamically via ClassFactory\n WebURLPartComponent,\n ViewPartComponent,\n QueryPartComponent,\n ArtifactPartComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n SharedGenericModule,\n NgTreesModule,\n EntityViewerModule,\n QueryViewerModule,\n ArtifactsModule,\n MJEmptyStateComponent,\n MJAccordionModule,\n MJDialogComponent,\n MJDialogActionsComponent,\n MJButtonDirective\n ],\n exports: [\n // Main Component\n DashboardViewerComponent,\n\n // Dashboard Browser Component\n DashboardBrowserComponent,\n\n // Breadcrumb Component\n DashboardBreadcrumbComponent,\n\n // Layout Preview\n DashboardLayoutPreviewComponent,\n\n // Dashboard Card\n DashboardCardComponent,\n\n // Generic Dialogs\n DashboardPartDialogComponent,\n AddPanelDialogComponent,\n EditPartDialogComponent,\n ConfirmDialogComponent,\n\n // Config Panels - exported for potential direct use\n WebURLConfigPanelComponent,\n ViewConfigPanelComponent,\n QueryConfigPanelComponent,\n ArtifactConfigPanelComponent,\n\n // Runtime Part Components - exported for potential direct use\n WebURLPartComponent,\n ViewPartComponent,\n QueryPartComponent,\n ArtifactPartComponent\n ]\n})\nexport class DashboardViewerModule { }\n"]}
|
|
1
|
+
{"version":3,"file":"dashboard-viewer.module.js","sourceRoot":"","sources":["../../src/lib/dashboard-viewer.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,uBAAuB;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,sCAAsC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qEAAqE;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,+CAA+C;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,qDAAqD;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,gDAAgD;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,iGAAiG;AACjG,gDAAgD;AAChD,OAAO,EACH,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EACpB,MAAM,kCAAkC,CAAC;AAE1C,iBAAiB;AACjB,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,UAAU;AACV,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,kCAAkC,EAAE,MAAM,mEAAmE,CAAC;AACvH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qEAAqE,C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;aACJ;;wFACY,qBAAqB;QA9F1B,iBAAiB;QACjB,wBAAwB;QAExB,8BAA8B;QAC9B,yBAAyB;QAEzB,uBAAuB;QACvB,4BAA4B;QAE5B,mFAAmF;QACnF,+BAA+B;QAC/B,mCAAmC;QAEnC,iBAAiB;QACjB,sBAAsB;QAEtB,kBAAkB;QAClB,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,sBAAsB;QACtB,kCAAkC;QAClC,8BAA8B;QAE9B,4CAA4C;QAC5C,mFAAmF;QACnF,0BAA0B;QAC1B,wBAAwB;QACxB,yBAAyB;QACzB,4BAA4B;QAC5B,6BAA6B;QAE7B,gDAAgD;QAChD,mFAAmF;QACnF,mBAAmB;QACnB,iBAAiB;QACjB,kBAAkB;QAClB,qBAAqB;QACrB,sBAAsB,aAGtB,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,aAAa;QACb,kBAAkB;QAClB,iBAAiB;QACjB,eAAe;QACf,aAAa;QACb,qBAAqB;QACrB,iBAAiB;QACjB,iBAAiB;QACjB,wBAAwB;QACxB,iBAAiB;QAGjB,iBAAiB;QACjB,wBAAwB;QAExB,8BAA8B;QAC9B,yBAAyB;QAEzB,uBAAuB;QACvB,4BAA4B;QAE5B,iBAAiB;QACjB,+BAA+B;QAE/B,iBAAiB;QACjB,sBAAsB;QAEtB,kBAAkB;QAClB,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,sBAAsB;QACtB,kCAAkC;QAClC,8BAA8B;QAE9B,oDAAoD;QACpD,0BAA0B;QAC1B,wBAAwB;QACxB,yBAAyB;QACzB,4BAA4B;QAC5B,6BAA6B;QAE7B,8DAA8D;QAC9D,mBAAmB;QACnB,iBAAiB;QACjB,kBAAkB;QAClB,qBAAqB;QACrB,sBAAsB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\n// MJ Shared Components\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\n\n// MJ Trees for hierarchical selection\nimport { NgTreesModule } from '@memberjunction/ng-trees';\n\n// MJ Entity Viewer for displaying entity data in grid/cards/timeline\nimport { EntityViewerModule } from '@memberjunction/ng-entity-viewer';\n\n// MJ Query Viewer for displaying query results\nimport { QueryViewerModule } from '@memberjunction/ng-query-viewer';\n\n// MJ Artifacts for displaying conversation artifacts\nimport { ArtifactsModule } from '@memberjunction/ng-artifacts';\n\n// MJ React host for Interactive Component parts\nimport { MJReactModule } from '@memberjunction/ng-react';\n\n// MJ UI Components for the canonical empty-state placeholder, collapsible config-panel sections,\n// and the dialog and buttons of the part dialog\nimport {\n MJEmptyStateComponent,\n MJAccordionModule,\n MJDialogComponent,\n MJDialogActionsComponent,\n MJButtonDirective\n} from '@memberjunction/ng-ui-components';\n\n// Main Component\nimport { DashboardViewerComponent } from './dashboard-viewer/dashboard-viewer.component';\n\n// Dialogs\nimport { DashboardPartDialogComponent } from './dialogs/part-dialog/dashboard-part-dialog.component';\nimport { AddPanelDialogComponent } from './dialogs/add-panel-dialog/add-panel-dialog.component';\nimport { EditPartDialogComponent } from './dialogs/edit-part-dialog/edit-part-dialog.component';\nimport { DashboardPropertiesDialogComponent } from './dialogs/properties-dialog/dashboard-properties-dialog.component';\nimport { PropertyDefaultEditorComponent } from './dialogs/property-default-editor/property-default-editor.component';\n\n// Confirm Dialog (generic utility)\nimport { ConfirmDialogComponent } from './config-dialogs/confirm-dialog.component';\n\n// Config Panels (pluggable form components for each part type)\nimport { WebURLConfigPanelComponent } from './config-panels/weburl-config-panel.component';\nimport { ViewConfigPanelComponent } from './config-panels/view-config-panel.component';\nimport { QueryConfigPanelComponent } from './config-panels/query-config-panel.component';\nimport { ArtifactConfigPanelComponent } from './config-panels/artifact-config-panel.component';\nimport { ComponentConfigPanelComponent } from './config-panels/component-config-panel.component';\n\n// Runtime Part Components (pluggable renderers for each part type)\nimport { WebURLPartComponent } from './parts/weburl-part.component';\nimport { ViewPartComponent } from './parts/view-part.component';\nimport { QueryPartComponent } from './parts/query-part.component';\nimport { ArtifactPartComponent } from './parts/artifact-part.component';\nimport { ComponentPartComponent } from './parts/component-part.component';\n\n// Dashboard Browser Component (generic, no routing dependencies)\nimport { DashboardBrowserComponent } from './dashboard-browser/dashboard-browser.component';\n\n// Breadcrumb Component (reusable navigation component)\nimport { DashboardBreadcrumbComponent } from './breadcrumb/dashboard-breadcrumb.component';\n\n// Layout Preview (a miniature of a saved dashboard layout, for dashboard cards)\nimport { DashboardLayoutPreviewComponent } from './layout-preview/dashboard-layout-preview.component';\nimport { DashboardLayoutPreviewNodeComponent } from './layout-preview/dashboard-layout-preview-node.component';\n\n// Dashboard Card (one dashboard: picture, name, owner, Shared marker, favorite star)\nimport { DashboardCardComponent } from './dashboard-card/dashboard-card.component';\n\n@NgModule({\n declarations: [\n // Main Component\n DashboardViewerComponent,\n\n // Dashboard Browser Component\n DashboardBrowserComponent,\n\n // Breadcrumb Component\n DashboardBreadcrumbComponent,\n\n // Layout Preview (the node component draws the preview's rows, columns and panels)\n DashboardLayoutPreviewComponent,\n DashboardLayoutPreviewNodeComponent,\n\n // Dashboard Card\n DashboardCardComponent,\n\n // Generic Dialogs\n DashboardPartDialogComponent,\n AddPanelDialogComponent,\n EditPartDialogComponent,\n ConfirmDialogComponent,\n DashboardPropertiesDialogComponent,\n PropertyDefaultEditorComponent,\n\n // Config Panels (pluggable form components)\n // These are registered with @RegisterClass and loaded dynamically via ClassFactory\n WebURLConfigPanelComponent,\n ViewConfigPanelComponent,\n QueryConfigPanelComponent,\n ArtifactConfigPanelComponent,\n ComponentConfigPanelComponent,\n\n // Runtime Part Components (pluggable renderers)\n // These are registered with @RegisterClass and loaded dynamically via ClassFactory\n WebURLPartComponent,\n ViewPartComponent,\n QueryPartComponent,\n ArtifactPartComponent,\n ComponentPartComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n SharedGenericModule,\n NgTreesModule,\n EntityViewerModule,\n QueryViewerModule,\n ArtifactsModule,\n MJReactModule,\n MJEmptyStateComponent,\n MJAccordionModule,\n MJDialogComponent,\n MJDialogActionsComponent,\n MJButtonDirective\n ],\n exports: [\n // Main Component\n DashboardViewerComponent,\n\n // Dashboard Browser Component\n DashboardBrowserComponent,\n\n // Breadcrumb Component\n DashboardBreadcrumbComponent,\n\n // Layout Preview\n DashboardLayoutPreviewComponent,\n\n // Dashboard Card\n DashboardCardComponent,\n\n // Generic Dialogs\n DashboardPartDialogComponent,\n AddPanelDialogComponent,\n EditPartDialogComponent,\n ConfirmDialogComponent,\n DashboardPropertiesDialogComponent,\n PropertyDefaultEditorComponent,\n\n // Config Panels - exported for potential direct use\n WebURLConfigPanelComponent,\n ViewConfigPanelComponent,\n QueryConfigPanelComponent,\n ArtifactConfigPanelComponent,\n ComponentConfigPanelComponent,\n\n // Runtime Part Components - exported for potential direct use\n WebURLPartComponent,\n ViewPartComponent,\n QueryPartComponent,\n ArtifactPartComponent,\n ComponentPartComponent\n ]\n})\nexport class DashboardViewerModule { }\n"]}
|
|
@@ -3,6 +3,9 @@ import { MJDashboardPartTypeEntity } from '@memberjunction/core-entities';
|
|
|
3
3
|
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
|
|
4
4
|
import { PanelConfig, DashboardPanel } from '../../models/dashboard-types';
|
|
5
5
|
import { ConfigPanelResult } from '../../config-panels/base-config-panel';
|
|
6
|
+
import type { PropertyDefault } from '@memberjunction/core';
|
|
7
|
+
import { DashboardProperty } from '../../models/dashboard-properties';
|
|
8
|
+
import { PartInputRow, PartInputsEditor } from '../../models/part-inputs-editor';
|
|
6
9
|
import * as i0 from "@angular/core";
|
|
7
10
|
/** Whether the part dialog adds a new part or edits an existing one. */
|
|
8
11
|
export type DashboardPartDialogMode = 'add' | 'edit';
|
|
@@ -41,6 +44,8 @@ export declare class DashboardPartDialogComponent extends BaseAngularComponent i
|
|
|
41
44
|
PartTypes: MJDashboardPartTypeEntity[];
|
|
42
45
|
/** The part to edit in edit mode. Its part type is the one in {@link PartTypes} with its `partTypeId`. */
|
|
43
46
|
Panel: DashboardPanel | null;
|
|
47
|
+
/** The dashboard's properties, which the Inputs list maps onto the part's inputs. */
|
|
48
|
+
DashboardProperties: DashboardProperty[];
|
|
44
49
|
/** Emitted on Add part or Apply with the part type, config, title and icon of the part. */
|
|
45
50
|
Saved: EventEmitter<DashboardPartDialogResult>;
|
|
46
51
|
/** Emitted on Cancel, and when the user closes the dialog with Escape, the backdrop or the close button. */
|
|
@@ -65,6 +70,14 @@ export declare class DashboardPartDialogComponent extends BaseAngularComponent i
|
|
|
65
70
|
LoadError: string | null;
|
|
66
71
|
/** The settings panel's validation errors from the last Add part or Apply. */
|
|
67
72
|
Errors: string[];
|
|
73
|
+
/** The part's Inputs list, once its declared inputs are loaded. Null before then, or when they couldn't load. */
|
|
74
|
+
InputsEditor: PartInputsEditor | null;
|
|
75
|
+
/** True while the part's declared inputs load. */
|
|
76
|
+
IsLoadingInputs: boolean;
|
|
77
|
+
/** Why the part's declared inputs couldn't load; its mappings are then kept as they are. */
|
|
78
|
+
InputsLoadError: string | null;
|
|
79
|
+
private inputsSignature;
|
|
80
|
+
private inputsLoadCount;
|
|
68
81
|
private configPanelRef;
|
|
69
82
|
private configChangedSubscription;
|
|
70
83
|
/** The last result the settings panel reported. */
|
|
@@ -106,6 +119,13 @@ export declare class DashboardPartDialogComponent extends BaseAngularComponent i
|
|
|
106
119
|
SelectPartType(partType: MJDashboardPartTypeEntity): void;
|
|
107
120
|
/** Takes a change from the settings panel: its latest result and the name of its source. */
|
|
108
121
|
OnConfigChanged(result: ConfigPanelResult): void;
|
|
122
|
+
/** True when the Inputs list has something to show. */
|
|
123
|
+
get HasInputs(): boolean;
|
|
124
|
+
/** The property names an input row offers: the compatible properties, plus its current one if that isn't. */
|
|
125
|
+
PropertyChoices(row: PartInputRow): string[];
|
|
126
|
+
SetInputProperty(row: PartInputRow, property: string): void;
|
|
127
|
+
SetInputDefault(row: PartInputRow, value: PropertyDefault | undefined): void;
|
|
128
|
+
RemoveOrphan(index: number): void;
|
|
109
129
|
/**
|
|
110
130
|
* Emits {@link Saved}, or shows the settings panel's errors when its source is not valid.
|
|
111
131
|
* The config is the settings panel's config. Without a panel it names only the part type
|
|
@@ -117,6 +137,20 @@ export declare class DashboardPartDialogComponent extends BaseAngularComponent i
|
|
|
117
137
|
ngOnDestroy(): void;
|
|
118
138
|
/** Starts from the inputs: a new part with the first tile chosen, or the edited part. */
|
|
119
139
|
private open;
|
|
140
|
+
/** Shows what is wrong with the Inputs list and returns true, or returns false when nothing is. */
|
|
141
|
+
private refuseInputProblems;
|
|
142
|
+
/**
|
|
143
|
+
* Writes the Inputs list into the config. No mappings: the key is removed, so a part without them
|
|
144
|
+
* saves exactly as before. When the part's inputs couldn't load, its mappings are kept as they were.
|
|
145
|
+
*/
|
|
146
|
+
private applyInputMappings;
|
|
147
|
+
/**
|
|
148
|
+
* Loads the inputs the part declares for its source, when the source changed. The current
|
|
149
|
+
* mappings carry over; those to inputs the new source doesn't declare are listed as broken.
|
|
150
|
+
*/
|
|
151
|
+
private refreshInputs;
|
|
152
|
+
/** Drops the Inputs list and any load of it. */
|
|
153
|
+
private resetInputs;
|
|
120
154
|
/** Removes the settings panel and drops a load that is still running. */
|
|
121
155
|
private close;
|
|
122
156
|
/** The part type of the edited part, from {@link PartTypes}. */
|
|
@@ -142,6 +176,6 @@ export declare class DashboardPartDialogComponent extends BaseAngularComponent i
|
|
|
142
176
|
private configDialogClassOf;
|
|
143
177
|
private destroyConfigPanel;
|
|
144
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPartDialogComponent, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPartDialogComponent, "mj-dashboard-part-dialog", never, { "Visible": { "alias": "Visible"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "PartTypes": { "alias": "PartTypes"; "required": false; }; "Panel": { "alias": "Panel"; "required": false; }; }, { "Saved": "Saved"; "Cancelled": "Cancelled"; }, never, never, false, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPartDialogComponent, "mj-dashboard-part-dialog", never, { "Visible": { "alias": "Visible"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "PartTypes": { "alias": "PartTypes"; "required": false; }; "Panel": { "alias": "Panel"; "required": false; }; "DashboardProperties": { "alias": "DashboardProperties"; "required": false; }; }, { "Saved": "Saved"; "Cancelled": "Cancelled"; }, never, never, false, never>;
|
|
146
180
|
}
|
|
147
181
|
//# sourceMappingURL=dashboard-part-dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-part-dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/dialogs/part-dialog/dashboard-part-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAKZ,SAAS,EAEZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAmB,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;;
|
|
1
|
+
{"version":3,"file":"dashboard-part-dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/dialogs/part-dialog/dashboard-part-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAKZ,SAAS,EAEZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAmB,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CA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