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';
|
|
@@ -3047,7 +3046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
|
|
|
3047
3046
|
type: Output
|
|
3048
3047
|
}] } });
|
|
3049
3048
|
|
|
3050
|
-
dayjs.extend(customParseFormat);
|
|
3049
|
+
// dayjs.extend(customParseFormat);
|
|
3051
3050
|
class CreateDashboardComponent {
|
|
3052
3051
|
constructor(createDashboardService, paginationService, cdr, snackBar, popoverService, configureWidgetsService, textCount) {
|
|
3053
3052
|
this.createDashboardService = createDashboardService;
|
|
@@ -3728,6 +3727,8 @@ class CreateDashboardComponent {
|
|
|
3728
3727
|
}
|
|
3729
3728
|
this.vLoader = true;
|
|
3730
3729
|
const dashboard = this.dashboardForm;
|
|
3730
|
+
console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD')", dashboard);
|
|
3731
|
+
console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123", dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD'));
|
|
3731
3732
|
const payload = {
|
|
3732
3733
|
dashboard_name: dashboard.dashboardName,
|
|
3733
3734
|
description: [
|