@tuki-io/tuki-widgets 0.0.184 → 0.0.187

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.
Files changed (29) hide show
  1. package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +20 -9
  2. package/esm2020/user-creation/src/classes/notification.mjs +32 -0
  3. package/esm2020/user-creation/src/environments/environment.mjs +11 -0
  4. package/esm2020/user-creation/src/shared/services/notification.service.mjs +62 -0
  5. package/esm2020/user-creation/src/user-creation.module.mjs +7 -1
  6. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +14 -11
  7. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +3 -3
  8. package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
  9. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +16 -6
  10. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  11. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +117 -10
  12. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  13. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
  14. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  15. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2 -2
  16. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  17. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +18 -7
  18. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  19. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +117 -10
  20. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  21. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
  22. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  23. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2 -2
  24. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/user-creation/src/classes/notification.d.ts +18 -0
  27. package/user-creation/src/environments/environment.d.ts +9 -0
  28. package/user-creation/src/shared/services/notification.service.d.ts +18 -0
  29. package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.d.ts +3 -0
@@ -2213,18 +2213,29 @@ class PendingActivationUsersCardComponent {
2213
2213
  this.apiService.apiUrl = this.host;
2214
2214
  this.upgradeOverviewService.customerId = this.customerId;
2215
2215
  this.loading = true;
2216
- forkJoin({
2217
- summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2218
- pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2219
- }).pipe(takeUntil(this.destroy$))
2220
- .subscribe(({ summary, pendingActivation }) => {
2216
+ this.upgradeOverviewService.getUsersUpgradeSummary()
2217
+ .pipe(takeUntil(this.destroy$))
2218
+ .subscribe((stats) => {
2221
2219
  this.readinessStats = {
2222
- ...summary,
2223
- pendingActivation
2220
+ ...stats,
2221
+ pendingActivation: 1,
2222
+ totalUpgradedUsers: 1,
2224
2223
  };
2225
2224
  this.loading = false;
2226
2225
  });
2227
2226
  }
2227
+ // forkJoin({
2228
+ // summary: this.upgradeOverviewService.getUsersUpgradeSummary(),
2229
+ // pendingActivation: this.upgradeOverviewService.getPendingActivationCount()
2230
+ // }).pipe(takeUntil(this.destroy$))
2231
+ // .subscribe(({ summary, pendingActivation }) => {
2232
+ // this.readinessStats = {
2233
+ // ...summary,
2234
+ // pendingActivation
2235
+ // };
2236
+ // this.loading = false;
2237
+ // });
2238
+ // }
2228
2239
  ngOnDestroy() {
2229
2240
  this.destroy$.next();
2230
2241
  this.destroy$.complete();