@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
|
@@ -25,19 +25,19 @@ function SingleEntityComponent_kendo_loader_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
25
25
|
i0.ɵɵelement(0, "kendo-loader", 11);
|
|
26
26
|
} }
|
|
27
27
|
function SingleEntityComponent_div_14_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
const
|
|
28
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
29
29
|
i0.ɵɵelementStart(0, "div")(1, "kendo-card", 14)(2, "kendo-card-header", 15);
|
|
30
30
|
i0.ɵɵelement(3, "span", 16);
|
|
31
31
|
i0.ɵɵelementStart(4, "div", 17)(5, "button", 18);
|
|
32
|
-
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_button_click_5_listener() { const
|
|
32
|
+
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_button_click_5_listener() { const entity_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.editView(entity_r2)); });
|
|
33
33
|
i0.ɵɵelement(6, "span", 19);
|
|
34
34
|
i0.ɵɵelementEnd();
|
|
35
35
|
i0.ɵɵelementStart(7, "button", 18);
|
|
36
|
-
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_button_click_7_listener() { const
|
|
36
|
+
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_button_click_7_listener() { const entity_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleDeleteView(entity_r2)); });
|
|
37
37
|
i0.ɵɵelement(8, "span", 20);
|
|
38
38
|
i0.ɵɵelementEnd()()();
|
|
39
39
|
i0.ɵɵelementStart(9, "kendo-card-body", 21);
|
|
40
|
-
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_kendo_card_body_click_9_listener() { const
|
|
40
|
+
i0.ɵɵlistener("click", function SingleEntityComponent_div_14_div_1_Template_kendo_card_body_click_9_listener() { const entity_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.viewItemClick(entity_r2)); });
|
|
41
41
|
i0.ɵɵelementStart(10, "div", 22)(11, "h5", 23);
|
|
42
42
|
i0.ɵɵtext(12);
|
|
43
43
|
i0.ɵɵelementEnd();
|
|
@@ -45,28 +45,28 @@ function SingleEntityComponent_div_14_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
45
45
|
i0.ɵɵtext(14);
|
|
46
46
|
i0.ɵɵelementEnd()()()()();
|
|
47
47
|
} if (rf & 2) {
|
|
48
|
-
const
|
|
48
|
+
const entity_r2 = ctx.$implicit;
|
|
49
49
|
i0.ɵɵadvance(12);
|
|
50
|
-
i0.ɵɵtextInterpolate(
|
|
50
|
+
i0.ɵɵtextInterpolate(entity_r2.Name);
|
|
51
51
|
i0.ɵɵadvance(2);
|
|
52
|
-
i0.ɵɵtextInterpolate(
|
|
52
|
+
i0.ɵɵtextInterpolate(entity_r2.Description);
|
|
53
53
|
} }
|
|
54
54
|
function SingleEntityComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
55
55
|
i0.ɵɵelementStart(0, "div", 12);
|
|
56
56
|
i0.ɵɵtemplate(1, SingleEntityComponent_div_14_div_1_Template, 15, 2, "div", 13);
|
|
57
57
|
i0.ɵɵelementEnd();
|
|
58
58
|
} if (rf & 2) {
|
|
59
|
-
const
|
|
59
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
60
60
|
i0.ɵɵadvance();
|
|
61
|
-
i0.ɵɵproperty("ngForOf",
|
|
61
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.entityViews);
|
|
62
62
|
} }
|
|
63
63
|
function SingleEntityComponent_kendo_dialog_15_kendo_loader_1_Template(rf, ctx) { if (rf & 1) {
|
|
64
64
|
i0.ɵɵelement(0, "kendo-loader", 11);
|
|
65
65
|
} }
|
|
66
66
|
function SingleEntityComponent_kendo_dialog_15_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
-
const
|
|
67
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
68
68
|
i0.ɵɵelementStart(0, "kendo-dialog", 25);
|
|
69
|
-
i0.ɵɵlistener("close", function SingleEntityComponent_kendo_dialog_15_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(
|
|
69
|
+
i0.ɵɵlistener("close", function SingleEntityComponent_kendo_dialog_15_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleDeleteView()); });
|
|
70
70
|
i0.ɵɵtemplate(1, SingleEntityComponent_kendo_dialog_15_kendo_loader_1_Template, 1, 0, "kendo-loader", 8);
|
|
71
71
|
i0.ɵɵelementStart(2, "div")(3, "p", 26);
|
|
72
72
|
i0.ɵɵtext(4, " Are you sure you want to delete ");
|
|
@@ -76,12 +76,12 @@ function SingleEntityComponent_kendo_dialog_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
76
76
|
i0.ɵɵtext(7, " View? ");
|
|
77
77
|
i0.ɵɵelementEnd();
|
|
78
78
|
i0.ɵɵelementStart(8, "div", 27)(9, "button", 28);
|
|
79
|
-
i0.ɵɵlistener("click", function SingleEntityComponent_kendo_dialog_15_Template_button_click_9_listener() { i0.ɵɵrestoreView(
|
|
79
|
+
i0.ɵɵlistener("click", function SingleEntityComponent_kendo_dialog_15_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.deleteView()); });
|
|
80
80
|
i0.ɵɵelement(10, "span", 29);
|
|
81
81
|
i0.ɵɵtext(11, " Yes ");
|
|
82
82
|
i0.ɵɵelementEnd();
|
|
83
83
|
i0.ɵɵelementStart(12, "button", 4);
|
|
84
|
-
i0.ɵɵlistener("click", function SingleEntityComponent_kendo_dialog_15_Template_button_click_12_listener() { i0.ɵɵrestoreView(
|
|
84
|
+
i0.ɵɵlistener("click", function SingleEntityComponent_kendo_dialog_15_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleDeleteView()); });
|
|
85
85
|
i0.ɵɵelement(13, "span", 30);
|
|
86
86
|
i0.ɵɵtext(14, " No ");
|
|
87
87
|
i0.ɵɵelementEnd()()()();
|
|
@@ -122,8 +122,8 @@ export class SingleEntityComponent {
|
|
|
122
122
|
}
|
|
123
123
|
}));
|
|
124
124
|
}
|
|
125
|
-
LoadData(
|
|
126
|
-
return __awaiter(this,
|
|
125
|
+
LoadData() {
|
|
126
|
+
return __awaiter(this, arguments, void 0, function* (entityName = this.entityName) {
|
|
127
127
|
if (entityName) {
|
|
128
128
|
this.showloader = true;
|
|
129
129
|
this.selectedView = null;
|
|
@@ -156,8 +156,8 @@ export class SingleEntityComponent {
|
|
|
156
156
|
this.deleteDialogOpened = !this.deleteDialogOpened;
|
|
157
157
|
}
|
|
158
158
|
deleteView() {
|
|
159
|
-
var _a;
|
|
160
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
var _a;
|
|
161
161
|
if (this.selectedView) {
|
|
162
162
|
this.showloader = true;
|
|
163
163
|
const md = new Metadata();
|
|
@@ -207,7 +207,7 @@ SingleEntityComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Singl
|
|
|
207
207
|
} if (rf & 2) {
|
|
208
208
|
let _t;
|
|
209
209
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewPropertiesDialog = _t.first);
|
|
210
|
-
} }, decls: 16, vars: 7, consts: [[1, "card-container", "entity-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "fa-solid", "fa-circle-info"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-plus"], [3, "
|
|
210
|
+
} }, decls: 16, vars: 7, consts: [[1, "card-container", "entity-container"], [1, "card-header-entity"], [1, "title-wrap"], [1, "fa-solid", "fa-circle-info"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-plus"], [3, "dialogClosed", "EntityName", "ShowPropertiesButton"], [1, "main-area"], ["type", "converging-spinner", 4, "ngIf"], ["class", "card-list k-d-flex k-flex-row k-h-full k-flex-wrap", 4, "ngIf"], ["title", "Delete View", 3, "close", 4, "ngIf"], ["type", "converging-spinner"], [1, "card-list", "k-d-flex", "k-flex-row", "k-h-full", "k-flex-wrap"], [4, "ngFor", "ngForOf"], [1, "card-wrapper"], [1, "k-hstack", "view-card"], [1, "fa-solid", "fa-table"], [1, "btn-wrapper"], ["kendoButton", "", "fillMode", "flat", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], [1, "fa-regular", "fa-trash-can"], [3, "click"], [1, "view-card-content", "k-cursor-pointer"], ["kendoCardTitle", ""], ["kendoCardSubtitle", ""], ["title", "Delete View", 3, "close"], [1, "k-m-7.5", "k-text-center"], [1, "k-actions", "k-actions-end", "popup-actions"], ["kendoButton", "", "themeColor", "primary", 3, "click"], [1, "fa-solid", "fa-check"], [1, "fa-solid", "fa-xmark"]], template: function SingleEntityComponent_Template(rf, ctx) { if (rf & 1) {
|
|
211
211
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h1");
|
|
212
212
|
i0.ɵɵtext(4);
|
|
213
213
|
i0.ɵɵelementEnd();
|
|
@@ -241,7 +241,7 @@ SingleEntityComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Singl
|
|
|
241
241
|
i0.ɵɵproperty("ngIf", !ctx.showloader);
|
|
242
242
|
i0.ɵɵadvance();
|
|
243
243
|
i0.ɵɵproperty("ngIf", ctx.deleteDialogOpened);
|
|
244
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i5.DialogComponent, i6.LoaderComponent, i7.ButtonComponent, i8.CardComponent, i8.CardHeaderComponent, i8.CardBodyComponent, i8.CardTitleDirective, i8.CardSubtitleDirective, i9.UserViewPropertiesDialogComponent], styles: [".entity-container[_ngcontent-%COMP%] {\n margin: 10px;\n}\n \n .list-item[_ngcontent-%COMP%] {\n margin: 4px;\n cursor: pointer;\n }\n \n .view-card[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%] {\n color: #ff6358;\n }\n .card-wrapper[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\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: 24px;\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 }\n .title-wrapper[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 14px 0;\n border-bottom: 1px solid var(--med-gray);\n}\n.title-wrapper[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 24px;\n line-height: 28px;\n}\n .entity-container .title-wrapper .k-dropdown-button .k-button {\n background: var(--border-blue);\n color: var(--white-color);\n font-size: 16px;\n border: none;\n padding: 8px 25px;\n border-radius: 10px;\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,
|
|
244
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i5.DialogComponent, i6.LoaderComponent, i7.ButtonComponent, i8.CardComponent, i8.CardHeaderComponent, i8.CardBodyComponent, i8.CardTitleDirective, i8.CardSubtitleDirective, i9.UserViewPropertiesDialogComponent], styles: [".entity-container[_ngcontent-%COMP%] {\n margin: 10px;\n}\n \n .list-item[_ngcontent-%COMP%] {\n margin: 4px;\n cursor: pointer;\n }\n \n .view-card[_ngcontent-%COMP%] .view-icon[_ngcontent-%COMP%] {\n color: #ff6358;\n }\n .card-wrapper[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\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: 24px;\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 }\n .title-wrapper[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 14px 0;\n border-bottom: 1px solid var(--med-gray);\n}\n.title-wrapper[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 24px;\n line-height: 28px;\n}\n .entity-container .title-wrapper .k-dropdown-button .k-button {\n background: var(--border-blue);\n color: var(--white-color);\n font-size: 16px;\n border: none;\n padding: 8px 25px;\n border-radius: 10px;\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}"] });
|
|
245
245
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SingleEntityComponent, [{
|
|
246
246
|
type: Component,
|
|
247
247
|
args: [{ selector: 'mj-single-entity', template: "<div class=\"card-container entity-container\">\n <div class=\"card-header-entity\">\n <div class=\"title-wrap\">\n <h1>{{entityName}}</h1>\n <p> \n <span class=\"fa-solid fa-circle-info\"></span> {{entityDescription}}\n </p>\n </div>\n <button kendoButton (click)=\"createNewView()\">\n <span class=\"fa-solid fa-plus\"></span>\n Create New View\n </button>\n </div>\n <mj-user-view-properties-dialog [EntityName]=\"this.entityName\" [ShowPropertiesButton]=\"false\"\n (dialogClosed)=\"viewPropertiesClosed($event)\"></mj-user-view-properties-dialog>\n <div class=\"main-area\">\n <kendo-loader *ngIf=\"showloader\" type=\"converging-spinner\" ></kendo-loader>\n <div class=\"card-list k-d-flex k-flex-row k-h-full k-flex-wrap\" *ngIf=\"!showloader\">\n <div *ngFor=\"let entity of entityViews\">\n <kendo-card class=\"card-wrapper\">\n <kendo-card-header class=\"k-hstack view-card\">\n <span class=\"fa-solid fa-table\"></span>\n <div class=\"btn-wrapper\">\n <button kendoButton fillMode=\"flat\" (click)=\"editView(entity)\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n </button>\n <button kendoButton fillMode=\"flat\" (click)=\"handleDeleteView(entity)\">\n <span class=\"fa-regular fa-trash-can\"></span> \n </button>\n </div>\n </kendo-card-header>\n\n <kendo-card-body (click)=\"viewItemClick(entity)\">\n <div class=\"view-card-content k-cursor-pointer\">\n <h5 kendoCardTitle>{{ entity.Name }}</h5>\n <p kendoCardSubtitle>{{ entity.Description }}</p>\n </div>\n </kendo-card-body>\n </kendo-card>\n </div>\n </div>\n </div>\n\n <kendo-dialog title=\"Delete View\" *ngIf=\"deleteDialogOpened\" (close)=\"handleDeleteView()\">\n <kendo-loader *ngIf=\"showloader\" type=\"converging-spinner\"></kendo-loader>\n <div [class]=\"showloader ? 'disabled-div' : ''\">\n <p class=\"k-m-7.5 k-text-center\">\n Are you sure you want to delete <b>{{selectedView?.Name}}</b> View?\n </p>\n <div class=\"k-actions k-actions-end popup-actions\">\n <button kendoButton (click)=\"deleteView()\" themeColor=\"primary\">\n <span class=\"fa-solid fa-check\"></span> Yes\n </button>\n <button kendoButton (click)=\"handleDeleteView()\">\n <span class=\"fa-solid fa-xmark\"></span> No\n </button>\n </div>\n </div>\n </kendo-dialog>\n</div>", styles: [".entity-container {\n margin: 10px;\n}\n \n .list-item {\n margin: 4px;\n cursor: pointer;\n }\n \n .view-card .view-icon {\n color: #ff6358;\n }\n .card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\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: 24px;\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 .title-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 14px 0;\n border-bottom: 1px solid var(--med-gray);\n}\n.title-wrapper h4 {\n margin: 0;\n font-size: 24px;\n line-height: 28px;\n}\n::ng-deep .entity-container .title-wrapper .k-dropdown-button .k-button {\n background: var(--border-blue);\n color: var(--white-color);\n font-size: 16px;\n border: none;\n padding: 8px 25px;\n border-radius: 10px;\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"] }]
|
|
@@ -24,47 +24,47 @@ function SingleListDetailComponent_Conditional_7_Template(rf, ctx) { if (rf & 1)
|
|
|
24
24
|
i0.ɵɵelement(0, "kendo-loader", 4);
|
|
25
25
|
} }
|
|
26
26
|
function SingleListDetailComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelement(0, "kendo-grid",
|
|
27
|
+
i0.ɵɵelement(0, "kendo-grid", 5);
|
|
28
28
|
} if (rf & 2) {
|
|
29
|
-
const
|
|
30
|
-
i0.ɵɵproperty("data",
|
|
29
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
30
|
+
i0.ɵɵproperty("data", ctx_r0.gridData);
|
|
31
31
|
} }
|
|
32
32
|
function SingleListDetailComponent_kendo_dialog_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
i0.ɵɵelement(0, "kendo-loader", 4);
|
|
34
34
|
} }
|
|
35
35
|
function SingleListDetailComponent_kendo_dialog_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
const
|
|
37
|
-
i0.ɵɵelementStart(0, "div",
|
|
38
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SingleListDetailComponent_kendo_dialog_9_Conditional_2_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
36
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "kendo-label", 12)(2, "kendo-dropdownlist", 13);
|
|
38
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SingleListDetailComponent_kendo_dialog_9_Conditional_2_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r0.selectedUserView, $event) || (ctx_r0.selectedUserView = $event); return i0.ɵɵresetView($event); });
|
|
39
39
|
i0.ɵɵelementEnd()()();
|
|
40
40
|
} if (rf & 2) {
|
|
41
|
-
const
|
|
41
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
42
42
|
i0.ɵɵadvance(2);
|
|
43
|
-
i0.ɵɵproperty("data",
|
|
44
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
43
|
+
i0.ɵɵproperty("data", ctx_r0.userViews)("filterable", true);
|
|
44
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.selectedUserView);
|
|
45
45
|
} }
|
|
46
46
|
function SingleListDetailComponent_kendo_dialog_9_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
const
|
|
47
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
48
48
|
i0.ɵɵelementStart(0, "kendo-dialog", 7);
|
|
49
|
-
i0.ɵɵlistener("close", function SingleListDetailComponent_kendo_dialog_9_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(
|
|
50
|
-
i0.ɵɵtemplate(1, SingleListDetailComponent_kendo_dialog_9_Conditional_1_Template, 1, 0, "kendo-loader", 4)(2, SingleListDetailComponent_kendo_dialog_9_Conditional_2_Template, 3, 3);
|
|
51
|
-
i0.ɵɵelementStart(3, "kendo-dialog-actions",
|
|
52
|
-
i0.ɵɵlistener("click", function SingleListDetailComponent_kendo_dialog_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(
|
|
49
|
+
i0.ɵɵlistener("close", function SingleListDetailComponent_kendo_dialog_9_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.toggleAddDialog(false)); });
|
|
50
|
+
i0.ɵɵtemplate(1, SingleListDetailComponent_kendo_dialog_9_Conditional_1_Template, 1, 0, "kendo-loader", 4)(2, SingleListDetailComponent_kendo_dialog_9_Conditional_2_Template, 3, 3, "div", 8);
|
|
51
|
+
i0.ɵɵelementStart(3, "kendo-dialog-actions", 9)(4, "button", 10);
|
|
52
|
+
i0.ɵɵlistener("click", function SingleListDetailComponent_kendo_dialog_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.addTolist()); });
|
|
53
53
|
i0.ɵɵtext(5, " Create ");
|
|
54
54
|
i0.ɵɵelementEnd();
|
|
55
|
-
i0.ɵɵelementStart(6, "button",
|
|
56
|
-
i0.ɵɵlistener("click", function SingleListDetailComponent_kendo_dialog_9_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
55
|
+
i0.ɵɵelementStart(6, "button", 11);
|
|
56
|
+
i0.ɵɵlistener("click", function SingleListDetailComponent_kendo_dialog_9_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.toggleAddDialog(false)); });
|
|
57
57
|
i0.ɵɵtext(7, " Cancel ");
|
|
58
58
|
i0.ɵɵelementEnd()()();
|
|
59
59
|
} if (rf & 2) {
|
|
60
|
-
const
|
|
60
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
61
61
|
i0.ɵɵproperty("minWidth", 250)("width", 650)("height", 550);
|
|
62
62
|
i0.ɵɵadvance();
|
|
63
|
-
i0.ɵɵconditional(
|
|
63
|
+
i0.ɵɵconditional(ctx_r0.showAddLoader ? 1 : 2);
|
|
64
64
|
i0.ɵɵadvance(3);
|
|
65
|
-
i0.ɵɵproperty("disabled",
|
|
65
|
+
i0.ɵɵproperty("disabled", ctx_r0.showAddLoader || !ctx_r0.selectedUserView);
|
|
66
66
|
i0.ɵɵadvance(2);
|
|
67
|
-
i0.ɵɵproperty("disabled",
|
|
67
|
+
i0.ɵɵproperty("disabled", ctx_r0.showAddLoader);
|
|
68
68
|
} }
|
|
69
69
|
export class SingleListDetailComponent {
|
|
70
70
|
constructor(router, route, sharedService) {
|
|
@@ -186,7 +186,7 @@ export class SingleListDetailComponent {
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
SingleListDetailComponent.ɵfac = function SingleListDetailComponent_Factory(t) { return new (t || SingleListDetailComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.SharedService)); };
|
|
189
|
-
SingleListDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleListDetailComponent, selectors: [["mj-list-detail"]], decls: 10, vars: 3, consts: [[1, "app-container"], [1, "flex-display-row-header"], ["kendobutton", "", "themeColor", "info", 3, "click"], [1, "fa-solid", "fa-plus"], ["type", "converging-spinner"], ["title", "Add to List", 3, "minWidth", "width", "height", "close", 4, "ngIf"], [
|
|
189
|
+
SingleListDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleListDetailComponent, selectors: [["mj-list-detail"]], decls: 10, vars: 3, consts: [[1, "app-container"], [1, "flex-display-row-header"], ["kendobutton", "", "themeColor", "info", 3, "click"], [1, "fa-solid", "fa-plus"], ["type", "converging-spinner"], [3, "data"], ["title", "Add to List", 3, "minWidth", "width", "height", "close", 4, "ngIf"], ["title", "Add to List", 3, "close", "minWidth", "width", "height"], [1, "mt-10"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click", "disabled"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click", "disabled"], ["text", "Select a View"], ["textField", "Name", "valueField", "ID", 1, "mt-10", 3, "ngModelChange", "data", "filterable", "ngModel"]], template: function SingleListDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
190
190
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h1");
|
|
191
191
|
i0.ɵɵtext(3);
|
|
192
192
|
i0.ɵɵelementEnd();
|
|
@@ -195,14 +195,14 @@ SingleListDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: S
|
|
|
195
195
|
i0.ɵɵelement(5, "span", 3);
|
|
196
196
|
i0.ɵɵtext(6, " Add to List ");
|
|
197
197
|
i0.ɵɵelementEnd()();
|
|
198
|
-
i0.ɵɵtemplate(7, SingleListDetailComponent_Conditional_7_Template, 1, 0, "kendo-loader", 4)(8, SingleListDetailComponent_Conditional_8_Template, 1, 1);
|
|
198
|
+
i0.ɵɵtemplate(7, SingleListDetailComponent_Conditional_7_Template, 1, 0, "kendo-loader", 4)(8, SingleListDetailComponent_Conditional_8_Template, 1, 1, "kendo-grid", 5);
|
|
199
199
|
i0.ɵɵelementEnd();
|
|
200
|
-
i0.ɵɵtemplate(9, SingleListDetailComponent_kendo_dialog_9_Template, 8, 6, "kendo-dialog",
|
|
200
|
+
i0.ɵɵtemplate(9, SingleListDetailComponent_kendo_dialog_9_Template, 8, 6, "kendo-dialog", 6);
|
|
201
201
|
} if (rf & 2) {
|
|
202
202
|
i0.ɵɵadvance(3);
|
|
203
203
|
i0.ɵɵtextInterpolate(ctx.listName);
|
|
204
204
|
i0.ɵɵadvance(4);
|
|
205
|
-
i0.ɵɵconditional(
|
|
205
|
+
i0.ɵɵconditional(ctx.showLoader ? 7 : 8);
|
|
206
206
|
i0.ɵɵadvance(2);
|
|
207
207
|
i0.ɵɵproperty("ngIf", ctx.showAddDialog);
|
|
208
208
|
} }, dependencies: [i3.NgIf, i4.NgControlStatus, i4.NgModel, i5.GridComponent, i6.DialogComponent, i6.DialogActionsComponent, i7.LoaderComponent, i8.ButtonComponent, i9.LabelComponent, i10.DropDownListComponent] });
|
|
@@ -49,8 +49,8 @@ SingleQueryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Single
|
|
|
49
49
|
} if (rf & 2) {
|
|
50
50
|
let _t;
|
|
51
51
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.theQuery = _t.first);
|
|
52
|
-
} }, inputs: { queryId: "queryId" }, outputs: { loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 2, vars: 3, consts: [["
|
|
53
|
-
i0.ɵɵelement(0, "mj-query-grid",
|
|
52
|
+
} }, inputs: { queryId: "queryId" }, outputs: { loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 2, vars: 3, consts: [["theQuery", ""], ["mjFillContainer", "", 3, "Params"]], template: function SingleQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelement(0, "mj-query-grid", 1, 0);
|
|
54
54
|
} if (rf & 2) {
|
|
55
55
|
i0.ɵɵproperty("Params", i0.ɵɵpureFunction1(1, _c1, ctx.queryId));
|
|
56
56
|
} }, dependencies: [i1.FillContainer, i2.QueryGridComponent] });
|
|
@@ -15,7 +15,7 @@ import * as i2 from "@memberjunction/ng-container-directives";
|
|
|
15
15
|
import * as i3 from "@memberjunction/ng-ask-skip";
|
|
16
16
|
const _c0 = ["theReport"];
|
|
17
17
|
function SingleReportComponent_mj_dynamic_report_0_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelement(0, "mj-dynamic-report",
|
|
18
|
+
i0.ɵɵelement(0, "mj-dynamic-report", 2, 0);
|
|
19
19
|
} if (rf & 2) {
|
|
20
20
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
21
|
i0.ɵɵproperty("ShowDetailsTab", true)("SkipData", ctx_r0.Configuration)("ConversationID", ctx_r0.ReportEntity.ConversationID)("ConversationDetailID", ctx_r0.ReportEntity.ConversationDetailID)("ReportEntity", ctx_r0.ReportEntity);
|
|
@@ -65,8 +65,8 @@ SingleReportComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Singl
|
|
|
65
65
|
} if (rf & 2) {
|
|
66
66
|
let _t;
|
|
67
67
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.theReport = _t.first);
|
|
68
|
-
} }, inputs: { reportId: "reportId" }, outputs: { loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 1, vars: 1, consts: [["mjFillContainer", "", 3, "ShowDetailsTab", "SkipData", "ConversationID", "ConversationDetailID", "ReportEntity", 4, "ngIf"], ["mjFillContainer", "", 3, "ShowDetailsTab", "SkipData", "ConversationID", "ConversationDetailID", "ReportEntity"]
|
|
69
|
-
i0.ɵɵtemplate(0, SingleReportComponent_mj_dynamic_report_0_Template, 2, 5, "mj-dynamic-report",
|
|
68
|
+
} }, inputs: { reportId: "reportId" }, outputs: { loadComplete: "loadComplete", loadStarted: "loadStarted" }, decls: 1, vars: 1, consts: [["theReport", ""], ["mjFillContainer", "", 3, "ShowDetailsTab", "SkipData", "ConversationID", "ConversationDetailID", "ReportEntity", 4, "ngIf"], ["mjFillContainer", "", 3, "ShowDetailsTab", "SkipData", "ConversationID", "ConversationDetailID", "ReportEntity"]], template: function SingleReportComponent_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵtemplate(0, SingleReportComponent_mj_dynamic_report_0_Template, 2, 5, "mj-dynamic-report", 1);
|
|
70
70
|
} if (rf & 2) {
|
|
71
71
|
i0.ɵɵproperty("ngIf", ctx.ReportEntity);
|
|
72
72
|
} }, dependencies: [i1.NgIf, i2.FillContainer, i3.DynamicReportComponent] });
|
|
@@ -23,13 +23,13 @@ import * as i6 from "@memberjunction/ng-container-directives";
|
|
|
23
23
|
import * as i7 from "@memberjunction/ng-ask-skip";
|
|
24
24
|
import * as i8 from "@memberjunction/ng-user-view-properties";
|
|
25
25
|
function SingleViewComponent_mj_user_view_properties_dialog_4_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
const
|
|
26
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
27
27
|
i0.ɵɵelementStart(0, "mj-user-view-properties-dialog", 6);
|
|
28
|
-
i0.ɵɵlistener("dialogClosed", function SingleViewComponent_mj_user_view_properties_dialog_4_Template_mj_user_view_properties_dialog_dialogClosed_0_listener($event) { i0.ɵɵrestoreView(
|
|
28
|
+
i0.ɵɵlistener("dialogClosed", function SingleViewComponent_mj_user_view_properties_dialog_4_Template_mj_user_view_properties_dialog_dialogClosed_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.viewPropertiesDialogClosed($event)); });
|
|
29
29
|
i0.ɵɵelementEnd();
|
|
30
30
|
} if (rf & 2) {
|
|
31
|
-
const
|
|
32
|
-
i0.ɵɵproperty("ViewID",
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵproperty("ViewID", ctx_r1.selectedView.ID);
|
|
33
33
|
} }
|
|
34
34
|
export class SingleViewComponent {
|
|
35
35
|
constructor(router, route, sharedService) {
|
|
@@ -161,7 +161,7 @@ SingleViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleV
|
|
|
161
161
|
} if (rf & 2) {
|
|
162
162
|
let _t;
|
|
163
163
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewGridWithAnalysis = _t.first);
|
|
164
|
-
} }, inputs: { viewId: "viewId", viewName: "viewName", selectedView: "selectedView", extraFilter: "extraFilter", entityName: "entityName" }, outputs: { loadComplete: "loadComplete" }, decls: 6, vars: 5, consts: [["mjFillContainer", "", 1, "single-view-wrap", 3, "bottomMargin"], [1, "searchBox"], ["id", "txtSearch", "placeholder", "Search here...", "kendoTextBox", "", 3, "
|
|
164
|
+
} }, inputs: { viewId: "viewId", viewName: "viewName", selectedView: "selectedView", extraFilter: "extraFilter", entityName: "entityName" }, outputs: { loadComplete: "loadComplete" }, decls: 6, vars: 5, consts: [["mjFillContainer", "", 1, "single-view-wrap", 3, "bottomMargin"], [1, "searchBox"], ["id", "txtSearch", "placeholder", "Search here...", "kendoTextBox", "", 3, "valueChange", "ngModelChange", "clearButton", "ngModel"], [1, "flex-row"], ["class", "padding-left-small", 3, "ViewID", "dialogClosed", 4, "ngIf"], ["mjFillContainer", "", 1, "analysis-wrapper", 3, "rowClicked", "AutoNavigate"], [1, "padding-left-small", 3, "dialogClosed", "ViewID"]], template: function SingleViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
165
165
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "kendo-textbox", 2);
|
|
166
166
|
i0.ɵɵlistener("valueChange", function SingleViewComponent_Template_kendo_textbox_valueChange_2_listener($event) { return ctx.onSearch($event); });
|
|
167
167
|
i0.ɵɵtwoWayListener("ngModelChange", function SingleViewComponent_Template_kendo_textbox_ngModelChange_2_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.searchText, $event) || (ctx.searchText = $event); return $event; });
|
|
@@ -23,55 +23,55 @@ const _c0 = ["allRadio"];
|
|
|
23
23
|
const _c1 = ["unreadRadio"];
|
|
24
24
|
const _c2 = ["readRadio"];
|
|
25
25
|
function UserNotificationsComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
const
|
|
27
|
-
i0.ɵɵelementStart(0, "button",
|
|
28
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
26
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
28
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.markAllAsRead()); });
|
|
29
29
|
i0.ɵɵtext(1, "Mark All as Read");
|
|
30
30
|
i0.ɵɵelementEnd();
|
|
31
31
|
} }
|
|
32
32
|
function UserNotificationsComponent_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
-
const
|
|
34
|
-
i0.ɵɵelementStart(0, "button",
|
|
35
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
33
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
34
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
35
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.markAllAsUnread()); });
|
|
36
36
|
i0.ɵɵtext(1, "Mark All as Unread");
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
38
38
|
} }
|
|
39
39
|
function UserNotificationsComponent_input_7_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
-
const
|
|
41
|
-
i0.ɵɵelementStart(0, "input",
|
|
42
|
-
i0.ɵɵlistener("change", function UserNotificationsComponent_input_7_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
40
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
41
|
+
i0.ɵɵelementStart(0, "input", 16, 0);
|
|
42
|
+
i0.ɵɵlistener("change", function UserNotificationsComponent_input_7_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onReadRadioChanged($event)); });
|
|
43
43
|
i0.ɵɵelementEnd();
|
|
44
44
|
} }
|
|
45
45
|
function UserNotificationsComponent_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
const
|
|
47
|
-
i0.ɵɵelementStart(0, "span",
|
|
48
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_span_8_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
46
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
47
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
48
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_span_8_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectReadOption("All")); });
|
|
49
49
|
i0.ɵɵtext(1, "All");
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
} }
|
|
52
52
|
function UserNotificationsComponent_input_9_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
const
|
|
54
|
-
i0.ɵɵelementStart(0, "input",
|
|
55
|
-
i0.ɵɵlistener("change", function UserNotificationsComponent_input_9_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
53
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
54
|
+
i0.ɵɵelementStart(0, "input", 18, 1);
|
|
55
|
+
i0.ɵɵlistener("change", function UserNotificationsComponent_input_9_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onReadRadioChanged($event)); });
|
|
56
56
|
i0.ɵɵelementEnd();
|
|
57
57
|
} }
|
|
58
58
|
function UserNotificationsComponent_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
-
const
|
|
60
|
-
i0.ɵɵelementStart(0, "span",
|
|
61
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_span_10_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
59
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
60
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
61
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_span_10_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectReadOption("Unread")); });
|
|
62
62
|
i0.ɵɵtext(1, "Unread");
|
|
63
63
|
i0.ɵɵelementEnd();
|
|
64
64
|
} }
|
|
65
65
|
function UserNotificationsComponent_input_11_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
-
const
|
|
67
|
-
i0.ɵɵelementStart(0, "input",
|
|
68
|
-
i0.ɵɵlistener("change", function UserNotificationsComponent_input_11_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
66
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
67
|
+
i0.ɵɵelementStart(0, "input", 19, 2);
|
|
68
|
+
i0.ɵɵlistener("change", function UserNotificationsComponent_input_11_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onReadRadioChanged($event)); });
|
|
69
69
|
i0.ɵɵelementEnd();
|
|
70
70
|
} }
|
|
71
71
|
function UserNotificationsComponent_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
-
const
|
|
73
|
-
i0.ɵɵelementStart(0, "span",
|
|
74
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_span_12_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
72
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
73
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
74
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_span_12_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectReadOption("Read")); });
|
|
75
75
|
i0.ɵɵtext(1, "Read");
|
|
76
76
|
i0.ɵɵelementEnd();
|
|
77
77
|
} }
|
|
@@ -79,27 +79,27 @@ function UserNotificationsComponent_ng_template_14_Template(rf, ctx) { if (rf &
|
|
|
79
79
|
i0.ɵɵelement(0, "span", 20);
|
|
80
80
|
} }
|
|
81
81
|
function UserNotificationsComponent_ng_template_16_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
-
const
|
|
83
|
-
i0.ɵɵelementStart(0, "button",
|
|
84
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
82
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
83
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
84
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const dataItem_r11 = i0.ɵɵnextContext().dataItem; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.markAsRead(dataItem_r11, true, null)); });
|
|
85
85
|
i0.ɵɵtext(1, "Mark as Read");
|
|
86
86
|
i0.ɵɵelementEnd();
|
|
87
87
|
} }
|
|
88
88
|
function UserNotificationsComponent_ng_template_16_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
-
const
|
|
90
|
-
i0.ɵɵelementStart(0, "button",
|
|
91
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_button_11_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
89
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
90
|
+
i0.ɵɵelementStart(0, "button", 15);
|
|
91
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_button_11_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const dataItem_r11 = i0.ɵɵnextContext().dataItem; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.markAsRead(dataItem_r11, false, null)); });
|
|
92
92
|
i0.ɵɵtext(1, "Mark as Unread");
|
|
93
93
|
i0.ɵɵelementEnd();
|
|
94
94
|
} }
|
|
95
95
|
function UserNotificationsComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
-
const
|
|
96
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
97
97
|
i0.ɵɵelementStart(0, "div")(1, "div", 21);
|
|
98
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_Template_div_click_1_listener() { const
|
|
98
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_Template_div_click_1_listener() { const dataItem_r11 = i0.ɵɵrestoreView(_r10).dataItem; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.notificationClicked(dataItem_r11)); });
|
|
99
99
|
i0.ɵɵtext(2);
|
|
100
100
|
i0.ɵɵelementEnd();
|
|
101
101
|
i0.ɵɵelementStart(3, "div", 22);
|
|
102
|
-
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_Template_div_click_3_listener() { const
|
|
102
|
+
i0.ɵɵlistener("click", function UserNotificationsComponent_ng_template_16_Template_div_click_3_listener() { const dataItem_r11 = i0.ɵɵrestoreView(_r10).dataItem; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.notificationClicked(dataItem_r11)); });
|
|
103
103
|
i0.ɵɵelementStart(4, "div", 23);
|
|
104
104
|
i0.ɵɵtext(5);
|
|
105
105
|
i0.ɵɵpipe(6, "date");
|
|
@@ -108,24 +108,24 @@ function UserNotificationsComponent_ng_template_16_Template(rf, ctx) { if (rf &
|
|
|
108
108
|
i0.ɵɵtext(8);
|
|
109
109
|
i0.ɵɵelementEnd()();
|
|
110
110
|
i0.ɵɵelementStart(9, "div");
|
|
111
|
-
i0.ɵɵtemplate(10, UserNotificationsComponent_ng_template_16_button_10_Template, 2, 0, "button",
|
|
111
|
+
i0.ɵɵtemplate(10, UserNotificationsComponent_ng_template_16_button_10_Template, 2, 0, "button", 6)(11, UserNotificationsComponent_ng_template_16_button_11_Template, 2, 0, "button", 6);
|
|
112
112
|
i0.ɵɵelementEnd()();
|
|
113
113
|
} if (rf & 2) {
|
|
114
|
-
const
|
|
115
|
-
const
|
|
116
|
-
i0.ɵɵclassMap(
|
|
114
|
+
const dataItem_r11 = ctx.dataItem;
|
|
115
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
116
|
+
i0.ɵɵclassMap(ctx_r1.getItemWrapperClass(dataItem_r11));
|
|
117
117
|
i0.ɵɵadvance();
|
|
118
|
-
i0.ɵɵclassMap(
|
|
118
|
+
i0.ɵɵclassMap(ctx_r1.getItemTitleClass(dataItem_r11));
|
|
119
119
|
i0.ɵɵadvance();
|
|
120
|
-
i0.ɵɵtextInterpolate(
|
|
120
|
+
i0.ɵɵtextInterpolate(dataItem_r11.Title);
|
|
121
121
|
i0.ɵɵadvance(3);
|
|
122
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 9,
|
|
122
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 9, dataItem_r11.CreatedAt, "long"));
|
|
123
123
|
i0.ɵɵadvance(3);
|
|
124
|
-
i0.ɵɵtextInterpolate(
|
|
124
|
+
i0.ɵɵtextInterpolate(dataItem_r11.Message);
|
|
125
125
|
i0.ɵɵadvance(2);
|
|
126
|
-
i0.ɵɵproperty("ngIf",
|
|
126
|
+
i0.ɵɵproperty("ngIf", dataItem_r11.Unread);
|
|
127
127
|
i0.ɵɵadvance();
|
|
128
|
-
i0.ɵɵproperty("ngIf", !
|
|
128
|
+
i0.ɵɵproperty("ngIf", !dataItem_r11.Unread);
|
|
129
129
|
} }
|
|
130
130
|
export class UserNotificationsComponent {
|
|
131
131
|
constructor(sharedService, router) {
|
|
@@ -350,18 +350,18 @@ UserNotificationsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
350
350
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.allRadio = _t.first);
|
|
351
351
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.unreadRadio = _t.first);
|
|
352
352
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.readRadio = _t.first);
|
|
353
|
-
} }, decls: 17, vars: 10, consts: [["mjFillContainer", "", 1, "notification-list-wrap", 3, "bottomMargin"], [1, "header"], [1, "title"], ["kendoButton", "", 3, "click", 4, "ngIf"], ["checked", "", "type", "radio", "name", "UnreadStatus", "value", "All", 3, "change", 4, "ngIf"], ["class", "radio-label", 3, "click", 4, "ngIf"], ["type", "radio", "name", "UnreadStatus", "value", "Unread", 3, "change", 4, "ngIf"], ["type", "radio", "name", "UnreadStatus", "value", "Read", 3, "change", 4, "ngIf"], ["placeholder", "Filter items...", 1, "filter-input", 3, "valueChange"], ["kendoTextBoxSuffixTemplate", ""], [3, "data"], ["kendoListViewItemTemplate", ""], ["kendoButton", "", 3, "click"], ["checked", "", "type", "radio", "name", "UnreadStatus", "value", "All", 3, "change"], [
|
|
354
|
-
i0.ɵɵelementStart(0, "div",
|
|
353
|
+
} }, decls: 17, vars: 10, consts: [["allRadio", ""], ["unreadRadio", ""], ["readRadio", ""], ["mjFillContainer", "", 1, "notification-list-wrap", 3, "bottomMargin"], [1, "header"], [1, "title"], ["kendoButton", "", 3, "click", 4, "ngIf"], ["checked", "", "type", "radio", "name", "UnreadStatus", "value", "All", 3, "change", 4, "ngIf"], ["class", "radio-label", 3, "click", 4, "ngIf"], ["type", "radio", "name", "UnreadStatus", "value", "Unread", 3, "change", 4, "ngIf"], ["type", "radio", "name", "UnreadStatus", "value", "Read", 3, "change", 4, "ngIf"], ["placeholder", "Filter items...", 1, "filter-input", 3, "valueChange"], ["kendoTextBoxSuffixTemplate", ""], [3, "data"], ["kendoListViewItemTemplate", ""], ["kendoButton", "", 3, "click"], ["checked", "", "type", "radio", "name", "UnreadStatus", "value", "All", 3, "change"], [1, "radio-label", 3, "click"], ["type", "radio", "name", "UnreadStatus", "value", "Unread", 3, "change"], ["type", "radio", "name", "UnreadStatus", "value", "Read", 3, "change"], [1, "fa-solid", "fa-magnifying-glass"], [3, "click"], [1, "notification-body", 3, "click"], [1, "notification-date"], [1, "notification-message"]], template: function UserNotificationsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
354
|
+
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4)(2, "div", 5);
|
|
355
355
|
i0.ɵɵtext(3, " Notifications ");
|
|
356
356
|
i0.ɵɵelementEnd();
|
|
357
357
|
i0.ɵɵelementStart(4, "div");
|
|
358
|
-
i0.ɵɵtemplate(5, UserNotificationsComponent_button_5_Template, 2, 0, "button",
|
|
359
|
-
i0.ɵɵelementStart(13, "kendo-textbox",
|
|
358
|
+
i0.ɵɵtemplate(5, UserNotificationsComponent_button_5_Template, 2, 0, "button", 6)(6, UserNotificationsComponent_button_6_Template, 2, 0, "button", 6)(7, UserNotificationsComponent_input_7_Template, 2, 0, "input", 7)(8, UserNotificationsComponent_span_8_Template, 2, 0, "span", 8)(9, UserNotificationsComponent_input_9_Template, 2, 0, "input", 9)(10, UserNotificationsComponent_span_10_Template, 2, 0, "span", 8)(11, UserNotificationsComponent_input_11_Template, 2, 0, "input", 10)(12, UserNotificationsComponent_span_12_Template, 2, 0, "span", 8);
|
|
359
|
+
i0.ɵɵelementStart(13, "kendo-textbox", 11);
|
|
360
360
|
i0.ɵɵlistener("valueChange", function UserNotificationsComponent_Template_kendo_textbox_valueChange_13_listener($event) { return ctx.onFilterChanged($event); });
|
|
361
|
-
i0.ɵɵtemplate(14, UserNotificationsComponent_ng_template_14_Template, 1, 0, "ng-template",
|
|
361
|
+
i0.ɵɵtemplate(14, UserNotificationsComponent_ng_template_14_Template, 1, 0, "ng-template", 12);
|
|
362
362
|
i0.ɵɵelementEnd()()();
|
|
363
|
-
i0.ɵɵelementStart(15, "kendo-listview",
|
|
364
|
-
i0.ɵɵtemplate(16, UserNotificationsComponent_ng_template_16_Template, 12, 12, "ng-template",
|
|
363
|
+
i0.ɵɵelementStart(15, "kendo-listview", 13);
|
|
364
|
+
i0.ɵɵtemplate(16, UserNotificationsComponent_ng_template_16_Template, 12, 12, "ng-template", 14);
|
|
365
365
|
i0.ɵɵelementEnd()();
|
|
366
366
|
} if (rf & 2) {
|
|
367
367
|
i0.ɵɵproperty("bottomMargin", 5);
|