@tuki-io/tuki-widgets 0.0.219-dev.55 → 0.0.219-dev.57

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 (44) hide show
  1. package/esm2020/meetings/public-api.mjs +1 -1
  2. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +3 -3
  3. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +3 -3
  4. package/esm2020/meetings/src/material.module.mjs +1 -1
  5. package/esm2020/meetings/src/services/api.service.mjs +1 -1
  6. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +3 -3
  7. package/esm2020/user-manage/src/app.constants.mjs +2 -1
  8. package/esm2020/user-manage/src/classes/simplified-user.mjs +15 -2
  9. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
  10. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +9 -5
  11. package/esm2020/user-manage/src/material.module.mjs +14 -7
  12. package/esm2020/user-manage/src/services/site-settings.service.mjs +11 -4
  13. package/esm2020/user-manage/src/services/user.service.mjs +30 -1
  14. package/esm2020/user-manage/src/user-manage-widget.component.mjs +42 -26
  15. package/esm2020/user-manage/src/user-manage.module.mjs +5 -2
  16. package/esm2020/user-manage/src/user-summary/user-summary.component.mjs +30 -0
  17. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +3 -3
  18. package/esm2020/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.mjs +3 -3
  19. package/esm2020/workspaces/src/services/api-webex.service.mjs +1 -1
  20. package/esm2020/workspaces/src/utils/workspace-name.mjs +1 -1
  21. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +4 -4
  22. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  23. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
  24. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  25. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +153 -49
  26. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  27. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +4 -4
  28. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  29. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +4 -4
  30. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  31. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
  32. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  33. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +143 -43
  34. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  35. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +4 -4
  36. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  37. package/package.json +1 -1
  38. package/user-manage/src/app.constants.d.ts +1 -0
  39. package/user-manage/src/classes/simplified-user.d.ts +6 -0
  40. package/user-manage/src/material.module.d.ts +2 -1
  41. package/user-manage/src/services/user.service.d.ts +11 -0
  42. package/user-manage/src/user-manage-widget.component.d.ts +4 -0
  43. package/user-manage/src/user-manage.module.d.ts +9 -8
  44. package/user-manage/src/user-summary/user-summary.component.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.55",
3
+ "version": "0.0.219-dev.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -25,6 +25,7 @@ export declare const API: {
25
25
  LEAN_USER_LINES_CONVERSATION_START: string;
26
26
  LEAN_USER_SNR_CONVERSATION_START: string;
27
27
  UPDATE_LEAN_USER_FIELDS: string;
28
+ USER_LOCATIONS: string;
28
29
  };
