@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.
- package/esm2022/lib/components/auto-delegation/animations.mjs +20 -0
- package/esm2022/lib/components/auto-delegation/auto-delegation-modal.component.mjs +106 -0
- package/esm2022/lib/components/auto-delegation/enums/auto-delegation.event-type.enum.mjs +6 -0
- package/esm2022/lib/components/auto-delegation/enums/auto-delegation.event-value.enum.mjs +7 -0
- package/esm2022/lib/components/auto-delegation/interface/auto-delegation-data.interface.mjs +2 -0
- package/esm2022/lib/components/auto-delegation/interface/auto-delegation.event.interface.mjs +2 -0
- package/esm2022/lib/components/auto-delegation/interface/auto-delegation.modal-data.interface.mjs +2 -0
- package/esm2022/lib/components/auto-delegation/interface/preferences.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/agenda/agenda-day-card/agenda-day-card.component.mjs +37 -0
- package/esm2022/lib/components/calendar/agenda/agenda.component.mjs +120 -0
- package/esm2022/lib/components/calendar/agenda/agenda.module.mjs +23 -0
- package/esm2022/lib/components/calendar/agenda/enums/agenda-item-type.enum.mjs +6 -0
- package/esm2022/lib/components/calendar/agenda/interfaces/agenda.day.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/agenda/interfaces/agenda.event.inetrface.mjs +2 -0
- package/esm2022/lib/components/calendar/agenda/types/agenda-item.type.mjs +2 -0
- package/esm2022/lib/components/calendar/components/edit-recurring-event/edit-recurring-event.component.mjs +40 -0
- package/esm2022/lib/components/calendar/components/event-form/event-form.component.mjs +275 -0
- package/esm2022/lib/components/calendar/components/event-form/event-form.module.mjs +89 -0
- package/esm2022/lib/components/calendar/components/event-info/event-info.component.mjs +40 -0
- package/esm2022/lib/components/calendar/enums/calendar.account.enum.mjs +6 -0
- package/esm2022/lib/components/calendar/enums/calendar.account.icons.enum.mjs +6 -0
- package/esm2022/lib/components/calendar/enums/event-type.enum.mjs +10 -0
- package/esm2022/lib/components/calendar/enums/recurring.edit.options.enum.mjs +7 -0
- package/esm2022/lib/components/calendar/enums/recurring.type.enum.mjs +8 -0
- package/esm2022/lib/components/calendar/interfaces/calendar.account.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/calendar.account.theme.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/event.form.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/event.form.output.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/event.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/event.time.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/recurring.event.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/recurring.exception.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/interfaces/recurring.pattern.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/lookups/recurring.options.lookup.mjs +30 -0
- package/esm2022/lib/components/calendar/scheduler/enums/schedule-date-status.enum.mjs +7 -0
- package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.action.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.day.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.event.suggestion.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/scheduler/interfaces/scheduler.slots.interface.mjs +2 -0
- package/esm2022/lib/components/calendar/scheduler/mock-schedule.mjs +80 -0
- package/esm2022/lib/components/calendar/scheduler/scheduler.component.mjs +144 -0
- package/esm2022/lib/components/calendar/services/calendar-utils.service.mjs +211 -0
- package/esm2022/lib/components/chat/chat.component.mjs +310 -0
- package/esm2022/lib/components/chat/chat.component.module.mjs +85 -0
- package/esm2022/lib/components/chat/chat.service.mjs +63 -0
- package/esm2022/lib/components/chat/enums/sender-types.enum.mjs +6 -0
- package/esm2022/lib/components/chat/gif-selector/gif-selector.component.mjs +77 -0
- package/esm2022/lib/components/chat/gif-selector/gif-selector.service.mjs +41 -0
- package/esm2022/lib/components/chat/gif-selector/tenor-media-format.interface.mjs +2 -0
- package/esm2022/lib/components/chat/gif-selector/tenor-object.interface.mjs +2 -0
- package/esm2022/lib/components/chat/gif-selector/tenor-result.interface.mjs +2 -0
- package/esm2022/lib/components/chat/interfaces/date-messages.interface.mjs +2 -0
- package/esm2022/lib/components/chat/interfaces/message-attachment.interface.mjs +2 -0
- package/esm2022/lib/components/chat/interfaces/message.interface.mjs +2 -0
- package/esm2022/lib/components/chat/interfaces/send-options-message.interface.mjs +2 -0
- package/esm2022/lib/components/chat/interfaces/type-send-message.enum.mjs +7 -0
- package/esm2022/lib/components/chat-suggestion/chat-suggestion.component.mjs +21 -0
- package/esm2022/lib/components/chat-suggestion/interfaces/chat-suggestion.interface.mjs +2 -0
- package/esm2022/lib/components/circle-progress/circle-progress.component.mjs +143 -0
- package/esm2022/lib/components/circle-progress/circle-progress.module.mjs +18 -0
- package/esm2022/lib/components/circle-progress/enums/circle-variable.enum.mjs +6 -0
- package/esm2022/lib/components/circle-progress/interfaces/circle-progress-config.interface.mjs +2 -0
- package/esm2022/lib/components/client-home/client-home.component.mjs +123 -0
- package/esm2022/lib/components/client-home/enums/client-home-component.enum.mjs +9 -0
- package/esm2022/lib/components/client-home/interfaces/chat-meta.interface.mjs +2 -0
- package/esm2022/lib/components/client-home/interfaces/home-dashboard-inputs.interface.mjs +2 -0
- package/esm2022/lib/components/client-home/interfaces/inner-partial-circle-progress-colors.interface.mjs +2 -0
- package/esm2022/lib/components/client-home/interfaces/partial-circle-progress-colors.interface.mjs +2 -0
- package/esm2022/lib/components/client-home/lookup/client-home.config.mjs +30 -0
- package/esm2022/lib/components/client-home/lookup/inner-progress-default-colors.config.mjs +6 -0
- package/esm2022/lib/components/client-home/lookup/inner-progress-pink-colors.config.mjs +6 -0
- package/esm2022/lib/components/client-home/lookup/inner-progress-purple-colors.config.mjs +6 -0
- package/esm2022/lib/components/client-home/lookup/inner-progress-teal-colors.config.mjs +6 -0
- package/esm2022/lib/components/client-home/lookup/inner-progress-white-colors.config.mjs +10 -0
- package/esm2022/lib/components/client-home/lookup/progress-default-colors.config.mjs +10 -0
- package/esm2022/lib/components/client-home/lookup/progress-white-colors.config.mjs +10 -0
- package/esm2022/lib/components/client-home/pipes/chat-meta.pipe.mjs +60 -0
- package/esm2022/lib/components/client-home/pipes/get-color-by-matcher.pipe.mjs +33 -0
- package/esm2022/lib/components/client-match-overview/client-match-overview.component.mjs +300 -0
- package/esm2022/lib/components/client-match-overview/enums/conversation-flag.enum.mjs +6 -0
- package/esm2022/lib/components/client-match-overview/enums/counter-flag-base.enum.mjs +6 -0
- package/esm2022/lib/components/client-match-overview/enums/inner-circle-state.enum.mjs +8 -0
- package/esm2022/lib/components/client-match-overview/interfaces/client-match-overview.interface.mjs +2 -0
- package/esm2022/lib/components/client-match-overview/interfaces/conversation-flag.interface.mjs +2 -0
- package/esm2022/lib/components/client-match-overview/interfaces/dashboard-match-request.interface.mjs +2 -0
- package/esm2022/lib/components/client-match-overview/interfaces/progress-decision.interface.mjs +2 -0
- package/esm2022/lib/components/client-match-overview/interfaces/progress-facts.interface.mjs +2 -0
- package/esm2022/lib/components/client-match-overview/lookups/computer-inner-state.lookup.mjs +81 -0
- package/esm2022/lib/components/client-match-overview/lookups/limit-dates-indicator.lookup.mjs +8 -0
- package/esm2022/lib/components/client-match-overview/progress-ticker/progress-gap.config.mjs +4 -0
- package/esm2022/lib/components/client-match-overview/progress-ticker/progress-ticker.config.mjs +3 -0
- package/esm2022/lib/components/client-match-overview/progress-ticker/progress-ticker.service.mjs +43 -0
- package/esm2022/lib/components/dashboard-swipeable-tabs/dashboard-swipeable-tabs.component.mjs +113 -0
- package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/dashboard-main-swiper-options.mjs +11 -0
- package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/dashboard-thumbs-swiper-options.mjs +27 -0
- package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/main-swiper-default-options.mjs +19 -0
- package/esm2022/lib/components/dashboard-swipeable-tabs/lookups/thumbs-swiper-default-options.mjs +21 -0
- package/esm2022/lib/components/lib-client-dashboard/client-dashboard.component.mjs +173 -0
- package/esm2022/lib/components/lib-client-dashboard/enums/alert-status-fields.enum.mjs +11 -0
- package/esm2022/lib/components/lib-client-dashboard/enums/client-dashboard-component.enum.mjs +7 -0
- package/esm2022/lib/components/lib-client-dashboard/interfaces/ads.interface.mjs +2 -0
- package/esm2022/lib/components/lib-client-dashboard/interfaces/client-dashboard-inputs.interface.mjs +2 -0
- package/esm2022/lib/components/lib-client-dashboard/lookups/client-dashboard.config.mjs +15 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/compose-matcher-dash.component.mjs +146 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/chart-data.interface.mjs +2 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/chat-identifier.interface.mjs +2 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/matcher-dashboard-inputs.interface.mjs +2 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/matcher-profile.interface.mjs +2 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/interfaces/prospect-data.interface.mjs +2 -0
- package/esm2022/lib/components/lib-compose-matcher-dash/pipes/get-profile-with-progress.pipe.mjs +21 -0
- package/esm2022/lib/components/matcher-statuses/enums/matcher-statuses.enum.mjs +15 -0
- package/esm2022/lib/components/matcher-statuses/interfaces/status.interface.mjs +2 -0
- package/esm2022/lib/components/matcher-statuses/lookups/matcher-statuses.lookup.mjs +54 -0
- package/esm2022/lib/components/matcher-statuses/matcher-statuses.component.mjs +58 -0
- package/esm2022/lib/components/matcher-statuses/pipes/is-status-included.pipe.mjs +19 -0
- package/esm2022/lib/components/profile-card/profile-card.component.mjs +35 -0
- package/esm2022/lib/components/profile-card/profile-card.module.mjs +19 -0
- package/esm2022/lib/components/spider-chart/interfaces/chart-data-circle.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-f.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-lg.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/chart-data-defs-rg.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/config.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/dataset.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/polygon-color.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/interfaces/spider-chart-attribute.interface.mjs +2 -0
- package/esm2022/lib/components/spider-chart/lookup/default-spider-config.mjs +67 -0
- package/esm2022/lib/components/spider-chart/lookup/demo-polygon-colors.lookup.mjs +11 -0
- package/esm2022/lib/components/spider-chart/lookup/svg-config.lookup.mjs +277 -0
- package/esm2022/lib/components/spider-chart/spider-chart.component.mjs +235 -0
- package/esm2022/lib/enums/direction.enum.mjs +6 -0
- package/esm2022/lib/enums/form-field-type.mjs +30 -0
- package/esm2022/lib/enums/local-storage-keys.enum.mjs +5 -0
- package/esm2022/lib/enums/status-types.mjs +8 -0
- package/esm2022/lib/model/select-option-template.mjs +2 -0
- package/esm2022/lib/operations/operations.mjs +19 -0
- package/esm2022/lib/pipes/array-sort/array.sort.pipe.mjs +49 -0
- package/esm2022/lib/pipes/count-non-empty-fields/count-non-empty-fields.pipe.mjs +17 -0
- package/esm2022/lib/pipes/date-localization/date-localization.pipe.mjs +31 -0
- package/esm2022/lib/pipes/fallback-translate/fallback-translate.pipe.mjs +28 -0
- package/esm2022/lib/pipes/get-display-value/get-display-value.pipe.mjs +59 -0
- package/esm2022/lib/pipes/get-multi-select-display-text/get-multi-select-display-text.pipe.mjs +22 -0
- package/esm2022/lib/pipes/initials/initials.pipe.mjs +26 -0
- package/esm2022/lib/pipes/round/round.pipe.mjs +17 -0
- package/esm2022/lib/pipes/update-llm-preference/update-llm-preference.pipe.mjs +25 -0
- package/esm2022/lib/services/abstract-cache.service.mjs +10 -0
- package/esm2022/lib/shared/shared/alert-popup/alert-popup.component.mjs +38 -0
- package/esm2022/lib/shared/shared/message-modal/message-modal.component.mjs +95 -0
- package/esm2022/lib/shared/shared/status-icon/status-icon.component.mjs +14 -0
- package/esm2022/lib/shared/shared.module.mjs +23 -0
- package/esm2022/naniteninja-dashboard-components-lib.mjs +5 -0
- package/esm2022/public-api.mjs +123 -0
- package/fesm2022/naniteninja-dashboard-components-lib.mjs +205 -178
- package/fesm2022/naniteninja-dashboard-components-lib.mjs.map +1 -1
- package/index.d.ts +3 -1669
- package/lib/components/auto-delegation/animations.d.ts +1 -0
- package/lib/components/auto-delegation/auto-delegation-modal.component.d.ts +29 -0
- package/lib/components/auto-delegation/enums/auto-delegation.event-type.enum.d.ts +4 -0
- package/lib/components/auto-delegation/enums/auto-delegation.event-value.enum.d.ts +5 -0
- package/lib/components/auto-delegation/interface/auto-delegation-data.interface.d.ts +31 -0
- package/lib/components/auto-delegation/interface/auto-delegation.event.interface.d.ts +6 -0
- package/lib/components/auto-delegation/interface/auto-delegation.modal-data.interface.d.ts +8 -0
- package/lib/components/auto-delegation/interface/preferences.interface.d.ts +17 -0
- package/lib/components/calendar/agenda/agenda-day-card/agenda-day-card.component.d.ts +12 -0
- package/lib/components/calendar/agenda/agenda.component.d.ts +27 -0
- package/lib/components/calendar/agenda/agenda.module.d.ts +12 -0
- package/lib/components/calendar/agenda/enums/agenda-item-type.enum.d.ts +4 -0
- package/lib/components/calendar/agenda/interfaces/agenda.day.interface.d.ts +7 -0
- package/lib/components/calendar/agenda/interfaces/agenda.event.inetrface.d.ts +9 -0
- package/lib/components/calendar/agenda/types/agenda-item.type.d.ts +7 -0
- package/lib/components/calendar/components/edit-recurring-event/edit-recurring-event.component.d.ts +19 -0
- package/lib/components/calendar/components/event-form/event-form.component.d.ts +67 -0
- package/lib/components/calendar/components/event-form/event-form.module.d.ts +20 -0
- package/lib/components/calendar/components/event-info/event-info.component.d.ts +24 -0
- package/lib/components/calendar/enums/calendar.account.enum.d.ts +4 -0
- package/lib/components/calendar/enums/calendar.account.icons.enum.d.ts +4 -0
- package/lib/components/calendar/enums/event-type.enum.d.ts +8 -0
- package/lib/components/calendar/enums/recurring.edit.options.enum.d.ts +5 -0
- package/lib/components/calendar/enums/recurring.type.enum.d.ts +6 -0
- package/lib/components/calendar/interfaces/calendar.account.interface.d.ts +14 -0
- package/lib/components/calendar/interfaces/calendar.account.theme.interface.d.ts +5 -0
- package/lib/components/calendar/interfaces/event.form.interface.d.ts +22 -0
- package/lib/components/calendar/interfaces/event.form.output.interface.d.ts +10 -0
- package/lib/components/calendar/interfaces/event.interface.d.ts +33 -0
- package/lib/components/calendar/interfaces/event.time.interface.d.ts +4 -0
- package/lib/components/calendar/interfaces/recurring.event.interface.d.ts +16 -0
- package/lib/components/calendar/interfaces/recurring.exception.interface.d.ts +14 -0
- package/lib/components/calendar/interfaces/recurring.pattern.interface.d.ts +16 -0
- package/lib/components/calendar/lookups/recurring.options.lookup.d.ts +2 -0
- package/lib/components/calendar/scheduler/enums/schedule-date-status.enum.d.ts +5 -0
- package/lib/components/calendar/scheduler/interfaces/scheduler.action.interface.d.ts +10 -0
- package/lib/components/calendar/scheduler/interfaces/scheduler.event.day.interface.d.ts +5 -0
- package/lib/components/calendar/scheduler/interfaces/scheduler.event.interface.d.ts +26 -0
- package/lib/components/calendar/scheduler/interfaces/scheduler.event.suggestion.interface.d.ts +13 -0
- package/lib/components/calendar/scheduler/interfaces/scheduler.slots.interface.d.ts +6 -0
- package/lib/components/calendar/scheduler/mock-schedule.d.ts +9 -0
- package/lib/components/calendar/scheduler/scheduler.component.d.ts +36 -0
- package/lib/components/calendar/services/calendar-utils.service.d.ts +39 -0
- package/lib/components/chat/chat.component.d.ts +70 -0
- package/lib/components/chat/chat.component.module.d.ts +22 -0
- package/lib/components/chat/chat.service.d.ts +15 -0
- package/lib/components/chat/enums/sender-types.enum.d.ts +4 -0
- package/lib/components/chat/gif-selector/gif-selector.component.d.ts +25 -0
- package/lib/components/chat/gif-selector/gif-selector.service.d.ts +15 -0
- package/lib/components/chat/gif-selector/tenor-media-format.interface.d.ts +7 -0
- package/lib/components/chat/gif-selector/tenor-object.interface.d.ts +5 -0
- package/lib/components/chat/gif-selector/tenor-result.interface.d.ts +16 -0
- package/lib/components/chat/interfaces/date-messages.interface.d.ts +6 -0
- package/lib/components/chat/interfaces/message-attachment.interface.d.ts +6 -0
- package/lib/components/chat/interfaces/message.interface.d.ts +11 -0
- package/lib/components/chat/interfaces/send-options-message.interface.d.ts +5 -0
- package/lib/components/chat/interfaces/type-send-message.enum.d.ts +5 -0
- package/lib/components/chat-suggestion/chat-suggestion.component.d.ts +9 -0
- package/lib/components/chat-suggestion/interfaces/chat-suggestion.interface.d.ts +4 -0
- package/lib/components/circle-progress/circle-progress.component.d.ts +31 -0
- package/lib/components/circle-progress/circle-progress.module.d.ts +8 -0
- package/lib/components/circle-progress/enums/circle-variable.enum.d.ts +4 -0
- package/lib/components/circle-progress/interfaces/circle-progress-config.interface.d.ts +29 -0
- package/lib/components/client-home/client-home.component.d.ts +44 -0
- package/lib/components/client-home/enums/client-home-component.enum.d.ts +7 -0
- package/lib/components/client-home/interfaces/chat-meta.interface.d.ts +7 -0
- package/lib/components/client-home/interfaces/home-dashboard-inputs.interface.d.ts +45 -0
- package/lib/components/client-home/interfaces/inner-partial-circle-progress-colors.interface.d.ts +5 -0
- package/lib/components/client-home/interfaces/partial-circle-progress-colors.interface.d.ts +9 -0
- package/lib/components/client-home/lookup/client-home.config.d.ts +2 -0
- package/lib/components/client-home/lookup/inner-progress-default-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/inner-progress-pink-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/inner-progress-purple-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/inner-progress-teal-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/inner-progress-white-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/progress-default-colors.config.d.ts +2 -0
- package/lib/components/client-home/lookup/progress-white-colors.config.d.ts +2 -0
- package/lib/components/client-home/pipes/chat-meta.pipe.d.ts +10 -0
- package/lib/components/client-home/pipes/get-color-by-matcher.pipe.d.ts +10 -0
- package/lib/components/client-match-overview/client-match-overview.component.d.ts +55 -0
- package/lib/components/client-match-overview/enums/conversation-flag.enum.d.ts +4 -0
- package/lib/components/client-match-overview/enums/counter-flag-base.enum.d.ts +4 -0
- package/lib/components/client-match-overview/enums/inner-circle-state.enum.d.ts +6 -0
- package/lib/components/client-match-overview/interfaces/client-match-overview.interface.d.ts +19 -0
- package/lib/components/client-match-overview/interfaces/conversation-flag.interface.d.ts +8 -0
- package/lib/components/client-match-overview/interfaces/dashboard-match-request.interface.d.ts +7 -0
- package/lib/components/client-match-overview/interfaces/progress-decision.interface.d.ts +10 -0
- package/lib/components/client-match-overview/interfaces/progress-facts.interface.d.ts +11 -0
- package/lib/components/client-match-overview/lookups/computer-inner-state.lookup.d.ts +7 -0
- package/lib/components/client-match-overview/lookups/limit-dates-indicator.lookup.d.ts +5 -0
- package/lib/components/client-match-overview/progress-ticker/progress-gap.config.d.ts +2 -0
- package/lib/components/client-match-overview/progress-ticker/progress-ticker.config.d.ts +2 -0
- package/lib/components/client-match-overview/progress-ticker/progress-ticker.service.d.ts +11 -0
- package/lib/components/dashboard-swipeable-tabs/dashboard-swipeable-tabs.component.d.ts +29 -0
- package/lib/components/dashboard-swipeable-tabs/lookups/dashboard-main-swiper-options.d.ts +2 -0
- package/lib/components/dashboard-swipeable-tabs/lookups/dashboard-thumbs-swiper-options.d.ts +2 -0
- package/lib/components/dashboard-swipeable-tabs/lookups/main-swiper-default-options.d.ts +2 -0
- package/lib/components/dashboard-swipeable-tabs/lookups/thumbs-swiper-default-options.d.ts +2 -0
- package/lib/components/lib-client-dashboard/client-dashboard.component.d.ts +75 -0
- package/lib/components/lib-client-dashboard/enums/alert-status-fields.enum.d.ts +9 -0
- package/lib/components/lib-client-dashboard/enums/client-dashboard-component.enum.d.ts +5 -0
- package/lib/components/lib-client-dashboard/interfaces/ads.interface.d.ts +14 -0
- package/lib/components/lib-client-dashboard/interfaces/client-dashboard-inputs.interface.d.ts +29 -0
- package/lib/components/lib-client-dashboard/lookups/client-dashboard.config.d.ts +2 -0
- package/lib/components/lib-compose-matcher-dash/compose-matcher-dash.component.d.ts +48 -0
- package/lib/components/lib-compose-matcher-dash/interfaces/chart-data.interface.d.ts +5 -0
- package/lib/components/lib-compose-matcher-dash/interfaces/chat-identifier.interface.d.ts +5 -0
- package/lib/components/lib-compose-matcher-dash/interfaces/matcher-dashboard-inputs.interface.d.ts +26 -0
- package/lib/components/lib-compose-matcher-dash/interfaces/matcher-profile.interface.d.ts +8 -0
- package/lib/components/lib-compose-matcher-dash/interfaces/prospect-data.interface.d.ts +24 -0
- package/lib/components/lib-compose-matcher-dash/pipes/get-profile-with-progress.pipe.d.ts +9 -0
- package/lib/components/matcher-statuses/enums/matcher-statuses.enum.d.ts +13 -0
- package/lib/components/matcher-statuses/interfaces/status.interface.d.ts +6 -0
- package/lib/components/matcher-statuses/lookups/matcher-statuses.lookup.d.ts +2 -0
- package/lib/components/matcher-statuses/matcher-statuses.component.d.ts +23 -0
- package/lib/components/matcher-statuses/pipes/is-status-included.pipe.d.ts +8 -0
- package/lib/components/profile-card/profile-card.component.d.ts +11 -0
- package/lib/components/profile-card/profile-card.module.d.ts +9 -0
- package/lib/components/spider-chart/interfaces/chart-data-circle.interface.d.ts +10 -0
- package/lib/components/spider-chart/interfaces/chart-data-defs-f.interface.d.ts +11 -0
- package/lib/components/spider-chart/interfaces/chart-data-defs-lg.interface.d.ts +11 -0
- package/lib/components/spider-chart/interfaces/chart-data-defs-rg.interface.d.ts +10 -0
- package/lib/components/spider-chart/interfaces/config.interface.d.ts +19 -0
- package/lib/components/spider-chart/interfaces/dataset.interface.d.ts +7 -0
- package/lib/components/spider-chart/interfaces/polygon-color.interface.d.ts +4 -0
- package/lib/components/spider-chart/interfaces/spider-chart-attribute.interface.d.ts +6 -0
- package/lib/components/spider-chart/lookup/default-spider-config.d.ts +2 -0
- package/lib/components/spider-chart/lookup/demo-polygon-colors.lookup.d.ts +2 -0
- package/lib/components/spider-chart/lookup/svg-config.lookup.d.ts +8 -0
- package/lib/components/spider-chart/spider-chart.component.d.ts +52 -0
- package/lib/enums/direction.enum.d.ts +4 -0
- package/lib/enums/form-field-type.d.ts +28 -0
- package/lib/enums/local-storage-keys.enum.d.ts +3 -0
- package/lib/enums/status-types.d.ts +6 -0
- package/lib/model/select-option-template.d.ts +5 -0
- package/lib/operations/operations.d.ts +19 -0
- package/lib/pipes/array-sort/array.sort.pipe.d.ts +7 -0
- package/lib/pipes/count-non-empty-fields/count-non-empty-fields.pipe.d.ts +7 -0
- package/lib/pipes/date-localization/date-localization.pipe.d.ts +8 -0
- package/lib/pipes/fallback-translate/fallback-translate.pipe.d.ts +11 -0
- package/lib/pipes/get-display-value/get-display-value.pipe.d.ts +13 -0
- package/lib/pipes/get-multi-select-display-text/get-multi-select-display-text.pipe.d.ts +8 -0
- package/lib/pipes/initials/initials.pipe.d.ts +7 -0
- package/lib/pipes/round/round.pipe.d.ts +7 -0
- package/lib/pipes/update-llm-preference/update-llm-preference.pipe.d.ts +8 -0
- package/lib/services/abstract-cache.service.d.ts +9 -0
- package/lib/shared/shared/alert-popup/alert-popup.component.d.ts +14 -0
- package/lib/shared/shared/message-modal/message-modal.component.d.ts +29 -0
- package/lib/shared/shared/status-icon/status-icon.component.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +13 -0
- package/naniteninja-dashboard-components-lib-1.0.5.tgz +0 -0
- package/package.json +29 -25
- package/public-api.d.ts +122 -0
- package/src/lib/shared-styles/common/theme.scss +3 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { CircleVariable } from '../circle-progress/enums/circle-variable.enum';
|
|
4
|
+
import { CircleProgressConfig } from '../circle-progress/interfaces/circle-progress-config.interface';
|
|
5
|
+
import { IChatMeta } from '../client-home/interfaces/chat-meta.interface';
|
|
6
|
+
import { IPartialCircleProgressColors } from '../client-home/interfaces/partial-circle-progress-colors.interface';
|
|
7
|
+
import { IInnerPartialCircleProgressColors } from './../client-home/interfaces/inner-partial-circle-progress-colors.interface';
|
|
8
|
+
import { COUNTER_FLAG_BASE } from './enums/counter-flag-base.enum';
|
|
9
|
+
import { INNER_CIRCLE_STATE } from './enums/inner-circle-state.enum';
|
|
10
|
+
import { ILibClientMatchOverview } from './interfaces/client-match-overview.interface';
|
|
11
|
+
import { IConversationFlag } from './interfaces/conversation-flag.interface';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
14
|
+
overview: ILibClientMatchOverview;
|
|
15
|
+
meta: IChatMeta;
|
|
16
|
+
expand: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
default?: boolean;
|
|
19
|
+
hideProgressBar?: boolean;
|
|
20
|
+
partialColors: IPartialCircleProgressColors;
|
|
21
|
+
showExternalPartialCircleProgress: boolean;
|
|
22
|
+
maxValue: number;
|
|
23
|
+
enableChangeOverview: boolean;
|
|
24
|
+
sendConversationFlag: EventEmitter<IConversationFlag>;
|
|
25
|
+
circleVariable: typeof CircleVariable;
|
|
26
|
+
innerMaxValue: number;
|
|
27
|
+
innerValue: number;
|
|
28
|
+
showIllumination: boolean;
|
|
29
|
+
showValueProportionLabel: boolean;
|
|
30
|
+
innerPartialColors: IInnerPartialCircleProgressColors;
|
|
31
|
+
innerState: INNER_CIRCLE_STATE;
|
|
32
|
+
basedOn: COUNTER_FLAG_BASE;
|
|
33
|
+
imageLoader$: BehaviorSubject<boolean>;
|
|
34
|
+
imagePathId: string;
|
|
35
|
+
circleOpts: CircleProgressConfig;
|
|
36
|
+
private cdr;
|
|
37
|
+
private readonly ngZone;
|
|
38
|
+
private readonly ticker;
|
|
39
|
+
private readonly progressGap;
|
|
40
|
+
private componentDestroyed$;
|
|
41
|
+
private tickerSub;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
private setInnerState;
|
|
47
|
+
private stepProgress;
|
|
48
|
+
private loadProfileImage;
|
|
49
|
+
private startTicker;
|
|
50
|
+
private stopTicker;
|
|
51
|
+
private setInnerCircleState;
|
|
52
|
+
private buildCircleOpts;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibClientMatchOverviewComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibClientMatchOverviewComponent, "lib-client-match-overview", never, { "overview": { "alias": "overview"; "required": true; }; "meta": { "alias": "meta"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "default": { "alias": "default"; "required": false; }; "hideProgressBar": { "alias": "hideProgressBar"; "required": false; }; "partialColors": { "alias": "partialColors"; "required": false; }; "showExternalPartialCircleProgress": { "alias": "showExternalPartialCircleProgress"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "enableChangeOverview": { "alias": "enableChangeOverview"; "required": false; }; }, { "sendConversationFlag": "sendConversationFlag"; }, never, never, true, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IProspectData } from '../../lib-compose-matcher-dash/interfaces/prospect-data.interface';
|
|
2
|
+
import { IDashboardMatchRequest } from './dashboard-match-request.interface';
|
|
3
|
+
export interface ILibClientMatchOverview {
|
|
4
|
+
_id?: string;
|
|
5
|
+
primary: IClientFields;
|
|
6
|
+
secondary: IClientFields;
|
|
7
|
+
preferences: number;
|
|
8
|
+
personality: number;
|
|
9
|
+
isExpanded?: boolean;
|
|
10
|
+
showHandoff?: boolean;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
prospectData: IProspectData;
|
|
13
|
+
matchRequest: IDashboardMatchRequest;
|
|
14
|
+
}
|
|
15
|
+
interface IClientFields {
|
|
16
|
+
name: string;
|
|
17
|
+
src: string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CONVERSATION_FLAG } from '../enums/conversation-flag.enum';
|
|
2
|
+
import { COUNTER_FLAG_BASE } from '../enums/counter-flag-base.enum';
|
|
3
|
+
export interface IConversationFlag {
|
|
4
|
+
timestamp: Date;
|
|
5
|
+
prospectId: string;
|
|
6
|
+
basedOn: COUNTER_FLAG_BASE;
|
|
7
|
+
flag: CONVERSATION_FLAG;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { COUNTER_FLAG_BASE } from '../enums/counter-flag-base.enum';
|
|
2
|
+
import { INNER_CIRCLE_STATE } from '../enums/inner-circle-state.enum';
|
|
3
|
+
/** Decision bundle returned to the component */
|
|
4
|
+
export interface ProgressDecision {
|
|
5
|
+
state: INNER_CIRCLE_STATE;
|
|
6
|
+
innerValue: number | null;
|
|
7
|
+
tick: 'start' | 'stop';
|
|
8
|
+
basedOn: COUNTER_FLAG_BASE;
|
|
9
|
+
registered: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IConversationFlag } from './conversation-flag.interface';
|
|
2
|
+
/** Inputs the pure function needs */
|
|
3
|
+
export interface ProgressFacts {
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
lastMessageTimestamp: Date | null;
|
|
6
|
+
firstAnswer: boolean;
|
|
7
|
+
waitingAnswer: boolean;
|
|
8
|
+
nowMs?: number;
|
|
9
|
+
innerMax: number;
|
|
10
|
+
conversationFlags: IConversationFlag[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ProgressDecision } from '../interfaces/progress-decision.interface';
|
|
2
|
+
import { ProgressFacts } from '../interfaces/progress-facts.interface';
|
|
3
|
+
/**
|
|
4
|
+
* Pure “rules engine” for the inner circle.
|
|
5
|
+
* No side-effects, no RxJS, no Angular.
|
|
6
|
+
*/
|
|
7
|
+
export declare function computeInnerState(indicators: ProgressFacts): ProgressDecision | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressTickerService {
|
|
4
|
+
/** Emits once every `periodSec` seconds. Auto-starts & ref-counts. */
|
|
5
|
+
readonly tick$: Observable<number>;
|
|
6
|
+
/** For diagnostics: current number of active subscribers. */
|
|
7
|
+
readonly subscriberCount$: BehaviorSubject<number>;
|
|
8
|
+
constructor(periodSec: number);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressTickerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressTickerService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { SwiperOptions } from 'swiper/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LibDashboardSwipeableTabsComponent implements AfterViewInit {
|
|
5
|
+
thumbSwiper: ElementRef<{
|
|
6
|
+
initialize: () => {};
|
|
7
|
+
}>;
|
|
8
|
+
mainSwiper: ElementRef<{
|
|
9
|
+
initialize: () => {};
|
|
10
|
+
}>;
|
|
11
|
+
thumbSlides: ElementRef | undefined;
|
|
12
|
+
thumbsSwiperOptions: SwiperOptions;
|
|
13
|
+
mainSwiperOptions: SwiperOptions;
|
|
14
|
+
activeIndex: number;
|
|
15
|
+
bottomThumbs: boolean;
|
|
16
|
+
slideContentMaxHeight: string;
|
|
17
|
+
mainSwiperHeight: string;
|
|
18
|
+
subMainSwiperHeight: string;
|
|
19
|
+
thumbsSwiperHeight: string;
|
|
20
|
+
generalSwiperHeight: string;
|
|
21
|
+
activeIndexChange: EventEmitter<number>;
|
|
22
|
+
private thumbsSwiperInstance;
|
|
23
|
+
private mainSwiperInstance;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
private initSwiperInstances;
|
|
26
|
+
private initMainSwiper;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibDashboardSwipeableTabsComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibDashboardSwipeableTabsComponent, "lib-dashboard-swipeable-tabs", never, { "thumbsSwiperOptions": { "alias": "thumbsSwiperOptions"; "required": false; }; "mainSwiperOptions": { "alias": "mainSwiperOptions"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "bottomThumbs": { "alias": "bottomThumbs"; "required": false; }; "slideContentMaxHeight": { "alias": "slideContentMaxHeight"; "required": false; }; "mainSwiperHeight": { "alias": "mainSwiperHeight"; "required": false; }; "subMainSwiperHeight": { "alias": "subMainSwiperHeight"; "required": false; }; "thumbsSwiperHeight": { "alias": "thumbsSwiperHeight"; "required": false; }; "generalSwiperHeight": { "alias": "generalSwiperHeight"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, ["thumbSlides"], ["[thumb-slides]", "[main-slides]"], true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SwiperOptions } from 'swiper/types';
|
|
3
|
+
import { IMessage } from '../chat/interfaces/message.interface';
|
|
4
|
+
import { ISchedulerAction } from '../calendar/scheduler/interfaces/scheduler.action.interface';
|
|
5
|
+
import { ClientHomeComponent } from '../client-home/enums/client-home-component.enum';
|
|
6
|
+
import { IDashboardMatchRequest } from '../client-match-overview/interfaces/dashboard-match-request.interface';
|
|
7
|
+
import { AlertStatusFields } from './enums/alert-status-fields.enum';
|
|
8
|
+
import { ClientDashboardTabs } from './enums/client-dashboard-component.enum';
|
|
9
|
+
import { IClientDashboardInputs } from './interfaces/client-dashboard-inputs.interface';
|
|
10
|
+
import { IAd } from './interfaces/ads.interface';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class LibClientDashboardComponent implements OnInit, OnDestroy {
|
|
13
|
+
private cdr;
|
|
14
|
+
config: IClientDashboardInputs;
|
|
15
|
+
agendaAdsData?: Array<IAd>;
|
|
16
|
+
addMessage: EventEmitter<{
|
|
17
|
+
message: IMessage;
|
|
18
|
+
index: number;
|
|
19
|
+
prospectId: string;
|
|
20
|
+
matchRequest: IDashboardMatchRequest;
|
|
21
|
+
}>;
|
|
22
|
+
getMessages: EventEmitter<void>;
|
|
23
|
+
bookEvent: EventEmitter<ISchedulerAction>;
|
|
24
|
+
removeSuggestion: EventEmitter<ISchedulerAction>;
|
|
25
|
+
activeIndexChange: EventEmitter<number>;
|
|
26
|
+
handleClosedAlert: EventEmitter<{
|
|
27
|
+
event: boolean;
|
|
28
|
+
field: AlertStatusFields;
|
|
29
|
+
}>;
|
|
30
|
+
handleAppearPopup: EventEmitter<AlertStatusFields>;
|
|
31
|
+
components: typeof ClientHomeComponent;
|
|
32
|
+
componentTabs: typeof ClientDashboardTabs;
|
|
33
|
+
mainSwiperOptions: SwiperOptions;
|
|
34
|
+
alertStatusFields: typeof AlertStatusFields;
|
|
35
|
+
isTouchEvent: boolean;
|
|
36
|
+
items: {
|
|
37
|
+
key: string;
|
|
38
|
+
label: string;
|
|
39
|
+
onClickInfo: () => void;
|
|
40
|
+
}[];
|
|
41
|
+
isMinimizeVisual: boolean;
|
|
42
|
+
iconSize: string;
|
|
43
|
+
assetPaths: {
|
|
44
|
+
defaultIcon: string;
|
|
45
|
+
};
|
|
46
|
+
item: {
|
|
47
|
+
label: string;
|
|
48
|
+
};
|
|
49
|
+
clientHomeThumbsSwiperOptions: SwiperOptions;
|
|
50
|
+
dashboardThumbsSwiperOptions: SwiperOptions;
|
|
51
|
+
private lastTapTime;
|
|
52
|
+
private componentDestroyed$;
|
|
53
|
+
constructor(cdr: ChangeDetectorRef);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
onActiveTabIndexChange(index: number): void;
|
|
57
|
+
handleNewMessage(event: {
|
|
58
|
+
message: IMessage;
|
|
59
|
+
index: number;
|
|
60
|
+
prospectId: string;
|
|
61
|
+
matchRequest: IDashboardMatchRequest;
|
|
62
|
+
}): void;
|
|
63
|
+
handleDoubleClick(): void;
|
|
64
|
+
onTouchStart(event: TouchEvent): void;
|
|
65
|
+
onClick(event: PointerEvent): void;
|
|
66
|
+
onChartIndexChange(index: any): void;
|
|
67
|
+
onActiveProspectChange(index: number): void;
|
|
68
|
+
onClosedAlert(data: {
|
|
69
|
+
event: boolean;
|
|
70
|
+
field: AlertStatusFields;
|
|
71
|
+
}): void;
|
|
72
|
+
onHandleAppearPopup(field: AlertStatusFields): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibClientDashboardComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibClientDashboardComponent, "lib-client-dashboard", never, { "config": { "alias": "config"; "required": false; }; "agendaAdsData": { "alias": "agendaAdsData"; "required": false; }; }, { "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "activeIndexChange": "activeIndexChange"; "handleClosedAlert": "handleClosedAlert"; "handleAppearPopup": "handleAppearPopup"; }, never, never, true, never>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum AlertStatusFields {
|
|
2
|
+
upcomingDates = "upcomingDates",
|
|
3
|
+
compatibilityProfileTrait = "compatibilityProfileTrait",
|
|
4
|
+
compatibilityProfileSpider = "compatibilityProfileSpider",
|
|
5
|
+
chatHandoff = "chatHandoff",
|
|
6
|
+
chatProgress = "chatProgress",
|
|
7
|
+
chatMeetupAgenda = "chatMeetupAgenda",
|
|
8
|
+
face = "face"
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IAd {
|
|
2
|
+
id?: string;
|
|
3
|
+
icon: string;
|
|
4
|
+
media: string;
|
|
5
|
+
headline: string;
|
|
6
|
+
advertiser?: string;
|
|
7
|
+
body: string;
|
|
8
|
+
callToAction: string;
|
|
9
|
+
clickUrl?: string;
|
|
10
|
+
cta?: string;
|
|
11
|
+
price?: string;
|
|
12
|
+
store?: string;
|
|
13
|
+
starRating?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { ISpiderChartConfig } from '../../spider-chart/interfaces/config.interface';
|
|
7
|
+
import { IPolygonColor } from '../../spider-chart/interfaces/polygon-color.interface';
|
|
8
|
+
import { AlertStatusFields } from '../enums/alert-status-fields.enum';
|
|
9
|
+
export interface IClientDashboardInputs {
|
|
10
|
+
schedulerAdsTemplate?: TemplateRef<HTMLElement>;
|
|
11
|
+
schedulerTabAdsTemplate?: TemplateRef<HTMLElement>;
|
|
12
|
+
chatAdsTemplate?: TemplateRef<HTMLElement>;
|
|
13
|
+
chatTabAdsTemplate?: TemplateRef<HTMLElement>;
|
|
14
|
+
traitVisualAdsTemplate?: TemplateRef<HTMLElement>;
|
|
15
|
+
agendaAdsTemplate?: TemplateRef<HTMLElement>;
|
|
16
|
+
default?: boolean;
|
|
17
|
+
activeIndex?: number;
|
|
18
|
+
activeTabIndex?: number;
|
|
19
|
+
activeChartItem?: number;
|
|
20
|
+
slideContentMaxHeight?: string;
|
|
21
|
+
clientMatches$?: Observable<ILibClientMatchOverview[]>;
|
|
22
|
+
events?: IAgendaEvent[];
|
|
23
|
+
polygonColors?: IPolygonColor[];
|
|
24
|
+
spiderConfig?: ISpiderChartConfig;
|
|
25
|
+
schedulers$?: Observable<{
|
|
26
|
+
events$: Observable<ISchedulerEvent[]>;
|
|
27
|
+
}[]>;
|
|
28
|
+
alertStatus: Partial<Record<AlertStatusFields, boolean>>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormFieldType } from '../../enums/form-field-type';
|
|
3
|
+
import { ISchedulerAction } from '../calendar/scheduler/interfaces/scheduler.action.interface';
|
|
4
|
+
import { IMessage } from '../chat/interfaces/message.interface';
|
|
5
|
+
import { ClientHomeComponent } from '../client-home/enums/client-home-component.enum';
|
|
6
|
+
import { IDashboardMatchRequest } from '../client-match-overview/interfaces/dashboard-match-request.interface';
|
|
7
|
+
import { IChatIdentifier } from './interfaces/chat-identifier.interface';
|
|
8
|
+
import { IMatcherDashboardInputs } from './interfaces/matcher-dashboard-inputs.interface';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class LibComposeMacherDashComponent implements OnInit, OnDestroy {
|
|
11
|
+
private cdr;
|
|
12
|
+
config: IMatcherDashboardInputs;
|
|
13
|
+
addMessage: EventEmitter<{
|
|
14
|
+
message: IMessage;
|
|
15
|
+
prospectId: string;
|
|
16
|
+
matchRequest: IDashboardMatchRequest;
|
|
17
|
+
}>;
|
|
18
|
+
updateLLMConversation: EventEmitter<IChatIdentifier>;
|
|
19
|
+
getMessages: EventEmitter<void>;
|
|
20
|
+
bookEvent: EventEmitter<ISchedulerAction>;
|
|
21
|
+
removeSuggestion: EventEmitter<ISchedulerAction>;
|
|
22
|
+
activeIndexChange: EventEmitter<number>;
|
|
23
|
+
components: typeof ClientHomeComponent;
|
|
24
|
+
suggest: string;
|
|
25
|
+
schedularCounts: {
|
|
26
|
+
booked: number;
|
|
27
|
+
suggested: number;
|
|
28
|
+
};
|
|
29
|
+
statuses: ({
|
|
30
|
+
title: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
isText: boolean;
|
|
33
|
+
} | {
|
|
34
|
+
title: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
isText?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
FormFieldType: typeof FormFieldType;
|
|
39
|
+
private componentDestroyed$;
|
|
40
|
+
constructor(cdr: ChangeDetectorRef);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnDestroy(): void;
|
|
43
|
+
onActiveTabIndexChange(index: number): void;
|
|
44
|
+
onActiveProspectChange(index: number): void;
|
|
45
|
+
suggestClicked(suggest: string): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibComposeMacherDashComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibComposeMacherDashComponent, "lib-compose-matcher-dash", never, { "config": { "alias": "config"; "required": false; }; }, { "addMessage": "addMessage"; "updateLLMConversation": "updateLLMConversation"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "activeIndexChange": "activeIndexChange"; }, never, never, true, never>;
|
|
48
|
+
}
|
package/lib/components/lib-compose-matcher-dash/interfaces/matcher-dashboard-inputs.interface.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SelectOption } from '@naniteninja/ionic-lib';
|
|
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
|
+
export interface IMatcherDashboardInputs {
|
|
10
|
+
schedulerAdsTemplate?: TemplateRef<HTMLElement>;
|
|
11
|
+
schedulerTabAdsTemplate?: TemplateRef<HTMLElement>;
|
|
12
|
+
chatAdsTemplate?: TemplateRef<HTMLElement>;
|
|
13
|
+
loading?: {
|
|
14
|
+
clientMatches: boolean;
|
|
15
|
+
};
|
|
16
|
+
default?: boolean;
|
|
17
|
+
activeIndex?: number;
|
|
18
|
+
activeTabIndex?: number;
|
|
19
|
+
slideContentMaxHeight?: string;
|
|
20
|
+
clientMatches$?: Observable<ILibClientMatchOverview[]>;
|
|
21
|
+
events$?: Observable<ISchedulerEvent[]>;
|
|
22
|
+
polygonColors?: IPolygonColor[];
|
|
23
|
+
spiderConfig?: ISpiderChartConfig;
|
|
24
|
+
alertStatus: Partial<Record<AlertStatusFields, boolean>>;
|
|
25
|
+
llmPreferenceOptions?: SelectOption<string>[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { ISchedulerEvent } from '../../calendar/scheduler/interfaces/scheduler.event.interface';
|
|
3
|
+
import { ISchedulerEventSuggestion } from '../../calendar/scheduler/interfaces/scheduler.event.suggestion.interface';
|
|
4
|
+
import { IChatSuggestion } from '../../chat-suggestion/interfaces/chat-suggestion.interface';
|
|
5
|
+
import { IMessage } from '../../chat/interfaces/message.interface';
|
|
6
|
+
import { IConversationFlag } from '../../client-match-overview/interfaces/conversation-flag.interface';
|
|
7
|
+
import { MatcherStatuses } from '../../matcher-statuses/enums/matcher-statuses.enum';
|
|
8
|
+
import { IChartData } from './chart-data.interface';
|
|
9
|
+
export interface IProspectData {
|
|
10
|
+
messages: IMessage[];
|
|
11
|
+
prospectId: string;
|
|
12
|
+
status: MatcherStatuses;
|
|
13
|
+
prospectResponseTime: string;
|
|
14
|
+
chatSuggestions: IChatSuggestion[];
|
|
15
|
+
schedules: ISchedulerEvent[];
|
|
16
|
+
scheduleSuggestions: ISchedulerEventSuggestion[];
|
|
17
|
+
llmPreference: string;
|
|
18
|
+
_id: string;
|
|
19
|
+
prospectJoinDate: Date;
|
|
20
|
+
conversationFlags: IConversationFlag[];
|
|
21
|
+
numberMatcherStatuses: number;
|
|
22
|
+
chartData: IChartData[];
|
|
23
|
+
llmPreferenceLoading$?: BehaviorSubject<string[]>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Profile } from '@naniteninja/ionic-lib';
|
|
3
|
+
import { ILibClientMatchOverview } from '../../client-match-overview/interfaces/client-match-overview.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GetProfileWithProgressPipe implements PipeTransform {
|
|
6
|
+
transform(clientMatch: ILibClientMatchOverview): Profile;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetProfileWithProgressPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetProfileWithProgressPipe, "getProfileWithProgress", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum MatcherStatuses {
|
|
2
|
+
STATUS0 = "no contact",
|
|
3
|
+
STATUS1 = "1st exchange",
|
|
4
|
+
STATUS2 = "2nd exchange",
|
|
5
|
+
STATUS3 = "3rd exchange",
|
|
6
|
+
STATUS4 = "2+ laughs",
|
|
7
|
+
STATUS5 = "idea signalled",
|
|
8
|
+
STATUS6 = "alt contact",
|
|
9
|
+
STATUS7 = "any romance",
|
|
10
|
+
STATUS8 = "locale confirmed",
|
|
11
|
+
STATUS9 = "time confirmed",
|
|
12
|
+
STATUS10 = "all followup"
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { IMessage } from '../chat/interfaces/message.interface';
|
|
3
|
+
import { MatcherStatuses } from './enums/matcher-statuses.enum';
|
|
4
|
+
import { MATCHER_STATUSES } from './lookups/matcher-statuses.lookup';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MatcherStatusesComponent {
|
|
7
|
+
adsTemplate?: TemplateRef<HTMLElement>;
|
|
8
|
+
status: MatcherStatuses;
|
|
9
|
+
hideStatuses: boolean;
|
|
10
|
+
messages: IMessage[];
|
|
11
|
+
inputValue?: string;
|
|
12
|
+
maxLength: number;
|
|
13
|
+
responseTime?: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
prospectJoinDate: Date;
|
|
16
|
+
getMessages: EventEmitter<boolean>;
|
|
17
|
+
sendMessage: EventEmitter<IMessage>;
|
|
18
|
+
MATCHER_STATUSES: typeof MATCHER_STATUSES;
|
|
19
|
+
handleGetMessages(event: boolean): void;
|
|
20
|
+
handleSendMessage(event: IMessage): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatcherStatusesComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatcherStatusesComponent, "lib-matcher-statuses", never, { "adsTemplate": { "alias": "adsTemplate"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hideStatuses": { "alias": "hideStatuses"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "responseTime": { "alias": "responseTime"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prospectJoinDate": { "alias": "prospectJoinDate"; "required": false; }; }, { "getMessages": "getMessages"; "sendMessage": "sendMessage"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { MatcherStatuses } from '../enums/matcher-statuses.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IsStatusIncludedPipe implements PipeTransform {
|
|
5
|
+
transform(status: MatcherStatuses, index: number): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsStatusIncludedPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsStatusIncludedPipe, "isStatusIncluded", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Profile } from '@naniteninja/ionic-lib';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProfileCardComponent implements OnChanges {
|
|
5
|
+
profile: Profile;
|
|
6
|
+
progressText: string;
|
|
7
|
+
progressBar: any;
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileCardComponent, "lib-profile-card", never, { "profile": { "alias": "profile"; "required": false; }; "progressText": { "alias": "progressText"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./profile-card.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
export declare class ProfileCardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProfileCardModule, [typeof i1.ProfileCardComponent], [typeof i2.CommonModule, typeof i3.IonicModule], [typeof i1.ProfileCardComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProfileCardModule>;
|
|
9
|
+
}
|