@memberjunction/ng-form-toolbar 2.47.0 → 2.49.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.
@@ -1,12 +1,3 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
1
  import { Component, Input } from '@angular/core';
11
2
  import { EventCodes, SharedService } from '@memberjunction/ng-shared';
12
3
  import { LogError, Metadata } from '@memberjunction/core';
@@ -192,100 +183,96 @@ function FormToolbarComponent_kendo_dialog_9_Template(rf, ctx) { if (rf & 1) {
192
183
  i0.ɵɵrepeater(ctx_r1.availableLists);
193
184
  } }
194
185
  export class FormToolbarComponent {
186
+ router;
187
+ ShowSkipChatButton = true;
188
+ form;
189
+ /**
190
+ * This property does not get modified by the toolbar as things change within its state, it is the global setting you can change to disable the toolbar
191
+ */
192
+ Disabled = false;
195
193
  /**
196
194
  * Determines if the toolbar is enabled or disabled.
197
195
  */
198
196
  get CurrentlyDisabled() {
199
197
  return this.Disabled && this._currentlyDisabled;
200
198
  }
199
+ listDialogVisible = false;
200
+ showListDialogLoader = false;
201
+ availableLists = [];
202
+ selectedLists = [];
203
+ /**
204
+ * Internal property that changes over time based on the state of the record being managed. Don't access this directly, use the CurrentlyDisabled property instead.
205
+ */
206
+ _currentlyDisabled = false;
207
+ /**
208
+ * Internal property used to determine if the delete record confirmation dialog is currently displayed or not
209
+ */
210
+ _deleteDialogVisible = false;
211
+ /**
212
+ * Internal property used to determine if the skip chat window is currently displayed or not
213
+ */
214
+ _skipChatDialogVisible = false;
201
215
  get LinkedEntityPrimaryKey() {
202
216
  return this.form.record.PrimaryKey;
203
217
  }
204
218
  constructor(router) {
205
219
  this.router = router;
206
- this.ShowSkipChatButton = true;
207
- /**
208
- * This property does not get modified by the toolbar as things change within its state, it is the global setting you can change to disable the toolbar
209
- */
210
- this.Disabled = false;
211
- this.listDialogVisible = false;
212
- this.showListDialogLoader = false;
213
- this.availableLists = [];
214
- this.selectedLists = [];
215
- /**
216
- * Internal property that changes over time based on the state of the record being managed. Don't access this directly, use the CurrentlyDisabled property instead.
217
- */
218
- this._currentlyDisabled = false;
219
- /**
220
- * Internal property used to determine if the delete record confirmation dialog is currently displayed or not
221
- */
222
- this._deleteDialogVisible = false;
223
- /**
224
- * Internal property used to determine if the skip chat window is currently displayed or not
225
- */
226
- this._skipChatDialogVisible = false;
227
220
  }
228
- ngOnInit() {
229
- return __awaiter(this, void 0, void 0, function* () {
230
- });
221
+ async ngOnInit() {
231
222
  }
232
- saveExistingRecord(event) {
233
- return __awaiter(this, void 0, void 0, function* () {
234
- var _a;
235
- // Ensure the button takes focus
236
- const button = event.target;
237
- button.focus();
238
- // while we are saving the record we are editing, we need to apply a UX effect on our peer elements in the browser to ensure they are
239
- // not further edited and also disable all of the other stuff on this toolbar. So get the HTML reference to the toolbar, and disable it
240
- // then get the HTML reference to the parent of the toolbar and opacity it out.
241
- // Then create an HTML element that is centered horizaontall across the parent and is below the toolbar and show a status message of "Saving..." in it
242
- // Disable the toolbar and apply the UX effect to the form parent
243
- this._currentlyDisabled = true;
244
- const toolbar = button.closest('.toolbar-container');
245
- const formElement = toolbar.closest('form');
246
- // Apply inline styles to disable interactions and set opacity
247
- formElement.style.pointerEvents = 'none'; // This prevents interactions with the form
248
- formElement.style.opacity = '0.75'; // This makes the form opaque
249
- // Create and show the status message element
250
- const statusMessage = document.createElement('div');
251
- statusMessage.className = 'form-toolbar-status-message';
252
- formElement.appendChild(statusMessage);
253
- statusMessage.style.position = 'absolute';
254
- statusMessage.style.top = `${100}px`;
255
- // Timer variables
256
- let elapsedTime = 0;
257
- let serverUpdateMessage = "";
258
- const timer = setInterval(() => {
259
- elapsedTime += .1;
260
- statusMessage.innerHTML = `<div>Saving...<span class="form-toolbar-elapsed-time">(${Math.floor(elapsedTime)} sec${elapsedTime === 0 || elapsedTime > 1 ? 's' : ''})</span></div>` + (serverUpdateMessage ? `<div class="form-toolbar-server-update-message">${serverUpdateMessage}</div>` : '');
261
- }, 100);
262
- try {
263
- // listen for status updates from MJGlobal that come from the server
264
- MJGlobal.Instance.GetEventListener(false).subscribe((event) => {
265
- var _a;
266
- if (event.eventCode === EventCodes.PushStatusUpdates) {
267
- serverUpdateMessage = (_a = event.args) === null || _a === void 0 ? void 0 : _a.message;
268
- console.log(event);
269
- }
270
- });
271
- // Save the record
272
- const result = yield this.form.SaveRecord(true);
273
- if (!result) {
274
- const msg = ((_a = this.form.record.LatestResult) === null || _a === void 0 ? void 0 : _a.Message) ? ': ' + this.form.record.LatestResult.Message : '';
275
- SharedService.Instance.CreateSimpleNotification(`Error saving record${msg}`, 'error', 3000);
223
+ async saveExistingRecord(event) {
224
+ // Ensure the button takes focus
225
+ const button = event.target;
226
+ button.focus();
227
+ // while we are saving the record we are editing, we need to apply a UX effect on our peer elements in the browser to ensure they are
228
+ // not further edited and also disable all of the other stuff on this toolbar. So get the HTML reference to the toolbar, and disable it
229
+ // then get the HTML reference to the parent of the toolbar and opacity it out.
230
+ // Then create an HTML element that is centered horizaontall across the parent and is below the toolbar and show a status message of "Saving..." in it
231
+ // Disable the toolbar and apply the UX effect to the form parent
232
+ this._currentlyDisabled = true;
233
+ const toolbar = button.closest('.toolbar-container');
234
+ const formElement = toolbar.closest('form');
235
+ // Apply inline styles to disable interactions and set opacity
236
+ formElement.style.pointerEvents = 'none'; // This prevents interactions with the form
237
+ formElement.style.opacity = '0.75'; // This makes the form opaque
238
+ // Create and show the status message element
239
+ const statusMessage = document.createElement('div');
240
+ statusMessage.className = 'form-toolbar-status-message';
241
+ formElement.appendChild(statusMessage);
242
+ statusMessage.style.position = 'absolute';
243
+ statusMessage.style.top = `${100}px`;
244
+ // Timer variables
245
+ let elapsedTime = 0;
246
+ let serverUpdateMessage = "";
247
+ const timer = setInterval(() => {
248
+ elapsedTime += .1;
249
+ statusMessage.innerHTML = `<div>Saving...<span class="form-toolbar-elapsed-time">(${Math.floor(elapsedTime)} sec${elapsedTime === 0 || elapsedTime > 1 ? 's' : ''})</span></div>` + (serverUpdateMessage ? `<div class="form-toolbar-server-update-message">${serverUpdateMessage}</div>` : '');
250
+ }, 100);
251
+ try {
252
+ // listen for status updates from MJGlobal that come from the server
253
+ MJGlobal.Instance.GetEventListener(false).subscribe((event) => {
254
+ if (event.eventCode === EventCodes.PushStatusUpdates) {
255
+ serverUpdateMessage = event.args?.message;
256
+ console.log(event);
276
257
  }
258
+ });
259
+ // Save the record
260
+ const result = await this.form.SaveRecord(true);
261
+ if (!result) {
262
+ const msg = this.form.record.LatestResult?.Message ? ': ' + this.form.record.LatestResult.Message : '';
263
+ SharedService.Instance.CreateSimpleNotification(`Error saving record${msg}`, 'error', 3000);
277
264
  }
278
- finally {
279
- // Re-enable the toolbar and remove the UX effect
280
- this._currentlyDisabled = false;
281
- formElement.style.pointerEvents = 'auto'; // This re-enables interactions with the form
282
- formElement.style.opacity = '1'; // This restores the form's opacity
283
- // Remove the status message element
284
- formElement.removeChild(statusMessage);
285
- // Clear the timer
286
- clearInterval(timer);
287
- }
288
- });
265
+ }
266
+ finally {
267
+ // Re-enable the toolbar and remove the UX effect
268
+ this._currentlyDisabled = false;
269
+ formElement.style.pointerEvents = 'auto'; // This re-enables interactions with the form
270
+ formElement.style.opacity = '1'; // This restores the form's opacity
271
+ // Remove the status message element
272
+ formElement.removeChild(statusMessage);
273
+ // Clear the timer
274
+ clearInterval(timer);
275
+ }
289
276
  }
290
277
  /**
291
278
  * This method is called internally when the user clicks on the Skip button, and also can be invoked manually in code to show the Skip dialog.
@@ -297,84 +284,78 @@ export class FormToolbarComponent {
297
284
  toggleDeleteDialog(show) {
298
285
  this._deleteDialogVisible = show;
299
286
  }
300
- toggleListDialog(show) {
301
- return __awaiter(this, void 0, void 0, function* () {
302
- this.listDialogVisible = show;
303
- if (show) {
304
- this.availableLists = [];
305
- this.availableLists = yield this.form.GetListsCanAddTo();
306
- }
307
- });
287
+ async toggleListDialog(show) {
288
+ this.listDialogVisible = show;
289
+ if (show) {
290
+ this.availableLists = [];
291
+ this.availableLists = await this.form.GetListsCanAddTo();
292
+ }
308
293
  }
309
- addRecordToList(list) {
310
- return __awaiter(this, void 0, void 0, function* () {
311
- this.toggleListDialog(false);
312
- const md = new Metadata();
313
- const listDetailEntity = yield md.GetEntityObject("List Details", md.CurrentUser);
314
- listDetailEntity.NewRecord();
315
- listDetailEntity.ListID = list.ID;
316
- listDetailEntity.RecordID = this.form.record.FirstPrimaryKey.Value;
317
- const saveResult = yield listDetailEntity.Save();
318
- if (!saveResult) {
319
- LogError(`Error adding record to list ${list.Name}`, undefined, listDetailEntity.LatestResult);
320
- }
321
- if (saveResult) {
322
- SharedService.Instance.CreateSimpleNotification("Record added to list successfully", "success", 2500);
323
- }
324
- else {
325
- SharedService.Instance.CreateSimpleNotification(`Failed to add record to list`, "error", 2500);
326
- }
327
- });
294
+ async addRecordToList(list) {
295
+ this.toggleListDialog(false);
296
+ const md = new Metadata();
297
+ const listDetailEntity = await md.GetEntityObject("List Details", md.CurrentUser);
298
+ listDetailEntity.NewRecord();
299
+ listDetailEntity.ListID = list.ID;
300
+ listDetailEntity.RecordID = this.form.record.FirstPrimaryKey.Value;
301
+ const saveResult = await listDetailEntity.Save();
302
+ if (!saveResult) {
303
+ LogError(`Error adding record to list ${list.Name}`, undefined, listDetailEntity.LatestResult);
304
+ }
305
+ if (saveResult) {
306
+ SharedService.Instance.CreateSimpleNotification("Record added to list successfully", "success", 2500);
307
+ }
308
+ else {
309
+ SharedService.Instance.CreateSimpleNotification(`Failed to add record to list`, "error", 2500);
310
+ }
328
311
  }
329
- deleteRecord() {
330
- return __awaiter(this, void 0, void 0, function* () {
331
- this.toggleDeleteDialog(false);
332
- let dependencies = yield this.form.GetRecordDependencies();
333
- if (dependencies.length > 0) {
334
- SharedService.Instance.CreateSimpleNotification(`This record cannot be deleted because it is being used by ${dependencies.length} other records.`, 'error', 2000);
335
- return;
336
- }
337
- const deleteResult = yield this.form.record.Delete();
338
- if (deleteResult) {
339
- SharedService.Instance.CreateSimpleNotification('Record deleted succesfully', 'success', 2000);
340
- let event = {
341
- event: MJEventType.ComponentEvent,
342
- eventCode: EventCodes.CloseCurrentTab,
343
- component: null,
344
- args: null
345
- };
346
- MJGlobal.Instance.RaiseEvent(event);
347
- }
348
- else {
349
- SharedService.Instance.CreateSimpleNotification('Error deleting record', 'error', 2000);
350
- }
351
- });
312
+ async deleteRecord() {
313
+ this.toggleDeleteDialog(false);
314
+ let dependencies = await this.form.GetRecordDependencies();
315
+ if (dependencies.length > 0) {
316
+ SharedService.Instance.CreateSimpleNotification(`This record cannot be deleted because it is being used by ${dependencies.length} other records.`, 'error', 2000);
317
+ return;
318
+ }
319
+ const deleteResult = await this.form.record.Delete();
320
+ if (deleteResult) {
321
+ SharedService.Instance.CreateSimpleNotification('Record deleted succesfully', 'success', 2000);
322
+ let event = {
323
+ event: MJEventType.ComponentEvent,
324
+ eventCode: EventCodes.CloseCurrentTab,
325
+ component: null,
326
+ args: null
327
+ };
328
+ MJGlobal.Instance.RaiseEvent(event);
329
+ }
330
+ else {
331
+ SharedService.Instance.CreateSimpleNotification('Error deleting record', 'error', 2000);
332
+ }
352
333
  }
334
+ static ɵfac = function FormToolbarComponent_Factory(t) { return new (t || FormToolbarComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
335
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormToolbarComponent, selectors: [["mj-form-toolbar"]], inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, decls: 10, vars: 10, consts: [["mjChat", ""], [1, "toolbar-container"], ["kendoButton", "", "title", "Show History"], ["kendoButton", "", "title", "Discuss this record with Skip"], [3, "LinkedEntityID", "LinkedEntityPrimaryKey", "WindowOpened"], [3, "record"], ["kendoButton", "", "title", "Add this record to a list"], ["class", "dialog-wrapper", "title", "Confirm", 3, "minWidth", "width", "close", 4, "ngIf"], ["class", "dialog-wrapper", "title", "Select List to Add Record To", 3, "minWidth", "width", "height", "close", 4, "ngIf"], ["kendoButton", "", "title", "Edit this Record"], ["kendoButton", "", "title", "Delete this Record"], ["kendoButton", "", "title", "Edit this Record", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], [1, "button-text"], ["kendoButton", "", "title", "Delete this Record", 3, "click"], [1, "fa-regular", "fa-trash-can"], ["kendoButton", "", "title", "Remove Favorite"], ["kendoButton", "", "title", "Make Favorite"], ["kendoButton", "", "title", "Remove Favorite", 3, "click"], [1, "fa-solid", "fa-star"], ["kendoButton", "", "title", "Make Favorite", 3, "click"], [1, "fa-regular", "fa-star"], ["kendoButton", "", "title", "Save Record", 3, "mouseup"], [1, "fa-solid", "fa-floppy-disk"], ["kendoButton", "", "title", "Cancel Edit"], ["kendoButton", "", "title", "Fields you have changed"], ["kendoButton", "", "title", "Cancel Edit", 3, "click"], [1, "fa-solid", "fa-rotate-left"], ["kendoButton", "", "title", "Fields you have changed", 3, "click"], [1, "fa-solid", "fa-clipboard-list"], ["kendoButton", "", "title", "Show History", 3, "click"], [1, "fa-solid", "fa-business-time"], ["kendoButton", "", "title", "Discuss this record with Skip", 3, "click"], [1, "fa-regular", "fa-comment-dots"], [3, "WindowClosed", "LinkedEntityID", "LinkedEntityPrimaryKey", "WindowOpened"], [3, "dialogClosed", "record"], ["kendoButton", "", "title", "Add this record to a list", 3, "click"], [1, "fa-solid", "fa-plus"], ["title", "Confirm", 1, "dialog-wrapper", 3, "close", "minWidth", "width"], [1, "k-m-7.5", "k-text-center"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click"], ["title", "Select List to Add Record To", 1, "dialog-wrapper", 3, "close", "minWidth", "width", "height"], [1, "overflow-y-scroll"], [1, "list-item"], [1, "list-text"], ["kendoButton", "", 1, "btn-no-border", 3, "click"], [1, "btn-margin-right"]], template: function FormToolbarComponent_Template(rf, ctx) { if (rf & 1) {
336
+ i0.ɵɵelementStart(0, "div", 1);
337
+ i0.ɵɵtemplate(1, FormToolbarComponent_Conditional_1_Template, 3, 3)(2, FormToolbarComponent_Conditional_2_Template, 6, 2)(3, FormToolbarComponent_Conditional_3_Template, 4, 0, "button", 2)(4, FormToolbarComponent_Conditional_4_Template, 2, 0, "button", 3)(5, FormToolbarComponent_Conditional_5_Template, 2, 3, "mj-skip-chat-with-record-window", 4)(6, FormToolbarComponent_Conditional_6_Template, 1, 1, "mj-record-changes", 5)(7, FormToolbarComponent_Conditional_7_Template, 2, 0, "button", 6)(8, FormToolbarComponent_kendo_dialog_8_Template, 8, 2, "kendo-dialog", 7)(9, FormToolbarComponent_kendo_dialog_9_Template, 7, 3, "kendo-dialog", 8);
338
+ i0.ɵɵelementEnd();
339
+ } if (rf & 2) {
340
+ i0.ɵɵclassProp("disabled", ctx.CurrentlyDisabled);
341
+ i0.ɵɵadvance();
342
+ i0.ɵɵconditional(!ctx.form.EditMode ? 1 : 2);
343
+ i0.ɵɵadvance(2);
344
+ i0.ɵɵconditional((ctx.form.EntityInfo == null ? null : ctx.form.EntityInfo.TrackRecordChanges) && !ctx.form.EditMode ? 3 : -1);
345
+ i0.ɵɵadvance();
346
+ i0.ɵɵconditional(ctx.ShowSkipChatButton && !ctx.form.EditMode ? 4 : -1);
347
+ i0.ɵɵadvance();
348
+ i0.ɵɵconditional(ctx.form.EntityInfo ? 5 : -1);
349
+ i0.ɵɵadvance();
350
+ i0.ɵɵconditional(ctx.form.isHistoryDialogOpen ? 6 : -1);
351
+ i0.ɵɵadvance();
352
+ i0.ɵɵconditional(!ctx.form.EditMode ? 7 : -1);
353
+ i0.ɵɵadvance();
354
+ i0.ɵɵproperty("ngIf", ctx._deleteDialogVisible);
355
+ i0.ɵɵadvance();
356
+ i0.ɵɵproperty("ngIf", ctx.listDialogVisible);
357
+ } }, dependencies: [i2.NgIf, i3.RecordChangesComponent, i4.ButtonComponent, i5.DialogComponent, i5.DialogActionsComponent, i6.SkipChatWithRecordWindowComponent], styles: [".toolbar-container[_ngcontent-%COMP%] { \n border-bottom: solid 1px lightgray; \n padding-bottom: 10px; \n margin-bottom: 5px; \n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] { \n margin-right: 7px; \n} \n.toolbar-container[_ngcontent-%COMP%] .button-text[_ngcontent-%COMP%] { \n margin-left: 7px; \n} \n\n.toolbar-container.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n}\n\n .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; \n\n}\n\n\n .form-toolbar-elapsed-time {\n \n\n\n\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}"] });
353
358
  }
354
- FormToolbarComponent.ɵfac = function FormToolbarComponent_Factory(t) { return new (t || FormToolbarComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
355
- FormToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormToolbarComponent, selectors: [["mj-form-toolbar"]], inputs: { ShowSkipChatButton: "ShowSkipChatButton", form: "form" }, decls: 10, vars: 10, consts: [["mjChat", ""], [1, "toolbar-container"], ["kendoButton", "", "title", "Show History"], ["kendoButton", "", "title", "Discuss this record with Skip"], [3, "LinkedEntityID", "LinkedEntityPrimaryKey", "WindowOpened"], [3, "record"], ["kendoButton", "", "title", "Add this record to a list"], ["class", "dialog-wrapper", "title", "Confirm", 3, "minWidth", "width", "close", 4, "ngIf"], ["class", "dialog-wrapper", "title", "Select List to Add Record To", 3, "minWidth", "width", "height", "close", 4, "ngIf"], ["kendoButton", "", "title", "Edit this Record"], ["kendoButton", "", "title", "Delete this Record"], ["kendoButton", "", "title", "Edit this Record", 3, "click"], [1, "fa-solid", "fa-pen-to-square"], [1, "button-text"], ["kendoButton", "", "title", "Delete this Record", 3, "click"], [1, "fa-regular", "fa-trash-can"], ["kendoButton", "", "title", "Remove Favorite"], ["kendoButton", "", "title", "Make Favorite"], ["kendoButton", "", "title", "Remove Favorite", 3, "click"], [1, "fa-solid", "fa-star"], ["kendoButton", "", "title", "Make Favorite", 3, "click"], [1, "fa-regular", "fa-star"], ["kendoButton", "", "title", "Save Record", 3, "mouseup"], [1, "fa-solid", "fa-floppy-disk"], ["kendoButton", "", "title", "Cancel Edit"], ["kendoButton", "", "title", "Fields you have changed"], ["kendoButton", "", "title", "Cancel Edit", 3, "click"], [1, "fa-solid", "fa-rotate-left"], ["kendoButton", "", "title", "Fields you have changed", 3, "click"], [1, "fa-solid", "fa-clipboard-list"], ["kendoButton", "", "title", "Show History", 3, "click"], [1, "fa-solid", "fa-business-time"], ["kendoButton", "", "title", "Discuss this record with Skip", 3, "click"], [1, "fa-regular", "fa-comment-dots"], [3, "WindowClosed", "LinkedEntityID", "LinkedEntityPrimaryKey", "WindowOpened"], [3, "dialogClosed", "record"], ["kendoButton", "", "title", "Add this record to a list", 3, "click"], [1, "fa-solid", "fa-plus"], ["title", "Confirm", 1, "dialog-wrapper", 3, "close", "minWidth", "width"], [1, "k-m-7.5", "k-text-center"], [1, "popup-actions-btn"], ["kendoButton", "", "themeColor", "info", 1, "cancel-btn", 3, "click"], ["kendoButton", "", "fillMode", "outline", "themeColor", "info", 1, "yes-btn", 3, "click"], ["title", "Select List to Add Record To", 1, "dialog-wrapper", 3, "close", "minWidth", "width", "height"], [1, "overflow-y-scroll"], [1, "list-item"], [1, "list-text"], ["kendoButton", "", 1, "btn-no-border", 3, "click"], [1, "btn-margin-right"]], template: function FormToolbarComponent_Template(rf, ctx) { if (rf & 1) {
356
- i0.ɵɵelementStart(0, "div", 1);
357
- i0.ɵɵtemplate(1, FormToolbarComponent_Conditional_1_Template, 3, 3)(2, FormToolbarComponent_Conditional_2_Template, 6, 2)(3, FormToolbarComponent_Conditional_3_Template, 4, 0, "button", 2)(4, FormToolbarComponent_Conditional_4_Template, 2, 0, "button", 3)(5, FormToolbarComponent_Conditional_5_Template, 2, 3, "mj-skip-chat-with-record-window", 4)(6, FormToolbarComponent_Conditional_6_Template, 1, 1, "mj-record-changes", 5)(7, FormToolbarComponent_Conditional_7_Template, 2, 0, "button", 6)(8, FormToolbarComponent_kendo_dialog_8_Template, 8, 2, "kendo-dialog", 7)(9, FormToolbarComponent_kendo_dialog_9_Template, 7, 3, "kendo-dialog", 8);
358
- i0.ɵɵelementEnd();
359
- } if (rf & 2) {
360
- i0.ɵɵclassProp("disabled", ctx.CurrentlyDisabled);
361
- i0.ɵɵadvance();
362
- i0.ɵɵconditional(!ctx.form.EditMode ? 1 : 2);
363
- i0.ɵɵadvance(2);
364
- i0.ɵɵconditional((ctx.form.EntityInfo == null ? null : ctx.form.EntityInfo.TrackRecordChanges) && !ctx.form.EditMode ? 3 : -1);
365
- i0.ɵɵadvance();
366
- i0.ɵɵconditional(ctx.ShowSkipChatButton && !ctx.form.EditMode ? 4 : -1);
367
- i0.ɵɵadvance();
368
- i0.ɵɵconditional(ctx.form.EntityInfo ? 5 : -1);
369
- i0.ɵɵadvance();
370
- i0.ɵɵconditional(ctx.form.isHistoryDialogOpen ? 6 : -1);
371
- i0.ɵɵadvance();
372
- i0.ɵɵconditional(!ctx.form.EditMode ? 7 : -1);
373
- i0.ɵɵadvance();
374
- i0.ɵɵproperty("ngIf", ctx._deleteDialogVisible);
375
- i0.ɵɵadvance();
376
- i0.ɵɵproperty("ngIf", ctx.listDialogVisible);
377
- } }, dependencies: [i2.NgIf, i3.RecordChangesComponent, i4.ButtonComponent, i5.DialogComponent, i5.DialogActionsComponent, i6.SkipChatWithRecordWindowComponent], styles: [".toolbar-container[_ngcontent-%COMP%] { \n border-bottom: solid 1px lightgray; \n padding-bottom: 10px; \n margin-bottom: 5px; \n}\n\n.toolbar-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] { \n margin-right: 7px; \n} \n.toolbar-container[_ngcontent-%COMP%] .button-text[_ngcontent-%COMP%] { \n margin-left: 7px; \n} \n\n.toolbar-container.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled[_ngcontent-%COMP%] {\n pointer-events: none;\n}\n\n .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; \n\n}\n\n\n .form-toolbar-elapsed-time {\n \n\n\n\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}"] });
378
359
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormToolbarComponent, [{
379
360
  type: Component,
380
361
  args: [{ selector: 'mj-form-toolbar', template: "\n<div class=\"toolbar-container\" [class.disabled]=\"CurrentlyDisabled\">\n @if (!form.EditMode) {\n @if (form.UserCanEdit) {\n <button kendoButton (click)=\"form.StartEditMode()\" title=\"Edit this Record\">\n <span class=\"fa-solid fa-pen-to-square\"></span>\n <span class=\"button-text\">Edit</span>\n </button> \n }\n @if(form.UserCanDelete){\n <button kendoButton (click)=\"toggleDeleteDialog(true)\" title=\"Delete this Record\">\n <span class=\"fa-regular fa-trash-can\"></span>\n </button> \n }\n @if (form.FavoriteInitDone) {\n @if (form.IsFavorite) {\n <button kendoButton (click)=\"form.RemoveFavorite()\" title=\"Remove Favorite\">\n <span class=\"fa-solid fa-star\"></span>\n </button> \n }\n @else {\n <button kendoButton (click)=\"form.MakeFavorite()\" title=\"Make Favorite\">\n <span class=\"fa-regular fa-star\"></span>\n </button> \n }\n }\n }\n @else {\n <button kendoButton (mouseup)=\"saveExistingRecord($event)\" title=\"Save Record\">\n <span class=\"fa-solid fa-floppy-disk\"></span>\n <span class=\"button-text\">Save</span>\n </button> \n @if (form.record.IsSaved) {\n <!-- Only show the cancel button if the record has already been saved - don't show for a new record. -->\n <button kendoButton (click)=\"form.CancelEdit()\" title=\"Cancel Edit\">\n <span class=\"fa-solid fa-rotate-left\"></span>\n <span class=\"button-text\">Cancel</span>\n </button> \n }\n @if (form.record.Dirty) {\n <button kendoButton (click)=\"form.ShowChanges()\" title=\"Fields you have changed\">\n <span class=\"fa-solid fa-clipboard-list\"></span>\n <span class=\"button-text\">Changes</span>\n </button> \n }\n }\n @if (form.EntityInfo?.TrackRecordChanges && !form.EditMode) {\n <button kendoButton (click)=\"form.handleHistoryDialog()\" title=\"Show History\">\n <span class=\"fa-solid fa-business-time\"></span>\n <span class=\"button-text\">History</span>\n </button> \n }\n @if (ShowSkipChatButton && !form.EditMode) {\n <button kendoButton (click)=\"ShowSkipChat()\" title=\"Discuss this record with Skip\">\n <span class=\"fa-regular fa-comment-dots\"></span>\n </button> \n }\n @if (form.EntityInfo) {\n <mj-skip-chat-with-record-window\n [LinkedEntityID]=\"form.EntityInfo.ID\"\n [LinkedEntityPrimaryKey]=\"LinkedEntityPrimaryKey\" \n #mjChat\n [WindowOpened]=\"_skipChatDialogVisible\" \n (WindowClosed)=\"ShowSkipChat()\"\n >\n </mj-skip-chat-with-record-window>\n }\n @if (form.isHistoryDialogOpen) {\n <mj-record-changes [record]=\"form.record\" (dialogClosed)=\"form.handleHistoryDialog()\"></mj-record-changes>\n }\n @if(!form.EditMode){\n <button kendoButton (click)=\"toggleListDialog(true)\" title=\"Add this record to a list\">\n <span class=\"fa-solid fa-plus\"></span>\n </button> \n }\n <kendo-dialog \n [minWidth]=\"450\"\n [width]=\"650\"\n class=\"dialog-wrapper\" \n title=\"Confirm\" \n *ngIf=\"_deleteDialogVisible\" \n (close)=\"toggleDeleteDialog(false)\">\n <p class=\"k-m-7.5 k-text-center\">\n Are you sure you want to delete this record?\n </p>\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"cancel-btn\" (click)=\"deleteRecord()\" kendoButton themeColor=\"info\">\n Yes, Delete\n </button>\n <button class=\"yes-btn\" (click)=\"toggleDeleteDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n No, Cancel\n </button>\n </kendo-dialog-actions>\n </kendo-dialog>\n\n <kendo-dialog\n class=\"dialog-wrapper\"\n title=\"Select List to Add Record To\"\n *ngIf=\"listDialogVisible\"\n (close)=\"toggleListDialog(false)\"\n [minWidth]=\"250\"\n [width]=\"650\"\n [height]=\"550\"\n >\n <hr>\n @for(list of availableLists; track list){\n <div class=\"overflow-y-scroll\">\n <div class=\"list-item\">\n <div class=\"list-text\">\n {{list.Name}}\n </div>\n <button kendoButton class=\"btn-no-border\" (click)=\"addRecordToList(list)\">\n <div class=\"btn-margin-right\">\n <span class=\"fa-solid fa-plus\"></span>\n Add\n </div>\n </button>\n </div>\n <hr>\n </div>\n }\n <kendo-dialog-actions class=\"popup-actions-btn\">\n <button class=\"yes-btn\" (click)=\"toggleListDialog(false)\" kendoButton fillMode=\"outline\" themeColor=\"info\">\n Close\n </button>\n </kendo-dialog-actions>\n</kendo-dialog>\n</div>", styles: [".toolbar-container { \n border-bottom: solid 1px lightgray; \n padding-bottom: 10px; \n margin-bottom: 5px; \n}\n\n.toolbar-container button { \n margin-right: 7px; \n} \n.toolbar-container .button-text { \n margin-left: 7px; \n} \n\n.toolbar-container.disabled {\n pointer-events: none;\n opacity: 0.8;\n}\n\n.disabled {\n pointer-events: none;\n}\n\n::ng-deep .form-toolbar-status-message {\n background: #f0f0f0;\n padding: 15px;\n border-radius: 5px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n opacity: 1;\n z-index: 1000;\n color:#1d7032;\n font: 16px;\n font-weight: bold;\n min-width: 100px;\n\n text-align: center; /* Center the text horizontally */\n}\n\n\n::ng-deep .form-toolbar-elapsed-time {\n /*\n we want this littler timer to be small dark gray text in the top right corner with a white background\n*/\n position: absolute;\n top: 0;\n right: 0;\n color: darkgray;\n font-size: smaller;\n padding: 2px;\n border-radius: 5px;\n margin: 5px;\n z-index: 1000;\n}\n\n::ng-deep .form-toolbar-server-update-message {\n margin-top: 7px;\n font-size: smaller;\n color: black;\n}\n\n.list-item {\n display: flex;\n justify-content: space-between;\n padding-bottom: 5px;\n align-items: center;\n}"] }]
@@ -1 +1 @@
1
- {"version":3,"file":"form-toolbar.js","sourceRoot":"","sources":["../../src/lib/form-toolbar.ts","../../src/lib/form-toolbar.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAA4B,QAAQ,EAAE,QAAQ,EAA6B,MAAM,sBAAsB,CAAC;AAE/G,OAAO,EAAW,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;ICD5D,kCAA4E;IAAxD,uMAAS,2B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,IAAI,EAAE,IAAI;aACb,CAAC;YAEF,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;aACI,CAAC;YACF,aAAa,CAAC,QAAQ,CAAC,wBAAwB,CAAC,uBAAuB,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC5F,CAAC;IACL,CAAC;8EAnLQ,oBAAoB;6DAApB,oBAAoB;YCbjC,8BAAoE;YA8FhE,AApBA,AALA,AAHA,AAVA,AALA,AANA,AAnBA,AAzBA,mEAAsB,sDAyBf,mEAmBsD,mEAMjB,4FAKrB,8EAUS,mEAGZ,0EAWgB,0EAsBnC;YAwBL,iBAAM;;YA9HyB,iDAAoC;YAC/D,cA2CC;YA3CD,4CA2CC;YACD,eAKC;YALD,8HAKC;YACD,cAIC;YAJD,uEAIC;YACD,cASC;YATD,8CASC;YACD,cAEC;YAFD,uDAEC;YACD,cAIC;YAJD,6CAIC;YAMA,cAA0B;YAA1B,+CAA0B;YAkB1B,cAAuB;YAAvB,4CAAuB;;;iFDpFf,oBAAoB;cALhC,SAAS;2BACI,iBAAiB;uCAKlB,kBAAkB;kBAA1B,KAAK;YACG,IAAI;kBAAZ,KAAK;;kFAFG,oBAAoB"}
package/dist/module.js CHANGED
@@ -19,20 +19,20 @@ import { BaseFormsModule } from '@memberjunction/ng-base-forms';
19
19
  import * as i0 from "@angular/core";
20
20
  import * as i1 from "ngx-markdown";
21
21
  export class FormToolbarModule {
22
+ static ɵfac = function FormToolbarModule_Factory(t) { return new (t || FormToolbarModule)(); };
23
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormToolbarModule });
24
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
25
+ FormsModule,
26
+ RecordChangesModule,
27
+ BaseFormsModule,
28
+ ButtonsModule,
29
+ InputsModule,
30
+ DialogsModule,
31
+ AskSkipModule,
32
+ IndicatorsModule,
33
+ MemberJunctionSharedModule,
34
+ MarkdownModule.forRoot()] });
22
35
  }
