@tuki-io/tuki-widgets 0.0.64 → 0.0.65

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 (655) hide show
  1. package/.editorconfig +16 -0
  2. package/.hintrc +14 -0
  3. package/.vscode/extensions.json +4 -0
  4. package/.vscode/launch.json +20 -0
  5. package/.vscode/tasks.json +42 -0
  6. package/README.md +10 -9
  7. package/angular.json +140 -0
  8. package/package.json +47 -65
  9. package/projects/tuki/widgets/README.md +24 -0
  10. package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +20 -0
  11. package/projects/tuki/widgets/di2mt/assets/icons/already_upgraded.png +0 -0
  12. package/projects/tuki/widgets/di2mt/assets/icons/check2_icon.png +0 -0
  13. package/projects/tuki/widgets/di2mt/assets/icons/check_icon.png +0 -0
  14. package/projects/tuki/widgets/di2mt/assets/icons/expand_icon.png +0 -0
  15. package/projects/tuki/widgets/di2mt/assets/icons/issue_icon.png +0 -0
  16. package/projects/tuki/widgets/di2mt/assets/icons/menu_icon.png +0 -0
  17. package/projects/tuki/widgets/di2mt/assets/icons/ready_to_upgrade.png +0 -0
  18. package/projects/tuki/widgets/di2mt/assets/icons/search_icon.png +0 -0
  19. package/projects/tuki/widgets/di2mt/assets/icons/site.png +0 -0
  20. package/projects/tuki/widgets/di2mt/assets/icons/user.png +0 -0
  21. package/projects/tuki/widgets/di2mt/assets/icons/warning_icon.png +0 -0
  22. package/projects/tuki/widgets/di2mt/ng-package.json +7 -0
  23. package/{di2mt/public-api.d.ts → projects/tuki/widgets/di2mt/public-api.ts} +12 -1
  24. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +11 -0
  25. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +48 -0
  26. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +10 -0
  27. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +15 -0
  28. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +38 -0
  29. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +71 -0
  30. package/{di2mt/shared/components/index.d.ts → projects/tuki/widgets/di2mt/shared/components/index.ts} +1 -1
  31. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.html +57 -0
  32. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +74 -0
  33. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +44 -0
  34. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +28 -0
  35. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.scss +55 -0
  36. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.ts +11 -0
  37. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.html +12 -0
  38. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.scss +76 -0
  39. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.ts +27 -0
  40. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.html +28 -0
  41. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +52 -0
  42. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.ts +28 -0
  43. package/projects/tuki/widgets/di2mt/shared/material.module.ts +36 -0
  44. package/projects/tuki/widgets/di2mt/shared/services/api.service.ts +92 -0
  45. package/projects/tuki/widgets/di2mt/shared/shared.module.ts +38 -0
  46. package/projects/tuki/widgets/di2mt/shared/types/constants.ts +14 -0
  47. package/projects/tuki/widgets/di2mt/shared/types/data-table.ts +5 -0
  48. package/projects/tuki/widgets/di2mt/shared/types/table/filter.ts +14 -0
  49. package/projects/tuki/widgets/di2mt/styles/tuki-widgets-theme.scss +13 -0
  50. package/projects/tuki/widgets/di2mt/styles/variables.scss +92 -0
  51. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +92 -0
  52. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +187 -0
  53. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +205 -0
  54. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +24 -0
  55. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +45 -0
  56. package/{di2mt/widgets/site-upgrade/types/user-upgrade.d.ts → projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts} +2 -1
  57. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +52 -0
  58. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +53 -0
  59. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +67 -0
  60. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +7 -0
  61. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
  62. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +45 -0
  63. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +7 -0
  64. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
  65. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +45 -0
  66. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +59 -0
  67. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +70 -0
  68. package/{di2mt/widgets/upgrade-overview/types/upgrade-overview.d.ts → projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts} +20 -18
  69. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +42 -0
  70. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +95 -0
  71. package/{di2mt/widgets/user-upgrade/types/user-upgrade.d.ts → projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts} +3 -1
  72. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +131 -0
  73. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +275 -0
  74. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +218 -0
  75. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +24 -0
  76. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +73 -0
  77. package/projects/tuki/widgets/karma.conf.js +44 -0
  78. package/projects/tuki/widgets/ng-package.json +7 -0
  79. package/projects/tuki/widgets/package.json +13 -0
  80. package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +23 -0
  81. package/projects/tuki/widgets/src/lib/widgets.component.ts +20 -0
  82. package/projects/tuki/widgets/src/lib/widgets.module.ts +16 -0
  83. package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +16 -0
  84. package/projects/tuki/widgets/src/lib/widgets.service.ts +9 -0
  85. package/{public-api.d.ts → projects/tuki/widgets/src/public-api.ts} +4 -0
  86. package/projects/tuki/widgets/src/test.ts +27 -0
  87. package/projects/tuki/widgets/styles.scss +572 -0
  88. package/projects/tuki/widgets/tsconfig.lib.json +36 -0
  89. package/projects/tuki/widgets/tsconfig.lib.prod.json +10 -0
  90. package/projects/tuki/widgets/tsconfig.spec.json +17 -0
  91. package/projects/tuki/widgets/user-device-manage/ng-package.json +7 -0
  92. package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +96 -0
  93. package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +5 -0
  94. package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +5 -0
  95. package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +3 -0
  96. package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +5 -0
  97. package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +3 -0
  98. package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +1 -0
  99. package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +3 -0
  100. package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +292 -0
  101. package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +50 -0
  102. package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +177 -0
  103. package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +21 -0
  104. package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +41 -0
  105. package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +144 -0
  106. package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +40 -0
  107. package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +6 -0
  108. package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +169 -0
  109. package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +167 -0
  110. package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +50 -0
  111. package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +19 -0
  112. package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +225 -0
  113. package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +8 -0
  114. package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +16 -0
  115. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +14 -0
  116. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +80 -0
  117. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +35 -0
  118. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +21 -0
  119. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +97 -0
  120. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +28 -0
  121. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +6 -0
  122. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +20 -0
  123. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +13 -0
  124. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +6 -0
  125. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +4 -0
  126. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +63 -0
  127. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +241 -0
  128. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +500 -0
  129. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +194 -0
  130. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +27 -0
  131. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +131 -0
  132. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +25 -0
  133. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +209 -0
  134. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +502 -0
  135. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +354 -0
  136. package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +9 -0
  137. package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +10 -0
  138. package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +35 -0
  139. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -0
  140. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -0
  141. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -0
  142. package/projects/tuki/widgets/user-device-manage/src/material.module.ts +87 -0
  143. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +33 -0
  144. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +84 -0
  145. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +46 -0
  146. package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +25 -0
  147. package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +87 -0
  148. package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +17 -0
  149. package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +95 -0
  150. package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +111 -0
  151. package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +89 -0
  152. package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +68 -0
  153. package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +25 -0
  154. package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +82 -0
  155. package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +203 -0
  156. package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +283 -0
  157. package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +87 -0
  158. package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +829 -0
  159. package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +90 -0
  160. package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +231 -0
  161. package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +32 -0
  162. package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +110 -0
  163. package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +30 -0
  164. package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +73 -0
  165. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +6 -0
  166. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +11 -0
  167. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +13 -0
  168. package/projects/tuki/widgets/user-manage/ng-package.json +7 -0
  169. package/projects/tuki/widgets/user-manage/src/app.constants.ts +50 -0
  170. package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +5 -0
  171. package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +5 -0
  172. package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +5 -0
  173. package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +3 -0
  174. package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +1 -0
  175. package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +3 -0
  176. package/projects/tuki/widgets/user-manage/src/classes/device.ts +232 -0
  177. package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +43 -0
  178. package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +161 -0
  179. package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +21 -0
  180. package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +42 -0
  181. package/projects/tuki/widgets/user-manage/src/classes/line.ts +144 -0
  182. package/projects/tuki/widgets/user-manage/src/classes/notification.ts +39 -0
  183. package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +18 -0
  184. package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +6 -0
  185. package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +165 -0
  186. package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +6 -0
  187. package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +49 -0
  188. package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +225 -0
  189. package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +42 -0
  190. package/projects/tuki/widgets/user-manage/src/classes/user.ts +8 -0
  191. package/projects/tuki/widgets/user-manage/src/common-functions.ts +16 -0
  192. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +27 -0
  193. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +131 -0
  194. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +25 -0
  195. package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +9 -0
  196. package/projects/tuki/widgets/user-manage/src/environments/environment.ts +10 -0
  197. package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +35 -0
  198. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -0
  199. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -0
  200. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -0
  201. package/projects/tuki/widgets/user-manage/src/material.module.ts +85 -0
  202. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +33 -0
  203. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +84 -0
  204. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +46 -0
  205. package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +25 -0
  206. package/projects/tuki/widgets/user-manage/src/services/api.service.ts +90 -0
  207. package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +116 -0
  208. package/projects/tuki/widgets/user-manage/src/services/line.service.ts +31 -0
  209. package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +68 -0
  210. package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +25 -0
  211. package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +35 -0
  212. package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +203 -0
  213. package/projects/tuki/widgets/user-manage/src/services/user.service.ts +242 -0
  214. package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +59 -0
  215. package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +71 -0
  216. package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +90 -0
  217. package/projects/tuki/widgets/user-manage/src/styles/form.scss +231 -0
  218. package/projects/tuki/widgets/user-manage/src/styles/icons.scss +32 -0
  219. package/projects/tuki/widgets/user-manage/src/styles/styles.scss +110 -0
  220. package/projects/tuki/widgets/user-manage/src/styles/tables.scss +30 -0
  221. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +10 -0
  222. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +429 -0
  223. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +63 -0
  224. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +32 -0
  225. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +444 -0
  226. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +89 -0
  227. package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +68 -0
  228. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +29 -0
  229. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +64 -0
  230. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +19 -0
  231. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +290 -0
  232. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +463 -0
  233. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +212 -0
  234. package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +63 -0
  235. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +6 -0
  236. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +11 -0
  237. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +13 -0
  238. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +26 -0
  239. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +41 -0
  240. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +41 -0
  241. package/projects/tuki/widgets/users-list/ng-package.json +6 -0
  242. package/projects/tuki/widgets/users-list/src/app.constants.ts +54 -0
  243. package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +3 -0
  244. package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +1 -0
  245. package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +14 -0
  246. package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +3 -0
  247. package/projects/tuki/widgets/users-list/src/classes/app-location.ts +36 -0
  248. package/projects/tuki/widgets/users-list/src/classes/device.ts +225 -0
  249. package/projects/tuki/widgets/users-list/src/classes/line.ts +144 -0
  250. package/projects/tuki/widgets/users-list/src/classes/move-user.ts +225 -0
  251. package/projects/tuki/widgets/users-list/src/classes/notification.ts +38 -0
  252. package/projects/tuki/widgets/users-list/src/classes/pagination.ts +18 -0
  253. package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +74 -0
  254. package/projects/tuki/widgets/users-list/src/classes/table-data.ts +6 -0
  255. package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +225 -0
  256. package/projects/tuki/widgets/users-list/src/classes/user-list.ts +47 -0
  257. package/projects/tuki/widgets/users-list/src/classes/user.ts +8 -0
  258. package/projects/tuki/widgets/users-list/src/material.module.ts +94 -0
  259. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +37 -0
  260. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +129 -0
  261. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +46 -0
  262. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +31 -0
  263. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +20 -0
  264. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +26 -0
  265. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +222 -0
  266. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +239 -0
  267. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +206 -0
  268. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +12 -0
  269. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +41 -0
  270. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +36 -0
  271. package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +14 -0
  272. package/projects/tuki/widgets/users-list/src/services/api.service.ts +90 -0
  273. package/projects/tuki/widgets/users-list/src/services/dns.service.ts +128 -0
  274. package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +11 -0
  275. package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +59 -0
  276. package/projects/tuki/widgets/users-list/src/services/notification.service.ts +68 -0
  277. package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +25 -0
  278. package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +26 -0
  279. package/projects/tuki/widgets/users-list/src/services/user.service.ts +159 -0
  280. package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +137 -0
  281. package/projects/tuki/widgets/users-list/src/styles/styles.scss +572 -0
  282. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +15 -0
  283. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +103 -0
  284. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +35 -0
  285. package/projects/tuki/widgets/users-list/src/users-list.component.css +4 -0
  286. package/projects/tuki/widgets/users-list/src/users-list.component.css.map +1 -0
  287. package/projects/tuki/widgets/users-list/src/users-list.component.html +86 -0
  288. package/projects/tuki/widgets/users-list/src/users-list.component.scss +572 -0
  289. package/projects/tuki/widgets/users-list/src/users-list.component.ts +312 -0
  290. package/projects/tuki/widgets/users-list/src/users-list.module.ts +63 -0
  291. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +11 -0
  292. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +1 -0
  293. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +6 -0
  294. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +11 -0
  295. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +13 -0
  296. package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +32 -0
  297. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +33 -0
  298. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +84 -0
  299. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +46 -0
  300. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +45 -0
  301. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +1 -0
  302. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +26 -0
  303. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +41 -0
  304. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +41 -0
  305. package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +71 -0
  306. package/projects/widgets-playground/src/app/app.component.html +63 -0
  307. package/projects/widgets-playground/src/app/app.component.scss +15 -0
  308. package/projects/widgets-playground/src/app/app.component.spec.ts +31 -0
  309. package/projects/widgets-playground/src/app/app.component.ts +31 -0
  310. package/projects/widgets-playground/src/app/app.module.ts +37 -0
  311. package/projects/widgets-playground/src/assets/.gitkeep +0 -0
  312. package/projects/widgets-playground/src/assets/icons/already_upgraded.png +0 -0
  313. package/projects/widgets-playground/src/assets/icons/check2_icon.png +0 -0
  314. package/projects/widgets-playground/src/assets/icons/check_icon.png +0 -0
  315. package/projects/widgets-playground/src/assets/icons/expand_icon.png +0 -0
  316. package/projects/widgets-playground/src/assets/icons/issue_icon.png +0 -0
  317. package/projects/widgets-playground/src/assets/icons/menu_icon.png +0 -0
  318. package/projects/widgets-playground/src/assets/icons/ready_to_upgrade.png +0 -0
  319. package/projects/widgets-playground/src/assets/icons/search_icon.png +0 -0
  320. package/projects/widgets-playground/src/assets/icons/site.png +0 -0
  321. package/projects/widgets-playground/src/assets/icons/user.png +0 -0
  322. package/projects/widgets-playground/src/assets/icons/warning_icon.png +0 -0
  323. package/projects/widgets-playground/src/favicon.ico +0 -0
  324. package/projects/widgets-playground/src/index.html +13 -0
  325. package/projects/widgets-playground/src/main.ts +7 -0
  326. package/projects/widgets-playground/src/styles.scss +23 -0
  327. package/projects/widgets-playground/tsconfig.app.json +14 -0
  328. package/projects/widgets-playground/tsconfig.spec.json +14 -0
  329. package/proxy.conf.js +23 -0
  330. package/tsconfig.json +46 -0
  331. package/di2mt/api/api.endpoints.d.ts +0 -20
  332. package/di2mt/index.d.ts +0 -5
  333. package/di2mt/shared/components/card/card.component.d.ts +0 -6
  334. package/di2mt/shared/components/chart-card/chart-card.component.d.ts +0 -22
  335. package/di2mt/shared/components/stat-card/stat-card.component.d.ts +0 -14
  336. package/di2mt/shared/components/status-list-card/status-list-card.component.d.ts +0 -7
  337. package/di2mt/shared/components/summary-card/summary-card.component.d.ts +0 -9
  338. package/di2mt/shared/components/table-filters/table-filters.component.d.ts +0 -14
  339. package/di2mt/shared/material.module.d.ts +0 -15
  340. package/di2mt/shared/services/api.service.d.ts +0 -20
  341. package/di2mt/shared/shared.module.d.ts +0 -16
  342. package/di2mt/shared/types/constants.d.ts +0 -7
  343. package/di2mt/shared/types/data-table.d.ts +0 -5
  344. package/di2mt/shared/types/table/filter.d.ts +0 -16
  345. package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.d.ts +0 -47
  346. package/di2mt/widgets/site-upgrade/site-upgrade.module.d.ts +0 -12
  347. package/di2mt/widgets/site-upgrade/site-upgrade.service.d.ts +0 -12
  348. package/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.d.ts +0 -18
  349. package/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.d.ts +0 -18
  350. package/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.d.ts +0 -17
  351. package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.d.ts +0 -18
  352. package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.d.ts +0 -18
  353. package/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.d.ts +0 -14
  354. package/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.d.ts +0 -17
  355. package/di2mt/widgets/upgrade-overview/upgrade-overview.module.d.ts +0 -15
  356. package/di2mt/widgets/upgrade-overview/upgrade-overview.service.d.ts +0 -17
  357. package/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.d.ts +0 -48
  358. package/di2mt/widgets/user-upgrade/user-upgrade.module.d.ts +0 -12
  359. package/di2mt/widgets/user-upgrade/user-upgrade.service.d.ts +0 -14
  360. package/esm2020/di2mt/api/api.endpoints.mjs +0 -21
  361. package/esm2020/di2mt/public-api.mjs +0 -23
  362. package/esm2020/di2mt/shared/components/card/card.component.mjs +0 -13
  363. package/esm2020/di2mt/shared/components/chart-card/chart-card.component.mjs +0 -62
  364. package/esm2020/di2mt/shared/components/index.mjs +0 -7
  365. package/esm2020/di2mt/shared/components/stat-card/stat-card.component.mjs +0 -47
  366. package/esm2020/di2mt/shared/components/status-list-card/status-list-card.component.mjs +0 -17
  367. package/esm2020/di2mt/shared/components/summary-card/summary-card.component.mjs +0 -36
  368. package/esm2020/di2mt/shared/components/table-filters/table-filters.component.mjs +0 -37
  369. package/esm2020/di2mt/shared/material.module.mjs +0 -76
  370. package/esm2020/di2mt/shared/services/api.service.mjs +0 -86
  371. package/esm2020/di2mt/shared/shared.module.mjs +0 -61
  372. package/esm2020/di2mt/shared/types/constants.mjs +0 -12
  373. package/esm2020/di2mt/shared/types/data-table.mjs +0 -2
  374. package/esm2020/di2mt/shared/types/table/filter.mjs +0 -2
  375. package/esm2020/di2mt/tuki-io-tuki-widgets-di2mt.mjs +0 -5
  376. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +0 -179
  377. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.module.mjs +0 -40
  378. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.service.mjs +0 -43
  379. package/esm2020/di2mt/widgets/site-upgrade/types/user-upgrade.mjs +0 -3
  380. package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.mjs +0 -61
  381. package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.mjs +0 -61
  382. package/esm2020/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.mjs +0 -65
  383. package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.mjs +0 -42
  384. package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.mjs +0 -42
  385. package/esm2020/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.mjs +0 -61
  386. package/esm2020/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.mjs +0 -71
  387. package/esm2020/di2mt/widgets/upgrade-overview/types/upgrade-overview.mjs +0 -2
  388. package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.module.mjs +0 -59
  389. package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.service.mjs +0 -82
  390. package/esm2020/di2mt/widgets/user-upgrade/types/user-upgrade.mjs +0 -3
  391. package/esm2020/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.mjs +0 -194
  392. package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.module.mjs +0 -40
  393. package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.service.mjs +0 -58
  394. package/esm2020/lib/widgets.component.mjs +0 -22
  395. package/esm2020/lib/widgets.module.mjs +0 -21
  396. package/esm2020/lib/widgets.service.mjs +0 -14
  397. package/esm2020/public-api.mjs +0 -7
  398. package/esm2020/tuki-io-tuki-widgets.mjs +0 -5
  399. package/esm2020/user-device-manage/public-api.mjs +0 -9
  400. package/esm2020/user-device-manage/src/app.constants.mjs +0 -95
  401. package/esm2020/user-device-manage/src/classes/device.mjs +0 -85
  402. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +0 -2
  403. package/esm2020/user-device-manage/src/classes/line-association.mjs +0 -121
  404. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +0 -10
  405. package/esm2020/user-device-manage/src/classes/line-directory.mjs +0 -27
  406. package/esm2020/user-device-manage/src/classes/line.mjs +0 -18
  407. package/esm2020/user-device-manage/src/classes/notification.mjs +0 -32
  408. package/esm2020/user-device-manage/src/classes/recording-options.mjs +0 -7
  409. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +0 -111
  410. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +0 -21
  411. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +0 -32
  412. package/esm2020/user-device-manage/src/classes/types.mjs +0 -24
  413. package/esm2020/user-device-manage/src/common-functions.mjs +0 -19
  414. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +0 -34
  415. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +0 -31
  416. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +0 -16
  417. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +0 -64
  418. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +0 -179
  419. package/esm2020/user-device-manage/src/device-list/device-list.component.mjs +0 -24
  420. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +0 -335
  421. package/esm2020/user-device-manage/src/environments/environment.mjs +0 -11
  422. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +0 -36
  423. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +0 -74
  424. package/esm2020/user-device-manage/src/material.module.mjs +0 -192
  425. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +0 -35
  426. package/esm2020/user-device-manage/src/services/api.service.mjs +0 -79
  427. package/esm2020/user-device-manage/src/services/device.service.mjs +0 -83
  428. package/esm2020/user-device-manage/src/services/dns.service.mjs +0 -104
  429. package/esm2020/user-device-manage/src/services/line.service.mjs +0 -76
  430. package/esm2020/user-device-manage/src/services/notification.service.mjs +0 -62
  431. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +0 -25
  432. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +0 -70
  433. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +0 -197
  434. package/esm2020/user-device-manage/src/services/user.service.mjs +0 -243
  435. package/esm2020/user-device-manage/src/services/utils.service.mjs +0 -87
  436. package/esm2020/user-device-manage/src/services/validation.service.mjs +0 -760
  437. package/esm2020/user-device-manage/src/user-device-manage.module.mjs +0 -107
  438. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +0 -14
  439. package/esm2020/user-device-manage/tuki-io-tuki-widgets-user-device-manage.mjs +0 -5
  440. package/esm2020/user-manage/public-api.mjs +0 -7
  441. package/esm2020/user-manage/src/app.constants.mjs +0 -50
  442. package/esm2020/user-manage/src/classes/device.mjs +0 -37
  443. package/esm2020/user-manage/src/classes/line-association-interface.mjs +0 -2
  444. package/esm2020/user-manage/src/classes/line-association.mjs +0 -110
  445. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +0 -10
  446. package/esm2020/user-manage/src/classes/line-directory.mjs +0 -27
  447. package/esm2020/user-manage/src/classes/line.mjs +0 -18
  448. package/esm2020/user-manage/src/classes/notification.mjs +0 -32
  449. package/esm2020/user-manage/src/classes/pagination.mjs +0 -8
  450. package/esm2020/user-manage/src/classes/recording-options.mjs +0 -7
  451. package/esm2020/user-manage/src/classes/simplified-user.mjs +0 -109
  452. package/esm2020/user-manage/src/classes/table-data.mjs +0 -2
  453. package/esm2020/user-manage/src/classes/translation-pattern.mjs +0 -32
  454. package/esm2020/user-manage/src/classes/user-list.mjs +0 -10
  455. package/esm2020/user-manage/src/common-functions.mjs +0 -19
  456. package/esm2020/user-manage/src/device-list/device-list.component.mjs +0 -24
  457. package/esm2020/user-manage/src/environments/environment.mjs +0 -11
  458. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +0 -36
  459. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +0 -74
  460. package/esm2020/user-manage/src/material.module.mjs +0 -188
  461. package/esm2020/user-manage/src/notifications/notification.component.mjs +0 -35
  462. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +0 -25
  463. package/esm2020/user-manage/src/services/api.service.mjs +0 -79
  464. package/esm2020/user-manage/src/services/dns.service.mjs +0 -110
  465. package/esm2020/user-manage/src/services/line.service.mjs +0 -34
  466. package/esm2020/user-manage/src/services/notification.service.mjs +0 -62
  467. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +0 -25
  468. package/esm2020/user-manage/src/services/site-settings.service.mjs +0 -36
  469. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +0 -197
  470. package/esm2020/user-manage/src/services/user.service.mjs +0 -207
  471. package/esm2020/user-manage/src/services/users-search.service.mjs +0 -50
  472. package/esm2020/user-manage/src/services/utils.service.mjs +0 -73
  473. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +0 -65
  474. package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +0 -78
  475. package/esm2020/user-manage/src/user-info/user-info.component.mjs +0 -20
  476. package/esm2020/user-manage/src/user-manage-widget.component.mjs +0 -208
  477. package/esm2020/user-manage/src/user-manage.module.mjs +0 -99
  478. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +0 -14
  479. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +0 -43
  480. package/esm2020/user-manage/tuki-io-tuki-widgets-user-manage.mjs +0 -5
  481. package/esm2020/users-list/public-api.mjs +0 -9
  482. package/esm2020/users-list/src/app.constants.mjs +0 -54
  483. package/esm2020/users-list/src/classes/app-location.mjs +0 -32
  484. package/esm2020/users-list/src/classes/device.mjs +0 -7
  485. package/esm2020/users-list/src/classes/line.mjs +0 -18
  486. package/esm2020/users-list/src/classes/move-user.mjs +0 -178
  487. package/esm2020/users-list/src/classes/notification.mjs +0 -31
  488. package/esm2020/users-list/src/classes/pagination.mjs +0 -8
  489. package/esm2020/users-list/src/classes/simlified-user.mjs +0 -50
  490. package/esm2020/users-list/src/classes/table-data.mjs +0 -2
  491. package/esm2020/users-list/src/classes/user-list.mjs +0 -14
  492. package/esm2020/users-list/src/material.module.mjs +0 -209
  493. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +0 -38
  494. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +0 -23
  495. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +0 -189
  496. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +0 -38
  497. package/esm2020/users-list/src/services/api-webex.service.mjs +0 -18
  498. package/esm2020/users-list/src/services/api.service.mjs +0 -78
  499. package/esm2020/users-list/src/services/dns.service.mjs +0 -120
  500. package/esm2020/users-list/src/services/events-communication.service.mjs +0 -14
  501. package/esm2020/users-list/src/services/move-user.service.mjs +0 -53
  502. package/esm2020/users-list/src/services/notification.service.mjs +0 -62
  503. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +0 -25
  504. package/esm2020/users-list/src/services/site-settings.service.mjs +0 -27
  505. package/esm2020/users-list/src/services/user.service.mjs +0 -142
  506. package/esm2020/users-list/src/services/users-search.service.mjs +0 -122
  507. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +0 -34
  508. package/esm2020/users-list/src/users-list.component.mjs +0 -287
  509. package/esm2020/users-list/src/users-list.module.mjs +0 -92
  510. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +0 -14
  511. package/esm2020/users-list/src/utils/common-functions.mjs +0 -32
  512. package/esm2020/users-list/src/utils/pagination/pagination.component.mjs +0 -43
  513. package/esm2020/users-list/src/utils/utils.service.mjs +0 -73
  514. package/esm2020/users-list/tuki-io-tuki-widgets-users-list.mjs +0 -5
  515. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +0 -1438
  516. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +0 -1
  517. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +0 -3402
  518. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +0 -1
  519. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +0 -2124
  520. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +0 -1
  521. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +0 -1994
  522. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +0 -1
  523. package/fesm2015/tuki-io-tuki-widgets.mjs +0 -63
  524. package/fesm2015/tuki-io-tuki-widgets.mjs.map +0 -1
  525. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +0 -1429
  526. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +0 -1
  527. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +0 -3364
  528. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +0 -1
  529. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +0 -2107
  530. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +0 -1
  531. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +0 -1973
  532. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +0 -1
  533. package/fesm2020/tuki-io-tuki-widgets.mjs +0 -63
  534. package/fesm2020/tuki-io-tuki-widgets.mjs.map +0 -1
  535. package/index.d.ts +0 -5
  536. package/lib/widgets.component.d.ts +0 -8
  537. package/lib/widgets.module.d.ts +0 -7
  538. package/lib/widgets.service.d.ts +0 -6
  539. package/user-device-manage/index.d.ts +0 -5
  540. package/user-device-manage/src/app.constants.d.ts +0 -74
  541. package/user-device-manage/src/classes/device.d.ts +0 -233
  542. package/user-device-manage/src/classes/line-association-interface.d.ts +0 -45
  543. package/user-device-manage/src/classes/line-association.d.ts +0 -62
  544. package/user-device-manage/src/classes/line-call-info-display.d.ts +0 -11
  545. package/user-device-manage/src/classes/line-directory.d.ts +0 -15
  546. package/user-device-manage/src/classes/line.d.ts +0 -140
  547. package/user-device-manage/src/classes/notification.d.ts +0 -18
  548. package/user-device-manage/src/classes/recording-options.d.ts +0 -5
  549. package/user-device-manage/src/classes/simplified-user.d.ts +0 -52
  550. package/user-device-manage/src/classes/site-defaults.d.ts +0 -146
  551. package/user-device-manage/src/classes/translation-pattern.d.ts +0 -19
  552. package/user-device-manage/src/classes/types.d.ts +0 -19
  553. package/user-device-manage/src/common-functions.d.ts +0 -1
  554. package/user-device-manage/src/confirm-dialog/info-dialog.component.d.ts +0 -20
  555. package/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.d.ts +0 -15
  556. package/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.d.ts +0 -7
  557. package/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.d.ts +0 -24
  558. package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +0 -89
  559. package/user-device-manage/src/device-list/device-list.component.d.ts +0 -11
  560. package/user-device-manage/src/device-manage-widget.component.d.ts +0 -71
  561. package/user-device-manage/src/environments/environment.d.ts +0 -9
  562. package/user-device-manage/src/interseptors/auth.interceptor.d.ts +0 -9
  563. package/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +0 -35
  564. package/user-device-manage/src/material.module.d.ts +0 -29
  565. package/user-device-manage/src/notifications/notification.component.d.ts +0 -19
  566. package/user-device-manage/src/services/api.service.d.ts +0 -20
  567. package/user-device-manage/src/services/device.service.d.ts +0 -21
  568. package/user-device-manage/src/services/dns.service.d.ts +0 -14
  569. package/user-device-manage/src/services/line.service.d.ts +0 -33
  570. package/user-device-manage/src/services/notification.service.d.ts +0 -18
  571. package/user-device-manage/src/services/removeKynFromIBM.service.d.ts +0 -8
  572. package/user-device-manage/src/services/site-settings.service.d.ts +0 -25
  573. package/user-device-manage/src/services/sorting-utils.service.d.ts +0 -26
  574. package/user-device-manage/src/services/user.service.d.ts +0 -51
  575. package/user-device-manage/src/services/utils.service.d.ts +0 -10
  576. package/user-device-manage/src/services/validation.service.d.ts +0 -165
  577. package/user-device-manage/src/user-device-manage.module.d.ts +0 -22
  578. package/user-device-manage/src/utils/app-loader/app-loader.d.ts +0 -6
  579. package/user-manage/index.d.ts +0 -5
  580. package/user-manage/src/app.constants.d.ts +0 -29
  581. package/user-manage/src/classes/device.d.ts +0 -203
  582. package/user-manage/src/classes/line-association-interface.d.ts +0 -40
  583. package/user-manage/src/classes/line-association.d.ts +0 -55
  584. package/user-manage/src/classes/line-call-info-display.d.ts +0 -11
  585. package/user-manage/src/classes/line-directory.d.ts +0 -16
  586. package/user-manage/src/classes/line.d.ts +0 -140
  587. package/user-manage/src/classes/notification.d.ts +0 -18
  588. package/user-manage/src/classes/pagination.d.ts +0 -13
  589. package/user-manage/src/classes/recording-options.d.ts +0 -5
  590. package/user-manage/src/classes/simplified-user.d.ts +0 -50
  591. package/user-manage/src/classes/table-data.d.ts +0 -5
  592. package/user-manage/src/classes/translation-pattern.d.ts +0 -18
  593. package/user-manage/src/classes/user-list.d.ts +0 -34
  594. package/user-manage/src/common-functions.d.ts +0 -1
  595. package/user-manage/src/device-list/device-list.component.d.ts +0 -11
  596. package/user-manage/src/environments/environment.d.ts +0 -9
  597. package/user-manage/src/interseptors/auth.interceptor.d.ts +0 -9
  598. package/user-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +0 -35
  599. package/user-manage/src/material.module.d.ts +0 -28
  600. package/user-manage/src/notifications/notification.component.d.ts +0 -19
  601. package/user-manage/src/removeKynFromIBM.service.d.ts +0 -8
  602. package/user-manage/src/services/api.service.d.ts +0 -21
  603. package/user-manage/src/services/dns.service.d.ts +0 -14
  604. package/user-manage/src/services/line.service.d.ts +0 -17
  605. package/user-manage/src/services/notification.service.d.ts +0 -18
  606. package/user-manage/src/services/removeKynFromIBM.service.d.ts +0 -8
  607. package/user-manage/src/services/site-settings.service.d.ts +0 -9
  608. package/user-manage/src/services/sorting-utils.service.d.ts +0 -26
  609. package/user-manage/src/services/user.service.d.ts +0 -43
  610. package/user-manage/src/services/users-search.service.d.ts +0 -25
  611. package/user-manage/src/services/utils.service.d.ts +0 -9
  612. package/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.d.ts +0 -24
  613. package/user-manage/src/user-calling/user-calling.component.d.ts +0 -30
  614. package/user-manage/src/user-info/user-info.component.d.ts +0 -9
  615. package/user-manage/src/user-manage-widget.component.d.ts +0 -45
  616. package/user-manage/src/user-manage.module.d.ts +0 -21
  617. package/user-manage/src/utils/app-loader/app-loader.d.ts +0 -6
  618. package/user-manage/src/utils/pagination/pagination.component.d.ts +0 -18
  619. package/users-list/index.d.ts +0 -5
  620. package/users-list/src/app.constants.d.ts +0 -36
  621. package/users-list/src/classes/app-location.d.ts +0 -17
  622. package/users-list/src/classes/device.d.ts +0 -224
  623. package/users-list/src/classes/line.d.ts +0 -140
  624. package/users-list/src/classes/move-user.d.ts +0 -85
  625. package/users-list/src/classes/notification.d.ts +0 -18
  626. package/users-list/src/classes/pagination.d.ts +0 -13
  627. package/users-list/src/classes/simlified-user.d.ts +0 -25
  628. package/users-list/src/classes/table-data.d.ts +0 -5
  629. package/users-list/src/classes/user-list.d.ts +0 -36
  630. package/users-list/src/material.module.d.ts +0 -31
  631. package/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.d.ts +0 -21
  632. package/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.d.ts +0 -12
  633. package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +0 -55
  634. package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +0 -17
  635. package/users-list/src/services/api-webex.service.d.ts +0 -8
  636. package/users-list/src/services/api.service.d.ts +0 -21
  637. package/users-list/src/services/dns.service.d.ts +0 -18
  638. package/users-list/src/services/events-communication.service.d.ts +0 -8
  639. package/users-list/src/services/move-user.service.d.ts +0 -17
  640. package/users-list/src/services/notification.service.d.ts +0 -18
  641. package/users-list/src/services/removeKynFromIBM.service.d.ts +0 -8
  642. package/users-list/src/services/site-settings.service.d.ts +0 -11
  643. package/users-list/src/services/user.service.d.ts +0 -35
  644. package/users-list/src/services/users-search.service.d.ts +0 -34
  645. package/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.d.ts +0 -20
  646. package/users-list/src/users-list.component.d.ts +0 -60
  647. package/users-list/src/users-list.module.d.ts +0 -18
  648. package/users-list/src/utils/app-loader/app-loader.d.ts +0 -6
  649. package/users-list/src/utils/common-functions.d.ts +0 -2
  650. package/users-list/src/utils/pagination/pagination.component.d.ts +0 -18
  651. package/users-list/src/utils/utils.service.d.ts +0 -9
  652. /package/{di2mt → projects/tuki/widgets/di2mt}/README.md +0 -0
  653. /package/{user-device-manage/public-api.d.ts → projects/tuki/widgets/user-device-manage/public-api.ts} +0 -0
  654. /package/{user-manage/public-api.d.ts → projects/tuki/widgets/user-manage/public-api.ts} +0 -0
  655. /package/{users-list/public-api.d.ts → projects/tuki/widgets/users-list/public-api.ts} +0 -0
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.67 15.56"><defs><style>.b{fill:none;stroke:#2c355d;stroke-width:1.4px;}</style></defs><path class="b" d="M4.87,3.89c0-1.72,1.51-3.19,3.47-3.19s3.47,1.47,3.47,3.19-1.51,3.19-3.47,3.19-3.47-1.47-3.47-3.19ZM.7,12.64c0-.37,.19-.76,.67-1.17,.48-.41,1.17-.78,2-1.09,1.66-.62,3.66-.93,4.97-.93s3.31,.31,4.97,.93c.83,.31,1.52,.68,2,1.09,.47,.41,.67,.8,.67,1.17v2.22H.7v-2.22Z"/></svg>
@@ -0,0 +1,3 @@
1
+ <svg width="1" height="18" viewBox="0 0 1 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <line x1="0.5" y1="2.18557e-08" x2="0.499999" y2="18" stroke="#333333"/>
3
+ </svg>
@@ -0,0 +1,232 @@
1
+ import { getSavableData } from '../common-functions';
2
+ import { EntityChangeType } from './line';
3
+ import { LineAssociation } from './line-association';
4
+ import { LineAssociationInterface } from './line-association-interface';
5
+
6
+ export class Device {
7
+ // simplified TEMP
8
+ name!: string;
9
+ pkiid!: string
10
+ deviceType!: string;
11
+ lineAssociations!: LineAssociation[] | LineAssociationInterface[];
12
+ lineAssociationsHasChanges = false;
13
+ protocol!: string;
14
+ description!: string;
15
+ buttonTemplate!: string;
16
+ softkeyTemplate!: string;
17
+ devicePoolName!: string;
18
+ location!: string;
19
+ callingSearchSpaceName!: string;
20
+ firmwareVersion!: string;
21
+ registrationStatus!: string
22
+ ipAddress!: string;
23
+ deviceKind!: string;
24
+ isCtiRoutePoint!: boolean;
25
+ alreadyUsedName!: string;
26
+ deviceDefaults: any;
27
+ availableSlots!: number[];
28
+ plarService = false;
29
+
30
+ constructor(device: any) {
31
+ if (device) {
32
+ this.name = device.name;
33
+ this.pkiid = device.pkiid;
34
+ this.deviceType = device.deviceType;
35
+ this.protocol = device.protocol;
36
+ this.description = device.description;
37
+ this.buttonTemplate = device.buttonTemplate;
38
+ this.softkeyTemplate = device.softkeyTemplate;
39
+ this.devicePoolName = device.devicePoolName;
40
+ this.location = device.location;
41
+ this.firmwareVersion = device.firmwareVersion;
42
+ this.plarService = device.plarService;
43
+ this.callingSearchSpaceName = device.callingSearchSpaceName;
44
+ this.registrationStatus = 'Unknown'; // TEMP for demo
45
+ this.ipAddress = 'None'; // TEMP for demo
46
+
47
+ this.lineAssociations = device.lineAssociations?.length ?
48
+ device.lineAssociations.map((line: any) => new LineAssociation(line)) : [];
49
+ }
50
+ }
51
+
52
+ getSavableData() {
53
+ const excludedFields: string[] = ['form'];
54
+ return getSavableData(this, excludedFields);
55
+ }
56
+ }
57
+
58
+ export interface DeviceInterface {
59
+ name: string;
60
+ newName: string;
61
+ pkid: string;
62
+ entityChangeType: EntityChangeType;
63
+ deviceType: string;
64
+ protocol: string;
65
+ description: string;
66
+ buttonTemplate: string;
67
+ softkeyTemplate: string;
68
+ devicePoolName: string;
69
+ location: string;
70
+ userLocale: string;
71
+ enabledExtensionMobility: boolean;
72
+ callingSearchSpaceName: string;
73
+ services: string[];
74
+ networkLocale: string;
75
+ securityProfile: string;
76
+ lineAssociations: LineAssociationInterface[];
77
+ speedDials: SpeedDialInterface[];
78
+ sipProfile: string;
79
+ subscribeCallingSearchSpaceName: string;
80
+ commonPhoneConfigName: string;
81
+ ctiRemoteDevice: boolean;
82
+ firstExpansionModule: string;
83
+ secondExpansionModule: string;
84
+ thirdExpansionModule: string;
85
+ builtInBridge: string;
86
+ extraOptions: DeviceExtraOptionsInterface;
87
+ formDisabledControls: string[];
88
+ sharedUsers: string[];
89
+ busyLampFields: BusyLampFieldsInterface[];
90
+ meetMeEnabled: boolean;
91
+ deviceKind: any;
92
+ isCtiRoutePoint: boolean;
93
+ cucmId: string;
94
+ plarDevice: boolean;
95
+ firmwareVersion: any;
96
+ certificateOperation: string;
97
+ authenticationMode: string;
98
+ authenticationString: string;
99
+ rsaKeySize: string;
100
+ operationCompletesBy: string;
101
+ certificateStatus: string;
102
+ day: string;
103
+ month: string;
104
+ year: string;
105
+ hour: string;
106
+ securityProfileUuid: string;
107
+ excludeDeviceExtraOptions: boolean;
108
+ webexUUID: string;
109
+ }
110
+ export interface SpeedDialInterface {
111
+ index: number;
112
+ position: number;
113
+ destination: string;
114
+ label: string;
115
+ editMode: boolean;
116
+ }
117
+ export enum RecordingOptions {
118
+ disabled = 'Call Recording Disabled',
119
+ auto_enabled = 'Automatic Call Recording Enabled',
120
+ selective_enabled = 'Selective Call Recording Enabled'
121
+ }
122
+ export interface LineCallInfoDisplayInterface {
123
+ callerName: string;
124
+ callerNumber: string;
125
+ redirectedNumber: string;
126
+ dialedNumber: string;
127
+ }
128
+ export interface SiteShortDataInterface {
129
+ id: number;
130
+ name: string;
131
+ }
132
+ export interface DeviceExtraOptionsInterface {
133
+ mediaResourceGroupList: string;
134
+ userHoldMOHAudioSourceId: number;
135
+ userHoldMOHAudioSourceName: string;
136
+ networkMOHAudioSourceId: number;
137
+ networkMOHAudioSourceName: string;
138
+ aarCss: string;
139
+ aarGroup: string;
140
+ privacy: string;
141
+ deviceMobilityMode: string;
142
+ mobilityUserId: string;
143
+ phonePersonalization: string;
144
+ servicesProvisioning: string;
145
+ phoneLoadName: string;
146
+ phoneIdleBLFAlertSetting: string;
147
+ phoneBusyBLFAlertSetting: string;
148
+ useTrustedRelayPoint: string;
149
+ alwaysUsePrimeLine: string;
150
+ alwaysUsePrimeLineForVoiceMessage: string;
151
+ geolocation: string;
152
+ emergencyLocation: string;
153
+ ignorePresentationIndicators: boolean;
154
+ loggedIntoHuntGroup: boolean;
155
+ enabledExtensionMobility: boolean;
156
+ remoteDevice: boolean;
157
+ protectedDevice: boolean;
158
+ hotlineDevice: boolean;
159
+ useDevicePoolCgpnIngressDN: boolean;
160
+ cgpnIngressDN: string;
161
+ useDevicePoolCgpnTransformCss: boolean;
162
+ cgpnTransformationCss: string;
163
+ packetCaptureMode: string;
164
+ packetCaptureDuration: number;
165
+ blfPresenceGroup: string;
166
+ sipDialRules: string;
167
+ mtpPreferredOriginatingCodec: string;
168
+ rerouteCss: string;
169
+ subscribeCss: string;
170
+ mtpRequired: boolean;
171
+ unattendedPort: boolean;
172
+ requireDtmfReception: boolean;
173
+ informationUrl: string;
174
+ directoryUrl: string;
175
+ messagesUrl: string;
176
+ servicesUrl: string;
177
+ authenticationUrl: string;
178
+ proxyServerUrl: string;
179
+ idleUrl: string;
180
+ idleTimeout: string;
181
+ secureAuthenticationUrl: string;
182
+ secureDirectoryUrl: string;
183
+ secureIdleUrl: string;
184
+ secureInformationUrl: string;
185
+ secureMessageUrl: string;
186
+ secureServicesUrl: string;
187
+ mlppDomain: string;
188
+ mlppIndication: string;
189
+ mlppPreemption: string;
190
+ confidentialAccessMode: string;
191
+ confidentialAccessLevel: string;
192
+ confidentialAccessLevelName: string;
193
+ doNotDisturb: boolean;
194
+ dndOption: string;
195
+ dndIncomingCallAlert: string;
196
+ disableSpeakerphone: boolean;
197
+ disableSpeakerphoneAndHeadset: boolean;
198
+ forwardingDelay: boolean;
199
+ pcPort: boolean;
200
+ settingsAccess: string;
201
+ gratuitousARP: boolean;
202
+ pcVoiceVlanAccess: boolean;
203
+ videoCapabilities: boolean;
204
+ webAccess: boolean;
205
+ daysDisplayNotActive: string[];
206
+ displayOnTime: string;
207
+ displayOnDuration: string;
208
+ displayIdleTimeout: string;
209
+ wirelessHeadsetHookswitchControl: boolean;
210
+ minRingVolume: string;
211
+ showAllCallsOnPL: boolean;
212
+ lineMode: string;
213
+ latentCapabilityRegistration: string;
214
+ analogGatewayPortInformation: AnalogGatewayPortInformationInterFace;
215
+ }
216
+ export interface AnalogGatewayPortInformationInterFace {
217
+ portDirection: string;
218
+ prefixDn: string;
219
+ numDigits: number;
220
+ expectedDigits: number;
221
+ smdiPortNumber: number;
222
+ trunk: string;
223
+ unattendedPort: string;
224
+ }
225
+ export interface BusyLampFieldsInterface {
226
+ index: number;
227
+ position: number;
228
+ destination: string;
229
+ dnWithRoutePartition: string;
230
+ label: string;
231
+ callPickup: boolean;
232
+ }
@@ -0,0 +1,43 @@
1
+ import { RecordingOptions } from './recording-options';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { LineDirectoryInterface, TranslationPatternInterface } from './line';
4
+ import { LineCallInfoDisplayInterface } from './device';
5
+
6
+ export interface LineAssociationInterface {
7
+ index: number;
8
+ position: number;
9
+ alertingName: string;
10
+ e164Mask: string;
11
+ textLabel: string;
12
+ displayLabel: string;
13
+ displayLabelAscii: string;
14
+ directoryNumber: LineDirectoryInterface;
15
+ didPattern: TranslationPatternInterface;
16
+ mappedDids: Array<string>;
17
+ linePkid: string;
18
+ maxNumberOfCalls: number;
19
+ busyTrigger: number;
20
+ recordingOption: RecordingOptions;
21
+ recordingProfile: string;
22
+ recordingMediaSource: string;
23
+ visualMWI: string;
24
+ audibleMWI: string;
25
+ ringSetting_idle: string;
26
+ ringSetting_active: string;
27
+ pickupAAS_idle: string;
28
+ pickupAAS_active: string;
29
+ monitorCSS: string;
30
+ logMissedCall: string;
31
+ callInfoDisplay: LineCallInfoDisplayInterface;
32
+ lineLocalId: string;
33
+ sharedUsers: string[];
34
+ sharedDevices: string[];
35
+ ownerUserId: Array<string>;
36
+ associated: boolean;
37
+ populateWithDid: boolean;
38
+ callingSearchSpace: string;
39
+ form: FormGroup;
40
+
41
+ // @ts-ignore
42
+ equals(line: any);
43
+ }
@@ -0,0 +1,161 @@
1
+ import { LineDirectory } from './line-directory';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { LineCallInfoDisplay } from './line-call-info-display';
4
+ import { TranslationPattern } from './translation-pattern';
5
+ import { RecordingOptions } from './device';
6
+ import { LineAssociationInterface } from './line-association-interface';
7
+ import { getSavableData } from '../common-functions';
8
+ import { RECORDING_MEDIA_SOURCE } from '../app.constants';
9
+
10
+ export class LineAssociation implements LineAssociationInterface {
11
+ index!: number;
12
+ position: any;
13
+ e164Mask!: string;
14
+ textLabel!: string;
15
+ displayLabel!: string;
16
+ displayLabelAscii!: string;
17
+ directoryNumber!: any;
18
+ didPattern!: any;
19
+ mappedDids!: Array<string>;
20
+ linePkid!: string;
21
+ maxNumberOfCalls!: number;
22
+ busyTrigger!: number;
23
+ recordingOption!: RecordingOptions;
24
+ recordingProfile!: string;
25
+ recordingMediaSource!: string;
26
+ visualMWI!: string;
27
+ audibleMWI!: string;
28
+ ringSetting_idle!: string;
29
+ ringSetting_active!: string;
30
+ pickupAAS_idle!: string;
31
+ pickupAAS_active!: string;
32
+ monitorCSS!: string;
33
+ logMissedCall!: string;
34
+ callInfoDisplay!: LineCallInfoDisplay;
35
+ lineLocalId!: string;
36
+ callerName!: string;
37
+ callerNumber!: string;
38
+ redirectedNumber!: string;
39
+ dialedNumber!: string;
40
+ // non-savable data fields
41
+ viewMode!: boolean;
42
+ form!: FormGroup;
43
+ sharedUsers = [];
44
+ sharedDevices = [];
45
+ callingSearchSpace!: string;
46
+ ownerUserId!: Array<string>;
47
+ associated!: boolean;
48
+ patternUsage!: boolean;
49
+ plarDestinationNumber!: string;
50
+ prefixDigits!: string;
51
+ plarDescription!: string;
52
+ plarEnabled!: boolean;
53
+ alertingName!: string;
54
+ description!: string;
55
+ populateWithDid!: boolean;
56
+
57
+ constructor(lineAssociation: any) {
58
+ Object.assign(this, lineAssociation || {});
59
+ if (lineAssociation) {
60
+ this.index = lineAssociation.index || null;
61
+ this.position = lineAssociation.position || null;
62
+ this.e164Mask = lineAssociation.e164Mask || '';
63
+ this.textLabel = lineAssociation.textLabel || '';
64
+ this.displayLabel = lineAssociation.displayLabel || '';
65
+ this.displayLabelAscii = lineAssociation.displayLabelAscii || '';
66
+ this.linePkid = lineAssociation.linePkid || lineAssociation.pkid || '';
67
+ this.maxNumberOfCalls = lineAssociation.maxNumberOfCalls || null;
68
+ this.busyTrigger = lineAssociation.busyTrigger || null;
69
+ this.directoryNumber = new LineDirectory(lineAssociation.directoryNumber);
70
+ this.didPattern = new TranslationPattern(lineAssociation.didPattern);
71
+ this.recordingOption = lineAssociation.recordingOption || RecordingOptions.disabled;
72
+ this.recordingProfile = lineAssociation.recordingProfile || '';
73
+ this.recordingMediaSource = lineAssociation.recordingMediaSource || RECORDING_MEDIA_SOURCE[0];
74
+ this.visualMWI = lineAssociation.visualMWI || '';
75
+ this.audibleMWI = lineAssociation.audibleMWI || '';
76
+ this.ringSetting_idle = lineAssociation.ringSetting_idle || '';
77
+ this.ringSetting_active = lineAssociation. ringSetting_active || '';
78
+ this.pickupAAS_idle = lineAssociation.pickupAAS_idle || '';
79
+ this.pickupAAS_active = lineAssociation.pickupAAS_active || '';
80
+ this.monitorCSS = lineAssociation.monitorCSS || '';
81
+ this.logMissedCall = lineAssociation.logMissedCall || true;
82
+ this.callInfoDisplay = new LineCallInfoDisplay(lineAssociation.callInfoDisplay);
83
+ this.lineLocalId = lineAssociation.lineLocalId || lineAssociation.localId || '';
84
+ this.callingSearchSpace = lineAssociation.callingSearchSpace || '';
85
+ this.ownerUserId = lineAssociation.ownerUserId;
86
+ this.associated = lineAssociation.associated;
87
+ this.alertingName = lineAssociation.alertingName;
88
+ this.description = lineAssociation.description;
89
+ this.patternUsage = lineAssociation.patternUsage;
90
+ this.plarDestinationNumber = lineAssociation.plarDestinationNumber;
91
+ this.prefixDigits = lineAssociation.prefixDigits;
92
+ this.plarDescription = lineAssociation.plarDescription;
93
+ this.plarEnabled = lineAssociation.plarEnabled;
94
+ this.populateWithDid = lineAssociation.populateWithDid;
95
+ }
96
+ this.initForm();
97
+ }
98
+
99
+ getSavableData() {
100
+ const excludedFields = ['viewMode', 'form', 'callingSearchSpace', 'plarDestinationNumber', 'prefixDigits', 'plarDescription', 'plarEnabled'];
101
+ return getSavableData(this, excludedFields);
102
+ }
103
+
104
+ getDnSavableData() {
105
+
106
+ }
107
+
108
+ initForm() {
109
+ // TEMP simplified line form
110
+ const formBuilder = new FormBuilder();
111
+ const formSettings = {
112
+ directoryNumber: [this.directoryNumber.directoryNumber || ''],
113
+ };
114
+ this.form = formBuilder.group(formSettings);
115
+ }
116
+
117
+ /*initForm(appValidators: ValidationService) {
118
+ const formBuilder = new FormBuilder();
119
+ const formSettings = {
120
+ displayLabel: [this.displayLabel || '', [Validators.maxLength(30), Validators.pattern('[^%&\\[{}|"<>\\]]*')]],
121
+ alertingName: [this.alertingName || ''],
122
+ description: [this.description || ''],
123
+ e164Mask: [this.e164Mask || '', [appValidators.e164MaskLabel]],
124
+ displayLabelAscii: [this.displayLabelAscii || '', [appValidators.displayLabelAscii]],
125
+ textLabel: [this.textLabel || '', [Validators.maxLength(30), Validators.pattern('[^"]*')]],
126
+ maxNumberOfCalls: [this.maxNumberOfCalls || '', [ Validators.min(0)]],
127
+ busyTrigger: [this.busyTrigger || '', [Validators.min(0), Validators.max(this.maxNumberOfCalls || 200)]],
128
+ recordingOption: [this.recordingOption || ''],
129
+ recordingProfile: [this.recordingProfile || '', [appValidators.conditionalRequired('recordingOption',
130
+ [RecordingOptions.auto_enabled, RecordingOptions.selective_enabled])]],
131
+ recordingMediaSource: [this.recordingMediaSource || ''],
132
+ visualMWI: [this.visualMWI || ''],
133
+ audibleMWI: [this.audibleMWI || ''],
134
+ ringSetting_idle: [this.ringSetting_idle || ''],
135
+ ringSetting_active: [this.ringSetting_active || ''],
136
+ pickupAAS_idle: [this.pickupAAS_idle || ''],
137
+ pickupAAS_active: [this.pickupAAS_active || ''],
138
+ monitorCSS: [this.monitorCSS || ''],
139
+ logMissedCall: [this.logMissedCall === 'true'],
140
+ callerName: [this.callInfoDisplay && this.callInfoDisplay.callerName === 'true'],
141
+ callerNumber: [this.callInfoDisplay && this.callInfoDisplay.callerNumber === 'true'],
142
+ redirectedNumber: [this.callInfoDisplay && this.callInfoDisplay.redirectedNumber === 'true'],
143
+ dialedNumber: [this.callInfoDisplay && this.callInfoDisplay.dialedNumber === 'true' ]
144
+ };
145
+ this.form = formBuilder.group(formSettings);
146
+ if (this.directoryNumber) {
147
+ this.form.addControl('directoryNumber', this.directoryNumber.form);
148
+ }
149
+ if (this.didPattern) {
150
+ this.form.addControl('didPattern', this.didPattern.form);
151
+ }
152
+ }*/
153
+
154
+ equals(line: LineAssociation | any) {
155
+ if (!line) {
156
+ return false;
157
+ }
158
+ return this.directoryNumber.directoryNumber === line.directoryNumber.directoryNumber &&
159
+ this.directoryNumber.routePartitionName === line.directoryNumber.routePartitionName;
160
+ }
161
+ }
@@ -0,0 +1,21 @@
1
+ import { LineCallInfoDisplayInterface } from './device';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { getSavableData } from '../common-functions';
4
+
5
+ export class LineCallInfoDisplay implements LineCallInfoDisplayInterface {
6
+ callerName!: string;
7
+ callerNumber!: string;
8
+ redirectedNumber!: string;
9
+ dialedNumber!: string;
10
+
11
+ // non-savable data fields
12
+ form!: FormGroup;
13
+
14
+ constructor(lineCallInfoDisplay: LineCallInfoDisplayInterface) {
15
+ Object.assign(this, lineCallInfoDisplay || {});
16
+ }
17
+
18
+ getSavableData() {
19
+ return getSavableData(this, ['form']);
20
+ }
21
+ }
@@ -0,0 +1,42 @@
1
+ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
2
+ import { getSavableData } from '../common-functions';
3
+ import { LineDirectoryInterface } from './line';
4
+
5
+ export class LineDirectory implements LineDirectoryInterface {
6
+ directoryNumber!: string;
7
+ templateDirectoryNumber!: string;
8
+ routePartitionName!: string;
9
+ pkid!: string;
10
+ dnType!: string;
11
+ displayValue!: string;
12
+ subType!: string;
13
+
14
+ // non-savable data fields
15
+ form!: FormGroup;
16
+
17
+ constructor(lineDirectory: LineDirectoryInterface) {
18
+ Object.assign(this, lineDirectory || {});
19
+ // @ts-ignore
20
+ if (this.directoryNumber && this.routePartitionName) {
21
+ this.displayValue = `${this.directoryNumber}/${this.routePartitionName}`;
22
+ }
23
+ this.initForm();
24
+ }
25
+
26
+ getSavableData() {
27
+ return getSavableData(this, ['form', 'displayValue', 'templateDirectoryNumber']);
28
+ }
29
+
30
+ equal(itemToCompare: any): boolean {
31
+ return JSON.stringify(this.getSavableData()) === JSON.stringify(itemToCompare.getSavableData());
32
+ }
33
+
34
+ initForm() {
35
+ const formBuilder = new FormBuilder();
36
+ const formSettings = {
37
+ directoryNumber: [{value: this.directoryNumber || '', disabled: true}, [Validators.required]],
38
+ routePartitionName: [{value: this.routePartitionName || '', disabled: true}]
39
+ };
40
+ this.form = formBuilder.group(formSettings);
41
+ }
42
+ }
@@ -0,0 +1,144 @@
1
+
2
+ export interface LineInterface {
3
+ description: string;
4
+ pkid: string;
5
+ entityChangeType: EntityChangeType;
6
+ alertingName: string;
7
+ asciiAlertingName: string;
8
+ callingSearchSpace: string;
9
+ voiceMailProfile: string;
10
+ noAnswerRingDuration: number;
11
+ autoAnswer: string;
12
+ directoryNumber: LineDirectoryInterface;
13
+ didPatterns: Array<TranslationPatternInterface>;
14
+ mappedDids: Array<string>;
15
+ aarSettings: LineAarInterface;
16
+ callForwardAll: CallInterface;
17
+ callForwardAllSecondaryCSS: CallInterface;
18
+ callForwardBusyInternal: CallInterface;
19
+ callForwardBusyExternal: CallInterface;
20
+ callForwardNoAnswerInternal: CallInterface;
21
+ callForwardNoAnswerExternal: CallInterface;
22
+ callForwardNoCoverageInternal: CallInterface;
23
+ callForwardNoCoverageExternal: CallInterface;
24
+ callForwardOnCTIFailure: CallInterface;
25
+ callForwardUnregisteredInternal: CallInterface;
26
+ callForwardUnregisteredExternal: CallInterface;
27
+ parkMonitoringExternal: LineParkMonitoringInterface;
28
+ parkMonitoringInternal: LineParkMonitoringInterface;
29
+ callPickupGroup: string;
30
+ localId: string;
31
+ urgentPriority: boolean;
32
+ blfPresenceGroup: string;
33
+ userHoldMOHAudioSourceId: string;
34
+ userHoldMOHAudioSourceName: string;
35
+ networkMOHAudioSourceId: string;
36
+ networkMOHAudioSourceName: string;
37
+ rejectAnonymousCall: boolean;
38
+ enterpriseAltNum: AlternateNumberInterface;
39
+ e164AltNum: AlternateNumberInterface;
40
+ directoryUris: Array<DirectoryUriInterface>;
41
+ callForwardAlternateParty: ParkMonitoringInterface;
42
+ mlppNoAnswerRingDuration: number;
43
+ confidentialAccessMode: string;
44
+ confidentialAccessLevel: string;
45
+ confidentialAccessLevelName: string;
46
+ callControlAgentProfile: string;
47
+ holdReversionRingDuration: number;
48
+ holdReversionNotificationInterval: number;
49
+ partyEntranceTone: string;
50
+ pstnFailover: string;
51
+ isExistingLine: boolean;
52
+ plarDestinationNumber: string;
53
+ prefixDigits: string;
54
+ plarDescription: string;
55
+ plarEnabled: boolean;
56
+ }
57
+
58
+ export enum EntityChangeType {
59
+ added = 'added',
60
+ updated = 'updated',
61
+ existing = 'existing',
62
+ removed = 'removed',
63
+ unassociated = 'unassociated'
64
+ }
65
+ export interface LineDirectoryInterface {
66
+ directoryNumber: string;
67
+ routePartitionName: string;
68
+ pkid: string;
69
+ dnType: string;
70
+ subType: string;
71
+ templateDirectoryNumber: string;
72
+ }
73
+ export interface TranslationPatternInterface {
74
+ pattern: string;
75
+ calledPartyTransformationMask: string;
76
+ description: string;
77
+ site: SiteShortDataInterface;
78
+ hasMultipleSites: boolean;
79
+ multipleSitesId: string;
80
+ }
81
+ export interface SiteShortDataInterface {
82
+ id: number;
83
+ name: string;
84
+ }
85
+ export interface LineAarInterface {
86
+ aarDestinationMask: string;
87
+ aarGroup: string;
88
+ aarVoiceMailEnabled: boolean;
89
+ aarKeepCallHistory: boolean;
90
+ }
91
+ export interface CallInterface {
92
+ forwardToVoiceMail: boolean;
93
+ destination: string;
94
+ callingSearchSpace: string;
95
+ }
96
+ export interface LineParkMonitoringInterface {
97
+ voiceMail: boolean;
98
+ destination: string;
99
+ callingSearchSpace: string;
100
+ }
101
+ export interface AlternateNumberInterface {
102
+ numberMask: string;
103
+ addLocalRoutePartition: boolean;
104
+ routePartition: string;
105
+ isUrgent: boolean;
106
+ advertiseGloballyIls: boolean;
107
+ }
108
+ export interface DirectoryUriInterface {
109
+ primary: boolean;
110
+ uri: string;
111
+ routePartition: string;
112
+ advertiseGloballyIls: boolean;
113
+ }
114
+ export interface ParkMonitoringInterface {
115
+ destination: string;
116
+ callingSearchSpace: string;
117
+ voiceMail: boolean;
118
+ }
119
+ export enum DnRangeType {
120
+ extension = 'EXTENSION',
121
+ cpg = 'CPG',
122
+ callpark = 'CALLPARK',
123
+ huntgroup = 'HUNTGROUP',
124
+ meetme = 'MEETME',
125
+ did = 'DID'
126
+ }
127
+ export interface AvailablePhoneNumberRangeInterface {
128
+ phoneNumberRange: DnRangeInterface;
129
+ usedNumbers: string[];
130
+ requestedNumber: string;
131
+ unUsedNumbersWithDids: any;
132
+ }
133
+ export interface DnRangeInterface {
134
+ from: string;
135
+ to: string;
136
+ prefix: string;
137
+ routePartition: string;
138
+ dnType: DnRangeType;
139
+ tempIdx: number;
140
+
141
+ getEditableData(): any;
142
+
143
+ getUsedRangeEditableData(): any;
144
+ }
@@ -0,0 +1,39 @@
1
+ import { environment } from '../environments/environment';
2
+ const TTL_DEFAULT = environment.notificationsLifetime;
3
+ const TTL_LONG_DEFAULT = environment.longNotificationsLifetime;
4
+
5
+ export enum NotificationType {
6
+ info = 'info',
7
+ error = 'error',
8
+ success = 'success',
9
+ warning = 'warning'
10
+ }
11
+
12
+ export class Notification {
13
+ id?: number;
14
+ type?: NotificationType;
15
+ message?: string;
16
+ ttl: number = TTL_DEFAULT;
17
+ timerId?: any;
18
+
19
+ constructor(data: any) {
20
+ Object.assign(this, data || {});
21
+
22
+ if(this.ttl === undefined) {
23
+ this.ttl = this.message && this.message.length && this.message.length < 80 ? TTL_DEFAULT : TTL_LONG_DEFAULT;
24
+ }
25
+ }
26
+
27
+ isInfo(): boolean {
28
+ return this.type === NotificationType.info;
29
+ }
30
+ isError(): boolean {
31
+ return this.type === NotificationType.error;
32
+ }
33
+ isSuccess(): boolean {
34
+ return this.type === NotificationType.success;
35
+ }
36
+ isWarning(): boolean {
37
+ return this.type === NotificationType.warning;
38
+ }
39
+ }