@memberjunction/ng-user-view-grid 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.
@@ -46,6 +46,10 @@ export declare class UserViewGridComponent implements OnInit, AfterViewInit {
46
46
  * If set to true, the Create New Record button will be displayed if the user is allowed to create new records for the entity being shown. If set to false, the Create New Record button will be hidden.
47
47
  */
48
48
  ShowCreateNewRecordButton: boolean;
49
+ /**
50
+ * If set to true, and if the entity being displayed supports communication, the communication button will be displayed. If set to false, the communication button will be hidden.
51
+ */
52
+ ShowCommunicationButton: boolean;
49
53
  /**
50
54
  * When set to Dialog, the Create New Record button will open a dialog to create a new record. When set to Tab, the Create New Record button will open a new tab to create a new record.
51
55
  */
@@ -153,6 +157,11 @@ export declare class UserViewGridComponent implements OnInit, AfterViewInit {
153
157
  exportData: any[];
154
158
  doExcelExport(): Promise<void>;
155
159
  protected getExportData(): Promise<any[]>;
160
+ /**
161
+ * Handles communication functionality for a given view, only available if the entity being displayed supports communication.
162
+ */
163
+ doCommunication(): Promise<void>;
164
+ get EntitySupportsCommunication(): boolean;
156
165
  entityFormDialog: EntityFormDialogComponent | null;
157
166
  /**
158
167
  * This method will create a new record of the given entity type. It will only work if the User has the ability to create records of
@@ -169,6 +178,6 @@ export declare class UserViewGridComponent implements OnInit, AfterViewInit {
169
178
  private setupSearchDebounce;
170
179
  private search;
171
180
  static ɵfac: i0.ɵɵFactoryDeclaration<UserViewGridComponent, never>;
172
- static ɵcmp: i0.ɵɵComponentDeclaration<UserViewGridComponent, "mj-user-view-grid", never, { "Params": { "alias": "Params"; "required": false; }; "BottomMargin": { "alias": "BottomMargin"; "required": false; }; "InEditMode": { "alias": "InEditMode"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "AutoNavigate": { "alias": "AutoNavigate"; "required": false; }; "NewRecordValues": { "alias": "NewRecordValues"; "required": false; }; "ShowCreateNewRecordButton": { "alias": "ShowCreateNewRecordButton"; "required": false; }; "CreateRecordMode": { "alias": "CreateRecordMode"; "required": false; }; "AllowLoad": { "alias": "AllowLoad"; "required": false; }; }, { "rowClicked": "rowClicked"; "rowEdited": "rowEdited"; }, never, never, false, never>;
181
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserViewGridComponent, "mj-user-view-grid", never, { "Params": { "alias": "Params"; "required": false; }; "BottomMargin": { "alias": "BottomMargin"; "required": false; }; "InEditMode": { "alias": "InEditMode"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "AutoNavigate": { "alias": "AutoNavigate"; "required": false; }; "NewRecordValues": { "alias": "NewRecordValues"; "required": false; }; "ShowCreateNewRecordButton": { "alias": "ShowCreateNewRecordButton"; "required": false; }; "ShowCommunicationButton": { "alias": "ShowCommunicationButton"; "required": false; }; "CreateRecordMode": { "alias": "CreateRecordMode"; "required": false; }; "AllowLoad": { "alias": "AllowLoad"; "required": false; }; }, { "rowClicked": "rowClicked"; "rowEdited": "rowEdited"; }, never, never, false, never>;
173
182
  }
174
183
  //# sourceMappingURL=ng-user-view-grid.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-user-view-grid.component.d.ts","sourceRoot":"","sources":["../../src/lib/ng-user-view-grid.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAU,YAAY,EAAE,MAAM,EAAS,aAAa,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAC/H,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAY,UAAU,EAAW,aAAa,EAAE,eAAe,EAAqB,UAAU,EAA0B,YAAY,EAAkE,MAAM,sBAAsB,CAAC;AAC1O,OAAO,EAA2B,cAAc,EAAE,sBAAsB,EAAE,UAAU,EAAoB,MAAM,+BAA+B,CAAC;AAE9I,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,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G,IAAI,CAAQ;IAEzF;;;;OAIG;IACU,iBAAiB;IAsCjB,qBAAqB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBnD,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAwBjC,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAMhD,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAKrD,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmChD,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAKzC,OAAO,CAAC,mBAAmB;YASb,MAAM;yCA9nCT,qBAAqB;2CAArB,qBAAqB;CAyoCjC"}
@@ -18,6 +18,8 @@ import { ExcelExportComponent } from '@progress/kendo-angular-excel-export';
18
18
  import { MJEventType, MJGlobal } from '@memberjunction/global';
19
19
  import { TextAreaComponent } from '@progress/kendo-angular-inputs';
20
20
  import { BaseFormComponentEventCodes, SharedService } from '@memberjunction/ng-shared';
21
+ import { EntityCommunicationsEngineClient } from '@memberjunction/entity-communications-client';
22
+ import { Message } from '@memberjunction/communication-types';
21
23
  import * as i0 from "@angular/core";
22
24
  import * as i1 from "@angular/forms";
23
25
  import * as i2 from "@angular/router";
@@ -38,124 +40,133 @@ const _c3 = ["analysisQuestion"];
38
40
  const _c4 = ["analysisResults"];
39
41
  const _c5 = ["compareDialogContainer"];
40
42
  const _c6 = ["entityFormDialog"];
43
+ const _c7 = () => ({ "text-align": "center", "vertical-align": "center" });
44
+ const _c8 = () => ({ "font-weight": "bold", "background-color": "white" });
41
45
  function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
42
- const _r19 = i0.ɵɵgetCurrentView();
43
- i0.ɵɵelementStart(0, "button", 17);
44
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r18.doCreateNewRecord()); });
45
- i0.ɵɵelement(1, "span", 21);
46
+ const _r3 = i0.ɵɵgetCurrentView();
47
+ i0.ɵɵelementStart(0, "button", 18);
48
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.doCreateNewRecord()); });
49
+ i0.ɵɵelement(1, "span", 22);
46
50
  i0.ɵɵtext(2);
47
51
  i0.ɵɵelementEnd();
48
52
  } if (rf & 2) {
49
- const ctx_r16 = i0.ɵɵnextContext(3);
53
+ const ctx_r3 = i0.ɵɵnextContext(3);
50
54
  i0.ɵɵadvance(2);
51
- i0.ɵɵtextInterpolate1(" New ", ctx_r16.entityRecord == null ? null : ctx_r16.entityRecord.EntityInfo == null ? null : ctx_r16.entityRecord.EntityInfo.Name, " ");
55
+ i0.ɵɵtextInterpolate1(" New ", ctx_r3.entityRecord == null ? null : ctx_r3.entityRecord.EntityInfo == null ? null : ctx_r3.entityRecord.EntityInfo.Name, " ");
52
56
  } }
53
57
  function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_12_Template(rf, ctx) { if (rf & 1) {
54
- const _r21 = i0.ɵɵgetCurrentView();
55
- i0.ɵɵelementStart(0, "button", 22);
56
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r20.RefreshFromSavedParams()); });
58
+ const _r5 = i0.ɵɵgetCurrentView();
59
+ i0.ɵɵelementStart(0, "button", 20);
60
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.doCommunication()); });
57
61
  i0.ɵɵelement(1, "span", 23);
62
+ i0.ɵɵelementEnd();
63
+ } }
64
+ function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_13_Template(rf, ctx) { if (rf & 1) {
65
+ const _r6 = i0.ɵɵgetCurrentView();
66
+ i0.ɵɵelementStart(0, "button", 24);
67
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.RefreshFromSavedParams()); });
68
+ i0.ɵɵelement(1, "span", 25);
58
69
  i0.ɵɵtext(2, " Refresh ");
59
70
  i0.ɵɵelementEnd();
60
71
  } }
61
72
  function UserViewGridComponent_ng_template_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
62
- const _r23 = i0.ɵɵgetCurrentView();
63
- i0.ɵɵtemplate(0, UserViewGridComponent_ng_template_3_Conditional_0_Conditional_0_Template, 3, 1, "button", 16);
64
- i0.ɵɵelementStart(1, "button", 17);
65
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r23); const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r22.doExcelExport()); });
66
- i0.ɵɵelement(2, "span", 18);
73
+ const _r2 = i0.ɵɵgetCurrentView();
74
+ i0.ɵɵtemplate(0, UserViewGridComponent_ng_template_3_Conditional_0_Conditional_0_Template, 3, 1, "button", 17);
75
+ i0.ɵɵelementStart(1, "button", 18);
76
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.doExcelExport()); });
77
+ i0.ɵɵelement(2, "span", 19);
67
78
  i0.ɵɵtext(3, " Export to Excel ");
68
79
  i0.ɵɵelementEnd();
69
- i0.ɵɵelementStart(4, "button", 19);
70
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r23); const ctx_r24 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r24.enableCheckbox(false, "duplicate")); });
80
+ i0.ɵɵelementStart(4, "button", 20);
81
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableCheckbox(false, "duplicate")); });
71
82
  i0.ɵɵtext(5, " Search For Duplicates ");
72
83
  i0.ɵɵelementEnd();
73
- i0.ɵɵelementStart(6, "button", 19);
74
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r23); const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.enableCheckbox(false, "addToList")); });
84
+ i0.ɵɵelementStart(6, "button", 20);
85
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableCheckbox(false, "addToList")); });
75
86
  i0.ɵɵtext(7, " Add To List ");
76
87
  i0.ɵɵelementEnd();
77
- i0.ɵɵelementStart(8, "button", 19);
78
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r23); const ctx_r26 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r26.enableMergeOrCompare(false, "merge")); });
88
+ i0.ɵɵelementStart(8, "button", 20);
89
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableMergeOrCompare(false, "merge")); });
79
90
  i0.ɵɵtext(9, " Merge ");
80
91
  i0.ɵɵelementEnd();
81
- i0.ɵɵelementStart(10, "button", 19);
82
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r23); const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.enableMergeOrCompare(false, "compare")); });
92
+ i0.ɵɵelementStart(10, "button", 20);
93
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_0_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableMergeOrCompare(false, "compare")); });
83
94
  i0.ɵɵtext(11, " Compare ");
84
95
  i0.ɵɵelementEnd();
85
- i0.ɵɵtemplate(12, UserViewGridComponent_ng_template_3_Conditional_0_Conditional_12_Template, 3, 0, "button", 20);
96
+ i0.ɵɵtemplate(12, UserViewGridComponent_ng_template_3_Conditional_0_Conditional_12_Template, 2, 0, "button", 16)(13, UserViewGridComponent_ng_template_3_Conditional_0_Conditional_13_Template, 3, 0, "button", 21);
86
97
  } if (rf & 2) {
87
- const ctx_r10 = i0.ɵɵnextContext(2);
88
- i0.ɵɵconditional(0, ctx_r10.ShowCreateNewRecordButton && ctx_r10.UserCanCreateNewRecord ? 0 : -1);
98
+ const ctx_r3 = i0.ɵɵnextContext(2);
99
+ i0.ɵɵconditional(ctx_r3.ShowCreateNewRecordButton && ctx_r3.UserCanCreateNewRecord ? 0 : -1);
89
100
  i0.ɵɵadvance(12);
90
- i0.ɵɵconditional(12, ctx_r10.showRefreshButton ? 12 : -1);
101
+ i0.ɵɵconditional(ctx_r3.ShowCommunicationButton && ctx_r3.EntitySupportsCommunication ? 12 : -1);
102
+ i0.ɵɵadvance();
103
+ i0.ɵɵconditional(ctx_r3.showRefreshButton ? 13 : -1);
91
104
  } }
92
105
  function UserViewGridComponent_ng_template_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
93
- const _r29 = i0.ɵɵgetCurrentView();
94
- i0.ɵɵelementStart(0, "button", 24);
95
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r28.enableCheckbox(false, "duplicate")); });
106
+ const _r7 = i0.ɵɵgetCurrentView();
107
+ i0.ɵɵelementStart(0, "button", 26);
108
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableCheckbox(false, "duplicate")); });
96
109
  i0.ɵɵtext(1, " Search For Duplicates ");
97
110
  i0.ɵɵelementEnd();
98
111
  } if (rf & 2) {
99
- const ctx_r11 = i0.ɵɵnextContext(2);
100
- i0.ɵɵproperty("disabled", ctx_r11.duplicateMode && ctx_r11.recordsToCompare.length < 2);
112
+ const ctx_r3 = i0.ɵɵnextContext(2);
113
+ i0.ɵɵproperty("disabled", ctx_r3.duplicateMode && ctx_r3.recordsToCompare.length < 2);
101
114
  } }
102
115
  function UserViewGridComponent_ng_template_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
103
- const _r31 = i0.ɵɵgetCurrentView();
104
- i0.ɵɵelementStart(0, "button", 24);
105
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r31); const ctx_r30 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r30.enableCheckbox(false, "addToList")); });
116
+ const _r8 = i0.ɵɵgetCurrentView();
117
+ i0.ɵɵelementStart(0, "button", 26);
118
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableCheckbox(false, "addToList")); });
106
119
  i0.ɵɵtext(1, " Add To List ");
107
120
  i0.ɵɵelementEnd();
108
121
  } if (rf & 2) {
109
- const ctx_r12 = i0.ɵɵnextContext(2);
110
- i0.ɵɵproperty("disabled", ctx_r12.addToListMode && ctx_r12.recordsToCompare.length === 0);
122
+ const ctx_r3 = i0.ɵɵnextContext(2);
123
+ i0.ɵɵproperty("disabled", ctx_r3.addToListMode && ctx_r3.recordsToCompare.length === 0);
111
124
  } }
112
125
  function UserViewGridComponent_ng_template_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
113
- const _r33 = i0.ɵɵgetCurrentView();
114
- i0.ɵɵelementStart(0, "button", 24);
115
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r32.enableMergeOrCompare(false, "compare")); });
126
+ const _r9 = i0.ɵɵgetCurrentView();
127
+ i0.ɵɵelementStart(0, "button", 26);
128
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableMergeOrCompare(false, "compare")); });
116
129
  i0.ɵɵtext(1, " Compare ");
117
130
  i0.ɵɵelementEnd();
118
131
  } if (rf & 2) {
119
- const ctx_r13 = i0.ɵɵnextContext(2);
120
- i0.ɵɵproperty("disabled", ctx_r13.compareMode && ctx_r13.recordsToCompare.length < 2);
132
+ const ctx_r3 = i0.ɵɵnextContext(2);
133
+ i0.ɵɵproperty("disabled", ctx_r3.compareMode && ctx_r3.recordsToCompare.length < 2);
121
134
  } }
122
135
  function UserViewGridComponent_ng_template_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
123
- const _r35 = i0.ɵɵgetCurrentView();
124
- i0.ɵɵelementStart(0, "button", 24);
125
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r34.enableMergeOrCompare(false, "merge")); });
136
+ const _r10 = i0.ɵɵgetCurrentView();
137
+ i0.ɵɵelementStart(0, "button", 26);
138
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableMergeOrCompare(false, "merge")); });
126
139
  i0.ɵɵtext(1, " Merge ");
127
140
  i0.ɵɵelementEnd();
128
141
  } if (rf & 2) {
129
- const ctx_r14 = i0.ɵɵnextContext(2);
130
- i0.ɵɵproperty("disabled", ctx_r14.mergeMode && ctx_r14.recordsToCompare.length < 2);
142
+ const ctx_r3 = i0.ɵɵnextContext(2);
143
+ i0.ɵɵproperty("disabled", ctx_r3.mergeMode && ctx_r3.recordsToCompare.length < 2);
131
144
  } }
132
145
  function UserViewGridComponent_ng_template_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
133
- const _r37 = i0.ɵɵgetCurrentView();
134
- i0.ɵɵelementStart(0, "button", 19);
135
- i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.enableCheckbox(true, "")); });
146
+ const _r11 = i0.ɵɵgetCurrentView();
147
+ i0.ɵɵelementStart(0, "button", 20);
148
+ i0.ɵɵlistener("click", function UserViewGridComponent_ng_template_3_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.enableCheckbox(true, "")); });
136
149
  i0.ɵɵtext(1, " Cancel ");
137
150
  i0.ɵɵelementEnd();
138
151
  } }
139
152
  function UserViewGridComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
140
- i0.ɵɵtemplate(0, UserViewGridComponent_ng_template_3_Conditional_0_Template, 13, 2)(1, UserViewGridComponent_ng_template_3_Conditional_1_Template, 2, 1, "button", 14)(2, UserViewGridComponent_ng_template_3_Conditional_2_Template, 2, 1, "button", 14)(3, UserViewGridComponent_ng_template_3_Conditional_3_Template, 2, 1, "button", 14)(4, UserViewGridComponent_ng_template_3_Conditional_4_Template, 2, 1, "button", 14)(5, UserViewGridComponent_ng_template_3_Conditional_5_Template, 2, 0, "button", 15);
153
+ i0.ɵɵtemplate(0, UserViewGridComponent_ng_template_3_Conditional_0_Template, 14, 3)(1, UserViewGridComponent_ng_template_3_Conditional_1_Template, 2, 1, "button", 15)(2, UserViewGridComponent_ng_template_3_Conditional_2_Template, 2, 1, "button", 15)(3, UserViewGridComponent_ng_template_3_Conditional_3_Template, 2, 1, "button", 15)(4, UserViewGridComponent_ng_template_3_Conditional_4_Template, 2, 1, "button", 15)(5, UserViewGridComponent_ng_template_3_Conditional_5_Template, 2, 0, "button", 16);
141
154
  } if (rf & 2) {
142
- const ctx_r1 = i0.ɵɵnextContext();
143
- i0.ɵɵconditional(0, !ctx_r1.anyModeEnabled ? 0 : -1);
155
+ const ctx_r3 = i0.ɵɵnextContext();
156
+ i0.ɵɵconditional(!ctx_r3.anyModeEnabled ? 0 : -1);
144
157
  i0.ɵɵadvance();
145
- i0.ɵɵconditional(1, ctx_r1.duplicateMode ? 1 : -1);
158
+ i0.ɵɵconditional(ctx_r3.duplicateMode ? 1 : -1);
146
159
  i0.ɵɵadvance();
147
- i0.ɵɵconditional(2, ctx_r1.addToListMode ? 2 : -1);
160
+ i0.ɵɵconditional(ctx_r3.addToListMode ? 2 : -1);
148
161
  i0.ɵɵadvance();
149
- i0.ɵɵconditional(3, ctx_r1.compareMode ? 3 : -1);
162
+ i0.ɵɵconditional(ctx_r3.compareMode ? 3 : -1);
150
163
  i0.ɵɵadvance();
151
- i0.ɵɵconditional(4, ctx_r1.mergeMode ? 4 : -1);
164
+ i0.ɵɵconditional(ctx_r3.mergeMode ? 4 : -1);
152
165
  i0.ɵɵadvance();
153
- i0.ɵɵconditional(5, ctx_r1.anyModeEnabled ? 5 : -1);
166
+ i0.ɵɵconditional(ctx_r3.anyModeEnabled ? 5 : -1);
154
167
  } }
155
- const _c7 = () => ({ "text-align": "center", "vertical-align": "center" });
156
- const _c8 = () => ({ "font-weight": "bold", "background-color": "white" });
157
168
  function UserViewGridComponent_kendo_grid_checkbox_column_4_Template(rf, ctx) { if (rf & 1) {
158
- i0.ɵɵelement(0, "kendo-grid-checkbox-column", 25);
169
+ i0.ɵɵelement(0, "kendo-grid-checkbox-column", 27);
159
170
  } if (rf & 2) {
160
171
  i0.ɵɵstyleMap(i0.ɵɵpureFunction0(4, _c7));
161
172
  i0.ɵɵproperty("width", 50)("headerStyle", i0.ɵɵpureFunction0(5, _c8));
@@ -165,191 +176,191 @@ function UserViewGridComponent_kendo_grid_column_5_1_ng_template_0_Template(rf,
165
176
  i0.ɵɵpipe(1, "number");
166
177
  i0.ɵɵpipe(2, "number");
167
178
  i0.ɵɵelement(3, "br");
168
- i0.ɵɵelementStart(4, "span", 28);
179
+ i0.ɵɵelementStart(4, "span", 30);
169
180
  i0.ɵɵtext(5);
170
181
  i0.ɵɵpipe(6, "number");
171
182
  i0.ɵɵelementEnd();
172
183
  } if (rf & 2) {
173
- const ctx_r40 = i0.ɵɵnextContext(3);
174
- i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(1, 3, ctx_r40.viewData.length), "", ctx_r40.totalRowCount > ctx_r40.viewData.length ? " of " + i0.ɵɵpipeBind1(2, 5, ctx_r40.totalRowCount) : " rows", "");
184
+ const ctx_r3 = i0.ɵɵnextContext(3);
185
+ i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(1, 3, ctx_r3.viewData.length), "", ctx_r3.totalRowCount > ctx_r3.viewData.length ? " of " + i0.ɵɵpipeBind1(2, 5, ctx_r3.totalRowCount) : " rows", "");
175
186
  i0.ɵɵadvance(5);
176
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(6, 7, ctx_r40.viewExecutionTime, "1.2-2"), " seconds");
187
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(6, 7, ctx_r3.viewExecutionTime, "1.2-2"), " seconds");
177
188
  } }
178
189
  function UserViewGridComponent_kendo_grid_column_5_1_Template(rf, ctx) { if (rf & 1) {
179
- i0.ɵɵtemplate(0, UserViewGridComponent_kendo_grid_column_5_1_ng_template_0_Template, 7, 10, "ng-template", 27);
190
+ i0.ɵɵtemplate(0, UserViewGridComponent_kendo_grid_column_5_1_ng_template_0_Template, 7, 10, "ng-template", 29);
180
191
  } }
181
192
  function UserViewGridComponent_kendo_grid_column_5_Template(rf, ctx) { if (rf & 1) {
182
- i0.ɵɵelementStart(0, "kendo-grid-column", 26);
183
- i0.ɵɵtemplate(1, UserViewGridComponent_kendo_grid_column_5_1_Template, 1, 0, null, 10);
193
+ i0.ɵɵelementStart(0, "kendo-grid-column", 28);
194
+ i0.ɵɵtemplate(1, UserViewGridComponent_kendo_grid_column_5_1_Template, 1, 0, null, 12);
184
195
  i0.ɵɵelementEnd();
185
196
  } if (rf & 2) {
186
- const item_r38 = ctx.$implicit;
197
+ const item_r12 = ctx.$implicit;
187
198
  const ctx_r3 = i0.ɵɵnextContext();
188
- i0.ɵɵstyleMap(ctx_r3.GetColumnCellStyle(item_r38));
189
- i0.ɵɵproperty("field", item_r38.Name)("title", ctx_r3.GetColumnTitle(item_r38))("width", item_r38.width ? item_r38.width : 100)("editable", item_r38.EntityField.AllowUpdateAPI)("editor", ctx_r3.getEditor(item_r38.EntityField))("headerStyle", i0.ɵɵpureFunction0(9, _c8));
199
+ i0.ɵɵstyleMap(ctx_r3.GetColumnCellStyle(item_r12));
200
+ i0.ɵɵproperty("field", item_r12.Name)("title", ctx_r3.GetColumnTitle(item_r12))("width", item_r12.width ? item_r12.width : 100)("editable", item_r12.EntityField.AllowUpdateAPI)("editor", ctx_r3.getEditor(item_r12.EntityField))("headerStyle", i0.ɵɵpureFunction0(9, _c8));
190
201
  i0.ɵɵadvance();
191
- i0.ɵɵproperty("ngIf", item_r38 === ctx_r3.visibleColumns[0]);
202
+ i0.ɵɵproperty("ngIf", item_r12 === ctx_r3.visibleColumns[0]);
192
203
  } }
193
204
  function UserViewGridComponent_kendo_excelexport_column_8_Template(rf, ctx) { if (rf & 1) {
194
- i0.ɵɵelement(0, "kendo-excelexport-column", 29);
205
+ i0.ɵɵelement(0, "kendo-excelexport-column", 31);
195
206
  } if (rf & 2) {
196
- const exportCol_r41 = ctx.$implicit;
197
- i0.ɵɵproperty("field", exportCol_r41.Name)("title", exportCol_r41.Name);
207
+ const exportCol_r13 = ctx.$implicit;
208
+ i0.ɵɵproperty("field", exportCol_r13.Name)("title", exportCol_r13.Name);
198
209
  } }
199
210
  function UserViewGridComponent_div_11_kendo_window_2_button_5_Template(rf, ctx) { if (rf & 1) {
200
- const _r50 = i0.ɵɵgetCurrentView();
201
- i0.ɵɵelementStart(0, "button", 40);
202
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r50); const ctx_r49 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r49.closeCompareDialog("merge")); });
211
+ const _r15 = i0.ɵɵgetCurrentView();
212
+ i0.ɵɵelementStart(0, "button", 41);
213
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeCompareDialog("merge")); });
203
214
  i0.ɵɵtext(1, " Merge Records ");
204
215
  i0.ɵɵelementEnd();
205
216
  } }
206
217
  function UserViewGridComponent_div_11_kendo_window_2_button_6_Template(rf, ctx) { if (rf & 1) {
207
- const _r52 = i0.ɵɵgetCurrentView();
208
- i0.ɵɵelementStart(0, "button", 40);
209
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r52); const ctx_r51 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r51.findDuplicateRecords()); });
218
+ const _r16 = i0.ɵɵgetCurrentView();
219
+ i0.ɵɵelementStart(0, "button", 41);
220
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.findDuplicateRecords()); });
210
221
  i0.ɵɵtext(1, " Search for Duplicates ");
211
222
  i0.ɵɵelementEnd();
212
223
  } }
213
224
  function UserViewGridComponent_div_11_kendo_window_2_button_7_Template(rf, ctx) { if (rf & 1) {
214
- const _r54 = i0.ɵɵgetCurrentView();
215
- i0.ɵɵelementStart(0, "button", 41);
216
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r53.closeCompareDialog("close")); });
225
+ const _r17 = i0.ɵɵgetCurrentView();
226
+ i0.ɵɵelementStart(0, "button", 42);
227
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeCompareDialog("close")); });
217
228
  i0.ɵɵtext(1, " Close ");
218
229
  i0.ɵɵelementEnd();
219
230
  } }
220
231
  function UserViewGridComponent_div_11_kendo_window_2_button_8_Template(rf, ctx) { if (rf & 1) {
221
- const _r56 = i0.ɵɵgetCurrentView();
222
- i0.ɵɵelementStart(0, "button", 41);
223
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r56); const ctx_r55 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r55.closeCompareDialog("cancel")); });
232
+ const _r18 = i0.ɵɵgetCurrentView();
233
+ i0.ɵɵelementStart(0, "button", 42);
234
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeCompareDialog("cancel")); });
224
235
  i0.ɵɵtext(1, " Cancel ");
225
236
  i0.ɵɵelementEnd();
226
237
  } }
227
238
  function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template(rf, ctx) { if (rf & 1) {
228
- const _r58 = i0.ɵɵgetCurrentView();
229
- i0.ɵɵelementStart(0, "kendo-dialog", 42);
230
- i0.ɵɵlistener("close", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r58); const ctx_r57 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r57.closeConfirmMergeDialog("cancel")); });
231
- i0.ɵɵelementStart(1, "p", 43);
239
+ const _r19 = i0.ɵɵgetCurrentView();
240
+ i0.ɵɵelementStart(0, "kendo-dialog", 43);
241
+ i0.ɵɵlistener("close", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r19); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeConfirmMergeDialog("cancel")); });
242
+ i0.ɵɵelementStart(1, "p", 44);
232
243
  i0.ɵɵtext(2, " Are you sure you want to merge the records? This action cannot be undone. If you select \"Yes\", the records will be merged and the duplicate records will be deleted. ");
233
244
  i0.ɵɵelementEnd();
234
- i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button", 17);
235
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r58); const ctx_r59 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r59.closeConfirmMergeDialog("no")); });
245
+ i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button", 18);
246
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r19); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeConfirmMergeDialog("no")); });
236
247
  i0.ɵɵtext(5, "No");
237
248
  i0.ɵɵelementEnd();
238
- i0.ɵɵelementStart(6, "button", 44);
239
- i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r58); const ctx_r60 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r60.closeConfirmMergeDialog("yes")); });
249
+ i0.ɵɵelementStart(6, "button", 45);
250
+ i0.ɵɵlistener("click", function UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r19); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.closeConfirmMergeDialog("yes")); });
240
251
  i0.ɵɵtext(7, " Yes ");
241
252
  i0.ɵɵelementEnd()()();
242
253
  } if (rf & 2) {
243
254
  i0.ɵɵproperty("minWidth", 250)("width", 450);
244
255
  } }
245
256
  function UserViewGridComponent_div_11_kendo_window_2_Template(rf, ctx) { if (rf & 1) {
246
- const _r62 = i0.ɵɵgetCurrentView();
247
- i0.ɵɵelementStart(0, "kendo-window", 32);
248
- i0.ɵɵlistener("close", function UserViewGridComponent_div_11_kendo_window_2_Template_kendo_window_close_0_listener($event) { i0.ɵɵrestoreView(_r62); const ctx_r61 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r61.closeCompareDialog($event)); });
249
- i0.ɵɵelementStart(1, "div", 33);
250
- i0.ɵɵelement(2, "mj-compare-records", 34, 35);
257
+ const _r14 = i0.ɵɵgetCurrentView();
258
+ i0.ɵɵelementStart(0, "kendo-window", 34);
259
+ i0.ɵɵlistener("close", function UserViewGridComponent_div_11_kendo_window_2_Template_kendo_window_close_0_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.closeCompareDialog($event)); });
260
+ i0.ɵɵelementStart(1, "div", 35);
261
+ i0.ɵɵelement(2, "mj-compare-records", 36, 4);
251
262
  i0.ɵɵelementEnd();
252
- i0.ɵɵelementStart(4, "div", 36);
253
- i0.ɵɵtemplate(5, UserViewGridComponent_div_11_kendo_window_2_button_5_Template, 2, 0, "button", 37)(6, UserViewGridComponent_div_11_kendo_window_2_button_6_Template, 2, 0, "button", 37)(7, UserViewGridComponent_div_11_kendo_window_2_button_7_Template, 2, 0, "button", 38)(8, UserViewGridComponent_div_11_kendo_window_2_button_8_Template, 2, 0, "button", 38);
263
+ i0.ɵɵelementStart(4, "div", 37);
264
+ i0.ɵɵtemplate(5, UserViewGridComponent_div_11_kendo_window_2_button_5_Template, 2, 0, "button", 38)(6, UserViewGridComponent_div_11_kendo_window_2_button_6_Template, 2, 0, "button", 38)(7, UserViewGridComponent_div_11_kendo_window_2_button_7_Template, 2, 0, "button", 39)(8, UserViewGridComponent_div_11_kendo_window_2_button_8_Template, 2, 0, "button", 39);
254
265
  i0.ɵɵelementEnd();
255
- i0.ɵɵtemplate(9, UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template, 8, 2, "kendo-dialog", 39);
266
+ i0.ɵɵtemplate(9, UserViewGridComponent_div_11_kendo_window_2_kendo_dialog_9_Template, 8, 2, "kendo-dialog", 40);
256
267
  i0.ɵɵelementEnd();
257
268
  } if (rf & 2) {
258
- const ctx_r42 = i0.ɵɵnextContext(2);
269
+ const ctx_r3 = i0.ɵɵnextContext(2);
259
270
  i0.ɵɵproperty("minHeight", 300)("minWidth", 800)("top", 100)("left", 100)("width", 1200)("height", 675)("resizable", true);
260
271
  i0.ɵɵadvance();
261
272
  i0.ɵɵproperty("fillHeight", true)("bottomMargin", 100);
262
273
  i0.ɵɵadvance();
263
- i0.ɵɵproperty("entityName", ctx_r42._entityInfo ? ctx_r42._entityInfo.Name : "")("recordsToCompare", ctx_r42.recordsToCompare)("visibleColumns", ctx_r42.visibleColumns)("selectionMode", ctx_r42.mergeMode ? true : false);
274
+ i0.ɵɵproperty("entityName", ctx_r3._entityInfo ? ctx_r3._entityInfo.Name : "")("recordsToCompare", ctx_r3.recordsToCompare)("visibleColumns", ctx_r3.visibleColumns)("selectionMode", ctx_r3.mergeMode ? true : false);
264
275
  i0.ɵɵadvance(3);
265
- i0.ɵɵproperty("ngIf", ctx_r42.mergeMode);
276
+ i0.ɵɵproperty("ngIf", ctx_r3.mergeMode);
266
277
  i0.ɵɵadvance();
267
- i0.ɵɵproperty("ngIf", ctx_r42.duplicateMode);
278
+ i0.ɵɵproperty("ngIf", ctx_r3.duplicateMode);
268
279
  i0.ɵɵadvance();
269
- i0.ɵɵproperty("ngIf", ctx_r42.compareMode);
280
+ i0.ɵɵproperty("ngIf", ctx_r3.compareMode);
270
281
  i0.ɵɵadvance();
271
- i0.ɵɵproperty("ngIf", ctx_r42.mergeMode || ctx_r42.duplicateMode);
282
+ i0.ɵɵproperty("ngIf", ctx_r3.mergeMode || ctx_r3.duplicateMode);
272
283
  i0.ɵɵadvance();
273
- i0.ɵɵproperty("ngIf", ctx_r42.isConfirmDialogOpen);
284
+ i0.ɵɵproperty("ngIf", ctx_r3.isConfirmDialogOpen);
274
285
  } }
275
286
  function UserViewGridComponent_div_11_Template(rf, ctx) { if (rf & 1) {
276
287
  i0.ɵɵelementStart(0, "div");
277
- i0.ɵɵelement(1, "div", 30);
278
- i0.ɵɵtemplate(2, UserViewGridComponent_div_11_kendo_window_2_Template, 10, 18, "kendo-window", 31);
288
+ i0.ɵɵelement(1, "div", 32);
289
+ i0.ɵɵtemplate(2, UserViewGridComponent_div_11_kendo_window_2_Template, 10, 18, "kendo-window", 33);
279
290
  i0.ɵɵelementEnd();
280
291
  } if (rf & 2) {
281
- const ctx_r7 = i0.ɵɵnextContext();
292
+ const ctx_r3 = i0.ɵɵnextContext();
282
293
  i0.ɵɵadvance(2);
283
- i0.ɵɵproperty("ngIf", ctx_r7.isCompareDialogOpened);
294
+ i0.ɵɵproperty("ngIf", ctx_r3.isCompareDialogOpened);
284
295
  } }
285
296
  function UserViewGridComponent_kendo_dialog_12_Conditional_4_Template(rf, ctx) { if (rf & 1) {
286
- i0.ɵɵelement(0, "kendo-loader", 48);
297
+ i0.ɵɵelement(0, "kendo-loader", 49);
287
298
  } }
288
299
  function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
289
- const _r75 = i0.ɵɵgetCurrentView();
290
- i0.ɵɵelementStart(0, "button", 17);
291
- i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r75); const listEntity_r66 = i0.ɵɵnextContext().$implicit; const ctx_r73 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r73.removeFromList(listEntity_r66)); });
292
- i0.ɵɵelement(1, "span", 52);
300
+ const _r21 = i0.ɵɵgetCurrentView();
301
+ i0.ɵɵelementStart(0, "button", 18);
302
+ i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r21); const listEntity_r22 = i0.ɵɵnextContext().$implicit; const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.removeFromList(listEntity_r22)); });
303
+ i0.ɵɵelement(1, "span", 53);
293
304
  i0.ɵɵtext(2, " Remove ");
294
305
  i0.ɵɵelementEnd();
295
306
  } }
296
307
  function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
297
- const _r78 = i0.ɵɵgetCurrentView();
298
- i0.ɵɵelementStart(0, "button", 17);
299
- i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r78); const listEntity_r66 = i0.ɵɵnextContext().$implicit; const ctx_r76 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r76.addToList(listEntity_r66)); });
300
- i0.ɵɵelement(1, "span", 53);
308
+ const _r23 = i0.ɵɵgetCurrentView();
309
+ i0.ɵɵelementStart(0, "button", 18);
310
+ i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r23); const listEntity_r22 = i0.ɵɵnextContext().$implicit; const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.addToList(listEntity_r22)); });
311
+ i0.ɵɵelement(1, "span", 54);
301
312
  i0.ɵɵtext(2, " Add ");
302
313
  i0.ɵɵelementEnd();
303
314
  } }
304
315
  function UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Template(rf, ctx) { if (rf & 1) {
305
- i0.ɵɵelementStart(0, "div", 51);
316
+ i0.ɵɵelementStart(0, "div", 52);
306
317
  i0.ɵɵtext(1);
307
- i0.ɵɵtemplate(2, UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_2_Template, 3, 0, "button", 16)(3, UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_3_Template, 3, 0);
318
+ i0.ɵɵtemplate(2, UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_2_Template, 3, 0, "button", 17)(3, UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Conditional_3_Template, 3, 0, "button", 17);
308
319
  i0.ɵɵelementEnd();
309
320
  i0.ɵɵelement(4, "hr");
310
321
  } if (rf & 2) {
311
- const listEntity_r66 = ctx.$implicit;
312
- const ctx_r65 = i0.ɵɵnextContext(3);
322
+ const listEntity_r22 = ctx.$implicit;
323
+ const ctx_r3 = i0.ɵɵnextContext(3);
313
324
  i0.ɵɵadvance();
314
- i0.ɵɵtextInterpolate1(" ", listEntity_r66.Name, " ");
325
+ i0.ɵɵtextInterpolate1(" ", listEntity_r22.Name, " ");
315
326
  i0.ɵɵadvance();
316
- i0.ɵɵconditional(2, ctx_r65.selectedListEntities.includes(listEntity_r66) ? 2 : 3);
327
+ i0.ɵɵconditional(ctx_r3.selectedListEntities.includes(listEntity_r22) ? 2 : 3);
317
328
  } }
318
329
  function UserViewGridComponent_kendo_dialog_12_Conditional_5_Template(rf, ctx) { if (rf & 1) {
319
330
  i0.ɵɵrepeaterCreate(0, UserViewGridComponent_kendo_dialog_12_Conditional_5_For_1_Template, 5, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
320
331
  } if (rf & 2) {
321
- const ctx_r64 = i0.ɵɵnextContext(2);
322
- i0.ɵɵrepeater(ctx_r64.listEntities);
332
+ const ctx_r3 = i0.ɵɵnextContext(2);
333
+ i0.ɵɵrepeater(ctx_r3.listEntities);
323
334
  } }
324
335
  function UserViewGridComponent_kendo_dialog_12_Template(rf, ctx) { if (rf & 1) {
325
- const _r80 = i0.ɵɵgetCurrentView();
326
- i0.ɵɵelementStart(0, "kendo-dialog", 45);
327
- i0.ɵɵlistener("close", function UserViewGridComponent_kendo_dialog_12_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r80); const ctx_r79 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r79.toggleAddToListDialog(false)); });
328
- i0.ɵɵelementStart(1, "div")(2, "kendo-textbox", 46);
329
- i0.ɵɵlistener("valueChange", function UserViewGridComponent_kendo_dialog_12_Template_kendo_textbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r80); const ctx_r81 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r81.onSearch($event)); });
336
+ const _r20 = i0.ɵɵgetCurrentView();
337
+ i0.ɵɵelementStart(0, "kendo-dialog", 46);
338
+ i0.ɵɵlistener("close", function UserViewGridComponent_kendo_dialog_12_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.toggleAddToListDialog(false)); });
339
+ i0.ɵɵelementStart(1, "div")(2, "kendo-textbox", 47);
340
+ i0.ɵɵlistener("valueChange", function UserViewGridComponent_kendo_dialog_12_Template_kendo_textbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onSearch($event)); });
330
341
  i0.ɵɵelementEnd()();
331
- i0.ɵɵelementStart(3, "div", 47);
332
- i0.ɵɵtemplate(4, UserViewGridComponent_kendo_dialog_12_Conditional_4_Template, 1, 0, "kendo-loader", 48)(5, UserViewGridComponent_kendo_dialog_12_Conditional_5_Template, 2, 0);
342
+ i0.ɵɵelementStart(3, "div", 48);
343
+ i0.ɵɵtemplate(4, UserViewGridComponent_kendo_dialog_12_Conditional_4_Template, 1, 0, "kendo-loader", 49)(5, UserViewGridComponent_kendo_dialog_12_Conditional_5_Template, 2, 0);
333
344
  i0.ɵɵelementEnd();
334
- i0.ɵɵelementStart(6, "kendo-dialog-actions")(7, "button", 49);
335
- i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r80); const ctx_r82 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r82.addRecordsToSelectedLists()); });
345
+ i0.ɵɵelementStart(6, "kendo-dialog-actions")(7, "button", 50);
346
+ i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r20); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.addRecordsToSelectedLists()); });
336
347
  i0.ɵɵtext(8, " Save ");
337
348
  i0.ɵɵelementEnd();
338
- i0.ɵɵelementStart(9, "button", 50);
339
- i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r80); const ctx_r83 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r83.toggleAddToListDialog(false)); });
349
+ i0.ɵɵelementStart(9, "button", 51);
350
+ i0.ɵɵlistener("click", function UserViewGridComponent_kendo_dialog_12_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r20); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.toggleAddToListDialog(false)); });
340
351
  i0.ɵɵtext(10, " Cancel ");
341
352
  i0.ɵɵelementEnd()()();
342
353
  } if (rf & 2) {
343
- const ctx_r8 = i0.ɵɵnextContext();
354
+ const ctx_r3 = i0.ɵɵnextContext();
344
355
  i0.ɵɵproperty("minHeight", 450)("maxHeight", 450)("minWidth", 500)("maxWidth", 650);
345
356
  i0.ɵɵadvance(2);
346
357
  i0.ɵɵproperty("clearButton", true);
347
358
  i0.ɵɵadvance(2);
348
- i0.ɵɵconditional(4, ctx_r8.showAddToListLoader ? 4 : 5);
359
+ i0.ɵɵconditional(ctx_r3.showAddToListLoader ? 4 : 5);
349
360
  i0.ɵɵadvance(3);
350
- i0.ɵɵproperty("disabled", ctx_r8.showAddToListLoader);
361
+ i0.ɵɵproperty("disabled", ctx_r3.showAddToListLoader);
351
362
  i0.ɵɵadvance(2);
352
- i0.ɵɵproperty("disabled", ctx_r8.showAddToListLoader);
363
+ i0.ɵɵproperty("disabled", ctx_r3.showAddToListLoader);
353
364
  } }
354
365
  export class UserViewGridComponent {
355
366
  get anyModeEnabled() {
@@ -473,6 +484,10 @@ export class UserViewGridComponent {
473
484
  * If set to true, the Create New Record button will be displayed if the user is allowed to create new records for the entity being shown. If set to false, the Create New Record button will be hidden.
474
485
  */
475
486
  this.ShowCreateNewRecordButton = true;
487
+ /**
488
+ * If set to true, and if the entity being displayed supports communication, the communication button will be displayed. If set to false, the communication button will be hidden.
489
+ */
490
+ this.ShowCommunicationButton = true;
476
491
  /**
477
492
  * When set to Dialog, the Create New Record button will open a dialog to create a new record. When set to Tab, the Create New Record button will open a new tab to create a new record.
478
493
  */
@@ -884,9 +899,10 @@ export class UserViewGridComponent {
884
899
  });
885
900
  }
