@tuki-io/tuki-widgets 0.0.219-dev.9 → 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 (309) hide show
  1. package/README.md +24 -24
  2. package/di2mt/api/api.endpoints.d.ts +3 -0
  3. package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +1 -1
  4. package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
  5. package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +3 -3
  6. package/esm2020/di2mt/api/api.endpoints.mjs +4 -1
  7. package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
  8. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
  9. package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
  10. package/esm2020/lib/widgets.component.mjs +9 -9
  11. package/esm2020/lib/widgets.module.mjs +1 -1
  12. package/esm2020/lib/widgets.service.mjs +1 -1
  13. package/esm2020/locations/public-api.mjs +8 -0
  14. package/esm2020/locations/src/app.constants.mjs +6 -0
  15. package/esm2020/locations/src/locations.component.mjs +215 -0
  16. package/esm2020/locations/src/locations.module.mjs +39 -0
  17. package/esm2020/locations/src/material.module.mjs +48 -0
  18. package/esm2020/locations/src/services/api.service.mjs +67 -0
  19. package/esm2020/locations/src/services/locations.service.mjs +51 -0
  20. package/esm2020/locations/src/types/location.mjs +2 -0
  21. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +14 -0
  22. package/esm2020/locations/tuki-io-tuki-widgets-locations.mjs +5 -0
  23. package/esm2020/meetings/public-api.mjs +8 -0
  24. package/esm2020/meetings/src/app.constants.mjs +9 -0
  25. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +107 -0
  26. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +98 -0
  27. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +110 -0
  28. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +65 -0
  29. package/esm2020/meetings/src/material.module.mjs +76 -0
  30. package/esm2020/meetings/src/meetings.component.mjs +65 -0
  31. package/esm2020/meetings/src/meetings.module.mjs +51 -0
  32. package/esm2020/meetings/src/services/api.service.mjs +67 -0
  33. package/esm2020/meetings/src/services/live-meetings.service.mjs +178 -0
  34. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +102 -0
  35. package/esm2020/meetings/src/types/live-meeting.mjs +2 -0
  36. package/esm2020/meetings/src/types/meeting-space.mjs +2 -0
  37. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +14 -0
  38. package/esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs +5 -0
  39. package/esm2020/public-api.mjs +1 -1
  40. package/esm2020/shared/public-api.mjs +4 -0
  41. package/esm2020/shared/src/ui/material.module.mjs +188 -0
  42. package/esm2020/shared/src/ui/shared.module.mjs +36 -0
  43. package/esm2020/shared/src/ui/tk-page-section/tk-page-section.component.mjs +13 -0
  44. package/esm2020/shared/src/ui/tk-page-section-row/tk-page-section-row.component.mjs +13 -0
  45. package/esm2020/shared/src/ui/ui.module.mjs +37 -0
  46. package/esm2020/shared/tuki-io-tuki-widgets-shared.mjs +5 -0
  47. package/esm2020/user-creation/src/app.constants.mjs +1 -1
  48. package/esm2020/user-creation/src/classes/notification.mjs +1 -1
  49. package/esm2020/user-creation/src/classes/site.mjs +1 -1
  50. package/esm2020/user-creation/src/environments/environment.mjs +1 -1
  51. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
  52. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
  53. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
  54. package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
  55. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
  56. package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
  57. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
  58. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
  59. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
  60. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
  61. package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
  62. package/esm2020/user-creation/src/utils/model.mjs +1 -1
  63. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
  64. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +2 -1
  65. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +8 -6
  66. package/esm2020/user-device-manage/public-api.mjs +1 -1
  67. package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
  68. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  69. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  70. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
  71. package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
  72. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
  73. package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
  74. package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
  75. package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
  76. package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
  77. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  78. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
  79. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
  80. package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
  81. package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
  82. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
  83. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
  84. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
  85. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
  86. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
  87. package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
  88. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
  89. package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
  90. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
  91. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  92. package/esm2020/user-device-manage/src/material.module.mjs +1 -1
  93. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
  94. package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
  95. package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
  96. package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
  97. package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
  98. package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
  99. package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
  100. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  101. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
  102. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
  103. package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
  104. package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
  105. package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
  106. package/esm2020/user-device-manage/src/user-device-manage.module.mjs +1 -4
  107. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
  108. package/esm2020/user-manage/public-api.mjs +1 -1
  109. package/esm2020/user-manage/src/app.constants.mjs +7 -1
  110. package/esm2020/user-manage/src/classes/device.mjs +1 -1
  111. package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
  112. package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
  113. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
  114. package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
  115. package/esm2020/user-manage/src/classes/line.mjs +1 -1
  116. package/esm2020/user-manage/src/classes/notification.mjs +1 -1
  117. package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
  118. package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
  119. package/esm2020/user-manage/src/classes/simplified-user.mjs +5 -3
  120. package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
  121. package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
  122. package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
  123. package/esm2020/user-manage/src/common-functions.mjs +1 -1
  124. package/esm2020/user-manage/src/device-list/device-list.component.mjs +7 -4
  125. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +6 -3
  126. package/esm2020/user-manage/src/environments/environment.mjs +1 -1
  127. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
  128. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  129. package/esm2020/user-manage/src/material.module.mjs +14 -7
  130. package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
  131. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
  132. package/esm2020/user-manage/src/services/api.service.mjs +1 -1
  133. package/esm2020/user-manage/src/services/dcp-api.service.mjs +79 -0
  134. package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
  135. package/esm2020/user-manage/src/services/line.service.mjs +1 -1
  136. package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
  137. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  138. package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
  139. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
  140. package/esm2020/user-manage/src/services/user.service.mjs +65 -19
  141. package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
  142. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
  143. package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +12 -7
  144. package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
  145. package/esm2020/user-manage/src/user-manage-widget.component.mjs +55 -20
  146. package/esm2020/user-manage/src/user-manage.module.mjs +10 -3
  147. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
  148. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
  149. package/esm2020/users-list/public-api.mjs +1 -1
  150. package/esm2020/users-list/src/app.constants.mjs +2 -1
  151. package/esm2020/users-list/src/classes/app-location.mjs +1 -1
  152. package/esm2020/users-list/src/classes/device.mjs +1 -1
  153. package/esm2020/users-list/src/classes/line.mjs +1 -1
  154. package/esm2020/users-list/src/classes/move-user.mjs +1 -1
  155. package/esm2020/users-list/src/classes/notification.mjs +1 -1
  156. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  157. package/esm2020/users-list/src/classes/table-data.mjs +1 -1
  158. package/esm2020/users-list/src/classes/user-list.mjs +2 -1
  159. package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +3 -3
  160. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
  161. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
  162. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +14 -3
  163. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +5 -3
  164. package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
  165. package/esm2020/users-list/src/services/api.service.mjs +1 -1
  166. package/esm2020/users-list/src/services/dns.service.mjs +1 -1
  167. package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
  168. package/esm2020/users-list/src/services/notification.service.mjs +1 -1
  169. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
  170. package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
  171. package/esm2020/users-list/src/services/user.service.mjs +1 -1
  172. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
  173. package/esm2020/users-list/src/users-list.component.mjs +98 -15
  174. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
  175. package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
  176. package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
  177. package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
  178. package/esm2020/workspaces/public-api.mjs +8 -0
  179. package/esm2020/workspaces/src/app.constants.mjs +15 -0
  180. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +32 -0
  181. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +50 -0
  182. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +56 -0
  183. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +114 -0
  184. package/esm2020/workspaces/src/material.module.mjs +83 -0
  185. package/esm2020/workspaces/src/services/api-webex.service.mjs +14 -0
  186. package/esm2020/workspaces/src/services/api.service.mjs +67 -0
  187. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +54 -0
  188. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +59 -0
  189. package/esm2020/workspaces/src/services/workspaces.service.mjs +90 -0
  190. package/esm2020/workspaces/src/types/workspace.mjs +4 -0
  191. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +14 -0
  192. package/esm2020/workspaces/src/utils/device-icon.mjs +13 -0
  193. package/esm2020/workspaces/src/workspaces.component.mjs +295 -0
  194. package/esm2020/workspaces/src/workspaces.module.mjs +51 -0
  195. package/esm2020/workspaces/tuki-io-tuki-widgets-workspaces.mjs +5 -0
  196. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  197. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  198. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +23 -20
  199. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  200. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +439 -0
  201. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  202. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +894 -0
  203. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  204. package/fesm2015/tuki-io-tuki-widgets-shared.mjs +280 -0
  205. package/fesm2015/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  206. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +12 -9
  207. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  208. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -31
  209. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  210. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +252 -65
  211. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  212. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +129 -30
  213. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  214. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +958 -0
  215. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  216. package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
  217. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
  218. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  219. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  220. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +23 -20
  221. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  222. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +433 -0
  223. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  224. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +902 -0
  225. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  226. package/fesm2020/tuki-io-tuki-widgets-shared.mjs +280 -0
  227. package/fesm2020/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  228. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +12 -9
  229. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  230. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -31
  231. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  232. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +248 -64
  233. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  234. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +128 -30
  235. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  236. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +958 -0
  237. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  238. package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
  239. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
  240. package/locations/index.d.ts +5 -0
  241. package/locations/public-api.d.ts +2 -0
  242. package/locations/src/app.constants.d.ts +5 -0
  243. package/locations/src/locations.component.d.ts +68 -0
  244. package/locations/src/locations.module.d.ts +12 -0
  245. package/locations/src/material.module.d.ts +11 -0
  246. package/locations/src/services/api.service.d.ts +18 -0
  247. package/locations/src/services/locations.service.d.ts +15 -0
  248. package/locations/src/types/location.d.ts +17 -0
  249. package/locations/src/utils/app-loader/app-loader.d.ts +6 -0
  250. package/meetings/index.d.ts +5 -0
  251. package/meetings/public-api.d.ts +2 -0
  252. package/meetings/src/app.constants.d.ts +8 -0
  253. package/meetings/src/components/live-meetings/live-meeting/live-meeting.component.d.ts +34 -0
  254. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +43 -0
  255. package/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.d.ts +39 -0
  256. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +27 -0
  257. package/meetings/src/material.module.d.ts +15 -0
  258. package/meetings/src/meetings.component.d.ts +29 -0
  259. package/meetings/src/meetings.module.d.ts +16 -0
  260. package/meetings/src/services/api.service.d.ts +18 -0
  261. package/meetings/src/services/live-meetings.service.d.ts +9 -0
  262. package/meetings/src/services/meeting-spaces.service.d.ts +16 -0
  263. package/meetings/src/types/live-meeting.d.ts +71 -0
  264. package/meetings/src/types/meeting-space.d.ts +52 -0
  265. package/meetings/src/utils/app-loader/app-loader.d.ts +6 -0
  266. package/package.json +33 -1
  267. package/shared/index.d.ts +5 -0
  268. package/shared/public-api.d.ts +3 -0
  269. package/shared/src/ui/material.module.d.ts +28 -0
  270. package/shared/src/ui/shared.module.d.ts +10 -0
  271. 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
  272. package/shared/src/ui/tk-page-section-row/tk-page-section-row.component.d.ts +6 -0
  273. package/shared/src/ui/ui.module.d.ts +11 -0
  274. package/user-device-manage/src/classes/simplified-user.d.ts +1 -1
  275. package/user-device-manage/src/user-device-manage.module.d.ts +9 -10
  276. package/user-manage/src/app.constants.d.ts +6 -0
  277. package/user-manage/src/classes/simplified-user.d.ts +11 -1
  278. package/user-manage/src/device-list/device-list.component.d.ts +2 -0
  279. package/user-manage/src/material.module.d.ts +2 -1
  280. package/user-manage/src/services/dcp-api.service.d.ts +21 -0
  281. package/user-manage/src/services/user.service.d.ts +8 -1
  282. package/user-manage/src/user-calling/user-calling.component.d.ts +3 -2
  283. package/user-manage/src/user-manage-widget.component.d.ts +10 -2
  284. package/user-manage/src/user-manage.module.d.ts +2 -1
  285. package/users-list/src/app.constants.d.ts +1 -0
  286. package/users-list/src/classes/simlified-user.d.ts +1 -1
  287. package/users-list/src/classes/user-list.d.ts +4 -0
  288. package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +3 -1
  289. package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +2 -1
  290. package/users-list/src/users-list.component.d.ts +6 -1
  291. package/workspaces/index.d.ts +5 -0
  292. package/workspaces/public-api.d.ts +2 -0
  293. package/workspaces/src/app.constants.d.ts +14 -0
  294. package/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.d.ts +20 -0
  295. package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +23 -0
  296. package/workspaces/src/components/workspaces-filters/workspaces-filters.component.d.ts +20 -0
  297. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +39 -0
  298. package/workspaces/src/material.module.d.ts +16 -0
  299. package/workspaces/src/services/api-webex.service.d.ts +6 -0
  300. package/workspaces/src/services/api.service.d.ts +18 -0
  301. package/workspaces/src/services/workspace-detail.service.d.ts +8 -0
  302. package/workspaces/src/services/workspaces-migration.service.d.ts +18 -0
  303. package/workspaces/src/services/workspaces.service.d.ts +11 -0
  304. package/workspaces/src/types/workspace.d.ts +161 -0
  305. package/workspaces/src/utils/app-loader/app-loader.d.ts +6 -0
  306. package/workspaces/src/utils/device-icon.d.ts +1 -0
  307. package/workspaces/src/workspaces.component.d.ts +71 -0
  308. package/workspaces/src/workspaces.module.d.ts +16 -0
  309. package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +0 -13
