@indigina/ui-kit 1.1.625 → 1.1.626

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.
@@ -9743,7 +9743,7 @@ class KitGridCellService {
9743
9743
  this.datePipe = inject(DatePipe);
9744
9744
  this.dateFormatConfig = inject(KIT_GRID_CELL_DATE_FORMAT_CONFIG, { optional: true });
9745
9745
  this.store = inject(Store);
9746
- this.userState = this.store.selectSignal(KIT_USER_STATE_TOKEN)();
9746
+ this.userState = this.store.selectSignal(KIT_USER_STATE_TOKEN);
9747
9747
  const dateFormatConfig = this.dateFormatConfig;
9748
9748
  this.dateFormat = dateFormatConfig?.dateFormat ?? KIT_DATE_FORMAT;
9749
9749
  this.dateTimeFormat = dateFormatConfig?.dateTimeFormat ?? KIT_DATETIME_FORMAT_LONG;
@@ -9768,9 +9768,9 @@ class KitGridCellService {
9768
9768
  case 'dateTimeLocal':
9769
9769
  return this.datePipe.transform(value, this.dateTimeFormat) ?? defaultValue;
9770
9770
  case 'dateZone':
9771
- return value ? formatInTimeZone(value, this.userState.data?.namedTimeZone ?? 'UTC', this.dateFormat) : defaultValue;
9771
+ return value ? formatInTimeZone(value, this.userState().data?.namedTimeZone ?? 'UTC', this.dateFormat) : defaultValue;
9772
9772
  case 'dateTimeZone':
9773
- return value ? formatInTimeZone(value, this.userState.data?.namedTimeZone ?? 'UTC', this.dateTimeFormat) : defaultValue;
9773
+ return value ? formatInTimeZone(value, this.userState().data?.namedTimeZone ?? 'UTC', this.dateTimeFormat) : defaultValue;
9774
9774
  case 'boolean':
9775
9775
  return this.translateService.instant(value ? 'common.yes' : 'common.no');
9776
9776
  default: