@posiwise/smart-crm 0.0.20 → 0.0.21
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/.eslintrc.json +22 -0
- package/ng-package.json +15 -0
- package/package.json +10 -23
- package/project.json +72 -0
- package/{index.d.ts → src/index.ts} +3 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.html +200 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.spec.ts +185 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.ts +238 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.html +200 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.spec.ts +109 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.ts +249 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.html +785 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.scss +123 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.spec.ts +388 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.ts +792 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.html +292 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.scss +63 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.spec.ts +145 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.ts +417 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.html +1 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.spec.ts +17 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.ts +7 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.html +75 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.spec.ts +123 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.ts +117 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.html +125 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.scss +5 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.spec.ts +136 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.ts +143 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.html +60 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.scss +1 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.spec.ts +55 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.ts +29 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.html +95 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.spec.ts +105 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.ts +95 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.html +125 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.spec.ts +132 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.ts +145 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.html +61 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.spec.ts +81 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.ts +88 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.html +96 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.spec.ts +109 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.ts +129 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.html +108 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.spec.ts +124 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.ts +111 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.html +134 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.spec.ts +103 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.ts +166 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.html +90 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.scss +6 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.spec.ts +105 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.ts +118 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.html +115 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.spec.ts +93 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.ts +150 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.html +205 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.spec.ts +149 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.ts +184 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.html +530 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.scss +112 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.spec.ts +284 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.ts +553 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.html +281 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.scss +19 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.spec.ts +138 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.ts +344 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.html +1 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.spec.ts +18 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.ts +7 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.html +27 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.spec.ts +19 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.ts +7 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.html +46 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.spec.ts +50 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.ts +60 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.html +142 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.spec.ts +125 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.ts +192 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.html +176 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.spec.ts +98 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.ts +160 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.html +90 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.spec.ts +68 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.ts +98 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.html +322 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.spec.ts +156 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.ts +296 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.html +215 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.scss +3 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.spec.ts +117 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.ts +187 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.html +33 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.scss +82 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.spec.ts +63 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.ts +62 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.html +27 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.scss +3 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.spec.ts +28 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.ts +13 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.html +75 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.scss +223 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.spec.ts +184 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.ts +268 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.html +273 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.scss +11 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.spec.ts +196 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.ts +391 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.html +489 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.scss +104 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.spec.ts +319 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.ts +568 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.html +204 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.scss +11 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.spec.ts +123 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.ts +260 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.html +25 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.scss +7 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.spec.ts +38 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.ts +8 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.html +213 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.scss +73 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.spec.ts +147 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.ts +292 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.html +309 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.spec.ts +75 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.ts +161 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.html +25 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.scss +68 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.spec.ts +32 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.ts +8 -0
- package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.spec.ts +43 -0
- package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.ts +97 -0
- package/src/lib/private/smart-crm-private.module.ts +188 -0
- package/src/lib/private/smart-crm-private.routing.module.ts +303 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.html +27 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.scss +4 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.spec.ts +40 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.ts +57 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.html +36 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.spec.ts +42 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.ts +57 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.html +133 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.scss +1 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.spec.ts +37 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.ts +41 -0
- package/src/lib/public/smart-crm-public.module.ts +30 -0
- package/src/lib/public/smart-crm-public.routing.module.ts +36 -0
- package/{lib/shared/interface/crm-account.interface.d.ts → src/lib/shared/interface/crm-account.interface.ts} +10 -3
- package/{lib/shared/interface/crm-action.interface.d.ts → src/lib/shared/interface/crm-action.interface.ts} +1 -0
- package/{lib/shared/interface/crm-contact.interface.d.ts → src/lib/shared/interface/crm-contact.interface.ts} +2 -0
- package/{lib/shared/interface/crm-lead.interface.d.ts → src/lib/shared/interface/crm-lead.interface.ts} +1 -0
- package/{lib/shared/interface/crm-newsletter.interface.d.ts → src/lib/shared/interface/crm-newsletter.interface.ts} +3 -1
- package/{lib/shared/interface/crm-opportunity.interface.d.ts → src/lib/shared/interface/crm-opportunity.interface.ts} +5 -0
- package/{lib/shared/interface/crm-source.interface.d.ts → src/lib/shared/interface/crm-source.interface.ts} +1 -0
- package/{lib/shared/interface/crm-stages.interface.d.ts → src/lib/shared/interface/crm-stages.interface.ts} +1 -0
- package/{lib/shared/interface/crm-widget.interface.d.ts → src/lib/shared/interface/crm-widget.interface.ts} +1 -0
- package/{lib/shared/interface/smart-crm-module.interface.d.ts → src/lib/shared/interface/smart-crm-module.interface.ts} +42 -1
- package/src/lib/shared/models/smart-crm.model.ts +199 -0
- package/src/lib/shared/routers/routers.ts +23 -0
- package/tsconfig.json +29 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +11 -0
- package/esm2022/index.mjs +0 -48
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +0 -194
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +0 -192
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +0 -599
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +0 -348
- package/esm2022/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.mjs +0 -12
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +0 -97
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +0 -118
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.mjs +0 -35
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.mjs +0 -87
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +0 -119
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +0 -79
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +0 -107
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +0 -96
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +0 -139
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +0 -98
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +0 -125
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +0 -159
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +0 -470
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +0 -281
- package/esm2022/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.mjs +0 -12
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-insight.component.mjs +0 -14
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.mjs +0 -55
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +0 -173
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +0 -136
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.mjs +0 -79
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +0 -266
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +0 -151
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.mjs +0 -51
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.mjs +0 -18
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +0 -230
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +0 -335
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +0 -477
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +0 -218
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.mjs +0 -14
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +0 -255
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +0 -148
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary.component.mjs +0 -16
- package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +0 -92
- package/esm2022/lib/private/smart-crm-private.module.mjs +0 -327
- package/esm2022/lib/private/smart-crm-private.routing.module.mjs +0 -310
- package/esm2022/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.mjs +0 -56
- package/esm2022/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.mjs +0 -57
- package/esm2022/lib/public/components/smart-crm-signup/smart-crm-signup.component.mjs +0 -35
- package/esm2022/lib/public/smart-crm-public.module.mjs +0 -46
- package/esm2022/lib/public/smart-crm-public.routing.module.mjs +0 -44
- package/esm2022/lib/shared/interface/crm-account.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-action.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-contact.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-lead.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-newsletter.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-opportunity.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-source.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-stages.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-widget.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/smart-crm-module.interface.mjs +0 -2
- package/esm2022/lib/shared/models/smart-crm.model.mjs +0 -186
- package/esm2022/lib/shared/routers/routers.mjs +0 -23
- package/esm2022/posiwise-smart-crm.mjs +0 -5
- package/fesm2022/posiwise-smart-crm.mjs +0 -6482
- package/fesm2022/posiwise-smart-crm.mjs.map +0 -1
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -72
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -173
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -105
- package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -55
- package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +0 -31
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -52
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -58
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -58
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -48
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -122
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -89
- package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.d.ts +0 -20
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -45
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -58
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -49
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -63
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +0 -21
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -63
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -67
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -122
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -77
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
- package/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.d.ts +0 -72
- package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +0 -40
- package/lib/private/components/smart-crm-summary/smart-crm-summary.component.d.ts +0 -5
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
- package/lib/private/smart-crm-private.module.d.ts +0 -62
- package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
- package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
- package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
- package/lib/public/smart-crm-public.module.d.ts +0 -14
- package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
- package/lib/shared/models/smart-crm.model.d.ts +0 -16
- package/lib/shared/routers/routers.d.ts +0 -21
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<div class="row">
|
|
2
|
+
<div class="col-12 mb-0">
|
|
3
|
+
<div class="me-auto mb-0">
|
|
4
|
+
<h2 class="mb-0">
|
|
5
|
+
<a href="javascript:void(0)"
|
|
6
|
+
(click)="back()"
|
|
7
|
+
class="previous"><i class="fa fa-arrow-alt-circle-left" aria-hidden="true"></i></a>
|
|
8
|
+
Contact Info
|
|
9
|
+
</h2>
|
|
10
|
+
</div>
|
|
11
|
+
<a class="btn btn-sm btn-outline-primary float-end mb-3"
|
|
12
|
+
data-cy="add-opportunities"
|
|
13
|
+
(click)="navigateToOpportunities()">
|
|
14
|
+
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
|
15
|
+
{{ 'Crm.OpportunitiesMessage.AddOpportunity' | transloco }}
|
|
16
|
+
</a>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="w-100 text-center mt-3"
|
|
19
|
+
*ngIf="!isDataLoaded">
|
|
20
|
+
<p-progressSpinner> </p-progressSpinner>
|
|
21
|
+
</div>
|
|
22
|
+
<div *ngIf="isDataLoaded">
|
|
23
|
+
<div class="row">
|
|
24
|
+
<div class="col-12 col-md-4">
|
|
25
|
+
<div class="user-info p-3 card pb-0 h-auto">
|
|
26
|
+
<div class="mb-2 text-center">
|
|
27
|
+
<a class="profile-image">
|
|
28
|
+
<img width="100"
|
|
29
|
+
height="100"
|
|
30
|
+
class="rounded-circle img-border width-100"
|
|
31
|
+
alt="user"
|
|
32
|
+
src="assets/img/icons/male.png" />
|
|
33
|
+
</a>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="mb-4 d-flex justify-content-between align-items-center">
|
|
36
|
+
<h4 class="d-inline-block">
|
|
37
|
+
About <span *ngIf="data?.id">{{ data | ifNameNullShowEmail }}</span>
|
|
38
|
+
</h4>
|
|
39
|
+
<a href="javascript:void(0);"
|
|
40
|
+
*ngIf="isFormEdit"
|
|
41
|
+
class="btn btn-sm btn-outline-primary float-end"
|
|
42
|
+
(click)="isFormEdit = !isFormEdit">Edit</a>
|
|
43
|
+
</div>
|
|
44
|
+
<form [formGroup]="aboutControls"
|
|
45
|
+
[class.isDisabled]="isFormEdit">
|
|
46
|
+
<div class="mb-3">
|
|
47
|
+
<label class="label mb-0">{{
|
|
48
|
+
'Crm.ContactMessage.FirstName' | transloco
|
|
49
|
+
}}</label>
|
|
50
|
+
<input type="text"
|
|
51
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
52
|
+
formControlName="first_name"
|
|
53
|
+
[ngClass]="{ 'is-invalid': submitted && f['first_name'].errors }" />
|
|
54
|
+
</div>
|
|
55
|
+
<div class="mb-3">
|
|
56
|
+
<label class="label mb-0">{{
|
|
57
|
+
'Crm.ContactMessage.LastName' | transloco
|
|
58
|
+
}}</label>
|
|
59
|
+
<input type="text"
|
|
60
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
61
|
+
formControlName="last_name"
|
|
62
|
+
[ngClass]="{ 'is-invalid': submitted && f['last_name'].errors }" />
|
|
63
|
+
</div>
|
|
64
|
+
<div class="mb-3 ui-fluid skills-modal">
|
|
65
|
+
<label class="label mb-2">{{ 'Crm.ContactMessage.Account' | transloco }}
|
|
66
|
+
</label>
|
|
67
|
+
<a [routerLink]="[
|
|
68
|
+
'/' + subscription?.slug + routers.accountInfo,
|
|
69
|
+
data.crm_account_id
|
|
70
|
+
]"
|
|
71
|
+
class="form-control d-block pb-2 ps-1 user-value"
|
|
72
|
+
[class.is-invalid]="
|
|
73
|
+
(f['crm_account_id'].touched || submitted) && f['crm_account_id'].errors
|
|
74
|
+
"
|
|
75
|
+
*ngIf="isFormEdit"
|
|
76
|
+
[class.disableFormControl]="!data?.crm_account_id">{{ f['crm_account_id'].value?.name }}</a>
|
|
77
|
+
<p-autoComplete *ngIf="!isFormEdit"
|
|
78
|
+
[suggestions]="filteredAccounts"
|
|
79
|
+
formControlName="crm_account_id"
|
|
80
|
+
dataKey="id"
|
|
81
|
+
field="name"
|
|
82
|
+
[dropdown]="true"
|
|
83
|
+
(completeMethod)="search($event)"
|
|
84
|
+
styleClass="w-100"
|
|
85
|
+
[inputStyleClass]="
|
|
86
|
+
(f['crm_account_id'].touched || submitted) && f['crm_account_id'].errors
|
|
87
|
+
? 'invalid-field'
|
|
88
|
+
: ''
|
|
89
|
+
"
|
|
90
|
+
placeholder="Search accounts"
|
|
91
|
+
[multiple]="false">
|
|
92
|
+
</p-autoComplete>
|
|
93
|
+
<span *ngIf="(f['crm_account_id'].touched || submitted) && f['crm_account_id'].errors"
|
|
94
|
+
class="text-danger">account is required</span>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="mb-3">
|
|
97
|
+
<label class="label mb-0">{{ 'Crm.ContactMessage.Email' | transloco }}</label>
|
|
98
|
+
<a href="mailTo:{{ data.email }}"
|
|
99
|
+
class="form-control d-block pb-2 ps-1 user-value"
|
|
100
|
+
*ngIf="isFormEdit && data.email">{{ data.email }}</a>
|
|
101
|
+
<input type="text"
|
|
102
|
+
*ngIf="!isFormEdit || !data.email"
|
|
103
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
104
|
+
formControlName="email"
|
|
105
|
+
[ngClass]="{ 'is-invalid': submitted && f['email'].errors }" />
|
|
106
|
+
</div>
|
|
107
|
+
<div class="mb-3">
|
|
108
|
+
<label class="label mb-0">{{
|
|
109
|
+
'Crm.ContactMessage.LinkedInUrl' | transloco
|
|
110
|
+
}}</label>
|
|
111
|
+
<a [href]="data.linkedin_url"
|
|
112
|
+
target="blank"
|
|
113
|
+
class="form-control d-block pb-2 ps-1 user-value"
|
|
114
|
+
*ngIf="isFormEdit && data.linkedin_url">{{ data.linkedin_url }}</a>
|
|
115
|
+
<input *ngIf="!isFormEdit || !data.linkedin_url"
|
|
116
|
+
type="text"
|
|
117
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
118
|
+
formControlName="linkedin_url"
|
|
119
|
+
[ngClass]="{ 'is-invalid': submitted && f['linkedin_url'].errors }" />
|
|
120
|
+
</div>
|
|
121
|
+
<div class="mb-3">
|
|
122
|
+
<label class="label mb-0">{{
|
|
123
|
+
'Crm.ContactMessage.Headline' | transloco
|
|
124
|
+
}}</label>
|
|
125
|
+
<input type="text"
|
|
126
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
127
|
+
formControlName="headline"
|
|
128
|
+
[ngClass]="{ 'is-invalid': submitted && f['headline'].errors }" />
|
|
129
|
+
</div>
|
|
130
|
+
<div class="mb-3"
|
|
131
|
+
*ngIf="data.tel">
|
|
132
|
+
<label class="label mb-0">{{ 'Crm.ContactMessage.Tel' | transloco }}</label>
|
|
133
|
+
<input type="text"
|
|
134
|
+
class="form-control rounded-0 ps-1 user-value"
|
|
135
|
+
formControlName="tel" />
|
|
136
|
+
</div>
|
|
137
|
+
<div class="mb-3">
|
|
138
|
+
<label class="label mb-0">{{
|
|
139
|
+
'Crm.ContactMessage.Potential' | transloco
|
|
140
|
+
}}</label>
|
|
141
|
+
<select formControlName="potential"
|
|
142
|
+
class="form-control form-select"
|
|
143
|
+
[ngClass]="{ 'is-invalid': submitted && f['potential'].errors }">
|
|
144
|
+
<option *ngFor="let option of potentials"
|
|
145
|
+
[value]="option">
|
|
146
|
+
{{ option }}
|
|
147
|
+
</option>
|
|
148
|
+
</select>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="mb-3">
|
|
151
|
+
<label class="label mb-0">{{ 'Crm.ContactMessage.Labels' | transloco }} </label>
|
|
152
|
+
<p-multiSelect [options]="labels"
|
|
153
|
+
[class.disableFormControl]="isFormEdit"
|
|
154
|
+
formControlName="labels"
|
|
155
|
+
appendTo="body"></p-multiSelect>
|
|
156
|
+
</div>
|
|
157
|
+
<div *ngIf="!isFormEdit"
|
|
158
|
+
class="text-end form-action-buttons">
|
|
159
|
+
<input type="button"
|
|
160
|
+
class="btn btn-outline-primary"
|
|
161
|
+
(click)="isFormEdit = !isFormEdit; getUserInfo()"
|
|
162
|
+
value="Cancel" />
|
|
163
|
+
<input type="button"
|
|
164
|
+
class="btn btn-primary ms-3"
|
|
165
|
+
value="Submit"
|
|
166
|
+
(click)="updateContactInfo()" />
|
|
167
|
+
</div>
|
|
168
|
+
</form>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-12 col-md-8">
|
|
172
|
+
<ul ngbNav
|
|
173
|
+
#nav="ngbNav"
|
|
174
|
+
class="nav-tabs">
|
|
175
|
+
<li [ngbNavItem]="1">
|
|
176
|
+
<a ngbNavLink>Notes</a>
|
|
177
|
+
<ng-template ngbNavContent>
|
|
178
|
+
<form [formGroup]="actionControls"
|
|
179
|
+
(ngSubmit)="onSave()">
|
|
180
|
+
<textarea class="form-control"
|
|
181
|
+
formControlName="comment"
|
|
182
|
+
rows="6"></textarea>
|
|
183
|
+
<p class="text-danger"
|
|
184
|
+
*ngIf="
|
|
185
|
+
actionControls.get('comment').touched &&
|
|
186
|
+
actionControls.get('comment').invalid
|
|
187
|
+
">
|
|
188
|
+
Note Required
|
|
189
|
+
</p>
|
|
190
|
+
<div *ngIf="actions.length"
|
|
191
|
+
class="d-block clear-both pt-3">
|
|
192
|
+
<ng-container *ngFor="let action of actions; index as i">
|
|
193
|
+
<button *ngIf="action.visible"
|
|
194
|
+
type="button"
|
|
195
|
+
[class.active]=""
|
|
196
|
+
class="btn btn-sm me-2 btn-outline-primary mb-2 action-btn"
|
|
197
|
+
(click)="showDatePicker($event, action.id); d.toggle()">
|
|
198
|
+
{{ action.name }}
|
|
199
|
+
</button>
|
|
200
|
+
</ng-container>
|
|
201
|
+
<div class="text-danger"
|
|
202
|
+
*ngIf="submitAction && actionFormControls['crm_action_id'].invalid">
|
|
203
|
+
Please select an action
|
|
204
|
+
</div>
|
|
205
|
+
<div class="row mt-3">
|
|
206
|
+
<div class="col-12 col-sm-4">
|
|
207
|
+
<div class="input-group">
|
|
208
|
+
<input class="form-control"
|
|
209
|
+
placeholder="dd-mm-yyyy"
|
|
210
|
+
formControlName="when"
|
|
211
|
+
ngbDatepicker
|
|
212
|
+
#d="ngbDatepicker"
|
|
213
|
+
(click)="d.toggle()" />
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="col-sm-4 pe-0 completed-toggle">
|
|
217
|
+
<div class="mb-3">
|
|
218
|
+
<ui-switch checkedLabel="completed"
|
|
219
|
+
uncheckedLabel="open"
|
|
220
|
+
formControlName="completed"
|
|
221
|
+
name="completed">
|
|
222
|
+
</ui-switch>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="float-end">
|
|
228
|
+
<input type="submit"
|
|
229
|
+
[buttonBusy]="buttonBusy"
|
|
230
|
+
[disabled]="buttonDisable"
|
|
231
|
+
class="btn btn-primary mt-2 mb-2 float-end"
|
|
232
|
+
value="Submit Note" />
|
|
233
|
+
<a class="btn btn-outline-primary mt-2 mb-2 me-0 me-sm-2 float-end"
|
|
234
|
+
(click)="openModal(content)">{{ 'Upload file' | transloco }}</a>
|
|
235
|
+
</div>
|
|
236
|
+
<div *ngIf="buttonDisable"
|
|
237
|
+
class="no-actions pt-4">
|
|
238
|
+
<pw-no-data [withImage]="true" [message]="
|
|
239
|
+
'Crm.ContactMessage.NoActionsInContactInfoMessage' | transloco
|
|
240
|
+
">
|
|
241
|
+
<span><a [routerLink]="[
|
|
242
|
+
'/' +
|
|
243
|
+
subscription?.slug +
|
|
244
|
+
routers.configurations +
|
|
245
|
+
'actions'
|
|
246
|
+
]">Take me to the actions configuration section.</a></span>
|
|
247
|
+
</pw-no-data>
|
|
248
|
+
</div>
|
|
249
|
+
</form>
|
|
250
|
+
<div class="w-100 text-center mt-3"
|
|
251
|
+
*ngIf="!isLoaded">
|
|
252
|
+
<p-progressSpinner strokeWidth="2"> </p-progressSpinner>
|
|
253
|
+
</div>
|
|
254
|
+
<div *ngIf="!contactComments?.length && isLoaded"
|
|
255
|
+
class="no-actions pt-3">
|
|
256
|
+
<pw-no-data [withImage]="true" [message]="'Crm.ContactMessage.NoActionsMessage' | transloco">
|
|
257
|
+
</pw-no-data>
|
|
258
|
+
</div>
|
|
259
|
+
<div *ngIf="contactComments.length"
|
|
260
|
+
id="timeline"
|
|
261
|
+
class="pt-3 clear-both timeline-center timeline-wrapper">
|
|
262
|
+
<ul class="timeline">
|
|
263
|
+
<li class="timeline-line"></li>
|
|
264
|
+
</ul>
|
|
265
|
+
<ul class="timeline">
|
|
266
|
+
<li class="timeline-line"></li>
|
|
267
|
+
<li class="timeline-item"
|
|
268
|
+
[ngClass]="{ 'mt-5': odd }"
|
|
269
|
+
*ngFor="
|
|
270
|
+
let item of contactComments;
|
|
271
|
+
index as i;
|
|
272
|
+
let odd = odd;
|
|
273
|
+
let even = even
|
|
274
|
+
">
|
|
275
|
+
<div class="timeline-badge">
|
|
276
|
+
<span class="bg-red bg-lighten-1">
|
|
277
|
+
<span class="timeline-year">
|
|
278
|
+
<span class="d-block date-year">{{
|
|
279
|
+
item.when | date: 'medium' | slice: 0:3
|
|
280
|
+
}}</span>
|
|
281
|
+
<span>{{ item.year }}</span></span>
|
|
282
|
+
</span>
|
|
283
|
+
</div>
|
|
284
|
+
<div class="timeline-card shadow card pb-0 rounded border-grey border-lighten-2 position-static">
|
|
285
|
+
<div class="card-header py-4">
|
|
286
|
+
<div class="mb-0 clearfix">
|
|
287
|
+
<!-- <a>{{item.comment}}</a> -->
|
|
288
|
+
<textarea type="text"
|
|
289
|
+
name="comment"
|
|
290
|
+
class="comment-field form-control p-0"
|
|
291
|
+
[(ngModel)]="item.comment">{{ item.comment }}</textarea>
|
|
292
|
+
<p class="float-start mb-0"
|
|
293
|
+
*ngIf="!showFullComment || item.id !== commentId">
|
|
294
|
+
{{ item.comment | slice: 0:170
|
|
295
|
+
}}<a *ngIf="item.comment.length > 170"
|
|
296
|
+
class="text-secondary"
|
|
297
|
+
(click)="
|
|
298
|
+
showFullComment = true; commentId = item.id
|
|
299
|
+
">...show more</a>
|
|
300
|
+
</p>
|
|
301
|
+
<p class="float-start mb-0"
|
|
302
|
+
*ngIf="showFullComment && item.id === commentId">
|
|
303
|
+
{{ item.comment }}
|
|
304
|
+
<a *ngIf="
|
|
305
|
+
item.comment.length > 170 && showFullComment
|
|
306
|
+
"
|
|
307
|
+
(click)="showFullComment = false"
|
|
308
|
+
class="text-secondary">...show less</a>
|
|
309
|
+
</p>
|
|
310
|
+
<button class="btn btn-md edit-btn float-end py-0"
|
|
311
|
+
(click)="showEditControls($event)"
|
|
312
|
+
*ngIf="userId === item.owner_id || hasAccess">
|
|
313
|
+
<i
|
|
314
|
+
class="fa fa-edit edit-icon"
|
|
315
|
+
aria-hidden="true"
|
|
316
|
+
></i>
|
|
317
|
+
</button>
|
|
318
|
+
</div>
|
|
319
|
+
<div class="card-subtitle text-muted my-0 clearfix">
|
|
320
|
+
<div class="float-start">
|
|
321
|
+
<span *ngIf="!updating || actionId !== item.id"
|
|
322
|
+
class="font-small-3">
|
|
323
|
+
{{ item.when }}</span>
|
|
324
|
+
<input *ngIf="updating && actionId === item.id"
|
|
325
|
+
placeholder="dd-mm-yyyy"
|
|
326
|
+
[value]="item.when"
|
|
327
|
+
ngbDatepicker
|
|
328
|
+
#d="ngbDatepicker"
|
|
329
|
+
(focus)="d.toggle()"
|
|
330
|
+
(dateSelect)="onDateSelect($event, item)" />
|
|
331
|
+
</div>
|
|
332
|
+
<button type=" button"
|
|
333
|
+
class="btn btn-sm float-end when-btn py-0"
|
|
334
|
+
*ngIf="userId === item.owner_id || hasAccess"
|
|
335
|
+
(click)="showDatePickerUpdate(item.id)">
|
|
336
|
+
<i
|
|
337
|
+
class="fa fa-edit edit-icon"
|
|
338
|
+
aria-hidden="true"
|
|
339
|
+
></i>
|
|
340
|
+
</button>
|
|
341
|
+
</div>
|
|
342
|
+
<p [class.text-danger]="!item.color"
|
|
343
|
+
*ngIf="!item.cancelled && !item.completed"
|
|
344
|
+
class="mb-0">
|
|
345
|
+
{{ item.due }}
|
|
346
|
+
</p>
|
|
347
|
+
<p>
|
|
348
|
+
{{ item.owner.first_name + ' ' + item.owner.last_name }}
|
|
349
|
+
</p>
|
|
350
|
+
<span class="badge bg-primary">{{
|
|
351
|
+
item?.crm_action?.name
|
|
352
|
+
}}</span>
|
|
353
|
+
<span *ngIf="
|
|
354
|
+
!item.completed &&
|
|
355
|
+
(userId === item.owner_id || hasAccess)
|
|
356
|
+
"
|
|
357
|
+
class="badge bg-success ms-2">Open</span>
|
|
358
|
+
<a *ngIf="
|
|
359
|
+
!item.completed &&
|
|
360
|
+
(userId === item.owner_id || hasAccess)
|
|
361
|
+
"
|
|
362
|
+
ngbTooltip="Set as completed"
|
|
363
|
+
class="me-3 ms-3"
|
|
364
|
+
href="javascript:void(0);"
|
|
365
|
+
(click)="
|
|
366
|
+
setAsCompletedOrUncompleted(
|
|
367
|
+
item.id,
|
|
368
|
+
item,
|
|
369
|
+
item.completed
|
|
370
|
+
)
|
|
371
|
+
">
|
|
372
|
+
<i class="fa fa-tasks completed" aria-hidden="true"></i>
|
|
373
|
+
</a>
|
|
374
|
+
<a *ngIf="
|
|
375
|
+
!item.cancelled &&
|
|
376
|
+
!item.completed &&
|
|
377
|
+
(userId === item.owner_id || hasAccess)
|
|
378
|
+
"
|
|
379
|
+
ngbTooltip="Set as cancelled"
|
|
380
|
+
href="javascript:void(0);"
|
|
381
|
+
(click)="setAsCancelled(item.id, item)">
|
|
382
|
+
<i
|
|
383
|
+
class="fa fa-times delete-icon"
|
|
384
|
+
aria-hidden="true"
|
|
385
|
+
></i>
|
|
386
|
+
</a>
|
|
387
|
+
<a *ngIf="
|
|
388
|
+
item.completed &&
|
|
389
|
+
(userId === item.owner_id || hasAccess)
|
|
390
|
+
"
|
|
391
|
+
ngbTooltip="Set as UnCompleted"
|
|
392
|
+
href="javascript:void(0);"
|
|
393
|
+
(click)="
|
|
394
|
+
setAsCompletedOrUncompleted(
|
|
395
|
+
item.id,
|
|
396
|
+
item,
|
|
397
|
+
item.completed
|
|
398
|
+
)
|
|
399
|
+
"
|
|
400
|
+
class="ms-2">
|
|
401
|
+
<i class="far fa-window-close" aria-hidden="true"></i>
|
|
402
|
+
</a>
|
|
403
|
+
<div class="control-btns mt-3 text-end">
|
|
404
|
+
<button type="button"
|
|
405
|
+
class="btn btn-sm btn-outline-default me-2"
|
|
406
|
+
(click)="showEditControls(undefined)">
|
|
407
|
+
Cancel
|
|
408
|
+
</button>
|
|
409
|
+
<button class="btn btn-sm btn-primary"
|
|
410
|
+
type="button"
|
|
411
|
+
(click)="updateComment(item)">
|
|
412
|
+
Submit
|
|
413
|
+
</button>
|
|
414
|
+
</div>
|
|
415
|
+
</div>
|
|
416
|
+
</div>
|
|
417
|
+
</li>
|
|
418
|
+
</ul>
|
|
419
|
+
</div>
|
|
420
|
+
</ng-template>
|
|
421
|
+
</li>
|
|
422
|
+
<li [ngbNavItem]="2">
|
|
423
|
+
<a ngbNavLink>Versioning</a>
|
|
424
|
+
<ng-template ngbNavContent>
|
|
425
|
+
<div *ngFor="let version of contactVersioning">
|
|
426
|
+
<p>
|
|
427
|
+
<strong>Event: </strong>{{ version.event }} | <strong>Author: </strong><a *ngIf="version?.author"
|
|
428
|
+
[routerLink]="['/members', version?.author?.slug]">{{ version?.author | ifNameNullShowEmail }}</a>
|
|
429
|
+
| <strong>Created at: </strong>{{ version.created_at | dateFormat: 'datetime' }}<br />
|
|
430
|
+
<strong>Object: </strong>{{ version.object | json }}
|
|
431
|
+
</p>
|
|
432
|
+
<hr />
|
|
433
|
+
</div>
|
|
434
|
+
<div *ngIf="contactVersioning?.length === 0">
|
|
435
|
+
<pw-no-data [withImage]="true" [message]="'Crm.ContactMessage.NoVersionsMessage' | transloco">
|
|
436
|
+
</pw-no-data>
|
|
437
|
+
</div>
|
|
438
|
+
</ng-template>
|
|
439
|
+
</li>
|
|
440
|
+
<li [ngbNavItem]="3">
|
|
441
|
+
<a ngbNavLink>Files</a>
|
|
442
|
+
<ng-template ngbNavContent>
|
|
443
|
+
<pw-smart-crm-company-files [contactId]="contactId"
|
|
444
|
+
[accountId]="accountId">
|
|
445
|
+
</pw-smart-crm-company-files>
|
|
446
|
+
</ng-template>
|
|
447
|
+
</li>
|
|
448
|
+
</ul>
|
|
449
|
+
|
|
450
|
+
<div [ngbNavOutlet]="nav"></div>
|
|
451
|
+
</div>
|
|
452
|
+
</div>
|
|
453
|
+
</div>
|
|
454
|
+
</div>
|
|
455
|
+
|
|
456
|
+
<ng-template #content
|
|
457
|
+
let-modal>
|
|
458
|
+
<div class="modal-header">
|
|
459
|
+
<h3 class="modal-title mb-0 p-0">{{ 'Upload File' | transloco }}</h3>
|
|
460
|
+
<button type="button"
|
|
461
|
+
class="btn-close float-end"
|
|
462
|
+
aria-label="Close"
|
|
463
|
+
(click)="modal.dismiss()">
|
|
464
|
+
|
|
465
|
+
</button>
|
|
466
|
+
</div>
|
|
467
|
+
<div class="modal-body">
|
|
468
|
+
<small> {{ 'User.Profile.PictureMessage' | transloco }}</small>
|
|
469
|
+
<div class="row p-2">
|
|
470
|
+
<div class="col-12">
|
|
471
|
+
<div class="upload-box">
|
|
472
|
+
<div class="upload-box-content">
|
|
473
|
+
<div class="drop-container"
|
|
474
|
+
ngFileDrop
|
|
475
|
+
[options]="options"
|
|
476
|
+
(uploadOutput)="onUploadOutput($event)"
|
|
477
|
+
[uploadInput]="uploadInput">
|
|
478
|
+
<p>
|
|
479
|
+
Drag files here or
|
|
480
|
+
<label class="upload-button">
|
|
481
|
+
<input type="file"
|
|
482
|
+
ngFileSelect
|
|
483
|
+
[options]="options"
|
|
484
|
+
(uploadOutput)="onUploadOutput($event)"
|
|
485
|
+
[uploadInput]="uploadInput"
|
|
486
|
+
multiple />
|
|
487
|
+
browse
|
|
488
|
+
</label>
|
|
489
|
+
to upload.
|
|
490
|
+
</p>
|
|
491
|
+
</div>
|
|
492
|
+
<div class="upload-item"
|
|
493
|
+
*ngFor="let f of files; let i = index">
|
|
494
|
+
<div class="upload-item-content">
|
|
495
|
+
<div class="filename">
|
|
496
|
+
<div class="filename-left">
|
|
497
|
+
<i class="ionicon ion-ios-copy" aria-hidden="true"></i>
|
|
498
|
+
<span>{{ f.name }}</span>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
<div class="progress-content">
|
|
502
|
+
<div class="progress">
|
|
503
|
+
<span class="bar"
|
|
504
|
+
[style.width]="f?.progress?.data?.percentage + '%'"
|
|
505
|
+
[class.is-done]="f['uploaded']"></span>
|
|
506
|
+
</div>
|
|
507
|
+
</div>
|
|
508
|
+
<div class="progress-text-content">
|
|
509
|
+
<span class="progress-text"
|
|
510
|
+
[class.is-done]="f['uploaded']">
|
|
511
|
+
<span *ngIf="!f['uploaded']">{{ f.progress?.data?.percentage - 1 }}%
|
|
512
|
+
</span>
|
|
513
|
+
<span *ngIf="f['uploaded']">100 %</span>
|
|
514
|
+
<span *ngIf="!f['uploaded']">Uploading...</span>
|
|
515
|
+
<span *ngIf="f['uploaded']">Done</span>
|
|
516
|
+
</span>
|
|
517
|
+
<span class="speed-and-eta-text"
|
|
518
|
+
*ngIf="f.progress?.data?.percentage !== 0 && !f['uploaded']">
|
|
519
|
+
<span>{{ f.progress?.data?.speedHuman }} </span>
|
|
520
|
+
<span>ETA {{ f.progress?.data?.etaHuman }}</span>
|
|
521
|
+
</span>
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
524
|
+
</div>
|
|
525
|
+
</div>
|
|
526
|
+
</div>
|
|
527
|
+
</div>
|
|
528
|
+
</div>
|
|
529
|
+
</div>
|
|
530
|
+
</ng-template>
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
@import 'variables/branding-variables';
|
|
2
|
+
|
|
3
|
+
.user-info {
|
|
4
|
+
.label {
|
|
5
|
+
color: $form-control-color;
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
text-transform: capitalize;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.user-value {
|
|
11
|
+
border: 0;
|
|
12
|
+
border-bottom: 1px solid $form-control-color;
|
|
13
|
+
|
|
14
|
+
&:focus {
|
|
15
|
+
box-shadow: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-invalid {
|
|
19
|
+
border-color: rgb(255 88 107);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.control-btns {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.comment-field {
|
|
29
|
+
border: 0;
|
|
30
|
+
border-bottom: 1px solid rgb(242 242 242);
|
|
31
|
+
color: $heading-color-main;
|
|
32
|
+
display: none;
|
|
33
|
+
font-size: 15px;
|
|
34
|
+
min-height: 100px;
|
|
35
|
+
padding: 2px 5px !important;
|
|
36
|
+
|
|
37
|
+
&:focus {
|
|
38
|
+
border: 1px solid rgb(23 105 225) !important;
|
|
39
|
+
border-bottom: 0;
|
|
40
|
+
box-shadow: none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
p {
|
|
45
|
+
max-width: 85%;
|
|
46
|
+
white-space: pre-wrap;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.show-controls {
|
|
50
|
+
.comment-field,
|
|
51
|
+
.control-btns {
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
p,
|
|
56
|
+
.edit-btn {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
select {
|
|
62
|
+
appearance: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
textarea {
|
|
66
|
+
resize: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.clear-both {
|
|
70
|
+
clear: both;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.isDisabled {
|
|
74
|
+
input[type='text'],
|
|
75
|
+
select {
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.timeline-card.card {
|
|
81
|
+
min-height: auto;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (max-width: 768px) {
|
|
85
|
+
.completed-toggle {
|
|
86
|
+
padding-top: 10px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.when-btn {
|
|
91
|
+
&:focus {
|
|
92
|
+
border: 0;
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.no-actions {
|
|
98
|
+
clear: both;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
::ng-deep {
|
|
102
|
+
body {
|
|
103
|
+
.invalid-field {
|
|
104
|
+
border: 1px solid rgb(255 88 107) !important;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.form-action-buttons {
|
|
110
|
+
margin-bottom: 14px;
|
|
111
|
+
margin-top: 15px;
|
|
112
|
+
}
|