@tuki-io/tuki-widgets 0.0.219-dev.43 → 0.0.219-dev.45
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.
- package/README.md +24 -24
- package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +1 -1
- package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
- package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +3 -3
- package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
- package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
- package/esm2020/lib/widgets.component.mjs +9 -9
- package/esm2020/lib/widgets.module.mjs +1 -1
- package/esm2020/lib/widgets.service.mjs +1 -1
- package/esm2020/locations/public-api.mjs +1 -1
- package/esm2020/locations/src/app.constants.mjs +6 -2
- package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +23 -0
- package/esm2020/locations/src/locations.component.mjs +90 -13
- package/esm2020/locations/src/locations.module.mjs +4 -1
- package/esm2020/locations/src/material.module.mjs +8 -1
- package/esm2020/locations/src/services/api.service.mjs +1 -1
- package/esm2020/locations/src/services/locations.service.mjs +11 -1
- package/esm2020/locations/src/types/location.mjs +1 -1
- package/esm2020/locations/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/meetings/src/app.constants.mjs +1 -1
- package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
- package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
- package/esm2020/meetings/src/meetings.component.mjs +3 -3
- package/esm2020/meetings/src/meetings.module.mjs +1 -1
- package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
- package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
- package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
- package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
- package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/public-api.mjs +1 -1
- package/esm2020/user-creation/src/app.constants.mjs +1 -1
- package/esm2020/user-creation/src/classes/notification.mjs +1 -1
- package/esm2020/user-creation/src/classes/site.mjs +1 -1
- package/esm2020/user-creation/src/environments/environment.mjs +1 -1
- package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
- package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
- package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
- package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
- package/esm2020/user-creation/src/utils/model.mjs +1 -1
- package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
- package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
- package/esm2020/user-device-manage/public-api.mjs +1 -1
- package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
- package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
- package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
- package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
- package/esm2020/user-device-manage/src/material.module.mjs +1 -1
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
- package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
- package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-manage/public-api.mjs +1 -1
- package/esm2020/user-manage/src/app.constants.mjs +1 -1
- package/esm2020/user-manage/src/classes/device.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
- package/esm2020/user-manage/src/classes/line.mjs +1 -1
- package/esm2020/user-manage/src/classes/notification.mjs +1 -1
- package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
- package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
- package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
- package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
- package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
- package/esm2020/user-manage/src/common-functions.mjs +1 -1
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
- package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
- package/esm2020/user-manage/src/environments/environment.mjs +1 -1
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
- package/esm2020/user-manage/src/material.module.mjs +1 -1
- package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
- package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
- package/esm2020/user-manage/src/services/line.service.mjs +1 -1
- package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
- package/esm2020/user-manage/src/services/user.service.mjs +1 -1
- package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
- package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
- package/esm2020/users-list/public-api.mjs +1 -1
- package/esm2020/users-list/src/app.constants.mjs +1 -1
- package/esm2020/users-list/src/classes/app-location.mjs +1 -1
- package/esm2020/users-list/src/classes/device.mjs +1 -1
- package/esm2020/users-list/src/classes/line.mjs +1 -1
- package/esm2020/users-list/src/classes/move-user.mjs +1 -1
- package/esm2020/users-list/src/classes/notification.mjs +1 -1
- package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
- package/esm2020/users-list/src/classes/table-data.mjs +1 -1
- package/esm2020/users-list/src/classes/user-list.mjs +1 -1
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
- package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
- package/esm2020/users-list/src/services/api.service.mjs +1 -1
- package/esm2020/users-list/src/services/dns.service.mjs +1 -1
- package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
- package/esm2020/users-list/src/services/notification.service.mjs +1 -1
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
- package/esm2020/users-list/src/services/user.service.mjs +1 -1
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
- package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
- package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
- package/esm2020/workspaces/public-api.mjs +1 -1
- package/esm2020/workspaces/src/app.constants.mjs +2 -2
- package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +9 -3
- package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +3 -3
- package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +8 -5
- package/esm2020/workspaces/src/material.module.mjs +1 -1
- package/esm2020/workspaces/src/services/api.service.mjs +1 -1
- package/esm2020/workspaces/src/services/workspace-detail.service.mjs +1 -1
- package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +3 -3
- package/esm2020/workspaces/src/services/workspaces.service.mjs +1 -1
- package/esm2020/workspaces/src/types/workspace.mjs +1 -1
- package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/workspaces/src/utils/device-icon.mjs +1 -1
- package/esm2020/workspaces/src/workspaces.component.mjs +15 -13
- package/esm2020/workspaces/src/workspaces.module.mjs +1 -1
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs +138 -19
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
- package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +6 -6
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +12 -12
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +38 -27
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs +136 -19
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
- package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +6 -6
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +12 -12
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +36 -25
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
- package/locations/src/app.constants.d.ts +4 -0
- package/locations/src/location-confirm-dialog/location-confirm-dialog.component.d.ts +15 -0
- package/locations/src/locations.component.d.ts +12 -3
- package/locations/src/locations.module.d.ts +7 -6
- package/locations/src/material.module.d.ts +6 -5
- package/locations/src/services/locations.service.d.ts +8 -0
- package/locations/src/types/location.d.ts +2 -0
- package/package.json +1 -1
- package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +3 -2
- package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +4 -3
- package/workspaces/src/types/workspace.d.ts +5 -0
- package/workspaces/src/workspaces.component.d.ts +3 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface LocationConfirmDialogData {
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
confirmButtonText: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class LocationConfirmDialogComponent {
|
|
9
|
+
dialogRef: MatDialogRef<LocationConfirmDialogComponent>;
|
|
10
|
+
data: LocationConfirmDialogData;
|
|
11
|
+
constructor(dialogRef: MatDialogRef<LocationConfirmDialogComponent>, data: LocationConfirmDialogData);
|
|
12
|
+
onClose(result: boolean): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocationConfirmDialogComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocationConfirmDialogComponent, "tk-location-confirm-dialog", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { APIService } from './services/api.service';
|
|
3
4
|
import { LocationsService } from './services/locations.service';
|
|
4
5
|
import { Location } from './types/location';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
type LocationsSortDirection = 'asc' | 'desc';
|
|
7
|
-
export declare class LocationsComponent implements OnInit {
|
|
8
|
+
export declare class LocationsComponent implements OnInit, OnDestroy {
|
|
8
9
|
private apiService;
|
|
9
10
|
private locationsService;
|
|
11
|
+
private dialog;
|
|
10
12
|
exHost: string;
|
|
11
13
|
token: string;
|
|
12
14
|
customerId: number;
|
|
@@ -30,8 +32,10 @@ export declare class LocationsComponent implements OnInit {
|
|
|
30
32
|
pendingActions: string;
|
|
31
33
|
};
|
|
32
34
|
private readonly countryDisplayNames;
|
|
33
|
-
|
|
35
|
+
private readonly migrationIntervals;
|
|
36
|
+
constructor(apiService: APIService, locationsService: LocationsService, dialog: MatDialog);
|
|
34
37
|
ngOnInit(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
35
39
|
private loadPage;
|
|
36
40
|
get pendingLocations(): Location[];
|
|
37
41
|
get showPendingBanner(): boolean;
|
|
@@ -59,6 +63,11 @@ export declare class LocationsComponent implements OnInit {
|
|
|
59
63
|
onOpenLocation(location: Location): void;
|
|
60
64
|
onEditLocation(location: Location): void;
|
|
61
65
|
onRemoveLocation(location: Location): void;
|
|
66
|
+
canMigrateSite(location: Location): boolean;
|
|
67
|
+
onMigrateSite(location: Location): void;
|
|
68
|
+
private migrateSite;
|
|
69
|
+
private pollMigrationStatus;
|
|
70
|
+
private clearMigrationInterval;
|
|
62
71
|
onAddLocation(): void;
|
|
63
72
|
onImportLocations(): void;
|
|
64
73
|
exportLocations(): void;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./locations.component";
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/common
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "
|
|
3
|
+
import * as i2 from "./location-confirm-dialog/location-confirm-dialog.component";
|
|
4
|
+
import * as i3 from "./utils/app-loader/app-loader";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/common/http";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "./material.module";
|
|
8
9
|
export declare class LocationsModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocationsModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.AppLoaderComponent], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.LocationConfirmDialogComponent, typeof i3.AppLoaderComponent], [typeof i4.CommonModule, typeof i5.HttpClientModule, typeof i6.FormsModule, typeof i7.MaterialModule], [typeof i1.LocationsComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<LocationsModule>;
|
|
12
13
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/material/button";
|
|
3
|
-
import * as i2 from "@angular/material/
|
|
4
|
-
import * as i3 from "@angular/material/
|
|
5
|
-
import * as i4 from "@angular/material/
|
|
6
|
-
import * as i5 from "@angular/material/
|
|
3
|
+
import * as i2 from "@angular/material/dialog";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/material/menu";
|
|
6
|
+
import * as i5 from "@angular/material/progress-spinner";
|
|
7
|
+
import * as i6 from "@angular/material/tooltip";
|
|
7
8
|
export declare class MaterialModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatDialogModule, typeof i3.MatIconModule, typeof i4.MatMenuModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatDialogModule, typeof i3.MatIconModule, typeof i4.MatMenuModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
|
|
11
12
|
}
|
|
@@ -6,10 +6,18 @@ export interface LocationsPage {
|
|
|
6
6
|
locations: Location[];
|
|
7
7
|
totalElements: number;
|
|
8
8
|
}
|
|
9
|
+
export interface SiteBatchStatus {
|
|
10
|
+
id: number;
|
|
11
|
+
status: string;
|
|
12
|
+
progress: number;
|
|
13
|
+
migErrorsCount: string;
|
|
14
|
+
}
|
|
9
15
|
export declare class LocationsService {
|
|
10
16
|
private apiService;
|
|
11
17
|
constructor(apiService: APIService);
|
|
12
18
|
fetchLocations(customerId: number, page: number, size: number): Observable<LocationsPage>;
|
|
19
|
+
migrateSite(siteId: string): Observable<number>;
|
|
20
|
+
getMigrationBatchStatuses(customerId: number, batchIds: number[]): Observable<SiteBatchStatus[]>;
|
|
13
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocationsService, never>;
|
|
14
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocationsService>;
|
|
15
23
|
}
|
|
@@ -7,6 +7,7 @@ export interface LocationAddress {
|
|
|
7
7
|
country: string;
|
|
8
8
|
countryName: string;
|
|
9
9
|
}
|
|
10
|
+
export type LocationMigrationStatus = 'IN_PROGRESS' | 'COMPLETED' | 'FAILED';
|
|
10
11
|
export interface Location {
|
|
11
12
|
id: string;
|
|
12
13
|
name: string;
|
|
@@ -14,4 +15,5 @@ export interface Location {
|
|
|
14
15
|
address: LocationAddress;
|
|
15
16
|
provisioningType: string;
|
|
16
17
|
hasPendingActions: boolean;
|
|
18
|
+
migrationStatus?: LocationMigrationStatus;
|
|
17
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { Workspace, WorkspaceDetails } from '../../types/workspace';
|
|
3
|
+
import { Workspace, WorkspaceConnectionType, WorkspaceDetails } from '../../types/workspace';
|
|
4
4
|
import { WorkspaceDetailService } from '../../services/workspace-detail.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type WorkspaceDetailTab = 'overview' | 'calling';
|
|
@@ -8,6 +8,7 @@ export declare class WorkspaceDetailComponent implements OnInit {
|
|
|
8
8
|
private workspaceDetailService;
|
|
9
9
|
private location;
|
|
10
10
|
workspace: Workspace;
|
|
11
|
+
connectionType: WorkspaceConnectionType;
|
|
11
12
|
back: EventEmitter<void>;
|
|
12
13
|
activeTab: WorkspaceDetailTab;
|
|
13
14
|
details: WorkspaceDetails | null;
|
|
@@ -19,5 +20,5 @@ export declare class WorkspaceDetailComponent implements OnInit {
|
|
|
19
20
|
onBack(): void;
|
|
20
21
|
private updateUrl;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; }, { "back": "back"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; "connectionType": "connectionType"; }, { "back": "back"; }, never, never, false, never>;
|
|
23
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import { Workspace } from '../../types/workspace';
|
|
3
|
+
import { Workspace, WorkspaceConnectionType, WorkspaceOpenEvent } from '../../types/workspace';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface WorkspacesPageChange {
|
|
6
6
|
pageIndex: number;
|
|
@@ -13,7 +13,7 @@ export declare class WorkspacesTableComponent {
|
|
|
13
13
|
pageSize: number;
|
|
14
14
|
pageSizeOptions: number[];
|
|
15
15
|
pendingWorkspaceIds: Set<string>;
|
|
16
|
-
openWorkspace: EventEmitter<
|
|
16
|
+
openWorkspace: EventEmitter<WorkspaceOpenEvent>;
|
|
17
17
|
licenseWithHybrid: EventEmitter<Workspace>;
|
|
18
18
|
migrateToMT: EventEmitter<Workspace>;
|
|
19
19
|
enableWebexCalling: EventEmitter<Workspace>;
|
|
@@ -26,7 +26,8 @@ export declare class WorkspacesTableComponent {
|
|
|
26
26
|
toggleAll(): void;
|
|
27
27
|
toggleRow(workspaceId: string): void;
|
|
28
28
|
isSelected(workspaceId: string): boolean;
|
|
29
|
-
onOpenWorkspace(workspace: Workspace): void;
|
|
29
|
+
onOpenWorkspace(workspace: Workspace, connectionType?: WorkspaceConnectionType): void;
|
|
30
|
+
private resolveConnectionType;
|
|
30
31
|
onAddDevice(workspace: Workspace, event: Event): void;
|
|
31
32
|
onPage(event: PageEvent): void;
|
|
32
33
|
getDeviceIcon(model?: string): string;
|
|
@@ -133,6 +133,11 @@ export interface Workspace {
|
|
|
133
133
|
device: WorkspaceDeviceRecord;
|
|
134
134
|
isHybrid: boolean;
|
|
135
135
|
}
|
|
136
|
+
export type WorkspaceConnectionType = 'webex' | 'di';
|
|
137
|
+
export interface WorkspaceOpenEvent {
|
|
138
|
+
id: string;
|
|
139
|
+
connectionType: WorkspaceConnectionType;
|
|
140
|
+
}
|
|
136
141
|
export interface WorkspaceIssue {
|
|
137
142
|
id: string;
|
|
138
143
|
message: string;
|
|
@@ -5,7 +5,7 @@ import { APIService } from './services/api.service';
|
|
|
5
5
|
import { ApiWebexService } from './services/api-webex.service';
|
|
6
6
|
import { WorkspacesMigrationService } from './services/workspaces-migration.service';
|
|
7
7
|
import { WorkspacesService } from './services/workspaces.service';
|
|
8
|
-
import { Workspace } from './types/workspace';
|
|
8
|
+
import { Workspace, WorkspaceConnectionType, WorkspaceOpenEvent } from './types/workspace';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
type WorkspacesView = 'list' | 'detail';
|
|
11
11
|
type WorkspacesTab = 'workspaces' | 'insights' | 'integrations' | 'settings';
|
|
@@ -31,6 +31,7 @@ export declare class WorkspacesComponent implements OnInit, OnDestroy {
|
|
|
31
31
|
activeTab: WorkspacesTab;
|
|
32
32
|
view: WorkspacesView;
|
|
33
33
|
selectedWorkspace: Workspace | null;
|
|
34
|
+
selectedConnectionType: WorkspaceConnectionType;
|
|
34
35
|
workspaces: Workspace[];
|
|
35
36
|
isLoading: boolean;
|
|
36
37
|
pageIndex: number;
|
|
@@ -48,7 +49,7 @@ export declare class WorkspacesComponent implements OnInit, OnDestroy {
|
|
|
48
49
|
get locationOptions(): string[];
|
|
49
50
|
get filteredWorkspaces(): Workspace[];
|
|
50
51
|
selectTab(tab: WorkspacesTab): void;
|
|
51
|
-
onOpenWorkspace(id:
|
|
52
|
+
onOpenWorkspace({ id, connectionType }: WorkspaceOpenEvent): void;
|
|
52
53
|
onBackToList(): void;
|
|
53
54
|
onSearchChange(term: string): void;
|
|
54
55
|
onTypeFilterChange(type: string): void;
|