886
901
  Refresh(params) {
887
- var _a, _b, _c;
888
902
  return __awaiter(this, void 0, void 0, function* () {
903
+ var _a, _b, _c;
889
904
  this.Params = params;
905
+ yield EntityCommunicationsEngineClient.Instance.Config(false);
890
906
  if (this.AllowLoad === false) {
891
907
  return;
892
908
  }
@@ -1144,8 +1160,8 @@ export class UserViewGridComponent {
1144
1160
  });
1145
1161
  }
1146
1162
  findDuplicateRecords() {
1147
- var _a;
1148
1163
  return __awaiter(this, void 0, void 0, function* () {
1164
+ var _a;
1149
1165
  if (!this._entityInfo) {
1150
1166
  console.error("Entity Info is not available");
1151
1167
  this.closeCompareDialog('duplicate');
@@ -1220,14 +1236,37 @@ export class UserViewGridComponent {
1220
1236
  throw new Error("Unable to get export data");
1221
1237
  });
1222
1238
  }
1239
+ /**
1240
+ * Handles communication functionality for a given view, only available if the entity being displayed supports communication.
1241
+ */
1242
+ doCommunication() {
1243
+ return __awaiter(this, void 0, void 0, function* () {
1244
+ if (!this.Params)
1245
+ return;
1246
+ const msg = new Message();
1247
+ msg.Body = "This is a test message";
1248
+ msg.Subject = "Test Subject";
1249
+ const result = yield EntityCommunicationsEngineClient.Instance.RunEntityCommunication(this._entityInfo.ID, this.Params, "SendGrid", "Email", msg);
1250
+ if (result && result.Success) {
1251
+ this.CreateSimpleNotification("Communication Sent", 'success', 2000);
1252
+ }
1253
+ else
1254
+ this.CreateSimpleNotification("Error sending communication", 'error', 5000);
1255
+ });
1256
+ }
1257
+ get EntitySupportsCommunication() {
1258
+ if (!this._entityInfo)
1259
+ return false;
1260
+ return EntityCommunicationsEngineClient.Instance.EntitySupportsCommunication(this._entityInfo.ID);
1261
+ }
1223
1262
  /**
1224
1263
  * This method will create a new record of the given entity type. It will only work if the User has the ability to create records of
1225
1264
  * this entity type and also if the entity level setting AllowCreateAPI is set to 1. If either of these conditions are not met, then
1226
1265
  * this method will do nothing.
1227
1266
  */
1228
1267
  doCreateNewRecord() {
1229
- var _a;
1230
1268
  return __awaiter(this, void 0, void 0, function* () {
1269
+ var _a;
1231
1270
  // creates a new record either using a dialog or with the router
1232
1271
  if (this.UserCanCreateNewRecord && this._entityInfo) {
1233
1272
  if (this.CreateRecordMode === 'Tab') {
@@ -1387,21 +1426,22 @@ UserViewGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserV
1387
1426
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.analysisResults = _t.first);
1388
1427
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.compareDialogContainer = _t.first);
1389
1428
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.entityFormDialog = _t.first);
1390
- } }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", NewRecordValues: "NewRecordValues", ShowCreateNewRecordButton: "ShowCreateNewRecordButton", CreateRecordMode: "CreateRecordMode", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked", rowEdited: "rowEdited" }, decls: 15, vars: 21, consts: [["mjFillContainer", "", 1, "user-view-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "sort", "reorderable", "selectable", "selectedKeys", "pageChange", "selectedKeysChange", "cellClick", "cellClose", "columnReorder", "columnResize", "selectionChange", "sortChange"], ["kendoGrid", ""], ["kendoGridToolbarTemplate", ""], [3, "width", "headerStyle", "style", 4, "ngIf"], [3, "field", "title", "width", "editable", "editor", "headerStyle", "style", 4, "ngFor", "ngForOf"], [3, "data", "fileName"], ["excelExport", ""], [3, "field", "title", 4, "ngFor", "ngForOf"], ["compareDialogContainer", ""], [4, "ngIf"], ["class", "dialog-wrapper", "title", "Select List(s) To Add Record", 3, "minHeight", "maxHeight", "minWidth", "maxWidth", "close", 4, "ngIf"], ["Mode", "complete", 3, "Visible"], ["entityFormDialog", ""], ["kendoButton", "", "class", "k-button-solid-base list-button", 3, "disabled"], ["kendoButton", "", "class", "k-button-solid-base list-button"], ["kendoButton", ""], ["kendoButton", "", 3, "click"], [1, "fa-regular", "fa-file-excel"], ["kendoButton", "", 1, "k-button-solid-base", "list-button", 3, "click"], ["kendoButton", "", "class", "list-button"], [1, "fa-regular", "fa-plus"], ["kendoButton", "", 1, "list-button", 3, "click"], [1, "fa-solid", "fa-arrows-rotate"], ["kendoButton", "", 1, "k-button-solid-base", "list-button", 3, "disabled", "click"], [3, "width", "headerStyle"], [3, "field", "title", "width", "editable", "editor", "headerStyle"], ["kendoGridFooterTemplate", ""], [2, "font-size", "smaller", "font-weight", "normal"], [3, "field", "title"], [1, "k-overlay"], ["title", "Compare Records", 3, "minHeight", "minWidth", "top", "left", "width", "height", "resizable", "close", 4, "ngIf"], ["title", "Compare Records", 3, "minHeight", "minWidth", "top", "left", "width", "height", "resizable", "close"], ["mjFillContainer", "", 3, "fillHeight", "bottomMargin"], [3, "entityName", "recordsToCompare", "visibleColumns", "selectionMode"], ["recordCompareRef", ""], [1, "k-actions", "k-actions-end"], ["kendoButton", "", "themeColor", "primary", "type", "button", 3, "click", 4, "ngIf"], ["kendoButton", "", "type", "button", 3, "click", 4, "ngIf"], ["title", "Confirm Choice", 3, "minWidth", "width", "close", 4, "ngIf"], ["kendoButton", "", "themeColor", "primary", "type", "button", 3, "click"], ["kendoButton", "", "type", "button", 3, "click"], ["title", "Confirm Choice", 3, "minWidth", "width", "close"], [2, "margin", "30px", "text-align", "center"], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["title", "Select List(s) To Add Record", 1, "dialog-wrapper", 3, "minHeight", "maxHeight", "minWidth", "maxWidth", "close"], ["id", "listSearch", "placeholder", "Search Lists...", "kendoTextBox", "", 1, "padding-bottom-small", 3, "clearButton", "valueChange"], [1, "overflow-y-scroll"], ["type", "converging-spinner"], ["kendoButton", "", "themeColor", "primary", 3, "disabled", "click"], ["kendoButton", "", 3, "disabled", "click"], [1, "list-item"], [1, "fa-regular", "fa-circle-minus"], [1, "fa-regular", "fa-circle-plus"]], template: function UserViewGridComponent_Template(rf, ctx) { if (rf & 1) {
1391
- i0.ɵɵelementStart(0, "div", 0)(1, "kendo-grid", 1, 2);
1392
- i0.ɵɵlistener("pageChange", function UserViewGridComponent_Template_kendo_grid_pageChange_1_listener($event) { return ctx.pageChange($event); });
1393
- i0.ɵɵtwoWayListener("selectedKeysChange", function UserViewGridComponent_Template_kendo_grid_selectedKeysChange_1_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selectedKeys, $event) || (ctx.selectedKeys = $event); return $event; });
1394
- i0.ɵɵlistener("cellClick", function UserViewGridComponent_Template_kendo_grid_cellClick_1_listener($event) { return ctx.cellClickHandler($event); })("cellClose", function UserViewGridComponent_Template_kendo_grid_cellClose_1_listener($event) { return ctx.cellCloseHandler($event); })("columnReorder", function UserViewGridComponent_Template_kendo_grid_columnReorder_1_listener($event) { return ctx.columnReorder($event); })("columnResize", function UserViewGridComponent_Template_kendo_grid_columnResize_1_listener($event) { return ctx.columnResize($event); })("selectionChange", function UserViewGridComponent_Template_kendo_grid_selectionChange_1_listener($event) { return ctx.selectionChange($event); })("sortChange", function UserViewGridComponent_Template_kendo_grid_sortChange_1_listener($event) { return ctx.sortChanged($event); });
1395
- i0.ɵɵtemplate(3, UserViewGridComponent_ng_template_3_Template, 6, 6, "ng-template", 3)(4, UserViewGridComponent_kendo_grid_checkbox_column_4_Template, 1, 6, "kendo-grid-checkbox-column", 4)(5, UserViewGridComponent_kendo_grid_column_5_Template, 2, 10, "kendo-grid-column", 5);
1396
- i0.ɵɵelementStart(6, "kendo-excelexport", 6, 7);
1397
- i0.ɵɵtemplate(8, UserViewGridComponent_kendo_excelexport_column_8_Template, 1, 2, "kendo-excelexport-column", 8);
1429
+ } }, inputs: { Params: "Params", BottomMargin: "BottomMargin", InEditMode: "InEditMode", EditMode: "EditMode", AutoNavigate: "AutoNavigate", NewRecordValues: "NewRecordValues", ShowCreateNewRecordButton: "ShowCreateNewRecordButton", ShowCommunicationButton: "ShowCommunicationButton", CreateRecordMode: "CreateRecordMode", AllowLoad: "AllowLoad" }, outputs: { rowClicked: "rowClicked", rowEdited: "rowEdited" }, decls: 15, vars: 21, consts: [["kendoGrid", ""], ["excelExport", ""], ["compareDialogContainer", ""], ["entityFormDialog", ""], ["recordCompareRef", ""], ["mjFillContainer", "", 1, "user-view-grid-wrap"], ["mjFillContainer", "", "scrollable", "virtual", "kendoGridSelectBy", "", 3, "pageChange", "selectedKeysChange", "cellClick", "cellClose", "columnReorder", "columnResize", "selectionChange", "sortChange", "resizable", "data", "skip", "pageSize", "rowHeight", "loading", "height", "sortable", "sort", "reorderable", "selectable", "selectedKeys"], ["kendoGridToolbarTemplate", ""], [3, "width", "headerStyle", "style", 4, "ngIf"], [3, "field", "title", "width", "editable", "editor", "headerStyle", "style", 4, "ngFor", "ngForOf"], [3, "data", "fileName"], [3, "field", "title", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["class", "dialog-wrapper", "title", "Select List(s) To Add Record", 3, "minHeight", "maxHeight", "minWidth", "maxWidth", "close", 4, "ngIf"], ["Mode", "complete", 3, "Visible"], ["kendoButton", "", 1, "k-button-solid-base", "list-button", 3, "disabled"], ["kendoButton", "", 1, "k-button-solid-base", "list-button"], ["kendoButton", ""], ["kendoButton", "", 3, "click"], [1, "fa-regular", "fa-file-excel"], ["kendoButton", "", 1, "k-button-solid-base", "list-button", 3, "click"], ["kendoButton", "", 1, "list-button"], [1, "fa-regular", "fa-plus"], [1, "fa-regular", "fa-envelope"], ["kendoButton", "", 1, "list-button", 3, "click"], [1, "fa-solid", "fa-arrows-rotate"], ["kendoButton", "", 1, "k-button-solid-base", "list-button", 3, "click", "disabled"], [3, "width", "headerStyle"], [3, "field", "title", "width", "editable", "editor", "headerStyle"], ["kendoGridFooterTemplate", ""], [2, "font-size", "smaller", "font-weight", "normal"], [3, "field", "title"], [1, "k-overlay"], ["title", "Compare Records", 3, "minHeight", "minWidth", "top", "left", "width", "height", "resizable", "close", 4, "ngIf"], ["title", "Compare Records", 3, "close", "minHeight", "minWidth", "top", "left", "width", "height", "resizable"], ["mjFillContainer", "", 3, "fillHeight", "bottomMargin"], [3, "entityName", "recordsToCompare", "visibleColumns", "selectionMode"], [1, "k-actions", "k-actions-end"], ["kendoButton", "", "themeColor", "primary", "type", "button", 3, "click", 4, "ngIf"], ["kendoButton", "", "type", "button", 3, "click", 4, "ngIf"], ["title", "Confirm Choice", 3, "minWidth", "width", "close", 4, "ngIf"], ["kendoButton", "", "themeColor", "primary", "type", "button", 3, "click"], ["kendoButton", "", "type", "button", 3, "click"], ["title", "Confirm Choice", 3, "close", "minWidth", "width"], [2, "margin", "30px", "text-align", "center"], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["title", "Select List(s) To Add Record", 1, "dialog-wrapper", 3, "close", "minHeight", "maxHeight", "minWidth", "maxWidth"], ["id", "listSearch", "placeholder", "Search Lists...", "kendoTextBox", "", 1, "padding-bottom-small", 3, "valueChange", "clearButton"], [1, "overflow-y-scroll"], ["type", "converging-spinner"], ["kendoButton", "", "themeColor", "primary", 3, "click", "disabled"], ["kendoButton", "", 3, "click", "disabled"], [1, "list-item"], [1, "fa-regular", "fa-circle-minus"], [1, "fa-regular", "fa-circle-plus"]], template: function UserViewGridComponent_Template(rf, ctx) { if (rf & 1) {
1430
+ const _r1 = i0.ɵɵgetCurrentView();
1431
+ i0.ɵɵelementStart(0, "div", 5)(1, "kendo-grid", 6, 0);
1432
+ i0.ɵɵlistener("pageChange", function UserViewGridComponent_Template_kendo_grid_pageChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageChange($event)); });
1433
+ i0.ɵɵtwoWayListener("selectedKeysChange", function UserViewGridComponent_Template_kendo_grid_selectedKeysChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedKeys, $event) || (ctx.selectedKeys = $event); return i0.ɵɵresetView($event); });
1434
+ i0.ɵɵlistener("cellClick", function UserViewGridComponent_Template_kendo_grid_cellClick_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cellClickHandler($event)); })("cellClose", function UserViewGridComponent_Template_kendo_grid_cellClose_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cellCloseHandler($event)); })("columnReorder", function UserViewGridComponent_Template_kendo_grid_columnReorder_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.columnReorder($event)); })("columnResize", function UserViewGridComponent_Template_kendo_grid_columnResize_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.columnResize($event)); })("selectionChange", function UserViewGridComponent_Template_kendo_grid_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.selectionChange($event)); })("sortChange", function UserViewGridComponent_Template_kendo_grid_sortChange_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.sortChanged($event)); });
1435
+ i0.ɵɵtemplate(3, UserViewGridComponent_ng_template_3_Template, 6, 6, "ng-template", 7)(4, UserViewGridComponent_kendo_grid_checkbox_column_4_Template, 1, 6, "kendo-grid-checkbox-column", 8)(5, UserViewGridComponent_kendo_grid_column_5_Template, 2, 10, "kendo-grid-column", 9);
1436
+ i0.ɵɵelementStart(6, "kendo-excelexport", 10, 1);
1437
+ i0.ɵɵtemplate(8, UserViewGridComponent_kendo_excelexport_column_8_Template, 1, 2, "kendo-excelexport-column", 11);
1398
1438
  i0.ɵɵelementEnd()();
