cat-qw-lib 0.51.0 → 0.53.0

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.
@@ -171,6 +171,7 @@ class SHARED {
171
171
  static COMMITMENTS = 'commitments';
172
172
  static PRODUCT_ID = 'ProductId';
173
173
  static EXPENDITURE = 'expenditure';
174
+ static INCOME = 'income';
174
175
  }
175
176
  const statusList = [
176
177
  { name: 'All' },
@@ -4252,6 +4253,9 @@ class WidgetItemComponent {
4252
4253
  case SHARED.EXPENDITURE:
4253
4254
  updatedItem.value = applicantId;
4254
4255
  break;
4256
+ case SHARED.INCOME:
4257
+ updatedItem.value = applicantId;
4258
+ break;
4255
4259
  }
4256
4260
  this.widgetStore.setWidgetData(this.widget);
4257
4261
  this.widgetStore.setOnWidgetItemClick(updatedItem);
@@ -4326,6 +4330,7 @@ class WidgetContainerComponent {
4326
4330
  }
4327
4331
  this.getWidgetFromCacheList(queueId, recordId);
4328
4332
  this.getAllWidgetList(queueId, recordId);
4333
+ this.handleGetWidgetData();
4329
4334
  this.handleWidgetItemClick();
4330
4335
  }
4331
4336
  handleWidgetItemClick() {
@@ -4333,7 +4338,6 @@ class WidgetContainerComponent {
4333
4338
  .pipe(takeUntil(this.destroy$))
4334
4339
  .subscribe((res) => {
4335
4340
  if (res) {
4336
- this.handleGetWidgetData();
4337
4341
  this.onWidgetItemClick.emit(res);
4338
4342
  }
4339
4343
  }, (error) => {