@tuki-io/tuki-widgets 0.0.219-dev.46 → 0.0.219-dev.48

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 (221) hide show
  1. package/README.md +24 -24
  2. package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +1 -1
  3. package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
  4. package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +3 -3
  5. package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
  6. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
  7. package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
  8. package/esm2020/lib/widgets.component.mjs +9 -9
  9. package/esm2020/lib/widgets.module.mjs +1 -1
  10. package/esm2020/lib/widgets.service.mjs +1 -1
  11. package/esm2020/locations/public-api.mjs +1 -1
  12. package/esm2020/locations/src/app.constants.mjs +1 -1
  13. package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +3 -3
  14. package/esm2020/locations/src/locations.component.mjs +7 -7
  15. package/esm2020/locations/src/locations.module.mjs +1 -1
  16. package/esm2020/locations/src/material.module.mjs +1 -1
  17. package/esm2020/locations/src/services/api.service.mjs +1 -1
  18. package/esm2020/locations/src/services/locations.service.mjs +1 -1
  19. package/esm2020/locations/src/types/location.mjs +1 -1
  20. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +3 -3
  21. package/esm2020/meetings/src/app.constants.mjs +1 -1
  22. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
  23. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
  24. package/esm2020/meetings/src/meetings.component.mjs +3 -3
  25. package/esm2020/meetings/src/meetings.module.mjs +1 -1
  26. package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
  27. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
  28. package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
  29. package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
  30. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
  31. package/esm2020/public-api.mjs +1 -1
  32. package/esm2020/user-creation/src/app.constants.mjs +1 -1
  33. package/esm2020/user-creation/src/classes/notification.mjs +1 -1
  34. package/esm2020/user-creation/src/classes/site.mjs +1 -1
  35. package/esm2020/user-creation/src/environments/environment.mjs +1 -1
  36. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
  37. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
  38. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
  39. package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
  40. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
  41. package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
  42. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
  43. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
  44. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
  45. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
  46. package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
  47. package/esm2020/user-creation/src/utils/model.mjs +1 -1
  48. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
  49. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
  50. package/esm2020/user-device-manage/public-api.mjs +1 -1
  51. package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
  52. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  53. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  54. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
  55. package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
  56. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
  57. package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
  58. package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
  59. package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
  60. package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
  61. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  62. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
  63. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
  64. package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
  65. package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
  66. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
  67. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
  68. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
  69. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
  70. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
  71. package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
  72. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
  73. package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
  74. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
  75. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  76. package/esm2020/user-device-manage/src/material.module.mjs +1 -1
  77. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
  78. package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
  79. package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
  80. package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
  81. package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
  82. package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
  83. package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
  84. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  85. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
  86. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
  87. package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
  88. package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
  89. package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
  90. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
  91. package/esm2020/user-manage/public-api.mjs +1 -1
  92. package/esm2020/user-manage/src/app.constants.mjs +1 -1
  93. package/esm2020/user-manage/src/classes/device.mjs +1 -1
  94. package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
  95. package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
  96. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
  97. package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
  98. package/esm2020/user-manage/src/classes/line.mjs +1 -1
  99. package/esm2020/user-manage/src/classes/notification.mjs +1 -1
  100. package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
  101. package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
  102. package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
  103. package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
  104. package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
  105. package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
  106. package/esm2020/user-manage/src/common-functions.mjs +1 -1
  107. package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
  108. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
  109. package/esm2020/user-manage/src/environments/environment.mjs +1 -1
  110. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
  111. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  112. package/esm2020/user-manage/src/material.module.mjs +1 -1
  113. package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
  114. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
  115. package/esm2020/user-manage/src/services/api.service.mjs +1 -1
  116. package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
  117. package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
  118. package/esm2020/user-manage/src/services/line.service.mjs +1 -1
  119. package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
  120. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  121. package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
  122. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
  123. package/esm2020/user-manage/src/services/user.service.mjs +1 -1
  124. package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
  125. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
  126. package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
  127. package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
  128. package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
  129. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
  130. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
  131. package/esm2020/users-list/public-api.mjs +1 -1
  132. package/esm2020/users-list/src/app.constants.mjs +1 -1
  133. package/esm2020/users-list/src/classes/app-location.mjs +1 -1
  134. package/esm2020/users-list/src/classes/device.mjs +1 -1
  135. package/esm2020/users-list/src/classes/line.mjs +1 -1
  136. package/esm2020/users-list/src/classes/move-user.mjs +1 -1
  137. package/esm2020/users-list/src/classes/notification.mjs +1 -1
  138. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  139. package/esm2020/users-list/src/classes/table-data.mjs +1 -1
  140. package/esm2020/users-list/src/classes/user-list.mjs +1 -1
  141. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
  142. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
  143. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
  144. package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
  145. package/esm2020/users-list/src/services/api.service.mjs +1 -1
  146. package/esm2020/users-list/src/services/dns.service.mjs +1 -1
  147. package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
  148. package/esm2020/users-list/src/services/notification.service.mjs +1 -1
  149. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
  150. package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
  151. package/esm2020/users-list/src/services/user.service.mjs +1 -1
  152. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
  153. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
  154. package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
  155. package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
  156. package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
  157. package/esm2020/workspaces/public-api.mjs +1 -1
  158. package/esm2020/workspaces/src/app.constants.mjs +13 -1
  159. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +9 -4
  160. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +3 -3
  161. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +13 -3
  162. package/esm2020/workspaces/src/material.module.mjs +1 -1
  163. package/esm2020/workspaces/src/services/api.service.mjs +1 -1
  164. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +95 -27
  165. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +1 -1
  166. package/esm2020/workspaces/src/services/workspaces.service.mjs +26 -11
  167. package/esm2020/workspaces/src/types/workspace.mjs +1 -1
  168. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +3 -3
  169. package/esm2020/workspaces/src/utils/device-icon.mjs +1 -1
  170. package/esm2020/workspaces/src/utils/workspace-name.mjs +8 -0
  171. package/esm2020/workspaces/src/workspaces.component.mjs +20 -11
  172. package/esm2020/workspaces/src/workspaces.module.mjs +1 -1
  173. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  174. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  175. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  176. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  177. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +10 -10
  178. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  179. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
  180. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  181. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  182. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  183. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  184. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  185. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  186. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  187. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +12 -12
  188. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  189. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +170 -57
  190. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  191. package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
  192. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
  193. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  194. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  195. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  196. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  197. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +10 -10
  198. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  199. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
  200. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  201. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  202. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  203. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  204. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  205. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  206. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  207. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +12 -12
  208. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  209. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +175 -55
  210. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  211. package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
  212. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
  213. package/package.json +1 -1
  214. package/workspaces/src/app.constants.d.ts +11 -0
  215. package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +2 -1
  216. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +2 -0
  217. package/workspaces/src/services/workspace-detail.service.d.ts +14 -2
  218. package/workspaces/src/services/workspaces.service.d.ts +1 -1
  219. package/workspaces/src/types/workspace.d.ts +250 -0
  220. package/workspaces/src/utils/workspace-name.d.ts +1 -0
  221. package/workspaces/src/workspaces.component.d.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"tuki-io-tuki-widgets.mjs","sources":["../../../../projects/tuki/widgets/src/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetsService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-widgets',\n template: `\n <p>\n widgets works!\n </p>\n `,\n styles: [\n ]\n})\nexport class WidgetsComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { WidgetsComponent } from './widgets.component';\n\n\n\n@NgModule({\n declarations: [\n WidgetsComponent\n ],\n imports: [\n ],\n exports: [\n WidgetsComponent\n ]\n})\nexport class WidgetsModule { }\n","/*\n * Public API Surface of widgets\n */\n\nexport * from './lib/widgets.service';\nexport * from './lib/widgets.component';\nexport * from './lib/widgets.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,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/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WidgetsService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-widgets',\r\n template: `\r\n <p>\r\n widgets works!\r\n </p>\r\n `,\r\n styles: [\r\n ]\r\n})\r\nexport class WidgetsComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { WidgetsComponent } from './widgets.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n WidgetsComponent\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n WidgetsComponent\r\n ]\r\n})\r\nexport class WidgetsModule { }\r\n","/*\r\n * Public API Surface of widgets\r\n */\r\n\r\nexport * from './lib/widgets.service';\r\nexport * from './lib/widgets.component';\r\nexport * from './lib/widgets.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IA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ED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.46",
3
+ "version": "0.0.219-dev.48",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -10,5 +10,16 @@ export declare const API: {
10
10
  REMOVE_UCM_LICENSE: string;
11
11
  WEBEX_REVERT: string;
12
12
  };
13
+ DETAILS: {
14
+ CUCM: {
15
+ WORKSPACE: string;
16
+ SITE: string;
17
+ };
18
+ WEBEX: {
19
+ WORKSPACE: string;
20
+ NUMBERS: string;
21
+ CALLERID: string;
22
+ };
23
+ };
13
24
  };
