@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.
Files changed (279) hide show
  1. package/.eslintrc.json +22 -0
  2. package/ng-package.json +15 -0
  3. package/package.json +10 -23
  4. package/project.json +72 -0
  5. package/{index.d.ts → src/index.ts} +3 -0
  6. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.html +200 -0
  7. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.spec.ts +185 -0
  8. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.ts +238 -0
  9. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.html +200 -0
  10. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.spec.ts +109 -0
  11. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.ts +249 -0
  12. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.html +785 -0
  13. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.scss +123 -0
  14. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.spec.ts +388 -0
  15. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.ts +792 -0
  16. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.html +292 -0
  17. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.scss +63 -0
  18. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.spec.ts +145 -0
  19. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.ts +417 -0
  20. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.html +1 -0
  21. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.spec.ts +17 -0
  22. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.ts +7 -0
  23. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.html +75 -0
  24. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.scss +3 -0
  25. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.spec.ts +123 -0
  26. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.ts +117 -0
  27. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.html +125 -0
  28. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.scss +5 -0
  29. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.spec.ts +136 -0
  30. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.ts +143 -0
  31. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.html +60 -0
  32. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.scss +1 -0
  33. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.spec.ts +55 -0
  34. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.ts +29 -0
  35. 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
  36. 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
  37. 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
  38. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.html +125 -0
  39. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.scss +3 -0
  40. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.spec.ts +132 -0
  41. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.ts +145 -0
  42. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.html +61 -0
  43. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.spec.ts +81 -0
  44. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.ts +88 -0
  45. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.html +96 -0
  46. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.scss +3 -0
  47. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.spec.ts +109 -0
  48. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.ts +129 -0
  49. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.html +108 -0
  50. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.scss +3 -0
  51. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.spec.ts +124 -0
  52. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.ts +111 -0
  53. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.html +134 -0
  54. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.scss +3 -0
  55. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.spec.ts +103 -0
  56. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.ts +166 -0
  57. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.html +90 -0
  58. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.scss +6 -0
  59. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.spec.ts +105 -0
  60. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.ts +118 -0
  61. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.html +115 -0
  62. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.spec.ts +93 -0
  63. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.ts +150 -0
  64. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.html +205 -0
  65. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.spec.ts +149 -0
  66. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.ts +184 -0
  67. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.html +530 -0
  68. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.scss +112 -0
  69. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.spec.ts +284 -0
  70. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.ts +553 -0
  71. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.html +281 -0
  72. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.scss +19 -0
  73. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.spec.ts +138 -0
  74. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.ts +344 -0
  75. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.html +1 -0
  76. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.spec.ts +18 -0
  77. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.ts +7 -0
  78. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.html +27 -0
  79. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.spec.ts +19 -0
  80. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.ts +7 -0
  81. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.html +46 -0
  82. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.spec.ts +50 -0
  83. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.ts +60 -0
  84. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.html +142 -0
  85. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.spec.ts +125 -0
  86. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.ts +192 -0
  87. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.html +176 -0
  88. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.spec.ts +98 -0
  89. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.ts +160 -0
  90. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.html +90 -0
  91. 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
  92. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.ts +98 -0
  93. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.html +322 -0
  94. 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
  95. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.ts +296 -0
  96. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.html +215 -0
  97. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.scss +3 -0
  98. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.spec.ts +117 -0
  99. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.ts +187 -0
  100. 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
  101. 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
  102. 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
  103. 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
  104. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.html +27 -0
  105. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.scss +3 -0
  106. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.spec.ts +28 -0
  107. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.ts +13 -0
  108. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.html +75 -0
  109. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.scss +223 -0
  110. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.spec.ts +184 -0
  111. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.ts +268 -0
  112. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.html +273 -0
  113. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.scss +11 -0
  114. 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
  115. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.ts +391 -0
  116. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.html +489 -0
  117. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.scss +104 -0
  118. 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
  119. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.ts +568 -0
  120. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.html +204 -0
  121. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.scss +11 -0
  122. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.spec.ts +123 -0
  123. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.ts +260 -0
  124. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.html +25 -0
  125. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.scss +7 -0
  126. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.spec.ts +38 -0
  127. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.ts +8 -0
  128. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.html +213 -0
  129. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.scss +73 -0
  130. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.spec.ts +147 -0
  131. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.ts +292 -0
  132. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.html +309 -0
  133. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.spec.ts +75 -0
  134. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.ts +161 -0
  135. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.html +25 -0
  136. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.scss +68 -0
  137. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.spec.ts +32 -0
  138. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.ts +8 -0
  139. package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.spec.ts +43 -0
  140. package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.ts +97 -0
  141. package/src/lib/private/smart-crm-private.module.ts +188 -0
  142. package/src/lib/private/smart-crm-private.routing.module.ts +303 -0
  143. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.html +27 -0
  144. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.scss +4 -0
  145. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.spec.ts +40 -0
  146. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.ts +57 -0
  147. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.html +36 -0
  148. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.spec.ts +42 -0
  149. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.ts +57 -0
  150. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.html +133 -0
  151. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.scss +1 -0
  152. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.spec.ts +37 -0
  153. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.ts +41 -0
  154. package/src/lib/public/smart-crm-public.module.ts +30 -0
  155. package/src/lib/public/smart-crm-public.routing.module.ts +36 -0
  156. package/{lib/shared/interface/crm-account.interface.d.ts → src/lib/shared/interface/crm-account.interface.ts} +10 -3
  157. package/{lib/shared/interface/crm-action.interface.d.ts → src/lib/shared/interface/crm-action.interface.ts} +1 -0
  158. package/{lib/shared/interface/crm-contact.interface.d.ts → src/lib/shared/interface/crm-contact.interface.ts} +2 -0
  159. package/{lib/shared/interface/crm-lead.interface.d.ts → src/lib/shared/interface/crm-lead.interface.ts} +1 -0
  160. package/{lib/shared/interface/crm-newsletter.interface.d.ts → src/lib/shared/interface/crm-newsletter.interface.ts} +3 -1
  161. package/{lib/shared/interface/crm-opportunity.interface.d.ts → src/lib/shared/interface/crm-opportunity.interface.ts} +5 -0
  162. package/{lib/shared/interface/crm-source.interface.d.ts → src/lib/shared/interface/crm-source.interface.ts} +1 -0
  163. package/{lib/shared/interface/crm-stages.interface.d.ts → src/lib/shared/interface/crm-stages.interface.ts} +1 -0
  164. package/{lib/shared/interface/crm-widget.interface.d.ts → src/lib/shared/interface/crm-widget.interface.ts} +1 -0
  165. package/{lib/shared/interface/smart-crm-module.interface.d.ts → src/lib/shared/interface/smart-crm-module.interface.ts} +42 -1
  166. package/src/lib/shared/models/smart-crm.model.ts +199 -0
  167. package/src/lib/shared/routers/routers.ts +23 -0
  168. package/tsconfig.json +29 -0
  169. package/tsconfig.lib.json +25 -0
  170. package/tsconfig.lib.prod.json +9 -0
  171. package/tsconfig.spec.json +11 -0
  172. package/esm2022/index.mjs +0 -48
  173. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +0 -194
  174. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +0 -192
  175. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +0 -599
  176. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +0 -348
  177. package/esm2022/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.mjs +0 -12
  178. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +0 -97
  179. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +0 -118
  180. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.mjs +0 -35
  181. 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
  182. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +0 -119
  183. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +0 -79
  184. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +0 -107
  185. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +0 -96
  186. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +0 -139
  187. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +0 -98
  188. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +0 -125
  189. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +0 -159
  190. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +0 -470
  191. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +0 -281
  192. package/esm2022/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.mjs +0 -12
  193. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-insight.component.mjs +0 -14
  194. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.mjs +0 -55
  195. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +0 -173
  196. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +0 -136
  197. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.mjs +0 -79
  198. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +0 -266
  199. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +0 -151
  200. 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
  201. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.mjs +0 -18
  202. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +0 -230
  203. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +0 -335
  204. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +0 -477
  205. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +0 -218
  206. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.mjs +0 -14
  207. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +0 -255
  208. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +0 -148
  209. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary.component.mjs +0 -16
  210. package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +0 -92
  211. package/esm2022/lib/private/smart-crm-private.module.mjs +0 -327
  212. package/esm2022/lib/private/smart-crm-private.routing.module.mjs +0 -310
  213. package/esm2022/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.mjs +0 -56
  214. package/esm2022/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.mjs +0 -57
  215. package/esm2022/lib/public/components/smart-crm-signup/smart-crm-signup.component.mjs +0 -35
  216. package/esm2022/lib/public/smart-crm-public.module.mjs +0 -46
  217. package/esm2022/lib/public/smart-crm-public.routing.module.mjs +0 -44
  218. package/esm2022/lib/shared/interface/crm-account.interface.mjs +0 -2
  219. package/esm2022/lib/shared/interface/crm-action.interface.mjs +0 -2
  220. package/esm2022/lib/shared/interface/crm-contact.interface.mjs +0 -2
  221. package/esm2022/lib/shared/interface/crm-lead.interface.mjs +0 -2
  222. package/esm2022/lib/shared/interface/crm-newsletter.interface.mjs +0 -2
  223. package/esm2022/lib/shared/interface/crm-opportunity.interface.mjs +0 -2
  224. package/esm2022/lib/shared/interface/crm-source.interface.mjs +0 -2
  225. package/esm2022/lib/shared/interface/crm-stages.interface.mjs +0 -2
  226. package/esm2022/lib/shared/interface/crm-widget.interface.mjs +0 -2
  227. package/esm2022/lib/shared/interface/smart-crm-module.interface.mjs +0 -2
  228. package/esm2022/lib/shared/models/smart-crm.model.mjs +0 -186
  229. package/esm2022/lib/shared/routers/routers.mjs +0 -23
  230. package/esm2022/posiwise-smart-crm.mjs +0 -5
  231. package/fesm2022/posiwise-smart-crm.mjs +0 -6482
  232. package/fesm2022/posiwise-smart-crm.mjs.map +0 -1
  233. package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
  234. package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -72
  235. package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -173
  236. package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -105
  237. package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
  238. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
  239. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -55
  240. package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
  241. 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
  242. package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
  243. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
  244. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -52
  245. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
  246. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -58
  247. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
  248. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -58
  249. package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -48
  250. package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -122
  251. package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -89
  252. package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
  253. package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -5
  254. package/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.d.ts +0 -20
  255. package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -45
  256. package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -58
  257. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -49
  258. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -63
  259. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
  260. 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
  261. package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
  262. package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -63
  263. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -67
  264. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -122
  265. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -77
  266. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
  267. package/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.d.ts +0 -72
  268. package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +0 -40
  269. package/lib/private/components/smart-crm-summary/smart-crm-summary.component.d.ts +0 -5
  270. package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
  271. package/lib/private/smart-crm-private.module.d.ts +0 -62
  272. package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
  273. package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
  274. package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
  275. package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
  276. package/lib/public/smart-crm-public.module.d.ts +0 -14
  277. package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
  278. package/lib/shared/models/smart-crm.model.d.ts +0 -16
  279. package/lib/shared/routers/routers.d.ts +0 -21
