@memberjunction/ng-simple-record-list 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,19 +19,19 @@ import * as i5 from "@progress/kendo-angular-buttons";
19
19
  import * as i6 from "@memberjunction/ng-entity-form-dialog";
20
20
  import * as i7 from "@progress/kendo-angular-indicators";
21
21
  function SimpleRecordListComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
22
- const _r1 = i0.ɵɵgetCurrentView();
23
- i0.ɵɵelementStart(0, "button", 6);
24
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.createNewRecord()); });
25
- i0.ɵɵelement(1, "span", 7);
26
- i0.ɵɵtext(2, " New");
27
- i0.ɵɵelementEnd();
28
- } }
29
- function SimpleRecordListComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
30
22
  i0.ɵɵelementStart(0, "div");
31
23
  i0.ɵɵelement(1, "kendo-loader");
32
24
  i0.ɵɵelementEnd();
33
25
  } }
34
- function SimpleRecordListComponent_Conditional_3_th_3_Template(rf, ctx) { if (rf & 1) {
26
+ function SimpleRecordListComponent_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
27
+ const _r1 = i0.ɵɵgetCurrentView();
28
+ i0.ɵɵelementStart(0, "button", 10);
29
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_2_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.createNewRecord()); });
30
+ i0.ɵɵelement(1, "span", 11);
31
+ i0.ɵɵtext(2, " New");
32
+ i0.ɵɵelementEnd();
33
+ } }
34
+ function SimpleRecordListComponent_Conditional_2_th_5_Template(rf, ctx) { if (rf & 1) {
35
35
  i0.ɵɵelementStart(0, "th");
36
36
  i0.ɵɵtext(1);
37
37
  i0.ɵɵelementEnd();
@@ -40,21 +40,21 @@ function SimpleRecordListComponent_Conditional_3_th_3_Template(rf, ctx) { if (rf
40
40
  i0.ɵɵadvance();
41
41
  i0.ɵɵtextInterpolate1(" ", c_r3, " ");
42
42
  } }
43
- function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
43
+ function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
44
44
  const _r6 = i0.ɵɵgetCurrentView();
45
- i0.ɵɵelementStart(0, "span", 13);
46
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const r_r5 = i0.ɵɵnextContext(3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.editRecord($event, r_r5)); });
45
+ i0.ɵɵelementStart(0, "span", 15);
46
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const r_r5 = i0.ɵɵnextContext(3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.editRecord($event, r_r5)); });
47
47
  i0.ɵɵelementEnd();
48
48
  } }
49
- function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
49
+ function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
50
50
  const _r7 = i0.ɵɵgetCurrentView();
51
- i0.ɵɵelementStart(0, "span", 14);
52
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const r_r5 = i0.ɵɵnextContext(3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.deleteRecord($event, r_r5)); });
51
+ i0.ɵɵelementStart(0, "span", 16);
52
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const r_r5 = i0.ɵɵnextContext(3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.deleteRecord($event, r_r5)); });
53
53
  i0.ɵɵelementEnd();
54
54
  } }
55
- function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
55
+ function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
56
56
  i0.ɵɵelementStart(0, "span");
57
- i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_1_Template, 1, 0, "span", 11)(2, SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Conditional_2_Template, 1, 0, "span", 12);
57
+ i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_1_Template, 1, 0, "span", 13)(2, SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Conditional_2_Template, 1, 0, "span", 14);
58
58
  i0.ɵɵelementEnd();
59
59
  } if (rf & 2) {
60
60
  const ctx_r1 = i0.ɵɵnextContext(4);
@@ -63,11 +63,11 @@ function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Templat
63
63
  i0.ɵɵadvance();
64
64
  i0.ɵɵconditional(ctx_r1.AllowDelete ? 2 : -1);
65
65
  } }
