@one-paragon/angular-utilities 2.0.8 → 2.0.9

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.
@@ -554,6 +554,9 @@ class HttpRequestStateStore extends ComponentStore {
554
554
  selectHttpState$ = this.select(a => a.response);
555
555
  $selectStatus = computed(() => this.$selectHttpState()?.status);
556
556
  selectStatus$ = this.selectHttpState$.pipe(map(s => s.status));
557
+ $selectIsSuccess = computed(() => isSuccessState(this.$selectHttpState()));
558
+ $selectIsError = computed(() => isErrorState(this.$selectHttpState()));
559
+ $selectIsInProgress = computed(() => this.$selectStatus() === HttpRequestStatus.inProgress);
557
560
  selectError$ = this.selectHttpState$.pipe(filter(isErrorState), map(state => state.error));
558
561
  $selectError = computed(() => {
559
562
  const state = this.$selectHttpState();