@naniteninja/dashboard-components-lib 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/esm2022/lib/components/auto-delegation/animations.mjs +20 -0
  2. package/esm2022/lib/components/auto-delegation/auto-delegation-modal.component.mjs +106 -0
  3. package/esm2022/lib/components/auto-delegation/enums/auto-delegation.event-type.enum.mjs +6 -0
  4. package/esm2022/lib/components/auto-delegation/enums/auto-delegation.event-value.enum.mjs +7 -0
  5. package/esm2022/lib/components/auto-delegation/interface/auto-delegation-data.interface.mjs +2 -0
  6. package/esm2022/lib/components/auto-delegation/interface/auto-delegation.event.interface.mjs +2 -0
  7. package/esm2022/lib/components/auto-delegation/interface/auto-delegation.modal-data.interface.mjs +2 -0
  8. package/esm2022/lib/components/auto-delegation/interface/preferences.interface.mjs +2 -0
  9. package/esm2022/lib/components/calendar/agenda/agenda-day-card/agenda-day-card.component.mjs +37 -0
  10. package/esm2022/lib/components/calendar/agenda/agenda.component.mjs +120 -0
  11. package/esm2022/lib/components/calendar/agenda/agenda.module.mjs +23 -0
  12. package/esm2022/lib/components/calendar/agenda/enums/agenda-item-type.enum.mjs +6 -0
  13. package/esm2022/lib/components/calendar/agenda/interfaces/agenda.day.interface.mjs +2 -0
  14. package/esm2022/lib/components/calendar/agenda/interfaces/agenda.event.inetrface.mjs +2 -0
  15. package/esm2022/lib/components/calendar/agenda/types/agenda-item.type.mjs +2 -0
  16. package/esm2022/lib/components/calendar/components/edit-recurring-event/edit-recurring-event.component.mjs +40 -0
  17. package/esm2022/lib/components/calendar/components/event-form/event-form.component.mjs +275 -0
  18. package/esm2022/lib/components/calendar/components/event-form/event-form.module.mjs +89 -0
  19. package/esm2022/lib/components/calendar/components/event-info/event-info.component.mjs +40 -0
  20. package/esm2022/lib/components/calendar/enums/calendar.account.enum.mjs +6 -0
  21. package/esm2022/lib/components/calendar/enums/calendar.account.icons.enum.mjs +6 -0
  22. package/esm2022/lib/components/calendar/enums/event-type.enum.mjs +10 -0
  23. package/esm2022/lib/components/calendar/enums/recurring.edit.options.enum.mjs +7 -0
  24. package/esm2022/lib/components/calendar/enums/recurring.type.enum.mjs +8 -0
  25. package/esm2022/lib/components/calendar/interfaces/calendar.account.interface.mjs +2 -0
  26. package/esm2022/lib/components/calendar/interfaces/calendar.account.theme.interface.mjs +2 -0
  27. package/esm2022/lib/components/calendar/interfaces/event.form.interface.mjs +2 -0
  28. package/esm2022/lib/components/calendar/interfaces/event.form.output.interface.mjs +2 -0
  29. package/esm2022/lib/components/calendar/interfaces/event.interface.mjs +2 -0
  30. package/esm2022/lib/components/calendar/interfaces/event.time.interface.mjs +2 -0
  31. package/esm2022/lib/components/calendar/interfaces/recurring.event.interface.mjs +2 -0
  32. package/esm2022/lib/components/calendar/interfaces/recurring.exception.interface.mjs +2 -0
  33. package/esm2022/lib/components/calendar/interfaces/recurring.pattern.interface.mjs +2 -0
  34. package/esm2022/lib/components/calendar/lookups/recurring.options.lookup.mjs +30 -0
  35. package/esm2022/lib/components/calendar/scheduler/enums/schedule-date-status.enum.mjs +7 -0
  36. package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.action.interface.mjs +2 -0
  37. package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.day.interface.mjs +2 -0
  38. package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.interface.mjs +2 -0
  39. package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.suggestion.interface.mjs +2 -0
  40. package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.slots.interface.mjs +2 -0
  41. package/esm2022/lib/components/calendar/scheduler/mock-schedule.mjs +80 -0
  42. package/esm2022/lib/components/calendar/scheduler/scheduler.component.mjs +144 -0
  43. package/esm2022/lib/components/calendar/services/calendar-utils.service.mjs +211 -0
  44. package/esm2022/lib/components/chat/chat.component.mjs +310 -0
  45. package/esm2022/lib/components/chat/chat.component.module.mjs +85 -0
  46. package/esm2022/lib/components/chat/chat.service.mjs +63 -0
  47. package/esm2022/lib/components/chat/enums/sender-types.enum.mjs +6 -0
  48. package/esm2022/lib/components/chat/gif-selector/gif-selector.component.mjs +77 -0
  49. package/esm2022/lib/components/chat/gif-selector/gif-selector.service.mjs +41 -0
  50. package/esm2022/lib/components/chat/gif-selector/tenor-media-format.interface.mjs +2 -0
  51. package/esm2022/lib/components/chat/gif-selector/tenor-object.interface.mjs +2 -0
  52. package/esm2022/lib/components/chat/gif-selector/tenor-result.interface.mjs +2 -0
  53. package/esm2022/lib/components/chat/interfaces/date-messages.interface.mjs +2 -0
  54. package/esm2022/lib/components/chat/interfaces/message-attachment.interface.mjs +2 -0
  55. package/esm2022/lib/components/chat/interfaces/message.interface.mjs +2 -0
  56. package/esm2022/lib/components/chat/interfaces/send-options-message.interface.mjs +2 -0
  57. package/esm2022/lib/components/chat/interfaces/type-send-message.enum.mjs +7 -0
  58. package/esm2022/lib/components/chat-suggestion/chat-suggestion.component.mjs +21 -0
  59. package/esm2022/lib/components/chat-suggestion/interfaces/chat-suggestion.interface.mjs +2 -0
  60. package/esm2022/lib/components/circle-progress/circle-progress.component.mjs +143 -0
  61. package/esm2022/lib/components/circle-progress/circle-progress.module.mjs +18 -0
  62. package/esm2022/lib/components/circle-progress/enums/circle-variable.enum.mjs +6 -0
  63. package/esm2022/lib/components/circle-progress/interfaces/circle-progress-config.interface.mjs +2 -0
  64. package/esm2022/lib/components/client-home/client-home.component.mjs +123 -0
  65. package/esm2022/lib/components/client-home/enums/client-home-component.enum.mjs +9 -0
  66. package/esm2022/lib/components/client-home/interfaces/chat-meta.interface.mjs +2 -0
  67. package/esm2022/lib/components/client-home/interfaces/home-dashboard-inputs.interface.mjs +2 -0
  68. package/esm2022/lib/components/client-home/interfaces/inner-partial-circle-progress-colors.interface.mjs +2 -0
  69. package/esm2022/lib/components/client-home/interfaces/partial-circle-progress-colors.interface.mjs +2 -0
  70. package/esm2022/lib/components/client-home/lookup/client-home.config.mjs +30 -0
  71. package/esm2022/lib/components/client-home/lookup/inner-progress-default-colors.config.mjs +6 -0
  72. package/esm2022/lib/components/client-home/lookup/inner-progress-pink-colors.config.mjs +6 -0
  73. package/esm2022/lib/components/client-home/lookup/inner-progress-purple-colors.config.mjs +6 -0
  74. package/esm2022/lib/components/client-home/lookup/inner-progress-teal-colors.config.mjs +6 -0
  75. package/esm2022/lib/components/client-home/lookup/inner-progress-white-colors.config.mjs +10 -0
  76. package/esm2022/lib/components/client-home/lookup/progress-default-colors.config.mjs +10 -0
  77. package/esm2022/lib/components/client-home/lookup/progress-white-colors.config.mjs +10 -0
  78. package/esm2022/lib/components/client-home/pipes/chat-meta.pipe.mjs +60 -0
  79. package/esm2022/lib/components/client-home/pipes/get-color-by-matcher.pipe.mjs +33 -0
  80. package/esm2022/lib/components/client-match-overview/client-match-overview.component.mjs +300 -0
  81. package/esm2022/lib/components/client-match-overview/enums/conversation-flag.enum.mjs +6 -0
  82. package/esm2022/lib/components/client-match-overview/enums/counter-flag-base.enum.mjs +6 -0
  83. package/esm2022/lib/components/client-match-overview/enums/inner-circle-state.enum.mjs +8 -0
  84. package/esm2022/lib/components/client-match-overview/interfaces/client-match-overview.interface.mjs +2 -0
  85. package/esm2022/lib/components/client-match-overview/interfaces/conversation-flag.interface.mjs +2 -0
  86. package/esm2022/lib/components/client-match-overview/interfaces/dashboard-match-request.interface.mjs +2 -0
  87. package/esm2022/lib/components/client-match-overview/interfaces/progress-decision.interface.mjs +2 -0
  88. package/esm2022/lib/components/client-match-overview/interfaces/progress-facts.interface.mjs +2 -0
  89. package/esm2022/lib/components/client-match-overview/lookups/computer-inner-state.lookup.mjs +81 -0
  90. package/esm2022/lib/components/client-match-overview/lookups/limit-dates-indicator.lookup.mjs +8 -0
  91. package/esm2022/lib/components/client-match-overview/progress-ticker/progress-gap.config.mjs +4 -0
  92. package/esm2022/lib/components/client-match-overview/progress-ticker/progress-ticker.config.mjs +3 -0
  93. package/esm2022/lib/components/client-match-overview/progress-ticker/progress-ticker.service.mjs +43 -0
  94. package/esm2022/lib/components/dashboard-swipeable-tabs/dashboard-swipeable-tabs.component.mjs +113 -0
  95. package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/dashboard-main-swiper-options.mjs +11 -0
  96. package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/dashboard-thumbs-swiper-options.mjs +27 -0
  97. package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/main-swiper-default-options.mjs +19 -0
  98. package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/thumbs-swiper-default-options.mjs +21 -0
  99. package/esm2022/lib/components/lib-client-dashboard/client-dashboard.component.mjs +173 -0
  100. package/esm2022/lib/components/lib-client-dashboard/enums/alert-status-fields.enum.mjs +11 -0
  101. package/esm2022/lib/components/lib-client-dashboard/enums/client-dashboard-component.enum.mjs +7 -0
  102. package/esm2022/lib/components/lib-client-dashboard/interfaces/ads.interface.mjs +2 -0
  103. package/esm2022/lib/components/lib-client-dashboard/interfaces/client-dashboard-inputs.interface.mjs +2 -0
  104. package/esm2022/lib/components/lib-client-dashboard/lookups/client-dashboard.config.mjs +15 -0
  105. package/esm2022/lib/components/lib-compose-matcher-dash/compose-matcher-dash.component.mjs +146 -0
  106. package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/chart-data.interface.mjs +2 -0
  107. package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/chat-identifier.interface.mjs +2 -0
  108. package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/matcher-dashboard-inputs.interface.mjs +2 -0
  109. package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/matcher-profile.interface.mjs +2 -0
  110. package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/prospect-data.interface.mjs +2 -0
  111. package/esm2022/lib/components/lib-compose-matcher-dash/pipes/get-profile-with-progress.pipe.mjs +21 -0
  112. package/esm2022/lib/components/matcher-statuses/enums/matcher-statuses.enum.mjs +15 -0
  113. package/esm2022/lib/components/matcher-statuses/interfaces/status.interface.mjs +2 -0
  114. package/esm2022/lib/components/matcher-statuses/lookups/matcher-statuses.lookup.mjs +54 -0
  115. package/esm2022/lib/components/matcher-statuses/matcher-statuses.component.mjs +58 -0
  116. package/esm2022/lib/components/matcher-statuses/pipes/is-status-included.pipe.mjs +19 -0
  117. package/esm2022/lib/components/profile-card/profile-card.component.mjs +35 -0
  118. package/esm2022/lib/components/profile-card/profile-card.module.mjs +19 -0
  119. package/esm2022/lib/components/spider-chart/interfaces/chart-data-circle.interface.mjs +2 -0
  120. package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-f.interface.mjs +2 -0
  121. package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-lg.interface.mjs +2 -0
  122. package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-rg.interface.mjs +2 -0
  123. package/esm2022/lib/components/spider-chart/interfaces/config.interface.mjs +2 -0
  124. package/esm2022/lib/components/spider-chart/interfaces/dataset.interface.mjs +2 -0
  125. package/esm2022/lib/components/spider-chart/interfaces/polygon-color.interface.mjs +2 -0
  126. package/esm2022/lib/components/spider-chart/interfaces/spider-chart-attribute.interface.mjs +2 -0
  127. package/esm2022/lib/components/spider-chart/lookup/default-spider-config.mjs +67 -0
  128. package/esm2022/lib/components/spider-chart/lookup/demo-polygon-colors.lookup.mjs +11 -0
  129. package/esm2022/lib/components/spider-chart/lookup/svg-config.lookup.mjs +277 -0
  130. package/esm2022/lib/components/spider-chart/spider-chart.component.mjs +235 -0
  131. package/esm2022/lib/enums/direction.enum.mjs +6 -0
  132. package/esm2022/lib/enums/form-field-type.mjs +30 -0
  133. package/esm2022/lib/enums/local-storage-keys.enum.mjs +5 -0
  134. package/esm2022/lib/enums/status-types.mjs +8 -0
  135. package/esm2022/lib/model/select-option-template.mjs +2 -0
  136. package/esm2022/lib/operations/operations.mjs +19 -0
  137. package/esm2022/lib/pipes/array-sort/array.sort.pipe.mjs +49 -0
  138. package/esm2022/lib/pipes/count-non-empty-fields/count-non-empty-fields.pipe.mjs +17 -0
  139. package/esm2022/lib/pipes/date-localization/date-localization.pipe.mjs +31 -0
  140. package/esm2022/lib/pipes/fallback-translate/fallback-translate.pipe.mjs +28 -0
  141. package/esm2022/lib/pipes/get-display-value/get-display-value.pipe.mjs +59 -0
  142. package/esm2022/lib/pipes/get-multi-select-display-text/get-multi-select-display-text.pipe.mjs +22 -0
  143. package/esm2022/lib/pipes/initials/initials.pipe.mjs +26 -0
  144. package/esm2022/lib/pipes/round/round.pipe.mjs +17 -0
  145. package/esm2022/lib/pipes/update-llm-preference/update-llm-preference.pipe.mjs +25 -0
  146. package/esm2022/lib/services/abstract-cache.service.mjs +10 -0
  147. package/esm2022/lib/shared/shared/alert-popup/alert-popup.component.mjs +38 -0
  148. package/esm2022/lib/shared/shared/message-modal/message-modal.component.mjs +95 -0
  149. package/esm2022/lib/shared/shared/status-icon/status-icon.component.mjs +14 -0
  150. package/esm2022/lib/shared/shared.module.mjs +23 -0
  151. package/esm2022/naniteninja-dashboard-components-lib.mjs +5 -0
  152. package/esm2022/public-api.mjs +123 -0
  153. package/fesm2022/naniteninja-dashboard-components-lib.mjs +205 -178
  154. package/fesm2022/naniteninja-dashboard-components-lib.mjs.map +1 -1
  155. package/index.d.ts +3 -1669
  156. package/lib/components/auto-delegation/animations.d.ts +1 -0
  157. package/lib/components/auto-delegation/auto-delegation-modal.component.d.ts +29 -0
  158. package/lib/components/auto-delegation/enums/auto-delegation.event-type.enum.d.ts +4 -0
  159. package/lib/components/auto-delegation/enums/auto-delegation.event-value.enum.d.ts +5 -0
  160. package/lib/components/auto-delegation/interface/auto-delegation-data.interface.d.ts +31 -0
  161. package/lib/components/auto-delegation/interface/auto-delegation.event.interface.d.ts +6 -0
  162. package/lib/components/auto-delegation/interface/auto-delegation.modal-data.interface.d.ts +8 -0
  163. package/lib/components/auto-delegation/interface/preferences.interface.d.ts +17 -0
  164. package/lib/components/calendar/agenda/agenda-day-card/agenda-day-card.component.d.ts +12 -0
  165. package/lib/components/calendar/agenda/agenda.component.d.ts +27 -0
  166. package/lib/components/calendar/agenda/agenda.module.d.ts +12 -0
  167. package/lib/components/calendar/agenda/enums/agenda-item-type.enum.d.ts +4 -0
  168. package/lib/components/calendar/agenda/interfaces/agenda.day.interface.d.ts +7 -0
  169. package/lib/components/calendar/agenda/interfaces/agenda.event.inetrface.d.ts +9 -0
  170. package/lib/components/calendar/agenda/types/agenda-item.type.d.ts +7 -0
  171. package/lib/components/calendar/components/edit-recurring-event/edit-recurring-event.component.d.ts +19 -0
  172. package/lib/components/calendar/components/event-form/event-form.component.d.ts +67 -0
  173. package/lib/components/calendar/components/event-form/event-form.module.d.ts +20 -0
  174. package/lib/components/calendar/components/event-info/event-info.component.d.ts +24 -0
  175. package/lib/components/calendar/enums/calendar.account.enum.d.ts +4 -0
  176. package/lib/components/calendar/enums/calendar.account.icons.enum.d.ts +4 -0
  177. package/lib/components/calendar/enums/event-type.enum.d.ts +8 -0
  178. package/lib/components/calendar/enums/recurring.edit.options.enum.d.ts +5 -0
  179. package/lib/components/calendar/enums/recurring.type.enum.d.ts +6 -0
  180. package/lib/components/calendar/interfaces/calendar.account.interface.d.ts +14 -0
  181. package/lib/components/calendar/interfaces/calendar.account.theme.interface.d.ts +5 -0
  182. package/lib/components/calendar/interfaces/event.form.interface.d.ts +22 -0
  183. package/lib/components/calendar/interfaces/event.form.output.interface.d.ts +10 -0
  184. package/lib/components/calendar/interfaces/event.interface.d.ts +33 -0
  185. package/lib/components/calendar/interfaces/event.time.interface.d.ts +4 -0
  186. package/lib/components/calendar/interfaces/recurring.event.interface.d.ts +16 -0
  187. package/lib/components/calendar/interfaces/recurring.exception.interface.d.ts +14 -0
  188. package/lib/components/calendar/interfaces/recurring.pattern.interface.d.ts +16 -0
  189. package/lib/components/calendar/lookups/recurring.options.lookup.d.ts +2 -0
  190. package/lib/components/calendar/scheduler/enums/schedule-date-status.enum.d.ts +5 -0
  191. package/lib/components/calendar/scheduler/interfaces/scheduler.action.interface.d.ts +10 -0
  192. package/lib/components/calendar/scheduler/interfaces/scheduler.event.day.interface.d.ts +5 -0
  193. package/lib/components/calendar/scheduler/interfaces/scheduler.event.interface.d.ts +26 -0
  194. package/lib/components/calendar/scheduler/interfaces/scheduler.event.suggestion.interface.d.ts +13 -0
  195. package/lib/components/calendar/scheduler/interfaces/scheduler.slots.interface.d.ts +6 -0
  196. package/lib/components/calendar/scheduler/mock-schedule.d.ts +9 -0
  197. package/lib/components/calendar/scheduler/scheduler.component.d.ts +36 -0
  198. package/lib/components/calendar/services/calendar-utils.service.d.ts +39 -0
  199. package/lib/components/chat/chat.component.d.ts +70 -0
  200. package/lib/components/chat/chat.component.module.d.ts +22 -0
  201. package/lib/components/chat/chat.service.d.ts +15 -0
  202. package/lib/components/chat/enums/sender-types.enum.d.ts +4 -0
  203. package/lib/components/chat/gif-selector/gif-selector.component.d.ts +25 -0
  204. package/lib/components/chat/gif-selector/gif-selector.service.d.ts +15 -0
  205. package/lib/components/chat/gif-selector/tenor-media-format.interface.d.ts +7 -0
  206. package/lib/components/chat/gif-selector/tenor-object.interface.d.ts +5 -0
  207. package/lib/components/chat/gif-selector/tenor-result.interface.d.ts +16 -0
  208. package/lib/components/chat/interfaces/date-messages.interface.d.ts +6 -0
  209. package/lib/components/chat/interfaces/message-attachment.interface.d.ts +6 -0
  210. package/lib/components/chat/interfaces/message.interface.d.ts +11 -0
  211. package/lib/components/chat/interfaces/send-options-message.interface.d.ts +5 -0
  212. package/lib/components/chat/interfaces/type-send-message.enum.d.ts +5 -0
  213. package/lib/components/chat-suggestion/chat-suggestion.component.d.ts +9 -0
  214. package/lib/components/chat-suggestion/interfaces/chat-suggestion.interface.d.ts +4 -0
  215. package/lib/components/circle-progress/circle-progress.component.d.ts +31 -0
  216. package/lib/components/circle-progress/circle-progress.module.d.ts +8 -0
  217. package/lib/components/circle-progress/enums/circle-variable.enum.d.ts +4 -0
  218. package/lib/components/circle-progress/interfaces/circle-progress-config.interface.d.ts +29 -0
  219. package/lib/components/client-home/client-home.component.d.ts +44 -0
  220. package/lib/components/client-home/enums/client-home-component.enum.d.ts +7 -0
  221. package/lib/components/client-home/interfaces/chat-meta.interface.d.ts +7 -0
  222. package/lib/components/client-home/interfaces/home-dashboard-inputs.interface.d.ts +45 -0
  223. package/lib/components/client-home/interfaces/inner-partial-circle-progress-colors.interface.d.ts +5 -0
  224. package/lib/components/client-home/interfaces/partial-circle-progress-colors.interface.d.ts +9 -0
  225. package/lib/components/client-home/lookup/client-home.config.d.ts +2 -0
  226. package/lib/components/client-home/lookup/inner-progress-default-colors.config.d.ts +2 -0
  227. package/lib/components/client-home/lookup/inner-progress-pink-colors.config.d.ts +2 -0
  228. package/lib/components/client-home/lookup/inner-progress-purple-colors.config.d.ts +2 -0
  229. package/lib/components/client-home/lookup/inner-progress-teal-colors.config.d.ts +2 -0
  230. package/lib/components/client-home/lookup/inner-progress-white-colors.config.d.ts +2 -0
  231. package/lib/components/client-home/lookup/progress-default-colors.config.d.ts +2 -0
  232. package/lib/components/client-home/lookup/progress-white-colors.config.d.ts +2 -0
  233. package/lib/components/client-home/pipes/chat-meta.pipe.d.ts +10 -0
  234. package/lib/components/client-home/pipes/get-color-by-matcher.pipe.d.ts +10 -0
  235. package/lib/components/client-match-overview/client-match-overview.component.d.ts +55 -0
  236. package/lib/components/client-match-overview/enums/conversation-flag.enum.d.ts +4 -0
  237. package/lib/components/client-match-overview/enums/counter-flag-base.enum.d.ts +4 -0
  238. package/lib/components/client-match-overview/enums/inner-circle-state.enum.d.ts +6 -0
  239. package/lib/components/client-match-overview/interfaces/client-match-overview.interface.d.ts +19 -0
  240. package/lib/components/client-match-overview/interfaces/conversation-flag.interface.d.ts +8 -0
  241. package/lib/components/client-match-overview/interfaces/dashboard-match-request.interface.d.ts +7 -0
  242. package/lib/components/client-match-overview/interfaces/progress-decision.interface.d.ts +10 -0
  243. package/lib/components/client-match-overview/interfaces/progress-facts.interface.d.ts +11 -0
  244. package/lib/components/client-match-overview/lookups/computer-inner-state.lookup.d.ts +7 -0
  245. package/lib/components/client-match-overview/lookups/limit-dates-indicator.lookup.d.ts +5 -0
  246. package/lib/components/client-match-overview/progress-ticker/progress-gap.config.d.ts +2 -0
  247. package/lib/components/client-match-overview/progress-ticker/progress-ticker.config.d.ts +2 -0
  248. package/lib/components/client-match-overview/progress-ticker/progress-ticker.service.d.ts +11 -0
  249. package/lib/components/dashboard-swipeable-tabs/dashboard-swipeable-tabs.component.d.ts +29 -0
  250. package/lib/components/dashboard-swipeable-tabs/lookups/dashboard-main-swiper-options.d.ts +2 -0
  251. package/lib/components/dashboard-swipeable-tabs/lookups/dashboard-thumbs-swiper-options.d.ts +2 -0
  252. package/lib/components/dashboard-swipeable-tabs/lookups/main-swiper-default-options.d.ts +2 -0
  253. package/lib/components/dashboard-swipeable-tabs/lookups/thumbs-swiper-default-options.d.ts +2 -0
  254. package/lib/components/lib-client-dashboard/client-dashboard.component.d.ts +75 -0
  255. package/lib/components/lib-client-dashboard/enums/alert-status-fields.enum.d.ts +9 -0
  256. package/lib/components/lib-client-dashboard/enums/client-dashboard-component.enum.d.ts +5 -0
  257. package/lib/components/lib-client-dashboard/interfaces/ads.interface.d.ts +14 -0
  258. package/lib/components/lib-client-dashboard/interfaces/client-dashboard-inputs.interface.d.ts +29 -0
  259. package/lib/components/lib-client-dashboard/lookups/client-dashboard.config.d.ts +2 -0
  260. package/lib/components/lib-compose-matcher-dash/compose-matcher-dash.component.d.ts +48 -0
  261. package/lib/components/lib-compose-matcher-dash/interfaces/chart-data.interface.d.ts +5 -0
  262. package/lib/components/lib-compose-matcher-dash/interfaces/chat-identifier.interface.d.ts +5 -0
  263. package/lib/components/lib-compose-matcher-dash/interfaces/matcher-dashboard-inputs.interface.d.ts +26 -0
  264. package/lib/components/lib-compose-matcher-dash/interfaces/matcher-profile.interface.d.ts +8 -0
  265. package/lib/components/lib-compose-matcher-dash/interfaces/prospect-data.interface.d.ts +24 -0
  266. package/lib/components/lib-compose-matcher-dash/pipes/get-profile-with-progress.pipe.d.ts +9 -0
  267. package/lib/components/matcher-statuses/enums/matcher-statuses.enum.d.ts +13 -0
  268. package/lib/components/matcher-statuses/interfaces/status.interface.d.ts +6 -0
  269. package/lib/components/matcher-statuses/lookups/matcher-statuses.lookup.d.ts +2 -0
  270. package/lib/components/matcher-statuses/matcher-statuses.component.d.ts +23 -0
  271. package/lib/components/matcher-statuses/pipes/is-status-included.pipe.d.ts +8 -0
  272. package/lib/components/profile-card/profile-card.component.d.ts +11 -0
  273. package/lib/components/profile-card/profile-card.module.d.ts +9 -0
  274. package/lib/components/spider-chart/interfaces/chart-data-circle.interface.d.ts +10 -0
  275. package/lib/components/spider-chart/interfaces/chart-data-defs-f.interface.d.ts +11 -0
  276. package/lib/components/spider-chart/interfaces/chart-data-defs-lg.interface.d.ts +11 -0
  277. package/lib/components/spider-chart/interfaces/chart-data-defs-rg.interface.d.ts +10 -0
  278. package/lib/components/spider-chart/interfaces/config.interface.d.ts +19 -0
  279. package/lib/components/spider-chart/interfaces/dataset.interface.d.ts +7 -0
  280. package/lib/components/spider-chart/interfaces/polygon-color.interface.d.ts +4 -0
  281. package/lib/components/spider-chart/interfaces/spider-chart-attribute.interface.d.ts +6 -0
  282. package/lib/components/spider-chart/lookup/default-spider-config.d.ts +2 -0
  283. package/lib/components/spider-chart/lookup/demo-polygon-colors.lookup.d.ts +2 -0
  284. package/lib/components/spider-chart/lookup/svg-config.lookup.d.ts +8 -0
  285. package/lib/components/spider-chart/spider-chart.component.d.ts +52 -0
  286. package/lib/enums/direction.enum.d.ts +4 -0
  287. package/lib/enums/form-field-type.d.ts +28 -0
  288. package/lib/enums/local-storage-keys.enum.d.ts +3 -0
  289. package/lib/enums/status-types.d.ts +6 -0
  290. package/lib/model/select-option-template.d.ts +5 -0
  291. package/lib/operations/operations.d.ts +19 -0
  292. package/lib/pipes/array-sort/array.sort.pipe.d.ts +7 -0
  293. package/lib/pipes/count-non-empty-fields/count-non-empty-fields.pipe.d.ts +7 -0
  294. package/lib/pipes/date-localization/date-localization.pipe.d.ts +8 -0
  295. package/lib/pipes/fallback-translate/fallback-translate.pipe.d.ts +11 -0
  296. package/lib/pipes/get-display-value/get-display-value.pipe.d.ts +13 -0
  297. package/lib/pipes/get-multi-select-display-text/get-multi-select-display-text.pipe.d.ts +8 -0
  298. package/lib/pipes/initials/initials.pipe.d.ts +7 -0
  299. package/lib/pipes/round/round.pipe.d.ts +7 -0
  300. package/lib/pipes/update-llm-preference/update-llm-preference.pipe.d.ts +8 -0
  301. package/lib/services/abstract-cache.service.d.ts +9 -0
  302. package/lib/shared/shared/alert-popup/alert-popup.component.d.ts +14 -0
  303. package/lib/shared/shared/message-modal/message-modal.component.d.ts +29 -0
  304. package/lib/shared/shared/status-icon/status-icon.component.d.ts +7 -0
  305. package/lib/shared/shared.module.d.ts +13 -0
  306. package/naniteninja-dashboard-components-lib-1.0.5.tgz +0 -0
  307. package/package.json +29 -25
  308. package/public-api.d.ts +122 -0
  309. package/src/lib/shared-styles/common/theme.scss +3 -3
