@memberjunction/ng-explorer-core 2.32.2 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +179 -0
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts.map +1 -1
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js +21 -2
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts +3 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +66 -28
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts +6 -0
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js +126 -70
- package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
- package/package.json +24 -24
package/README.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# @memberjunction/ng-explorer-core
|
|
2
|
+
|
|
3
|
+
The `@memberjunction/ng-explorer-core` package provides the core components and infrastructure for the MemberJunction Explorer application. It serves as the foundation for building a complete data exploration and management interface based on MemberJunction entities.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Resource container architecture for dynamic loading of components
|
|
8
|
+
- Navigation and browsing components for entity records, reports, dashboards, and queries
|
|
9
|
+
- Resource wrapper components that facilitate consistent display of different resource types
|
|
10
|
+
- Header, navigation, and UI structure components
|
|
11
|
+
- Authentication and user profile components
|
|
12
|
+
- Home screen and application components
|
|
13
|
+
- Dashboard builder and viewer components
|
|
14
|
+
- Form toolbar and common UI patterns
|
|
15
|
+
- Integration with MemberJunction's metadata system
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install @memberjunction/ng-explorer-core
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Requirements
|
|
24
|
+
|
|
25
|
+
- Angular 18+
|
|
26
|
+
- MemberJunction core libraries (@memberjunction/core, @memberjunction/core-entities)
|
|
27
|
+
- Various MemberJunction UI components
|
|
28
|
+
- Kendo UI Angular components
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
### Basic Setup
|
|
33
|
+
|
|
34
|
+
Import the ExplorerCoreModule in your application module:
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { ExplorerCoreModule } from '@memberjunction/ng-explorer-core';
|
|
38
|
+
|
|
39
|
+
@NgModule({
|
|
40
|
+
imports: [
|
|
41
|
+
// other imports...
|
|
42
|
+
ExplorerCoreModule
|
|
43
|
+
],
|
|
44
|
+
})
|
|
45
|
+
export class AppModule { }
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Resource Container Architecture
|
|
49
|
+
|
|
50
|
+
The core of the Explorer is built on a resource container architecture that dynamically loads components based on resource type:
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<mj-resource
|
|
54
|
+
[Data]="resourceData"
|
|
55
|
+
[isVisible]="activeResourceId === resourceData.ID"
|
|
56
|
+
(ResourceRecordSaved)="handleResourceSaved($event)"
|
|
57
|
+
(ContentLoadingStarted)="handleLoadingStarted($event)"
|
|
58
|
+
(ContentLoadingComplete)="handleLoadingComplete($event)">
|
|
59
|
+
</mj-resource>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Where resourceData is a ResourceData object that includes configuration for loading the appropriate component.
|
|
63
|
+
|
|
64
|
+
### Navigation Component
|
|
65
|
+
|
|
66
|
+
The navigation component provides the main menu structure:
|
|
67
|
+
|
|
68
|
+
```html
|
|
69
|
+
<mj-navigation
|
|
70
|
+
[selectedItem]="currentNavigationItem"
|
|
71
|
+
(itemSelected)="handleNavigationItemSelected($event)">
|
|
72
|
+
</mj-navigation>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Home Component
|
|
76
|
+
|
|
77
|
+
The home component serves as the landing page for the application:
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<mj-home></mj-home>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Entity and Record Management
|
|
84
|
+
|
|
85
|
+
For displaying and managing entity records:
|
|
86
|
+
|
|
87
|
+
```html
|
|
88
|
+
<mj-single-entity [entityName]="entityName"></mj-single-entity>
|
|
89
|
+
<mj-single-record [entityName]="entityName" [PrimaryKey]="recordKey"></mj-single-record>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Dashboard Components
|
|
93
|
+
|
|
94
|
+
For displaying and managing dashboards:
|
|
95
|
+
|
|
96
|
+
```html
|
|
97
|
+
<mj-single-dashboard [dashboardId]="dashboardId"></mj-single-dashboard>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Architecture
|
|
101
|
+
|
|
102
|
+
### Resource Wrappers
|
|
103
|
+
|
|
104
|
+
The Explorer is built on a resource wrapper pattern where different types of content (records, reports, dashboards, etc.) are wrapped in specialized components that handle their specific requirements:
|
|
105
|
+
|
|
106
|
+
- `EntityRecordResource` - For displaying and editing entity records
|
|
107
|
+
- `ReportResource` - For displaying and managing reports
|
|
108
|
+
- `DashboardResource` - For displaying dashboards
|
|
109
|
+
- `QueryResource` - For displaying query results
|
|
110
|
+
- `SearchResultsResource` - For displaying search results
|
|
111
|
+
- `UserViewResource` - For displaying custom user views
|
|
112
|
+
- `ListDetailResource` - For displaying list-detail interfaces
|
|
113
|
+
|
|
114
|
+
### Component Registration
|
|
115
|
+
|
|
116
|
+
Components register themselves with MemberJunction's class factory system:
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
@RegisterClass(BaseResourceComponent, 'ResourceType')
|
|
120
|
+
@Component({
|
|
121
|
+
selector: 'mj-example-resource',
|
|
122
|
+
template: `...`
|
|
123
|
+
})
|
|
124
|
+
export class ExampleResource extends BaseResourceComponent {
|
|
125
|
+
// Component implementation
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
This allows the `ResourceContainerComponent` to dynamically load the appropriate component based on the resource type.
|
|
130
|
+
|
|
131
|
+
## Key Components
|
|
132
|
+
|
|
133
|
+
### Resource Container
|
|
134
|
+
|
|
135
|
+
The `ResourceContainerComponent` is the core of the dynamic loading system, using Angular's ViewContainerRef to create components at runtime.
|
|
136
|
+
|
|
137
|
+
### Form Toolbar
|
|
138
|
+
|
|
139
|
+
The `FormToolbarComponent` provides a consistent interface for form actions like save, delete, and cancel.
|
|
140
|
+
|
|
141
|
+
### Home Component
|
|
142
|
+
|
|
143
|
+
The `HomeComponent` serves as the landing page for the application, displaying navigation items marked for home screen display.
|
|
144
|
+
|
|
145
|
+
### Navigation Component
|
|
146
|
+
|
|
147
|
+
The `NavigationComponent` provides the main menu structure based on the Explorer navigation items defined in the metadata.
|
|
148
|
+
|
|
149
|
+
### Single Entity/Record Components
|
|
150
|
+
|
|
151
|
+
These components display entity lists and individual records, handling all CRUD operations.
|
|
152
|
+
|
|
153
|
+
### Dashboard Components
|
|
154
|
+
|
|
155
|
+
Components for creating, editing, and viewing dashboards with support for multiple dashboard items.
|
|
156
|
+
|
|
157
|
+
## Integration
|
|
158
|
+
|
|
159
|
+
This package integrates with many other MemberJunction packages including:
|
|
160
|
+
|
|
161
|
+
- Auth services for authentication
|
|
162
|
+
- Container directives for layout management
|
|
163
|
+
- Entity permissions for access control
|
|
164
|
+
- File storage for document management
|
|
165
|
+
- Record changes for audit trail
|
|
166
|
+
- User view grid for data display
|
|
167
|
+
- Skip Chat for AI integration
|
|
168
|
+
|
|
169
|
+
## Dependencies
|
|
170
|
+
|
|
171
|
+
- @angular/common
|
|
172
|
+
- @angular/core
|
|
173
|
+
- @angular/forms
|
|
174
|
+
- @angular/router
|
|
175
|
+
- @memberjunction/global
|
|
176
|
+
- @memberjunction/core
|
|
177
|
+
- @memberjunction/core-entities
|
|
178
|
+
- Various MemberJunction UI component packages
|
|
179
|
+
- Kendo UI Angular components
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-browser.component.d.ts","sourceRoot":"","sources":["../../../src/lib/dashboard-browser-component/dashboard-browser.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAA2B,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,IAAI,EAAY,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAA+B,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;;AAE1F,qBAMa,yBAA0B,SAAQ,oBAAoB;
|
|
1
|
+
{"version":3,"file":"dashboard-browser.component.d.ts","sourceRoot":"","sources":["../../../src/lib/dashboard-browser-component/dashboard-browser.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAA2B,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,IAAI,EAAY,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAA+B,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;;AAE1F,qBAMa,yBAA0B,SAAQ,oBAAoB;IA2BrD,OAAO,CAAC,MAAM;IAAU,OAAO,CAAC,KAAK;IAAkB,OAAO,CAAC,aAAa;IAzBjD,eAAe,EAAE,wBAAwB,GAAG,IAAI,CAAQ;IAExF,4BAA4B,EAAE,OAAO,CAAS;IAC9C,mBAAmB,EAAE,MAAM,CAAM;IACjC,0BAA0B,EAAE,MAAM,CAAM;IACxC,iBAAiB,EAAE,eAAe,GAAG,IAAI,CAAQ;IAEjD,cAAc,EAAE,aAAa,EAAE,CAgBjC;gBAEe,MAAM,EAAE,MAAM,EAAU,KAAK,EAAE,cAAc,EAAU,aAAa,EAAE,aAAa;IAajG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAQxB,WAAW,CAAC,IAAI,EAAE,IAAI;IAYhB,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC;IAsB7C,uBAAuB,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI;IAS3D,2BAA2B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAc7C,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAiChC,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAyBtC,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI/C,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;yCAvKlD,yBAAyB;2CAAzB,yBAAyB;CA0KrC"}
|
|
@@ -88,7 +88,16 @@ let DashboardBrowserComponent = class DashboardBrowserComponent extends BaseBrow
|
|
|
88
88
|
Description: 'Create a new Dashboard',
|
|
89
89
|
Icon: 'dashboard',
|
|
90
90
|
Action: () => {
|
|
91
|
+
// Initialize a new dashboard entity for creation
|
|
92
|
+
const md = new Metadata();
|
|
93
|
+
this.selectedDashboard = null; // Reset any existing selection
|
|
91
94
|
this.toggleUpsertDashboardDialog(true);
|
|
95
|
+
// Set focus on the name input field when dialog opens
|
|
96
|
+
setTimeout(() => {
|
|
97
|
+
const inputElement = document.querySelector('.dashboard-name-input input');
|
|
98
|
+
if (inputElement)
|
|
99
|
+
inputElement.focus();
|
|
100
|
+
}, 100);
|
|
92
101
|
}
|
|
93
102
|
}
|
|
94
103
|
];
|
|
@@ -163,6 +172,11 @@ let DashboardBrowserComponent = class DashboardBrowserComponent extends BaseBrow
|
|
|
163
172
|
}
|
|
164
173
|
createDashboard() {
|
|
165
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
// Validate input
|
|
176
|
+
if (!this.upsertDashboardName || this.upsertDashboardName.trim() === '') {
|
|
177
|
+
this.sharedService.CreateSimpleNotification('Dashboard name is required', 'warning', 2500);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
166
180
|
const md = new Metadata();
|
|
167
181
|
const dashboard = yield md.GetEntityObject("Dashboards");
|
|
168
182
|
dashboard.NewRecord();
|
|
@@ -176,6 +190,11 @@ let DashboardBrowserComponent = class DashboardBrowserComponent extends BaseBrow
|
|
|
176
190
|
this.toggleUpsertDashboardDialog(false);
|
|
177
191
|
return;
|
|
178
192
|
}
|
|
193
|
+
// Close the dialog
|
|
194
|
+
this.toggleUpsertDashboardDialog(false);
|
|
195
|
+
// Show success notification
|
|
196
|
+
this.sharedService.CreateSimpleNotification(`Dashboard "${dashboard.Name}" created successfully`, "success", 2000);
|
|
197
|
+
// Navigate to the new dashboard
|
|
179
198
|
this.router.navigate(['resource', this.routeNameSingular, dashboard.ID]);
|
|
180
199
|
});
|
|
181
200
|
}
|
|
@@ -214,7 +233,7 @@ DashboardBrowserComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: D
|
|
|
214
233
|
} if (rf & 2) {
|
|
215
234
|
let _t;
|
|
216
235
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.resourceBrowser = _t.first);
|
|
217
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 4, consts: [["resourceBrowserDashboard", ""], ["ResourceTypeName", "Dashboards", "Title", "Dashboards", "DisplayMode", "Tile", 3, "ResourceSelected", "NavigateToParentEvent", "EditItemEvent", "EnableCategories", "CurrentCategoryID", "NewItemOptions"], ["class", "dialog-wrapper", 3, "title", "minWidth", "width", "close", 4, "ngIf"], [1, "dialog-wrapper", 3, "close", "title", "minWidth", "width"], [1, "search"], ["text", "Name"], ["placeholder", "Enter a name", 3, "valueChange", "value"], ["text", "Description"], ["placeholder", "Enter a Description", 3, "valueChange", "value"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click"]], template: function DashboardBrowserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
236
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 4, consts: [["resourceBrowserDashboard", ""], ["ResourceTypeName", "Dashboards", "Title", "Dashboards", "DisplayMode", "Tile", 3, "ResourceSelected", "NavigateToParentEvent", "EditItemEvent", "EnableCategories", "CurrentCategoryID", "NewItemOptions"], ["class", "dialog-wrapper", 3, "title", "minWidth", "width", "close", 4, "ngIf"], [1, "dialog-wrapper", 3, "close", "title", "minWidth", "width"], [1, "search"], ["text", "Name"], ["placeholder", "Enter a name", 1, "dashboard-name-input", 3, "valueChange", "value"], ["text", "Description"], ["placeholder", "Enter a Description", 3, "valueChange", "value"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click"]], template: function DashboardBrowserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
218
237
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
219
238
|
i0.ɵɵelementStart(0, "div")(1, "mj-resource-browser", 1, 0);
|
|
220
239
|
i0.ɵɵlistener("ResourceSelected", function DashboardBrowserComponent_Template_mj_resource_browser_ResourceSelected_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemClick($event)); })("NavigateToParentEvent", function DashboardBrowserComponent_Template_mj_resource_browser_NavigateToParentEvent_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.navigateToParentFolder()); })("EditItemEvent", function DashboardBrowserComponent_Template_mj_resource_browser_EditItemEvent_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBeforeUpdateItemEvent($event)); });
|
|
@@ -233,7 +252,7 @@ DashboardBrowserComponent = __decorate([
|
|
|
233
252
|
export { DashboardBrowserComponent };
|
|
234
253
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardBrowserComponent, [{
|
|
235
254
|
type: Component,
|
|
236
|
-
args: [{ selector: 'app-dashboard-browser', template: "<div>\n <mj-resource-browser\n #resourceBrowserDashboard\n ResourceTypeName=\"Dashboards\"\n [EnableCategories]=\"true\"\n [CurrentCategoryID]=\"selectedFolderID\"\n Title=\"Dashboards\"\n DisplayMode=\"Tile\"\n [NewItemOptions]=\"NewItemOptions\"\n (ResourceSelected)=\"onItemClick($event)\"\n (NavigateToParentEvent)=\"navigateToParentFolder()\"\n (EditItemEvent)=\"onBeforeUpdateItemEvent($event)\"\n />\n <kendo-dialog \n [title]=\"selectedDashboard ? 'Update Dashboard' : 'Create New Dashboard'\" \n *ngIf=\"upsertDashboardDialogVisible\" \n (close)=\"toggleUpsertDashboardDialog(false)\"\n [minWidth]=\"250\"\n [width]=\"450\"\n class=\"dialog-wrapper\"\n >\n <div class=\"search\">\n <kendo-label text=\"Name\">\n <kendo-textbox [value]=\"upsertDashboardName\" placeholder=\"Enter a name\" (valueChange)=\"onUpsertDashboardNameKeyup($event)\"/>\n </kendo-label>\n </div>\n <br>\n <div class=\"search\">\n <kendo-label text=\"Description\">\n <kendo-textbox [value]=\"upsertDashboardDescription\" placeholder=\"Enter a Description\" (valueChange)=\"onUpsertDashboardDescriptionKeyup($event)\"/>\n </kendo-label>\n </div>\n <kendo-dialog-actions class=\"popup-actions-btn\">\n @if(selectedDashboard){\n <button class=\"cancel-btn\" (click)=\"updateDashboard()\" kendoButton themeColor=\"info\">\n Update\n </button>\n }\n @else {\n <button class=\"cancel-btn\" (click)=\"createDashboard()\" kendoButton themeColor=\"info\">\n Create\n </button>\n }\n <button class=\"yes-btn\" (click)=\"toggleUpsertDashboardDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n</div>\n<!--\n<app-generic-browser-list \n title=\"Dashboards\" \n itemType=\"dashboard\" \n iconName=\"aggregateFields\" \n [items]=\"items\" \n [extraDropdownOptions]=\"extraDropdownOptions\"\n addText=\"Create New Dashboard\"\n ItemEntityName=\"Dashboards\"\n resourceName=\"Dashboard\"\n CategoryEntityName=\"Dashboard Categories\"\n (itemClickEvent)=\"itemClick($event)\" \n (AfterAddFolderEvent)=\"onEvent($event)\"\n (AfterAddItemEvent)=\"onEvent($event)\"\n (AfterDeleteItemEvent)=\"onEvent($event)\"\n (AfterDeleteFolderEvent)=\"onEvent($event)\"\n (BeforeUpdateItemEvent)=\"onBeforeUpdateItemEvent($event)\"\n [selectedFolderID]=\"selectedFolderID\"\n [showLoader]=\"showLoader\"\n [displayAsGrid]=\"displayAsGrid\"\n (viewModeChangeEvent)=\"onViewModeChange($event)\"\n/>\n-->", styles: ["\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
|
|
255
|
+
args: [{ selector: 'app-dashboard-browser', template: "<div>\n <mj-resource-browser\n #resourceBrowserDashboard\n ResourceTypeName=\"Dashboards\"\n [EnableCategories]=\"true\"\n [CurrentCategoryID]=\"selectedFolderID\"\n Title=\"Dashboards\"\n DisplayMode=\"Tile\"\n [NewItemOptions]=\"NewItemOptions\"\n (ResourceSelected)=\"onItemClick($event)\"\n (NavigateToParentEvent)=\"navigateToParentFolder()\"\n (EditItemEvent)=\"onBeforeUpdateItemEvent($event)\"\n />\n <kendo-dialog \n [title]=\"selectedDashboard ? 'Update Dashboard' : 'Create New Dashboard'\" \n *ngIf=\"upsertDashboardDialogVisible\" \n (close)=\"toggleUpsertDashboardDialog(false)\"\n [minWidth]=\"250\"\n [width]=\"450\"\n class=\"dialog-wrapper\"\n >\n <div class=\"search\">\n <kendo-label text=\"Name\">\n <kendo-textbox class=\"dashboard-name-input\" [value]=\"upsertDashboardName\" placeholder=\"Enter a name\" (valueChange)=\"onUpsertDashboardNameKeyup($event)\"/>\n </kendo-label>\n </div>\n <br>\n <div class=\"search\">\n <kendo-label text=\"Description\">\n <kendo-textbox [value]=\"upsertDashboardDescription\" placeholder=\"Enter a Description\" (valueChange)=\"onUpsertDashboardDescriptionKeyup($event)\"/>\n </kendo-label>\n </div>\n <kendo-dialog-actions class=\"popup-actions-btn\">\n @if(selectedDashboard){\n <button class=\"cancel-btn\" (click)=\"updateDashboard()\" kendoButton themeColor=\"info\">\n Update\n </button>\n }\n @else {\n <button class=\"cancel-btn\" (click)=\"createDashboard()\" kendoButton themeColor=\"info\">\n Create\n </button>\n }\n <button class=\"yes-btn\" (click)=\"toggleUpsertDashboardDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n</div>\n<!--\n<app-generic-browser-list \n title=\"Dashboards\" \n itemType=\"dashboard\" \n iconName=\"aggregateFields\" \n [items]=\"items\" \n [extraDropdownOptions]=\"extraDropdownOptions\"\n addText=\"Create New Dashboard\"\n ItemEntityName=\"Dashboards\"\n resourceName=\"Dashboard\"\n CategoryEntityName=\"Dashboard Categories\"\n (itemClickEvent)=\"itemClick($event)\" \n (AfterAddFolderEvent)=\"onEvent($event)\"\n (AfterAddItemEvent)=\"onEvent($event)\"\n (AfterDeleteItemEvent)=\"onEvent($event)\"\n (AfterDeleteFolderEvent)=\"onEvent($event)\"\n (BeforeUpdateItemEvent)=\"onBeforeUpdateItemEvent($event)\"\n [selectedFolderID]=\"selectedFolderID\"\n [showLoader]=\"showLoader\"\n [displayAsGrid]=\"displayAsGrid\"\n (viewModeChangeEvent)=\"onViewModeChange($event)\"\n/>\n-->", styles: ["\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
|
|
237
256
|
}], () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.SharedService }], { resourceBrowser: [{
|
|
238
257
|
type: ViewChild,
|
|
239
258
|
args: ['resourceBrowserDashboard']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-browser.component.js","sourceRoot":"","sources":["../../../src/lib/dashboard-browser-component/dashboard-browser.component.ts","../../../src/lib/dashboard-browser-component/dashboard-browser.component.html"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,uBAAuB,EAAiB,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAQ,QAAQ,EAAiB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAGxF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;IC0B3D,kCAAqF;IAA1D,6MAAS,wBAAiB,KAAC;IAClD,wBACJ;IAAA,iBAAS;;;;IAGT,kCAAqF;IAA1D,8MAAS,wBAAiB,KAAC;IAClD,wBACJ;IAAA,iBAAS;;;;IA5Bb,uCAOD;IAJC,oMAAS,mCAA4B,KAAK,CAAC,KAAC;IAO1C,AADF,AADF,8BAAoB,qBACO,
|
|
1
|
+
{"version":3,"file":"dashboard-browser.component.js","sourceRoot":"","sources":["../../../src/lib/dashboard-browser-component/dashboard-browser.component.ts","../../../src/lib/dashboard-browser-component/dashboard-browser.component.html"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,uBAAuB,EAAiB,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAQ,QAAQ,EAAiB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAGxF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;IC0B3D,kCAAqF;IAA1D,6MAAS,wBAAiB,KAAC;IAClD,wBACJ;IAAA,iBAAS;;;;IAGT,kCAAqF;IAA1D,8MAAS,wBAAiB,KAAC;IAClD,wBACJ;IAAA,iBAAS;;;;IA5Bb,uCAOD;IAJC,oMAAS,mCAA4B,KAAK,CAAC,KAAC;IAO1C,AADF,AADF,8BAAoB,qBACO,uBACkI;IAApD,uNAAe,yCAAkC,KAAC;IAE3J,AADE,AADE,iBAAyJ,EAC7I,EACV;IACN,qBAAI;IAGA,AADF,AADF,8BAAoB,qBACc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IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;IACnC,CAAC;IAEM,iCAAiC,CAAC,KAAa;QACpD,IAAI,CAAC,0BAA0B,GAAG,KAAK,CAAC;IAC1C,CAAC;;kGAzKU,yBAAyB;4EAAzB,yBAAyB;;;;;;;QChBlC,AADJ,2BAAK,gCAYC;QADF,AADA,AADA,qLAAoB,uBAAmB,KAAC,4KACf,4BAAwB,KAAC,kKACjC,mCAA+B,KAAC;QAVjD,iBAWE;QACF,6FAOD;QA4BH,iBAAM;;QA5CF,cAAyB;QAIzB,AAHA,AADA,uCAAyB,2CACa,sCAGL;QAOhC,eAAkC;QAAlC,uDAAkC;;ADE1B,yBAAyB;IADrC,aAAa,CAAC,uBAAuB,EAAE,YAAY,CAAC;GACxC,yBAAyB,CA0KrC;;iFA1KY,yBAAyB;cANrC,SAAS;2BACE,uBAAuB;gGAOM,eAAe;kBAArD,SAAS;mBAAC,0BAA0B;;kFAF1B,yBAAyB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ResourceTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import { SharedService } from '@memberjunction/ng-shared';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AddItemComponent implements OnInit {
|
|
6
|
+
private sharedService;
|
|
5
7
|
onClose: EventEmitter<any>;
|
|
6
8
|
selectedResource: ResourceTypeEntity | null;
|
|
7
9
|
showloader: boolean;
|
|
@@ -14,7 +16,7 @@ export declare class AddItemComponent implements OnInit {
|
|
|
14
16
|
Reports: any[];
|
|
15
17
|
get ResourceTypes(): any[];
|
|
16
18
|
private md;
|
|
17
|
-
constructor();
|
|
19
|
+
constructor(sharedService: SharedService);
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
onResourceTypeChange(event: any): Promise<void>;
|
|
20
22
|
getViews(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-item.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAW,MAAM,+BAA+B,CAAC;;
|
|
1
|
+
{"version":3,"file":"add-item.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAW,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAE1D,qBAKa,gBAAiB,YAAW,MAAM;IAgBjC,OAAO,CAAC,aAAa;IAfvB,OAAO,oBAA2B;IACnC,gBAAgB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC9C,UAAU,EAAE,OAAO,CAAS;IAC5B,YAAY,EAAE,GAAG,CAAQ;IACzB,cAAc,EAAE,GAAG,CAAQ;IAC3B,YAAY,EAAE,GAAG,CAAQ;IACzB,cAAc,EAAE,GAAG,CAAQ;IAC3B,QAAQ,EAAE,GAAG,EAAE,CAAM;IACrB,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,OAAO,EAAE,GAAG,EAAE,CAAM;IAC3B,IAAW,aAAa,IAAI,GAAG,EAAE,CAEhC;IACD,OAAO,CAAC,EAAE,CAA4B;gBAElB,aAAa,EAAE,aAAa;IAEhD,QAAQ,IAAI,IAAI;IASV,oBAAoB,CAAC,KAAK,EAAE,GAAG;IAQ/B,QAAQ;IAeR,UAAU;IAmBhB,cAAc,CAAC,KAAK,EAAE,GAAG;IAOzB,YAAY,CAAC,KAAK,EAAE,GAAG;IAQhB,OAAO;IAiCd,WAAW;yCArHA,gBAAgB;2CAAhB,gBAAgB;CAwH5B"}
|
|
@@ -13,16 +13,17 @@ import { ViewInfo } from '@memberjunction/core-entities';
|
|
|
13
13
|
import { ResourceData } from '@memberjunction/core-entities';
|
|
14
14
|
import { SharedService } from '@memberjunction/ng-shared';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "@
|
|
17
|
-
import * as i2 from "@angular/
|
|
18
|
-
import * as i3 from "@
|
|
19
|
-
import * as i4 from "@progress/kendo-angular-
|
|
20
|
-
import * as i5 from "@progress/kendo-angular-
|
|
21
|
-
import * as i6 from "@progress/kendo-angular-
|
|
22
|
-
import * as i7 from "@progress/kendo-angular-
|
|
16
|
+
import * as i1 from "@memberjunction/ng-shared";
|
|
17
|
+
import * as i2 from "@angular/common";
|
|
18
|
+
import * as i3 from "@angular/forms";
|
|
19
|
+
import * as i4 from "@progress/kendo-angular-dialog";
|
|
20
|
+
import * as i5 from "@progress/kendo-angular-indicators";
|
|
21
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
22
|
+
import * as i7 from "@progress/kendo-angular-label";
|
|
23
|
+
import * as i8 from "@progress/kendo-angular-dropdowns";
|
|
23
24
|
function AddItemComponent_ng_container_7_kendo_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
25
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
25
|
-
i0.ɵɵelementStart(0, "kendo-label",
|
|
26
|
+
i0.ɵɵelementStart(0, "kendo-label", 16);
|
|
26
27
|
i0.ɵɵelement(1, "br");
|
|
27
28
|
i0.ɵɵelementStart(2, "kendo-dropdownlist", 12);
|
|
28
29
|
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_7_kendo_label_4_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onViewChange($event)); });
|
|
@@ -35,7 +36,12 @@ function AddItemComponent_ng_container_7_kendo_label_4_Template(rf, ctx) { if (r
|
|
|
35
36
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedView);
|
|
36
37
|
} }
|
|
37
38
|
function AddItemComponent_ng_container_7_kendo_loader_5_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelement(0, "kendo-loader",
|
|
39
|
+
i0.ɵɵelement(0, "kendo-loader", 17);
|
|
40
|
+
} }
|
|
41
|
+
function AddItemComponent_ng_container_7_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
43
|
+
i0.ɵɵtext(1, " No views available for this entity ");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
39
45
|
} }
|
|
40
46
|
function AddItemComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
41
47
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -46,7 +52,7 @@ function AddItemComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
46
52
|
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_7_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEntityChange($event)); });
|
|
47
53
|
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_7_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedEntity, $event) || (ctx_r1.selectedEntity = $event); return i0.ɵɵresetView($event); });
|
|
48
54
|
i0.ɵɵelementEnd()();
|
|
49
|
-
i0.ɵɵtemplate(4, AddItemComponent_ng_container_7_kendo_label_4_Template, 3, 4, "kendo-label", 13)(5, AddItemComponent_ng_container_7_kendo_loader_5_Template, 1, 0, "kendo-loader", 14);
|
|
55
|
+
i0.ɵɵtemplate(4, AddItemComponent_ng_container_7_kendo_label_4_Template, 3, 4, "kendo-label", 13)(5, AddItemComponent_ng_container_7_kendo_loader_5_Template, 1, 0, "kendo-loader", 14)(6, AddItemComponent_ng_container_7_div_6_Template, 2, 0, "div", 15);
|
|
50
56
|
i0.ɵɵelementContainerEnd();
|
|
51
57
|
} if (rf & 2) {
|
|
52
58
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -56,11 +62,13 @@ function AddItemComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
56
62
|
i0.ɵɵadvance();
|
|
57
63
|
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && ctx_r1.Views.length);
|
|
58
64
|
i0.ɵɵadvance();
|
|
59
|
-
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && !ctx_r1.Views.length);
|
|
65
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && !ctx_r1.Views.length && ctx_r1.showloader);
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && !ctx_r1.Views.length && !ctx_r1.showloader);
|
|
60
68
|
} }
|
|
61
69
|
function AddItemComponent_ng_container_8_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
62
70
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
63
|
-
i0.ɵɵelementStart(0, "kendo-label",
|
|
71
|
+
i0.ɵɵelementStart(0, "kendo-label", 21);
|
|
64
72
|
i0.ɵɵelement(1, "br");
|
|
65
73
|
i0.ɵɵelementStart(2, "kendo-dropdownlist", 12);
|
|
66
74
|
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_8_kendo_label_1_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onViewChange($event)); });
|
|
@@ -73,24 +81,32 @@ function AddItemComponent_ng_container_8_kendo_label_1_Template(rf, ctx) { if (r
|
|
|
73
81
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedReport);
|
|
74
82
|
} }
|
|
75
83
|
function AddItemComponent_ng_container_8_kendo_loader_2_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
-
i0.ɵɵelement(0, "kendo-loader",
|
|
84
|
+
i0.ɵɵelement(0, "kendo-loader", 17);
|
|
85
|
+
} }
|
|
86
|
+
function AddItemComponent_ng_container_8_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
88
|
+
i0.ɵɵtext(1, " No reports available ");
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
77
90
|
} }
|
|
78
91
|
function AddItemComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
79
92
|
i0.ɵɵelementContainerStart(0);
|
|
80
|
-
i0.ɵɵtemplate(1, AddItemComponent_ng_container_8_kendo_label_1_Template, 3, 4, "kendo-label",
|
|
93
|
+
i0.ɵɵtemplate(1, AddItemComponent_ng_container_8_kendo_label_1_Template, 3, 4, "kendo-label", 19)(2, AddItemComponent_ng_container_8_kendo_loader_2_Template, 1, 0, "kendo-loader", 14)(3, AddItemComponent_ng_container_8_div_3_Template, 2, 0, "div", 20);
|
|
81
94
|
i0.ɵɵelementContainerEnd();
|
|
82
95
|
} if (rf & 2) {
|
|
83
96
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
84
97
|
i0.ɵɵadvance();
|
|
85
98
|
i0.ɵɵproperty("ngIf", ctx_r1.Reports.length);
|
|
86
99
|
i0.ɵɵadvance();
|
|
87
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.Reports.length);
|
|
100
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.Reports.length && ctx_r1.showloader);
|
|
101
|
+
i0.ɵɵadvance();
|
|
102
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.Reports.length && !ctx_r1.showloader);
|
|
88
103
|
} }
|
|
89
104
|
export class AddItemComponent {
|
|
90
105
|
get ResourceTypes() {
|
|
91
106
|
return SharedService.Instance.ResourceTypes.filter((rt) => rt.Name !== 'Dashboards' && rt.Name !== 'Records');
|
|
92
107
|
}
|
|
93
|
-
constructor() {
|
|
108
|
+
constructor(sharedService) {
|
|
109
|
+
this.sharedService = sharedService;
|
|
94
110
|
this.onClose = new EventEmitter();
|
|
95
111
|
this.showloader = false;
|
|
96
112
|
this.resourceType = null;
|
|
@@ -105,7 +121,8 @@ export class AddItemComponent {
|
|
|
105
121
|
ngOnInit() {
|
|
106
122
|
this.resourceType = this.selectedResource || SharedService.Instance.ViewResourceType;
|
|
107
123
|
this.onResourceTypeChange(this.resourceType);
|
|
108
|
-
|
|
124
|
+
// Sort entities alphabetically by name
|
|
125
|
+
this.Entities = [...this.md.Entities].sort((a, b) => a.Name.localeCompare(b.Name));
|
|
109
126
|
}
|
|
110
127
|
onResourceTypeChange(event) {
|
|
111
128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -122,6 +139,11 @@ export class AddItemComponent {
|
|
|
122
139
|
return;
|
|
123
140
|
this.showloader = true;
|
|
124
141
|
this.Views = yield ViewInfo.GetViewsForUser(this.selectedEntity.ID);
|
|
142
|
+
// Sort views alphabetically
|
|
143
|
+
if (this.Views && this.Views.length) {
|
|
144
|
+
this.Views = this.Views.sort((a, b) => a.Name.localeCompare(b.Name));
|
|
145
|
+
}
|
|
146
|
+
// Always set showloader to false when done, even if no views found
|
|
125
147
|
this.showloader = false;
|
|
126
148
|
});
|
|
127
149
|
}
|
|
@@ -131,11 +153,14 @@ export class AddItemComponent {
|
|
|
131
153
|
return;
|
|
132
154
|
this.showloader = true;
|
|
133
155
|
this.selectedReport = null;
|
|
156
|
+
this.Reports = [];
|
|
134
157
|
const rv = new RunView();
|
|
135
158
|
const reports = yield rv.RunView({ EntityName: this.resourceType.Entity, ExtraFilter: `UserID='${this.md.CurrentUser.ID}'` });
|
|
136
|
-
if (reports.Success) {
|
|
137
|
-
|
|
159
|
+
if (reports.Success && reports.Results) {
|
|
160
|
+
// Sort reports alphabetically
|
|
161
|
+
this.Reports = reports.Results.sort((a, b) => a.Name.localeCompare(b.Name));
|
|
138
162
|
}
|
|
163
|
+
// Always set showloader to false when done, even if no reports found
|
|
139
164
|
this.showloader = false;
|
|
140
165
|
});
|
|
141
166
|
}
|
|
@@ -146,34 +171,47 @@ export class AddItemComponent {
|
|
|
146
171
|
this.getViews();
|
|
147
172
|
}
|
|
148
173
|
onViewChange(event) {
|
|
149
|
-
this.
|
|
174
|
+
if (this.resourceType.Name === 'Reports') {
|
|
175
|
+
this.selectedReport = event;
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
this.selectedView = event;
|
|
179
|
+
}
|
|
150
180
|
}
|
|
151
181
|
addItem() {
|
|
152
182
|
var _a, _b, _c, _d;
|
|
153
|
-
if (!this.selectedReport && !this.selectedView)
|
|
183
|
+
if (!this.selectedReport && !this.selectedView) {
|
|
184
|
+
this.sharedService.CreateSimpleNotification('Please select an item to add', 'warning', 2000);
|
|
154
185
|
return;
|
|
186
|
+
}
|
|
155
187
|
const name = ((_a = this.selectedReport) === null || _a === void 0 ? void 0 : _a.Name) || ((_b = this.selectedView) === null || _b === void 0 ? void 0 : _b.Name);
|
|
156
188
|
const id = ((_c = this.selectedReport) === null || _c === void 0 ? void 0 : _c.ID) || ((_d = this.selectedView) === null || _d === void 0 ? void 0 : _d.ID);
|
|
189
|
+
if (!id) {
|
|
190
|
+
this.sharedService.CreateSimpleNotification('Invalid selection', 'error', 2000);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
157
193
|
const dashboardItem = {
|
|
158
194
|
title: name ? name : 'New Item - ' + id,
|
|
159
195
|
col: 1,
|
|
160
196
|
rowSpan: 3,
|
|
161
197
|
colSpan: 2,
|
|
162
198
|
ResourceData: new ResourceData({
|
|
163
|
-
Name:
|
|
199
|
+
Name: name,
|
|
200
|
+
ResourceType: this.resourceType.Name, // Add ResourceType
|
|
164
201
|
ResourceTypeID: this.resourceType.ID,
|
|
165
202
|
ResourceRecordID: id,
|
|
166
203
|
Configuration: {}
|
|
167
204
|
}),
|
|
168
205
|
};
|
|
206
|
+
this.sharedService.CreateSimpleNotification(`Added "${name}" to dashboard`, 'success', 2000);
|
|
169
207
|
this.onClose.emit(dashboardItem);
|
|
170
208
|
}
|
|
171
209
|
closeDialog() {
|
|
172
210
|
this.onClose.emit();
|
|
173
211
|
}
|
|
174
212
|
}
|
|
175
|
-
AddItemComponent.ɵfac = function AddItemComponent_Factory(t) { return new (t || AddItemComponent)(); };
|
|
176
|
-
AddItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddItemComponent, selectors: [["app-add-item-dialog"]], inputs: { selectedResource: "selectedResource" }, outputs: { onClose: "onClose" }, decls: 15, vars: 12, consts: [[1, "k-overlay"], ["title", "Add Item to Dashboard", 1, "modal-body-wrap", 3, "close", "width", "minHeight", "minWidth", "resizable"], [1, "k-d-flex", "k-flex-col", "resource-wrap"], ["text", "Resource Type"], [3, "valueChange", "ngModelChange", "data", "textField", "valueField", "subtitle", "ngModel"], [1, "user-view-wrap", 3, "ngSwitch"], [4, "ngSwitchCase"], [1, "k-actions", "k-actions-end", "popup-actions", "customBtn"], ["
|
|
213
|
+
AddItemComponent.ɵfac = function AddItemComponent_Factory(t) { return new (t || AddItemComponent)(i0.ɵɵdirectiveInject(i1.SharedService)); };
|
|
214
|
+
AddItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddItemComponent, selectors: [["app-add-item-dialog"]], inputs: { selectedResource: "selectedResource" }, outputs: { onClose: "onClose" }, decls: 15, vars: 12, consts: [[1, "k-overlay"], ["title", "Add Item to Dashboard", 1, "modal-body-wrap", 3, "close", "width", "minHeight", "minWidth", "resizable"], [1, "k-d-flex", "k-flex-col", "resource-wrap"], ["text", "Resource Type"], [3, "valueChange", "ngModelChange", "data", "textField", "valueField", "subtitle", "ngModel"], [1, "user-view-wrap", 3, "ngSwitch"], [4, "ngSwitchCase"], [1, "k-actions", "k-actions-end", "popup-actions", "customBtn"], ["themeColor", "info", "kendoButton", "", 3, "click"], [1, "fa-solid", "fa-check"], ["themeColor", "info", "kendoButton", "", "fillMode", "outline", 3, "click"], ["text", "Entity"], [3, "valueChange", "ngModelChange", "data", "textField", "valueField", "ngModel"], ["text", "Views", 4, "ngIf"], ["type", "converging-spinner", 4, "ngIf"], ["class", "no-views-message", 4, "ngIf"], ["text", "Views"], ["type", "converging-spinner"], [1, "no-views-message"], ["text", "Reports", 4, "ngIf"], ["class", "no-items-message", 4, "ngIf"], ["text", "Reports"], [1, "no-items-message"]], template: function AddItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
177
215
|
i0.ɵɵelement(0, "div", 0);
|
|
178
216
|
i0.ɵɵelementStart(1, "kendo-window", 1);
|
|
179
217
|
i0.ɵɵlistener("close", function AddItemComponent_Template_kendo_window_close_1_listener() { return ctx.closeDialog(); });
|
|
@@ -184,7 +222,7 @@ AddItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddItemCom
|
|
|
184
222
|
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_Template_kendo_dropdownlist_ngModelChange_5_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.resourceType, $event) || (ctx.resourceType = $event); return $event; });
|
|
185
223
|
i0.ɵɵelementEnd()();
|
|
186
224
|
i0.ɵɵelementStart(6, "div", 5);
|
|
187
|
-
i0.ɵɵtemplate(7, AddItemComponent_ng_container_7_Template,
|
|
225
|
+
i0.ɵɵtemplate(7, AddItemComponent_ng_container_7_Template, 7, 7, "ng-container", 6)(8, AddItemComponent_ng_container_8_Template, 4, 3, "ng-container", 6);
|
|
188
226
|
i0.ɵɵelementEnd()();
|
|
189
227
|
i0.ɵɵelementStart(9, "div", 7)(10, "button", 8);
|
|
190
228
|
i0.ɵɵlistener("click", function AddItemComponent_Template_button_click_10_listener() { return ctx.addItem(); });
|
|
@@ -207,11 +245,11 @@ AddItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddItemCom
|
|
|
207
245
|
i0.ɵɵproperty("ngSwitchCase", "User Views");
|
|
208
246
|
i0.ɵɵadvance();
|
|
209
247
|
i0.ɵɵproperty("ngSwitchCase", "Reports");
|
|
210
|
-
} }, dependencies: [
|
|
248
|
+
} }, dependencies: [i2.NgIf, i2.NgSwitch, i2.NgSwitchCase, i3.NgControlStatus, i3.NgModel, i4.WindowComponent, i5.LoaderComponent, i6.ButtonComponent, i7.LabelComponent, i8.DropDownListComponent], styles: [".popup-actions[_ngcontent-%COMP%] {\n width: 100%;\n padding: 10px;\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n .modal-body-wrap .k-window-content {\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n padding: 0;\n}\n.resource-wrap[_ngcontent-%COMP%] {\n flex: 1;\n padding: 24px;\n margin: 16px;\n border-radius: 4px;\n border: 1px solid rgba(0, 0, 0, 0.08);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.user-view-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n .resource-wrap .k-label {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n .resource-wrap .k-dropdownlist {\n border-radius: 4px;\n border: 1px solid rgba(0, 0, 0, 0.08);\n background: transparent;\n line-height: 32px;\n margin: 0;\n}\n .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n}\n\n.no-items-message[_ngcontent-%COMP%], .no-views-message[_ngcontent-%COMP%] {\n padding: 12px;\n background-color: #f8f9fa;\n border-radius: 4px;\n color: #6c757d;\n text-align: center;\n font-size: 14px;\n margin-top: 5px;\n border: 1px dashed #dee2e6;\n}"] });
|
|
211
249
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddItemComponent, [{
|
|
212
250
|
type: Component,
|
|
213
|
-
args: [{ selector: 'app-add-item-dialog', template: "<div class=\"k-overlay\"></div>\n<kendo-window class=\"modal-body-wrap\" [width]=\"500\" [minHeight]=\"300\" [minWidth]=\"400\" [resizable]=\"true\" (close)=\"closeDialog()\"\n title=\"Add Item to Dashboard\">\n <div class=\"k-d-flex k-flex-col resource-wrap\">\n <kendo-label text=\"Resource Type\">\n <br />\n <kendo-dropdownlist [data]=\"ResourceTypes\" [textField]=\"'DisplayName'\" [valueField]=\"'ID'\" [subtitle]=\"'sdfsdf'\"\n (valueChange)=\"onResourceTypeChange($event)\" [(ngModel)]=\"resourceType\">\n </kendo-dropdownlist>\n </kendo-label>\n <div [ngSwitch]=\"resourceType.Entity \" class=\"user-view-wrap\">\n <ng-container *ngSwitchCase=\"'User Views'\">\n <kendo-label text=\"Entity\">\n <br />\n <kendo-dropdownlist [data]=\"Entities\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onEntityChange($event)\" [(ngModel)]=\"selectedEntity\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-label text=\"Views\" *ngIf=\"selectedEntity && Views.length\">\n <br />\n <kendo-dropdownlist [data]=\"Views\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onViewChange($event)\" [(ngModel)]=\"selectedView\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-loader *ngIf=\"selectedEntity && !Views.length\" type=\"converging-spinner\"></kendo-loader>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Reports'\">\n <kendo-label text=\"Reports\" *ngIf=\"Reports.length\">\n <br />\n <kendo-dropdownlist [data]=\"Reports\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onViewChange($event)\" [(ngModel)]=\"selectedReport\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-loader *ngIf=\"!Reports.length\" type=\"converging-spinner\"></kendo-loader>\n </ng-container>\n </div>\n </div>\n <div class=\"k-actions k-actions-end popup-actions customBtn\">\n <button
|
|
214
|
-
}], () => [], { onClose: [{
|
|
251
|
+
args: [{ selector: 'app-add-item-dialog', template: "<div class=\"k-overlay\"></div>\n<kendo-window class=\"modal-body-wrap\" [width]=\"500\" [minHeight]=\"300\" [minWidth]=\"400\" [resizable]=\"true\" (close)=\"closeDialog()\"\n title=\"Add Item to Dashboard\">\n <div class=\"k-d-flex k-flex-col resource-wrap\">\n <kendo-label text=\"Resource Type\">\n <br />\n <kendo-dropdownlist [data]=\"ResourceTypes\" [textField]=\"'DisplayName'\" [valueField]=\"'ID'\" [subtitle]=\"'sdfsdf'\"\n (valueChange)=\"onResourceTypeChange($event)\" [(ngModel)]=\"resourceType\">\n </kendo-dropdownlist>\n </kendo-label>\n <div [ngSwitch]=\"resourceType.Entity \" class=\"user-view-wrap\">\n <ng-container *ngSwitchCase=\"'User Views'\">\n <kendo-label text=\"Entity\">\n <br />\n <kendo-dropdownlist [data]=\"Entities\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onEntityChange($event)\" [(ngModel)]=\"selectedEntity\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-label text=\"Views\" *ngIf=\"selectedEntity && Views.length\">\n <br />\n <kendo-dropdownlist [data]=\"Views\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onViewChange($event)\" [(ngModel)]=\"selectedView\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-loader *ngIf=\"selectedEntity && !Views.length && showloader\" type=\"converging-spinner\"></kendo-loader>\n <div *ngIf=\"selectedEntity && !Views.length && !showloader\" class=\"no-views-message\">\n No views available for this entity\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Reports'\">\n <kendo-label text=\"Reports\" *ngIf=\"Reports.length\">\n <br />\n <kendo-dropdownlist [data]=\"Reports\" [textField]=\"'Name'\" [valueField]=\"'ID'\"\n (valueChange)=\"onViewChange($event)\" [(ngModel)]=\"selectedReport\">\n </kendo-dropdownlist>\n </kendo-label>\n <kendo-loader *ngIf=\"!Reports.length && showloader\" type=\"converging-spinner\"></kendo-loader>\n <div *ngIf=\"!Reports.length && !showloader\" class=\"no-items-message\">\n No reports available\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"k-actions k-actions-end popup-actions customBtn\">\n <button themeColor=\"info\" kendoButton (click)=\"addItem()\">\n <span class=\"fa-solid fa-check\"></span> Add\n </button>\n <button themeColor=\"info\" kendoButton fillMode=\"outline\" (click)=\"closeDialog()\">Cancel</button>\n </div>\n</kendo-window>", styles: [".popup-actions {\n width: 100%;\n padding: 10px;\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n::ng-deep .modal-body-wrap .k-window-content {\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n padding: 0;\n}\n.resource-wrap {\n flex: 1;\n padding: 24px;\n margin: 16px;\n border-radius: 4px;\n border: 1px solid rgba(0, 0, 0, 0.08);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.user-view-wrap {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n::ng-deep .resource-wrap .k-label {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n::ng-deep .resource-wrap .k-dropdownlist {\n border-radius: 4px;\n border: 1px solid rgba(0, 0, 0, 0.08);\n background: transparent;\n line-height: 32px;\n margin: 0;\n}\n::ng-deep .customBtn button {\n flex: 1;\n border-radius: 10px;\n line-height: 34px;\n}\n\n.no-items-message, .no-views-message {\n padding: 12px;\n background-color: #f8f9fa;\n border-radius: 4px;\n color: #6c757d;\n text-align: center;\n font-size: 14px;\n margin-top: 5px;\n border: 1px dashed #dee2e6;\n}"] }]
|
|
252
|
+
}], () => [{ type: i1.SharedService }], { onClose: [{
|
|
215
253
|
type: Output
|
|
216
254
|
}], selectedResource: [{
|
|
217
255
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-item.component.js","sourceRoot":"","sources":["../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.ts","../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAsB,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"add-item.component.js","sourceRoot":"","sources":["../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.ts","../../../../../src/lib/single-dashboard/Components/add-item/add-item.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAsB,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;;;;;;;;;;;ICc1C,uCAAiE;IAC7D,qBAAM;IACN,8CACoE;IAAhE,kOAAe,2BAAoB,KAAC;IAAC,6UAA0B;IAEvE,AADI,iBAAqB,EACX;;;IAHU,eAAc;IAAsB,AAArB,AAAf,mCAAc,qBAAqB,oBAAoB;IAClC,mDAA0B;;;IAGvE,mCAA6G;;;IAC7G,+BAAqF;IACjF,oDACJ;IAAA,iBAAM;;;;IAhBV,6BAA2C;IACvC,uCAA2B;IACvB,qBAAM;IACN,8CACwE;IAApE,mNAAe,6BAAsB,KAAC;IAAC,kUAA4B;IAE3E,AADI,iBAAqB,EACX;IAQd,AADA,AANA,iGAAiE,sFAM6B,oEACT;;;;IAX7D,eAAiB;IAAsB,AAArB,AAAlB,sCAAiB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kC;QADwE,mGAAS,iBAAa,IAAC;QAGzH,AADJ,8BAA+C,qBACT;QAC9B,qBAAM;QACN,6CAC4E;QAAxE,2HAAe,gCAA4B,IAAC;QAAC,+NAA0B;QAE/E,AADI,iBAAqB,EACX;QACd,8BAA8D;QAmB1D,AAlBA,mFAA2C,sEAkBH;QAahD,AADI,iBAAM,EACJ;QAEF,AADJ,8BAA6D,iBACC;QAApB,8FAAS,aAAS,IAAC;QACrD,2BAAuC;QAAC,sBAC5C;QAAA,iBAAS;QACT,mCAAiF;QAAxB,8FAAS,iBAAa,IAAC;QAAC,uBAAM;QAE/F,AADI,AAD2F,iBAAS,EAC9F,EACK;;QAhDuB,cAAa;QAAoC,AAAjB,AAAlB,AAAd,2BAAa,kBAAkB,iBAAiB,mBAAmB;QAKzE,eAAsB;QAAkD,AAArB,AAA5B,AAAvB,wCAAsB,4BAA4B,oBAAoB,sBAAuB;QAChE,gDAA0B;QAG1E,cAAiC;QAAjC,kDAAiC;QACnB,cAA0B;QAA1B,2CAA0B;QAkB1B,cAAuB;QAAvB,wCAAuB;;iFDlBrC,gBAAgB;cAL5B,SAAS;2BACE,qBAAqB;8CAKrB,OAAO;kBAAhB,MAAM;YACE,gBAAgB;kBAAxB,KAAK;;kFAFK,gBAAgB"}
|
|
@@ -57,6 +57,12 @@ export declare class SingleDashboardComponent implements OnInit {
|
|
|
57
57
|
onMouseEnter(e: MouseEvent): void;
|
|
58
58
|
onMouseOut(e: MouseEvent): void;
|
|
59
59
|
getSelectedComponentStyle(component: SingleDashboardComponent): string;
|
|
60
|
+
/**
|
|
61
|
+
* Get the appropriate icon for a resource type
|
|
62
|
+
* @param resourceType The type of resource
|
|
63
|
+
* @returns FontAwesome icon class
|
|
64
|
+
*/
|
|
65
|
+
getResourceIcon(resourceType: string | undefined): string;
|
|
60
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<SingleDashboardComponent, never>;
|
|
61
67
|
static ɵcmp: i0.ɵɵComponentDeclaration<SingleDashboardComponent, "mj-single-dashboard", never, { "ResourceData": { "alias": "ResourceData"; "required": false; }; }, { "dashboardSaved": "dashboardSaved"; "loadComplete": "loadComplete"; "loadStarted": "loadStarted"; }, never, never, false, never>;
|
|
62
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-dashboard.component.d.ts","sourceRoot":"","sources":["../../../src/lib/single-dashboard/single-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AACtG,OAAO,EAAuB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACpH,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,cAAc,EAAU,MAAM,iBAAiB,CAAC;;AAEzD,qBAKa,wBAAyB,YAAW,MAAM;IAkCzC,OAAO,CAAC,KAAK;IAAyB,aAAa,EAAE,aAAa;IAhC7C,kBAAkB,EAAG,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAElE,YAAY,EAAG,YAAY,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC,eAAe,CAAC,CAAuC;IACpF,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;IAC1D,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;IAEnE,KAAK,EAAE,aAAa,EAAE,CAAM;IAC5B,eAAe,EAAG,eAAe,CAAC;IAClC,MAAM,EAAE,sBAAsB,CAAgC;IAC9D,kBAAkB,EAAE,OAAO,CAAS;IACpC,kBAAkB,EAAE,OAAO,CAAS;IACpC,+BAA+B,EAAE,OAAO,CAAS;IACjD,uBAAuB,EAAE,OAAO,CAAS;IACzC,WAAW,EAAE,OAAO,CAAS;IAC7B,YAAY,EAAE,OAAO,CAAS;IAC9B,kBAAkB,EAAE,OAAO,CAAS;IACpC,gBAAgB,EAAG,kBAAkB,GAAG,IAAI,CAAC;IAC7C,qBAAqB,EAAG,aAAa,GAAG,IAAI,CAAC;IACpD,OAAO,CAAC,kBAAkB,CAA+B;IACzD,OAAO,CAAC,iBAAiB,CAAyC;IAClE,OAAO,CAAC,UAAU,CAAkB;IAEpC,IAAW,cAAc,IAAI,OAAO,CAOnC;gBAEmB,KAAK,EAAE,cAAc,EAAS,aAAa,EAAE,aAAa;IAaxE,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"single-dashboard.component.d.ts","sourceRoot":"","sources":["../../../src/lib/single-dashboard/single-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AACtG,OAAO,EAAuB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACpH,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,cAAc,EAAU,MAAM,iBAAiB,CAAC;;AAEzD,qBAKa,wBAAyB,YAAW,MAAM;IAkCzC,OAAO,CAAC,KAAK;IAAyB,aAAa,EAAE,aAAa;IAhC7C,kBAAkB,EAAG,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAElE,YAAY,EAAG,YAAY,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC,eAAe,CAAC,CAAuC;IACpF,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;IAC1D,WAAW,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
|
|
@@ -19,123 +19,155 @@ const _forTrack0 = ($index, $item) => $item.uniqueId;
|
|
|
19
19
|
const _c1 = a0 => [a0];
|
|
20
20
|
const _c2 = a0 => ["dashboard-item-header", a0];
|
|
21
21
|
function SingleDashboardComponent_app_add_item_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
const
|
|
22
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
23
23
|
i0.ɵɵelementStart(0, "app-add-item-dialog", 15);
|
|
24
|
-
i0.ɵɵlistener("onClose", function SingleDashboardComponent_app_add_item_dialog_0_Template_app_add_item_dialog_onClose_0_listener($event) { i0.ɵɵrestoreView(
|
|
24
|
+
i0.ɵɵlistener("onClose", function SingleDashboardComponent_app_add_item_dialog_0_Template_app_add_item_dialog_onClose_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDialog($event)); });
|
|
25
25
|
i0.ɵɵelementEnd();
|
|
26
26
|
} if (rf & 2) {
|
|
27
|
-
const
|
|
28
|
-
i0.ɵɵproperty("selectedResource",
|
|
27
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
|
+
i0.ɵɵproperty("selectedResource", ctx_r1.selectedResource);
|
|
29
29
|
} }
|
|
30
30
|
function SingleDashboardComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
-
const
|
|
31
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
32
32
|
i0.ɵɵelementStart(0, "div")(1, "app-edit-dashboard", 16);
|
|
33
|
-
i0.ɵɵlistener("onClose", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_onClose_1_listener($event) { i0.ɵɵrestoreView(
|
|
33
|
+
i0.ɵɵlistener("onClose", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_onClose_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDashboardDialog($event)); })("triggerAddItem", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_triggerAddItem_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.addItem($event)); })("onSave", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_onSave_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveChanges($event)); });
|
|
34
34
|
i0.ɵɵelementEnd()();
|
|
35
35
|
} if (rf & 2) {
|
|
36
|
-
const
|
|
36
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
37
37
|
i0.ɵɵadvance();
|
|
38
|
-
i0.ɵɵproperty("items",
|
|
38
|
+
i0.ɵɵproperty("items", ctx_r1.items)("config", ctx_r1.config);
|
|
39
39
|
} }
|
|
40
40
|
function SingleDashboardComponent_app_delete_item_dialog_2_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
const
|
|
41
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
42
42
|
i0.ɵɵelementStart(0, "app-delete-item-dialog", 17);
|
|
43
|
-
i0.ɵɵlistener("removeDashboardItem", function SingleDashboardComponent_app_delete_item_dialog_2_Template_app_delete_item_dialog_removeDashboardItem_0_listener($event) { i0.ɵɵrestoreView(
|
|
43
|
+
i0.ɵɵlistener("removeDashboardItem", function SingleDashboardComponent_app_delete_item_dialog_2_Template_app_delete_item_dialog_removeDashboardItem_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.deleteDashboardItem($event)); })("onClose", function SingleDashboardComponent_app_delete_item_dialog_2_Template_app_delete_item_dialog_onClose_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteItemComponent()); });
|
|
44
44
|
i0.ɵɵelementEnd();
|
|
45
45
|
} if (rf & 2) {
|
|
46
|
-
const
|
|
47
|
-
i0.ɵɵproperty("dashboardItem",
|
|
46
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
47
|
+
i0.ɵɵproperty("dashboardItem", ctx_r1.selectedDashboardItem);
|
|
48
48
|
} }
|
|
49
49
|
function SingleDashboardComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
-
const
|
|
50
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
51
51
|
i0.ɵɵelementStart(0, "div", 10)(1, "input", 18, 2);
|
|
52
|
-
i0.ɵɵlistener("keydown.enter", function SingleDashboardComponent_div_6_Template_input_keydown_enter_1_listener() { i0.ɵɵrestoreView(
|
|
52
|
+
i0.ɵɵlistener("keydown.enter", function SingleDashboardComponent_div_6_Template_input_keydown_enter_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveDashboardName()); });
|
|
53
53
|
i0.ɵɵelementEnd();
|
|
54
54
|
i0.ɵɵelementStart(3, "kendo-button", 19);
|
|
55
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
55
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveDashboardName()); });
|
|
56
56
|
i0.ɵɵelement(4, "span", 20);
|
|
57
57
|
i0.ɵɵtext(5, " Save ");
|
|
58
58
|
i0.ɵɵelementEnd();
|
|
59
59
|
i0.ɵɵelementStart(6, "kendo-button", 19);
|
|
60
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
60
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_6_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancelNameChange()); });
|
|
61
61
|
i0.ɵɵelement(7, "span", 21);
|
|
62
62
|
i0.ɵɵtext(8, " Cancel ");
|
|
63
63
|
i0.ɵɵelementEnd()();
|
|
64
64
|
} }
|
|
65
65
|
function SingleDashboardComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
-
const
|
|
66
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
67
67
|
i0.ɵɵelement(0, "span", 22);
|
|
68
68
|
i0.ɵɵelementStart(1, "h3", 19);
|
|
69
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_7_Template_h3_click_1_listener() { i0.ɵɵrestoreView(
|
|
69
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_7_Template_h3_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleInlineNameEdit(true)); });
|
|
70
70
|
i0.ɵɵtext(2);
|
|
71
71
|
i0.ɵɵelementEnd();
|
|
72
72
|
} if (rf & 2) {
|
|
73
|
-
const
|
|
73
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
74
74
|
i0.ɵɵadvance(2);
|
|
75
|
-
i0.ɵɵtextInterpolate(
|
|
75
|
+
i0.ɵɵtextInterpolate(ctx_r1.dashboardEntity ? ctx_r1.dashboardEntity.Name : "");
|
|
76
76
|
} }
|
|
77
77
|
function SingleDashboardComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
-
const
|
|
78
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
79
79
|
i0.ɵɵelementStart(0, "div")(1, "kendo-button", 19);
|
|
80
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
80
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_1_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClickSaveDashboard()); });
|
|
81
81
|
i0.ɵɵelement(2, "span", 23);
|
|
82
82
|
i0.ɵɵtext(3, " Save ");
|
|
83
83
|
i0.ɵɵelementEnd();
|
|
84
84
|
i0.ɵɵelementStart(4, "kendo-button", 19);
|
|
85
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_4_listener() { i0.ɵɵrestoreView(
|
|
85
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_4_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onclickCancelChanges()); });
|
|
86
86
|
i0.ɵɵelement(5, "span", 24);
|
|
87
87
|
i0.ɵɵtext(6, " Cancel ");
|
|
88
88
|
i0.ɵɵelementEnd()();
|
|
89
89
|
} }
|
|
90
90
|
function SingleDashboardComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
-
const
|
|
91
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
92
92
|
i0.ɵɵelementStart(0, "kendo-button", 19);
|
|
93
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
93
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.addItem()); });
|
|
94
94
|
i0.ɵɵelement(1, "span", 25);
|
|
95
95
|
i0.ɵɵtext(2, " Add Item ");
|
|
96
96
|
i0.ɵɵelementEnd();
|
|
97
97
|
i0.ɵɵelementStart(3, "kendo-button", 19);
|
|
98
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
98
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleEditDashboard(true)); });
|
|
99
99
|
i0.ɵɵelement(4, "span", 26);
|
|
100
100
|
i0.ɵɵtext(5, " Edit Dashboard ");
|
|
101
101
|
i0.ɵɵelementEnd();
|
|
102
102
|
} }
|
|
103
|
-
function
|
|
104
|
-
const
|
|
105
|
-
i0.ɵɵelementStart(0, "div"
|
|
106
|
-
i0.ɵɵ
|
|
107
|
-
i0.ɵɵ
|
|
103
|
+
function SingleDashboardComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
105
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
106
|
+
i0.ɵɵelement(1, "i", 28);
|
|
107
|
+
i0.ɵɵelementStart(2, "h3");
|
|
108
|
+
i0.ɵɵtext(3, "This dashboard is empty");
|
|
109
|
+
i0.ɵɵelementEnd();
|
|
110
|
+
i0.ɵɵelementStart(4, "p");
|
|
111
|
+
i0.ɵɵtext(5, "Start by adding reports or user views to your dashboard");
|
|
112
|
+
i0.ɵɵelementEnd();
|
|
113
|
+
i0.ɵɵelementStart(6, "kendo-button", 29);
|
|
114
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_14_Template_kendo_button_click_6_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.addItem()); });
|
|
115
|
+
i0.ɵɵelement(7, "span", 25);
|
|
116
|
+
i0.ɵɵtext(8, " Add Item ");
|
|
117
|
+
i0.ɵɵelementEnd()();
|
|
118
|
+
} }
|
|
119
|
+
function SingleDashboardComponent_kendo_tilelayout_15_For_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
121
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 37)(2, "button", 38);
|
|
122
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Conditional_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleEditDashboard(true)); });
|
|
123
|
+
i0.ɵɵelement(3, "span", 39);
|
|
108
124
|
i0.ɵɵelementEnd();
|
|
109
|
-
i0.ɵɵelementStart(4, "button",
|
|
110
|
-
i0.ɵɵlistener("click", function
|
|
111
|
-
i0.ɵɵelement(5, "span",
|
|
125
|
+
i0.ɵɵelementStart(4, "button", 40);
|
|
126
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Conditional_5_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const item_r13 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.showConfirmDeleteDashboardItem(item_r13)); });
|
|
127
|
+
i0.ɵɵelement(5, "span", 41);
|
|
112
128
|
i0.ɵɵelementEnd()()();
|
|
113
129
|
} }
|
|
114
|
-
function
|
|
115
|
-
const
|
|
116
|
-
i0.ɵɵelementStart(0, "kendo-tilelayout-item",
|
|
117
|
-
i0.ɵɵlistener("mouseenter", function
|
|
118
|
-
i0.ɵɵelementStart(1, "kendo-tilelayout-item-header",
|
|
119
|
-
i0.ɵɵ
|
|
120
|
-
i0.ɵɵ
|
|
130
|
+
function SingleDashboardComponent_kendo_tilelayout_15_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
131
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
132
|
+
i0.ɵɵelementStart(0, "kendo-tilelayout-item", 32);
|
|
133
|
+
i0.ɵɵlistener("mouseenter", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Template_kendo_tilelayout_item_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onMouseEnter($event)); })("mouseleave", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Template_kendo_tilelayout_item_mouseleave_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onMouseOut($event)); });
|
|
134
|
+
i0.ɵɵelementStart(1, "kendo-tilelayout-item-header", 33)(2, "div", 34);
|
|
135
|
+
i0.ɵɵelement(3, "i", 35);
|
|
136
|
+
i0.ɵɵtext(4);
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵtemplate(5, SingleDashboardComponent_kendo_tilelayout_15_For_2_Conditional_5_Template, 6, 0, "div");
|
|
121
139
|
i0.ɵɵelementEnd();
|
|
122
|
-
i0.ɵɵelementStart(
|
|
123
|
-
i0.ɵɵlistener("ContentLoadingStarted", function
|
|
140
|
+
i0.ɵɵelementStart(6, "kendo-tilelayout-item-body", 33)(7, "mj-resource", 36);
|
|
141
|
+
i0.ɵɵlistener("ContentLoadingStarted", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Template_mj_resource_ContentLoadingStarted_7_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.loadingStarted($event)); })("ContentLoadingComplete", function SingleDashboardComponent_kendo_tilelayout_15_For_2_Template_mj_resource_ContentLoadingComplete_7_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.loadingComplete($event)); });
|
|
124
142
|
i0.ɵɵelementEnd()()();
|
|
125
143
|
} if (rf & 2) {
|
|
126
|
-
const
|
|
127
|
-
const
|
|
128
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
144
|
+
const item_r13 = ctx.$implicit;
|
|
145
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
146
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1, ctx_r1.getSelectedComponentStyle(ctx_r1)))("col", item_r13.col)("colSpan", item_r13.colSpan)("rowSpan", item_r13.rowSpan)("id", item_r13.uniqueId);
|
|
129
147
|
i0.ɵɵadvance();
|
|
130
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
148
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2, ctx_r1.getIsEditingItemHeaderStyle()));
|
|
149
|
+
i0.ɵɵadvance(2);
|
|
150
|
+
i0.ɵɵclassMap(ctx_r1.getResourceIcon(item_r13.ResourceData == null ? null : item_r13.ResourceData.ResourceType));
|
|
131
151
|
i0.ɵɵadvance();
|
|
132
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
152
|
+
i0.ɵɵtextInterpolate1(" ", item_r13.title, " ");
|
|
133
153
|
i0.ɵɵadvance();
|
|
134
|
-
i0.ɵɵconditional(!
|
|
154
|
+
i0.ɵɵconditional(!ctx_r1.isEditingDashboard ? 5 : -1);
|
|
135
155
|
i0.ɵɵadvance();
|
|
136
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
156
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c1, ctx_r1.getIsEditingItemBodyStyle()));
|
|
137
157
|
i0.ɵɵadvance();
|
|
138
|
-
i0.ɵɵproperty("Data",
|
|
158
|
+
i0.ɵɵproperty("Data", item_r13.ResourceData)("isVisible", true);
|
|
159
|
+
} }
|
|
160
|
+
function SingleDashboardComponent_kendo_tilelayout_15_Template(rf, ctx) { if (rf & 1) {
|
|
161
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
162
|
+
i0.ɵɵelementStart(0, "kendo-tilelayout", 30);
|
|
163
|
+
i0.ɵɵlistener("reorder", function SingleDashboardComponent_kendo_tilelayout_15_Template_kendo_tilelayout_reorder_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onReorder($event)); })("resize", function SingleDashboardComponent_kendo_tilelayout_15_Template_kendo_tilelayout_resize_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onResize($event)); });
|
|
164
|
+
i0.ɵɵrepeaterCreate(1, SingleDashboardComponent_kendo_tilelayout_15_For_2_Template, 8, 19, "kendo-tilelayout-item", 31, _forTrack0);
|
|
165
|
+
i0.ɵɵelementEnd();
|
|
166
|
+
} if (rf & 2) {
|
|
167
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
168
|
+
i0.ɵɵproperty("columns", ctx_r1.config.columns)("rowHeight", ctx_r1.config.rowHeight)("resizable", ctx_r1.allowResize)("reorderable", ctx_r1.allowReorder);
|
|
169
|
+
i0.ɵɵadvance();
|
|
170
|
+
i0.ɵɵrepeater(ctx_r1.items);
|
|
139
171
|
} }
|
|
140
172
|
export class SingleDashboardComponent {
|
|
141
173
|
get contentLoading() {
|
|
@@ -204,11 +236,18 @@ export class SingleDashboardComponent {
|
|
|
204
236
|
else {
|
|
205
237
|
this.dashboardEntity.NewRecord(); // creating a new dashboard
|
|
206
238
|
this.dashboardEntity.UserID = md.CurrentUser.ID;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
this.
|
|
210
|
-
|
|
211
|
-
this.config.
|
|
239
|
+
// We should never get here now because dashboard creation is handled in dashboard-browser
|
|
240
|
+
// But just in case, set a better default name
|
|
241
|
+
this.dashboardEntity.Name = 'My Dashboard';
|
|
242
|
+
// Set default configuration
|
|
243
|
+
this.config.columns = 4; // 4-column layout
|
|
244
|
+
this.config.rowHeight = 150;
|
|
245
|
+
this.config.resizable = true;
|
|
246
|
+
this.config.reorderable = true;
|
|
247
|
+
// Automatically show edit mode for new dashboards to encourage adding items
|
|
248
|
+
setTimeout(() => {
|
|
249
|
+
this.toggleEditDashboard(true);
|
|
250
|
+
}, 500);
|
|
212
251
|
}
|
|
213
252
|
// now we need to load up the items
|
|
214
253
|
this.items = [];
|
|
@@ -408,6 +447,25 @@ export class SingleDashboardComponent {
|
|
|
408
447
|
getSelectedComponentStyle(component) {
|
|
409
448
|
return this.selectedComponent === component ? "position: unset" : "";
|
|
410
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* Get the appropriate icon for a resource type
|
|
452
|
+
* @param resourceType The type of resource
|
|
453
|
+
* @returns FontAwesome icon class
|
|
454
|
+
*/
|
|
455
|
+
getResourceIcon(resourceType) {
|
|
456
|
+
// Default to a cube icon if type is undefined
|
|
457
|
+
if (!resourceType)
|
|
458
|
+
return 'fa-solid fa-cube';
|
|
459
|
+
// Map resource types to appropriate FontAwesome icons
|
|
460
|
+
const iconMap = {
|
|
461
|
+
'Reports': 'fa-solid fa-chart-line',
|
|
462
|
+
'UserViews': 'fa-solid fa-table',
|
|
463
|
+
'Dashboards': 'fa-solid fa-grip',
|
|
464
|
+
'Lists': 'fa-solid fa-list',
|
|
465
|
+
'default': 'fa-solid fa-cube'
|
|
466
|
+
};
|
|
467
|
+
return iconMap[resourceType] || iconMap['default'];
|
|
468
|
+
}
|
|
411
469
|
}
|
|
412
470
|
SingleDashboardComponent.ɵfac = function SingleDashboardComponent_Factory(t) { return new (t || SingleDashboardComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.SharedService)); };
|
|
413
471
|
SingleDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleDashboardComponent, selectors: [["mj-single-dashboard"]], viewQuery: function SingleDashboardComponent_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -415,8 +473,7 @@ SingleDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Si
|
|
|
415
473
|
} if (rf & 2) {
|
|
416
474
|
let _t;
|
|
417
475
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dashboardNameInput = _t.first);
|
|
418
|
-
} }, inputs: { ResourceData: "ResourceData" }, outputs: { dashboardSaved: "dashboardSaved", loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls:
|
|
419
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
476
|
+
} }, inputs: { ResourceData: "ResourceData" }, outputs: { dashboardSaved: "dashboardSaved", loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 16, vars: 9, consts: [["dashboard_name_header", ""], ["edit_dashboard_buttons", ""], ["dashboardNameInput", ""], [3, "selectedResource", "onClose", 4, "ngIf"], [4, "ngIf"], [3, "dashboardItem", "removeDashboardItem", "onClose", 4, "ngIf"], [1, "dashboard-container"], [1, "main-head-dashboard"], [1, "dashboard-title"], ["class", "dashboard-header k-d-flex k-flex-row k-justify-content-flex-end", 4, "ngIf", "ngIfElse"], [1, "dashboard-header", "k-d-flex", "k-flex-row", "k-justify-content-flex-end"], [4, "ngIf", "ngIfElse"], [1, "tile-resource-container"], ["class", "empty-dashboard", 4, "ngIf"], [3, "columns", "rowHeight", "resizable", "reorderable", "reorder", "resize", 4, "ngIf"], [3, "onClose", "selectedResource"], [3, "onClose", "triggerAddItem", "onSave", "items", "config"], [3, "removeDashboardItem", "onClose", "dashboardItem"], ["type", "text", "placeholder", "Enter name here", "id", "txtDashboardName", 1, "k-textbox", "k-input", "k-input-md", "k-rounded-md", "k-input-solid", 3, "keydown.enter"], [3, "click"], [1, "k-i-check", "k-button-icon", "k-icon", "ng-star-inserted"], [1, "k-icon", "k-i-cancel"], [1, "k-icon", "k-i-star"], [1, "fa-solid", "fa-check"], [1, "fa-solid", "fa-xmark"], [1, "fa-solid", "fa-plus"], [1, "fa-solid", "fa-gear"], [1, "empty-dashboard"], ["aria-hidden", "true", 1, "fa-solid", "fa-grip-vertical"], ["themeColor", "primary", 3, "click"], [3, "reorder", "resize", "columns", "rowHeight", "resizable", "reorderable"], [3, "ngClass", "col", "colSpan", "rowSpan", "id"], [3, "mouseenter", "mouseleave", "ngClass", "col", "colSpan", "rowSpan", "id"], [3, "ngClass"], [1, "item-title"], ["aria-hidden", "true"], [3, "ContentLoadingStarted", "ContentLoadingComplete", "Data", "isVisible"], [1, "btn-wrapper"], ["kendoButton", "", "title", "Edit dashboard", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], ["kendoButton", "", "title", "Remove item", 3, "click"], [1, "fa-solid", "fa-trash"]], template: function SingleDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
420
477
|
i0.ɵɵtemplate(0, SingleDashboardComponent_app_add_item_dialog_0_Template, 1, 1, "app-add-item-dialog", 3)(1, SingleDashboardComponent_div_1_Template, 2, 2, "div", 4)(2, SingleDashboardComponent_app_delete_item_dialog_2_Template, 1, 1, "app-delete-item-dialog", 5);
|
|
421
478
|
i0.ɵɵelementStart(3, "div", 6)(4, "div", 7)(5, "div", 8);
|
|
422
479
|
i0.ɵɵtemplate(6, SingleDashboardComponent_div_6_Template, 9, 0, "div", 9)(7, SingleDashboardComponent_ng_template_7_Template, 3, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -424,30 +481,29 @@ SingleDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Si
|
|
|
424
481
|
i0.ɵɵelementStart(9, "div", 10);
|
|
425
482
|
i0.ɵɵtemplate(10, SingleDashboardComponent_div_10_Template, 7, 0, "div", 11)(11, SingleDashboardComponent_ng_template_11_Template, 6, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
426
483
|
i0.ɵɵelementEnd()();
|
|
427
|
-
i0.ɵɵelementStart(13, "div", 12)
|
|
428
|
-
i0.ɵɵ
|
|
429
|
-
i0.ɵɵ
|
|
430
|
-
i0.ɵɵelementEnd()()();
|
|
484
|
+
i0.ɵɵelementStart(13, "div", 12);
|
|
485
|
+
i0.ɵɵtemplate(14, SingleDashboardComponent_div_14_Template, 9, 0, "div", 13)(15, SingleDashboardComponent_kendo_tilelayout_15_Template, 3, 4, "kendo-tilelayout", 14);
|
|
486
|
+
i0.ɵɵelementEnd()();
|
|
431
487
|
} if (rf & 2) {
|
|
432
|
-
const
|
|
433
|
-
const
|
|
488
|
+
const dashboard_name_header_r14 = i0.ɵɵreference(8);
|
|
489
|
+
const edit_dashboard_buttons_r15 = i0.ɵɵreference(12);
|
|
434
490
|
i0.ɵɵproperty("ngIf", ctx.isItemDialogOpened);
|
|
435
491
|
i0.ɵɵadvance();
|
|
436
492
|
i0.ɵɵproperty("ngIf", ctx.isEditDialogOpened);
|
|
437
493
|
i0.ɵɵadvance();
|
|
438
494
|
i0.ɵɵproperty("ngIf", ctx.isDeletingDashboardItem);
|
|
439
495
|
i0.ɵɵadvance(4);
|
|
440
|
-
i0.ɵɵproperty("ngIf", ctx.isEditDashboardNameDialogOpened)("ngIfElse",
|
|
496
|
+
i0.ɵɵproperty("ngIf", ctx.isEditDashboardNameDialogOpened)("ngIfElse", dashboard_name_header_r14);
|
|
441
497
|
i0.ɵɵadvance(4);
|
|
442
|
-
i0.ɵɵproperty("ngIf", ctx.isEditingDashboard)("ngIfElse",
|
|
498
|
+
i0.ɵɵproperty("ngIf", ctx.isEditingDashboard)("ngIfElse", edit_dashboard_buttons_r15);
|
|
443
499
|
i0.ɵɵadvance(4);
|
|
444
|
-
i0.ɵɵproperty("
|
|
500
|
+
i0.ɵɵproperty("ngIf", ctx.items.length === 0 && !ctx.isEditingDashboard);
|
|
445
501
|
i0.ɵɵadvance();
|
|
446
|
-
i0.ɵɵ
|
|
447
|
-
} }, styles: [".dashboard-title[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap:
|
|
502
|
+
i0.ɵɵproperty("ngIf", ctx.items.length > 0 || ctx.isEditingDashboard);
|
|
503
|
+
} }, styles: ["[_nghost-%COMP%] {\n display: block;\n padding: 20px;\n height: 100%;\n box-sizing: border-box;\n}\n\n.dashboard-container[_ngcontent-%COMP%] {\n height: calc(100% - 60px);\n overflow: auto;\n}\n\n.dashboard-title[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 15px;\n}\n\n.dashboard-title[_ngcontent-%COMP%] .k-icon[_ngcontent-%COMP%] {\n color: var(--border-blue);\n font-size: 25px;\n}\n\n.dashboard-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin: 0;\n cursor: pointer;\n}\n\n.dashboard-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n}\n\n.dashboard-header[_ngcontent-%COMP%] {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n\n .dashboard-header .k-button-solid-base {\n border: 1px solid var(--border-blue) !important;\n color: var(--border-blue) !important;\n border-radius: 10px;\n line-height: 34px;\n background: var(--white-color);\n}\n\n .dashboard-header .k-button-solid-primary {\n background: var(--border-blue) !important;\n color: var(--white-color) !important;\n border-radius: 10px;\n line-height: 34px;\n border-color: var(--border-blue);\n}\n\n .dashboard-header .btn-ref .k-button-text {\n display: flex;\n gap: 10px;\n}\n\n.dashboard-header[_ngcontent-%COMP%] .btn-ref[_ngcontent-%COMP%] {\n border: none;\n background: transparent;\n}\n\n.main-head-dashboard[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 20px;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.tile-resource-container[_ngcontent-%COMP%] {\n margin-top: 20px;\n padding: 15px;\n border-radius: 8px;\n background-color: #f9f9f9;\n}\n\n.tile-resource-container[_ngcontent-%COMP%] .k-tilelayout[_ngcontent-%COMP%] {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 10px;\n}\n\n\n\n kendo-tilelayout-item {\n border-radius: 6px;\n overflow: hidden;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin: 5px;\n}\n\n.bg-light-grey[_ngcontent-%COMP%] {\n background-color: #f0f0f0;\n}\n\n.bg-dark-grey[_ngcontent-%COMP%] {\n background-color: #5a5a5a;\n color: white;\n}\n\n.bg-blue[_ngcontent-%COMP%] {\n background-color: #4250AD;\n color: white;\n}\n\n.dashboard-item-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 15px;\n font-weight: 500;\n}\n\n.dashboard-item-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 8px;\n}\n\n.button-spacing[_ngcontent-%COMP%] {\n margin-right: 8px;\n}\n\n.btn-wrapper[_ngcontent-%COMP%] {\n display: flex;\n gap: 5px;\n}\n\n.btn-wrapper[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] {\n margin-left: 5px;\n}\n\n\n\n.empty-dashboard[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px;\n text-align: center;\n color: #666;\n background-color: #f9f9f9;\n border-radius: 8px;\n margin-top: 20px;\n}\n\n.empty-dashboard[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 48px;\n margin-bottom: 20px;\n color: #ccc;\n}\n\n.empty-dashboard[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.empty-dashboard[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}"] });
|
|
448
504
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SingleDashboardComponent, [{
|
|
449
505
|
type: Component,
|
|
450
|
-
args: [{ selector: 'mj-single-dashboard', template: "<app-add-item-dialog *ngIf=\"isItemDialogOpened\" (onClose)=\"closeDialog($event)\" [selectedResource]=\"selectedResource\"></app-add-item-dialog>\n<div *ngIf=\"isEditDialogOpened\">\n <app-edit-dashboard (onClose)=\"closeDashboardDialog($event)\" (triggerAddItem)=\"addItem($event)\" [items]=\"items\" [config]=\"config\" (onSave)=\"saveChanges($event)\"></app-edit-dashboard>\n</div>\n\n<app-delete-item-dialog *ngIf=\"isDeletingDashboardItem\" [dashboardItem]=\"selectedDashboardItem\" (removeDashboardItem)=\"deleteDashboardItem($event)\" (onClose)=\"closeDeleteItemComponent()\"></app-delete-item-dialog>\n\n<div class=\"dashboard-container\">\n <div class=\"main-head-dashboard\">\n <div class=\"dashboard-title\">\n <div *ngIf=\"isEditDashboardNameDialogOpened; else dashboard_name_header\" class=\"dashboard-header k-d-flex k-flex-row k-justify-content-flex-end\">\n <input class=\"k-textbox k-input k-input-md k-rounded-md k-input-solid\" (keydown.enter)=\"saveDashboardName()\" type=\"text\" placeholder=\"Enter name here\" id=\"txtDashboardName\" #dashboardNameInput>\n <kendo-button (click)=\"saveDashboardName()\">\n <span class=\"k-i-check k-button-icon k-icon ng-star-inserted\"></span>\n Save\n </kendo-button>\n <kendo-button (click)=\"cancelNameChange()\" >\n <span class=\"k-icon k-i-cancel\"></span>\n Cancel\n </kendo-button>\n </div>\n <ng-template #dashboard_name_header>\n <span class=\"k-icon k-i-star\"></span>\n <h3 (click)=\"toggleInlineNameEdit(true)\">{{dashboardEntity ? dashboardEntity.Name : ''}}</h3>\n </ng-template>\n </div>\n <div class=\"dashboard-header k-d-flex k-flex-row k-justify-content-flex-end\">\n <div *ngIf=\"isEditingDashboard; else edit_dashboard_buttons\">\n <kendo-button (click)=\"onClickSaveDashboard()\">\n <span class=\"fa-solid fa-check\"></span>\n Save\n </kendo-button>\n <kendo-button (click)=\"onclickCancelChanges()\">\n <span class=\"fa-solid fa-xmark\"></span>\n Cancel\n </kendo-button>\n </div>\n <ng-template #edit_dashboard_buttons>\n <kendo-button (click)=\"addItem()\">\n <span class=\"fa-solid fa-plus\"></span>\n Add Item\n </kendo-button>\n <kendo-button (click)=\"toggleEditDashboard(true)\" >\n <span class=\"fa-solid fa-gear\"></span>\n Edit Dashboard\n </kendo-button>\n </ng-template>\n </div>\n </div>\n <div class=\"tile-resource-container\">\n <kendo-tilelayout\n [columns]=\"config.columns\"\n [rowHeight]=\"config.rowHeight\"\n [resizable]=\"allowResize\"\n [reorderable]=\"allowReorder\"\n (reorder)=\"onReorder($event)\"\n (resize)=\"onResize($event)\"\n >\n @for(item of items; track item.uniqueId) {\n <kendo-tilelayout-item (mouseenter)=\"onMouseEnter($event)\" (mouseleave)=\"onMouseOut($event)\" [ngClass]=\"[getSelectedComponentStyle(this)]\" [col]=\"item.col\" [colSpan]=\"item.colSpan\" [rowSpan]=\"item.rowSpan\" [id]=\"item.uniqueId\">\n <kendo-tilelayout-item-header [ngClass]=\"['dashboard-item-header', getIsEditingItemHeaderStyle()]\">\n {{item.title}}\n @if(!isEditingDashboard) {\n <div>\n <div class=\"btn-wrapper\">\n <button kendoButton (click)=\"toggleEditDashboard(true)\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n </button>\n <button kendoButton (click)=\"showConfirmDeleteDashboardItem(item)\">\n <span class=\"fa-solid fa-trash\"></span>\n </button>\n </div>\n </div>\n }\n </kendo-tilelayout-item-header>\n <kendo-tilelayout-item-body [ngClass]=\"[getIsEditingItemBodyStyle()]\">\n <mj-resource [Data]=\"item.ResourceData\" [isVisible]=\"true\" (ContentLoadingStarted)=\"loadingStarted($event)\" (ContentLoadingComplete)=\"loadingComplete($event)\"></mj-resource>\n </kendo-tilelayout-item-body>\n </kendo-tilelayout-item>\n }\n </kendo-tilelayout>\n </div>\n</div>\n", styles: [".dashboard-title {\n display: flex;\n align-items: center;\n gap:
|
|
506
|
+
args: [{ selector: 'mj-single-dashboard', template: "<app-add-item-dialog *ngIf=\"isItemDialogOpened\" (onClose)=\"closeDialog($event)\" [selectedResource]=\"selectedResource\"></app-add-item-dialog>\n<div *ngIf=\"isEditDialogOpened\">\n <app-edit-dashboard (onClose)=\"closeDashboardDialog($event)\" (triggerAddItem)=\"addItem($event)\" [items]=\"items\" [config]=\"config\" (onSave)=\"saveChanges($event)\"></app-edit-dashboard>\n</div>\n\n<app-delete-item-dialog *ngIf=\"isDeletingDashboardItem\" [dashboardItem]=\"selectedDashboardItem\" (removeDashboardItem)=\"deleteDashboardItem($event)\" (onClose)=\"closeDeleteItemComponent()\"></app-delete-item-dialog>\n\n<div class=\"dashboard-container\">\n <div class=\"main-head-dashboard\">\n <div class=\"dashboard-title\">\n <div *ngIf=\"isEditDashboardNameDialogOpened; else dashboard_name_header\" class=\"dashboard-header k-d-flex k-flex-row k-justify-content-flex-end\">\n <input class=\"k-textbox k-input k-input-md k-rounded-md k-input-solid\" (keydown.enter)=\"saveDashboardName()\" type=\"text\" placeholder=\"Enter name here\" id=\"txtDashboardName\" #dashboardNameInput>\n <kendo-button (click)=\"saveDashboardName()\">\n <span class=\"k-i-check k-button-icon k-icon ng-star-inserted\"></span>\n Save\n </kendo-button>\n <kendo-button (click)=\"cancelNameChange()\" >\n <span class=\"k-icon k-i-cancel\"></span>\n Cancel\n </kendo-button>\n </div>\n <ng-template #dashboard_name_header>\n <span class=\"k-icon k-i-star\"></span>\n <h3 (click)=\"toggleInlineNameEdit(true)\">{{dashboardEntity ? dashboardEntity.Name : ''}}</h3>\n </ng-template>\n </div>\n <div class=\"dashboard-header k-d-flex k-flex-row k-justify-content-flex-end\">\n <div *ngIf=\"isEditingDashboard; else edit_dashboard_buttons\">\n <kendo-button (click)=\"onClickSaveDashboard()\">\n <span class=\"fa-solid fa-check\"></span>\n Save\n </kendo-button>\n <kendo-button (click)=\"onclickCancelChanges()\">\n <span class=\"fa-solid fa-xmark\"></span>\n Cancel\n </kendo-button>\n </div>\n <ng-template #edit_dashboard_buttons>\n <kendo-button (click)=\"addItem()\">\n <span class=\"fa-solid fa-plus\"></span>\n Add Item\n </kendo-button>\n <kendo-button (click)=\"toggleEditDashboard(true)\" >\n <span class=\"fa-solid fa-gear\"></span>\n Edit Dashboard\n </kendo-button>\n </ng-template>\n </div>\n </div>\n <div class=\"tile-resource-container\">\n <!-- Show empty state if no items -->\n <div *ngIf=\"items.length === 0 && !isEditingDashboard\" class=\"empty-dashboard\">\n <i class=\"fa-solid fa-grip-vertical\" aria-hidden=\"true\"></i>\n <h3>This dashboard is empty</h3>\n <p>Start by adding reports or user views to your dashboard</p>\n <kendo-button themeColor=\"primary\" (click)=\"addItem()\">\n <span class=\"fa-solid fa-plus\"></span>\n Add Item\n </kendo-button>\n </div>\n \n <!-- Show tile layout if there are items or if editing -->\n <kendo-tilelayout\n *ngIf=\"items.length > 0 || isEditingDashboard\"\n [columns]=\"config.columns\"\n [rowHeight]=\"config.rowHeight\"\n [resizable]=\"allowResize\"\n [reorderable]=\"allowReorder\"\n (reorder)=\"onReorder($event)\"\n (resize)=\"onResize($event)\"\n >\n @for(item of items; track item.uniqueId) {\n <kendo-tilelayout-item (mouseenter)=\"onMouseEnter($event)\" (mouseleave)=\"onMouseOut($event)\" [ngClass]=\"[getSelectedComponentStyle(this)]\" [col]=\"item.col\" [colSpan]=\"item.colSpan\" [rowSpan]=\"item.rowSpan\" [id]=\"item.uniqueId\">\n <kendo-tilelayout-item-header [ngClass]=\"['dashboard-item-header', getIsEditingItemHeaderStyle()]\">\n <div class=\"item-title\">\n <i [class]=\"getResourceIcon(item.ResourceData?.ResourceType)\" aria-hidden=\"true\"></i>\n {{item.title}}\n </div>\n @if(!isEditingDashboard) {\n <div>\n <div class=\"btn-wrapper\">\n <button kendoButton title=\"Edit dashboard\" (click)=\"toggleEditDashboard(true)\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n </button>\n <button kendoButton title=\"Remove item\" (click)=\"showConfirmDeleteDashboardItem(item)\">\n <span class=\"fa-solid fa-trash\"></span>\n </button>\n </div>\n </div>\n }\n </kendo-tilelayout-item-header>\n <kendo-tilelayout-item-body [ngClass]=\"[getIsEditingItemBodyStyle()]\">\n <mj-resource [Data]=\"item.ResourceData\" [isVisible]=\"true\" (ContentLoadingStarted)=\"loadingStarted($event)\" (ContentLoadingComplete)=\"loadingComplete($event)\"></mj-resource>\n </kendo-tilelayout-item-body>\n </kendo-tilelayout-item>\n }\n </kendo-tilelayout>\n </div>\n</div>\n", styles: [":host {\n display: block;\n padding: 20px;\n height: 100%;\n box-sizing: border-box;\n}\n\n.dashboard-container {\n height: calc(100% - 60px);\n overflow: auto;\n}\n\n.dashboard-title {\n display: flex;\n align-items: center;\n gap: 15px;\n}\n\n.dashboard-title .k-icon {\n color: var(--border-blue);\n font-size: 25px;\n}\n\n.dashboard-title h3 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin: 0;\n cursor: pointer;\n}\n\n.dashboard-title h3:hover {\n text-decoration: underline;\n}\n\n.dashboard-header {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n\n::ng-deep .dashboard-header .k-button-solid-base {\n border: 1px solid var(--border-blue) !important;\n color: var(--border-blue) !important;\n border-radius: 10px;\n line-height: 34px;\n background: var(--white-color);\n}\n\n::ng-deep .dashboard-header .k-button-solid-primary {\n background: var(--border-blue) !important;\n color: var(--white-color) !important;\n border-radius: 10px;\n line-height: 34px;\n border-color: var(--border-blue);\n}\n\n::ng-deep .dashboard-header .btn-ref .k-button-text {\n display: flex;\n gap: 10px;\n}\n\n.dashboard-header .btn-ref {\n border: none;\n background: transparent;\n}\n\n.main-head-dashboard {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 20px;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.tile-resource-container {\n margin-top: 20px;\n padding: 15px;\n border-radius: 8px;\n background-color: #f9f9f9;\n}\n\n.tile-resource-container .k-tilelayout {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 10px;\n}\n\n/* Dashboard item styling */\n::ng-deep kendo-tilelayout-item {\n border-radius: 6px;\n overflow: hidden;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin: 5px;\n}\n\n.bg-light-grey {\n background-color: #f0f0f0;\n}\n\n.bg-dark-grey {\n background-color: #5a5a5a;\n color: white;\n}\n\n.bg-blue {\n background-color: #4250AD;\n color: white;\n}\n\n.dashboard-item-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 15px;\n font-weight: 500;\n}\n\n.dashboard-item-header i {\n margin-right: 8px;\n}\n\n.button-spacing {\n margin-right: 8px;\n}\n\n.btn-wrapper {\n display: flex;\n gap: 5px;\n}\n\n.btn-wrapper > button {\n margin-left: 5px;\n}\n\n/* Empty dashboard state */\n.empty-dashboard {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px;\n text-align: center;\n color: #666;\n background-color: #f9f9f9;\n border-radius: 8px;\n margin-top: 20px;\n}\n\n.empty-dashboard i {\n font-size: 48px;\n margin-bottom: 20px;\n color: #ccc;\n}\n\n.empty-dashboard h3 {\n margin-bottom: 10px;\n}\n\n.empty-dashboard p {\n margin-bottom: 20px;\n}"] }]
|
|
451
507
|
}], () => [{ type: i1.ActivatedRoute }, { type: i2.SharedService }], { dashboardNameInput: [{
|
|
452
508
|
type: ViewChild,
|
|
453
509
|
args: ['dashboardNameInput']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-dashboard.component.js","sourceRoot":"","sources":["../../../src/lib/single-dashboard/single-dashboard.component.ts","../../../src/lib/single-dashboard/single-dashboard.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAc,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;;;;;;;;;;ICP7C,+CAAsH;IAAtE,2NAAW,0BAAmB,KAAC;IAAuC,iBAAsB;;;IAA5D,0DAAqC;;;;IAEnH,AADF,2BAAgC,6BACmI;IAA/B,AAArE,AAAzC,0MAAW,mCAA4B,KAAC,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E,CAAC;IACtC,CAAC;IACD;QAWA,mBAAc,GAAY,KAAK,CAAC;QAV9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;IACzC,CAAC;;AANc,0BAAY,GAAW,CAAC,AAAZ,CAAa"}
|
|
1
|
+
{"version":3,"file":"single-dashboard.component.js","sourceRoot":"","sources":["../../../src/lib/single-dashboard/single-dashboard.component.ts","../../../src/lib/single-dashboard/single-dashboard.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAc,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;;;;;;;;;;ICP7C,+CAAsH;IAAtE,2NAAW,0BAAmB,KAAC;IAAuC,iBAAsB;;;IAA5D,0DAAqC;;;;IAEnH,AADF,2BAAgC,6BACmI;IAA/B,AAArE,AAAzC,0MAAW,mCAA4B,KAAC,2MAAmB,sBAAe,KAAC,2LAA6C,0BAAmB,KAAC;IAClK,AADmK,iBAAqB,EAClL;;;IAD4F,cAAe;IAAC,AAAhB,oCAAe,yBAAkB;;;;IAGnI,kDAA2L;IAAvC,AAApD,yPAAuB,kCAA2B,KAAC,8MAAY,iCAA0B,KAAC;IAAC,iBAAyB;;;IAA5J,4DAAuC;;;;IAMvF,AADF,+BAAiJ,mBACkD;IAA1H,mMAAiB,0BAAmB,KAAC;IAA5G,iBAAiM;IACjM,wCAA4C;IAA9B,0LAAS,0BAAmB,KAAC;IACzC,2BAAqE;IACrE,sBACF;IAAA,iBAAe;IACf,wCAA4C;IAA9B,0LAAS,yBAAkB,KAAC;IACxC,2BAAuC;IACvC,wBACF;IACF,AADE,iBAAe,EACX;;;;IAEJ,2BAAqC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;QACE,YAAO,GAAW,CAAC,CAAC;QACpB,cAAS,GAAW,GAAG,CAAC;QACxB,cAAS,GAAY,IAAI,CAAC;QAC1B,gBAAW,GAAY,IAAI,CAAC;IAC9B,CAAC;CAAA;AAED,MAAM,OAAO,aAAa;IAEhB,eAAe;QACrB,OAAO,aAAa,CAAC,YAAY,EAAE,CAAC;IACtC,CAAC;IACD;QAWA,mBAAc,GAAY,KAAK,CAAC;QAV9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;IACzC,CAAC;;AANc,0BAAY,GAAW,CAAC,AAAZ,CAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-explorer-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "MemberJunction Explorer: Core Angular Components",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -26,29 +26,29 @@
|
|
|
26
26
|
"@angular/router": "18.0.2"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@memberjunction/global": "2.
|
|
30
|
-
"@memberjunction/core": "2.
|
|
31
|
-
"@memberjunction/core-entities": "2.
|
|
32
|
-
"@memberjunction/entity-communications-client": "2.
|
|
33
|
-
"@memberjunction/communication-types": "2.
|
|
34
|
-
"@memberjunction/templates-base-types": "2.
|
|
35
|
-
"@memberjunction/ng-compare-records": "2.
|
|
36
|
-
"@memberjunction/ng-file-storage": "2.
|
|
37
|
-
"@memberjunction/ng-record-changes": "2.
|
|
38
|
-
"@memberjunction/ng-container-directives": "2.
|
|
39
|
-
"@memberjunction/ng-user-view-grid": "2.
|
|
40
|
-
"@memberjunction/ng-query-grid": "2.
|
|
41
|
-
"@memberjunction/ng-user-view-properties": "2.
|
|
42
|
-
"@memberjunction/ng-shared": "2.
|
|
43
|
-
"@memberjunction/ng-tabstrip": "2.
|
|
44
|
-
"@memberjunction/ng-skip-chat": "2.
|
|
45
|
-
"@memberjunction/ng-ask-skip": "2.
|
|
46
|
-
"@memberjunction/ng-auth-services": "2.
|
|
47
|
-
"@memberjunction/ng-explorer-settings": "2.
|
|
48
|
-
"@memberjunction/ng-base-forms": "2.
|
|
49
|
-
"@memberjunction/ng-entity-form-dialog": "2.
|
|
50
|
-
"@memberjunction/ng-record-selector": "2.
|
|
51
|
-
"@memberjunction/ng-resource-permissions": "2.
|
|
29
|
+
"@memberjunction/global": "2.33.0",
|
|
30
|
+
"@memberjunction/core": "2.33.0",
|
|
31
|
+
"@memberjunction/core-entities": "2.33.0",
|
|
32
|
+
"@memberjunction/entity-communications-client": "2.33.0",
|
|
33
|
+
"@memberjunction/communication-types": "2.33.0",
|
|
34
|
+
"@memberjunction/templates-base-types": "2.33.0",
|
|
35
|
+
"@memberjunction/ng-compare-records": "2.33.0",
|
|
36
|
+
"@memberjunction/ng-file-storage": "2.33.0",
|
|
37
|
+
"@memberjunction/ng-record-changes": "2.33.0",
|
|
38
|
+
"@memberjunction/ng-container-directives": "2.33.0",
|
|
39
|
+
"@memberjunction/ng-user-view-grid": "2.33.0",
|
|
40
|
+
"@memberjunction/ng-query-grid": "2.33.0",
|
|
41
|
+
"@memberjunction/ng-user-view-properties": "2.33.0",
|
|
42
|
+
"@memberjunction/ng-shared": "2.33.0",
|
|
43
|
+
"@memberjunction/ng-tabstrip": "2.33.0",
|
|
44
|
+
"@memberjunction/ng-skip-chat": "2.33.0",
|
|
45
|
+
"@memberjunction/ng-ask-skip": "2.33.0",
|
|
46
|
+
"@memberjunction/ng-auth-services": "2.33.0",
|
|
47
|
+
"@memberjunction/ng-explorer-settings": "2.33.0",
|
|
48
|
+
"@memberjunction/ng-base-forms": "2.33.0",
|
|
49
|
+
"@memberjunction/ng-entity-form-dialog": "2.33.0",
|
|
50
|
+
"@memberjunction/ng-record-selector": "2.33.0",
|
|
51
|
+
"@memberjunction/ng-resource-permissions": "2.33.0",
|
|
52
52
|
"@progress/kendo-angular-grid": "16.2.0",
|
|
53
53
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
54
54
|
"@progress/kendo-angular-listview": "16.2.0",
|