1399
- i0.ɵɵelementStart(9, "div", null, 9);
1400
- i0.ɵɵtemplate(11, UserViewGridComponent_div_11_Template, 3, 1, "div", 10);
1439
+ i0.ɵɵelementStart(9, "div", null, 2);
1440
+ i0.ɵɵtemplate(11, UserViewGridComponent_div_11_Template, 3, 1, "div", 12);
1401
1441
  i0.ɵɵelementEnd();
1402
- i0.ɵɵtemplate(12, UserViewGridComponent_kendo_dialog_12_Template, 11, 8, "kendo-dialog", 11);
1442
+ i0.ɵɵtemplate(12, UserViewGridComponent_kendo_dialog_12_Template, 11, 8, "kendo-dialog", 13);
1403
1443
  i0.ɵɵelementEnd();
1404
- i0.ɵɵelement(13, "mj-entity-form-dialog", 12, 13);
1444
+ i0.ɵɵelement(13, "mj-entity-form-dialog", 14, 3);
1405
1445
  } if (rf & 2) {
1406
1446
  i0.ɵɵadvance();
1407
1447
  i0.ɵɵproperty("resizable", true)("data", ctx.gridView)("skip", ctx.skip)("pageSize", ctx.pageSize)("rowHeight", 36)("loading", ctx.isLoading)("height", ctx.gridHeight)("sortable", true)("sort", ctx.sortSettings)("resizable", true)("reorderable", true)("selectable", true);
@@ -1423,7 +1463,7 @@ UserViewGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserV
1423
1463
  } }, dependencies: [i3.NgForOf, i3.NgIf, i4.GridComponent, i4.ToolbarTemplateDirective, i4.SelectionDirective, i4.ColumnComponent, i4.FooterTemplateDirective, i4.CheckboxColumnComponent, i5.DialogComponent, i5.DialogActionsComponent, i5.WindowComponent, i6.ExcelExportComponent, i6.ColumnComponent, i7.ButtonComponent, i8.CompareRecordsComponent, i9.FillContainer, i10.TextBoxComponent, i11.EntityFormDialogComponent, i12.LoaderComponent, i3.DecimalPipe], styles: [".user-view-grid-wrap[_ngcontent-%COMP%] {\n height: calc(100vh - 20px);\n}\n\n.user-view-grid-column-header[_ngcontent-%COMP%] {\n background-color: #fff;\n font-size: 20pt;\n font-weight: bold;\n}\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 .main-fav-wrapper[_ngcontent-%COMP%] {\n background: #fff;\n padding: 20px;\n }\n .filter-wrapper[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-start;\n gap: 14px;\n align-items: center;\n}\n .title-wrapper[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] input[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n font-size: 16px;\n background: transparent;\n border: none;\n box-sizing: border-box;\n padding-left: 40px;\n\n }\n .title-wrapper[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] {\n background: var(--light-shade);\n width: 360px;\n height: 44px;\n position: relative;\n border-radius: 10px;\n }\n .title-wrapper[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 12px;\n}\n.k-table-td[_ngcontent-%COMP%] {\n border-right: none !important;\n}.btn-cmn[_ngcontent-%COMP%] {\n width: 44px;\n height: 44px;\n min-width: 44px;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--gray-color);\n}\n.btn-cmn.active[_ngcontent-%COMP%] {\n border: 1px solid var(--border-blue);\n}\n .title-wrapper .filter-wrapper .k-dropdown-button .k-button {\n border: 1px solid var(--gray-color);\n border-radius: 8px; padding: 10px 25px;\n background: var(--white-color);\n color: var(--sideNav);\n}\n .user-view-grid-wrap .k-grid-aria-root .k-grid-header .k-grid-header-table thead tr th {\n border-right: none;\n border-inline-start-width: 0;\n color: var(--thead-color);\n}\n .user-view-grid-wrap .k-grid-aria-root kendo-grid-list .k-grid-table tbody tr td { \n border-inline-start-width: 0;\n color: var(--tdata-color);\n font-weight: 500;\n border-bottom-width: 1px;\n} \n\n.overflow-y-scroll[_ngcontent-%COMP%] {\n overflow-y: auto;\n max-height: 275px;\n}\n\n.padding-bottom-small[_ngcontent-%COMP%] {\n padding-bottom: 10px;\n}\n\n.list-item[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n}"] });