14
25
  export declare const ON_PREM_ID = 2542;
@@ -9,6 +9,7 @@ export declare class WorkspaceDetailComponent implements OnInit {
9
9
  private location;
10
10
  workspace: Workspace;
11
11
  connectionType: WorkspaceConnectionType;
12
+ customerId: string;
12
13
  back: EventEmitter<void>;
13
14
  activeTab: WorkspaceDetailTab;
14
15
  details: WorkspaceDetails | null;
@@ -20,5 +21,5 @@ export declare class WorkspaceDetailComponent implements OnInit {
20
21
  onBack(): void;
21
22
  private updateUrl;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; "connectionType": "connectionType"; }, { "back": "back"; }, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; "connectionType": "connectionType"; "customerId": "customerId"; }, { "back": "back"; }, never, never, false, never>;
24
25
  }
@@ -27,10 +27,12 @@ export declare class WorkspacesTableComponent {
27
27
  toggleRow(workspaceId: string): void;
28
28
  isSelected(workspaceId: string): boolean;
29
29
  onOpenWorkspace(workspace: Workspace, connectionType?: WorkspaceConnectionType): void;
30
+ canOpenWorkspace(workspace: Workspace): boolean;
30
31
  private resolveConnectionType;
31
32
  onAddDevice(workspace: Workspace, event: Event): void;
32
33
  onPage(event: PageEvent): void;
33
34
  getDeviceIcon(model?: string): string;
35
+ getDisplayName(workspace: Workspace): string;
34
36
  isPending(workspaceId: string): boolean;
35
37
  isMoveToMTDisabled(workspace: Workspace): boolean;
36
38
  isEnableWebexCallingDisabled(workspace: Workspace): boolean;
@@ -1,8 +1,20 @@
1
1
  import { Observable } from 'rxjs';
2
- import { Workspace, WorkspaceDetails } from '../types/workspace';
2
+ import { ApiWebexService } from './api-webex.service';
3
+ import { APIService } from './api.service';
4
+ import { Workspace, WorkspaceConnectionType, WorkspaceDetails } from '../types/workspace';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class WorkspaceDetailService {
5
- getByWorkspace(workspace: Workspace): Observable<WorkspaceDetails>;
7
+ private apiService;
8
+ private apiWebexService;
9
+ constructor(apiService: APIService, apiWebexService: ApiWebexService);
10
+ getByWorkspace(workspace: Workspace, connectionType: WorkspaceConnectionType, customerId: string | number): Observable<WorkspaceDetails>;
11
+ private getWebexDetails;
12
+ private toWebexDetails;
13
+ private getCucmDetails;
14
+ private toCucmDetails;
15
+ private buildUrl;
16
+ private buildIssues;
17
+ private formatTimestamp;
6
18
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailService, never>;
7
19
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkspaceDetailService>;
8
20
  }
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class WorkspacesService {
6
6
  private apiService;
7
7
  constructor(apiService: APIService);
8
- fetchWorkspaces(customerId: string | number, size?: number, page?: number): Observable<WorkspacesPage>;
8
+ fetchWorkspaces(customerId: string | number): Observable<WorkspacesPage>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkspacesService>;
11
11
  }
@@ -124,6 +124,7 @@ export interface Workspace {
124
124
  typeLabel: string;
125
125
  capacity: number | null;
126
126
  location: string;
127
+ siteId: number | null;
127
128
  devices: WorkspaceDevice[];
128
129
  scheduling: string;
129
130
  callingLicense: string;
@@ -155,6 +156,8 @@ export interface WorkspaceCallingDetails {
155
156
  routePartition: string;
156
157
  callingSearchSpace: string;
157
158
  securityProfile: string;
159
+ externalCallerIdName?: string;
160
+ externalCallerIdNumber?: string;
158
161
  }
159
162
  export interface WorkspaceDetails {
160
163
  issues: WorkspaceIssue[];
@@ -163,4 +166,251 @@ export interface WorkspaceDetails {
163
166
  schedulingConfigured: boolean;
164
167
  plannedMaintenanceEnabled: boolean;
165
168
  notes: string | null;
169
+ capacity?: number | null;
170
+ }
171
+ export interface WebexWorkspaceDeviceSummary {
172
+ deviceId: string;
173
+ mac: string;
174
+ model: string;
175
+ registered: string | null;
176
+ }
177
+ export interface WebexWorkspaceDetailsResponse {
178
+ customerId: number;
179
+ capacity: number | null;
180
+ devices: WebexWorkspaceDeviceSummary[];
181
+ extensions: string[];
182
+ licenseName: string;
183
+ locationId: string;
184
+ locationName: string;
185
+ sipAddress: string;
186
+ type: string;
187
+ workspaceId: string;
188
+ workspaceName: string;
189
+ }
190
+ export interface WebexNumberLocation {
191
+ id: string;
192
+ name: string;
193
+ orgId: string;
194
+ address: string | null;
195
+ announcementLanguage: string | null;
196
+ city: string | null;
197
+ country: string | null;
198
+ emailLanguage: string | null;
199
+ postalCode: string | null;
200
+ preferredLanguage: string | null;
201
+ state: string | null;
202
+ timeZone: string | null;
203
+ }
204
+ export interface WebexNumberOrganization {
205
+ id: string;
206
+ name: string;
207
+ }
208
+ export interface WebexPhoneNumber {
209
+ esn: string | null;
210
+ extension: string | null;
211
+ external: string | null;
212
+ primary: boolean;
213
+ workspace?: {
214
+ id: string;
215
+ };
216
+ }
217
+ export interface WebexNumbersResponse {
218
+ phoneNumbers: WebexPhoneNumber[];
219
+ location: WebexNumberLocation;
220
+ organization: WebexNumberOrganization;
221
+ }
222
+ export interface WebexCallerIdResponse {
223
+ types: string[];
224
+ selected: string;
225
+ blockInForwardCallsEnabled: boolean;
226
+ customExternalCallerIdName: string | null;
227
+ customNumber: string | null;
228
+ customerNumber: string | null;
229
+ directNumber: string | null;
230
+ displayDetail: string | null;
231
+ displayName: string | null;
232
+ externalCallerIdNamePolicy: string | null;
233
+ locationExternalCallerIdName: string | null;
234
+ locationNumber: string | null;
235
+ tollFreeLocationNumber: boolean;
236
+ }
237
+ export interface CucmCallInfoDisplay {
238
+ callerName: string;
239
+ callerNumber: string;
240
+ redirectedNumber: string;
241
+ dialedNumber: string;
242
+ }
243
+ export interface CucmLineAssociation {
244
+ linePkid: string | null;
245
+ index: number | null;
246
+ position: number | null;
247
+ directoryNumber: WorkspaceAssociatedDirectoryNumber;
248
+ e164Mask: string | null;
249
+ textLabel: string | null;
250
+ displayLabel: string | null;
251
+ displayLabelAscii: string | null;
252
+ maxNumberOfCalls: number | null;
253
+ busyTrigger: number | null;
254
+ recordingOption: string | null;
255
+ recordingProfile: string | null;
256
+ recordingMediaSource: string | null;
257
+ visualMWI: string | null;
258
+ audibleMWI: string | null;
259
+ ringSetting_idle: string | null;
260
+ ringSetting_active: string | null;
261
+ pickupAAS_idle: string | null;
262
+ pickupAAS_active: string | null;
263
+ monitorCSS: string | null;
264
+ logMissedCall: string | null;
265
+ callInfoDisplay: CucmCallInfoDisplay;
266
+ lineLocalId: string | null;
267
+ didPattern: unknown | null;
268
+ sharedDevices: unknown[];
269
+ sharedUsers: unknown[];
270
+ ownerUserId: unknown[];
271
+ associated: unknown | null;
272
+ patternUsage: unknown | null;
273
+ alertingName: string | null;
274
+ populateWithDid: boolean;
275
+ }
276
+ export interface CucmService {
277
+ name: string;
278
+ telecasterServiceName: string;
279
+ }
280
+ export interface CucmDeviceDetails extends Omit<WorkspaceDeviceRecord, 'lineAssociations' | 'services'> {
281
+ lineAssociations: CucmLineAssociation[];
282
+ services: CucmService[];
283
+ }
284
+ export interface CucmCallForwardSetting {
285
+ forwardToVoiceMail: boolean | null;
286
+ destination: string | null;
287
+ callingSearchSpace: string | null;
288
+ duration: number | null;
289
+ }
290
+ export interface CucmAarSettings {
291
+ aarDestinationMask: string | null;
292
+ aarGroup: string | null;
293
+ aarVoiceMailEnabled: boolean;
294
+ aarKeepCallHistory: boolean;
295
+ }
296
+ export interface CucmParkMonitoring {
297
+ destination: string | null;
298
+ callingSearchSpace: string | null;
299
+ voiceMail: boolean;
300
+ }
301
+ export interface CucmDidPattern {
302
+ pkid: string | null;
303
+ pattern: string | null;
304
+ newPattern: string | null;
305
+ calledPartyTransformationMask: string | null;
306
+ description: string | null;
307
+ useOriginatorCss: unknown | null;
308
+ callingSearchSpaceName: string | null;
309
+ routePartitionName: string | null;
310
+ newRoutePartitionName: string | null;
311
+ urgentPriority: boolean;
312
+ outgoingCalls: unknown | null;
313
+ }
314
+ export interface CucmLineDetails {
315
+ directoryNumber: WorkspaceAssociatedDirectoryNumber;
316
+ pkid: string | null;
317
+ description: string | null;
318
+ entityChangeType: string | null;
319
+ alertingName: string | null;
320
+ asciiAlertingName: string | null;
321
+ callingSearchSpace: string | null;
322
+ callForwardAll: CucmCallForwardSetting;
323
+ callForwardAllSecondaryCSS: CucmCallForwardSetting;
324
+ callForwardBusyInternal: CucmCallForwardSetting;
325
+ callForwardBusyExternal: CucmCallForwardSetting;
326
+ callForwardNoAnswerInternal: CucmCallForwardSetting;
327
+ callForwardNoAnswerExternal: CucmCallForwardSetting;
328
+ callForwardNoCoverageInternal: CucmCallForwardSetting;
329
+ callForwardNoCoverageExternal: CucmCallForwardSetting;
330
+ callForwardOnCTIFailure: CucmCallForwardSetting;
331
+ callForwardUnregisteredInternal: CucmCallForwardSetting;
332
+ callForwardUnregisteredExternal: CucmCallForwardSetting;
333
+ callForwardAlternateParty: CucmCallForwardSetting;
334
+ voiceMailProfile: string | null;
335
+ noAnswerRingDuration: number | null;
336
+ autoAnswer: string | null;
337
+ callPickupGroup: string | null;
338
+ aarSettings: CucmAarSettings;
339
+ parkMonitoringInternal: CucmParkMonitoring;
340
+ parkMonitoringExternal: CucmParkMonitoring;
341
+ urgentPriority: boolean;
342
+ blfPresenceGroup: string | null;
343
+ userHoldMOHAudioSourceId: string | null;
344
+ userHoldMOHAudioSourceName: string | null;
345
+ networkMOHAudioSourceId: string | null;
346
+ networkMOHAudioSourceName: string | null;
347
+ rejectAnonymousCall: boolean;
348
+ enterpriseAltNum: unknown | null;
349
+ e164AltNum: unknown | null;
350
+ directoryUris: unknown[];
351
+ mlppNoAnswerRingDuration: number | null;
352
+ confidentialAccessMode: unknown | null;
353
+ confidentialAccessLevel: unknown | null;
354
+ confidentialAccessLevelName: unknown | null;
355
+ callControlAgentProfile: unknown | null;
356
+ holdReversionRingDuration: number | null;
357
+ holdReversionNotificationInterval: number | null;
358
+ partyEntranceTone: string | null;
359
+ pstnFailover: string | null;
360
+ localId: string | null;
361
+ customerId: number;
362
+ cucmId: number;
363
+ siteId: number;
364
+ siteName: string | null;
365
+ location: string | null;
366
+ locationNames: string[];
367
+ selectedIndex: number;
368
+ didPatterns: CucmDidPattern[];
369
+ mappedDids: string[];
370
+ selectedLinesGeneralSettings: unknown[];
371
+ selectedLinesAssociatedSettings: unknown[];
372
+ selectedLinesMultipleCalls: unknown[];
373
+ selectedLinesCallRecordings: unknown[];
374
+ selectedLinesAdditionalSettings: unknown[];
375
+ selectedLinesForwardCalls: unknown[];
376
+ newToUser: boolean;
377
+ plarDestinationNumber: string | null;
378
+ prefixDigits: string | null;
379
+ plarDescription: string | null;
380
+ plarCss: string | null;
381
+ plarRoutePartition: string | null;
382
+ plarEnabled: boolean;
383
+ }
384
+ export interface CucmWorkspaceDetailsResponse {
385
+ device: CucmDeviceDetails;
386
+ lines: CucmLineDetails[];
387
+ site: WorkspaceSite | null;
388
+ workspaceDevices: WorkspaceDeviceAssociation[];
389
+ }
390
+ export interface CucmSiteCucInfo {
391
+ id: number;
392
+ name: string;
393
+ }
394
+ export interface CucmSiteCucmInfo {
395
+ platformType: string;
396
+ id: number;
397
+ name: string;
398
+ }
399
+ export interface CucmSiteResponse {
400
+ id: number;
401
+ name: string;
402
+ shortName: string;
403
+ address2: string | null;
404
+ address3: string | null;
405
+ country: string | null;
406
+ cuc: CucmSiteCucInfo | null;
407
+ cucm: CucmSiteCucmInfo | null;
408
+ hasActivated: boolean;
409
+ hqStatus: boolean;
410
+ isAfterTtu: boolean;
411
+ locationName: string;
412
+ prefetchDn: boolean;
413
+ settings: unknown[];
414
+ state: string | null;
415
+ timezone: string | null;
166
416
  }
@@ -0,0 +1 @@
1
+ export declare function withoutSep(name: string): string;
@@ -47,7 +47,9 @@ export declare class WorkspacesComponent implements OnInit, OnDestroy {
47
47
  ngOnDestroy(): void;
48
48
  get typeOptions(): string[];
49
49
  get locationOptions(): string[];
50
+ private get filteredWorkspacesAll();
50
51
  get filteredWorkspaces(): Workspace[];
52
+ get filteredTotal(): number;
51
53
  selectTab(tab: WorkspacesTab): void;
52
54
  onOpenWorkspace({ id, connectionType }: WorkspaceOpenEvent): void;
53
55
  onBackToList(): void;