@tuki-io/tuki-widgets 0.0.219-dev.8 → 0.0.219

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 (189) hide show
  1. package/di2mt/api/api.endpoints.d.ts +3 -0
  2. package/esm2020/di2mt/api/api.endpoints.mjs +4 -1
  3. package/esm2020/locations/public-api.mjs +8 -0
  4. package/esm2020/locations/src/app.constants.mjs +6 -0
  5. package/esm2020/locations/src/locations.component.mjs +215 -0
  6. package/esm2020/locations/src/locations.module.mjs +39 -0
  7. package/esm2020/locations/src/material.module.mjs +48 -0
  8. package/esm2020/locations/src/services/api.service.mjs +67 -0
  9. package/esm2020/locations/src/services/locations.service.mjs +51 -0
  10. package/esm2020/locations/src/types/location.mjs +2 -0
  11. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +14 -0
  12. package/esm2020/locations/tuki-io-tuki-widgets-locations.mjs +5 -0
  13. package/esm2020/meetings/public-api.mjs +8 -0
  14. package/esm2020/meetings/src/app.constants.mjs +9 -0
  15. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +107 -0
  16. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +98 -0
  17. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +110 -0
  18. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +65 -0
  19. package/esm2020/meetings/src/material.module.mjs +76 -0
  20. package/esm2020/meetings/src/meetings.component.mjs +65 -0
  21. package/esm2020/meetings/src/meetings.module.mjs +51 -0
  22. package/esm2020/meetings/src/services/api.service.mjs +67 -0
  23. package/esm2020/meetings/src/services/live-meetings.service.mjs +178 -0
  24. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +102 -0
  25. package/esm2020/meetings/src/types/live-meeting.mjs +2 -0
  26. package/esm2020/meetings/src/types/meeting-space.mjs +2 -0
  27. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +14 -0
  28. package/esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs +5 -0
  29. package/esm2020/shared/public-api.mjs +4 -0
  30. package/esm2020/shared/src/ui/material.module.mjs +188 -0
  31. package/esm2020/shared/src/ui/shared.module.mjs +36 -0
  32. package/esm2020/shared/src/ui/tk-page-section/tk-page-section.component.mjs +13 -0
  33. package/esm2020/shared/src/ui/tk-page-section-row/tk-page-section-row.component.mjs +13 -0
  34. package/esm2020/shared/src/ui/ui.module.mjs +37 -0
  35. package/esm2020/shared/tuki-io-tuki-widgets-shared.mjs +5 -0
  36. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +19 -2
  37. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +4 -0
  38. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +6 -3
  39. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.mjs +60 -13
  40. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +2 -1
  41. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +8 -6
  42. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.mjs +13 -9
  43. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  44. package/esm2020/user-device-manage/src/user-device-manage.module.mjs +1 -4
  45. package/esm2020/user-manage/src/app.constants.mjs +7 -1
  46. package/esm2020/user-manage/src/classes/simplified-user.mjs +5 -3
  47. package/esm2020/user-manage/src/device-list/device-list.component.mjs +7 -4
  48. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +6 -3
  49. package/esm2020/user-manage/src/material.module.mjs +14 -7
  50. package/esm2020/user-manage/src/services/dcp-api.service.mjs +79 -0
  51. package/esm2020/user-manage/src/services/user.service.mjs +65 -19
  52. package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +12 -7
  53. package/esm2020/user-manage/src/user-manage-widget.component.mjs +55 -20
  54. package/esm2020/user-manage/src/user-manage.module.mjs +10 -3
  55. package/esm2020/users-list/src/app.constants.mjs +2 -1
  56. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  57. package/esm2020/users-list/src/classes/user-list.mjs +2 -1
  58. package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +3 -3
  59. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +14 -3
  60. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +5 -3
  61. package/esm2020/users-list/src/users-list.component.mjs +98 -15
  62. package/esm2020/workspaces/public-api.mjs +8 -0
  63. package/esm2020/workspaces/src/app.constants.mjs +15 -0
  64. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +32 -0
  65. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +50 -0
  66. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +56 -0
  67. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +114 -0
  68. package/esm2020/workspaces/src/material.module.mjs +83 -0
  69. package/esm2020/workspaces/src/services/api-webex.service.mjs +14 -0
  70. package/esm2020/workspaces/src/services/api.service.mjs +67 -0
  71. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +54 -0
  72. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +59 -0
  73. package/esm2020/workspaces/src/services/workspaces.service.mjs +90 -0
  74. package/esm2020/workspaces/src/types/workspace.mjs +4 -0
  75. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +14 -0
  76. package/esm2020/workspaces/src/utils/device-icon.mjs +13 -0
  77. package/esm2020/workspaces/src/workspaces.component.mjs +295 -0
  78. package/esm2020/workspaces/src/workspaces.module.mjs +51 -0
  79. package/esm2020/workspaces/tuki-io-tuki-widgets-workspaces.mjs +5 -0
  80. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  81. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  82. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +439 -0
  83. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  84. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +894 -0
  85. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  86. package/fesm2015/tuki-io-tuki-widgets-shared.mjs +280 -0
  87. package/fesm2015/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  88. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +111 -32
  89. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  90. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +0 -13
  91. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  92. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +243 -56
  93. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  94. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +119 -20
  95. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  96. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +958 -0
  97. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  98. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  99. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  100. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +433 -0
  101. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  102. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +902 -0
  103. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  104. package/fesm2020/tuki-io-tuki-widgets-shared.mjs +280 -0
  105. package/fesm2020/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  106. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +104 -28
  107. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  108. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +0 -13
  109. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  110. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +239 -55
  111. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  112. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +118 -20
  113. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  114. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +958 -0
  115. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  116. package/locations/index.d.ts +5 -0
  117. package/locations/public-api.d.ts +2 -0
  118. package/locations/src/app.constants.d.ts +5 -0
  119. package/locations/src/locations.component.d.ts +68 -0
  120. package/locations/src/locations.module.d.ts +12 -0
  121. package/locations/src/material.module.d.ts +11 -0
  122. package/locations/src/services/api.service.d.ts +18 -0
  123. package/locations/src/services/locations.service.d.ts +15 -0
  124. package/locations/src/types/location.d.ts +17 -0
  125. package/locations/src/utils/app-loader/app-loader.d.ts +6 -0
  126. package/meetings/index.d.ts +5 -0
  127. package/meetings/public-api.d.ts +2 -0
  128. package/meetings/src/app.constants.d.ts +8 -0
  129. package/meetings/src/components/live-meetings/live-meeting/live-meeting.component.d.ts +34 -0
  130. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +43 -0
  131. package/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.d.ts +39 -0
  132. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +27 -0
  133. package/meetings/src/material.module.d.ts +15 -0
  134. package/meetings/src/meetings.component.d.ts +29 -0
  135. package/meetings/src/meetings.module.d.ts +16 -0
  136. package/meetings/src/services/api.service.d.ts +18 -0
  137. package/meetings/src/services/live-meetings.service.d.ts +9 -0
  138. package/meetings/src/services/meeting-spaces.service.d.ts +16 -0
  139. package/meetings/src/types/live-meeting.d.ts +71 -0
  140. package/meetings/src/types/meeting-space.d.ts +52 -0
  141. package/meetings/src/utils/app-loader/app-loader.d.ts +6 -0
  142. package/package.json +33 -1
  143. package/shared/index.d.ts +5 -0
  144. package/shared/public-api.d.ts +3 -0
  145. package/shared/src/ui/material.module.d.ts +28 -0
  146. package/shared/src/ui/shared.module.d.ts +10 -0
  147. package/{user-device-manage/src/shared/tk-page-section/page-section.component.d.ts → shared/src/ui/tk-page-section/tk-page-section.component.d.ts} +1 -1
  148. package/shared/src/ui/tk-page-section-row/tk-page-section-row.component.d.ts +6 -0
  149. package/shared/src/ui/ui.module.d.ts +11 -0
  150. package/user-creation/src/utils/device-default-prefix.d.ts +7 -2
  151. package/user-creation/src/utils/device-name-dynamic-tokens.d.ts +1 -0
  152. package/user-creation/src/utils/parse-device-name-rule.d.ts +1 -0
  153. package/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.d.ts +2 -0
  154. package/user-device-manage/src/classes/simplified-user.d.ts +1 -1
  155. package/user-device-manage/src/user-device-manage.module.d.ts +9 -10
  156. package/user-manage/src/app.constants.d.ts +6 -0
  157. package/user-manage/src/classes/simplified-user.d.ts +11 -1
  158. package/user-manage/src/device-list/device-list.component.d.ts +2 -0
  159. package/user-manage/src/material.module.d.ts +2 -1
  160. package/user-manage/src/services/dcp-api.service.d.ts +21 -0
  161. package/user-manage/src/services/user.service.d.ts +8 -1
  162. package/user-manage/src/user-calling/user-calling.component.d.ts +3 -2
  163. package/user-manage/src/user-manage-widget.component.d.ts +10 -2
  164. package/user-manage/src/user-manage.module.d.ts +2 -1
  165. package/users-list/src/app.constants.d.ts +1 -0
  166. package/users-list/src/classes/simlified-user.d.ts +1 -1
  167. package/users-list/src/classes/user-list.d.ts +4 -0
  168. package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +3 -1
  169. package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +2 -1
  170. package/users-list/src/users-list.component.d.ts +6 -1
  171. package/workspaces/index.d.ts +5 -0
  172. package/workspaces/public-api.d.ts +2 -0
  173. package/workspaces/src/app.constants.d.ts +14 -0
  174. package/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.d.ts +20 -0
  175. package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +23 -0
  176. package/workspaces/src/components/workspaces-filters/workspaces-filters.component.d.ts +20 -0
  177. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +39 -0
  178. package/workspaces/src/material.module.d.ts +16 -0
  179. package/workspaces/src/services/api-webex.service.d.ts +6 -0
  180. package/workspaces/src/services/api.service.d.ts +18 -0
  181. package/workspaces/src/services/workspace-detail.service.d.ts +8 -0
  182. package/workspaces/src/services/workspaces-migration.service.d.ts +18 -0
  183. package/workspaces/src/services/workspaces.service.d.ts +11 -0
  184. package/workspaces/src/types/workspace.d.ts +161 -0
  185. package/workspaces/src/utils/app-loader/app-loader.d.ts +6 -0
  186. package/workspaces/src/utils/device-icon.d.ts +1 -0
  187. package/workspaces/src/workspaces.component.d.ts +71 -0
  188. package/workspaces/src/workspaces.module.d.ts +16 -0
  189. package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +0 -13
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tuki-io-tuki-widgets-workspaces.mjs","sources":["../../../../projects/tuki/widgets/workspaces/src/material.module.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.html","../../../../projects/tuki/widgets/workspaces/src/services/api.service.ts","../../../../projects/tuki/widgets/workspaces/src/services/api-webex.service.ts","../../../../projects/tuki/widgets/workspaces/src/app.constants.ts","../../../../projects/tuki/widgets/workspaces/src/services/workspaces.service.ts","../../../../projects/tuki/widgets/workspaces/src/services/workspaces-migration.service.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspaces-filters/workspaces-filters.component.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspaces-filters/workspaces-filters.component.html","../../../../projects/tuki/widgets/workspaces/src/utils/device-icon.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspaces-table/workspaces-table.component.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspaces-table/workspaces-table.component.html","../../../../projects/tuki/widgets/workspaces/src/services/workspace-detail.service.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspace-detail/workspace-detail.component.ts","../../../../projects/tuki/widgets/workspaces/src/components/workspace-detail/workspace-detail.component.html","../../../../projects/tuki/widgets/workspaces/src/utils/app-loader/app-loader.ts","../../../../projects/tuki/widgets/workspaces/src/utils/app-loader/app-loader.component.html","../../../../projects/tuki/widgets/workspaces/src/workspaces.component.ts","../../../../projects/tuki/widgets/workspaces/src/workspaces.component.html","../../../../projects/tuki/widgets/workspaces/src/workspaces.module.ts","../../../../projects/tuki/widgets/workspaces/public-api.ts","../../../../projects/tuki/widgets/workspaces/tuki-io-tuki-widgets-workspaces.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatDialogModule } from '@angular/material/dialog';\n\n@NgModule({\n imports: [\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatProgressSpinnerModule,\n MatFormFieldModule,\n MatInputModule,\n MatMenuModule,\n MatPaginatorModule,\n MatTooltipModule,\n MatDialogModule,\n ],\n exports: [\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatProgressSpinnerModule,\n MatFormFieldModule,\n MatInputModule,\n MatMenuModule,\n MatPaginatorModule,\n MatTooltipModule,\n MatDialogModule,\n ]\n})\nexport class MaterialModule { }\n","import { Component, Inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\n\nexport interface WorkspaceConfirmDialogConfig {\n title: string;\n message: string;\n confirmButtonText: string;\n}\n\n@Component({\n selector: 'tk-workspace-confirm-dialog',\n templateUrl: './workspace-confirm-dialog.component.html',\n styleUrls: ['./workspace-confirm-dialog.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class WorkspaceConfirmDialogComponent implements OnInit {\n confirmButtonText = 'OK';\n message = '';\n title = '';\n\n constructor(\n public dialogRef: MatDialogRef<WorkspaceConfirmDialogComponent>,\n @Inject(MAT_DIALOG_DATA) public data: WorkspaceConfirmDialogConfig,\n ) { }\n\n ngOnInit(): void {\n this.confirmButtonText = this.data.confirmButtonText || '';\n this.message = this.data.message || '';\n this.title = this.data.title || '';\n }\n\n onClose(result: boolean): void {\n this.dialogRef.close(result);\n }\n}\n","<div id=\"tk-workspace-confirm-dialog\" class=\"tk-workspace-confirm-dialog\" aria-labelledby=\"tk-workspace-confirm-dialog-label\" role=\"dialog\">\n <h3 *ngIf=\"title\" class=\"tk-workspace-confirm-dialog__title\">{{ title }}</h3>\n <div mat-dialog-content *ngIf=\"message\" class=\"tk-workspace-confirm-dialog__content\">\n <div class=\"tk-workspace-confirm-dialog__message\" [innerHTML]=\"message\"></div>\n </div>\n <div mat-dialog-actions class=\"tk-workspace-confirm-dialog__actions\">\n <button type=\"button\" class=\"tk-workspace-confirm-dialog__button tk-workspace-confirm-dialog__button--cancel\" (click)=\"onClose(false)\">\n Cancel\n </button>\n <button type=\"button\" class=\"tk-workspace-confirm-dialog__button tk-workspace-confirm-dialog__button--confirm\" (click)=\"onClose(true)\">\n {{ confirmButtonText }}\n </button>\n </div>\n</div>\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class APIService {\n token!: string;\n apiUrl!: string;\n\n constructor(\n private httpClient: HttpClient\n ) { }\n\n fetch(url: string, params?: any, cache?: boolean): Observable<any> {\n const headers = this.getHeaders(cache);\n params = params || {};\n return this.httpClient.get(this.apiUrl + url, { params: this.prepareEncodedParams(params), headers });\n }\n\n post(url: string, body: any, params = {}): Observable<any> {\n body = body || null;\n const headers = this.getHeaders();\n return this.httpClient.post(this.apiUrl + url, body, { params: this.prepareEncodedParams(params), headers });\n }\n\n put(url: string, body: any = null, params = {}): Observable<any> {\n const headers = this.getHeaders();\n return this.httpClient.put(this.apiUrl + url, body, { headers, params: this.prepareEncodedParams(params) });\n }\n\n delete(url: string, params = {}) {\n const headers = this.getHeaders();\n return this.httpClient.delete(this.apiUrl + url, { headers, params: this.prepareEncodedParams(params) });\n }\n\n private prepareEncodedParams(params: any) {\n const result: any = {};\n\n if (!params) {\n return {};\n }\n for (const key of Object.keys(params)) {\n if (params[key] !== undefined && params[key] !== null && params[key] !== '') {\n const stringParam = params[key].toString();\n result[key] = stringParam.includes('+') ? encodeURIComponent(stringParam) : stringParam;\n }\n }\n return result;\n }\n\n private getHeaders(cache?: boolean): HttpHeaders {\n let headers = new HttpHeaders();\n if (cache) {\n headers = headers.append('_Cache', 'true ');\n }\n const token = this.token || this.getParameterByName('token');\n headers = headers.append('Authorization', 'Bearer ' + token);\n return headers;\n }\n\n private getParameterByName(name: any, url = window.location.href) {\n name = name.replace(/[\\[\\]]/g, '\\\\$&');\n var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n results = regex.exec(url);\n if (!results) return null;\n if (!results[2]) return '';\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n }\n}\n","import { Injectable } from '@angular/core';\nimport { APIService } from './api.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ApiWebexService extends APIService { }\n","export const API = {\n WORKSPACES: {\n GET_ALL: '/api/search/quicknonuserdevices',\n },\n MIGRATION: {\n MOVE: '/api/migration/webex/singlemigration/features/PERSON',\n MIGRATION_FORM: '/api/search/webex/customers/:customerId/migrationforms/:formId',\n MIGRATION_FORM_ENTITIES_MIGRATED: '/api/search/webex/customers/:customerId/migrationformentities/migrated',\n TRIGGER_FIRMWARE_MIGRATION: '/api/migration/:migrationType/firmwaremigration/customer/:customerId/migration/:migrationFormId',\n REMOVE_UCM_LICENSE: '/api/migration/:controlHubType/removeucmlicense/customer/:customerId/migrationform/:migrationFormId',\n WEBEX_REVERT: '/api/webex/provisioning/customers/:customerId/persons/:personId/revertmigration',\n },\n};\n\nexport const ON_PREM_ID = 2542;","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { API } from '../app.constants';\nimport { APIService } from './api.service';\nimport { Workspace, WorkspaceListItem, WorkspacesPage, WorkspacesResponse, WorkspaceStatus } from '../types/workspace';\n\nfunction parseResponse(response: any): any {\n return typeof response === 'string' ? JSON.parse(response) : response;\n}\n\nfunction toStatus(provisioningStatus: string | null): WorkspaceStatus {\n if (!provisioningStatus) {\n return 'unavailable';\n }\n return provisioningStatus.toLowerCase() === 'active' ? 'active' : 'inactive';\n}\n\nfunction toWorkspace(item: WorkspaceListItem, index: number): Workspace {\n const device = item.device;\n const firstDirectoryNumber = device.associatedDNs?.[0]?.directoryNumber ?? '';\n\n return {\n id: device.pkid || item.workspaceDevices?.[0]?.deviceId || device.name || `workspace-${index}`,\n displayName: device.newName || device.name || 'Unnamed device',\n typeLabel: device.userDeviceType || 'No type',\n capacity: null,\n location: item.site?.name || device.siteName || device.location || '',\n devices: (item.workspaceDevices || []).map(workspaceDevice => ({\n id: workspaceDevice.deviceId,\n kind: 'device' as const,\n label: workspaceDevice.model || workspaceDevice.mac,\n model: workspaceDevice.model,\n })),\n scheduling: 'Not set',\n callingLicense: firstDirectoryNumber,\n provisioningType: 'On-premises',\n status: toStatus(device.provisioningStatus),\n statusLabel: device.provisioningStatus || 'Status unavailable',\n device,\n isHybrid: false,\n };\n}\n\nfunction mergeDevices(a: Workspace['device'], b: Workspace['device']): Workspace['device'] {\n return {\n ...a,\n ...b,\n cucmId: b.cucmId ?? a.cucmId,\n webexUUID: b.webexUUID ?? a.webexUUID,\n };\n}\n\nfunction mergeWorkspacesByDeviceName(workspaces: Workspace[]): Workspace[] {\n const merged = new Map<string, Workspace>();\n\n for (const workspace of workspaces) {\n const key = workspace.device.name;\n const existing = merged.get(key);\n merged.set(key, existing ? {\n ...existing,\n ...workspace,\n device: mergeDevices(existing.device, workspace.device),\n isHybrid: true,\n } : workspace);\n }\n\n return Array.from(merged.values());\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class WorkspacesService {\n constructor(private apiService: APIService) { }\n\n fetchWorkspaces(\n customerId: string | number,\n size = 10,\n page = 0,\n ): Observable<WorkspacesPage> {\n const queryParams: Record<string, string> = {\n type: 'ORPHAN_DEVICE',\n 'device-name': 'SEP',\n customerid: customerId.toString(),\n size: size.toString(),\n page: page.toString(),\n };\n return this.apiService.fetch(API.WORKSPACES.GET_ALL, queryParams).pipe(\n map((response: any) => {\n const parsed = parseResponse(response) as WorkspacesResponse;\n return {\n workspaces: mergeWorkspacesByDeviceName((parsed?.pageData || []).map(toWorkspace)),\n total: parsed?.total ?? 0,\n };\n }),\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { API } from '../app.constants';\nimport { WorkspaceDeviceRecord } from '../types/workspace';\nimport { ApiWebexService } from './api-webex.service';\n\nexport type FirmwareDeviceMap = Record<number, Record<string, string[]>>;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class WorkspacesMigrationService {\n constructor(private apiWebexService: ApiWebexService) { }\n\n moveToMT(customerId: string | number, device: WorkspaceDeviceRecord): Observable<any> {\n return this.apiWebexService.post(API.MIGRATION.MOVE, this.getMoveBody(customerId, device));\n }\n\n getMigrationFormStatus(customerId: string | number, formId: number): Observable<any> {\n const url = API.MIGRATION.MIGRATION_FORM\n .replace(':customerId', String(customerId))\n .replace(':formId', String(formId));\n return this.apiWebexService.fetch(url);\n }\n\n getMigratedMigrationFormEntities(\n customerId: string | number,\n webexUUID: string,\n feature = 'PERSON',\n ): Observable<any> {\n const url = API.MIGRATION.MIGRATION_FORM_ENTITIES_MIGRATED.replace(':customerId', String(customerId));\n return this.apiWebexService.fetch(url, { webexUUID, feature });\n }\n\n triggerFirmwareUpgrade(\n customerId: string | number,\n migrationFormId: number,\n deviceMap: FirmwareDeviceMap,\n ): Observable<any> {\n const url = API.MIGRATION.TRIGGER_FIRMWARE_MIGRATION\n .replace(':migrationType', 'WEBEX')\n .replace(':customerId', String(customerId))\n .replace(':migrationFormId', String(migrationFormId));\n return this.apiWebexService.post(url, deviceMap);\n }\n\n removeUcmLicense(\n customerId: string | number,\n migrationFormId: number,\n controlHubType = 'WEBEX',\n ): Observable<any> {\n const url = API.MIGRATION.REMOVE_UCM_LICENSE\n .replace(':controlHubType', controlHubType)\n .replace(':customerId', String(customerId))\n .replace(':migrationFormId', String(migrationFormId));\n return this.apiWebexService.post(url, {});\n }\n\n revertMigration(customerId: string | number, personId: string): Observable<any> {\n const url = API.MIGRATION.WEBEX_REVERT\n .replace(':customerId', String(customerId))\n .replace(':personId', personId);\n return this.apiWebexService.post(url, {});\n }\n\n private getMoveBody(customerId: string | number, device: WorkspaceDeviceRecord): any {\n return {\n customerId,\n entities: {\n PERSON: [{ cucmId: device.cucmId, entityId: device.name }],\n },\n };\n }\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'tk-workspaces-filters',\n templateUrl: './workspaces-filters.component.html',\n styleUrls: ['./workspaces-filters.component.scss'],\n})\nexport class WorkspacesFiltersComponent {\n @Input() resultCount = 0;\n @Input() typeOptions: string[] = [];\n @Input() locationOptions: string[] = [];\n\n @Output() searchChange = new EventEmitter<string>();\n @Output() typeChange = new EventEmitter<string>();\n @Output() locationChange = new EventEmitter<string>();\n @Output() addWorkspace = new EventEmitter<void>();\n\n searchTerm = '';\n selectedType = '';\n selectedLocation = '';\n\n onSearchInputChange(event: Event): void {\n this.searchTerm = (event.target as HTMLInputElement).value;\n this.searchChange.emit(this.searchTerm);\n }\n\n onTypeChange(value: string): void {\n this.selectedType = value;\n this.typeChange.emit(value);\n }\n\n onLocationChange(value: string): void {\n this.selectedLocation = value;\n this.locationChange.emit(value);\n }\n\n onAddWorkspace(): void {\n this.addWorkspace.emit();\n }\n}\n","<div class=\"tk-workspaces-filters\">\n <div class=\"tk-workspaces-filters__search\">\n <input\n class=\"tk-workspaces-filters__search-input blue-input\"\n type=\"text\"\n placeholder=\"Search\"\n [value]=\"searchTerm\"\n (input)=\"onSearchInputChange($event)\"\n />\n <mat-icon class=\"tk-workspaces-filters__search-icon\">search</mat-icon>\n </div>\n\n <div class=\"tk-workspaces-filters__filters\">\n <span class=\"tk-workspaces-filters__filters-label\">Filters:</span>\n\n <div class=\"tk-workspaces-filters__select-wrap\">\n <select\n class=\"tk-workspaces-filters__select\"\n [ngModel]=\"selectedType\"\n (ngModelChange)=\"onTypeChange($event)\">\n <option value=\"\">General</option>\n <option *ngFor=\"let type of typeOptions\" [value]=\"type\">{{ type }}</option>\n </select>\n <mat-icon class=\"tk-workspaces-filters__select-icon\">expand_more</mat-icon>\n </div>\n\n <div class=\"tk-workspaces-filters__select-wrap\">\n <select\n class=\"tk-workspaces-filters__select\"\n [ngModel]=\"selectedLocation\"\n (ngModelChange)=\"onLocationChange($event)\">\n <option value=\"\">Location</option>\n <option *ngFor=\"let location of locationOptions\" [value]=\"location\">{{ location }}</option>\n </select>\n <mat-icon class=\"tk-workspaces-filters__select-icon\">expand_more</mat-icon>\n </div>\n </div>\n\n <span class=\"tk-workspaces-filters__count\">{{ resultCount }} workspace{{ resultCount === 1 ? '' : 's' }} in total</span>\n\n <button type=\"button\" class=\"tk-workspaces-filters__add-button\" [matMenuTriggerFor]=\"addMenu\">\n Add workspace\n <mat-icon class=\"tk-workspaces-filters__add-icon\">expand_more</mat-icon>\n </button>\n\n <mat-menu #addMenu=\"matMenu\">\n <button type=\"button\" mat-menu-item (click)=\"onAddWorkspace()\">Add workspace</button>\n <button type=\"button\" mat-menu-item disabled>Import workspaces</button>\n </mat-menu>\n</div>\n","const DEFAULT_DEVICE_ICON = 'assets/icons/cisco_8851.png';\n\nconst DEVICE_MODEL_ICONS: Record<string, string> = {\n 'cisco 8851': 'assets/icons/cisco_8851.png',\n 'cisco 8845': 'assets/icons/cisco_8845.png',\n 'cisco 9841': 'assets/icons/cisco_9841.png',\n};\n\nexport function getDeviceIcon(model?: string): string {\n if (!model) {\n return DEFAULT_DEVICE_ICON;\n }\n return DEVICE_MODEL_ICONS[model.trim().toLowerCase()] ?? DEFAULT_DEVICE_ICON;\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { Workspace } from '../../types/workspace';\nimport { getDeviceIcon as resolveDeviceIcon } from '../../utils/device-icon';\n\nexport interface WorkspacesPageChange {\n pageIndex: number;\n pageSize: number;\n}\n\n@Component({\n selector: 'tk-workspaces-table',\n templateUrl: './workspaces-table.component.html',\n styleUrls: ['./workspaces-table.component.scss'],\n})\nexport class WorkspacesTableComponent {\n @Input() workspaces: Workspace[] = [];\n @Input() total = 0;\n @Input() pageIndex = 0;\n @Input() pageSize = 10;\n @Input() pageSizeOptions: number[] = [10, 25, 50, 100];\n @Input() pendingWorkspaceIds: Set<string> = new Set();\n\n @Output() openWorkspace = new EventEmitter<string>();\n @Output() licenseWithHybrid = new EventEmitter<Workspace>();\n @Output() migrateToMT = new EventEmitter<Workspace>();\n @Output() enableWebexCalling = new EventEmitter<Workspace>();\n @Output() migrateToUCM = new EventEmitter<Workspace>();\n @Output() addDevice = new EventEmitter<string>();\n @Output() pageChange = new EventEmitter<WorkspacesPageChange>();\n\n selectedIds = new Set<string>();\n\n get allSelected(): boolean {\n return this.workspaces.length > 0 && this.selectedIds.size === this.workspaces.length;\n }\n\n get someSelected(): boolean {\n return this.selectedIds.size > 0 && !this.allSelected;\n }\n\n toggleAll(): void {\n this.selectedIds = this.allSelected ? new Set() : new Set(this.workspaces.map(workspace => workspace.id));\n }\n\n toggleRow(workspaceId: string): void {\n const nextSelection = new Set(this.selectedIds);\n if (nextSelection.has(workspaceId)) {\n nextSelection.delete(workspaceId);\n } else {\n nextSelection.add(workspaceId);\n }\n this.selectedIds = nextSelection;\n }\n\n isSelected(workspaceId: string): boolean {\n return this.selectedIds.has(workspaceId);\n }\n\n onOpenWorkspace(workspace: Workspace): void {\n this.openWorkspace.emit(workspace.id);\n }\n\n onAddDevice(workspace: Workspace, event: Event): void {\n event.stopPropagation();\n this.addDevice.emit(workspace.id);\n }\n\n onPage(event: PageEvent): void {\n this.selectedIds = new Set();\n this.pageChange.emit({ pageIndex: event.pageIndex, pageSize: event.pageSize });\n }\n\n getDeviceIcon(model?: string): string {\n return resolveDeviceIcon(model);\n }\n\n isPending(workspaceId: string): boolean {\n return this.pendingWorkspaceIds.has(workspaceId);\n }\n\n isMoveToMTDisabled(workspace: Workspace): boolean {\n if (workspace.status !== 'active') {\n return true;\n }\n return !workspace.isHybrid && !!workspace.device.webexUUID;\n }\n\n isEnableWebexCallingDisabled(workspace: Workspace): boolean {\n if (workspace.status !== 'inactive') {\n return true;\n }\n return !workspace.isHybrid && !workspace.device.webexUUID;\n }\n\n isMigrateToUCMDisabled(workspace: Workspace): boolean {\n return !workspace.device.webexUUID || workspace.status !== 'active';\n }\n}\n","<div class=\"tk-workspaces-table__bulk-bar\">Select one or more workspaces for bulk actions</div>\n\n<div class=\"tk-workspaces-table__wrapper\">\n <table class=\"tk-workspaces-table__table\">\n <thead>\n <tr>\n <th class=\"tk-workspaces-table__checkbox-cell\">\n <input type=\"checkbox\" [checked]=\"allSelected\" [indeterminate]=\"someSelected\" (change)=\"toggleAll()\" />\n </th>\n <th>Name</th>\n <th>Devices</th>\n <th>Scheduling</th>\n <th>Calling</th>\n <th>Provisioning Type</th>\n <th>Status</th>\n <th class=\"tk-workspaces-table__settings-cell\">\n <mat-icon class=\"tk-workspaces-table__settings-icon\">settings</mat-icon>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let workspace of workspaces\"\n [class.tk-workspaces-table__row--selected]=\"isSelected(workspace.id)\">\n <td class=\"tk-workspaces-table__checkbox-cell\">\n <input type=\"checkbox\" [checked]=\"isSelected(workspace.id)\" (change)=\"toggleRow(workspace.id)\" />\n </td>\n <td class=\"tk-workspaces-table__name-cell\" (click)=\"onOpenWorkspace(workspace)\">\n <div class=\"tk-workspaces-table__name-wrapper\">\n <span class=\"tk-workspaces-table__name-icon\">\n <img src=\"assets/icons/device-in-room-regular.svg\" alt=\"\" />\n </span>\n <div class=\"tk-workspaces-table__name-info\">\n <a href=\"javascript:void(0)\" class=\"tk-workspaces-table__name-link\">{{ workspace.displayName }}</a>\n <div class=\"tk-workspaces-table__name-meta\">\n <span class=\"tk-workspaces-table__name-type\">{{ workspace.typeLabel }}</span>\n <span class=\"tk-workspaces-table__meta-sep\">&middot;</span>\n <img class=\"tk-workspaces-table__meta-icon\" src=\"assets/icons/people-regular.svg\" alt=\"\" />\n <span class=\"tk-workspaces-table__name-capacity\">{{ workspace.capacity ?? 'No capacity' }}</span>\n <span class=\"tk-workspaces-table__meta-sep\">&middot;</span>\n <!-- <mat-icon class=\"tk-workspaces-table__meta-icon\">location_on</mat-icon> -->\n <img class=\"tk-workspaces-table__meta-icon\" src=\"assets/icons/location-regular.svg\" alt=\"\" />\n <a\n *ngIf=\"workspace.location; else noLocation\"\n href=\"javascript:void(0)\"\n class=\"tk-workspaces-table__location-link\">{{ workspace.location }}</a>\n <ng-template #noLocation>\n <span class=\"tk-workspaces-table__location-empty\">No location</span>\n </ng-template>\n </div>\n </div>\n </div>\n </td>\n <td>\n <div class=\"tk-workspaces-table__devices\">\n <ng-container *ngIf=\"workspace.devices.length; else noDevices\">\n <span *ngFor=\"let device of workspace.devices\" class=\"tk-workspaces-table__device-card\" [title]=\"device.label\">\n <img\n class=\"tk-workspaces-table__device-icon\"\n [src]=\"getDeviceIcon(device.model)\"\n [alt]=\"device.label\" />\n </span>\n </ng-container>\n <!-- <ng-container *ngFor=\"let device of workspace.devices\">\n <span *ngIf=\"device && device.model else noDevice\" class=\"tk-workspaces-table__device-card\" [title]=\"device.label\">\n <img\n class=\"tk-workspaces-table__device-icon\"\n [src]=\"getDeviceIcon(device.model)\"\n [alt]=\"device.label\" />\n </span>\n </ng-container> -->\n <ng-template #noDevices>\n <button\n type=\"button\"\n class=\"tk-workspaces-table__device-add\"\n (click)=\"onAddDevice(workspace, $event)\">\n <span class=\"tk-workspaces-table__device-add-label\">\n <img\n class=\"tk-workspaces-table__device-add-icon\"\n src=\"assets/icons/multipled-devices-regular.svg\"\n alt=\"\" />\n Add device\n </span>\n </button>\n </ng-template>\n </div>\n </td>\n <td>{{ workspace.scheduling }}</td>\n <td class=\"tk-workspaces-table__calling-cell\">\n <span class=\"tk-workspaces-table__calling-content\">\n <img class=\"tk-workspaces-table__calling-icon\" src=\"assets/icons/location-regular.svg\" alt=\"\" />\n <span class=\"tk-workspaces-table__calling-text\" title=\"Cisco Webex Calling Professional Workspace\">Cisco Webex Calling Professional Workspace</span>\n </span>\n </td>\n <td>\n <div *ngIf=\"workspace.isHybrid\" class=\"tk-workspaces-table__provisioning-icons\">\n <span class=\"icon-wrapper\"\n ><img\n src=\"assets/icons/webex.svg\"\n [matTooltip]=\"'Webex Calling'\"\n matTooltipPosition=\"right\"\n width=\"20\"\n alt=\"\"\n /></span>\n <span class=\"icon-wrapper\"\n ><img\n src=\"assets/icons/di_cloud_24.svg\"\n [matTooltip]=\"'Webex Calling DI'\"\n matTooltipPosition=\"right\"\n width=\"20\"\n alt=\"\"\n /></span>\n </div>\n <ng-container *ngIf=\"!workspace.isHybrid\">\n <span *ngIf=\"workspace.device.cucmId != null\" class=\"icon-wrapper\"\n ><img\n src=\"assets/icons/di_cloud_24.svg\"\n [matTooltip]=\"'Webex Calling DI'\"\n matTooltipPosition=\"right\"\n width=\"20\"\n alt=\"\"\n /></span>\n <span *ngIf=\"workspace.device.webexUUID != null\" class=\"icon-wrapper\"\n ><img\n src=\"assets/icons/webex.svg\"\n [matTooltip]=\"'Webex Calling'\"\n matTooltipPosition=\"right\"\n width=\"20\"\n alt=\"\"\n /></span>\n </ng-container>\n </td>\n <td>\n <span class=\"tk-workspaces-table__status\">\n <span\n class=\"tk-workspaces-table__status-dot\"\n [class.tk-workspaces-table__status-dot--hybrid]=\"workspace.isHybrid\"\n [class.tk-workspaces-table__status-dot--active]=\"!workspace.isHybrid\"></span>\n {{ workspace.isHybrid ? 'Hybrid' : 'Active' }}\n </span>\n </td>\n <td class=\"tk-workspaces-table__actions-cell\">\n <mat-progress-spinner\n *ngIf=\"isPending(workspace.id)\"\n class=\"tk-workspaces-table__actions-spinner\"\n [diameter]=\"20\"\n strokeWidth=\"2\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n <button\n *ngIf=\"!isPending(workspace.id)\"\n type=\"button\"\n class=\"tk-workspaces-table__actions-button\"\n [matMenuTriggerFor]=\"rowMenu\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #rowMenu=\"matMenu\">\n <button\n type=\"button\"\n mat-menu-item\n [disabled]=\"isMoveToMTDisabled(workspace)\"\n (click)=\"licenseWithHybrid.emit(workspace)\">\n License with Hybrid\n </button>\n <button\n type=\"button\"\n mat-menu-item\n [disabled]=\"isMoveToMTDisabled(workspace)\"\n (click)=\"migrateToMT.emit(workspace)\">\n Migrate User to MT\n </button>\n <button\n type=\"button\"\n mat-menu-item\n [disabled]=\"isEnableWebexCallingDisabled(workspace)\"\n (click)=\"enableWebexCalling.emit(workspace)\">\n Enable Webex Calling\n </button>\n <button\n type=\"button\"\n mat-menu-item\n [disabled]=\"isMigrateToUCMDisabled(workspace)\"\n (click)=\"migrateToUCM.emit(workspace)\">\n Migrate User to UCM\n </button>\n </mat-menu>\n </td>\n </tr>\n <tr *ngIf=\"!workspaces.length\">\n <td [attr.colspan]=\"8\" class=\"tk-workspaces-table__empty\">No workspaces to display.</td>\n </tr>\n </tbody>\n </table>\n</div>\n\n<mat-paginator\n class=\"tk-workspaces-table__paginator\"\n [length]=\"total\"\n [pageIndex]=\"pageIndex\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"onPage($event)\">\n</mat-paginator>\n","import { Injectable } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport { Workspace, WorkspaceDetails } from '../types/workspace';\n\n// No dedicated detail API exists yet, so the Overview/Calling tabs are\n// populated with mock data derived from the already-loaded workspace record.\n@Injectable({\n providedIn: 'root'\n})\nexport class WorkspaceDetailService {\n getByWorkspace(workspace: Workspace): Observable<WorkspaceDetails> {\n const device = workspace.device;\n const directoryNumber = device.associatedDNs?.[0]?.directoryNumber ?? '';\n const sipAddress = `${(device.name || workspace.displayName || 'workspace').toLowerCase()}@tukidev.rooms.webex.com`;\n\n const issues = [\n !workspace.typeLabel || workspace.typeLabel === 'No type' ? {\n id: 'type',\n message: 'Workspace type not set',\n timestamp: 'Just now',\n actionLabel: 'Assign type',\n } : null,\n workspace.capacity == null ? {\n id: 'capacity',\n message: 'Workspace capacity not set',\n timestamp: 'Just now',\n actionLabel: 'Set capacity',\n } : null,\n ].filter((issue): issue is NonNullable<typeof issue> => issue !== null);\n\n const details: WorkspaceDetails = {\n issues,\n location: {\n country: workspace.location || 'Not set',\n address: device.location || 'Address not available',\n },\n calling: {\n license: workspace.callingLicense || 'Cisco Webex Calling Professional Workspace',\n sipAddress,\n directoryNumber: directoryNumber || 'Not assigned',\n routePartition: device.associatedDNs?.[0]?.routePartitionName || 'Not set',\n callingSearchSpace: device.callingSearchSpaceName || 'Not set',\n securityProfile: device.securityProfile || 'Not set',\n },\n schedulingConfigured: false,\n plannedMaintenanceEnabled: false,\n notes: null,\n };\n\n return of(details);\n }\n}\n","import { Location } from '@angular/common';\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Workspace, WorkspaceDetails } from '../../types/workspace';\nimport { WorkspaceDetailService } from '../../services/workspace-detail.service';\nimport { getDeviceIcon } from '../../utils/device-icon';\n\nexport type WorkspaceDetailTab = 'overview' | 'calling';\n\n@Component({\n selector: 'tk-workspace-detail',\n templateUrl: './workspace-detail.component.html',\n styleUrls: ['./workspace-detail.component.scss'],\n})\nexport class WorkspaceDetailComponent implements OnInit {\n @Input() workspace!: Workspace;\n\n @Output() back = new EventEmitter<void>();\n\n activeTab: WorkspaceDetailTab = 'overview';\n details: WorkspaceDetails | null = null;\n\n constructor(\n private workspaceDetailService: WorkspaceDetailService,\n private location: Location,\n ) { }\n\n ngOnInit(): void {\n this.workspaceDetailService.getByWorkspace(this.workspace).subscribe(details => {\n this.details = details;\n });\n this.updateUrl();\n }\n\n get deviceName(): string {\n return this.workspace.device?.name || this.workspace.id;\n }\n\n resolveIcon(model?: string): string {\n return getDeviceIcon(model);\n }\n\n selectTab(tab: WorkspaceDetailTab): void {\n this.activeTab = tab;\n this.updateUrl();\n }\n\n onBack(): void {\n this.location.replaceState('/workspaces');\n this.back.emit();\n }\n\n private updateUrl(): void {\n this.location.replaceState(`/workspaces/${this.deviceName}/${this.activeTab}`);\n }\n}\n","<button type=\"button\" class=\"tk-workspace-detail__breadcrumb\" (click)=\"onBack()\">\n <mat-icon>chevron_left</mat-icon>\n Workspaces\n</button>\n\n<div class=\"tk-workspace-detail__header\">\n <span class=\"tk-workspace-detail__icon\">\n <img src=\"assets/icons/device-in-room-regular.svg\" alt=\"\" />\n </span>\n <div class=\"tk-workspace-detail__title-block\">\n <h1 class=\"tk-workspace-detail__name\">{{ workspace.displayName }}</h1>\n <div class=\"tk-workspace-detail__meta\">\n <span class=\"tk-workspace-detail__status\">\n <span class=\"tk-workspace-detail__status-dot\"></span>\n Live status unavailable\n </span>\n <span class=\"tk-workspace-detail__meta-sep\">&middot;</span>\n <span>Type: {{ workspace.typeLabel === 'No type' ? 'Not set' : workspace.typeLabel }}</span>\n <span class=\"tk-workspace-detail__meta-sep\">&middot;</span>\n <img class=\"tk-workspace-detail__meta-icon\" src=\"assets/icons/people-regular.svg\" alt=\"\" />\n <span>Capacity: {{ workspace.capacity ?? 'Not set' }}</span>\n <span class=\"tk-workspace-detail__meta-sep\">&middot;</span>\n <span class=\"tk-workspace-detail__meta-muted\">Size not set</span>\n </div>\n </div>\n <button type=\"button\" class=\"tk-workspace-detail__actions-button\" [matMenuTriggerFor]=\"actionsMenu\">\n Actions\n <mat-icon>expand_more</mat-icon>\n </button>\n <mat-menu #actionsMenu=\"matMenu\">\n <button type=\"button\" mat-menu-item disabled>More actions coming soon</button>\n </mat-menu>\n</div>\n\n<nav class=\"tk-workspace-detail__tabs\">\n <button\n type=\"button\"\n class=\"tk-workspace-detail__tab\"\n [class.tk-workspace-detail__tab--active]=\"activeTab === 'overview'\"\n (click)=\"selectTab('overview')\">\n Overview\n </button>\n <button\n type=\"button\"\n class=\"tk-workspace-detail__tab\"\n [class.tk-workspace-detail__tab--active]=\"activeTab === 'calling'\"\n (click)=\"selectTab('calling')\">\n Calling\n </button>\n</nav>\n\n<ng-container *ngIf=\"details\">\n <div class=\"tk-workspace-detail__grid\" *ngIf=\"activeTab === 'overview'\">\n <div class=\"tk-workspace-detail__col\">\n <section class=\"tk-workspace-detail__card\" *ngIf=\"details.issues.length\">\n <h2 class=\"tk-workspace-detail__card-title\">Issues &amp; Information</h2>\n <div class=\"tk-workspace-detail__issue\" *ngFor=\"let issue of details.issues\">\n <div class=\"tk-workspace-detail__issue-info\">\n <mat-icon class=\"tk-workspace-detail__issue-icon\">info</mat-icon>\n <div>\n <div class=\"tk-workspace-detail__issue-message\">{{ issue.message }}</div>\n <div class=\"tk-workspace-detail__issue-timestamp\">{{ issue.timestamp }}</div>\n </div>\n </div>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">\n {{ issue.actionLabel }}\n <mat-icon>expand_more</mat-icon>\n </button>\n </div>\n </section>\n\n <section class=\"tk-workspace-detail__card\">\n <div class=\"tk-workspace-detail__card-header\">\n <h2 class=\"tk-workspace-detail__card-title\">Devices</h2>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">Add device</button>\n </div>\n <div class=\"tk-workspace-detail__devices\" *ngIf=\"workspace.devices.length; else noDevices\">\n <div class=\"tk-workspace-detail__device\" *ngFor=\"let device of workspace.devices\">\n <img class=\"tk-workspace-detail__device-icon\" [src]=\"resolveIcon(device.model)\" [alt]=\"device.label\" />\n <div class=\"tk-workspace-detail__device-info\">\n <a href=\"javascript:void(0)\" class=\"tk-workspace-detail__device-link\">{{ device.label }}</a>\n <div class=\"tk-workspace-detail__device-status\">\n <span class=\"tk-workspace-detail__status-dot\"></span>\n Status unavailable\n <mat-icon class=\"tk-workspace-detail__info-icon\">info_outline</mat-icon>\n </div>\n </div>\n </div>\n </div>\n <ng-template #noDevices>\n <div class=\"tk-workspace-detail__empty\">No devices assigned.</div>\n </ng-template>\n </section>\n\n <section class=\"tk-workspace-detail__card\">\n <div class=\"tk-workspace-detail__card-header\">\n <h2 class=\"tk-workspace-detail__card-title\">Calling</h2>\n <mat-icon class=\"tk-workspace-detail__settings-icon\">settings</mat-icon>\n </div>\n <div class=\"tk-workspace-detail__calling-license\">\n <mat-icon>call</mat-icon>\n {{ details.calling.license }}\n </div>\n <hr class=\"tk-workspace-detail__divider\" />\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Cisco Webex SIP Address</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.sipAddress }}</span>\n </div>\n </section>\n\n <section class=\"tk-workspace-detail__card tk-workspace-detail__card--centered\" *ngIf=\"!details.schedulingConfigured\">\n <mat-icon class=\"tk-workspace-detail__card-icon\">event</mat-icon>\n <h3 class=\"tk-workspace-detail__card-heading\">Choose scheduling</h3>\n <p class=\"tk-workspace-detail__card-text\">Choose a calendar service or setup hot-desking for this workspace.</p>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">Choose scheduling</button>\n </section>\n\n <section class=\"tk-workspace-detail__card tk-workspace-detail__card--centered\">\n <mat-icon class=\"tk-workspace-detail__card-icon\">info</mat-icon>\n <h3 class=\"tk-workspace-detail__card-heading\">Device hosted meetings unavailable</h3>\n <p class=\"tk-workspace-detail__card-text\">Service not supported by Cisco IP phones</p>\n </section>\n\n <section class=\"tk-workspace-detail__card\">\n <h2 class=\"tk-workspace-detail__card-title\">\n Planned Maintenance\n <mat-icon class=\"tk-workspace-detail__info-icon\">info_outline</mat-icon>\n </h2>\n <div class=\"tk-workspace-detail__row\">\n <mat-icon>build</mat-icon>\n <span>{{ details.plannedMaintenanceEnabled ? 'On' : 'Off' }}</span>\n </div>\n <hr class=\"tk-workspace-detail__divider\" />\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--with-action\">\n <div class=\"tk-workspace-detail__row\">\n <mat-icon>event</mat-icon>\n <div>\n <div>Schedule</div>\n <div class=\"tk-workspace-detail__row-hint\">No schedule set</div>\n </div>\n </div>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">Edit schedule</button>\n </div>\n </section>\n\n <section class=\"tk-workspace-detail__card tk-workspace-detail__card--centered\" *ngIf=\"!details.notes\">\n <mat-icon class=\"tk-workspace-detail__card-icon\">description</mat-icon>\n <h3 class=\"tk-workspace-detail__card-heading\">Add notes</h3>\n <p class=\"tk-workspace-detail__card-text\">Write a note about this workspace.</p>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">Add notes</button>\n </section>\n </div>\n\n <div class=\"tk-workspace-detail__col\">\n <section class=\"tk-workspace-detail__card\">\n <div class=\"tk-workspace-detail__card-header\">\n <h2 class=\"tk-workspace-detail__card-title\">Location</h2>\n <mat-icon class=\"tk-workspace-detail__settings-icon\">settings</mat-icon>\n </div>\n <div class=\"tk-workspace-detail__location\">\n <mat-icon>location_on</mat-icon>\n <div>\n <a href=\"javascript:void(0)\" class=\"tk-workspace-detail__location-link\">{{ details.location.country }}</a>\n <div class=\"tk-workspace-detail__location-address\">{{ details.location.address }}</div>\n </div>\n </div>\n <hr class=\"tk-workspace-detail__divider\" />\n <div class=\"tk-workspace-detail__row\">\n <mat-icon>explore</mat-icon>\n <span>Indoor navigation</span>\n <mat-icon class=\"tk-workspace-detail__info-icon\">info_outline</mat-icon>\n </div>\n <button type=\"button\" class=\"tk-workspace-detail__pill-button\">Add URL</button>\n <div class=\"tk-workspace-detail__map\">\n <mat-icon class=\"tk-workspace-detail__map-pin\">location_on</mat-icon>\n </div>\n </section>\n </div>\n </div>\n\n <div class=\"tk-workspace-detail__grid\" *ngIf=\"activeTab === 'calling'\">\n <div class=\"tk-workspace-detail__col\">\n <section class=\"tk-workspace-detail__card\">\n <h2 class=\"tk-workspace-detail__card-title\">Calling</h2>\n <div class=\"tk-workspace-detail__calling-license\">\n <mat-icon>call</mat-icon>\n {{ details.calling.license }}\n </div>\n <hr class=\"tk-workspace-detail__divider\" />\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Cisco Webex SIP Address</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.sipAddress }}</span>\n </div>\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Directory Number</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.directoryNumber }}</span>\n </div>\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Route Partition</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.routePartition }}</span>\n </div>\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Calling Search Space</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.callingSearchSpace }}</span>\n </div>\n <div class=\"tk-workspace-detail__row tk-workspace-detail__row--kv\">\n <span class=\"tk-workspace-detail__row-label\">Device Security Profile</span>\n <span class=\"tk-workspace-detail__row-value\">{{ details.calling.securityProfile }}</span>\n </div>\n </section>\n </div>\n </div>\n</ng-container>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'app-loader',\n templateUrl: './app-loader.component.html',\n styleUrls: ['./app-loader.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class AppLoaderComponent {\n constructor() {\n }\n\n}\n","<div class=\"overlay\">\n <mat-progress-spinner\n class=\"page-spinner\"\n mode=\"indeterminate\"\n [diameter]=\"70\"\n strokeWidth=\"3\"></mat-progress-spinner>\n</div>\n","import { Location } from '@angular/common';\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { map, Subscription, switchMap, takeWhile, timer } from 'rxjs';\nimport { APIService } from './services/api.service';\nimport { ApiWebexService } from './services/api-webex.service';\nimport { FirmwareDeviceMap, WorkspacesMigrationService } from './services/workspaces-migration.service';\nimport { WorkspacesService } from './services/workspaces.service';\nimport { Workspace, WorkspaceDeviceRecord } from './types/workspace';\nimport { WorkspaceConfirmDialogComponent } from './components/workspace-confirm-dialog/workspace-confirm-dialog.component';\n\ntype WorkspacesView = 'list' | 'detail';\n\ntype WorkspacesTab = 'workspaces' | 'insights' | 'integrations' | 'settings';\n\ninterface WorkspacesTabDefinition {\n id: WorkspacesTab;\n label: string;\n icon: string;\n}\n\n@Component({\n selector: 'tk-workspaces',\n templateUrl: './workspaces.component.html',\n styleUrls: ['./workspaces.component.scss'],\n})\nexport class WorkspacesComponent implements OnInit, OnDestroy {\n @Input() host!: string;\n @Input() token!: string;\n @Input() customerId!: string;\n\n @Output() addWorkspace = new EventEmitter<void>();\n @Output() openWorkspace = new EventEmitter<string>();\n @Output() addDevice = new EventEmitter<string>();\n\n readonly tabs: WorkspacesTabDefinition[] = [\n { id: 'workspaces', label: 'Workspaces', icon: 'assets/icons/device-in-room-regular.svg' },\n { id: 'insights', label: 'Insights', icon: 'assets/icons/analysis-regular.svg' },\n { id: 'integrations', label: 'Integrations', icon: 'assets/icons/integrations-regular.svg' },\n { id: 'settings', label: 'Settings', icon: 'assets/icons/tools-regular.svg' },\n ];\n\n activeTab: WorkspacesTab = 'workspaces';\n\n view: WorkspacesView = 'list';\n selectedWorkspace: Workspace | null = null;\n\n workspaces: Workspace[] = [];\n isLoading = false;\n\n pageIndex = 0;\n pageSize = 10;\n total = 0;\n\n searchTerm = '';\n typeFilter = '';\n locationFilter = '';\n\n pendingWorkspaceIds = new Set<string>();\n\n private readonly subscriptions: Subscription[] = [];\n\n constructor(\n private apiService: APIService,\n private apiWebexService: ApiWebexService,\n private workspacesService: WorkspacesService,\n private migrationService: WorkspacesMigrationService,\n private dialog: MatDialog,\n private location: Location,\n ) { }\n\n ngOnInit(): void {\n this.apiService.token = this.token;\n this.apiService.apiUrl = this.host + '/dcp';\n this.apiWebexService.token = this.token;\n this.apiWebexService.apiUrl = this.host + '/webex';\n this.fetchWorkspaces();\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach(subscription => subscription.unsubscribe());\n }\n\n get typeOptions(): string[] {\n return [...new Set(this.workspaces.map(workspace => workspace.typeLabel).filter(Boolean))];\n }\n\n get locationOptions(): string[] {\n return [...new Set(this.workspaces.map(workspace => workspace.location).filter(Boolean))];\n }\n\n get filteredWorkspaces(): Workspace[] {\n const term = this.searchTerm.trim().toLowerCase();\n return this.workspaces.filter(workspace =>\n (!term || workspace.displayName.toLowerCase().includes(term) || workspace.location.toLowerCase().includes(term)) &&\n (!this.typeFilter || workspace.typeLabel === this.typeFilter) &&\n (!this.locationFilter || workspace.location === this.locationFilter)\n );\n }\n\n selectTab(tab: WorkspacesTab): void {\n this.activeTab = tab;\n }\n\n onOpenWorkspace(id: string): void {\n const workspace = this.workspaces.find(item => item.id === id) ?? null;\n this.openWorkspace.emit(id);\n\n if (!workspace) {\n return;\n }\n\n this.selectedWorkspace = workspace;\n this.view = 'detail';\n }\n\n onBackToList(): void {\n this.view = 'list';\n this.selectedWorkspace = null;\n this.location.replaceState('/workspaces');\n }\n\n onSearchChange(term: string): void {\n this.searchTerm = term;\n }\n\n onTypeFilterChange(type: string): void {\n this.typeFilter = type;\n }\n\n onLocationFilterChange(location: string): void {\n this.locationFilter = location;\n }\n\n onPageChange({ pageIndex, pageSize }: { pageIndex: number; pageSize: number }): void {\n this.pageIndex = pageIndex;\n this.pageSize = pageSize;\n this.fetchWorkspaces();\n }\n\n onMoveToMT(workspace: Workspace): void {\n const dialogRef = this.dialog.open(WorkspaceConfirmDialogComponent, {\n data: {\n title: `Upgrade workspace ${workspace.displayName} to Multi Tenant?`,\n message: `<p>Upgrading this workspace will prepare it for migration to Multi Tenant.</p>\n <p>During this process, the workspace configuration will be copied to the Multi Tenant environment.\n The workspace will remain active on the current system until the Activate step is completed.</p>\n <p>Do you want to continue?</p>`,\n confirmButtonText: 'Yes, upgrade',\n },\n });\n\n dialogRef.beforeClosed().subscribe((result: boolean) => {\n if (!result) {\n return;\n }\n this.pendingWorkspaceIds.add(workspace.id);\n const subscription = this.migrationService.moveToMT(this.customerId, workspace.device).subscribe({\n next: (formId: number) => {\n if (formId) {\n this.pollMigrationFormStatus(Number(formId), workspace.id);\n } else {\n this.pendingWorkspaceIds.delete(workspace.id);\n this.fetchWorkspaces();\n }\n },\n error: () => {\n this.pendingWorkspaceIds.delete(workspace.id);\n this.fetchWorkspaces();\n },\n });\n this.subscriptions.push(subscription);\n });\n }\n\n onEnableWebexCalling(workspace: Workspace): void {\n const device = workspace.device;\n if (!device.webexUUID || workspace.status !== 'inactive') {\n return;\n }\n\n const dialogRef = this.dialog.open(WorkspaceConfirmDialogComponent, {\n data: {\n title: `Activate workspace ${workspace.displayName} on Multi Tenant?`,\n message: `<p>Activating this workspace will perform the cutover to Multi Tenant and complete the migration process.</p>\n <p>After activation, the workspace will become active on Multi Tenant and the original workspace will become inactive.</p>\n <p>Do you want to continue?</p>`,\n confirmButtonText: 'Activate',\n },\n });\n\n dialogRef.beforeClosed().subscribe((result: boolean) => {\n if (!result) {\n return;\n }\n this.pendingWorkspaceIds.add(workspace.id);\n const subscription = this.migrationService\n .getMigratedMigrationFormEntities(this.customerId, device.webexUUID as string, 'PERSON')\n .pipe(map((entities: any[]) => (Array.isArray(entities) ? entities[0] : entities || null)))\n .subscribe({\n next: (entity: any) => {\n const formId = entity?.migrationFormId ?? entity?.id ?? null;\n if (!formId) {\n this.pendingWorkspaceIds.delete(workspace.id);\n return;\n }\n const deviceMap = this.buildFirmwareDeviceMap(entity, device);\n const upgradeSubscription = this.migrationService\n .triggerFirmwareUpgrade(this.customerId, Number(formId), deviceMap)\n .subscribe({\n next: () => {\n window.setTimeout(() => {\n this.pollMigrationFormStatus(Number(formId), workspace.id, () => {\n this.migrationService.removeUcmLicense(this.customerId, Number(formId)).subscribe();\n });\n }, 10000);\n },\n error: () => {\n this.pendingWorkspaceIds.delete(workspace.id);\n this.fetchWorkspaces();\n },\n });\n this.subscriptions.push(upgradeSubscription);\n },\n error: () => {\n this.pendingWorkspaceIds.delete(workspace.id);\n },\n });\n this.subscriptions.push(subscription);\n });\n }\n\n onMigrateToUCM(workspace: Workspace): void {\n const device = workspace.device;\n if (!device.webexUUID || workspace.status !== 'active') {\n return;\n }\n\n this.pendingWorkspaceIds.add(workspace.id);\n const subscription = this.migrationService\n .revertMigration(this.customerId, device.webexUUID)\n .pipe(switchMap(() => timer(2000)))\n .subscribe({\n next: () => {\n this.pendingWorkspaceIds.delete(workspace.id);\n this.fetchWorkspaces();\n },\n error: () => {\n this.pendingWorkspaceIds.delete(workspace.id);\n this.fetchWorkspaces();\n },\n });\n this.subscriptions.push(subscription);\n }\n\n private pollMigrationFormStatus(formId: number, workspaceId: string, onCompleted?: () => void): void {\n const subscription = timer(0, 10000)\n .pipe(\n switchMap(() => this.migrationService.getMigrationFormStatus(this.customerId, formId)),\n takeWhile((response: any) => !this.isTerminalMigrationStatus(response?.status), true),\n )\n .subscribe({\n next: (response: any) => {\n const status = this.normalizeMigrationStatus(response?.status);\n if (!this.isTerminalMigrationStatus(status)) {\n return;\n }\n this.pendingWorkspaceIds.delete(workspaceId);\n this.fetchWorkspaces();\n if (status === 'COMPLETED') {\n onCompleted?.();\n }\n },\n error: () => {\n this.pendingWorkspaceIds.delete(workspaceId);\n this.fetchWorkspaces();\n },\n });\n this.subscriptions.push(subscription);\n }\n\n private buildFirmwareDeviceMap(entity: any, device: WorkspaceDeviceRecord): FirmwareDeviceMap {\n const deviceMap: FirmwareDeviceMap = {};\n const entityDevices: any[] = [\n ...(Array.isArray(entity?.devices) ? entity.devices : []),\n ...(Array.isArray(entity?.webexMigrationDevices) ? entity.webexMigrationDevices : []),\n ];\n const sourceDevices = entityDevices.length ? entityDevices : [device];\n const cucmId = Number(device.cucmId) || 0;\n\n sourceDevices.forEach((rawDevice: any) => {\n const name: string = rawDevice?.name || device.name || '';\n if (!name) {\n return;\n }\n const deviceName = name.includes('SEP') ? name : `SEP${name}`;\n if (!deviceMap[cucmId]) {\n deviceMap[cucmId] = {};\n }\n if (!deviceMap[cucmId]['PERSON']) {\n deviceMap[cucmId]['PERSON'] = [];\n }\n deviceMap[cucmId]['PERSON'].push(deviceName);\n });\n\n return deviceMap;\n }\n\n private normalizeMigrationStatus(status: string | null | undefined): string {\n return (status || '').toUpperCase();\n }\n\n private isTerminalMigrationStatus(status: string | null | undefined): boolean {\n const normalized = this.normalizeMigrationStatus(status);\n return normalized === 'COMPLETED' || normalized === 'FAILED' || normalized === 'ERROR' || normalized === 'COMPLETED_WITH_ERRORS';\n }\n\n private fetchWorkspaces(): void {\n this.isLoading = true;\n this.workspacesService.fetchWorkspaces(this.customerId, this.pageSize, this.pageIndex).subscribe({\n next: ({ workspaces, total }) => {\n this.workspaces = workspaces;\n this.total = total;\n this.isLoading = false;\n },\n error: () => {\n this.workspaces = [];\n this.total = 0;\n this.isLoading = false;\n },\n });\n }\n}\n","<div class=\"tk-workspaces\">\n <ng-container *ngIf=\"view === 'list'; else detailView\">\n <header class=\"tk-workspaces__header\">\n <h1 class=\"tk-workspaces__title\">Workspaces</h1>\n </header>\n\n <nav class=\"tk-workspaces__tabs\">\n <button\n type=\"button\"\n *ngFor=\"let tab of tabs\"\n class=\"tk-workspaces__tab\"\n [class.tk-workspaces__tab--active]=\"activeTab === tab.id\"\n (click)=\"selectTab(tab.id)\">\n <img class=\"tk-workspaces__tab-icon\" [src]=\"tab.icon\" alt=\"\" />\n {{ tab.label }}\n </button>\n </nav>\n\n <ng-container *ngIf=\"activeTab === 'workspaces'; else placeholder\">\n <app-loader *ngIf=\"isLoading\"></app-loader>\n\n <tk-workspaces-filters\n [resultCount]=\"total\"\n [typeOptions]=\"typeOptions\"\n [locationOptions]=\"locationOptions\"\n (searchChange)=\"onSearchChange($event)\"\n (typeChange)=\"onTypeFilterChange($event)\"\n (locationChange)=\"onLocationFilterChange($event)\"\n (addWorkspace)=\"addWorkspace.emit()\">\n </tk-workspaces-filters>\n\n <tk-workspaces-table\n [workspaces]=\"filteredWorkspaces\"\n [total]=\"total\"\n [pageIndex]=\"pageIndex\"\n [pageSize]=\"pageSize\"\n [pendingWorkspaceIds]=\"pendingWorkspaceIds\"\n (openWorkspace)=\"onOpenWorkspace($event)\"\n (licenseWithHybrid)=\"onMoveToMT($event)\"\n (migrateToMT)=\"onMoveToMT($event)\"\n (enableWebexCalling)=\"onEnableWebexCalling($event)\"\n (migrateToUCM)=\"onMigrateToUCM($event)\"\n (addDevice)=\"addDevice.emit($event)\"\n (pageChange)=\"onPageChange($event)\">\n </tk-workspaces-table>\n </ng-container>\n\n <ng-template #placeholder>\n <div class=\"tk-workspaces__placeholder\">This section isn't available in this widget yet.</div>\n </ng-template>\n </ng-container>\n\n <ng-template #detailView>\n <tk-workspace-detail\n *ngIf=\"selectedWorkspace\"\n [workspace]=\"selectedWorkspace\"\n (back)=\"onBackToList()\">\n </tk-workspace-detail>\n </ng-template>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { HttpClientModule } from '@angular/common/http';\nimport { FormsModule } from '@angular/forms';\nimport { MaterialModule } from './material.module';\nimport { WorkspacesComponent } from './workspaces.component';\nimport { WorkspacesFiltersComponent } from './components/workspaces-filters/workspaces-filters.component';\nimport { WorkspacesTableComponent } from './components/workspaces-table/workspaces-table.component';\nimport { WorkspaceDetailComponent } from './components/workspace-detail/workspace-detail.component';\nimport { WorkspaceConfirmDialogComponent } from './components/workspace-confirm-dialog/workspace-confirm-dialog.component';\nimport { AppLoaderComponent } from './utils/app-loader/app-loader';\n\n@NgModule({\n declarations: [\n WorkspacesComponent,\n WorkspacesFiltersComponent,\n WorkspacesTableComponent,\n WorkspaceDetailComponent,\n WorkspaceConfirmDialogComponent,\n AppLoaderComponent,\n ],\n imports: [\n CommonModule,\n HttpClientModule,\n FormsModule,\n MaterialModule,\n ],\n exports: [\n WorkspacesComponent,\n ],\n})\nexport class WorkspacesModule { }\n","/*\n * Public API Surface of @tuki-io/tuki-widgets\n */\n\n// Widget Modules\nexport * from './src/workspaces.module';\n\n// Components\nexport * from './src/workspaces.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.APIService","i1.ApiWebexService","i2","resolveDeviceIcon","i3","i1.WorkspaceDetailService","map","i2.ApiWebexService","i3.WorkspacesService","i4.WorkspacesMigrationService","i5","i6","i7.WorkspacesFiltersComponent","i8.WorkspacesTableComponent","i9.WorkspaceDetailComponent","i10.AppLoaderComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCa,cAAc,CAAA;;4GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAxBvB,eAAe;QACf,aAAa;QACb,cAAc;QACd,wBAAwB;QACxB,kBAAkB;QAClB,cAAc;QACd,aA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A,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAjBzB,mBAAmB;QACnB,0BAA0B;QAC1B,wBAAwB;QACxB,wBAAwB;QACxB,+BAA+B;AAC/B,QAAA,kBAAkB,aAGlB,YAAY;QACZ,gBAAgB;QAChB,WAAW;AACX,QAAA,cAAc,aAGd,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGV,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YATzB,YAAY;QACZ,gBAAgB;QAChB,WAAW;QACX,cAAc,CAAA,EAAA,CAAA,CAAA;4FAML,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAnB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,0BAA0B;wBAC1B,wBAAwB;wBACxB,wBAAwB;wBACxB,+BAA+B;wBAC/B,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,gBAAgB;wBAChB,WAAW;wBACX,cAAc;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tuki-io/tuki-widgets/locations" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/locations.module';
2
+ export * from './src/locations.component';
@@ -0,0 +1,5 @@
1
+ export declare const API: {
2
+ LOCATIONS: {
3
+ GET_ALL: string;
4
+ };
5
+ };
@@ -0,0 +1,68 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { APIService } from './services/api.service';
3
+ import { LocationsService } from './services/locations.service';
4
+ import { Location } from './types/location';
5
+ import * as i0 from "@angular/core";
6
+ type LocationsSortDirection = 'asc' | 'desc';
7
+ export declare class LocationsComponent implements OnInit {
8
+ private apiService;
9
+ private locationsService;
10
+ exHost: string;
11
+ token: string;
12
+ customerId: number;
13
+ openLocation: EventEmitter<string>;
14
+ editLocation: EventEmitter<string>;
15
+ removeLocation: EventEmitter<string>;
16
+ addLocation: EventEmitter<void>;
17
+ importLocations: EventEmitter<void>;
18
+ locations: Location[];
19
+ totalElements: number;
20
+ isLoading: boolean;
21
+ searchTerm: string;
22
+ sortDirection: LocationsSortDirection;
23
+ isBannerDismissed: boolean;
24
+ readonly pageSizeOptions: number[];
25
+ pageIndex: number;
26
+ pageSize: number;
27
+ isFilterPanelOpen: boolean;
28
+ filters: {
29
+ country: string;
30
+ pendingActions: string;
31
+ };
32
+ private readonly countryDisplayNames;
33
+ constructor(apiService: APIService, locationsService: LocationsService);
34
+ ngOnInit(): void;
35
+ private loadPage;
36
+ get pendingLocations(): Location[];
37
+ get showPendingBanner(): boolean;
38
+ get countries(): string[];
39
+ get filteredLocations(): Location[];
40
+ get pageRangeLabel(): string;
41
+ get hasPreviousPage(): boolean;
42
+ get hasNextPage(): boolean;
43
+ addressLine(location: Location): string;
44
+ countryLabel(location: Location): string;
45
+ private readonly provisioningTypeIcons;
46
+ provisioningTypeIcon(location: Location): {
47
+ src: string;
48
+ tooltip: string;
49
+ } | null;
50
+ onSearchInputChange(event: Event): void;
51
+ toggleNameSort(): void;
52
+ dismissBanner(): void;
53
+ toggleFilterPanel(): void;
54
+ closeFilterPanel(): void;
55
+ clearFilters(): void;
56
+ onPageSizeChange(event: Event): void;
57
+ goToPreviousPage(): void;
58
+ goToNextPage(): void;
59
+ onOpenLocation(location: Location): void;
60
+ onEditLocation(location: Location): void;
61
+ onRemoveLocation(location: Location): void;
62
+ onAddLocation(): void;
63
+ onImportLocations(): void;
64
+ exportLocations(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsComponent, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationsComponent, "tk-locations", never, { "exHost": "exHost"; "token": "token"; "customerId": "customerId"; }, { "openLocation": "openLocation"; "editLocation": "editLocation"; "removeLocation": "removeLocation"; "addLocation": "addLocation"; "importLocations": "importLocations"; }, never, never, false, never>;
67
+ }
68
+ export {};
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./locations.component";
3
+ import * as i2 from "./utils/app-loader/app-loader";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/common/http";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "./material.module";
8
+ export declare class LocationsModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.AppLoaderComponent], [typeof i3.CommonModule, typeof i4.HttpClientModule, typeof i5.FormsModule, typeof i6.MaterialModule], [typeof i1.LocationsComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<LocationsModule>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/button";
3
+ import * as i2 from "@angular/material/icon";
4
+ import * as i3 from "@angular/material/menu";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ export declare class MaterialModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
11
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIService {
5
+ private httpClient;
6
+ token: string;
7
+ apiUrl: string;
8
+ constructor(httpClient: HttpClient);
9
+ fetch(url: string, params?: any, cache?: boolean): Observable<any>;
10
+ post(url: string, body: any, params?: {}): Observable<any>;
11
+ put(url: string, body?: any, params?: {}): Observable<any>;
12
+ delete(url: string, params?: {}): Observable<Object>;
13
+ private prepareEncodedParams;
14
+ private getHeaders;
15
+ private getParameterByName;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<APIService>;
18
+ }
@@ -0,0 +1,15 @@
1
+ import { Observable } from 'rxjs';
2
+ import { APIService } from './api.service';
3
+ import { Location } from '../types/location';
4
+ import * as i0 from "@angular/core";
5
+ export interface LocationsPage {
6
+ locations: Location[];
7
+ totalElements: number;
8
+ }
9
+ export declare class LocationsService {
10
+ private apiService;
11
+ constructor(apiService: APIService);
12
+ fetchLocations(customerId: number, page: number, size: number): Observable<LocationsPage>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationsService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocationsService>;
15
+ }
@@ -0,0 +1,17 @@
1
+ export interface LocationAddress {
2
+ address1: string;
3
+ address2: string;
4
+ city: string;
5
+ state: string;
6
+ postalCode: string;
7
+ country: string;
8
+ countryName: string;
9
+ }
10
+ export interface Location {
11
+ id: string;
12
+ name: string;
13
+ timeZone: string;
14
+ address: LocationAddress;
15
+ provisioningType: string;
16
+ hasPendingActions: boolean;
17
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppLoaderComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tuki-io/tuki-widgets/meetings" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/meetings.module';
2
+ export * from './src/meetings.component';
@@ -0,0 +1,8 @@
1
+ export declare const API: {
2
+ MEETING_SPACES: {
3
+ GET_ALL: string;
4
+ GET_BY_ID: string;
5
+ UPDATE_ONE: string;
6
+ CREATE_ONE: string;
7
+ };
8
+ };
@@ -0,0 +1,34 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { LiveMeetingsService } from '../../../services/live-meetings.service';
3
+ import { LiveMeetingDetails, LiveMeetingLobbyEntry, LiveMeetingParticipant } from '../../../types/live-meeting';
4
+ import * as i0 from "@angular/core";
5
+ export type LiveMeetingTab = 'participants' | 'lobby';
6
+ export declare class LiveMeetingComponent implements OnInit {
7
+ private liveMeetingsService;
8
+ meetingId: string | null;
9
+ back: EventEmitter<void>;
10
+ details: LiveMeetingDetails | null;
11
+ activeTab: LiveMeetingTab;
12
+ searchTerm: string;
13
+ openActionsMenuId: string | null;
14
+ constructor(liveMeetingsService: LiveMeetingsService);
15
+ ngOnInit(): void;
16
+ get filteredParticipants(): LiveMeetingParticipant[];
17
+ get lobby(): LiveMeetingLobbyEntry[];
18
+ setTab(tab: LiveMeetingTab): void;
19
+ onBack(): void;
20
+ toggleLock(): void;
21
+ toggleRecording(): void;
22
+ toggleStreaming(): void;
23
+ muteAll(): void;
24
+ unmuteAll(): void;
25
+ toggleParticipantAudio(participant: LiveMeetingParticipant): void;
26
+ toggleParticipantVideo(participant: LiveMeetingParticipant): void;
27
+ removeParticipant(participant: LiveMeetingParticipant): void;
28
+ toggleActionsMenu(participant: LiveMeetingParticipant): void;
29
+ closeActionsMenu(): void;
30
+ admitFromLobby(entry: LiveMeetingLobbyEntry): void;
31
+ denyFromLobby(entry: LiveMeetingLobbyEntry): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<LiveMeetingComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<LiveMeetingComponent, "tk-live-meeting", never, { "meetingId": "meetingId"; }, { "back": "back"; }, never, never, false, never>;
34
+ }
@@ -0,0 +1,43 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { LiveMeetingsService } from '../../services/live-meetings.service';
3
+ import { LiveMeeting, LiveMeetingsSummary } from '../../types/live-meeting';
4
+ import * as i0 from "@angular/core";
5
+ interface LiveMeetingsStatCard {
6
+ label: string;
7
+ value: number;
8
+ icon?: string;
9
+ }
10
+ export declare class LiveMeetingsComponent implements OnInit {
11
+ private liveMeetingsService;
12
+ openLiveMeeting: EventEmitter<string>;
13
+ meetings: LiveMeeting[];
14
+ summary: LiveMeetingsSummary | null;
15
+ searchTerm: string;
16
+ isAutoRefreshOn: boolean;
17
+ lastUpdatedLabel: string;
18
+ isFilterPanelOpen: boolean;
19
+ filters: {
20
+ lockState: string;
21
+ cluster: string;
22
+ startTimeAfter: string;
23
+ minParticipants: number | null;
24
+ owner: string;
25
+ };
26
+ constructor(liveMeetingsService: LiveMeetingsService);
27
+ ngOnInit(): void;
28
+ get statCards(): LiveMeetingsStatCard[];
29
+ get filteredMeetings(): LiveMeeting[];
30
+ get owners(): string[];
31
+ get clusters(): string[];
32
+ onSearchInputChange(event: Event): void;
33
+ toggleFilterPanel(): void;
34
+ closeFilterPanel(): void;
35
+ clearFilters(): void;
36
+ onOpenLiveMeeting(meeting: LiveMeeting): void;
37
+ toggleAutoRefresh(): void;
38
+ refresh(): void;
39
+ private load;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<LiveMeetingsComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<LiveMeetingsComponent, "tk-live-meetings", never, {}, { "openLiveMeeting": "openLiveMeeting"; }, never, never, false, never>;
42
+ }
43
+ export {};
@@ -0,0 +1,39 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MeetingSpacesService } from '../../../services/meeting-spaces.service';
3
+ import { MeetingSpaceAccessRole, MeetingSpaceDetails, MeetingSpacePresentationQuality, MeetingSpaceVideoLayout, MeetingSpaceVideoQuality } from '../../../types/meeting-space';
4
+ import * as i0 from "@angular/core";
5
+ export type MeetingSpaceFormMode = 'create' | 'edit';
6
+ interface Option<T> {
7
+ value: T;
8
+ label: string;
9
+ }
10
+ interface VideoLayoutOption extends Option<MeetingSpaceVideoLayout> {
11
+ tiles: number;
12
+ }
13
+ export declare class MeetingSpaceComponent implements OnInit {
14
+ private meetingSpacesService;
15
+ mode: MeetingSpaceFormMode;
16
+ meetingSpaceId: string | null;
17
+ back: EventEmitter<void>;
18
+ saved: EventEmitter<MeetingSpaceDetails>;
19
+ details: MeetingSpaceDetails;
20
+ isLoading: boolean;
21
+ isSaving: boolean;
22
+ readonly clusters: string[];
23
+ readonly videoLayouts: VideoLayoutOption[];
24
+ readonly videoQualities: Option<MeetingSpaceVideoQuality>[];
25
+ readonly presentationQualities: Option<MeetingSpacePresentationQuality>[];
26
+ constructor(meetingSpacesService: MeetingSpacesService);
27
+ ngOnInit(): void;
28
+ get isEdit(): boolean;
29
+ get browserJoinLink(): string;
30
+ layoutTiles(count: number): number[];
31
+ addAccessRole(): void;
32
+ removeAccessRole(role: MeetingSpaceAccessRole): void;
33
+ trackByRoleId(_index: number, role: MeetingSpaceAccessRole): string;
34
+ onCancel(): void;
35
+ onSubmit(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSpaceComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeetingSpaceComponent, "tk-meeting-space", never, { "mode": "mode"; "meetingSpaceId": "meetingSpaceId"; }, { "back": "back"; "saved": "saved"; }, never, never, false, never>;
38
+ }
39
+ export {};
@@ -0,0 +1,27 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MeetingSpacesService } from '../../services/meeting-spaces.service';
3
+ import { MeetingSpace } from '../../types/meeting-space';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MeetingSpacesComponent implements OnInit {
6
+ private meetingSpacesService;
7
+ createMeetingSpace: EventEmitter<void>;
8
+ editMeetingSpace: EventEmitter<string>;
9
+ meetingSpaces: MeetingSpace[];
10
+ searchTerm: string;
11
+ isFilterPanelOpen: boolean;
12
+ filters: {
13
+ autoGenerated: string;
14
+ };
15
+ isLoading: boolean;
16
+ constructor(meetingSpacesService: MeetingSpacesService);
17
+ ngOnInit(): void;
18
+ get filteredMeetingSpaces(): MeetingSpace[];
19
+ onSearchInputChange(event: Event): void;
20
+ onCreateMeetingSpace(): void;
21
+ onEditMeetingSpace(space: MeetingSpace): void;
22
+ toggleFilterPanel(): void;
23
+ closeFilterPanel(): void;
24
+ clearFilters(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSpacesComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeetingSpacesComponent, "tk-meeting-spaces", never, {}, { "createMeetingSpace": "createMeetingSpace"; "editMeetingSpace": "editMeetingSpace"; }, never, never, false, never>;
27
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/button";
3
+ import * as i2 from "@angular/material/icon";
4
+ import * as i3 from "@angular/material/table";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/tabs";
9
+ import * as i8 from "@angular/material/slide-toggle";
10
+ import * as i9 from "@angular/material/checkbox";
11
+ export declare class MaterialModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTabsModule, typeof i8.MatSlideToggleModule, typeof i9.MatCheckboxModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTabsModule, typeof i8.MatSlideToggleModule, typeof i9.MatCheckboxModule]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
15
+ }