1424
1464
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewGridComponent, [{
1425
1465
  type: Component,
1426
- args: [{ selector: 'mj-user-view-grid', template: "<div class=\"user-view-grid-wrap\" mjFillContainer>\n <kendo-grid #kendoGrid\n mjFillContainer\n [resizable]=\"true\"\n [data]=\"gridView\" \n [skip]=\"skip\"\n [pageSize]=\"pageSize\"\n scrollable=\"virtual\"\n [rowHeight]=\"36\"\n (pageChange)=\"pageChange($event)\"\n [loading]=\"isLoading\"\n [height]=\"gridHeight\"\n [sortable]=\"true\"\n [sort]=\"sortSettings\" \n [resizable]=\"true\"\n [reorderable]=\"true\"\n [selectable]=\"true\"\n kendoGridSelectBy\n [(selectedKeys)]=\"selectedKeys\"\n (cellClick)=\"cellClickHandler($event)\"\n (cellClose)=\"cellCloseHandler($event)\"\n (columnReorder)=\"columnReorder($event)\"\n (columnResize)=\"columnResize($event)\"\n (selectionChange)=\"selectionChange($event)\"\n (sortChange)=\"sortChanged($event)\"\n >\n <ng-template kendoGridToolbarTemplate>\n @if(!anyModeEnabled){\n @if(ShowCreateNewRecordButton && UserCanCreateNewRecord) {\n <button kendoButton (click)=\"doCreateNewRecord()\" >\n <span class=\"fa-regular fa-plus\"></span>\n New {{entityRecord?.EntityInfo?.Name}}\n </button> \n }\n\n <button kendoButton (click)=\"doExcelExport()\" >\n <span class=\"fa-regular fa-file-excel\"></span>\n Export to Excel\n </button>\n <button (click)=\"enableCheckbox(false, 'duplicate')\" kendoButton class=\"k-button-solid-base list-button\">\n Search For Duplicates\n </button>\n <button (click)=\"enableCheckbox(false, 'addToList')\" kendoButton class=\"k-button-solid-base list-button\">\n Add To List\n </button>\n <button (click)=\"enableMergeOrCompare(false, 'merge')\" kendoButton class=\"k-button-solid-base list-button\">\n Merge\n </button>\n <button (click)=\"enableMergeOrCompare(false, 'compare')\" kendoButton class=\"k-button-solid-base list-button\">\n Compare\n </button>\n\n @if(showRefreshButton){\n <button kendoButton class=\"list-button\" (click)=\"RefreshFromSavedParams()\">\n <span class=\"fa-solid fa-arrows-rotate\"></span>\n Refresh\n </button>\n }\n }\n @if(duplicateMode){\n <button (click)=\"enableCheckbox(false, 'duplicate')\" [disabled]=\"duplicateMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Search For Duplicates\n </button>\n }\n @if(addToListMode){\n <button (click)=\"enableCheckbox(false, 'addToList')\" [disabled]=\"addToListMode && recordsToCompare.length === 0\" kendoButton class=\"k-button-solid-base list-button\">\n Add To List\n </button>\n }\n @if(compareMode){\n <button (click)=\"enableMergeOrCompare(false, 'compare')\" [disabled]=\"compareMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Compare\n </button>\n }\n @if(mergeMode){\n <button (click)=\"enableMergeOrCompare(false, 'merge')\" [disabled]=\"mergeMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Merge\n </button>\n }\n @if(anyModeEnabled){\n <button (click)=\"enableCheckbox(true, '')\" kendoButton class=\"k-button-solid-base list-button\">\n Cancel\n </button>\n }\n </ng-template>\n \n <kendo-grid-checkbox-column \n *ngIf=\"anyModeEnabled\" \n [width]=\"50\" \n [headerStyle]=\"{ 'font-weight' : 'bold', 'background-color': 'white' }\" \n [style]=\"{'text-align': 'center', 'vertical-align': 'center'}\">\n </kendo-grid-checkbox-column>\n \n <kendo-grid-column \n *ngFor=\"let item of visibleColumns\" \n [field]=\"item.Name\" \n [title]=\"GetColumnTitle(item)\"\n [width]=\"item.width ? item.width : 100\"\n [editable]=\"item.EntityField.AllowUpdateAPI\"\n [editor]=\"getEditor(item.EntityField)\"\n [headerStyle]=\"{ 'font-weight' : 'bold', 'background-color': 'white' }\"\n [style]=\"this.GetColumnCellStyle(item)\"\n >\n <ng-template *ngIf=\"item===visibleColumns[0]\" kendoGridFooterTemplate >\n {{this.viewData.length | number}}{{this.totalRowCount > this.viewData.length ? ' of ' + (this.totalRowCount | number) : ' rows'}}<br/><span style=\"font-size: smaller; font-weight: normal;\">{{viewExecutionTime | number:'1.2-2'}} seconds</span>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-excelexport #excelExport [data]=\"exportData\" [fileName]=\"(_viewEntity ? _viewEntity.Get('Name') : _entityInfo?.Name) + '.xlsx'\">\n <kendo-excelexport-column *ngFor=\"let exportCol of exportColumns\" [field]=\"exportCol.Name\" [title]=\"exportCol.Name\">\n </kendo-excelexport-column>\n </kendo-excelexport>\n </kendo-grid>\n \n <div #compareDialogContainer>\n <div *ngIf=\"isCompareDialogOpened\">\n <div class=\"k-overlay\"></div>\n <kendo-window\n [minHeight]=\"300\"\n [minWidth]=\"800\"\n [top]=\"100\"\n [left]=\"100\"\n [width]=\"1200\"\n [height]=\"675\"\n [resizable]=\"true\"\n (close)=\"closeCompareDialog($event)\"\n title=\"Compare Records\"\n *ngIf=\"isCompareDialogOpened\"\n >\n <div mjFillContainer [fillHeight]=\"true\" [bottomMargin]=\"100\">\n <mj-compare-records\n #recordCompareRef\n [entityName]=\"_entityInfo ? _entityInfo.Name : ''\"\n [recordsToCompare]=\"recordsToCompare\" \n [visibleColumns]=\"visibleColumns\" \n [selectionMode]=\"mergeMode ? true : false\"\n >\n </mj-compare-records>\n </div>\n <div class=\"k-actions k-actions-end\">\n <button *ngIf=\"mergeMode\" kendoButton themeColor=\"primary\" type=\"button\" (click)=\"closeCompareDialog('merge')\">\n Merge Records\n </button>\n <button *ngIf=\"duplicateMode\" kendoButton themeColor=\"primary\" type=\"button\" (click)=\"findDuplicateRecords()\">\n Search for Duplicates\n </button>\n <button *ngIf=\"compareMode\" kendoButton type=\"button\" (click)=\"closeCompareDialog('close')\">\n Close\n </button>\n <button *ngIf=\"mergeMode || duplicateMode\" kendoButton type=\"button\" (click)=\"closeCompareDialog('cancel')\">\n Cancel\n </button>\n </div> \n <kendo-dialog\n title=\"Confirm Choice\"\n *ngIf=\"isConfirmDialogOpen\"\n (close)=\"closeConfirmMergeDialog('cancel')\"\n [minWidth]=\"250\"\n [width]=\"450\"\n >\n <p style=\"margin: 30px; text-align: center;\">\n Are you sure you want to merge the records? This action cannot be undone. If you select \"Yes\", the records will be merged and the duplicate records will be deleted.\n </p>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"closeConfirmMergeDialog('no')\">No</button>\n <button kendoButton (click)=\"closeConfirmMergeDialog('yes')\" themeColor=\"primary\">\n Yes\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n </kendo-window>\n </div> \n </div>\n <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List(s) To Add Record\"\n *ngIf=\"showAddToListDialog\"\n (close)=\"toggleAddToListDialog(false)\"\n [minHeight]=\"450\"\n [maxHeight]=\"450\"\n [minWidth]=\"500\"\n [maxWidth]=\"650\"\n >\n <div>\n <kendo-textbox\n id=\"listSearch\"\n placeholder=\"Search Lists...\"\n kendoTextBox\n (valueChange)=\"onSearch($event)\"\n [clearButton]=\"true\"\n class=\"padding-bottom-small\"\n ></kendo-textbox>\n </div>\n <div class=\"overflow-y-scroll\">\n @if(showAddToListLoader){\n <kendo-loader type=\"converging-spinner\"></kendo-loader>\n }\n @else {\n @for(listEntity of listEntities; track listEntity){\n <div class=\"list-item\">\n {{listEntity.Name}}\n @if(selectedListEntities.includes(listEntity)){\n <button kendoButton (click)=\"removeFromList(listEntity)\">\n <span class=\"fa-regular fa-circle-minus\"></span>\n Remove\n </button>\n }\n @else {\n <button kendoButton (click)=\"addToList(listEntity)\">\n <span class=\"fa-regular fa-circle-plus\"></span>\n Add\n </button>\n }\n </div>\n <hr>\n }\n }\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"addRecordsToSelectedLists()\" [disabled]=\"showAddToListLoader\" themeColor=\"primary\">\n Save\n </button>\n <button kendoButton (click)=\"toggleAddToListDialog(false)\" [disabled]=\"showAddToListLoader\">\n Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n</div>\n \n<!-- Entity Form Dialog Component here for future use as needed -->\n<mj-entity-form-dialog\n #entityFormDialog\n Mode=\"complete\"\n [Visible]=\"showNewRecordDialog\"\n></mj-entity-form-dialog>", styles: [".user-view-grid-wrap {\n height: calc(100vh - 20px);\n}\n\n.user-view-grid-column-header {\n background-color: #fff;\n font-size: 20pt;\n font-weight: bold;\n}\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 .main-fav-wrapper {\n background: #fff;\n padding: 20px;\n }\n .filter-wrapper {\n display: flex;\n justify-content: flex-start;\n gap: 14px;\n align-items: center;\n}\n .title-wrapper .search input {\n width: 100%;\n height: 100%;\n font-size: 16px;\n background: transparent;\n border: none;\n box-sizing: border-box;\n padding-left: 40px;\n\n }\n .title-wrapper .search {\n background: var(--light-shade);\n width: 360px;\n height: 44px;\n position: relative;\n border-radius: 10px;\n }\n .title-wrapper .search svg {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 12px;\n}\n.k-table-td {\n border-right: none !important;\n}.btn-cmn {\n width: 44px;\n height: 44px;\n min-width: 44px;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--gray-color);\n}\n.btn-cmn.active {\n border: 1px solid var(--border-blue);\n}\n::ng-deep .title-wrapper .filter-wrapper .k-dropdown-button .k-button {\n border: 1px solid var(--gray-color);\n border-radius: 8px; padding: 10px 25px;\n background: var(--white-color);\n color: var(--sideNav);\n}\n::ng-deep .user-view-grid-wrap .k-grid-aria-root .k-grid-header .k-grid-header-table thead tr th {\n border-right: none;\n border-inline-start-width: 0;\n color: var(--thead-color);\n}\n::ng-deep .user-view-grid-wrap .k-grid-aria-root kendo-grid-list .k-grid-table tbody tr td { \n border-inline-start-width: 0;\n color: var(--tdata-color);\n font-weight: 500;\n border-bottom-width: 1px;\n} \n\n.overflow-y-scroll {\n overflow-y: auto;\n max-height: 275px;\n}\n\n.padding-bottom-small {\n padding-bottom: 10px;\n}\n\n.list-item {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n}"] }]
1466
+ args: [{ selector: 'mj-user-view-grid', template: "<div class=\"user-view-grid-wrap\" mjFillContainer>\n <kendo-grid #kendoGrid\n mjFillContainer\n [resizable]=\"true\"\n [data]=\"gridView\" \n [skip]=\"skip\"\n [pageSize]=\"pageSize\"\n scrollable=\"virtual\"\n [rowHeight]=\"36\"\n (pageChange)=\"pageChange($event)\"\n [loading]=\"isLoading\"\n [height]=\"gridHeight\"\n [sortable]=\"true\"\n [sort]=\"sortSettings\" \n [resizable]=\"true\"\n [reorderable]=\"true\"\n [selectable]=\"true\"\n kendoGridSelectBy\n [(selectedKeys)]=\"selectedKeys\"\n (cellClick)=\"cellClickHandler($event)\"\n (cellClose)=\"cellCloseHandler($event)\"\n (columnReorder)=\"columnReorder($event)\"\n (columnResize)=\"columnResize($event)\"\n (selectionChange)=\"selectionChange($event)\"\n (sortChange)=\"sortChanged($event)\"\n >\n <ng-template kendoGridToolbarTemplate>\n @if(!anyModeEnabled){\n @if(ShowCreateNewRecordButton && UserCanCreateNewRecord) {\n <button kendoButton (click)=\"doCreateNewRecord()\" >\n <span class=\"fa-regular fa-plus\"></span>\n New {{entityRecord?.EntityInfo?.Name}}\n </button> \n }\n\n <button kendoButton (click)=\"doExcelExport()\" >\n <span class=\"fa-regular fa-file-excel\"></span>\n Export to Excel\n </button>\n <button (click)=\"enableCheckbox(false, 'duplicate')\" kendoButton class=\"k-button-solid-base list-button\">\n Search For Duplicates\n </button>\n <button (click)=\"enableCheckbox(false, 'addToList')\" kendoButton class=\"k-button-solid-base list-button\">\n Add To List\n </button>\n <button (click)=\"enableMergeOrCompare(false, 'merge')\" kendoButton class=\"k-button-solid-base list-button\">\n Merge\n </button>\n <button (click)=\"enableMergeOrCompare(false, 'compare')\" kendoButton class=\"k-button-solid-base list-button\">\n Compare\n </button>\n\n @if (ShowCommunicationButton && EntitySupportsCommunication) {\n <button (click)=\"doCommunication()\" kendoButton class=\"k-button-solid-base list-button\">\n <span class=\"fa-regular fa-envelope\"></span>\n </button> \n }\n\n @if(showRefreshButton){\n <button kendoButton class=\"list-button\" (click)=\"RefreshFromSavedParams()\">\n <span class=\"fa-solid fa-arrows-rotate\"></span>\n Refresh\n </button>\n }\n }\n @if(duplicateMode){\n <button (click)=\"enableCheckbox(false, 'duplicate')\" [disabled]=\"duplicateMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Search For Duplicates\n </button>\n }\n @if(addToListMode){\n <button (click)=\"enableCheckbox(false, 'addToList')\" [disabled]=\"addToListMode && recordsToCompare.length === 0\" kendoButton class=\"k-button-solid-base list-button\">\n Add To List\n </button>\n }\n @if(compareMode){\n <button (click)=\"enableMergeOrCompare(false, 'compare')\" [disabled]=\"compareMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Compare\n </button>\n }\n @if(mergeMode){\n <button (click)=\"enableMergeOrCompare(false, 'merge')\" [disabled]=\"mergeMode && recordsToCompare.length < 2\" kendoButton class=\"k-button-solid-base list-button\">\n Merge\n </button>\n }\n @if(anyModeEnabled){\n <button (click)=\"enableCheckbox(true, '')\" kendoButton class=\"k-button-solid-base list-button\">\n Cancel\n </button>\n }\n </ng-template>\n \n <kendo-grid-checkbox-column \n *ngIf=\"anyModeEnabled\" \n [width]=\"50\" \n [headerStyle]=\"{ 'font-weight' : 'bold', 'background-color': 'white' }\" \n [style]=\"{'text-align': 'center', 'vertical-align': 'center'}\">\n </kendo-grid-checkbox-column>\n \n <kendo-grid-column \n *ngFor=\"let item of visibleColumns\" \n [field]=\"item.Name\" \n [title]=\"GetColumnTitle(item)\"\n [width]=\"item.width ? item.width : 100\"\n [editable]=\"item.EntityField.AllowUpdateAPI\"\n [editor]=\"getEditor(item.EntityField)\"\n [headerStyle]=\"{ 'font-weight' : 'bold', 'background-color': 'white' }\"\n [style]=\"this.GetColumnCellStyle(item)\"\n >\n <ng-template *ngIf=\"item===visibleColumns[0]\" kendoGridFooterTemplate >\n {{this.viewData.length | number}}{{this.totalRowCount > this.viewData.length ? ' of ' + (this.totalRowCount | number) : ' rows'}}<br/><span style=\"font-size: smaller; font-weight: normal;\">{{viewExecutionTime | number:'1.2-2'}} seconds</span>\n </ng-template>\n </kendo-grid-column>\n \n <kendo-excelexport #excelExport [data]=\"exportData\" [fileName]=\"(_viewEntity ? _viewEntity.Get('Name') : _entityInfo?.Name) + '.xlsx'\">\n <kendo-excelexport-column *ngFor=\"let exportCol of exportColumns\" [field]=\"exportCol.Name\" [title]=\"exportCol.Name\">\n </kendo-excelexport-column>\n </kendo-excelexport>\n </kendo-grid>\n \n <div #compareDialogContainer>\n <div *ngIf=\"isCompareDialogOpened\">\n <div class=\"k-overlay\"></div>\n <kendo-window\n [minHeight]=\"300\"\n [minWidth]=\"800\"\n [top]=\"100\"\n [left]=\"100\"\n [width]=\"1200\"\n [height]=\"675\"\n [resizable]=\"true\"\n (close)=\"closeCompareDialog($event)\"\n title=\"Compare Records\"\n *ngIf=\"isCompareDialogOpened\"\n >\n <div mjFillContainer [fillHeight]=\"true\" [bottomMargin]=\"100\">\n <mj-compare-records\n #recordCompareRef\n [entityName]=\"_entityInfo ? _entityInfo.Name : ''\"\n [recordsToCompare]=\"recordsToCompare\" \n [visibleColumns]=\"visibleColumns\" \n [selectionMode]=\"mergeMode ? true : false\"\n >\n </mj-compare-records>\n </div>\n <div class=\"k-actions k-actions-end\">\n <button *ngIf=\"mergeMode\" kendoButton themeColor=\"primary\" type=\"button\" (click)=\"closeCompareDialog('merge')\">\n Merge Records\n </button>\n <button *ngIf=\"duplicateMode\" kendoButton themeColor=\"primary\" type=\"button\" (click)=\"findDuplicateRecords()\">\n Search for Duplicates\n </button>\n <button *ngIf=\"compareMode\" kendoButton type=\"button\" (click)=\"closeCompareDialog('close')\">\n Close\n </button>\n <button *ngIf=\"mergeMode || duplicateMode\" kendoButton type=\"button\" (click)=\"closeCompareDialog('cancel')\">\n Cancel\n </button>\n </div> \n <kendo-dialog\n title=\"Confirm Choice\"\n *ngIf=\"isConfirmDialogOpen\"\n (close)=\"closeConfirmMergeDialog('cancel')\"\n [minWidth]=\"250\"\n [width]=\"450\"\n >\n <p style=\"margin: 30px; text-align: center;\">\n Are you sure you want to merge the records? This action cannot be undone. If you select \"Yes\", the records will be merged and the duplicate records will be deleted.\n </p>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"closeConfirmMergeDialog('no')\">No</button>\n <button kendoButton (click)=\"closeConfirmMergeDialog('yes')\" themeColor=\"primary\">\n Yes\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n </kendo-window>\n </div> \n </div>\n <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List(s) To Add Record\"\n *ngIf=\"showAddToListDialog\"\n (close)=\"toggleAddToListDialog(false)\"\n [minHeight]=\"450\"\n [maxHeight]=\"450\"\n [minWidth]=\"500\"\n [maxWidth]=\"650\"\n >\n <div>\n <kendo-textbox\n id=\"listSearch\"\n placeholder=\"Search Lists...\"\n kendoTextBox\n (valueChange)=\"onSearch($event)\"\n [clearButton]=\"true\"\n class=\"padding-bottom-small\"\n ></kendo-textbox>\n </div>\n <div class=\"overflow-y-scroll\">\n @if(showAddToListLoader){\n <kendo-loader type=\"converging-spinner\"></kendo-loader>\n }\n @else {\n @for(listEntity of listEntities; track listEntity){\n <div class=\"list-item\">\n {{listEntity.Name}}\n @if(selectedListEntities.includes(listEntity)){\n <button kendoButton (click)=\"removeFromList(listEntity)\">\n <span class=\"fa-regular fa-circle-minus\"></span>\n Remove\n </button>\n }\n @else {\n <button kendoButton (click)=\"addToList(listEntity)\">\n <span class=\"fa-regular fa-circle-plus\"></span>\n Add\n </button>\n }\n </div>\n <hr>\n }\n }\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"addRecordsToSelectedLists()\" [disabled]=\"showAddToListLoader\" themeColor=\"primary\">\n Save\n </button>\n <button kendoButton (click)=\"toggleAddToListDialog(false)\" [disabled]=\"showAddToListLoader\">\n Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n</div>\n \n<!-- Entity Form Dialog Component here for future use as needed -->\n<mj-entity-form-dialog\n #entityFormDialog\n Mode=\"complete\"\n [Visible]=\"showNewRecordDialog\"\n></mj-entity-form-dialog>", styles: [".user-view-grid-wrap {\n height: calc(100vh - 20px);\n}\n\n.user-view-grid-column-header {\n background-color: #fff;\n font-size: 20pt;\n font-weight: bold;\n}\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 .main-fav-wrapper {\n background: #fff;\n padding: 20px;\n }\n .filter-wrapper {\n display: flex;\n justify-content: flex-start;\n gap: 14px;\n align-items: center;\n}\n .title-wrapper .search input {\n width: 100%;\n height: 100%;\n font-size: 16px;\n background: transparent;\n border: none;\n box-sizing: border-box;\n padding-left: 40px;\n\n }\n .title-wrapper .search {\n background: var(--light-shade);\n width: 360px;\n height: 44px;\n position: relative;\n border-radius: 10px;\n }\n .title-wrapper .search svg {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 12px;\n}\n.k-table-td {\n border-right: none !important;\n}.btn-cmn {\n width: 44px;\n height: 44px;\n min-width: 44px;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--gray-color);\n}\n.btn-cmn.active {\n border: 1px solid var(--border-blue);\n}\n::ng-deep .title-wrapper .filter-wrapper .k-dropdown-button .k-button {\n border: 1px solid var(--gray-color);\n border-radius: 8px; padding: 10px 25px;\n background: var(--white-color);\n color: var(--sideNav);\n}\n::ng-deep .user-view-grid-wrap .k-grid-aria-root .k-grid-header .k-grid-header-table thead tr th {\n border-right: none;\n border-inline-start-width: 0;\n color: var(--thead-color);\n}\n::ng-deep .user-view-grid-wrap .k-grid-aria-root kendo-grid-list .k-grid-table tbody tr td { \n border-inline-start-width: 0;\n color: var(--tdata-color);\n font-weight: 500;\n border-bottom-width: 1px;\n} \n\n.overflow-y-scroll {\n overflow-y: auto;\n max-height: 275px;\n}\n\n.padding-bottom-small {\n padding-bottom: 10px;\n}\n\n.list-item {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n}"] }]
1427
1467
  }], () => [{ type: i0.ElementRef }, { type: i1.FormBuilder }, { type: i2.Router }, { type: i0.Renderer2 }], { Params: [{
1428
1468
  type: Input
1429
1469
  }], BottomMargin: [{
@@ -1438,6 +1478,8 @@ UserViewGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserV
1438
1478
  type: Input
1439
1479
  }], ShowCreateNewRecordButton: [{
1440
1480
  type: Input
1481
+ }], ShowCommunicationButton: [{
1482
+ type: Input
1441
1483
  }], CreateRecordMode: [{
1442
1484
  type: Input
1443
1485
  }], rowClicked: [{
@@ -1471,4 +1513,4 @@ UserViewGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserV
1471
1513
  type: ViewChild,
1472
1514
  args: ['entityFormDialog']
1473
1515
  }] }); })();