@@ -0,0 +1,36 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ISchedulerAction } from './interfaces/scheduler.action.interface';
4
+ import { ISchedulerEventDay } from './interfaces/scheduler.event.day.interface';
5
+ import { ISchedulerEvent } from './interfaces/scheduler.event.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LibSchedulerComponent implements OnInit, OnDestroy {
8
+ private cdr;
9
+ adsTemplate?: TemplateRef<HTMLElement>;
10
+ loading$: Observable<boolean>;
11
+ emptyMessage: string;
12
+ displayBookedStatuses: boolean;
13
+ displayEmptyDays: boolean;
14
+ events$: Observable<ISchedulerEvent[]>;
15
+ startDate: Date;
16
+ endDate: Date;
17
+ default: boolean;
18
+ bookEvent: EventEmitter<ISchedulerAction>;
19
+ removeSuggestion: EventEmitter<ISchedulerAction>;
20
+ eventsDays: ISchedulerEventDay[];
21
+ suggestedCount: number;
22
+ bookedCount: number;
23
+ private componentDestroyed$;
24
+ private events;
25
+ constructor(cdr: ChangeDetectorRef);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ toggleExpand(dayIndex: number, eventIndex: number): void;
29
+ acceptSuggestion(dayIndex: number, eventIndex: number, suggestionIndex: number): void;
30
+ cancelSuggestion(dayIndex: number, eventIndex: number, suggestionIndex: number): void;
31
+ updateSuggestionsCounts(): void;
32
+ private groupEventsByDay;
33
+ private buildEvents;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSchedulerComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSchedulerComponent, "lib-scheduler", never, { "adsTemplate": { "alias": "adsTemplate"; "required": false; }; "loading$": { "alias": "loading$"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "displayBookedStatuses": { "alias": "displayBookedStatuses"; "required": false; }; "displayEmptyDays": { "alias": "displayEmptyDays"; "required": false; }; "events$": { "alias": "events$"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "default": { "alias": "default"; "required": false; }; }, { "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; }, never, never, true, never>;
36
+ }
@@ -0,0 +1,39 @@
1
+ import { Frequency } from 'rrule/dist/esm/types';
2
+ import { ICalendarAccount } from '../interfaces/calendar.account.interface';
3
+ import { IEvent } from '../interfaces/event.interface';
4
+ import { IEventTime } from '../interfaces/event.time.interface';
5
+ import { IRecurringEventException } from '../interfaces/recurring.exception.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CalendarUtilsService {
8
+ private locale;
9
+ constructor(locale: string);
10
+ filterCalendarsEvents<T>(selectedCalendars: ICalendarAccount[], calendarEvents: T[]): T[];
11
+ validCalendarEvent(event: IEvent): boolean;
12
+ formatEventTime(start: Date, end: Date): {
13
+ startTime: string;
14
+ endTime: string;
15
+ };
16
+ isProviderEvent(event: Partial<IEvent>): boolean;
17
+ isRecurringEvent(event: Partial<IEvent>): boolean;
18
+ isEqualDates(startDate: string | Date, enDate: string | Date): boolean;
19
+ isBeforeDate(startDate: string | Date, enDate: string | Date): boolean;
20
+ isSameWeek(startDate: string | Date, enDate: string | Date): boolean;
21
+ getUpdatedRecurringException(event: Partial<IEvent>): IRecurringEventException;
22
+ getExceptionEvent(event: Partial<IEvent>, exceptions: IRecurringEventException[]): IRecurringEventException;
23
+ isValidRecurringDate(event: IEvent, recurringDate: Date): boolean;
24
+ getDeletedRecurringEvent(event: IEvent, recurringDate: Date): IRecurringEventException;
25
+ generateRecurringDates(dtstart: Date, until: Date, freq: Frequency, interval?: number): Date[];
26
+ isValidRecurringException(event: IEvent, exceptionEvent: IRecurringEventException): boolean;
27
+ sortEvents<T>(calendarEvents: T[]): void;
28
+ applyEventsIndex(): void;
29
+ setEventTime(event: Partial<IEvent>): {
30
+ start: Date;
31
+ end: Date;
32
+ };
33
+ removeHtmlTags(html: string): string;
34
+ prepareEventDates(eventData: IEvent): void;
35
+ getEventTimes(eventData: Partial<IEvent>, recurringException?: IRecurringEventException, newEvent?: boolean): IEventTime;
36
+ buildUpdatedEvent(event: IEvent, formValue: IEvent): IEvent;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarUtilsService, never>;
38
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarUtilsService>;
39
+ }
@@ -0,0 +1,70 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import 'emoji-picker-element';
4
+ import { EmojiPickerConfig } from '@naniteninja/ionic-lib';
5
+ import { LibMessageModalComponent } from '../../shared/shared/message-modal/message-modal.component';
6
+ import { InputFieldComponent } from '@naniteninja/ionic-lib';
7
+ import { IDateMessages } from './interfaces/date-messages.interface';
8
+ import { IMessage } from './interfaces/message.interface';
9
+ import * as i0 from "@angular/core";
10
+ export declare class ChatComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
11
+ default?: boolean;
12
+ responseTime?: string;
13
+ set inputValue(value: string);
14
+ emojiPickerConfig: EmojiPickerConfig;
15
+ includeGifMessage: boolean;
16
+ includeTime: boolean;
17
+ set dateMessages(value: IMessage[]);
18
+ maxLength: number;
19
+ enableGifPicker: boolean;
20
+ prospectJoinDate: Date;
21
+ sendMessage: EventEmitter<IMessage>;
22
+ getMessages: EventEmitter<boolean>;
23
+ disabled: boolean;
24
+ emojiPickerRef: ElementRef;
25
+ scrollableContainer: ElementRef;
26
+ chatInput: InputFieldComponent;
27
+ private cdr;
28
+ private elementRef;
29
+ private popupModalService;
30
+ private chatService;
31
+ private pendingMessage;
32
+ private renderer;
33
+ scrollThreshold: number;
34
+ messages: IDateMessages[];
35
+ textControl: FormControl<string>;
36
+ base64Image: string | null;
37
+ emojiVisibility: boolean;
38
+ gifVisibility: boolean;
39
+ isAtStartChat: boolean;
40
+ emojiPickerOpened: boolean;
41
+ pos: string;
42
+ longPressEnabled: boolean;
43
+ throttle: number;
44
+ distance: number;
45
+ readonly ModalComponent: typeof LibMessageModalComponent;
46
+ private documentClickListener;
47
+ ngOnInit(): void;
48
+ ngOnDestroy(): void;
49
+ ngAfterViewInit(): void;
50
+ ngOnChanges(changes: SimpleChanges): void;
51
+ onScrollChats(): void;
52
+ handleScrollNewMessage(): void;
53
+ onScrollMessages(event: Event): void;
54
+ scrollToBottom(): void;
55
+ onEmojiclick(event: CustomEvent): void;
56
+ handleEmojiPickerClick(): void;
57
+ handleGifPickerClick(): void;
58
+ onGifClick(url: string): void;
59
+ onSendMessageModal(): void;
60
+ onSendText(): void;
61
+ savePendingMessage(): void;
62
+ onSend(): void;
63
+ onKeyDown(event: KeyboardEvent): void;
64
+ private onLongPress;
65
+ private onBlurPickerSpace;
66
+ private setupEmojiPickerClickListener;
67
+ private removeEmojiPickerClickListener;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "lib-chat", never, { "default": { "alias": "default"; "required": false; }; "responseTime": { "alias": "responseTime"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "emojiPickerConfig": { "alias": "emojiPickerConfig"; "required": false; }; "includeGifMessage": { "alias": "includeGifMessage"; "required": false; }; "includeTime": { "alias": "includeTime"; "required": false; }; "dateMessages": { "alias": "dateMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "enableGifPicker": { "alias": "enableGifPicker"; "required": false; }; "prospectJoinDate": { "alias": "prospectJoinDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "sendMessage": "sendMessage"; "getMessages": "getMessages"; }, never, never, false, never>;
70
+ }
@@ -0,0 +1,22 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./chat.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@naniteninja/ionic-lib";
6
+ import * as i4 from "@angular/material/input";
7
+ import * as i5 from "@angular/material/select";
8
+ import * as i6 from "@angular/material/form-field";
9
+ import * as i7 from "@angular/forms";
10
+ import * as i8 from "./gif-selector/gif-selector.component";
11
+ import * as i9 from "../../shared/shared.module";
12
+ import * as i10 from "ngx-infinite-scroll";
13
+ import * as i11 from "@ngx-translate/core";
14
+ export declare class LibChatComponentModule {
15
+ static forRoot(config: {
16
+ tenorKey: string;
17
+ tenorURL: string;
18
+ }): ModuleWithProviders<LibChatComponentModule>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibChatComponentModule, never>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LibChatComponentModule, [typeof i1.ChatComponent], [typeof i2.CommonModule, typeof i3.ImageCardModule, typeof i4.MatInputModule, typeof i5.MatSelectModule, typeof i6.MatFormFieldModule, typeof i3.InputFieldModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.GifSelectorComponent, typeof i3.LibModalModule, typeof i9.SharedModule, typeof i10.InfiniteScrollModule, typeof i11.TranslateModule], [typeof i1.ChatComponent]>;
21
+ static ɵinj: i0.ɵɵInjectorDeclaration<LibChatComponentModule>;
22
+ }
@@ -0,0 +1,15 @@
1
+ import { Observable } from 'rxjs';
2
+ import { AbstractCacheService } from '../../services/abstract-cache.service';
3
+ import { IDateMessages } from './interfaces/date-messages.interface';
4
+ import { IMessage } from './interfaces/message.interface';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ChatService {
7
+ cacheService: AbstractCacheService;
8
+ constructor(cacheService: AbstractCacheService);
9
+ setLongPressForSendImmediately(enabled: boolean): void;
10
+ isLongPressForSendImmediately(): Observable<boolean>;
11
+ transformMessages(messages: IMessage[]): IDateMessages[];
12
+ updateDateMessages(dateMessages: IDateMessages[]): IDateMessages[];
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChatService>;
15
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum SenderTypes {
2
+ USER = "user",
3
+ OTHER = "other"
4
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { ITenorObject } from './tenor-object.interface';
5
+ import { ITenorResult } from './tenor-result.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class GifSelectorComponent implements OnInit, OnDestroy {
8
+ private cdr;
9
+ private gifService;
10
+ private destroy$;
11
+ form: FormGroup;
12
+ pos: string;
13
+ gifs: ITenorResult[];
14
+ throttle: number;
15
+ distance: number;
16
+ selectGif: EventEmitter<string>;
17
+ ngOnInit(): void;
18
+ onScrollGifs(): void;
19
+ ngOnDestroy(): void;
20
+ getGifs(term: string): Observable<ITenorObject>;
21
+ private buildForm;
22
+ onGifClick(url: string): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<GifSelectorComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<GifSelectorComponent, "lib-gif-selector", never, {}, { "selectGif": "selectGif"; }, never, never, true, never>;
25
+ }
@@ -0,0 +1,15 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ITenorObject } from './tenor-object.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GifSelectorService {
5
+ private tenorKey;
6
+ private tenorURL;
7
+ private http;
8
+ setTenorKey(key: string): void;
9
+ setTenorURL(url: string): void;
10
+ private getTenorKey;
11
+ private getTenorURL;
12
+ getGifs(term: string, pos: string): Observable<ITenorObject>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GifSelectorService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<GifSelectorService>;
15
+ }
@@ -0,0 +1,7 @@
1
+ export interface ITenorMediaFormat {
2
+ url: string;
3
+ duration: number;
4
+ preview: string;
5
+ dims: number[];
6
+ size: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ import { ITenorResult } from './tenor-result.interface';
2
+ export interface ITenorObject {
3
+ results: ITenorResult[];
4
+ next: string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import { ITenorMediaFormat } from './tenor-media-format.interface';
2
+ export interface ITenorResult {
3
+ id: string;
4
+ title: string;
5
+ media_formats: {
6
+ [key: string]: ITenorMediaFormat;
7
+ };
8
+ created: number;
9
+ content_description: string;
10
+ itemurl: string;
11
+ url: string;
12
+ tags: string[];
13
+ flags: string[];
14
+ hasaudio: boolean;
15
+ content_description_source: 'GENERATIVE_AI';
16
+ }
@@ -0,0 +1,6 @@
1
+ import { IMessage } from './message.interface';
2
+ export interface IDateMessages {
3
+ date: Date;
4
+ isFirstMessage?: boolean;
5
+ message: IMessage;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface IAttachment {
2
+ id?: number;
3
+ type: 'image' | 'gif';
4
+ url?: string;
5
+ base64?: string;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { SenderTypes } from '../enums/sender-types.enum';
2
+ import { IAttachment } from './message-attachment.interface';
3
+ import { ISendOptionsMessage } from './send-options-message.interface';
4
+ export interface IMessage {
5
+ _id?: string;
6
+ sender: SenderTypes;
7
+ message: string;
8
+ timestamp: Date;
9
+ attachments?: IAttachment[];
10
+ sendOptions?: ISendOptionsMessage;
11
+ }
@@ -0,0 +1,5 @@
1
+ import { SendMessageType } from './type-send-message.enum';
2
+ export interface ISendOptionsMessage {
3
+ type: SendMessageType;
4
+ arrivalDate?: Date;
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum SendMessageType {
2
+ INMEDIATELY = "send_immediately",
3
+ AFTER = "send_after",
4
+ SPECIFIC = "specify_time"
5
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { IChatSuggestion } from './interfaces/chat-suggestion.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ChatSuggestionComponent {
5
+ chatSuggestions: IChatSuggestion[];
6
+ suggestClicked?: EventEmitter<string>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatSuggestionComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatSuggestionComponent, "lib-chat-suggestion", never, { "chatSuggestions": { "alias": "chatSuggestions"; "required": false; }; }, { "suggestClicked": "suggestClicked"; }, never, never, true, never>;
9
+ }
@@ -0,0 +1,4 @@
1
+ export interface IChatSuggestion {
2
+ question: string;
3
+ percentage: number;
4
+ }
@@ -0,0 +1,31 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { IInnerPartialCircleProgressColors } from '../client-home/interfaces/inner-partial-circle-progress-colors.interface';
3
+ import { INNER_CIRCLE_STATE } from '../client-match-overview/enums/inner-circle-state.enum';
4
+ import { CircleVariable } from './enums/circle-variable.enum';
5
+ import { CircleProgressConfig } from './interfaces/circle-progress-config.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CircleProgressComponent implements AfterViewInit {
8
+ private el;
9
+ variable: CircleVariable;
10
+ private _config;
11
+ set config(newConfig: Partial<CircleProgressConfig> | undefined);
12
+ get config(): Partial<CircleProgressConfig>;
13
+ innerProgressDefaultColors: IInnerPartialCircleProgressColors;
14
+ innerProgressPinkColors: IInnerPartialCircleProgressColors;
15
+ innerProgressTealColors: IInnerPartialCircleProgressColors;
16
+ circleVariable: typeof CircleVariable;
17
+ readonly INNER_CIRCLE_STATE: typeof INNER_CIRCLE_STATE;
18
+ readonly pathId: string;
19
+ readonly innerCirclePathId: string;
20
+ readonly innerCircleBehindPathId: string;
21
+ constructor(el: ElementRef);
22
+ ngAfterViewInit(): void;
23
+ private createCircle;
24
+ private generatePathSamplePoints;
25
+ private createQuadrilateralSegments;
26
+ private constructJoinedLinePath;
27
+ private computeLineIntersection;
28
+ private calculatePerpendicularVector;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircleProgressComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CircleProgressComponent, "lib-circle-progress", never, { "variable": { "alias": "variable"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
31
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./circle-progress.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class CircleProgressModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircleProgressModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CircleProgressModule, [typeof i1.CircleProgressComponent], [typeof i2.CommonModule], [typeof i1.CircleProgressComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<CircleProgressModule>;
8
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum CircleVariable {
2
+ Partial = "partial",
3
+ Complete = "complete"
4
+ }
@@ -0,0 +1,29 @@
1
+ import { IInnerPartialCircleProgressColors } from '../..//client-home/interfaces/inner-partial-circle-progress-colors.interface';
2
+ import { INNER_CIRCLE_STATE } from '../../client-match-overview/enums/inner-circle-state.enum';
3
+ import { IPartialCircleProgressColors } from './../../client-home/interfaces/partial-circle-progress-colors.interface';
4
+ export interface CircleProgressConfig {
5
+ /** Outer / main ring */
6
+ value: number;
7
+ max: number;
8
+ partialColors?: IPartialCircleProgressColors;
9
+ showExternalPartialCircleProgress?: boolean;
10
+ /** Inner ring */
11
+ inner?: {
12
+ value: number;
13
+ max: number;
14
+ colors?: IInnerPartialCircleProgressColors;
15
+ state: INNER_CIRCLE_STATE;
16
+ showIllumination?: boolean;
17
+ };
18
+ /** Visuals */
19
+ imageUrl?: string;
20
+ width?: string;
21
+ height?: string;
22
+ showValueProportionLabel?: boolean;
23
+ imgObjectPosition?: 'top' | 'bottom' | 'right' | 'left';
24
+ hasNotification?: boolean;
25
+ prefix?: string;
26
+ suffix?: string;
27
+ hideProgress?: boolean;
28
+ type?: string;
29
+ }
@@ -0,0 +1,44 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { IMessage } from '../chat/interfaces/message.interface';
3
+ import { ISchedulerAction } from '../calendar/scheduler/interfaces/scheduler.action.interface';
4
+ import { ILibClientMatchOverview } from '../client-match-overview/interfaces/client-match-overview.interface';
5
+ import { IDashboardMatchRequest } from '../client-match-overview/interfaces/dashboard-match-request.interface';
6
+ import { AlertStatusFields } from '../lib-client-dashboard/enums/alert-status-fields.enum';
7
+ import { MATCHER_STATUSES } from '../matcher-statuses/lookups/matcher-statuses.lookup';
8
+ import { ClientHomeComponent } from './enums/client-home-component.enum';
9
+ import { IHomeDashboardInputs } from './interfaces/home-dashboard-inputs.interface';
10
+ import * as i0 from "@angular/core";
11
+ export declare class LibClientHomeComponent implements OnInit, OnDestroy {
12
+ private cdr;
13
+ config: IHomeDashboardInputs;
14
+ activeIndexChange: EventEmitter<number>;
15
+ addMessage: EventEmitter<{
16
+ message: IMessage;
17
+ prospectId: string;
18
+ matchRequest: IDashboardMatchRequest;
19
+ }>;
20
+ getMessages: EventEmitter<void>;
21
+ bookEvent: EventEmitter<ISchedulerAction>;
22
+ removeSuggestion: EventEmitter<ISchedulerAction>;
23
+ handleAppearPopup: EventEmitter<AlertStatusFields>;
24
+ alertStatusFields: typeof AlertStatusFields;
25
+ components: typeof ClientHomeComponent;
26
+ clientMatches: ILibClientMatchOverview[];
27
+ activeChatHeadIndex: number;
28
+ assetPaths: {
29
+ traitVisual: string;
30
+ };
31
+ private componentDestroyed$;
32
+ MATCHER_STATUSES: typeof MATCHER_STATUSES;
33
+ readonly defaultNumberOfItems: any[];
34
+ private readonly ticker;
35
+ constructor(cdr: ChangeDetectorRef);
36
+ ngOnInit(): void;
37
+ ngOnDestroy(): void;
38
+ onActiveIndexChange(index: number): void;
39
+ handleClientMatch(match: ILibClientMatchOverview, index: number): void;
40
+ updateSpiderChart(): void;
41
+ addMessageEmit(event: IMessage, prospectId: string, matchRequest: IDashboardMatchRequest): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibClientHomeComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibClientHomeComponent, "lib-client-home", never, { "config": { "alias": "config"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "handleAppearPopup": "handleAppearPopup"; }, never, never, true, never>;
44
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum ClientHomeComponent {
2
+ ChatCompatibility = "ChatCompatibility",
3
+ ChatHandoff = "ChatHandoff",
4
+ ChatScheduler = "ChatScheduler",
5
+ ClientMatchSpiderChart = "ClientMatchSpiderChart",
6
+ ClientMatchTraitChart = "ClientMatchTraitChart"
7
+ }
@@ -0,0 +1,7 @@
1
+ import { IConversationFlag } from '../../client-match-overview/interfaces/conversation-flag.interface';
2
+ export interface IChatMeta {
3
+ lastResponseTimestamp: Date | null;
4
+ firstAnswer: boolean;
5
+ waitingAnswer: boolean;
6
+ conversationFlags: IConversationFlag[];
7
+ }
@@ -0,0 +1,45 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { IAgendaEvent } from '../../calendar/agenda/interfaces/agenda.event.inetrface';
4
+ import { ISchedulerEvent } from '../../calendar/scheduler/interfaces/scheduler.event.interface';
5
+ import { ILibClientMatchOverview } from '../../client-match-overview/interfaces/client-match-overview.interface';
6
+ import { AlertStatusFields } from '../../lib-client-dashboard/enums/alert-status-fields.enum';
7
+ import { ISpiderChartConfig } from '../../spider-chart/interfaces/config.interface';
8
+ import { IPolygonColor } from '../../spider-chart/interfaces/polygon-color.interface';
9
+ import { ClientHomeComponent } from '../enums/client-home-component.enum';
10
+ export interface IHomeDashboardInputs {
11
+ loading?: {
12
+ clientMatches: boolean;
13
+ };
14
+ schedulerAdsTemplate?: TemplateRef<HTMLElement>;
15
+ schedulerTabAdsTemplate?: TemplateRef<HTMLElement>;
16
+ chatAdsTemplate?: TemplateRef<HTMLElement>;
17
+ chatTabAdsTemplate?: TemplateRef<HTMLElement>;
18
+ traitVisualAdsTemplate?: TemplateRef<HTMLElement>;
19
+ default?: boolean;
20
+ component: ClientHomeComponent;
21
+ activeIndex?: number;
22
+ slideContentMaxHeight?: string;
23
+ clientMatches$?: Observable<ILibClientMatchOverview[]>;
24
+ events?: IAgendaEvent[];
25
+ polygonColors?: IPolygonColor[];
26
+ spiderConfig?: ISpiderChartConfig;
27
+ schedulers$?: Observable<{
28
+ events$: Observable<ISchedulerEvent[]>;
29
+ }[]>;
30
+ loading$?: Observable<boolean>;
31
+ bottomThumbs?: boolean;
32
+ includeTime?: boolean;
33
+ includeGifMessage?: boolean;
34
+ maxLength?: number;
35
+ startDate?: Date;
36
+ endDate?: Date;
37
+ emptyMessage?: string;
38
+ displayBookedStatuses?: boolean;
39
+ displayEmptyDays?: boolean;
40
+ chatInputValue?: string;
41
+ hideStatuses?: boolean;
42
+ alertStatus: Partial<Record<AlertStatusFields, boolean>>;
43
+ showValueProportionLabel?: boolean;
44
+ hideProgressBar?: boolean;
45
+ }
@@ -0,0 +1,5 @@
1
+ export interface IInnerPartialCircleProgressColors {
2
+ primary: string;
3
+ secondary: string;
4
+ tertiary: string;
5
+ }
@@ -0,0 +1,9 @@
1
+ export interface IPartialCircleProgressColors {
2
+ primary: string;
3
+ secondary: string;
4
+ tertiary: string;
5
+ gradientPrimary: string;
6
+ gradientSecondary: string;
7
+ incomplete: string;
8
+ complete: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ import { IHomeDashboardInputs } from '../interfaces/home-dashboard-inputs.interface';
2
+ export declare const defaultClientHomeConfig: IHomeDashboardInputs;
@@ -0,0 +1,2 @@
1
+ import { IInnerPartialCircleProgressColors } from '../interfaces/inner-partial-circle-progress-colors.interface';
2
+ export declare const innerProgressDefaultColors: IInnerPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IInnerPartialCircleProgressColors } from '../interfaces/inner-partial-circle-progress-colors.interface';
2
+ export declare const innerProgressPinkColors: IInnerPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IInnerPartialCircleProgressColors } from '../interfaces/inner-partial-circle-progress-colors.interface';
2
+ export declare const innerProgressPurpleColors: IInnerPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IInnerPartialCircleProgressColors } from '../interfaces/inner-partial-circle-progress-colors.interface';
2
+ export declare const innerProgressTealColors: IInnerPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IPartialCircleProgressColors } from '../interfaces/partial-circle-progress-colors.interface';
2
+ export declare const innerProgressWhiteColors: IPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IPartialCircleProgressColors } from '../interfaces/partial-circle-progress-colors.interface';
2
+ export declare const progressDefaultColors: IPartialCircleProgressColors;
@@ -0,0 +1,2 @@
1
+ import { IPartialCircleProgressColors } from '../interfaces/partial-circle-progress-colors.interface';
2
+ export declare const progressWhiteColors: IPartialCircleProgressColors;
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ILibClientMatchOverview } from '../../client-match-overview/interfaces/client-match-overview.interface';
4
+ import { IChatMeta } from '../interfaces/chat-meta.interface';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ChatMetaPipe implements PipeTransform {
7
+ transform(clientMatches$: Observable<ILibClientMatchOverview[]>, prospectId: string): Observable<IChatMeta>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatMetaPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<ChatMetaPipe, "chatMeta", true>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ILibClientMatchOverview } from '../../client-match-overview/interfaces/client-match-overview.interface';
3
+ import { IHomeDashboardInputs } from '../interfaces/home-dashboard-inputs.interface';
4
+ import { IPartialCircleProgressColors } from '../interfaces/partial-circle-progress-colors.interface';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GetColorByMatcherPipe implements PipeTransform {
7
+ transform(match: ILibClientMatchOverview, config: IHomeDashboardInputs): IPartialCircleProgressColors;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetColorByMatcherPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<GetColorByMatcherPipe, "getColorByMatcher", true>;
10
+ }