@@ -5,10 +5,12 @@ import { APIService } from "./services/api.service";
5
5
  import { LineAssociation } from './classes/line-association';
6
6
  import { LineAssociationInterface } from './classes/line-association-interface';
7
7
  import { Device } from './classes/device';
8
+ import { DcpApiService } from './services/dcp-api.service';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class UserManageWidgetComponent implements OnInit {
10
11
  userService: UserService;
11
12
  private apiService;
13
+ private dcpApiService;
12
14
  dataPending: boolean;
13
15
  onSave: EventEmitter<string>;
14
16
  onChange: EventEmitter<string>;
@@ -16,6 +18,7 @@ export declare class UserManageWidgetComponent implements OnInit {
16
18
  goBack: EventEmitter<any>;
17
19
  token: string;
18
20
  host: string;
21
+ dcpHost: string;
19
22
  siteId: number;
20
23
  userId: string;
21
24
  deviceName: string;
@@ -24,8 +27,12 @@ export declare class UserManageWidgetComponent implements OnInit {
24
27
  get user(): any;
25
28
  get userName(): string;
26
29
  get lineAssociation(): LineAssociation | LineAssociationInterface | undefined;
30
+ get primaryLineReference(): string | undefined;
31
+ get webexUUID(): string | null;
27
32
  private readonly router;
28
- constructor(userService: UserService, apiService: APIService);
33
+ private readonly location;
34
+ readonly ON_PREM_ID = 2542;
35
+ constructor(userService: UserService, apiService: APIService, dcpApiService: DcpApiService);
29
36
  ngOnInit(): void;
30
37
  onDeviceSelect(device: Device): void;
31
38
  onGoBack(): void;
@@ -38,8 +45,9 @@ export declare class UserManageWidgetComponent implements OnInit {
38
45
  private digestCredentialsHandler;
39
46
  private getData;
40
47
  private setCookie;
48
+ private updateUrlIfUserIdChanged;
41
49
  private validateUserId;
42
50
  save(): void;
43
51
  static ɵfac: i0.ɵɵFactoryDeclaration<UserManageWidgetComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<UserManageWidgetComponent, "app-user-manage-widget", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; "isLdap": "isLdap"; }, { "onSave": "onSave"; "onChange": "onChange"; "selectDevice": "selectDevice"; "goBack": "goBack"; }, never, never, false, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserManageWidgetComponent, "app-user-manage-widget", never, { "token": "token"; "host": "host"; "dcpHost": "dcpHost"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; "isLdap": "isLdap"; }, { "onSave": "onSave"; "onChange": "onChange"; "selectDevice": "selectDevice"; "goBack": "goBack"; }, never, never, false, never>;
45
53
  }
@@ -15,8 +15,9 @@ import * as i13 from "@angular/platform-browser/animations";
15
15
  import * as i14 from "@angular/forms";
16
16
  import * as i15 from "@angular/common/http";
17
17
  import * as i16 from "./material.module";
18
+ import * as i17 from "@tuki-io/tuki-widgets/shared";
18
19
  export declare class UserManageModule {
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<UserManageModule, never>;
20
- 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 i6.UserManageWidgetComponent]>;
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]>;
21
22
  static ɵinj: i0.ɵɵInjectorDeclaration<UserManageModule>;
22
23
  }