66
- function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Template(rf, ctx) { if (rf & 1) {
66
+ function SimpleRecordListComponent_Conditional_2_tr_7_td_1_Template(rf, ctx) { if (rf & 1) {
67
67
  i0.ɵɵelementStart(0, "td")(1, "span");
68
68
  i0.ɵɵtext(2);
69
69
  i0.ɵɵelementEnd();
70
- i0.ɵɵtemplate(3, SimpleRecordListComponent_Conditional_3_tr_5_td_1_Conditional_3_Template, 3, 2, "span");
70
+ i0.ɵɵtemplate(3, SimpleRecordListComponent_Conditional_2_tr_7_td_1_Conditional_3_Template, 3, 2, "span");
71
71
  i0.ɵɵelementEnd();
72
72
  } if (rf & 2) {
73
73
  const c_r8 = ctx.$implicit;
@@ -79,53 +79,57 @@ function SimpleRecordListComponent_Conditional_3_tr_5_td_1_Template(rf, ctx) { i
79
79
  i0.ɵɵadvance();
80
80
  i0.ɵɵconditional(i_r9 === 0 && (ctx_r1.AllowDelete || ctx_r1.AllowEdit) ? 3 : -1);
81
81
  } }
82
- function SimpleRecordListComponent_Conditional_3_tr_5_Template(rf, ctx) { if (rf & 1) {
82
+ function SimpleRecordListComponent_Conditional_2_tr_7_Template(rf, ctx) { if (rf & 1) {
83
83
  const _r4 = i0.ɵɵgetCurrentView();
84
- i0.ɵɵelementStart(0, "tr", 10);
85
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_3_tr_5_Template_tr_click_0_listener() { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.selectRecord(undefined, r_r5)); });
86
- i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_3_tr_5_td_1_Template, 4, 2, "td", 8);
84
+ i0.ɵɵelementStart(0, "tr", 12);
85
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_2_tr_7_Template_tr_click_0_listener() { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.selectRecord(undefined, r_r5)); });
86
+ i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_2_tr_7_td_1_Template, 4, 2, "td", 8);
87
87
  i0.ɵɵelementEnd();
88
88
  } if (rf & 2) {
89
89
  const ctx_r1 = i0.ɵɵnextContext(2);
90
90
  i0.ɵɵadvance();
91
91
  i0.ɵɵproperty("ngForOf", ctx_r1.Columns);
92
92
  } }
93
- function SimpleRecordListComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
94
- i0.ɵɵelementStart(0, "table", 3)(1, "thead")(2, "tr");
95
- i0.ɵɵtemplate(3, SimpleRecordListComponent_Conditional_3_th_3_Template, 2, 1, "th", 8);
96
- i0.ɵɵelementEnd()();
97
- i0.ɵɵelementStart(4, "tbody");
98
- i0.ɵɵtemplate(5, SimpleRecordListComponent_Conditional_3_tr_5_Template, 2, 1, "tr", 9);
93
+ function SimpleRecordListComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
94
+ i0.ɵɵelementStart(0, "div", 2);
95
+ i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_2_Conditional_1_Template, 3, 0, "button", 5);
96
+ i0.ɵɵelementStart(2, "table", 6)(3, "thead", 7)(4, "tr");
97
+ i0.ɵɵtemplate(5, SimpleRecordListComponent_Conditional_2_th_5_Template, 2, 1, "th", 8);
99
98
  i0.ɵɵelementEnd()();
99
+ i0.ɵɵelementStart(6, "tbody");
100
+ i0.ɵɵtemplate(7, SimpleRecordListComponent_Conditional_2_tr_7_Template, 2, 1, "tr", 9);
101
+ i0.ɵɵelementEnd()()();
100
102
  } if (rf & 2) {
101
103
  const ctx_r1 = i0.ɵɵnextContext();
102
- i0.ɵɵadvance(3);
104
+ i0.ɵɵadvance();
105
+ i0.ɵɵconditional(ctx_r1.AllowNew ? 1 : -1);
106
+ i0.ɵɵadvance(4);
103
107
  i0.ɵɵproperty("ngForOf", ctx_r1.Columns);
104
108
  i0.ɵɵadvance(2);
105
109
  i0.ɵɵproperty("ngForOf", ctx_r1.records);
106
110
  } }