23
- FormToolbarModule.ɵfac = function FormToolbarModule_Factory(t) { return new (t || FormToolbarModule)(); };
24
- FormToolbarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormToolbarModule });
25
- FormToolbarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
26
- FormsModule,
27
- RecordChangesModule,
28
- BaseFormsModule,
29
- ButtonsModule,
30
- InputsModule,
31
- DialogsModule,
32
- AskSkipModule,
33
- IndicatorsModule,
34
- MemberJunctionSharedModule,
35
- MarkdownModule.forRoot()] });
36
36
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormToolbarModule, [{
37
37
  type: NgModule,
38
38
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,WAAW;AACX,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,KAAK;AACL,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAEvE,mBAAmB;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAA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C;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,KAAK;AACL,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAEvE,mBAAmB;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;;;AAwBhE,MAAM,OAAO,iBAAiB;2EAAjB,iBAAiB;4DAAjB,iBAAiB;gEAhB1B,YAAY;YACZ,WAAW;YACX,mBAAmB;YACnB,eAAe;YACf,aAAa;YACb,YAAY;YACZ,aAAa;YACb,aAAa;YACb,gBAAgB;YAChB,0BAA0B;YAC1B,cAAc,CAAC,OAAO,EAAE;;iFAMf,iBAAiB;cArB7B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,oBAAoB;iBACrB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,mBAAmB;oBACnB,eAAe;oBACf,aAAa;oBACb,YAAY;oBACZ,aAAa;oBACb,aAAa;oBACb,gBAAgB;oBAChB,0BAA0B;oBAC1B,cAAc,CAAC,OAAO,EAAE;iBACzB;gBACD,OAAO,EAAE;oBACP,oBAAoB;iBACrB;aACF;;wFACY,iBAAiB,mBAnB1B,oBAAoB,aAGpB,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,eAAe;QACf,aAAa;QACb,YAAY;QACZ,aAAa;QACb,aAAa;QACb,gBAAgB;QAChB,0BAA0B,gCAI1B,oBAAoB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-form-toolbar",
3
- "version": "2.47.0",
3
+ "version": "2.49.0",
4
4
  "description": "MemberJunction: Angular Form Toolbar",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -25,13 +25,13 @@
25
25
  "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/global": "2.47.0",
29
- "@memberjunction/core": "2.47.0",
30
- "@memberjunction/ng-shared": "2.47.0",
31
- "@memberjunction/ng-base-forms": "2.47.0",
32
- "@memberjunction/ng-ask-skip": "2.47.0",
33
- "@memberjunction/ng-record-changes": "2.47.0",
34
- "@memberjunction/ng-container-directives": "2.47.0",
28
+ "@memberjunction/global": "2.49.0",
29
+ "@memberjunction/core": "2.49.0",
30
+ "@memberjunction/ng-shared": "2.49.0",
31
+ "@memberjunction/ng-base-forms": "2.49.0",
32
+ "@memberjunction/ng-ask-skip": "2.49.0",
33
+ "@memberjunction/ng-record-changes": "2.49.0",
34
+ "@memberjunction/ng-container-directives": "2.49.0",
35
35
  "@progress/kendo-angular-buttons": "16.2.0",
36
36
  "@progress/kendo-angular-dialog": "16.2.0",
37
37
  "ngx-markdown": "^18.0.0",