vc-create-dashboard 2.8.9 → 2.8.11
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,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Pipe, Optional, EventEmitter, Component, Input, Output, Directive, HostListener, ViewChild, forwardRef, NgModule } from '@angular/core';
|
|
3
3
|
import * as dayjs from 'dayjs';
|
|
4
|
-
import * as customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
5
4
|
import * as i1 from '@angular/common/http';
|
|
6
5
|
import { HttpHeaders, HttpParams } from '@angular/common/http';
|
|
7
6
|
import { JwtHelperService } from '@auth0/angular-jwt';
|
|
@@ -3026,7 +3025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
|
|
|
3026
3025
|
type: Output
|
|
3027
3026
|
}] } });
|
|
3028
3027
|
|
|
3029
|
-
dayjs.extend(customParseFormat);
|
|
3028
|
+
// dayjs.extend(customParseFormat);
|
|
3030
3029
|
class CreateDashboardComponent {
|
|
3031
3030
|
constructor(createDashboardService, paginationService, cdr, snackBar, popoverService, configureWidgetsService, textCount) {
|
|
3032
3031
|
this.createDashboardService = createDashboardService;
|
|
@@ -3698,6 +3697,8 @@ class CreateDashboardComponent {
|
|
|
3698
3697
|
}
|
|
3699
3698
|
this.vLoader = true;
|
|
3700
3699
|
const dashboard = this.dashboardForm;
|
|
3700
|
+
console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD')", dashboard);
|
|
3701
|
+
console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123", dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD'));
|
|
3701
3702
|
const payload = {
|
|
3702
3703
|
dashboard_name: dashboard.dashboardName,
|
|
3703
3704
|
description: [
|