1474
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewGridComponent, { className: "UserViewGridComponent", filePath: "src/lib/ng-user-view-grid.component.ts", lineNumber: 46 }); })();
1516
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewGridComponent, { className: "UserViewGridComponent", filePath: "src/lib/ng-user-view-grid.component.ts", lineNumber: 49 }); })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-user-view-grid",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "MemberJunction: Angular Grid to display dynamic and saved user views for any entity in MemberJunction.",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -15,27 +15,28 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "devDependencies": {
18
- "@angular/compiler": "~17.2.2",
19
- "@angular/compiler-cli": "~17.2.2"
18
+ "@angular/compiler": "18.0.2",
19
+ "@angular/compiler-cli": "18.0.2"
20
20
  },
21
21
  "peerDependencies": {
22
- "@angular/common": "~17.2.2",
23
- "@angular/core": "~17.2.2",
24
- "@angular/forms": "~17.2.2",
25
- "@angular/router": "~17.2.2"
22
+ "@angular/common": "18.0.2",
23
+ "@angular/core": "18.0.2",
24
+ "@angular/forms": "18.0.2",
25
+ "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/core-entities": "~1.5.1",
29
- "@memberjunction/global": "~1.5.1",
30
- "@memberjunction/core": "~1.5.1",
31
- "@memberjunction/ng-shared": "~1.5.1",
32
- "@memberjunction/ng-entity-form-dialog": "~1.5.1",
33
- "@memberjunction/ng-compare-records": "~1.5.1",
34
- "@memberjunction/ng-container-directives": "~1.5.1",
35
- "@progress/kendo-angular-grid": "~15.1.0",
36
- "@progress/kendo-angular-layout": "~15.1.0",
37
- "@progress/kendo-angular-inputs": "~15.1.0",
38
- "@progress/kendo-angular-buttons": "~15.1.0",
28
+ "@memberjunction/core-entities": "1.5.3",
29
+ "@memberjunction/global": "1.5.3",
30
+ "@memberjunction/core": "1.5.3",
31
+ "@memberjunction/ng-shared": "1.5.3",
32
+ "@memberjunction/ng-entity-form-dialog": "1.5.3",
33
+ "@memberjunction/ng-compare-records": "1.5.3",
34
+ "@memberjunction/ng-container-directives": "1.5.3",
35
+ "@memberjunction/entity-communications-client": "1.5.3",
36
+ "@progress/kendo-angular-grid": "16.2.0",
37
+ "@progress/kendo-angular-layout": "16.2.0",
38
+ "@progress/kendo-angular-inputs": "16.2.0",
39
+ "@progress/kendo-angular-buttons": "16.2.0",
39
40
  "tslib": "^2.3.0"
40
41
  },
41
42
  "sideEffects": false