107
- function SimpleRecordListComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
111
+ function SimpleRecordListComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
108
112
  const _r10 = i0.ɵɵgetCurrentView();
109
- i0.ɵɵelementStart(0, "mj-entity-form-dialog", 15, 0);
110
- i0.ɵɵlistener("DialogClosed", function SimpleRecordListComponent_Conditional_4_Template_mj_entity_form_dialog_DialogClosed_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEditOrNewRecordFormClosed($event)); });
113
+ i0.ɵɵelementStart(0, "mj-entity-form-dialog", 17, 0);
114
+ i0.ɵɵlistener("DialogClosed", function SimpleRecordListComponent_Conditional_3_Template_mj_entity_form_dialog_DialogClosed_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEditOrNewRecordFormClosed($event)); });
111
115
  i0.ɵɵelementEnd();
112
116
  } if (rf & 2) {
113
117
  const ctx_r1 = i0.ɵɵnextContext();
114
118
  i0.ɵɵproperty("Record", ctx_r1.editOrNewRecord)("SectionName", ctx_r1.EditSectionName)("Visible", ctx_r1.showEditOrNewRecordForm)("AutoRevertOnCancel", true)("HandleSave", true)("Width", 550)("Height", 450);
115
119
  } }
116
- function SimpleRecordListComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
120
+ function SimpleRecordListComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
117
121
  const _r11 = i0.ɵɵgetCurrentView();
118
- i0.ɵɵelementStart(0, "kendo-dialog", 16);
119
- i0.ɵɵlistener("close", function SimpleRecordListComponent_Conditional_5_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("No")); });
122
+ i0.ɵɵelementStart(0, "kendo-dialog", 18);
123
+ i0.ɵɵlistener("close", function SimpleRecordListComponent_Conditional_4_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("No")); });
120
124
  i0.ɵɵelementStart(1, "div");
121
125
  i0.ɵɵtext(2);
122
126
  i0.ɵɵelementEnd();
123
- i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button", 17);
124
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_5_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("Yes")); });
127
+ i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button", 19);
128
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_4_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("Yes")); });
125
129
  i0.ɵɵtext(5, "Yes");
126
130
  i0.ɵɵelementEnd();
127
- i0.ɵɵelementStart(6, "button", 6);
128
- i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_5_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("No")); });
131
+ i0.ɵɵelementStart(6, "button", 10);
132
+ i0.ɵɵlistener("click", function SimpleRecordListComponent_Conditional_4_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeDeleteDialog("No")); });
129
133
  i0.ɵɵtext(7, "No");
130
134
  i0.ɵɵelementEnd()()();
131
135
  } if (rf & 2) {
@@ -305,24 +309,22 @@ export class SimpleRecordListComponent {
305
309
  }
306
310
  }
