@tuki-io/tuki-widgets 0.0.76 → 0.0.78

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 (352) hide show
  1. package/README.md +9 -10
  2. package/esm2020/lib/widgets.component.mjs +22 -0
  3. package/esm2020/lib/widgets.module.mjs +21 -0
  4. package/esm2020/lib/widgets.service.mjs +14 -0
  5. package/esm2020/public-api.mjs +7 -0
  6. package/esm2020/tuki-io-tuki-widgets.mjs +5 -0
  7. package/fesm2015/tuki-io-tuki-widgets.mjs +63 -0
  8. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -0
  9. package/fesm2020/tuki-io-tuki-widgets.mjs +63 -0
  10. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -0
  11. package/index.d.ts +5 -0
  12. package/lib/widgets.component.d.ts +8 -0
  13. package/lib/widgets.module.d.ts +7 -0
  14. package/lib/widgets.service.d.ts +6 -0
  15. package/package.json +65 -48
  16. package/{projects/tuki/widgets/src/public-api.ts → public-api.d.ts} +0 -4
  17. package/.editorconfig +0 -16
  18. package/.hintrc +0 -14
  19. package/.vscode/extensions.json +0 -4
  20. package/.vscode/launch.json +0 -20
  21. package/.vscode/tasks.json +0 -42
  22. package/angular.json +0 -141
  23. package/projects/tuki/widgets/README.md +0 -24
  24. package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +0 -26
  25. package/projects/tuki/widgets/di2mt/assets/icons/already_upgraded.png +0 -0
  26. package/projects/tuki/widgets/di2mt/assets/icons/check2_icon.png +0 -0
  27. package/projects/tuki/widgets/di2mt/assets/icons/check_icon.png +0 -0
  28. package/projects/tuki/widgets/di2mt/assets/icons/details_d_icon.svg +0 -3
  29. package/projects/tuki/widgets/di2mt/assets/icons/expand_icon.png +0 -0
  30. package/projects/tuki/widgets/di2mt/assets/icons/issue_icon.png +0 -0
  31. package/projects/tuki/widgets/di2mt/assets/icons/menu_icon.png +0 -0
  32. package/projects/tuki/widgets/di2mt/assets/icons/ready_to_upgrade.png +0 -0
  33. package/projects/tuki/widgets/di2mt/assets/icons/search_icon.png +0 -0
  34. package/projects/tuki/widgets/di2mt/assets/icons/site.png +0 -0
  35. package/projects/tuki/widgets/di2mt/assets/icons/user.png +0 -0
  36. package/projects/tuki/widgets/di2mt/assets/icons/warning_icon.png +0 -0
  37. package/projects/tuki/widgets/di2mt/ng-package.json +0 -7
  38. package/projects/tuki/widgets/di2mt/public-api.ts +0 -27
  39. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +0 -11
  40. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +0 -48
  41. package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +0 -10
  42. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +0 -15
  43. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +0 -38
  44. package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +0 -71
  45. package/projects/tuki/widgets/di2mt/shared/components/index.ts +0 -6
  46. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.html +0 -57
  47. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +0 -74
  48. package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +0 -44
  49. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +0 -28
  50. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.scss +0 -55
  51. package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.ts +0 -11
  52. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.html +0 -12
  53. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.scss +0 -79
  54. package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.ts +0 -27
  55. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.html +0 -28
  56. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +0 -244
  57. package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.ts +0 -28
  58. package/projects/tuki/widgets/di2mt/shared/constants/app.constants.ts +0 -96
  59. package/projects/tuki/widgets/di2mt/shared/material.module.ts +0 -36
  60. package/projects/tuki/widgets/di2mt/shared/services/api.service.ts +0 -92
  61. package/projects/tuki/widgets/di2mt/shared/shared.module.ts +0 -38
  62. package/projects/tuki/widgets/di2mt/shared/types/constants.ts +0 -15
  63. package/projects/tuki/widgets/di2mt/shared/types/data-table.ts +0 -5
  64. package/projects/tuki/widgets/di2mt/shared/types/table/filter.ts +0 -14
  65. package/projects/tuki/widgets/di2mt/styles/tuki-widgets-theme.scss +0 -13
  66. package/projects/tuki/widgets/di2mt/styles/variables.scss +0 -92
  67. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.html +0 -3
  68. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.scss +0 -37
  69. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.ts +0 -40
  70. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +0 -158
  71. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +0 -430
  72. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +0 -362
  73. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +0 -33
  74. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +0 -102
  75. package/projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts +0 -22
  76. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +0 -52
  77. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +0 -53
  78. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +0 -67
  79. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +0 -7
  80. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
  81. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +0 -45
  82. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +0 -7
  83. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
  84. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +0 -45
  85. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +0 -59
  86. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +0 -70
  87. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts +0 -58
  88. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +0 -42
  89. package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +0 -95
  90. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts +0 -19
  91. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +0 -186
  92. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +0 -345
  93. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +0 -313
  94. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +0 -34
  95. package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +0 -79
  96. package/projects/tuki/widgets/karma.conf.js +0 -44
  97. package/projects/tuki/widgets/ng-package.json +0 -10
  98. package/projects/tuki/widgets/package.json +0 -13
  99. package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +0 -23
  100. package/projects/tuki/widgets/src/lib/widgets.component.ts +0 -20
  101. package/projects/tuki/widgets/src/lib/widgets.module.ts +0 -16
  102. package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +0 -16
  103. package/projects/tuki/widgets/src/lib/widgets.service.ts +0 -9
  104. package/projects/tuki/widgets/src/test.ts +0 -27
  105. package/projects/tuki/widgets/styles.scss +0 -572
  106. package/projects/tuki/widgets/tsconfig.lib.json +0 -36
  107. package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
  108. package/projects/tuki/widgets/tsconfig.spec.json +0 -17
  109. package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
  110. package/projects/tuki/widgets/user-device-manage/public-api.ts +0 -8
  111. package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -96
  112. package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +0 -5
  113. package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +0 -5
  114. package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +0 -3
  115. package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +0 -5
  116. package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
  117. package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +0 -1
  118. package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
  119. package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +0 -292
  120. package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
  121. package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
  122. package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
  123. package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
  124. package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
  125. package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
  126. package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
  127. package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
  128. package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
  129. package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
  130. package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
  131. package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
  132. package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
  133. package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
  134. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
  135. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -80
  136. package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +0 -35
  137. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +0 -21
  138. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +0 -97
  139. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +0 -28
  140. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +0 -6
  141. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +0 -20
  142. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +0 -13
  143. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -6
  144. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -4
  145. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -63
  146. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
  147. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
  148. package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
  149. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +0 -27
  150. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +0 -131
  151. package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +0 -25
  152. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +0 -209
  153. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +0 -502
  154. package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +0 -354
  155. package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +0 -9
  156. package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +0 -10
  157. package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +0 -35
  158. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
  159. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
  160. package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
  161. package/projects/tuki/widgets/user-device-manage/src/material.module.ts +0 -87
  162. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +0 -33
  163. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +0 -84
  164. package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +0 -46
  165. package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +0 -25
  166. package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +0 -87
  167. package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +0 -17
  168. package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +0 -95
  169. package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +0 -111
  170. package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
  171. package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
  172. package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
  173. package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
  174. package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
  175. package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -283
  176. package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +0 -87
  177. package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +0 -829
  178. package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +0 -90
  179. package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +0 -231
  180. package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +0 -32
  181. package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +0 -110
  182. package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +0 -30
  183. package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +0 -73
  184. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +0 -6
  185. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +0 -11
  186. package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +0 -13
  187. package/projects/tuki/widgets/user-manage/ng-package.json +0 -7
  188. package/projects/tuki/widgets/user-manage/public-api.ts +0 -6
  189. package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -50
  190. package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +0 -5
  191. package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +0 -5
  192. package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +0 -5
  193. package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
  194. package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +0 -1
  195. package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
  196. package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -232
  197. package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +0 -43
  198. package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +0 -161
  199. package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +0 -21
  200. package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +0 -42
  201. package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -144
  202. package/projects/tuki/widgets/user-manage/src/classes/notification.ts +0 -39
  203. package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +0 -18
  204. package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +0 -6
  205. package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +0 -165
  206. package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
  207. package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
  208. package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
  209. package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
  210. package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
  211. package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
  212. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -27
  213. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +0 -131
  214. package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +0 -25
  215. package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +0 -9
  216. package/projects/tuki/widgets/user-manage/src/environments/environment.ts +0 -10
  217. package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +0 -35
  218. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
  219. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
  220. package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
  221. package/projects/tuki/widgets/user-manage/src/material.module.ts +0 -85
  222. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +0 -33
  223. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +0 -84
  224. package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +0 -46
  225. package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +0 -25
  226. package/projects/tuki/widgets/user-manage/src/services/api.service.ts +0 -90
  227. package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +0 -116
  228. package/projects/tuki/widgets/user-manage/src/services/line.service.ts +0 -31
  229. package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +0 -68
  230. package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +0 -25
  231. package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +0 -35
  232. package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +0 -203
  233. package/projects/tuki/widgets/user-manage/src/services/user.service.ts +0 -242
  234. package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +0 -59
  235. package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +0 -71
  236. package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +0 -90
  237. package/projects/tuki/widgets/user-manage/src/styles/form.scss +0 -231
  238. package/projects/tuki/widgets/user-manage/src/styles/icons.scss +0 -32
  239. package/projects/tuki/widgets/user-manage/src/styles/styles.scss +0 -110
  240. package/projects/tuki/widgets/user-manage/src/styles/tables.scss +0 -30
  241. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +0 -10
  242. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +0 -429
  243. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +0 -63
  244. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +0 -32
  245. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -444
  246. package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -89
  247. package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
  248. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -29
  249. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -64
  250. package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +0 -19
  251. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +0 -290
  252. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -463
  253. package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -212
  254. package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -63
  255. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +0 -6
  256. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +0 -11
  257. package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +0 -13
  258. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +0 -26
  259. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +0 -41
  260. package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +0 -41
  261. package/projects/tuki/widgets/users-list/ng-package.json +0 -7
  262. package/projects/tuki/widgets/users-list/public-api.ts +0 -8
  263. package/projects/tuki/widgets/users-list/src/app.constants.ts +0 -54
  264. package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
  265. package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +0 -1
  266. package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +0 -14
  267. package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +0 -3
  268. package/projects/tuki/widgets/users-list/src/classes/app-location.ts +0 -36
  269. package/projects/tuki/widgets/users-list/src/classes/device.ts +0 -225
  270. package/projects/tuki/widgets/users-list/src/classes/line.ts +0 -144
  271. package/projects/tuki/widgets/users-list/src/classes/move-user.ts +0 -225
  272. package/projects/tuki/widgets/users-list/src/classes/notification.ts +0 -38
  273. package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
  274. package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
  275. package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
  276. package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
  277. package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -47
  278. package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
  279. package/projects/tuki/widgets/users-list/src/material.module.ts +0 -94
  280. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +0 -37
  281. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +0 -129
  282. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +0 -46
  283. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +0 -31
  284. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +0 -20
  285. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +0 -26
  286. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -222
  287. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +0 -239
  288. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -206
  289. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -12
  290. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +0 -41
  291. package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -36
  292. package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -14
  293. package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -90
  294. package/projects/tuki/widgets/users-list/src/services/dns.service.ts +0 -128
  295. package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +0 -11
  296. package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +0 -59
  297. package/projects/tuki/widgets/users-list/src/services/notification.service.ts +0 -68
  298. package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +0 -25
  299. package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +0 -26
  300. package/projects/tuki/widgets/users-list/src/services/user.service.ts +0 -159
  301. package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -139
  302. package/projects/tuki/widgets/users-list/src/styles/styles.scss +0 -572
  303. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +0 -15
  304. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +0 -103
  305. package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +0 -35
  306. package/projects/tuki/widgets/users-list/src/users-list.component.css +0 -4
  307. package/projects/tuki/widgets/users-list/src/users-list.component.css.map +0 -1
  308. package/projects/tuki/widgets/users-list/src/users-list.component.html +0 -86
  309. package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -572
  310. package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -312
  311. package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -63
  312. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +0 -11
  313. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +0 -1
  314. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +0 -6
  315. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +0 -11
  316. package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +0 -13
  317. package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +0 -32
  318. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +0 -33
  319. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +0 -84
  320. package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +0 -46
  321. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +0 -45
  322. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +0 -1
  323. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +0 -26
  324. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +0 -41
  325. package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +0 -41
  326. package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +0 -71
  327. package/projects/widgets-playground/src/app/app.component.html +0 -109
  328. package/projects/widgets-playground/src/app/app.component.scss +0 -15
  329. package/projects/widgets-playground/src/app/app.component.spec.ts +0 -31
  330. package/projects/widgets-playground/src/app/app.component.ts +0 -31
  331. package/projects/widgets-playground/src/app/app.module.ts +0 -43
  332. package/projects/widgets-playground/src/assets/.gitkeep +0 -0
  333. package/projects/widgets-playground/src/assets/icons/already_upgraded.png +0 -0
  334. package/projects/widgets-playground/src/assets/icons/check2_icon.png +0 -0
  335. package/projects/widgets-playground/src/assets/icons/check_icon.png +0 -0
  336. package/projects/widgets-playground/src/assets/icons/expand_icon.png +0 -0
  337. package/projects/widgets-playground/src/assets/icons/issue_icon.png +0 -0
  338. package/projects/widgets-playground/src/assets/icons/menu_icon.png +0 -0
  339. package/projects/widgets-playground/src/assets/icons/ready_to_upgrade.png +0 -0
  340. package/projects/widgets-playground/src/assets/icons/search_icon.png +0 -0
  341. package/projects/widgets-playground/src/assets/icons/site.png +0 -0
  342. package/projects/widgets-playground/src/assets/icons/user.png +0 -0
  343. package/projects/widgets-playground/src/assets/icons/warning_icon.png +0 -0
  344. package/projects/widgets-playground/src/favicon.ico +0 -0
  345. package/projects/widgets-playground/src/index.html +0 -13
  346. package/projects/widgets-playground/src/main.ts +0 -7
  347. package/projects/widgets-playground/src/styles.scss +0 -23
  348. package/projects/widgets-playground/tsconfig.app.json +0 -14
  349. package/projects/widgets-playground/tsconfig.spec.json +0 -14
  350. package/proxy.conf.js +0 -23
  351. package/tsconfig.json +0 -46
  352. /package/{projects/tuki/widgets/di2mt → di2mt}/README.md +0 -0
