@churchillliving/se-ui-toolkit 6.53.392 → 6.53.393

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.
@@ -9287,6 +9287,7 @@
9287
9287
  { type: AlertService }
9288
9288
  ]; };
9289
9289
 
9290
+ //import { EFormControl, IDynamicForm } from '@churchillliving/se-ui-toolkit';
9290
9291
  var GenerateReportBtnComponent = /** @class */ (function () {
9291
9292
  function GenerateReportBtnComponent(dialogService, requestService, alertService) {
9292
9293
  this.dialogService = dialogService;
@@ -9361,7 +9362,13 @@
9361
9362
  _this.params.forEach(function (origParam) {
9362
9363
  var origKey = Object.keys(origParam)[0];
9363
9364
  if (origKey == key) {
9364
- origParam[origKey] = field.value;
9365
+ //origParam[origKey] = field.value;
9366
+ if (field.control == exports.EFormControl.CALENDAR) {
9367
+ origParam[origKey] = field.value ? field.value.toLocaleDateString() : null;
9368
+ }
9369
+ else {
9370
+ origParam[origKey] = field.value;
9371
+ }
9365
9372
  }
9366
9373
  });
9367
9374
  }
@@ -9378,7 +9385,12 @@
9378
9385
  _this.params.forEach(function (origParam) {
9379
9386
  var origKey = Object.keys(origParam)[0];
9380
9387
  if (origKey == key) {
9381
- origParam[origKey] = field.value;
9388
+ if (field.control == exports.EFormControl.CALENDAR) {
9389
+ origParam[origKey] = field.value ? field.value.toLocaleDateString() : null;
9390
+ }
9391
+ else {
9392
+ origParam[origKey] = field.value;
9393
+ }
9382
9394
  }
9383
9395
  });
9384
9396
  }