307
311
  SimpleRecordListComponent.ɵfac = function SimpleRecordListComponent_Factory(t) { return new (t || SimpleRecordListComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
308
- SimpleRecordListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SimpleRecordListComponent, selectors: [["mj-simple-record-list"]], inputs: { EntityName: "EntityName", Columns: "Columns", SortBy: "SortBy", AllowDelete: "AllowDelete", AllowNew: "AllowNew", AllowEdit: "AllowEdit", EditSectionName: "EditSectionName" }, outputs: { RecordSelected: "RecordSelected", RecordEdited: "RecordEdited", RecordCreated: "RecordCreated" }, decls: 6, vars: 4, consts: [["entityForm", ""], ["mjFillContainer", "", 1, "wrapper"], ["kendoButton", ""], [1, "grid"], ["Mode", "section", 3, "Record", "SectionName", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [3, "title", "width", "height"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-plus"], [4, "ngFor", "ngForOf"], [3, "click", 4, "ngFor", "ngForOf"], [3, "click"], [1, "fa-solid", "fa-pen-to-square", "icon"], [1, "fa-solid", "fa-trash-can", "icon"], [1, "fa-solid", "fa-pen-to-square", "icon", 3, "click"], [1, "fa-solid", "fa-trash-can", "icon", 3, "click"], ["Mode", "section", 3, "DialogClosed", "Record", "SectionName", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [3, "close", "title", "width", "height"], ["kendoButton", "", "themeColor", "primary", 3, "click"]], template: function SimpleRecordListComponent_Template(rf, ctx) { if (rf & 1) {
312
+ SimpleRecordListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SimpleRecordListComponent, selectors: [["mj-simple-record-list"]], inputs: { EntityName: "EntityName", Columns: "Columns", SortBy: "SortBy", AllowDelete: "AllowDelete", AllowNew: "AllowNew", AllowEdit: "AllowEdit", EditSectionName: "EditSectionName" }, outputs: { RecordSelected: "RecordSelected", RecordEdited: "RecordEdited", RecordCreated: "RecordCreated" }, decls: 5, vars: 3, consts: [["entityForm", ""], ["mjFillContainer", "", 1, "wrapper", "scrollable"], [1, "vertical-full-width"], ["Mode", "section", 3, "Record", "SectionName", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [3, "title", "width", "height"], ["kendoButton", ""], [1, "grid"], [1, "sticky-header"], [4, "ngFor", "ngForOf"], [3, "click", 4, "ngFor", "ngForOf"], ["kendoButton", "", 3, "click"], [1, "fa-solid", "fa-plus"], [3, "click"], [1, "fa-solid", "fa-pen-to-square", "icon"], [1, "fa-solid", "fa-trash-can", "icon"], [1, "fa-solid", "fa-pen-to-square", "icon", 3, "click"], [1, "fa-solid", "fa-trash-can", "icon", 3, "click"], ["Mode", "section", 3, "DialogClosed", "Record", "SectionName", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [3, "close", "title", "width", "height"], ["kendoButton", "", "themeColor", "primary", 3, "click"]], template: function SimpleRecordListComponent_Template(rf, ctx) { if (rf & 1) {
309
313
  i0.ɵɵelementStart(0, "div", 1);
310
- i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_1_Template, 3, 0, "button", 2)(2, SimpleRecordListComponent_Conditional_2_Template, 2, 0, "div")(3, SimpleRecordListComponent_Conditional_3_Template, 6, 2, "table", 3);
314
+ i0.ɵɵtemplate(1, SimpleRecordListComponent_Conditional_1_Template, 2, 0, "div")(2, SimpleRecordListComponent_Conditional_2_Template, 8, 3, "div", 2);
311
315
  i0.ɵɵelementEnd();
312
- i0.ɵɵtemplate(4, SimpleRecordListComponent_Conditional_4_Template, 2, 7, "mj-entity-form-dialog", 4)(5, SimpleRecordListComponent_Conditional_5_Template, 8, 4, "kendo-dialog", 5);
316
+ i0.ɵɵtemplate(3, SimpleRecordListComponent_Conditional_3_Template, 2, 7, "mj-entity-form-dialog", 3)(4, SimpleRecordListComponent_Conditional_4_Template, 8, 4, "kendo-dialog", 4);
313
317
  } if (rf & 2) {
314
318
  i0.ɵɵadvance();
315
- i0.ɵɵconditional(ctx.AllowNew ? 1 : -1);
316
- i0.ɵɵadvance();
317
- i0.ɵɵconditional(ctx.isLoading ? 2 : 3);
319
+ i0.ɵɵconditional(ctx.isLoading ? 1 : 2);
318
320
  i0.ɵɵadvance(2);
319
- i0.ɵɵconditional(ctx.AllowNew || ctx.AllowEdit ? 4 : -1);
321
+ i0.ɵɵconditional(ctx.AllowNew || ctx.AllowEdit ? 3 : -1);
320
322
  i0.ɵɵadvance();
321
- i0.ɵɵconditional(ctx.deleteRecordDialogVisible && ctx.AllowDelete ? 5 : -1);
322
- } }, dependencies: [i2.NgForOf, i3.DialogComponent, i3.DialogActionsComponent, i4.FillContainer, i5.ButtonComponent, i6.EntityFormDialogComponent, i7.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n.wrapper[_ngcontent-%COMP%] {\n padding-right: 10px;\n}\n\n\n\ntable[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 10px;\n margin-right: 5px;\n border-collapse: collapse; \n\n width: 100%;\n}\n \ntable[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2; \n\n color: black; \n\n font-weight: bold; \n\n text-align: left;\n}\n\n\n\ntable[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n height: 36px; \n\n padding: 0 8px; \n\n}\n\n\n\ntable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n display: flex; \n\n justify-content: space-between; \n\n align-items: center; \n\n padding-right: 8px; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child span[_ngcontent-%COMP%]:first-child {\n border: none; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child span[_ngcontent-%COMP%]:last-child {\n border: none; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child .icon[_ngcontent-%COMP%] {\n margin-left: 10px; \n\n cursor: pointer; \n\n}\n\ntable[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\ntable[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover {\n background-color: #e7f4ff; \n\n}"] });
323
+ i0.ɵɵconditional(ctx.deleteRecordDialogVisible && ctx.AllowDelete ? 4 : -1);
324
+ } }, dependencies: [i2.NgForOf, i3.DialogComponent, i3.DialogActionsComponent, i4.FillContainer, i5.ButtonComponent, i6.EntityFormDialogComponent, i7.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n.wrapper[_ngcontent-%COMP%] {\n padding-right: 10px;\n}\n\n\n\ntable[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 10px;\n margin-right: 5px;\n border-collapse: collapse; \n\n width: 100%;\n}\n \ntable[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2; \n\n color: black; \n\n font-weight: bold; \n\n text-align: left;\n}\n\n\n\ntable[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n height: 36px; \n\n padding: 0 8px; \n\n}\n\n\n\ntable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n display: flex; \n\n justify-content: space-between; \n\n align-items: center; \n\n padding-right: 8px; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child span[_ngcontent-%COMP%]:first-child {\n border: none; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child span[_ngcontent-%COMP%]:last-child {\n border: none; \n\n}\n\n\n\ntd[_ngcontent-%COMP%]:first-child .icon[_ngcontent-%COMP%] {\n margin-left: 10px; \n\n cursor: pointer; \n\n}\n\ntable[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\ntable[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover {\n background-color: #e7f4ff; \n\n}\n\n.sticky-header[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n}\n\n.scrollable[_ngcontent-%COMP%] {\n display: flex;\n overflow-y: scroll;\n max-height: 95%;\n}\n\n.vertical-full-width[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n width: 100%;\n}"] });
323
325
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SimpleRecordListComponent, [{
324
326
  type: Component,
325
- args: [{ selector: 'mj-simple-record-list', template: "<div mjFillContainer class=\"wrapper\">\n @if(AllowNew) {\n <button kendoButton (click)=\"createNewRecord()\"><span class=\"fa-solid fa-plus\"></span> New</button>\n }\n @if(isLoading) {\n <div>\n <kendo-loader></kendo-loader>\n </div>\n }\n @else {\n <table class=\"grid\">\n <thead>\n <tr>\n <th *ngFor=\"let c of Columns\">\n {{ c }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let r of records\" (click)=\"selectRecord(undefined, r)\">\n <td *ngFor=\"let c of Columns; let i = index\">\n <span>{{ r.Get(c) }}</span>\n @if(i === 0 && (AllowDelete || AllowEdit)) {\n <span>\n @if (AllowEdit) {\n <span class=\"fa-solid fa-pen-to-square icon\" (click)=\"editRecord($event, r)\"></span>\n }\n @if (AllowDelete) {\n <span class=\"fa-solid fa-trash-can icon\" (click)=\"deleteRecord($event, r)\"></span>\n }\n </span> \n }\n </td>\n </tr>\n </tbody>\n </table> \n }\n</div>\n \n@if(AllowNew || AllowEdit) {\n<mj-entity-form-dialog #entityForm \n [Record]=\"editOrNewRecord\" \n [SectionName]=\"EditSectionName\"\n Mode=\"section\" \n [Visible]=\"showEditOrNewRecordForm\" \n [AutoRevertOnCancel]=\"true\"\n [HandleSave]=\"true\"\n [Width]=\"550\"\n [Height]=\"450\"\n (DialogClosed)=\"onEditOrNewRecordFormClosed($event)\">\n</mj-entity-form-dialog>\n}\n\n@if(deleteRecordDialogVisible && AllowDelete) {\n<kendo-dialog\n [title]=\"'Delete ' + EntityName + '?'\" \n [width]=\"450\"\n [height]=\"200\"\n (close)=\"closeDeleteDialog('No')\" >\n <div>\n Are you sure you want to delete '{{getRecordName(deleteRecordItem!)}}'?\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"closeDeleteDialog('Yes')\" themeColor=\"primary\">Yes</button>\n <button kendoButton (click)=\"closeDeleteDialog('No')\">No</button>\n </kendo-dialog-actions>\n</kendo-dialog>\n}\n", styles: ["button {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n.wrapper {\n padding-right: 10px;\n}\n\n/* Style for the whole table */\ntable {\n margin-left: 5px;\n margin-top: 10px;\n margin-right: 5px;\n border-collapse: collapse; /* Ensures border collapse for a cleaner look */\n width: 100%;\n}\n \ntable th {\n background-color: #f2f2f2; /* Light gray background for headers */\n color: black; /* Black text color for headers */\n font-weight: bold; /* Bold font weight for headers */\n text-align: left;\n}\n\n/* Style for all table cells */\ntable th, table td {\n height: 36px; /* Fixed height for all rows */\n padding: 0 8px; /* Add some padding inside cells */\n}\n\n/* Style for the first column cells */\ntable td:first-child {\n display: flex; /* Make the cell a flex container */\n justify-content: space-between; /* Space out the text and icons */\n align-items: center; /* Center items vertically */\n padding-right: 8px; /* Ensure there is some padding on the right */\n}\n\n/* Style for the text span within the first column */\ntd:first-child span:first-child {\n border: none; /* Ensures no border is applied to the span */\n}\n\n/* Style for the icons container span within the first column */\ntd:first-child span:last-child {\n border: none; /* Ensures no border is applied to the span */\n}\n\n/* Style for the icons within the first column */\ntd:first-child .icon {\n margin-left: 10px; /* Space between icons if needed */\n cursor: pointer; /* Change cursor to pointer on hover */\n}\n\ntable tr {\n cursor: pointer;\n}\n\ntable tr:hover {\n background-color: #e7f4ff; /* Light blue for even rows */\n}\n "] }]
327
+ args: [{ selector: 'mj-simple-record-list', template: "<div mjFillContainer class=\"wrapper scrollable\">\n @if(isLoading) {\n <div>\n <kendo-loader></kendo-loader>\n </div>\n }\n @else {\n <div class=\"vertical-full-width\">\n @if(AllowNew) {\n <button kendoButton (click)=\"createNewRecord()\"><span class=\"fa-solid fa-plus\"></span> New</button>\n }\n <table class=\"grid\">\n <thead class=\"sticky-header\">\n <tr>\n <th *ngFor=\"let c of Columns\">\n {{ c }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let r of records\" (click)=\"selectRecord(undefined, r)\">\n <td *ngFor=\"let c of Columns; let i = index\">\n <span>{{ r.Get(c) }}</span>\n @if(i === 0 && (AllowDelete || AllowEdit)) {\n <span>\n @if (AllowEdit) {\n <span class=\"fa-solid fa-pen-to-square icon\" (click)=\"editRecord($event, r)\"></span>\n }\n @if (AllowDelete) {\n <span class=\"fa-solid fa-trash-can icon\" (click)=\"deleteRecord($event, r)\"></span>\n }\n </span> \n }\n </td>\n </tr>\n </tbody>\n </table> \n </div> \n }\n</div>\n \n@if(AllowNew || AllowEdit) {\n<mj-entity-form-dialog #entityForm \n [Record]=\"editOrNewRecord\" \n [SectionName]=\"EditSectionName\"\n Mode=\"section\" \n [Visible]=\"showEditOrNewRecordForm\" \n [AutoRevertOnCancel]=\"true\"\n [HandleSave]=\"true\"\n [Width]=\"550\"\n [Height]=\"450\"\n (DialogClosed)=\"onEditOrNewRecordFormClosed($event)\">\n</mj-entity-form-dialog>\n}\n\n@if(deleteRecordDialogVisible && AllowDelete) {\n<kendo-dialog\n [title]=\"'Delete ' + EntityName + '?'\" \n [width]=\"450\"\n [height]=\"200\"\n (close)=\"closeDeleteDialog('No')\" >\n <div>\n Are you sure you want to delete '{{getRecordName(deleteRecordItem!)}}'?\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"closeDeleteDialog('Yes')\" themeColor=\"primary\">Yes</button>\n <button kendoButton (click)=\"closeDeleteDialog('No')\">No</button>\n </kendo-dialog-actions>\n</kendo-dialog>\n}\n", styles: ["button {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n.wrapper {\n padding-right: 10px;\n}\n\n/* Style for the whole table */\ntable {\n margin-left: 5px;\n margin-top: 10px;\n margin-right: 5px;\n border-collapse: collapse; /* Ensures border collapse for a cleaner look */\n width: 100%;\n}\n \ntable th {\n background-color: #f2f2f2; /* Light gray background for headers */\n color: black; /* Black text color for headers */\n font-weight: bold; /* Bold font weight for headers */\n text-align: left;\n}\n\n/* Style for all table cells */\ntable th, table td {\n height: 36px; /* Fixed height for all rows */\n padding: 0 8px; /* Add some padding inside cells */\n}\n\n/* Style for the first column cells */\ntable td:first-child {\n display: flex; /* Make the cell a flex container */\n justify-content: space-between; /* Space out the text and icons */\n align-items: center; /* Center items vertically */\n padding-right: 8px; /* Ensure there is some padding on the right */\n}\n\n/* Style for the text span within the first column */\ntd:first-child span:first-child {\n border: none; /* Ensures no border is applied to the span */\n}\n\n/* Style for the icons container span within the first column */\ntd:first-child span:last-child {\n border: none; /* Ensures no border is applied to the span */\n}\n\n/* Style for the icons within the first column */\ntd:first-child .icon {\n margin-left: 10px; /* Space between icons if needed */\n cursor: pointer; /* Change cursor to pointer on hover */\n}\n\ntable tr {\n cursor: pointer;\n}\n\ntable tr:hover {\n background-color: #e7f4ff; /* Light blue for even rows */\n}\n\n.sticky-header {\n position: sticky;\n top: 0;\n}\n\n.scrollable {\n display: flex;\n overflow-y: scroll;\n max-height: 95%;\n}\n\n.vertical-full-width {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n "] }]
326
328
  }], () => [{ type: i1.Router }], { EntityName: [{
327
329
  type: Input
328
330
  }], Columns: [{
@@ -1 +1 @@
1
- {"version":3,"file":"simple-record-list.component.js","sourceRoot":"","sources":["../../../src/lib/simple-record-list/simple-record-list.component.ts","../../../src/lib/simple-record-list/simple-record-list.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAc,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;ICDjD,iCAAgD;IAA5B,6LAAS,wBAAiB,KAAC;IAAC,0BAAsC;IAAC,oBAAG;IAAA,iBAAS;;;IAGnG,2BAAK;IACD,+BAA6B;IACjC,iB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,KAAK;YAIG,eAAe;kBAAvB,KAAK;YAEI,cAAc;kBAAvB,MAAM;YACG,YAAY;kBAArB,MAAM;YACG,aAAa;kBAAtB,MAAM;;kFAhCI,yBAAyB"}
1
+ {"version":3,"file":"simple-record-list.component.js","sourceRoot":"","sources":["../../../src/lib/simple-record-list/simple-record-list.component.ts","../../../src/lib/simple-record-list/simple-record-list.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAc,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;ICDjD,2BAAK;IACD,+BAA6B;IACjC,iBAAM;;;;IAKE,kCAAgD;IAA5B,4MAAS,wBAAiB,KAAC;IAAC,2BAAsC;IAAC,oBAAG;IAAA,iBAAS;;;IAK3F,0BAA8B;IAC1B,YACJ;IAAA,iBAAK;;;IADD,cACJ;IADI,qCACJ;;;;IAUgB,gCAA6E;IAAhC,oRAAS,+BAAqB,KAAC;IAAC,iBAAO;;;;IAGpF,gCAA2E;IAAlC,oRAAS,iCAAuB,KAAC;IAAC,iBAAO;;;IAL1F,4BAAM;IAIF,AAHA,0HAAiB,6GAGE;IAGvB,iBAAO;;;IANH,cAEC;IAFD,2CAEC;IACD,cAEC;IAFD,6CAEC;;;IART,AADJ,0BAA6C,WACnC;IAAA,YAAc;IAAA,iBAAO;IAC3B,wGAA4C;IAUhD,iBAAK;;;;;;IAXK,eAAc;IAAd,oCAAc;IACpB,cASC;IATD,iFASC;;;;IAZT,8BAAmE;IAArC,sNAAS,oBAAa,SAAS,OAAI,KAAC;IAC9D,2FAA6C;IAajD,iBAAK;;;IAbiB,cAAY;IAAZ,wCAAY;;;IAd9C,8BAAiC;IAC7B,mGAAe;IAKP,AADJ,AADJ,gCAAoB,eACa,SACrB;IACA,sF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GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACpE,OAAO,UAAU,GAAG,QAAQ,CAAC;YAC/B,CAAC;QACH,CAAC;IACH,CAAC;;kGA/KU,yBAAyB;4EAAzB,yBAAyB;QCZtC,8BAAgD;QAM5C,AALA,+EAAgB,qEAKT;QAiCX,iBAAM;QAgBN,AAdA,oGAA4B,8EAcmB;;QAtD3C,cAqCC;QArCD,uCAqCC;QAGL,eAYC;QAZD,wDAYC;QAED,cAcC;QAdD,2EAcC;;iFDzDY,yBAAyB;cALrC,SAAS;2BACE,uBAAuB;uCAQxB,UAAU;kBAAlB,KAAK;YAIG,OAAO;kBAAf,KAAK;YAIG,MAAM;kBAAd,KAAK;YAIG,WAAW;kBAAnB,KAAK;YAIG,QAAQ;kBAAhB,KAAK;YAIG,SAAS;kBAAjB,KAAK;YAIG,eAAe;kBAAvB,KAAK;YAEI,cAAc;kBAAvB,MAAM;YACG,YAAY;kBAArB,MAAM;YACG,aAAa;kBAAtB,MAAM;;kFAhCI,yBAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-simple-record-list",
3
- "version": "2.10.0",
3
+ "version": "2.12.0",
4
4
  "description": "MemberJunction: Very simple and reusable Angular component for displaying, editing, creating and deleting records in any entity",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -25,12 +25,12 @@
25
25
  "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/core-entities": "2.10.0",
29
- "@memberjunction/global": "2.10.0",
30
- "@memberjunction/core": "2.10.0",
31
- "@memberjunction/ng-container-directives": "2.10.0",
32
- "@memberjunction/ng-shared": "2.10.0",
33
- "@memberjunction/ng-entity-form-dialog": "2.10.0",
28
+ "@memberjunction/core-entities": "2.12.0",
29
+ "@memberjunction/global": "2.12.0",
30
+ "@memberjunction/core": "2.12.0",
31
+ "@memberjunction/ng-container-directives": "2.12.0",
32
+ "@memberjunction/ng-shared": "2.12.0",
33
+ "@memberjunction/ng-entity-form-dialog": "2.12.0",
34
34
  "@progress/kendo-angular-buttons": "16.2.0",
35
35
  "@progress/kendo-angular-dialog": "16.2.0",
36
36
  "@progress/kendo-angular-layout": "16.2.0",