@@ -54,6 +54,7 @@ export declare const USER_TYPES_MAP: {
54
54
  CUCM: string;
55
55
  WEBEX: string;
56
56
  ONPREM: string;
57
+ HYBRID: string;
57
58
  };
58
59
  export type USER_TYPES_TYPE = keyof typeof USER_TYPES_MAP | null;
59
60
  export declare const CUSTOMER_DESTINATION_MIGTATION_TYPE: {
@@ -7,7 +7,7 @@ export declare class SimplifiedUser {
7
7
  token: string;
8
8
  viewMode: string;
9
9
  hasModifiedCache: boolean;
10
- newUserId?: string;
10
+ newUserid?: string;
11
11
  editMode: boolean;
12
12
  form: FormGroup;
13
13
  constructor(user?: any);
@@ -18,6 +18,10 @@ export declare class ListUser implements ListUserInterface {
18
18
  ldapIntegrated: boolean;
19
19
  isMigrated: boolean;
20
20
  isReadyToUpgrade: boolean;
21
+ isHybrid: boolean;
22
+ partnerStatus?: string;
23
+ partnerId?: string;
24
+ partnerSiteId?: number;
21
25
  constructor(user?: ListUser, roleName?: string);
22
26
  }
23
27
  export interface ListUserInterface {
@@ -20,6 +20,7 @@ export declare class MoveUserStepperComponent implements OnInit {
20
20
  done: EventEmitter<any>;
21
21
  user: any;
22
22
  customerId: number;
23
+ host: string;
23
24
  runMoveUser: EventEmitter<any>;
24
25
  cancel: EventEmitter<any>;
25
26
  isLinear: boolean;
@@ -31,6 +32,7 @@ export declare class MoveUserStepperComponent implements OnInit {
31
32
  get currentNumber(): string;
32
33
  get locations(): AppLocation[];
33
34
  get prepareMigrationData(): PrepareMigrationData;
35
+ get userDetailsUrl(): string;
34
36
  constructor(dnsService: DnsService, userService: UserService, siteSettingsService: SiteSettingsService, notificationService: NotificationService, moveUserService: MoveUserService);
35
37
  ngOnInit(): void;
36
38
  displayLocation(location?: AppLocation): string;
@@ -51,5 +53,5 @@ export declare class MoveUserStepperComponent implements OnInit {
51
53
  private getPrepareUserData;
52
54
  private resetMoveTypePhoneNUmber;
53
55
  static ɵfac: i0.ɵɵFactoryDeclaration<MoveUserStepperComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserStepperComponent, "app-move-user-stepper", never, { "user": "user"; "customerId": "customerId"; }, { "done": "done"; "runMoveUser": "runMoveUser"; "cancel": "cancel"; }, never, never, false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserStepperComponent, "app-move-user-stepper", never, { "user": "user"; "customerId": "customerId"; "host": "host"; }, { "done": "done"; "runMoveUser": "runMoveUser"; "cancel": "cancel"; }, never, never, false, never>;
55
57
  }
@@ -5,6 +5,7 @@ export declare class MoveUserWizardComponent {
5
5
  dnsService: DnsService;
6
6
  user: any;
7
7
  customerId: number;
8
+ host: string;
8
9
  closeMoveUserWizard: EventEmitter<any>;
9
10
  done: EventEmitter<any>;
10
11
  runMoveUser: EventEmitter<any>;
@@ -13,5 +14,5 @@ export declare class MoveUserWizardComponent {
13
14
  onClose(): void;
14
15
  onRunMoveUser(): void;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MoveUserWizardComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserWizardComponent, "app-move-user-wizard", never, { "user": "user"; "customerId": "customerId"; }, { "closeMoveUserWizard": "closeMoveUserWizard"; "done": "done"; "runMoveUser": "runMoveUser"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserWizardComponent, "app-move-user-wizard", never, { "user": "user"; "customerId": "customerId"; "host": "host"; }, { "closeMoveUserWizard": "closeMoveUserWizard"; "done": "done"; "runMoveUser": "runMoveUser"; }, never, never, false, never>;
17
18
  }
@@ -37,6 +37,7 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
37
37
  showMoveUserWizard: boolean;
38
38
  moveUserPending: boolean;
39
39
  private subscriptions;
40
+ showPaginator: boolean;
40
41
  activeSearchToken: string;
41
42
  activeUserType: USER_TYPES_TYPE;
42
43
  readonly ON_PREM_ID = 2542;
@@ -55,11 +56,14 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
55
56
  pageNumberChangeEvent(perPageNumber: number): void;
56
57
  closeMoveUserWizard(afterUserMove?: boolean): void;
57
58
  pageEvent(event: PageEvent): void;
58
- onUserClick(user: ListUser): void;
59
+ onUserClick(user: ListUser, type?: 'webex' | 'di' | 'ucm'): void;
59
60
  moveUserToMT(user: ListUser): void;
60
61
  moveUserToDI(user: ListUser, index: number): void;
61
62
  private removeUserInMigrationProgress;
62
63
  private setStatusToUser;
64
+ private hasWebexUUID;
65
+ private normalizeUsersForHybrid;
66
+ private setUsers;
63
67
  private initializeDataSource;
64
68
  private setUserRole;
65
69
  private setRandomUserRole;
@@ -92,6 +96,7 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
92
96
  private getUserIndexById;
93
97
  private setOriginalUserStatus;
94
98
  private subscribeToUpgradeUsersStatus;
99
+ private setShowPaginator;
95
100
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersListComponent, never>;
96
101
  static ɵcmp: i0.ɵɵComponentDeclaration<UsersListComponent, "app-users-list", never, { "token": "token"; "customerId": "customerId"; "siteId": "siteId"; "host": "host"; }, { "openUser": "openUser"; "userMoved": "userMoved"; "switchToWizard": "switchToWizard"; "createUserRequested": "createUserRequested"; }, never, never, false, never>;
97
102
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tuki-io/tuki-widgets/workspaces" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/workspaces.module';
2
+ export * from './src/workspaces.component';
@@ -0,0 +1,14 @@
1
+ export declare const API: {
2
+ WORKSPACES: {
3
+ GET_ALL: string;
4
+ };
5
+ MIGRATION: {
6
+ MOVE: string;
7
+ MIGRATION_FORM: string;
8
+ MIGRATION_FORM_ENTITIES_MIGRATED: string;
9
+ TRIGGER_FIRMWARE_MIGRATION: string;
10
+ REMOVE_UCM_LICENSE: string;
11
+ WEBEX_REVERT: string;
12
+ };
13
+ };
14
+ export declare const ON_PREM_ID = 2542;
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export interface WorkspaceConfirmDialogConfig {
5
+ title: string;
6
+ message: string;
7
+ confirmButtonText: string;
8
+ }
9
+ export declare class WorkspaceConfirmDialogComponent implements OnInit {
10
+ dialogRef: MatDialogRef<WorkspaceConfirmDialogComponent>;
11
+ data: WorkspaceConfirmDialogConfig;
12
+ confirmButtonText: string;
13
+ message: string;
14
+ title: string;
15
+ constructor(dialogRef: MatDialogRef<WorkspaceConfirmDialogComponent>, data: WorkspaceConfirmDialogConfig);
16
+ ngOnInit(): void;
17
+ onClose(result: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceConfirmDialogComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceConfirmDialogComponent, "tk-workspace-confirm-dialog", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,23 @@
1
+ import { Location } from '@angular/common';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
+ import { Workspace, WorkspaceDetails } from '../../types/workspace';
4
+ import { WorkspaceDetailService } from '../../services/workspace-detail.service';
5
+ import * as i0 from "@angular/core";
6
+ export type WorkspaceDetailTab = 'overview' | 'calling';
7
+ export declare class WorkspaceDetailComponent implements OnInit {
8
+ private workspaceDetailService;
9
+ private location;
10
+ workspace: Workspace;
11
+ back: EventEmitter<void>;
12
+ activeTab: WorkspaceDetailTab;
13
+ details: WorkspaceDetails | null;
14
+ constructor(workspaceDetailService: WorkspaceDetailService, location: Location);
15
+ ngOnInit(): void;
16
+ get deviceName(): string;
17
+ resolveIcon(model?: string): string;
18
+ selectTab(tab: WorkspaceDetailTab): void;
19
+ onBack(): void;
20
+ private updateUrl;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; }, { "back": "back"; }, never, never, false, never>;
23
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspacesFiltersComponent {
4
+ resultCount: number;
5
+ typeOptions: string[];
6
+ locationOptions: string[];
7
+ searchChange: EventEmitter<string>;
8
+ typeChange: EventEmitter<string>;
9
+ locationChange: EventEmitter<string>;
10
+ addWorkspace: EventEmitter<void>;
11
+ searchTerm: string;
12
+ selectedType: string;
13
+ selectedLocation: string;
14
+ onSearchInputChange(event: Event): void;
15
+ onTypeChange(value: string): void;
16
+ onLocationChange(value: string): void;
17
+ onAddWorkspace(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesFiltersComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesFiltersComponent, "tk-workspaces-filters", never, { "resultCount": "resultCount"; "typeOptions": "typeOptions"; "locationOptions": "locationOptions"; }, { "searchChange": "searchChange"; "typeChange": "typeChange"; "locationChange": "locationChange"; "addWorkspace": "addWorkspace"; }, never, never, false, never>;
20
+ }
@@ -0,0 +1,39 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { PageEvent } from '@angular/material/paginator';
3
+ import { Workspace } from '../../types/workspace';
4
+ import * as i0 from "@angular/core";
5
+ export interface WorkspacesPageChange {
6
+ pageIndex: number;
7
+ pageSize: number;
8
+ }
9
+ export declare class WorkspacesTableComponent {
10
+ workspaces: Workspace[];
11
+ total: number;
12
+ pageIndex: number;
13
+ pageSize: number;
14
+ pageSizeOptions: number[];
15
+ pendingWorkspaceIds: Set<string>;
16
+ openWorkspace: EventEmitter<string>;
17
+ licenseWithHybrid: EventEmitter<Workspace>;
18
+ migrateToMT: EventEmitter<Workspace>;
19
+ enableWebexCalling: EventEmitter<Workspace>;
20
+ migrateToUCM: EventEmitter<Workspace>;
21
+ addDevice: EventEmitter<string>;
22
+ pageChange: EventEmitter<WorkspacesPageChange>;
23
+ selectedIds: Set<string>;
24
+ get allSelected(): boolean;
25
+ get someSelected(): boolean;
26
+ toggleAll(): void;
27
+ toggleRow(workspaceId: string): void;
28
+ isSelected(workspaceId: string): boolean;
29
+ onOpenWorkspace(workspace: Workspace): void;
30
+ onAddDevice(workspace: Workspace, event: Event): void;
31
+ onPage(event: PageEvent): void;
32
+ getDeviceIcon(model?: string): string;
33
+ isPending(workspaceId: string): boolean;
34
+ isMoveToMTDisabled(workspace: Workspace): boolean;
35
+ isEnableWebexCallingDisabled(workspace: Workspace): boolean;
36
+ isMigrateToUCMDisabled(workspace: Workspace): boolean;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesTableComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesTableComponent, "tk-workspaces-table", never, { "workspaces": "workspaces"; "total": "total"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "pendingWorkspaceIds": "pendingWorkspaceIds"; }, { "openWorkspace": "openWorkspace"; "licenseWithHybrid": "licenseWithHybrid"; "migrateToMT": "migrateToMT"; "enableWebexCalling": "enableWebexCalling"; "migrateToUCM": "migrateToUCM"; "addDevice": "addDevice"; "pageChange": "pageChange"; }, never, never, false, never>;
39
+ }
@@ -0,0 +1,16 @@
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/menu";
9
+ import * as i8 from "@angular/material/paginator";
10
+ import * as i9 from "@angular/material/tooltip";
11
+ import * as i10 from "@angular/material/dialog";
12
+ export declare class MaterialModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
14
+ 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.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatTooltipModule, typeof i10.MatDialogModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatTooltipModule, typeof i10.MatDialogModule]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
16
+ }
@@ -0,0 +1,6 @@
1
+ import { APIService } from './api.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ApiWebexService extends APIService {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiWebexService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiWebexService>;
6
+ }
@@ -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,8 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Workspace, WorkspaceDetails } from '../types/workspace';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WorkspaceDetailService {
5
+ getByWorkspace(workspace: Workspace): Observable<WorkspaceDetails>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspaceDetailService>;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { Observable } from 'rxjs';
2
+ import { WorkspaceDeviceRecord } from '../types/workspace';
3
+ import { ApiWebexService } from './api-webex.service';
4
+ import * as i0 from "@angular/core";
5
+ export type FirmwareDeviceMap = Record<number, Record<string, string[]>>;
6
+ export declare class WorkspacesMigrationService {
7
+ private apiWebexService;
8
+ constructor(apiWebexService: ApiWebexService);
9
+ moveToMT(customerId: string | number, device: WorkspaceDeviceRecord): Observable<any>;
10
+ getMigrationFormStatus(customerId: string | number, formId: number): Observable<any>;
11
+ getMigratedMigrationFormEntities(customerId: string | number, webexUUID: string, feature?: string): Observable<any>;
12
+ triggerFirmwareUpgrade(customerId: string | number, migrationFormId: number, deviceMap: FirmwareDeviceMap): Observable<any>;
13
+ removeUcmLicense(customerId: string | number, migrationFormId: number, controlHubType?: string): Observable<any>;
14
+ revertMigration(customerId: string | number, personId: string): Observable<any>;
15
+ private getMoveBody;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesMigrationService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspacesMigrationService>;
18
+ }
@@ -0,0 +1,11 @@
1
+ import { Observable } from 'rxjs';
2
+ import { APIService } from './api.service';
3
+ import { WorkspacesPage } from '../types/workspace';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WorkspacesService {
6
+ private apiService;
7
+ constructor(apiService: APIService);
8
+ fetchWorkspaces(customerId: string | number, size?: number, page?: number): Observable<WorkspacesPage>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspacesService>;
11
+ }
@@ -0,0 +1,161 @@
1
+ export interface WorkspaceAssociatedDirectoryNumber {
2
+ directoryNumber: string;
3
+ routePartitionName: string;
4
+ pkid: string | null;
5
+ dnType: string | null;
6
+ subType: string | null;
7
+ }
8
+ export interface WorkspaceLineAssociation {
9
+ linePkid: string | null;
10
+ index: number | null;
11
+ position: number | null;
12
+ }
13
+ export interface WorkspaceSite {
14
+ id: number;
15
+ name: string;
16
+ }
17
+ export interface WorkspaceDeviceAssociation {
18
+ deviceId: string;
19
+ mac: string;
20
+ model: string;
21
+ }
22
+ export interface WorkspaceDeviceRecord {
23
+ name: string;
24
+ newName: string;
25
+ pkid: string | null;
26
+ entityChangeType: string | null;
27
+ deviceType: string | null;
28
+ activeLoadId: string | null;
29
+ associatedDNs: WorkspaceAssociatedDirectoryNumber[];
30
+ authenticationMode: string | null;
31
+ authenticationString: string | null;
32
+ builtInBridge: string | null;
33
+ busyLampFields: unknown[];
34
+ buttonTemplate: string | null;
35
+ callingSearchSpaceName: string | null;
36
+ certificateOperation: string | null;
37
+ certificateStatus: string | null;
38
+ changedLineAppEntity: string | null;
39
+ changedMeetMeEntity: string | null;
40
+ commonPhoneConfigName: string | null;
41
+ ctiRemoteDevice: boolean;
42
+ cucmId: string | null;
43
+ customerId: number;
44
+ description: string | null;
45
+ devicePoolName: string | null;
46
+ deviceRegStatus: string | null;
47
+ deviceSecurityMode: string | null;
48
+ enabledExtensionMobility: boolean;
49
+ excludeDeviceExtraOptions: boolean;
50
+ extraOptions: unknown | null;
51
+ firmwareVersion: string | null;
52
+ firstExpansionModule: string | null;
53
+ intercomLineAssociations: unknown[];
54
+ ipAddress: string | null;
55
+ lastRegTime: string | null;
56
+ lineAssociations: WorkspaceLineAssociation[];
57
+ lines: unknown[];
58
+ location: string | null;
59
+ meetMeEnabled: boolean;
60
+ networkLocale: string | null;
61
+ operationCompletesBy: string | null;
62
+ ownerUserId: string | null;
63
+ plarDevice: boolean;
64
+ protocol: string | null;
65
+ provisioningStatus: string | null;
66
+ reroutingCss: string | null;
67
+ rsaKeySize: string | null;
68
+ secondExpansionModule: string | null;
69
+ securityProfile: string | null;
70
+ securityProfileUuid: string | null;
71
+ selectedDevicesAarSettings: unknown[];
72
+ selectedDevicesAdditionalInfos: unknown[];
73
+ selectedDevicesDndSettings: unknown[];
74
+ selectedDevicesExternalDataLocations: unknown[];
75
+ selectedDevicesGeneralInfos: unknown[];
76
+ selectedDevicesMediaSettings: unknown[];
77
+ selectedDevicesMlppInfos: unknown[];
78
+ selectedDevicesNumberPresentations: unknown[];
79
+ selectedDevicesPhoneSpecifics: unknown[];
80
+ selectedDevicesProtocolSpecifics: unknown[];
81
+ selectedIndex: number;
82
+ services: string[];
83
+ sharedUsers: string[];
84
+ sipProfile: string | null;
85
+ siteId: number;
86
+ siteName: string | null;
87
+ softkeyTemplate: string | null;
88
+ speedDials: unknown[];
89
+ subscribeCallingSearchSpaceName: string | null;
90
+ thirdExpansionModule: string | null;
91
+ unSupportedForSD: unknown | null;
92
+ userDeviceType: string | null;
93
+ userLocale: string | null;
94
+ voicemailEnabled: boolean;
95
+ webexUUID: string | null;
96
+ withUdp: boolean;
97
+ }
98
+ export interface WorkspaceListItem {
99
+ device: WorkspaceDeviceRecord;
100
+ lines: unknown[];
101
+ site: WorkspaceSite | null;
102
+ workspaceDevices: WorkspaceDeviceAssociation[];
103
+ }
104
+ export interface WorkspacesResponse {
105
+ total: number;
106
+ pageData: WorkspaceListItem[];
107
+ }
108
+ export type WorkspaceStatus = 'active' | 'inactive' | 'unavailable';
109
+ export interface WorkspaceDevice {
110
+ id: string;
111
+ kind: 'device' | 'person';
112
+ label: string;
113
+ initials?: string;
114
+ color?: string;
115
+ model?: string;
116
+ }
117
+ export interface WorkspacesPage {
118
+ workspaces: Workspace[];
119
+ total: number;
120
+ }
121
+ export interface Workspace {
122
+ id: string;
123
+ displayName: string;
124
+ typeLabel: string;
125
+ capacity: number | null;
126
+ location: string;
127
+ devices: WorkspaceDevice[];
128
+ scheduling: string;
129
+ callingLicense: string;
130
+ provisioningType: string;
131
+ status: WorkspaceStatus;
132
+ statusLabel: string;
133
+ device: WorkspaceDeviceRecord;
134
+ isHybrid: boolean;
135
+ }
136
+ export interface WorkspaceIssue {
137
+ id: string;
138
+ message: string;
139
+ timestamp: string;
140
+ actionLabel: string;
141
+ }
142
+ export interface WorkspaceLocationDetails {
143
+ country: string;
144
+ address: string;
145
+ }
146
+ export interface WorkspaceCallingDetails {
147
+ license: string;
148
+ sipAddress: string;
149
+ directoryNumber: string;
150
+ routePartition: string;
151
+ callingSearchSpace: string;
152
+ securityProfile: string;
153
+ }
154
+ export interface WorkspaceDetails {
155
+ issues: WorkspaceIssue[];
156
+ location: WorkspaceLocationDetails;
157
+ calling: WorkspaceCallingDetails;
158
+ schedulingConfigured: boolean;
159
+ plannedMaintenanceEnabled: boolean;
160
+ notes: string | null;
161
+ }
@@ -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 @@
1
+ export declare function getDeviceIcon(model?: string): string;
@@ -0,0 +1,71 @@
1
+ import { Location } from '@angular/common';
2
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { APIService } from './services/api.service';
5
+ import { ApiWebexService } from './services/api-webex.service';
6
+ import { WorkspacesMigrationService } from './services/workspaces-migration.service';
7
+ import { WorkspacesService } from './services/workspaces.service';
8
+ import { Workspace } from './types/workspace';
9
+ import * as i0 from "@angular/core";
10
+ type WorkspacesView = 'list' | 'detail';
11
+ type WorkspacesTab = 'workspaces' | 'insights' | 'integrations' | 'settings';
12
+ interface WorkspacesTabDefinition {
13
+ id: WorkspacesTab;
14
+ label: string;
15
+ icon: string;
16
+ }
17
+ export declare class WorkspacesComponent implements OnInit, OnDestroy {
18
+ private apiService;
19
+ private apiWebexService;
20
+ private workspacesService;
21
+ private migrationService;
22
+ private dialog;
23
+ private location;
24
+ host: string;
25
+ token: string;
26
+ customerId: string;
27
+ addWorkspace: EventEmitter<void>;
28
+ openWorkspace: EventEmitter<string>;
29
+ addDevice: EventEmitter<string>;
30
+ readonly tabs: WorkspacesTabDefinition[];
31
+ activeTab: WorkspacesTab;
32
+ view: WorkspacesView;
33
+ selectedWorkspace: Workspace | null;
34
+ workspaces: Workspace[];
35
+ isLoading: boolean;
36
+ pageIndex: number;
37
+ pageSize: number;
38
+ total: number;
39
+ searchTerm: string;
40
+ typeFilter: string;
41
+ locationFilter: string;
42
+ pendingWorkspaceIds: Set<string>;
43
+ private readonly subscriptions;
44
+ constructor(apiService: APIService, apiWebexService: ApiWebexService, workspacesService: WorkspacesService, migrationService: WorkspacesMigrationService, dialog: MatDialog, location: Location);
45
+ ngOnInit(): void;
46
+ ngOnDestroy(): void;
47
+ get typeOptions(): string[];
48
+ get locationOptions(): string[];
49
+ get filteredWorkspaces(): Workspace[];
50
+ selectTab(tab: WorkspacesTab): void;
51
+ onOpenWorkspace(id: string): void;
52
+ onBackToList(): void;
53
+ onSearchChange(term: string): void;
54
+ onTypeFilterChange(type: string): void;
55
+ onLocationFilterChange(location: string): void;
56
+ onPageChange({ pageIndex, pageSize }: {
57
+ pageIndex: number;
58
+ pageSize: number;
59
+ }): void;
60
+ onMoveToMT(workspace: Workspace): void;
61
+ onEnableWebexCalling(workspace: Workspace): void;
62
+ onMigrateToUCM(workspace: Workspace): void;
63
+ private pollMigrationFormStatus;
64
+ private buildFirmwareDeviceMap;
65
+ private normalizeMigrationStatus;
66
+ private isTerminalMigrationStatus;
67
+ private fetchWorkspaces;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesComponent, "tk-workspaces", never, { "host": "host"; "token": "token"; "customerId": "customerId"; }, { "addWorkspace": "addWorkspace"; "openWorkspace": "openWorkspace"; "addDevice": "addDevice"; }, never, never, false, never>;
70
+ }
71
+ export {};
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./workspaces.component";
3
+ import * as i2 from "./components/workspaces-filters/workspaces-filters.component";
4
+ import * as i3 from "./components/workspaces-table/workspaces-table.component";
5
+ import * as i4 from "./components/workspace-detail/workspace-detail.component";
6
+ import * as i5 from "./components/workspace-confirm-dialog/workspace-confirm-dialog.component";
7
+ import * as i6 from "./utils/app-loader/app-loader";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/common/http";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "./material.module";
12
+ export declare class WorkspacesModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WorkspacesModule, [typeof i1.WorkspacesComponent, typeof i2.WorkspacesFiltersComponent, typeof i3.WorkspacesTableComponent, typeof i4.WorkspaceDetailComponent, typeof i5.WorkspaceConfirmDialogComponent, typeof i6.AppLoaderComponent], [typeof i7.CommonModule, typeof i8.HttpClientModule, typeof i9.FormsModule, typeof i10.MaterialModule], [typeof i1.WorkspacesComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<WorkspacesModule>;
16
+ }