@@ -1,3 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M13.125 5C12.7935 5 12.4755 4.8683 12.2411 4.63388C12.0067 4.39946 11.875 4.08152 11.875 3.75C11.875 3.41848 12.0067 3.10054 12.2411 2.86612C12.4755 2.6317 12.7935 2.5 13.125 2.5C13.4565 2.5 13.7745 2.6317 14.0089 2.86612C14.2433 3.10054 14.375 3.41848 14.375 3.75C14.375 4.08152 14.2433 4.39946 14.0089 4.63388C13.7745 4.8683 13.4565 5 13.125 5ZM6.875 5C6.54348 5 6.22554 4.8683 5.99112 4.63388C5.7567 4.39946 5.625 4.08152 5.625 3.75C5.625 3.41848 5.7567 3.10054 5.99112 2.86612C6.22554 2.6317 6.54348 2.5 6.875 2.5C7.20652 2.5 7.52446 2.6317 7.75888 2.86612C7.9933 3.10054 8.125 3.41848 8.125 3.75C8.125 4.08152 7.9933 4.39946 7.75888 4.63388C7.52446 4.8683 7.20652 5 6.875 5ZM13.125 11.25C12.7935 11.25 12.4755 11.1183 12.2411 10.8839C12.0067 10.6495 11.875 10.3315 11.875 10C11.875 9.66848 12.0067 9.35054 12.2411 9.11612C12.4755 8.8817 12.7935 8.75 13.125 8.75C13.4565 8.75 13.7745 8.8817 14.0089 9.11612C14.2433 9.35054 14.375 9.66848 14.375 10C14.375 10.3315 14.2433 10.6495 14.0089 10.8839C13.7745 11.1183 13.4565 11.25 13.125 11.25ZM6.875 11.25C6.54348 11.25 6.22554 11.1183 5.99112 10.8839C5.7567 10.6495 5.625 10.3315 5.625 10C5.625 9.66848 5.7567 9.35054 5.99112 9.11612C6.22554 8.8817 6.54348 8.75 6.875 8.75C7.20652 8.75 7.52446 8.8817 7.75888 9.11612C7.9933 9.35054 8.125 9.66848 8.125 10C8.125 10.3315 7.9933 10.6495 7.75888 10.8839C7.52446 11.1183 7.20652 11.25 6.875 11.25ZM13.125 17.5C12.7935 17.5 12.4755 17.3683 12.2411 17.1339C12.0067 16.8995 11.875 16.5815 11.875 16.25C11.875 15.9185 12.0067 15.6005 12.2411 15.3661C12.4755 15.1317 12.7935 15 13.125 15C13.4565 15 13.7745 15.1317 14.0089 15.3661C14.2433 15.6005 14.375 15.9185 14.375 16.25C14.375 16.5815 14.2433 16.8995 14.0089 17.1339C13.7745 17.3683 13.4565 17.5 13.125 17.5ZM6.875 17.5C6.54348 17.5 6.22554 17.3683 5.99112 17.1339C5.7567 16.8995 5.625 16.5815 5.625 16.25C5.625 15.9185 5.7567 15.6005 5.99112 15.3661C6.22554 15.1317 6.54348 15 6.875 15C7.20652 15 7.52446 15.1317 7.75888 15.3661C7.9933 15.6005 8.125 15.9185 8.125 16.25C8.125 16.5815 7.9933 16.8995 7.75888 17.1339C7.52446 17.3683 7.20652 17.5 6.875 17.5Z" fill="black" fill-opacity="0.95"/>
3
- </svg>
@@ -1 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,232 +0,0 @@
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
- }
@@ -1,43 +0,0 @@
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
- }
@@ -1,161 +0,0 @@
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
- }
@@ -1,21 +0,0 @@
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
- }
@@ -1,42 +0,0 @@
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
- }
@@ -1,144 +0,0 @@
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
- }