29
30
  export declare const REGEX_PATTERN: {
30
31
  EMAIL: string;
@@ -19,6 +19,12 @@ export declare class SimplifiedUser {
19
19
  userProfile: string;
20
20
  enableMobileVoiceAccess: boolean;
21
21
  userLocale: string;
22
+ presenceGroup: string;
23
+ subscribeCss: string;
24
+ allowDeviceControlFromCti: boolean;
25
+ enableCrossClusterEm: boolean;
26
+ mlppPrecedencePattern?: string;
27
+ homeCluster: boolean;
22
28
  confirmDigestCredentials: any;
23
29
  primaryLineReference: {
24
30
  directoryNumber: string;
@@ -22,8 +22,9 @@ import * as i20 from "@angular/material/slide-toggle";
22
22
  import * as i21 from "@angular/material/table";
23
23
  import * as i22 from "@angular/material/paginator";
24
24
  import * as i23 from "@angular/material/menu";
25
+ import * as i24 from "@angular/material/divider";
25
26
  export declare class MaterialModule {
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i18.MatSelectModule, typeof i19.MatCheckboxModule, typeof i20.MatSlideToggleModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule], [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i19.MatCheckboxModule, typeof i18.MatSelectModule, typeof i20.MatSlideToggleModule, typeof i4.MatProgressSpinnerModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i18.MatSelectModule, typeof i19.MatCheckboxModule, typeof i20.MatSlideToggleModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule, typeof i24.MatDividerModule], [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i19.MatCheckboxModule, typeof i18.MatSelectModule, typeof i20.MatSlideToggleModule, typeof i4.MatProgressSpinnerModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule, typeof i24.MatDividerModule]>;
28
29
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
29
30
  }
@@ -19,6 +19,8 @@ export declare class UserService implements OnInit {
19
19
  _user: SimplifiedUser;
20
20
  get user(): SimplifiedUser;
21
21
  originUser: SimplifiedUser;
22
+ private originUserData;
23
+ private isLdap?;
22
24
  onUserLineSaved$: Subject<any>;
23
25
  get lineAssociation(): LineAssociation | LineAssociationInterface;
24
26
  get originLineAssociation(): LineAssociation | LineAssociationInterface;
@@ -41,6 +43,15 @@ export declare class UserService implements OnInit {
41
43
  checkDestinationNumber(siteId: string, directoryNumber: string, routePartitionName: string): any;
42
44
  associateLineToUserDevice(siteId: number, deviceName: string, body: any, pkid: any, css: any): any;
43
45
  hasUnsavedChanges(): boolean;
46
+ /**
47
+ * Makes the saved state the new baseline, so hasUnsavedChanges() is false again after a successful save.
48
+ */
49
+ commitSavedChanges(): void;
50
+ /**
51
+ * Reverts all unsaved changes. The user object and its form are updated in place (not replaced),
52
+ * so components holding references to them keep working.
53
+ */
54
+ discardChanges(): void;
44
55
  setSimplifiedUser(user: any, isLdap?: boolean): void;
45
56
  private handleSaveUserResponse;
46
57
  getPrimaryLineDevice(primaryLineReferenceDirectoryNumber: string): any;
@@ -12,6 +12,7 @@ export declare class UserManageWidgetComponent implements OnInit {
12
12
  private apiService;
13
13
  private dcpApiService;
14
14
  dataPending: boolean;
15
+ savePending: boolean;
15
16
  onSave: EventEmitter<string>;
16
17
  onChange: EventEmitter<string>;
17
18
  selectDevice: EventEmitter<any>;
@@ -23,6 +24,7 @@ export declare class UserManageWidgetComponent implements OnInit {
23
24
  userId: string;
24
25
  deviceName: string;
25
26
  isLdap: boolean;
27
+ authLevelOptions: string[];
26
28
  get form(): FormGroup;
27
29
  get user(): any;
28
30
  get userName(): string;
@@ -39,6 +41,8 @@ export declare class UserManageWidgetComponent implements OnInit {
39
41
  onExtensionChange(): void;
40
42
  onChangeField(token: string): void;
41
43
  saveChanges(): void;
44
+ cancelChanges(): void;
45
+ hasUnsavedChanges(): boolean;
42
46
  toggleEditMode(): void;
43
47
  isSavingDisabled(): boolean;
44
48
  changeField(token: string): void;
@@ -9,15 +9,16 @@ import * as i7 from "./user-calling/user-calling.component";
9
9
  import * as i8 from "./user-calling/user-calling-extension/user-calling-extension.component";
10
10
  import * as i9 from "./device-list/device-list.component";
11
11
  import * as i10 from "./device-list/device-row/device-row.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/platform-browser";
14
- import * as i13 from "@angular/platform-browser/animations";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "@angular/common/http";
17
- import * as i16 from "./material.module";
18
- import * as i17 from "@tuki-io/tuki-widgets/shared";
12
+ import * as i11 from "./user-summary/user-summary.component";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@angular/platform-browser";
15
+ import * as i14 from "@angular/platform-browser/animations";
16
+ import * as i15 from "@angular/forms";
17
+ import * as i16 from "@angular/common/http";
18
+ import * as i17 from "./material.module";
19
+ import * as i18 from "@tuki-io/tuki-widgets/shared";
19
20
  export declare class UserManageModule {
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<UserManageModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserManageModule, [typeof i1.AppLoaderComponent, typeof i2.UserInfoComponent, typeof i3.NotificationsComponent, typeof i4.PaginationComponent, typeof i5.LazyLoadingSelectComponent, typeof i6.UserManageWidgetComponent, typeof i7.UserCallingComponent, typeof i8.UserCallingExtensionComponent, typeof i9.DeviceListComponent, typeof i10.DeviceRowComponent], [typeof i11.CommonModule, typeof i12.BrowserModule, typeof i13.BrowserAnimationsModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.HttpClientModule, typeof i16.MaterialModule, typeof i17.UIModule], [typeof i6.UserManageWidgetComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserManageModule, [typeof i1.AppLoaderComponent, typeof i2.UserInfoComponent, typeof i3.NotificationsComponent, typeof i4.PaginationComponent, typeof i5.LazyLoadingSelectComponent, typeof i6.UserManageWidgetComponent, typeof i7.UserCallingComponent, typeof i8.UserCallingExtensionComponent, typeof i9.DeviceListComponent, typeof i10.DeviceRowComponent, typeof i11.UserSummaryComponent], [typeof i12.CommonModule, typeof i13.BrowserModule, typeof i14.BrowserAnimationsModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.HttpClientModule, typeof i17.MaterialModule, typeof i18.UIModule], [typeof i6.UserManageWidgetComponent]>;
22
23
  static ɵinj: i0.ɵɵInjectorDeclaration<UserManageModule>;
23
24
  }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class UserSummaryComponent {
3
+ user: any;
4
+ get userName(): string;
5
+ get customerId(): number;
6
+ get siteId(): number;
7
+ onLocationChange(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserSummaryComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserSummaryComponent, "app-user-summary", never, { "user": "user"; }, {}, never, never, false, never>;
10
+ }