@memberjunction/ng-explorer-core 1.5.1 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-routing.module.d.ts +3 -2
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +37 -11
- package/dist/lib/app-view/application-view.component.js +12 -11
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js +2 -2
- package/dist/lib/data-browser-component/data-browser.component.js +8 -8
- package/dist/lib/expansion-panel-component/expansion-panel-component.js +2 -2
- package/dist/lib/favorites/favorites.component.js +7 -7
- package/dist/lib/generic/form-toolbar.js +17 -17
- package/dist/lib/generic-browse-list/generic-browse-list.component.js +9 -9
- package/dist/lib/generic-browser-list/generic-browser-list.component.js +79 -79
- package/dist/lib/header/header.component.js +15 -14
- package/dist/lib/home-component/home.component.js +1 -1
- package/dist/lib/list-view/list-view.component.js +22 -22
- package/dist/lib/navigation/navigation.component.js +45 -45
- package/dist/lib/query-browser-component/query-browser.component.js +2 -2
- package/dist/lib/report-browser-component/report-browser.component.js +2 -2
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/query-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/report-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js +2 -2
- package/dist/lib/single-application/single-application.component.js +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +21 -21
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js +6 -6
- package/dist/lib/single-dashboard/single-dashboard.component.js +79 -78
- package/dist/lib/single-entity/single-entity.component.js +18 -18
- package/dist/lib/single-list-detail/single-list-detail.component.js +24 -24
- package/dist/lib/single-query/single-query.component.js +2 -2
- package/dist/lib/single-report/single-report.component.js +3 -3
- package/dist/lib/single-view/single-view.component.js +5 -5
- package/dist/lib/user-notifications/user-notifications.component.js +50 -50
- package/package.json +34 -34
|
@@ -58,7 +58,7 @@ let EntityRecordResource = EntityRecordResource_1 = class EntityRecordResource e
|
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
EntityRecordResource.ɵfac = /*@__PURE__*/ (() => { let ɵEntityRecordResource_BaseFactory; return function EntityRecordResource_Factory(t) { return (ɵEntityRecordResource_BaseFactory || (ɵEntityRecordResource_BaseFactory = i0.ɵɵgetInheritedFactory(EntityRecordResource)))(t || EntityRecordResource); }; })();
|
|
61
|
-
EntityRecordResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityRecordResource, selectors: [["mj-record-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 3, consts: [["mjFillContainer", "", 3, "
|
|
61
|
+
EntityRecordResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityRecordResource, selectors: [["mj-record-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 3, consts: [["mjFillContainer", "", 3, "loadComplete", "recordSaved", "PrimaryKey", "entityName", "newRecordValues"]], template: function EntityRecordResource_Template(rf, ctx) { if (rf & 1) {
|
|
62
62
|
i0.ɵɵelementStart(0, "mj-single-record", 0);
|
|
63
63
|
i0.ɵɵlistener("loadComplete", function EntityRecordResource_Template_mj_single_record_loadComplete_0_listener() { return ctx.NotifyLoadComplete(); })("recordSaved", function EntityRecordResource_Template_mj_single_record_recordSaved_0_listener($event) { return ctx.ResourceRecordSaved($event); });
|
|
64
64
|
i0.ɵɵelementEnd();
|
|
@@ -35,7 +35,7 @@ let ReportResource = class ReportResource extends BaseResourceComponent {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
ReportResource.ɵfac = /*@__PURE__*/ (() => { let ɵReportResource_BaseFactory; return function ReportResource_Factory(t) { return (ɵReportResource_BaseFactory || (ɵReportResource_BaseFactory = i0.ɵɵgetInheritedFactory(ReportResource)))(t || ReportResource); }; })();
|
|
38
|
-
ReportResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReportResource, selectors: [["mj-report-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "
|
|
38
|
+
ReportResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReportResource, selectors: [["mj-report-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "loadComplete", "loadStarted", "reportId"]], template: function ReportResource_Template(rf, ctx) { if (rf & 1) {
|
|
39
39
|
i0.ɵɵelementStart(0, "mj-single-report", 0);
|
|
40
40
|
i0.ɵɵlistener("loadComplete", function ReportResource_Template_mj_single_report_loadComplete_0_listener() { return ctx.NotifyLoadComplete(); })("loadStarted", function ReportResource_Template_mj_single_report_loadStarted_0_listener() { return ctx.NotifyLoadStarted(); });
|
|
41
41
|
i0.ɵɵelementEnd();
|
|
@@ -31,7 +31,7 @@ let SearchResultsResource = class SearchResultsResource extends BaseResourceComp
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
SearchResultsResource.ɵfac = /*@__PURE__*/ (() => { let ɵSearchResultsResource_BaseFactory; return function SearchResultsResource_Factory(t) { return (ɵSearchResultsResource_BaseFactory || (ɵSearchResultsResource_BaseFactory = i0.ɵɵgetInheritedFactory(SearchResultsResource)))(t || SearchResultsResource); }; })();
|
|
34
|
-
SearchResultsResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultsResource, selectors: [["mj-search-results-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 2, consts: [[3, "
|
|
34
|
+
SearchResultsResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultsResource, selectors: [["mj-search-results-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 2, consts: [[3, "loadComplete", "loadStarted", "entity", "searchInput"]], template: function SearchResultsResource_Template(rf, ctx) { if (rf & 1) {
|
|
35
35
|
i0.ɵɵelementStart(0, "mj-single-search-result", 0);
|
|
36
36
|
i0.ɵɵlistener("loadComplete", function SearchResultsResource_Template_mj_single_search_result_loadComplete_0_listener() { return ctx.NotifyLoadComplete(); })("loadStarted", function SearchResultsResource_Template_mj_single_search_result_loadStarted_0_listener() { return ctx.NotifyLoadStarted(); });
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
@@ -24,8 +24,8 @@ export function LoadViewResource() {
|
|
|
24
24
|
}
|
|
25
25
|
let UserViewResource = class UserViewResource extends BaseResourceComponent {
|
|
26
26
|
GetResourceDisplayName(data) {
|
|
27
|
-
var _a, _b, _c;
|
|
28
27
|
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
var _a, _b, _c;
|
|
29
29
|
const md = new Metadata();
|
|
30
30
|
if (data.ResourceRecordID > 0) {
|
|
31
31
|
let compositeKey = new CompositeKey([{ FieldName: "ID", Value: data.ResourceRecordID }]);
|
|
@@ -41,7 +41,7 @@ let UserViewResource = class UserViewResource extends BaseResourceComponent {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
UserViewResource.ɵfac = /*@__PURE__*/ (() => { let ɵUserViewResource_BaseFactory; return function UserViewResource_Factory(t) { return (ɵUserViewResource_BaseFactory || (ɵUserViewResource_BaseFactory = i0.ɵɵgetInheritedFactory(UserViewResource)))(t || UserViewResource); }; })();
|
|
44
|
-
UserViewResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewResource, selectors: [["mj-userview-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 4, consts: [[3, "viewId", "viewName", "entityName", "extraFilter"
|
|
44
|
+
UserViewResource.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewResource, selectors: [["mj-userview-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 4, consts: [[3, "loadComplete", "viewId", "viewName", "entityName", "extraFilter"]], template: function UserViewResource_Template(rf, ctx) { if (rf & 1) {
|
|
45
45
|
i0.ɵɵelementStart(0, "mj-single-view", 0);
|
|
46
46
|
i0.ɵɵlistener("loadComplete", function UserViewResource_Template_mj_single_view_loadComplete_0_listener() { return ctx.NotifyLoadComplete(); });
|
|
47
47
|
i0.ɵɵelementEnd();
|
|
@@ -58,7 +58,7 @@ export class SingleApplicationComponent {
|
|
|
58
58
|
SingleApplicationComponent.ɵfac = function SingleApplicationComponent_Factory(t) { return new (t || SingleApplicationComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.SharedService)); };
|
|
59
59
|
SingleApplicationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleApplicationComponent, selectors: [["mj-single-application"]], decls: 1, vars: 0, template: function SingleApplicationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
60
|
i0.ɵɵelement(0, "application-view");
|
|
61
|
-
} }, dependencies: [i3.ApplicationViewComponent], styles: [".app-container[_ngcontent-%COMP%] {\n margin: 10px;\n}\n\n .entity-list[_ngcontent-%COMP%] {\n width: 500px;\n }\n .favorites-list[_ngcontent-%COMP%] {\n width: 400px;\n }", ".main-area[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view[_ngcontent-%COMP%] {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n .list-view .k-listview-header,
|
|
61
|
+
} }, dependencies: [i3.ApplicationViewComponent], styles: [".app-container[_ngcontent-%COMP%] {\n margin: 10px;\n}\n\n .entity-list[_ngcontent-%COMP%] {\n width: 500px;\n }\n .favorites-list[_ngcontent-%COMP%] {\n width: 400px;\n }", ".main-area[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view[_ngcontent-%COMP%] {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n .list-view .k-listview-header, \n .list-view .k-listview-footer {\n border: none;\n}\n .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[_ngcontent-%COMP%], \n.footer[_ngcontent-%COMP%] {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header[_ngcontent-%COMP%] {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header[_ngcontent-%COMP%] .head-tag[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .count[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%] {\n color: var(--sideNav);\n}\n.card-wrapper[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper[_ngcontent-%COMP%] .k-card-body[_ngcontent-%COMP%] {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper[_ngcontent-%COMP%] .view-card[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .btn-wrapper[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n}\n\n.k-card-body[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .view-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity[_ngcontent-%COMP%] .title-wrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\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[_ngcontent-%COMP%] .card-list[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}"] });
|
|
62
62
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SingleApplicationComponent, [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{ selector: 'mj-single-application', template: "<application-view/>\n", styles: [".app-container {\n margin: 10px;\n}\n\n .entity-list {\n width: 500px;\n }\n .favorites-list {\n width: 400px;\n }", "\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"] }]
|
|
@@ -21,56 +21,56 @@ import * as i5 from "@progress/kendo-angular-buttons";
|
|
|
21
21
|
import * as i6 from "@progress/kendo-angular-label";
|
|
22
22
|
import * as i7 from "@progress/kendo-angular-dropdowns";
|
|
23
23
|
function AddItemComponent_ng_container_7_kendo_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
const
|
|
24
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
25
25
|
i0.ɵɵelementStart(0, "kendo-label", 15);
|
|
26
26
|
i0.ɵɵelement(1, "br");
|
|
27
27
|
i0.ɵɵelementStart(2, "kendo-dropdownlist", 12);
|
|
28
|
-
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_7_kendo_label_4_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
29
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_7_kendo_label_4_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
28
|
+
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)); });
|
|
29
|
+
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_7_kendo_label_4_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedView, $event) || (ctx_r1.selectedView = $event); return i0.ɵɵresetView($event); });
|
|
30
30
|
i0.ɵɵelementEnd()();
|
|
31
31
|
} if (rf & 2) {
|
|
32
|
-
const
|
|
32
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
33
33
|
i0.ɵɵadvance(2);
|
|
34
|
-
i0.ɵɵproperty("data",
|
|
35
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
34
|
+
i0.ɵɵproperty("data", ctx_r1.Views)("textField", "Name")("valueField", "ID");
|
|
35
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedView);
|
|
36
36
|
} }
|
|
37
37
|
function AddItemComponent_ng_container_7_kendo_loader_5_Template(rf, ctx) { if (rf & 1) {
|
|
38
38
|
i0.ɵɵelement(0, "kendo-loader", 16);
|
|
39
39
|
} }
|
|
40
40
|
function AddItemComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
const
|
|
41
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
42
42
|
i0.ɵɵelementContainerStart(0);
|
|
43
43
|
i0.ɵɵelementStart(1, "kendo-label", 11);
|
|
44
44
|
i0.ɵɵelement(2, "br");
|
|
45
45
|
i0.ɵɵelementStart(3, "kendo-dropdownlist", 12);
|
|
46
|
-
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_7_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(
|
|
47
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_7_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(
|
|
46
|
+
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
|
+
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
48
|
i0.ɵɵelementEnd()();
|
|
49
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);
|
|
50
50
|
i0.ɵɵelementContainerEnd();
|
|
51
51
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
52
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
53
|
i0.ɵɵadvance(3);
|
|
54
|
-
i0.ɵɵproperty("data",
|
|
55
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
54
|
+
i0.ɵɵproperty("data", ctx_r1.Entities)("textField", "Name")("valueField", "ID");
|
|
55
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedEntity);
|
|
56
56
|
i0.ɵɵadvance();
|
|
57
|
-
i0.ɵɵproperty("ngIf",
|
|
57
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && ctx_r1.Views.length);
|
|
58
58
|
i0.ɵɵadvance();
|
|
59
|
-
i0.ɵɵproperty("ngIf",
|
|
59
|
+
i0.ɵɵproperty("ngIf", ctx_r1.selectedEntity && !ctx_r1.Views.length);
|
|
60
60
|
} }
|
|
61
61
|
function AddItemComponent_ng_container_8_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
-
const
|
|
62
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
63
63
|
i0.ɵɵelementStart(0, "kendo-label", 18);
|
|
64
64
|
i0.ɵɵelement(1, "br");
|
|
65
65
|
i0.ɵɵelementStart(2, "kendo-dropdownlist", 12);
|
|
66
|
-
i0.ɵɵlistener("valueChange", function AddItemComponent_ng_container_8_kendo_label_1_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
67
|
-
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_8_kendo_label_1_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
66
|
+
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)); });
|
|
67
|
+
i0.ɵɵtwoWayListener("ngModelChange", function AddItemComponent_ng_container_8_kendo_label_1_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedReport, $event) || (ctx_r1.selectedReport = $event); return i0.ɵɵresetView($event); });
|
|
68
68
|
i0.ɵɵelementEnd()();
|
|
69
69
|
} if (rf & 2) {
|
|
70
|
-
const
|
|
70
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
71
71
|
i0.ɵɵadvance(2);
|
|
72
|
-
i0.ɵɵproperty("data",
|
|
73
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
72
|
+
i0.ɵɵproperty("data", ctx_r1.Reports)("textField", "Name")("valueField", "ID");
|
|
73
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.selectedReport);
|
|
74
74
|
} }
|
|
75
75
|
function AddItemComponent_ng_container_8_kendo_loader_2_Template(rf, ctx) { if (rf & 1) {
|
|
76
76
|
i0.ɵɵelement(0, "kendo-loader", 16);
|
|
@@ -173,7 +173,7 @@ export class AddItemComponent {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
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, "width", "minHeight", "minWidth", "resizable"
|
|
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"], ["fillMode", "outline", "themeColor", "info", "kendoButton", "", 3, "click"], [1, "fa-solid", "fa-check"], ["themeColor", "info", "kendoButton", "", 3, "click"], ["text", "Entity"], [3, "valueChange", "ngModelChange", "data", "textField", "valueField", "ngModel"], ["text", "Views", 4, "ngIf"], ["type", "converging-spinner", 4, "ngIf"], ["text", "Views"], ["type", "converging-spinner"], ["text", "Reports", 4, "ngIf"], ["text", "Reports"]], template: function AddItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
177
177
|
i0.ɵɵelement(0, "div", 0);
|
|
178
178
|
i0.ɵɵelementStart(1, "kendo-window", 1);
|
|
179
179
|
i0.ɵɵlistener("close", function AddItemComponent_Template_kendo_window_close_1_listener() { return ctx.closeDialog(); });
|
|
@@ -17,20 +17,20 @@ import * as i2 from "@progress/kendo-angular-dialog";
|
|
|
17
17
|
import * as i3 from "@progress/kendo-angular-buttons";
|
|
18
18
|
import * as i4 from "@progress/kendo-angular-layout";
|
|
19
19
|
function EditDashboardComponent_kendo_tilelayout_item_9_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
const
|
|
20
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
21
|
i0.ɵɵelementStart(0, "kendo-tilelayout-item", 15)(1, "kendo-tilelayout-item-header");
|
|
22
22
|
i0.ɵɵtext(2);
|
|
23
23
|
i0.ɵɵelementStart(3, "kendo-button", 16);
|
|
24
|
-
i0.ɵɵlistener("click", function EditDashboardComponent_kendo_tilelayout_item_9_Template_kendo_button_click_3_listener() { const
|
|
24
|
+
i0.ɵɵlistener("click", function EditDashboardComponent_kendo_tilelayout_item_9_Template_kendo_button_click_3_listener() { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.removeItem(item_r2)); });
|
|
25
25
|
i0.ɵɵtext(4, "X");
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
i0.ɵɵelement(5, "kendo-tilelayout-item-body");
|
|
28
28
|
i0.ɵɵelementEnd();
|
|
29
29
|
} if (rf & 2) {
|
|
30
|
-
const
|
|
31
|
-
i0.ɵɵproperty("col",
|
|
30
|
+
const item_r2 = ctx.$implicit;
|
|
31
|
+
i0.ɵɵproperty("col", item_r2.col)("colSpan", item_r2.colSpan)("rowSpan", item_r2.rowSpan)("id", item_r2.uniqueId);
|
|
32
32
|
i0.ɵɵadvance(2);
|
|
33
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
33
|
+
i0.ɵɵtextInterpolate1(" ", item_r2.title, " ");
|
|
34
34
|
} }
|
|
35
35
|
export class EditDashboardComponent {
|
|
36
36
|
constructor() {
|
|
@@ -116,7 +116,7 @@ export class EditDashboardComponent {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
EditDashboardComponent.ɵfac = function EditDashboardComponent_Factory(t) { return new (t || EditDashboardComponent)(); };
|
|
119
|
-
EditDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditDashboardComponent, selectors: [["app-edit-dashboard"]], inputs: { editMode: "editMode", config: "config", items: "items" }, outputs: { onSave: "onSave", onClose: "onClose", triggerAddItem: "triggerAddItem" }, decls: 18, vars: 13, consts: [[1, "k-overlay"], ["title", "Customize Dashboard", 1, "kendo-window-hide-restore", 3, "width", "minHeight", "minWidth", "resizable", "state"
|
|
119
|
+
EditDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditDashboardComponent, selectors: [["app-edit-dashboard"]], inputs: { editMode: "editMode", config: "config", items: "items" }, outputs: { onSave: "onSave", onClose: "onClose", triggerAddItem: "triggerAddItem" }, decls: 18, vars: 13, consts: [[1, "k-overlay"], ["title", "Customize Dashboard", 1, "kendo-window-hide-restore", 3, "close", "width", "minHeight", "minWidth", "resizable", "state"], [1, "k-d-flex", "k-flex-col", "k-justify-content-between", "k-h-full", "custom-dialog-body"], [1, "dialog-content"], [1, "dialog-actions"], ["themeColor", "primary", 1, "k-m-2", 3, "itemClick", "data", "textField"], [1, "fa-solid", "fa-plus"], [3, "resize", "reorder", "columns", "rowHeight", "resizable", "reorderable"], [3, "col", "colSpan", "rowSpan", "id", 4, "ngFor", "ngForOf"], [1, "dialog-footer"], [1, "k-card-footer", "!k-border-none"], [3, "click"], [1, "fa-solid", "fa-xmark"], [3, "click", "primary"], [1, "fa-solid", "fa-check"], [3, "col", "colSpan", "rowSpan", "id"], [1, "k-float-right", 3, "click"]], template: function EditDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
120
120
|
i0.ɵɵelement(0, "div", 0);
|
|
121
121
|
i0.ɵɵelementStart(1, "kendo-window", 1);
|
|
122
122
|
i0.ɵɵlistener("close", function EditDashboardComponent_Template_kendo_window_close_1_listener($event) { return ctx.closeDialog($event); });
|
|
@@ -16,124 +16,124 @@ import * as i1 from "@angular/router";
|
|
|
16
16
|
import * as i2 from "@memberjunction/ng-shared";
|
|
17
17
|
const _c0 = ["dashboardNameInput"];
|
|
18
18
|
const _forTrack0 = ($index, $item) => $item.uniqueId;
|
|
19
|
+
const _c1 = a0 => [a0];
|
|
20
|
+
const _c2 = a0 => ["dashboard-item-header", a0];
|
|
19
21
|
function SingleDashboardComponent_app_add_item_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
const
|
|
21
|
-
i0.ɵɵelementStart(0, "app-add-item-dialog",
|
|
22
|
-
i0.ɵɵlistener("onClose", function SingleDashboardComponent_app_add_item_dialog_0_Template_app_add_item_dialog_onClose_0_listener($event) { i0.ɵɵrestoreView(
|
|
22
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
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(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.closeDialog($event)); });
|
|
23
25
|
i0.ɵɵelementEnd();
|
|
24
26
|
} if (rf & 2) {
|
|
25
|
-
const
|
|
26
|
-
i0.ɵɵproperty("selectedResource",
|
|
27
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
28
|
+
i0.ɵɵproperty("selectedResource", ctx_r2.selectedResource);
|
|
27
29
|
} }
|
|
28
30
|
function SingleDashboardComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
const
|
|
30
|
-
i0.ɵɵelementStart(0, "div")(1, "app-edit-dashboard",
|
|
31
|
-
i0.ɵɵlistener("onClose", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_onClose_1_listener($event) { i0.ɵɵrestoreView(
|
|
31
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
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(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.closeDashboardDialog($event)); })("triggerAddItem", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_triggerAddItem_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.addItem($event)); })("onSave", function SingleDashboardComponent_div_1_Template_app_edit_dashboard_onSave_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveChanges($event)); });
|
|
32
34
|
i0.ɵɵelementEnd()();
|
|
33
35
|
} if (rf & 2) {
|
|
34
|
-
const
|
|
36
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
35
37
|
i0.ɵɵadvance();
|
|
36
|
-
i0.ɵɵproperty("items",
|
|
38
|
+
i0.ɵɵproperty("items", ctx_r2.items)("config", ctx_r2.config);
|
|
37
39
|
} }
|
|
38
40
|
function SingleDashboardComponent_app_delete_item_dialog_2_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
const
|
|
40
|
-
i0.ɵɵelementStart(0, "app-delete-item-dialog",
|
|
41
|
-
i0.ɵɵlistener("removeDashboardItem", function SingleDashboardComponent_app_delete_item_dialog_2_Template_app_delete_item_dialog_removeDashboardItem_0_listener($event) { i0.ɵɵrestoreView(
|
|
41
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
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(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.deleteDashboardItem($event)); })("onClose", function SingleDashboardComponent_app_delete_item_dialog_2_Template_app_delete_item_dialog_onClose_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.closeDeleteItemComponent()); });
|
|
42
44
|
i0.ɵɵelementEnd();
|
|
43
45
|
} if (rf & 2) {
|
|
44
46
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
45
47
|
i0.ɵɵproperty("dashboardItem", ctx_r2.selectedDashboardItem);
|
|
46
48
|
} }
|
|
47
49
|
function SingleDashboardComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
-
const
|
|
49
|
-
i0.ɵɵelementStart(0, "div",
|
|
50
|
-
i0.ɵɵlistener("keydown.enter", function SingleDashboardComponent_div_6_Template_input_keydown_enter_1_listener() { i0.ɵɵrestoreView(
|
|
50
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
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(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveDashboardName()); });
|
|
51
53
|
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵelementStart(3, "kendo-button",
|
|
53
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
54
|
-
i0.ɵɵelement(4, "span",
|
|
54
|
+
i0.ɵɵelementStart(3, "kendo-button", 19);
|
|
55
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveDashboardName()); });
|
|
56
|
+
i0.ɵɵelement(4, "span", 20);
|
|
55
57
|
i0.ɵɵelementEnd();
|
|
56
|
-
i0.ɵɵelementStart(5, "kendo-button",
|
|
57
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_5_listener() { i0.ɵɵrestoreView(
|
|
58
|
-
i0.ɵɵelement(6, "span",
|
|
58
|
+
i0.ɵɵelementStart(5, "kendo-button", 19);
|
|
59
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_6_Template_kendo_button_click_5_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.cancelNameChange()); });
|
|
60
|
+
i0.ɵɵelement(6, "span", 21);
|
|
59
61
|
i0.ɵɵelementEnd()();
|
|
60
62
|
} }
|
|
61
63
|
function SingleDashboardComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
-
const
|
|
63
|
-
i0.ɵɵelement(0, "span",
|
|
64
|
-
i0.ɵɵelementStart(1, "h3",
|
|
65
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_7_Template_h3_click_1_listener() { i0.ɵɵrestoreView(
|
|
64
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
65
|
+
i0.ɵɵelement(0, "span", 22);
|
|
66
|
+
i0.ɵɵelementStart(1, "h3", 19);
|
|
67
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_7_Template_h3_click_1_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleInlineNameEdit(true)); });
|
|
66
68
|
i0.ɵɵtext(2);
|
|
67
69
|
i0.ɵɵelementEnd();
|
|
68
70
|
} if (rf & 2) {
|
|
69
|
-
const
|
|
71
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
70
72
|
i0.ɵɵadvance(2);
|
|
71
|
-
i0.ɵɵtextInterpolate(
|
|
73
|
+
i0.ɵɵtextInterpolate(ctx_r2.dashboardEntity ? ctx_r2.dashboardEntity.Name : "");
|
|
72
74
|
} }
|
|
73
75
|
function SingleDashboardComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
const
|
|
75
|
-
i0.ɵɵelementStart(0, "div")(1, "kendo-button",
|
|
76
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
77
|
-
i0.ɵɵelement(2, "span",
|
|
76
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
77
|
+
i0.ɵɵelementStart(0, "div")(1, "kendo-button", 19);
|
|
78
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onClickSaveDashboard()); });
|
|
79
|
+
i0.ɵɵelement(2, "span", 23);
|
|
78
80
|
i0.ɵɵtext(3, " Save ");
|
|
79
81
|
i0.ɵɵelementEnd();
|
|
80
|
-
i0.ɵɵelementStart(4, "kendo-button",
|
|
81
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_4_listener() { i0.ɵɵrestoreView(
|
|
82
|
-
i0.ɵɵelement(5, "span",
|
|
82
|
+
i0.ɵɵelementStart(4, "kendo-button", 19);
|
|
83
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_div_10_Template_kendo_button_click_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onclickCancelChanges()); });
|
|
84
|
+
i0.ɵɵelement(5, "span", 24);
|
|
83
85
|
i0.ɵɵtext(6, " Cancel ");
|
|
84
86
|
i0.ɵɵelementEnd()();
|
|
85
87
|
} }
|
|
86
88
|
function SingleDashboardComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
-
const
|
|
88
|
-
i0.ɵɵelementStart(0, "kendo-button",
|
|
89
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
90
|
-
i0.ɵɵelement(1, "span",
|
|
89
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
90
|
+
i0.ɵɵelementStart(0, "kendo-button", 19);
|
|
91
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.addItem()); });
|
|
92
|
+
i0.ɵɵelement(1, "span", 25);
|
|
91
93
|
i0.ɵɵtext(2, " Add Item ");
|
|
92
94
|
i0.ɵɵelementEnd();
|
|
93
|
-
i0.ɵɵelementStart(3, "kendo-button",
|
|
94
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
95
|
-
i0.ɵɵelement(4, "span",
|
|
95
|
+
i0.ɵɵelementStart(3, "kendo-button", 19);
|
|
96
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_ng_template_11_Template_kendo_button_click_3_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleEditDashboard(true)); });
|
|
97
|
+
i0.ɵɵelement(4, "span", 26);
|
|
96
98
|
i0.ɵɵtext(5, " Edit Dashboard ");
|
|
97
99
|
i0.ɵɵelementEnd();
|
|
98
100
|
} }
|
|
99
101
|
function SingleDashboardComponent_For_16_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
-
const
|
|
101
|
-
i0.ɵɵelementStart(0, "div")(1, "div",
|
|
102
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_For_16_Conditional_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(
|
|
103
|
-
i0.ɵɵelement(3, "span",
|
|
102
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
103
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 30)(2, "button", 31);
|
|
104
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_For_16_Conditional_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.toggleEditDashboard(true)); });
|
|
105
|
+
i0.ɵɵelement(3, "span", 32);
|
|
104
106
|
i0.ɵɵelementEnd();
|
|
105
|
-
i0.ɵɵelementStart(4, "button",
|
|
106
|
-
i0.ɵɵlistener("click", function SingleDashboardComponent_For_16_Conditional_3_Template_button_click_4_listener() { i0.ɵɵrestoreView(
|
|
107
|
-
i0.ɵɵelement(5, "span",
|
|
107
|
+
i0.ɵɵelementStart(4, "button", 31);
|
|
108
|
+
i0.ɵɵlistener("click", function SingleDashboardComponent_For_16_Conditional_3_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const item_r12 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.showConfirmDeleteDashboardItem(item_r12)); });
|
|
109
|
+
i0.ɵɵelement(5, "span", 33);
|
|
108
110
|
i0.ɵɵelementEnd()()();
|
|
109
111
|
} }
|
|
110
|
-
const _c1 = a0 => [a0];
|
|
111
|
-
const _c2 = a1 => ["dashboard-item-header", a1];
|
|
112
112
|
function SingleDashboardComponent_For_16_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
-
const
|
|
114
|
-
i0.ɵɵelementStart(0, "kendo-tilelayout-item",
|
|
115
|
-
i0.ɵɵlistener("mouseenter", function SingleDashboardComponent_For_16_Template_kendo_tilelayout_item_mouseenter_0_listener($event) { i0.ɵɵrestoreView(
|
|
116
|
-
i0.ɵɵelementStart(1, "kendo-tilelayout-item-header",
|
|
113
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
114
|
+
i0.ɵɵelementStart(0, "kendo-tilelayout-item", 27);
|
|
115
|
+
i0.ɵɵlistener("mouseenter", function SingleDashboardComponent_For_16_Template_kendo_tilelayout_item_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onMouseEnter($event)); })("mouseleave", function SingleDashboardComponent_For_16_Template_kendo_tilelayout_item_mouseleave_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onMouseOut($event)); });
|
|
116
|
+
i0.ɵɵelementStart(1, "kendo-tilelayout-item-header", 28);
|
|
117
117
|
i0.ɵɵtext(2);
|
|
118
118
|
i0.ɵɵtemplate(3, SingleDashboardComponent_For_16_Conditional_3_Template, 6, 0, "div");
|
|
119
119
|
i0.ɵɵelementEnd();
|
|
120
|
-
i0.ɵɵelementStart(4, "kendo-tilelayout-item-body",
|
|
121
|
-
i0.ɵɵlistener("ContentLoadingStarted", function SingleDashboardComponent_For_16_Template_mj_resource_ContentLoadingStarted_5_listener($event) { i0.ɵɵrestoreView(
|
|
120
|
+
i0.ɵɵelementStart(4, "kendo-tilelayout-item-body", 28)(5, "mj-resource", 29);
|
|
121
|
+
i0.ɵɵlistener("ContentLoadingStarted", function SingleDashboardComponent_For_16_Template_mj_resource_ContentLoadingStarted_5_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.loadingStarted($event)); })("ContentLoadingComplete", function SingleDashboardComponent_For_16_Template_mj_resource_ContentLoadingComplete_5_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.loadingComplete($event)); });
|
|
122
122
|
i0.ɵɵelementEnd()()();
|
|
123
123
|
} if (rf & 2) {
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1,
|
|
124
|
+
const item_r12 = ctx.$implicit;
|
|
125
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
126
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1, ctx_r2.getSelectedComponentStyle(ctx_r2)))("col", item_r12.col)("colSpan", item_r12.colSpan)("rowSpan", item_r12.rowSpan)("id", item_r12.uniqueId);
|
|
127
127
|
i0.ɵɵadvance();
|
|
128
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2,
|
|
128
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2, ctx_r2.getIsEditingItemHeaderStyle()));
|
|
129
129
|
i0.ɵɵadvance();
|
|
130
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
130
|
+
i0.ɵɵtextInterpolate1(" ", item_r12.title, " ");
|
|
131
131
|
i0.ɵɵadvance();
|
|
132
|
-
i0.ɵɵconditional(
|
|
132
|
+
i0.ɵɵconditional(!ctx_r2.isEditingDashboard ? 3 : -1);
|
|
133
133
|
i0.ɵɵadvance();
|
|
134
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1,
|
|
134
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1, ctx_r2.getIsEditingItemBodyStyle()));
|
|
135
135
|
i0.ɵɵadvance();
|
|
136
|
-
i0.ɵɵproperty("Data",
|
|
136
|
+
i0.ɵɵproperty("Data", item_r12.ResourceData)("isVisible", true);
|
|
137
137
|
} }
|
|
138
138
|
export class SingleDashboardComponent {
|
|
139
139
|
get contentLoading() {
|
|
@@ -414,30 +414,31 @@ SingleDashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Si
|
|
|
414
414
|
} if (rf & 2) {
|
|
415
415
|
let _t;
|
|
416
416
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dashboardNameInput = _t.first);
|
|
417
|
-
} }, inputs: { ResourceData: "ResourceData" }, outputs: { dashboardSaved: "dashboardSaved", loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 17, vars: 11, consts: [[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"], [
|
|
418
|
-
|
|
419
|
-
i0.ɵɵ
|
|
420
|
-
i0.ɵɵ
|
|
417
|
+
} }, inputs: { ResourceData: "ResourceData" }, outputs: { dashboardSaved: "dashboardSaved", loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 17, vars: 11, 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"], [3, "reorder", "resize", "columns", "rowHeight", "resizable", "reorderable"], [3, "ngClass", "col", "colSpan", "rowSpan", "id"], [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"], [3, "mouseenter", "mouseleave", "ngClass", "col", "colSpan", "rowSpan", "id"], [3, "ngClass"], [3, "ContentLoadingStarted", "ContentLoadingComplete", "Data", "isVisible"], [1, "btn-wrapper"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], [1, "fa-solid", "fa-trash"]], template: function SingleDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
418
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
419
|
+
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);
|
|
420
|
+
i0.ɵɵelementStart(3, "div", 6)(4, "div", 7)(5, "div", 8);
|
|
421
|
+
i0.ɵɵtemplate(6, SingleDashboardComponent_div_6_Template, 7, 0, "div", 9)(7, SingleDashboardComponent_ng_template_7_Template, 3, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
421
422
|
i0.ɵɵelementEnd();
|
|
422
|
-
i0.ɵɵelementStart(9, "div",
|
|
423
|
-
i0.ɵɵtemplate(10, SingleDashboardComponent_div_10_Template, 7, 0, "div",
|
|
423
|
+
i0.ɵɵelementStart(9, "div", 10);
|
|
424
|
+
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);
|
|
424
425
|
i0.ɵɵelementEnd()();
|
|
425
|
-
i0.ɵɵelementStart(13, "div",
|
|
426
|
-
i0.ɵɵlistener("reorder", function SingleDashboardComponent_Template_kendo_tilelayout_reorder_14_listener($event) { return ctx.onReorder($event); })("resize", function SingleDashboardComponent_Template_kendo_tilelayout_resize_14_listener($event) { return ctx.onResize($event); });
|
|
427
|
-
i0.ɵɵrepeaterCreate(15, SingleDashboardComponent_For_16_Template, 6, 17, "kendo-tilelayout-item",
|
|
426
|
+
i0.ɵɵelementStart(13, "div", 12)(14, "kendo-tilelayout", 13);
|
|
427
|
+
i0.ɵɵlistener("reorder", function SingleDashboardComponent_Template_kendo_tilelayout_reorder_14_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onReorder($event)); })("resize", function SingleDashboardComponent_Template_kendo_tilelayout_resize_14_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onResize($event)); });
|
|
428
|
+
i0.ɵɵrepeaterCreate(15, SingleDashboardComponent_For_16_Template, 6, 17, "kendo-tilelayout-item", 14, _forTrack0);
|
|
428
429
|
i0.ɵɵelementEnd()()();
|
|
429
430
|
} if (rf & 2) {
|
|
430
|
-
const
|
|
431
|
-
const
|
|
431
|
+
const dashboard_name_header_r13 = i0.ɵɵreference(8);
|
|
432
|
+
const edit_dashboard_buttons_r14 = i0.ɵɵreference(12);
|
|
432
433
|
i0.ɵɵproperty("ngIf", ctx.isItemDialogOpened);
|
|
433
434
|
i0.ɵɵadvance();
|
|
434
435
|
i0.ɵɵproperty("ngIf", ctx.isEditDialogOpened);
|
|
435
436
|
i0.ɵɵadvance();
|
|
436
437
|
i0.ɵɵproperty("ngIf", ctx.isDeletingDashboardItem);
|
|
437
438
|
i0.ɵɵadvance(4);
|
|
438
|
-
i0.ɵɵproperty("ngIf", ctx.isEditDashboardNameDialogOpened)("ngIfElse",
|
|
439
|
+
i0.ɵɵproperty("ngIf", ctx.isEditDashboardNameDialogOpened)("ngIfElse", dashboard_name_header_r13);
|
|
439
440
|
i0.ɵɵadvance(4);
|
|
440
|
-
i0.ɵɵproperty("ngIf", ctx.isEditingDashboard)("ngIfElse",
|
|
441
|
+
i0.ɵɵproperty("ngIf", ctx.isEditingDashboard)("ngIfElse", edit_dashboard_buttons_r14);
|
|
441
442
|
i0.ɵɵadvance(4);
|
|
442
443
|
i0.ɵɵproperty("columns", ctx.config.columns)("rowHeight", ctx.config.rowHeight)("resizable", ctx.allowResize)("reorderable", ctx.allowReorder);
|
|
443
444
|
i0.ɵɵadvance();
|