@everymatrix/stage-mm-verification-report 1.0.35 → 1.0.37

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.
Files changed (3) hide show
  1. package/main.js +6 -0
  2. package/main.js.map +1 -1
  3. package/package.json +1 -1
package/main.js CHANGED
@@ -23376,6 +23376,12 @@ var DmRangeDatePickerLibComponent = class _DmRangeDatePickerLibComponent {
23376
23376
  }
23377
23377
  dateSelection() {
23378
23378
  this.manualDateChange = true;
23379
+ const range = this.dateControl.value;
23380
+ if (!this.showTimePicker && range && Array.isArray(range) && range.length === 2 && range[1] && (0, import_moment.default)(range[1]).isValid()) {
23381
+ const endDate = new Date(range[1]);
23382
+ endDate.setHours(23, 59, 59, 999);
23383
+ this.dateControl.setValue([range[0], endDate]);
23384
+ }
23379
23385
  this.inputValue = this.formatDateRange(this.dateControl.value);
23380
23386
  }
23381
23387
  onListSelect(key) {