vc-create-dashboard 2.8.27 → 2.8.28

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,5 +1,5 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
2
- import { EditorConfig } from 'vcomply-editor';
2
+ import { EditorConfig } from '@vcomply/editor';
3
3
  import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
4
4
  import { CreateDashboardService } from './services/create-dashboard.service';
5
5
  import { PaginationService } from './services/pagination.service';
@@ -110,22 +110,22 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
110
110
  getDateFormate(data: string): string;
111
111
  configureDashboard(): void;
112
112
  /**
113
- * Fetches organization users count api to get total number of pages
114
- * @param Url contains prams
115
- */
113
+ * Fetches organization users count api to get total number of pages
114
+ * @param Url contains prams
115
+ */
116
116
  getOrganizationUsersCount(Url: any): void;
117
117
  /**
118
- * Get users list by making api call and pre selects all admins by adding to viewers
119
- * @param url contains query params for organization users api
120
- */
118
+ * Get users list by making api call and pre selects all admins by adding to viewers
119
+ * @param url contains query params for organization users api
120
+ */
121
121
  getUsersList(url: any): void;
122
122
  getGroupList(): void;
123
123
  getComplianceCategoryList(): void;
124
124
  saveSelectedCategory(event: any): void;
125
125
  getCategoryList(): void;
126
126
  /**
127
- * It is to ensure whether all required lists on Policy from is loaded from the api call or not
128
- */
127
+ * It is to ensure whether all required lists on Policy from is loaded from the api call or not
128
+ */
129
129
  checkWhetherAllListsLoaded(): void;
130
130
  setSelectedWidgets(data: any): void;
131
131
  closeConfigureWidgets(event: boolean): void;
@@ -136,32 +136,32 @@ export declare class CreateDashboardComponent implements OnInit, OnChanges {
136
136
  paginationFilter(event: any): void;
137
137
  getRCList(): void;
138
138
  /**
139
- * #### Description
140
- *
141
- * Returns the unique array of object based on unique key
142
- * @param array
143
- * @param key
144
- * @returns
145
- */
139
+ * #### Description
140
+ *
141
+ * Returns the unique array of object based on unique key
142
+ * @param array
143
+ * @param key
144
+ * @returns
145
+ */
146
146
  uniqueByProp(array: any, key: string): unknown[];
147
147
  saveSelectedList(type: string, selectedItems: any): void;
148
148
  remove(type: any, event: any, removeIndex?: any): void;
149
149
  setList(list: any[], ids: any[], key: string): any;
150
150
  submitted: boolean;
151
151
  /**
152
- * Returns id's from a particular list elements
153
- * @param list actual selected list
154
- * @param key contains key to extract id from the list
155
- */
152
+ * Returns id's from a particular list elements
153
+ * @param list actual selected list
154
+ * @param key contains key to extract id from the list
155
+ */
156
156
  returnIds(list: any[], key: string): any[];
157
157
  /**
158
- * Validates the data submitted on create dashboard form
159
- */
158
+ * Validates the data submitted on create dashboard form
159
+ */
160
160
  validateDashboard(): boolean;
161
161
  /**
162
- * Makes an api call to create a policy
163
- * @param dashboard contains dashboardForm data
164
- */
162
+ * Makes an api call to create a policy
163
+ * @param dashboard contains dashboardForm data
164
+ */
165
165
  submitDashboard(): false | undefined;
166
166
  editDashboard(): void;
167
167
  populateDashboardForm(data: any): void;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { DatePickerComponent, IDatePickerConfig } from 'ng2-date-picker';
3
3
  import { DialogService } from '../../ui-kit/dialog/dialog.service';
4
- import { EditorConfig } from 'vcomply-editor';
4
+ import { EditorConfig } from '@vcomply/editor';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FormGroupComponent implements OnInit {
7
7
  private dialog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vc-create-dashboard",
3
- "version": "2.8.27",
3
+ "version": "2.8.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.1.0",
6
6
  "@angular/core": "^12.1.0"