@@ -1,49 +0,0 @@
1
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { LazyLoadEvent } from 'primeng/api';
4
- import { Subscription } from '@posiwise/common-utilities';
5
- import { NewsLetterContactResponse } from '../../../../../shared/interface/crm-newsletter.interface';
6
- import { AppBaseComponent } from '@posiwise/app-base-component';
7
- import * as i0 from "@angular/core";
8
- export declare class SmartCrmMarketingUsersListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
9
- private crmService;
10
- private cdr;
11
- subscriptionId: number;
12
- searchText: string;
13
- data: NewsLetterContactResponse;
14
- isLoaded: boolean;
15
- loading: boolean;
16
- id: number;
17
- private page;
18
- subscription: Subscription;
19
- routers: {
20
- accounts: string;
21
- contacts: string;
22
- accountInfo: string;
23
- addAccount: string;
24
- contactInfo: string;
25
- contactAdd: string;
26
- contactDetails: string;
27
- opportunityAdd: string;
28
- opportunities: string;
29
- opportunityInfo: string;
30
- configurationDetails: string;
31
- configurations: string;
32
- leadsDetails: string;
33
- marketingDetails: string;
34
- marketing: string;
35
- categoryDetails: string;
36
- sourceDetails: string;
37
- stageDetails: string;
38
- widgetsDetails: string;
39
- };
40
- constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
41
- ngOnInit(): void;
42
- ngAfterViewChecked(): void;
43
- onLazyLoad(event: LazyLoadEvent): void;
44
- /** Function to call users list for newsletter */
45
- private getNewsletterInsight;
46
- ngOnDestroy(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingUsersListComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingUsersListComponent, "pw-smart-crm-marketing-users-list", never, {}, {}, never, never, false, never>;
49
- }
@@ -1,63 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { CrmService } from '@posiwise/smart-crm-shared';
4
- import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
5
- import { AppBaseComponent } from '@posiwise/app-base-component';
6
- import { User, Product } from '@posiwise/common-utilities';
7
- import { CommonService } from '@posiwise/common-services';
8
- import * as i0 from "@angular/core";
9
- export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
10
- private crmService;
11
- private commonService;
12
- subscriptionId: number;
13
- hasAccess: boolean;
14
- form: UntypedFormGroup;
15
- user: User;
16
- data: CrmNewsLetter;
17
- submitted: boolean;
18
- buttonBusy: boolean;
19
- crmProduct: Product;
20
- status: any[];
21
- priority: any[];
22
- source: any[];
23
- organizationSizes: any[];
24
- featureKeys: any[];
25
- labels: any[];
26
- contactSource: any[];
27
- potentials: {
28
- label: string;
29
- value: string;
30
- }[];
31
- allCommunications: any[];
32
- id: number;
33
- isLoading: boolean;
34
- daysToNewsletterField: boolean;
35
- userNameSyntax: string;
36
- constructor(injector: Injector, crmService: CrmService, commonService: CommonService);
37
- ngOnInit(): void;
38
- private getAllCrmNewsletters;
39
- private getUserInfo;
40
- /** Function to get form controls */
41
- get f(): {
42
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
43
- };
44
- onSave(): void;
45
- /** Function to get edit communication details */
46
- private getCommunicationDetails;
47
- /** Function to execute on location select */
48
- handleAddressChange(event: any): void;
49
- /** Function for toggle */
50
- onChange(event: boolean, formControlName: string): void;
51
- /** Function to call Crm products */
52
- private getAllCrmProducts;
53
- /** Function to call account Default Values */
54
- private accountDefaultValues;
55
- /** Function to call account size */
56
- private getAccountSize;
57
- getDefaultValues(id: number): void;
58
- /** Function on select previous newsletter */
59
- onNewsletterSelect(event: any): void;
60
- ngOnDestroy(): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsDetailsComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsDetailsComponent, "pw-smart-crm-communications-details", never, {}, {}, never, never, false, never>;
63
- }
@@ -1,62 +0,0 @@
1
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { LazyLoadEvent } from 'primeng/api';
4
- import { CrmNewsLetter, CrmNewsLetterResponse } from '../../../../shared/interface/crm-newsletter.interface';
5
- import { AppBaseComponent } from '@posiwise/app-base-component';
6
- import { Plotly } from '@posiwise/common-utilities';
7
- import { Subscription } from '@posiwise/common-utilities';
8
- import { User } from '@posiwise/common-utilities';
9
- import * as i0 from "@angular/core";
10
- export declare class SmartCrmCommunicationsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
11
- private crmService;
12
- private cdr;
13
- subscriptionId: number;
14
- searchText: string;
15
- data: CrmNewsLetterResponse;
16
- isLoaded: boolean;
17
- loading: boolean;
18
- user: User;
19
- communicationsInsight: any;
20
- communicationEngagement: Plotly.Figure;
21
- private page;
22
- subscription: Subscription;
23
- routers: {
24
- accounts: string;
25
- contacts: string;
26
- accountInfo: string;
27
- addAccount: string;
28
- contactInfo: string;
29
- contactAdd: string;
30
- contactDetails: string;
31
- opportunityAdd: string;
32
- opportunities: string;
33
- opportunityInfo: string;
34
- configurationDetails: string;
35
- configurations: string;
36
- leadsDetails: string;
37
- marketingDetails: string;
38
- marketing: string;
39
- categoryDetails: string;
40
- sourceDetails: string;
41
- stageDetails: string;
42
- widgetsDetails: string;
43
- };
44
- constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
45
- ngOnInit(): void;
46
- ngAfterViewChecked(): void;
47
- onLazyLoad(event: LazyLoadEvent): void;
48
- private getUserInfo;
49
- /** Function to call all communications */
50
- private getAllCommunications;
51
- /** Function to delete communication */
52
- onDelete(id: number): void;
53
- /** Function to send mail */
54
- sendTestEmail(item: CrmNewsLetter): void;
55
- /** Function to call communication insight */
56
- private getCommunicationInsight;
57
- /** Function to call communication engagement */
58
- private getCommunicationEngagement;
59
- ngOnDestroy(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsComponent, "pw-smart-crm-communications", never, {}, {}, never, never, false, never>;
62
- }
@@ -1,21 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
4
- import { AppBaseComponent } from '@posiwise/app-base-component';
5
- import * as i0 from "@angular/core";
6
- export declare class SmartCrmCommunicationViewDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
7
- private crmService;
8
- id: number;
9
- isLoaded: boolean;
10
- communicationDetails: CrmNewsLetter;
11
- subscriptionId: number;
12
- constructor(injector: Injector, crmService: CrmService);
13
- ngOnInit(): void;
14
- /**subscriptionId */
15
- getSubscription(): void;
16
- /** Function to get edit communication details */
17
- private getCommunicationDetails;
18
- ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationViewDetailsComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationViewDetailsComponent, "pw-smart-crm-communication-view-details", never, {}, {}, never, never, false, never>;
21
- }
@@ -1,8 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import * as i0 from "@angular/core";
4
- export declare class SmartCrmMarketingViewComponent extends AppBaseComponent {
5
- constructor(injector: Injector);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingViewComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingViewComponent, "pw-smart-crm-marketing-view", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,63 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
3
- import { CrmService } from '@posiwise/smart-crm-shared';
4
- import { CrmOpportunity } from '../../../../shared/interface/crm-opportunity.interface';
5
- import { CrmStage } from '../../../../shared/interface/crm-stages.interface';
6
- import { AppBaseComponent } from '@posiwise/app-base-component';
7
- import { Subscription } from '@posiwise/common-utilities';
8
- import * as i0 from "@angular/core";
9
- export declare class SmartCrmBoardComponent extends AppBaseComponent implements OnInit, OnDestroy {
10
- private crmService;
11
- private draggedOpportunity;
12
- stages: CrmStage[];
13
- allOpportunities: CrmOpportunity[];
14
- opportunitiesGroup: any[];
15
- private changedStage;
16
- isLoaded: boolean;
17
- categories: any[];
18
- private availableOpportunities;
19
- subscription: Subscription;
20
- totalCount: number;
21
- routers: {
22
- accounts: string;
23
- contacts: string;
24
- accountInfo: string;
25
- addAccount: string;
26
- contactInfo: string;
27
- contactAdd: string;
28
- contactDetails: string;
29
- opportunityAdd: string;
30
- opportunities: string;
31
- opportunityInfo: string;
32
- configurationDetails: string;
33
- configurations: string;
34
- leadsDetails: string;
35
- marketingDetails: string;
36
- marketing: string;
37
- categoryDetails: string;
38
- sourceDetails: string;
39
- stageDetails: string;
40
- widgetsDetails: string;
41
- };
42
- masterStages: CrmStage[];
43
- selectedCategoryId: number;
44
- private pageSize;
45
- constructor(crmService: CrmService, injector: Injector);
46
- ngOnInit(): void;
47
- private getAllOpportunityCategories;
48
- private getStages;
49
- private getAllOpportunities;
50
- private treefy;
51
- private flatten;
52
- private opportunitiesGroups;
53
- onChangeCategory(event: any): void;
54
- onColumnScroll(columnIndex: number): void;
55
- dropItem(event: CdkDragDrop<object[]>): void;
56
- getConnectedList(): string[];
57
- dropGroup(event: CdkDragDrop<string[]>): void;
58
- toggleColumn(event: any, group: any): void;
59
- hasOpportunities(): boolean;
60
- ngOnDestroy(): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmBoardComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmBoardComponent, "pw-smart-crm-board", never, {}, {}, never, never, false, never>;
63
- }
@@ -1,67 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { CrmService } from '@posiwise/smart-crm-shared';
4
- import { User } from '@posiwise/common-utilities';
5
- import { AppBaseComponent } from '@posiwise/app-base-component';
6
- import { CrmopportunityContact } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
7
- import { CrmAccount } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
8
- import * as i0 from "@angular/core";
9
- export declare class SmartCrmOpportunitiesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
10
- private crmService;
11
- form: UntypedFormGroup;
12
- user: User;
13
- id: number;
14
- onEdit: boolean;
15
- data: any;
16
- submitted: boolean;
17
- buttonBusy: boolean;
18
- isLoading: boolean;
19
- searchText: string;
20
- subscriptionId: number;
21
- allContacts: CrmopportunityContact[];
22
- contactId: number;
23
- private opportunityData;
24
- filteredUsers: CrmopportunityContact[];
25
- cancelledTrue: boolean;
26
- winChance: number[];
27
- opportunities: any[];
28
- WonField: boolean;
29
- LostField: boolean;
30
- isContactChange: boolean;
31
- TrialStartField: boolean;
32
- accounts: any[];
33
- filteredAccounts: CrmAccount[];
34
- account_id: number;
35
- masterStages: any[];
36
- stages: any[];
37
- categories: any[];
38
- accountValueCount: number;
39
- currentAccountId: any;
40
- featureKeys: any[];
41
- /** Function to get form controls */
42
- get f(): {
43
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
44
- };
45
- constructor(injector: Injector, crmService: CrmService);
46
- ngOnInit(): void;
47
- private getAvailableOpportunityStages;
48
- private getUserInfo;
49
- /** Function to call accounts */
50
- private getAllAccounts;
51
- /** Function to call contacts */
52
- private getAccountContacts;
53
- /** Function to get opportunities data */
54
- private getOpportunityDetails;
55
- /** Function to execute on submit opportunities form */
56
- onSave(): void;
57
- /** Function to get all categories */
58
- private getAllOpportunityCategories;
59
- private getValues;
60
- search(event: any): void;
61
- searchAccount(event: any): void;
62
- onCategoryChange(event: any): void;
63
- private toggleStageField;
64
- ngOnDestroy(): void;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesDetailsComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesDetailsComponent, "pw-smart-crm-opportunities-details", never, {}, {}, never, never, false, never>;
67
- }
@@ -1,122 +0,0 @@
1
- import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
4
- import { CrmService } from '@posiwise/smart-crm-shared';
5
- import { UploadFile, UploadInput, UploadOutput, UploaderOptions } from 'ngx-uploader';
6
- import { CrmAccount } from '../../../../../shared/interface/crm-account.interface';
7
- import { CrmAction } from '../../../../../shared/interface/crm-action.interface';
8
- import { CrmVersion } from '../../../../../shared/interface/crm-opportunity.interface';
9
- import { AppBaseComponent } from '@posiwise/app-base-component';
10
- import { Subscription } from '@posiwise/common-utilities';
11
- import { AuthService } from '@posiwise/common-services';
12
- import { OpportunityComment, OpportunityContact, OpportunityData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
13
- import * as i0 from "@angular/core";
14
- export declare class SmartCrmOpportunitiesInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
15
- private crmService;
16
- private modalService;
17
- private authService;
18
- private document;
19
- isLoaded: boolean;
20
- isFormEdit: boolean;
21
- opportunitiesId: number;
22
- data: OpportunityData;
23
- aboutControls: UntypedFormGroup;
24
- submitted: boolean;
25
- buttonBusy: boolean;
26
- accounts: CrmAccount[];
27
- filteredAccounts: CrmAccount[];
28
- subscriptionId: number;
29
- actions: CrmAction[];
30
- buttonDisable: boolean;
31
- hasAccess: boolean;
32
- options: UploaderOptions;
33
- uploadInput: EventEmitter<UploadInput>;
34
- files: UploadFile[];
35
- token: string;
36
- dragOver: boolean;
37
- contactId: number;
38
- accountId: number;
39
- userId: number;
40
- actionControls: UntypedFormGroup;
41
- isDisabled: boolean;
42
- updating: boolean;
43
- actionId: number;
44
- showFullComment: boolean;
45
- commentId: number;
46
- opportunitiesComments: OpportunityComment[];
47
- dangerColor: boolean;
48
- allContacts: OpportunityContact[];
49
- filteredContacts: OpportunityContact[];
50
- opportunitiesVersioning: CrmVersion[];
51
- submitAction: boolean;
52
- subscription: Subscription;
53
- routers: {
54
- accounts: string;
55
- contacts: string;
56
- accountInfo: string;
57
- addAccount: string;
58
- contactInfo: string;
59
- contactAdd: string;
60
- contactDetails: string;
61
- opportunityAdd: string;
62
- opportunities: string;
63
- opportunityInfo: string;
64
- configurationDetails: string;
65
- configurations: string;
66
- leadsDetails: string;
67
- marketingDetails: string;
68
- marketing: string;
69
- categoryDetails: string;
70
- sourceDetails: string;
71
- stageDetails: string;
72
- widgetsDetails: string;
73
- };
74
- constructor(injector: Injector, crmService: CrmService, modalService: NgbModal, authService: AuthService, document: Document);
75
- ngOnInit(): void;
76
- /** Function to call user info */
77
- private userInfo;
78
- /** Function to get opportunities details */
79
- getOpportunityDetails(): void;
80
- /** Function to update opportunities */
81
- updateOpportunities(): void;
82
- /** Function to save comment */
83
- onCommentSave(): void;
84
- showDatePicker(event: any, id: any): void;
85
- onDateSelected(): void;
86
- /** Function to get all comments */
87
- private getOpportunitiesComments;
88
- get f(): {
89
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
90
- };
91
- get actionFormControls(): {
92
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
93
- };
94
- /** Function to get the list of accounts by subscriptionId */
95
- getAccountsBySubscription(): void;
96
- /** Function to get and show all the actions */
97
- private getActions;
98
- showEditControls(event: any): void;
99
- /** Function to update the date */
100
- onDateSelect(event: any, action: any): void;
101
- /** Function to show DatePicker */
102
- showDatePickerUpdate(actionId: any): void;
103
- /** Function to set the action as completed */
104
- setAsCompletedOrUncompleted(id: any, action: any, completedOrUncompleted: any): Promise<void>;
105
- /** Function to update comment */
106
- updateComment(item: any): void;
107
- /** Function to set the action as cancelled */
108
- setAsCancelled(id: any, action: any): Promise<void>;
109
- /** Function to call contacts */
110
- getAllContacts(): void;
111
- /** search accounts */
112
- accountSearch(event: any): void;
113
- onContactSearch(event: any): void;
114
- openModal(content: any): void;
115
- onClose(): void;
116
- /** Function to get opportunities versions */
117
- private getContactVersion;
118
- onUploadOutput(output: UploadOutput): void;
119
- ngOnDestroy(): void;
120
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInfoComponent, never>;
121
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesInfoComponent, "pw-smart-crm-opportunities-info", never, {}, {}, never, never, false, never>;
122
- }
@@ -1,77 +0,0 @@
1
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { LazyLoadEvent } from 'primeng/api';
4
- import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
5
- import { AppBaseComponent } from '@posiwise/app-base-component';
6
- import { Plotly, Subscription, User } from '@posiwise/common-utilities';
7
- import { ProductService } from '@posiwise/common-services';
8
- import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class SmartCrmOpportunitiesListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
11
- private crmService;
12
- private cdr;
13
- private productService;
14
- subscription: Subscription;
15
- subscriptionId: number;
16
- hasAccess: boolean;
17
- searchText: string;
18
- data: CrmOpportunityResponse;
19
- id: string;
20
- isLoaded: boolean;
21
- loading: boolean;
22
- opportunitiesInsight: OpportunityInsight[];
23
- opportunitiesGeography: Plotly.Figure;
24
- user: User;
25
- userId: number;
26
- searchStages: object[];
27
- filterByStages: string[];
28
- filterByCategories: any[];
29
- searchCategories: object[];
30
- page: number;
31
- stages: any[];
32
- categories: any[];
33
- routers: {
34
- accounts: string;
35
- contacts: string;
36
- accountInfo: string;
37
- addAccount: string;
38
- contactInfo: string;
39
- contactAdd: string;
40
- contactDetails: string;
41
- opportunityAdd: string;
42
- opportunities: string;
43
- opportunityInfo: string;
44
- configurationDetails: string;
45
- configurations: string;
46
- leadsDetails: string;
47
- marketingDetails: string;
48
- marketing: string;
49
- categoryDetails: string;
50
- sourceDetails: string;
51
- stageDetails: string;
52
- widgetsDetails: string;
53
- };
54
- constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
55
- ngOnInit(): void;
56
- ngAfterViewChecked(): void;
57
- onLazyLoad(event: LazyLoadEvent): void;
58
- /** Function to get user details */
59
- private getUserInfo;
60
- private getAllStages;
61
- onSearchOptionChange(event: any, filterBy: string): void;
62
- clearFilters(): void;
63
- private getAllOpportunities;
64
- onDelete(id: number): void;
65
- /** Function to get available opportunities */
66
- private getAvailableOpportunityStages;
67
- /** Function to get all categories */
68
- private getAllOpportunityCategories;
69
- /** Function to call opportunities insight */
70
- private getOpportunitiesInsight;
71
- /** Function to call contact geography */
72
- private getContactGeography;
73
- checkPermission(permission: string): boolean;
74
- ngOnDestroy(): void;
75
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesListComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesListComponent, "pw-smart-crm-opportunities-list", never, {}, {}, never, never, false, never>;
77
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SmartCrmOpportunitiesComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesComponent, "pw-smart-crm-opportunities", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,72 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { Subscription } from '@posiwise/common-utilities';
5
- import * as i0 from "@angular/core";
6
- export declare class SmartCrmSummaryActionsComponent extends AppBaseComponent implements OnInit, OnDestroy {
7
- private crmService;
8
- private document;
9
- contactActions: any[];
10
- isLoaded: boolean;
11
- contactId: number;
12
- p: number;
13
- p1: number;
14
- accountActionSuggested: any[];
15
- updating: boolean;
16
- actionId: number;
17
- dangerColor: boolean;
18
- isLoadedSuggested: boolean;
19
- userId: number;
20
- showFullComment: boolean;
21
- commentId: number;
22
- allSubscriptionMembers: string[];
23
- contactActionsAll: any[];
24
- showFilter: boolean;
25
- subscription: Subscription;
26
- selector: string;
27
- private totalPendingActions;
28
- currentPage: number;
29
- routers: {
30
- accounts: string;
31
- contacts: string;
32
- accountInfo: string;
33
- addAccount: string;
34
- contactInfo: string;
35
- contactAdd: string;
36
- contactDetails: string;
37
- opportunityAdd: string;
38
- opportunities: string;
39
- opportunityInfo: string;
40
- configurationDetails: string;
41
- configurations: string;
42
- leadsDetails: string;
43
- marketingDetails: string;
44
- marketing: string;
45
- categoryDetails: string;
46
- sourceDetails: string;
47
- stageDetails: string;
48
- widgetsDetails: string;
49
- };
50
- constructor(crmService: CrmService, injector: Injector, document: Document);
51
- ngOnInit(): void;
52
- onScrollPendingActions(): void;
53
- /** Function to get all actions */
54
- private getAccountActions;
55
- /** Function to get account action suggested */
56
- private getAccountActionSuggested;
57
- editComment(event: any): void;
58
- updateComment(action: any): void;
59
- /** Function to set the action as completed */
60
- setAsCompleted(id: number, action: any, index: number): Promise<void>;
61
- /** Function to set the action as cancelled */
62
- setAsCancelled(id: number, action: any, index: number): Promise<void>;
63
- /** Function to show DatePicker */
64
- showDatePicker(actionId: number): void;
65
- /** Function to update the date */
66
- onDateSelect(event: any, action: any): void;
67
- /** Function to filter the data by user */
68
- filterByUser(event: any): void;
69
- ngOnDestroy(): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSummaryActionsComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSummaryActionsComponent, "pw-smart-crm-summary-actions", never, {}, {}, never, never, false, never>;
72
- }
@@ -1,40 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CrmService } from '@posiwise/smart-crm-shared';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { Subscription, User, activeOpportunities, signedUpLastThirtyDays } from '@posiwise/common-utilities';
5
- import * as i0 from "@angular/core";
6
- export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent implements OnInit, OnDestroy {
7
- private crmService;
8
- signedUpLastThirtyDays: signedUpLastThirtyDays[];
9
- activeOpportunities: activeOpportunities[];
10
- accountAtRisk: [];
11
- ContractRenewal: [];
12
- creditCardExpiring: [];
13
- magicMoment: [];
14
- user: User;
15
- signUpLastThirtyDaysLoaded: boolean;
16
- activeOpportunitiesLoaded: boolean;
17
- accountAtRiskDetailsLoaded: boolean;
18
- contactRenewalLoaded: boolean;
19
- creditCardExpiringDetailsLoaded: boolean;
20
- magicMomentLoaded: boolean;
21
- subscription: Subscription;
22
- constructor(crmService: CrmService, injector: Injector);
23
- ngOnInit(): void;
24
- private getUserInfo;
25
- /** Function to call signed up last 30 days details */
26
- private getSignedUpLastThirtyDays;
27
- /** Function to call Active Opportunities details */
28
- private getActiveOpportunities;
29
- /** Function to call Account At Risk details */
30
- private getAccountAtRiskDetails;
31
- /** Function to call Contract renewal details */
32
- private getContactRenewal;
33
- /** Function to call Credit Card Expiring details */
34
- private getCreditCardExpiringDetails;
35
- /** Function to call magic moment */
36
- private getMagicMoment;
37
- ngOnDestroy(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSummaryOthersComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSummaryOthersComponent, "pw-smart-crm-summary-others", never, {}, {}, never, never, false, never>;
40
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SmartCrmSummaryComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSummaryComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSummaryComponent, "pw-smart-crm-summary", never, {}, {}, never, never, false, never>;
5
- }