@sneat/contactus-shared 0.2.0

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 (320) hide show
  1. package/esm2022/index.js +4 -0
  2. package/esm2022/index.js.map +1 -0
  3. package/esm2022/lib/components/address-form/address-form.component.js +182 -0
  4. package/esm2022/lib/components/address-form/address-form.component.js.map +1 -0
  5. package/esm2022/lib/components/address-form/index.js +2 -0
  6. package/esm2022/lib/components/address-form/index.js.map +1 -0
  7. package/esm2022/lib/components/basic-contact-form/basic-contact-form.component.js +71 -0
  8. package/esm2022/lib/components/basic-contact-form/basic-contact-form.component.js.map +1 -0
  9. package/esm2022/lib/components/basic-contact-form/index.js +2 -0
  10. package/esm2022/lib/components/basic-contact-form/index.js.map +1 -0
  11. package/esm2022/lib/components/contact-comm-channels/comm-channel-form.component.js +90 -0
  12. package/esm2022/lib/components/contact-comm-channels/comm-channel-form.component.js.map +1 -0
  13. package/esm2022/lib/components/contact-comm-channels/comm-channel-item.component.js +128 -0
  14. package/esm2022/lib/components/contact-comm-channels/comm-channel-item.component.js.map +1 -0
  15. package/esm2022/lib/components/contact-comm-channels/comm-channels-list.component.js +30 -0
  16. package/esm2022/lib/components/contact-comm-channels/comm-channels-list.component.js.map +1 -0
  17. package/esm2022/lib/components/contact-comm-channels/contact-comm-channels.component.js +16 -0
  18. package/esm2022/lib/components/contact-comm-channels/contact-comm-channels.component.js.map +1 -0
  19. package/esm2022/lib/components/contact-comm-channels/contact-emails.component.js +30 -0
  20. package/esm2022/lib/components/contact-comm-channels/contact-emails.component.js.map +1 -0
  21. package/esm2022/lib/components/contact-comm-channels/contact-phones.component.js +30 -0
  22. package/esm2022/lib/components/contact-comm-channels/contact-phones.component.js.map +1 -0
  23. package/esm2022/lib/components/contact-comm-channels/index.js +2 -0
  24. package/esm2022/lib/components/contact-comm-channels/index.js.map +1 -0
  25. package/esm2022/lib/components/contact-details/contact-details.component.js +235 -0
  26. package/esm2022/lib/components/contact-details/contact-details.component.js.map +1 -0
  27. package/esm2022/lib/components/contact-details/index.js +2 -0
  28. package/esm2022/lib/components/contact-details/index.js.map +1 -0
  29. package/esm2022/lib/components/contact-details/related-contacts.component.js +116 -0
  30. package/esm2022/lib/components/contact-details/related-contacts.component.js.map +1 -0
  31. package/esm2022/lib/components/contact-dob/contact-dob.component.js +57 -0
  32. package/esm2022/lib/components/contact-dob/contact-dob.component.js.map +1 -0
  33. package/esm2022/lib/components/contact-dob/index.js +2 -0
  34. package/esm2022/lib/components/contact-dob/index.js.map +1 -0
  35. package/esm2022/lib/components/contact-events.js +2 -0
  36. package/esm2022/lib/components/contact-events.js.map +1 -0
  37. package/esm2022/lib/components/contact-forms/contact-form-base.component.js +30 -0
  38. package/esm2022/lib/components/contact-forms/contact-form-base.component.js.map +1 -0
  39. package/esm2022/lib/components/contact-forms/emails-form/emails-form.component.js +76 -0
  40. package/esm2022/lib/components/contact-forms/emails-form/emails-form.component.js.map +1 -0
  41. package/esm2022/lib/components/contact-forms/emails-form/index.js +2 -0
  42. package/esm2022/lib/components/contact-forms/emails-form/index.js.map +1 -0
  43. package/esm2022/lib/components/contact-forms/index.js +11 -0
  44. package/esm2022/lib/components/contact-forms/index.js.map +1 -0
  45. package/esm2022/lib/components/contact-forms/location-form/index.js +2 -0
  46. package/esm2022/lib/components/contact-forms/location-form/index.js.map +1 -0
  47. package/esm2022/lib/components/contact-forms/location-form/location-form.component.js +194 -0
  48. package/esm2022/lib/components/contact-forms/location-form/location-form.component.js.map +1 -0
  49. package/esm2022/lib/components/contact-forms/new-contact/index.js +5 -0
  50. package/esm2022/lib/components/contact-forms/new-contact/index.js.map +1 -0
  51. package/esm2022/lib/components/contact-forms/new-contact/new-company-form.component.js +115 -0
  52. package/esm2022/lib/components/contact-forms/new-contact/new-company-form.component.js.map +1 -0
  53. package/esm2022/lib/components/contact-forms/new-contact/new-contact-form-base.component.js +34 -0
  54. package/esm2022/lib/components/contact-forms/new-contact/new-contact-form-base.component.js.map +1 -0
  55. package/esm2022/lib/components/contact-forms/new-contact/new-contact-form.component.js +82 -0
  56. package/esm2022/lib/components/contact-forms/new-contact/new-contact-form.component.js.map +1 -0
  57. package/esm2022/lib/components/contact-forms/new-contact/new-person-form.component.js +282 -0
  58. package/esm2022/lib/components/contact-forms/new-contact/new-person-form.component.js.map +1 -0
  59. package/esm2022/lib/components/contact-forms/new-contact/new-pet-form.component.js +25 -0
  60. package/esm2022/lib/components/contact-forms/new-contact/new-pet-form.component.js.map +1 -0
  61. package/esm2022/lib/components/contact-forms/person-forms/age-group/age-group-form.component.js +64 -0
  62. package/esm2022/lib/components/contact-forms/person-forms/age-group/age-group-form.component.js.map +1 -0
  63. package/esm2022/lib/components/contact-forms/person-forms/age-group/index.js +2 -0
  64. package/esm2022/lib/components/contact-forms/person-forms/age-group/index.js.map +1 -0
  65. package/esm2022/lib/components/contact-forms/person-forms/gender-form/gender-form.component.js +118 -0
  66. package/esm2022/lib/components/contact-forms/person-forms/gender-form/gender-form.component.js.map +1 -0
  67. package/esm2022/lib/components/contact-forms/person-forms/gender-form/index.js +2 -0
  68. package/esm2022/lib/components/contact-forms/person-forms/gender-form/index.js.map +1 -0
  69. package/esm2022/lib/components/contact-forms/person-forms/names-form/index.js +2 -0
  70. package/esm2022/lib/components/contact-forms/person-forms/names-form/index.js.map +1 -0
  71. package/esm2022/lib/components/contact-forms/person-forms/names-form/names-form.component.js +296 -0
  72. package/esm2022/lib/components/contact-forms/person-forms/names-form/names-form.component.js.map +1 -0
  73. package/esm2022/lib/components/contact-forms/pesson-wizard/index.js +2 -0
  74. package/esm2022/lib/components/contact-forms/pesson-wizard/index.js.map +1 -0
  75. package/esm2022/lib/components/contact-forms/pesson-wizard/person-wizard.component.js +369 -0
  76. package/esm2022/lib/components/contact-forms/pesson-wizard/person-wizard.component.js.map +1 -0
  77. package/esm2022/lib/components/contact-forms/pet-kind-and-breed-form/index.js +2 -0
  78. package/esm2022/lib/components/contact-forms/pet-kind-and-breed-form/index.js.map +1 -0
  79. package/esm2022/lib/components/contact-forms/pet-kind-and-breed-form/pet-kind-and-breed-form.component.js +66 -0
  80. package/esm2022/lib/components/contact-forms/pet-kind-and-breed-form/pet-kind-and-breed-form.component.js.map +1 -0
  81. package/esm2022/lib/components/contact-forms/phones-form/index.js +2 -0
  82. package/esm2022/lib/components/contact-forms/phones-form/index.js.map +1 -0
  83. package/esm2022/lib/components/contact-forms/phones-form/phones-form.component.js +79 -0
  84. package/esm2022/lib/components/contact-forms/phones-form/phones-form.component.js.map +1 -0
  85. package/esm2022/lib/components/contact-forms/relationship-form/contact-relationship-form.component.js +125 -0
  86. package/esm2022/lib/components/contact-forms/relationship-form/contact-relationship-form.component.js.map +1 -0
  87. package/esm2022/lib/components/contact-forms/relationship-form/index.js +2 -0
  88. package/esm2022/lib/components/contact-forms/relationship-form/index.js.map +1 -0
  89. package/esm2022/lib/components/contact-forms/relationship-form/relationship-form.component.js +136 -0
  90. package/esm2022/lib/components/contact-forms/relationship-form/relationship-form.component.js.map +1 -0
  91. package/esm2022/lib/components/contact-forms/role-form/contact-role-form.component.js +98 -0
  92. package/esm2022/lib/components/contact-forms/role-form/contact-role-form.component.js.map +1 -0
  93. package/esm2022/lib/components/contact-forms/role-form/index.js +2 -0
  94. package/esm2022/lib/components/contact-forms/role-form/index.js.map +1 -0
  95. package/esm2022/lib/components/contact-forms/roles-form/index.js +2 -0
  96. package/esm2022/lib/components/contact-forms/roles-form/index.js.map +1 -0
  97. package/esm2022/lib/components/contact-forms/roles-form/roles-form.component.js +59 -0
  98. package/esm2022/lib/components/contact-forms/roles-form/roles-form.component.js.map +1 -0
  99. package/esm2022/lib/components/contact-forms/space-related-form.component.js +32 -0
  100. package/esm2022/lib/components/contact-forms/space-related-form.component.js.map +1 -0
  101. package/esm2022/lib/components/contact-input/contact-input.component.js +151 -0
  102. package/esm2022/lib/components/contact-input/contact-input.component.js.map +1 -0
  103. package/esm2022/lib/components/contact-input/index.js +2 -0
  104. package/esm2022/lib/components/contact-input/index.js.map +1 -0
  105. package/esm2022/lib/components/contact-locations/contact-locations.component.js +52 -0
  106. package/esm2022/lib/components/contact-locations/contact-locations.component.js.map +1 -0
  107. package/esm2022/lib/components/contact-locations/index.js +2 -0
  108. package/esm2022/lib/components/contact-locations/index.js.map +1 -0
  109. package/esm2022/lib/components/contact-modules-menu/contact-modules-menu.component.js +29 -0
  110. package/esm2022/lib/components/contact-modules-menu/contact-modules-menu.component.js.map +1 -0
  111. package/esm2022/lib/components/contact-modules-menu/index.js +2 -0
  112. package/esm2022/lib/components/contact-modules-menu/index.js.map +1 -0
  113. package/esm2022/lib/components/contact-role-badges/contact-role-badges.component.js +44 -0
  114. package/esm2022/lib/components/contact-role-badges/contact-role-badges.component.js.map +1 -0
  115. package/esm2022/lib/components/contact-roles-input/contact-roles-input.component.js +37 -0
  116. package/esm2022/lib/components/contact-roles-input/contact-roles-input.component.js.map +1 -0
  117. package/esm2022/lib/components/contact-roles-input/index.js +2 -0
  118. package/esm2022/lib/components/contact-roles-input/index.js.map +1 -0
  119. package/esm2022/lib/components/contacts-by-type/contacts-by-type.component.js +200 -0
  120. package/esm2022/lib/components/contacts-by-type/contacts-by-type.component.js.map +1 -0
  121. package/esm2022/lib/components/contacts-by-type/index.js +2 -0
  122. package/esm2022/lib/components/contacts-by-type/index.js.map +1 -0
  123. package/esm2022/lib/components/contacts-checklist/contacts-checklist-item.component.js +32 -0
  124. package/esm2022/lib/components/contacts-checklist/contacts-checklist-item.component.js.map +1 -0
  125. package/esm2022/lib/components/contacts-checklist/contacts-checklist.component.js +140 -0
  126. package/esm2022/lib/components/contacts-checklist/contacts-checklist.component.js.map +1 -0
  127. package/esm2022/lib/components/contacts-checklist/index.js +2 -0
  128. package/esm2022/lib/components/contacts-checklist/index.js.map +1 -0
  129. package/esm2022/lib/components/contacts-component/contacts.component.js +200 -0
  130. package/esm2022/lib/components/contacts-component/contacts.component.js.map +1 -0
  131. package/esm2022/lib/components/contacts-component.commands.js +2 -0
  132. package/esm2022/lib/components/contacts-component.commands.js.map +1 -0
  133. package/esm2022/lib/components/contacts-list/contacts-list.component.js +32 -0
  134. package/esm2022/lib/components/contacts-list/contacts-list.component.js.map +1 -0
  135. package/esm2022/lib/components/contacts-list/index.js +3 -0
  136. package/esm2022/lib/components/contacts-list/index.js.map +1 -0
  137. package/esm2022/lib/components/contacts-list-item/contacts-list-item.component.js +138 -0
  138. package/esm2022/lib/components/contacts-list-item/contacts-list-item.component.js.map +1 -0
  139. package/esm2022/lib/components/contacts-list-item/related-as.component.js +34 -0
  140. package/esm2022/lib/components/contacts-list-item/related-as.component.js.map +1 -0
  141. package/esm2022/lib/components/contacts-selector/contacts-selector-input.component.js +91 -0
  142. package/esm2022/lib/components/contacts-selector/contacts-selector-input.component.js.map +1 -0
  143. package/esm2022/lib/components/contacts-selector/contacts-selector.component.js +415 -0
  144. package/esm2022/lib/components/contacts-selector/contacts-selector.component.js.map +1 -0
  145. package/esm2022/lib/components/contacts-selector/contacts-selector.interfaces.js +2 -0
  146. package/esm2022/lib/components/contacts-selector/contacts-selector.interfaces.js.map +1 -0
  147. package/esm2022/lib/components/contacts-selector/contacts-selector.module.js +28 -0
  148. package/esm2022/lib/components/contacts-selector/contacts-selector.module.js.map +1 -0
  149. package/esm2022/lib/components/contacts-selector/contacts-selector.service.js +18 -0
  150. package/esm2022/lib/components/contacts-selector/contacts-selector.service.js.map +1 -0
  151. package/esm2022/lib/components/contacts-selector/lib-exports.js +6 -0
  152. package/esm2022/lib/components/contacts-selector/lib-exports.js.map +1 -0
  153. package/esm2022/lib/components/contactus-module.base.component.js +4 -0
  154. package/esm2022/lib/components/contactus-module.base.component.js.map +1 -0
  155. package/esm2022/lib/components/inlist-options/inlist-age-group.component.js +53 -0
  156. package/esm2022/lib/components/inlist-options/inlist-age-group.component.js.map +1 -0
  157. package/esm2022/lib/components/inlist-options/inlist-options.component.js +27 -0
  158. package/esm2022/lib/components/inlist-options/inlist-options.component.js.map +1 -0
  159. package/esm2022/lib/components/invite-links/invite-links.component.js +87 -0
  160. package/esm2022/lib/components/invite-links/invite-links.component.js.map +1 -0
  161. package/esm2022/lib/components/lib-exports.js +29 -0
  162. package/esm2022/lib/components/lib-exports.js.map +1 -0
  163. package/esm2022/lib/components/members-as-badges/contacts-as-badges.component.js +39 -0
  164. package/esm2022/lib/components/members-as-badges/contacts-as-badges.component.js.map +1 -0
  165. package/esm2022/lib/components/members-as-badges/index.js +2 -0
  166. package/esm2022/lib/components/members-as-badges/index.js.map +1 -0
  167. package/esm2022/lib/components/members-by-role/family-members.component.js +180 -0
  168. package/esm2022/lib/components/members-by-role/family-members.component.js.map +1 -0
  169. package/esm2022/lib/components/members-by-role/index.js +4 -0
  170. package/esm2022/lib/components/members-by-role/index.js.map +1 -0
  171. package/esm2022/lib/components/members-by-role/member-group.js +2 -0
  172. package/esm2022/lib/components/members-by-role/member-group.js.map +1 -0
  173. package/esm2022/lib/components/members-by-role/members-by-role.component.js +34 -0
  174. package/esm2022/lib/components/members-by-role/members-by-role.component.js.map +1 -0
  175. package/esm2022/lib/components/members-card-header/members-card-header.component.js +33 -0
  176. package/esm2022/lib/components/members-card-header/members-card-header.component.js.map +1 -0
  177. package/esm2022/lib/components/members-list/index.js +2 -0
  178. package/esm2022/lib/components/members-list/index.js.map +1 -0
  179. package/esm2022/lib/components/members-list/members-list.component.js +164 -0
  180. package/esm2022/lib/components/members-list/members-list.component.js.map +1 -0
  181. package/esm2022/lib/components/members-short-list-card/members-short-list-card.component.js +60 -0
  182. package/esm2022/lib/components/members-short-list-card/members-short-list-card.component.js.map +1 -0
  183. package/esm2022/lib/components/shared-with/index.js +2 -0
  184. package/esm2022/lib/components/shared-with/index.js.map +1 -0
  185. package/esm2022/lib/components/shared-with/shared-with.component.js +25 -0
  186. package/esm2022/lib/components/shared-with/shared-with.component.js.map +1 -0
  187. package/esm2022/lib/components/with-new-contact-input.js +18 -0
  188. package/esm2022/lib/components/with-new-contact-input.js.map +1 -0
  189. package/esm2022/lib/constants.js +2 -0
  190. package/esm2022/lib/constants.js.map +1 -0
  191. package/esm2022/lib/index.js +3 -0
  192. package/esm2022/lib/index.js.map +1 -0
  193. package/esm2022/lib/modals/contact-names-modal/contact-names-modal.component.js +88 -0
  194. package/esm2022/lib/modals/contact-names-modal/contact-names-modal.component.js.map +1 -0
  195. package/esm2022/lib/modals/invite-modal/index.js +2 -0
  196. package/esm2022/lib/modals/invite-modal/index.js.map +1 -0
  197. package/esm2022/lib/modals/invite-modal/invite-modal.component.js +255 -0
  198. package/esm2022/lib/modals/invite-modal/invite-modal.component.js.map +1 -0
  199. package/esm2022/lib/pipes/contact-title.pipe.js +25 -0
  200. package/esm2022/lib/pipes/contact-title.pipe.js.map +1 -0
  201. package/esm2022/lib/pipes/index.js +4 -0
  202. package/esm2022/lib/pipes/index.js.map +1 -0
  203. package/esm2022/lib/pipes/person-title.pipe.js +21 -0
  204. package/esm2022/lib/pipes/person-title.pipe.js.map +1 -0
  205. package/esm2022/lib/pipes/selected-contacts.pipe.js +22 -0
  206. package/esm2022/lib/pipes/selected-contacts.pipe.js.map +1 -0
  207. package/esm2022/lib/providers/user-space-brief.provider.js +30 -0
  208. package/esm2022/lib/providers/user-space-brief.provider.js.map +1 -0
  209. package/esm2022/lib/ui-types.js +2 -0
  210. package/esm2022/lib/ui-types.js.map +1 -0
  211. package/esm2022/sneat-contactus-shared.js +5 -0
  212. package/esm2022/sneat-contactus-shared.js.map +1 -0
  213. package/index.d.ts +3 -0
  214. package/lib/components/address-form/address-form.component.d.ts +51 -0
  215. package/lib/components/address-form/index.d.ts +1 -0
  216. package/lib/components/basic-contact-form/basic-contact-form.component.d.ts +20 -0
  217. package/lib/components/basic-contact-form/index.d.ts +1 -0
  218. package/lib/components/contact-comm-channels/comm-channel-form.component.d.ts +20 -0
  219. package/lib/components/contact-comm-channels/comm-channel-item.component.d.ts +24 -0
  220. package/lib/components/contact-comm-channels/comm-channels-list.component.d.ts +15 -0
  221. package/lib/components/contact-comm-channels/contact-comm-channels.component.d.ts +7 -0
  222. package/lib/components/contact-comm-channels/contact-emails.component.d.ts +9 -0
  223. package/lib/components/contact-comm-channels/contact-phones.component.d.ts +9 -0
  224. package/lib/components/contact-comm-channels/index.d.ts +1 -0
  225. package/lib/components/contact-details/contact-details.component.d.ts +32 -0
  226. package/lib/components/contact-details/index.d.ts +1 -0
  227. package/lib/components/contact-details/related-contacts.component.d.ts +24 -0
  228. package/lib/components/contact-dob/contact-dob.component.d.ts +13 -0
  229. package/lib/components/contact-dob/index.d.ts +1 -0
  230. package/lib/components/contact-events.d.ts +6 -0
  231. package/lib/components/contact-forms/contact-form-base.component.d.ts +15 -0
  232. package/lib/components/contact-forms/emails-form/emails-form.component.d.ts +27 -0
  233. package/lib/components/contact-forms/emails-form/index.d.ts +1 -0
  234. package/lib/components/contact-forms/index.d.ts +10 -0
  235. package/lib/components/contact-forms/location-form/index.d.ts +1 -0
  236. package/lib/components/contact-forms/location-form/location-form.component.d.ts +39 -0
  237. package/lib/components/contact-forms/new-contact/index.d.ts +4 -0
  238. package/lib/components/contact-forms/new-contact/new-company-form.component.d.ts +26 -0
  239. package/lib/components/contact-forms/new-contact/new-contact-form-base.component.d.ts +15 -0
  240. package/lib/components/contact-forms/new-contact/new-contact-form.component.d.ts +20 -0
  241. package/lib/components/contact-forms/new-contact/new-person-form.component.d.ts +51 -0
  242. package/lib/components/contact-forms/new-contact/new-pet-form.component.d.ts +8 -0
  243. package/lib/components/contact-forms/person-forms/age-group/age-group-form.component.d.ts +17 -0
  244. package/lib/components/contact-forms/person-forms/age-group/index.d.ts +1 -0
  245. package/lib/components/contact-forms/person-forms/gender-form/gender-form.component.d.ts +22 -0
  246. package/lib/components/contact-forms/person-forms/gender-form/index.d.ts +1 -0
  247. package/lib/components/contact-forms/person-forms/names-form/index.d.ts +1 -0
  248. package/lib/components/contact-forms/person-forms/names-form/names-form.component.d.ts +63 -0
  249. package/lib/components/contact-forms/pesson-wizard/index.d.ts +1 -0
  250. package/lib/components/contact-forms/pesson-wizard/person-wizard.component.d.ts +63 -0
  251. package/lib/components/contact-forms/pet-kind-and-breed-form/index.d.ts +1 -0
  252. package/lib/components/contact-forms/pet-kind-and-breed-form/pet-kind-and-breed-form.component.d.ts +14 -0
  253. package/lib/components/contact-forms/phones-form/index.d.ts +1 -0
  254. package/lib/components/contact-forms/phones-form/phones-form.component.d.ts +21 -0
  255. package/lib/components/contact-forms/relationship-form/contact-relationship-form.component.d.ts +24 -0
  256. package/lib/components/contact-forms/relationship-form/index.d.ts +1 -0
  257. package/lib/components/contact-forms/relationship-form/relationship-form.component.d.ts +34 -0
  258. package/lib/components/contact-forms/role-form/contact-role-form.component.d.ts +33 -0
  259. package/lib/components/contact-forms/role-form/index.d.ts +1 -0
  260. package/lib/components/contact-forms/roles-form/index.d.ts +1 -0
  261. package/lib/components/contact-forms/roles-form/roles-form.component.d.ts +21 -0
  262. package/lib/components/contact-forms/space-related-form.component.d.ts +11 -0
  263. package/lib/components/contact-input/contact-input.component.d.ts +36 -0
  264. package/lib/components/contact-input/index.d.ts +1 -0
  265. package/lib/components/contact-locations/contact-locations.component.d.ts +14 -0
  266. package/lib/components/contact-locations/index.d.ts +1 -0
  267. package/lib/components/contact-modules-menu/contact-modules-menu.component.d.ts +12 -0
  268. package/lib/components/contact-modules-menu/index.d.ts +1 -0
  269. package/lib/components/contact-role-badges/contact-role-badges.component.d.ts +12 -0
  270. package/lib/components/contact-roles-input/contact-roles-input.component.d.ts +18 -0
  271. package/lib/components/contact-roles-input/index.d.ts +1 -0
  272. package/lib/components/contacts-by-type/contacts-by-type.component.d.ts +38 -0
  273. package/lib/components/contacts-by-type/index.d.ts +1 -0
  274. package/lib/components/contacts-checklist/contacts-checklist-item.component.d.ts +21 -0
  275. package/lib/components/contacts-checklist/contacts-checklist.component.d.ts +40 -0
  276. package/lib/components/contacts-checklist/index.d.ts +1 -0
  277. package/lib/components/contacts-component/contacts.component.d.ts +45 -0
  278. package/lib/components/contacts-component.commands.d.ts +5 -0
  279. package/lib/components/contacts-list/contacts-list.component.d.ts +11 -0
  280. package/lib/components/contacts-list/index.d.ts +2 -0
  281. package/lib/components/contacts-list-item/contacts-list-item.component.d.ts +29 -0
  282. package/lib/components/contacts-list-item/related-as.component.d.ts +16 -0
  283. package/lib/components/contacts-selector/contacts-selector-input.component.d.ts +24 -0
  284. package/lib/components/contacts-selector/contacts-selector.component.d.ts +80 -0
  285. package/lib/components/contacts-selector/contacts-selector.interfaces.d.ts +22 -0
  286. package/lib/components/contacts-selector/contacts-selector.module.d.ts +6 -0
  287. package/lib/components/contacts-selector/contacts-selector.service.d.ts +10 -0
  288. package/lib/components/contacts-selector/lib-exports.d.ts +5 -0
  289. package/lib/components/contactus-module.base.component.d.ts +4 -0
  290. package/lib/components/inlist-options/inlist-age-group.component.d.ts +12 -0
  291. package/lib/components/inlist-options/inlist-options.component.d.ts +18 -0
  292. package/lib/components/invite-links/invite-links.component.d.ts +28 -0
  293. package/lib/components/lib-exports.d.ts +27 -0
  294. package/lib/components/members-as-badges/contacts-as-badges.component.d.ts +18 -0
  295. package/lib/components/members-as-badges/index.d.ts +1 -0
  296. package/lib/components/members-by-role/family-members.component.d.ts +21 -0
  297. package/lib/components/members-by-role/index.d.ts +3 -0
  298. package/lib/components/members-by-role/member-group.d.ts +9 -0
  299. package/lib/components/members-by-role/members-by-role.component.d.ts +12 -0
  300. package/lib/components/members-card-header/members-card-header.component.d.ts +13 -0
  301. package/lib/components/members-list/index.d.ts +1 -0
  302. package/lib/components/members-list/members-list.component.d.ts +32 -0
  303. package/lib/components/members-short-list-card/members-short-list-card.component.d.ts +12 -0
  304. package/lib/components/shared-with/index.d.ts +1 -0
  305. package/lib/components/shared-with/shared-with.component.d.ts +6 -0
  306. package/lib/components/with-new-contact-input.d.ts +10 -0
  307. package/lib/constants.d.ts +13 -0
  308. package/lib/index.d.ts +2 -0
  309. package/lib/modals/contact-names-modal/contact-names-modal.component.d.ts +15 -0
  310. package/lib/modals/invite-modal/index.d.ts +1 -0
  311. package/lib/modals/invite-modal/invite-modal.component.d.ts +49 -0
  312. package/lib/pipes/contact-title.pipe.d.ts +10 -0
  313. package/lib/pipes/index.d.ts +3 -0
  314. package/lib/pipes/person-title.pipe.d.ts +9 -0
  315. package/lib/pipes/selected-contacts.pipe.d.ts +8 -0
  316. package/lib/providers/user-space-brief.provider.d.ts +12 -0
  317. package/lib/ui-types.d.ts +9 -0
  318. package/package.json +27 -0
  319. package/sneat-contactus-shared.d.ts +5 -0
  320. package/tsconfig.lib.prod.tsbuildinfo +1 -0
@@ -0,0 +1,26 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { ISelectItem } from '@sneat/ui';
4
+ import { ContactRole, IContactContext, IContactWithOptionalDbo } from '@sneat/contactus-core';
5
+ import { NewContactFormBaseComponent } from './new-contact-form-base.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NewCompanyFormComponent extends NewContactFormBaseComponent implements OnChanges {
8
+ private readonly contactService;
9
+ contactRoles?: ISelectItem[];
10
+ contactRole?: ContactRole;
11
+ hideRole: boolean;
12
+ parentContact?: IContactContext;
13
+ protected readonly Object: ObjectConstructor;
14
+ protected isCreating: boolean;
15
+ protected contact?: IContactWithOptionalDbo;
16
+ protected readonly form: FormGroup<{
17
+ role: FormControl<ContactRole | null | undefined>;
18
+ title: FormControl<string | null>;
19
+ }>;
20
+ ngOnChanges(changes: SimpleChanges): void;
21
+ get formIsValid(): boolean;
22
+ onContactChanged(contact: IContactWithOptionalDbo): void;
23
+ create(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewCompanyFormComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewCompanyFormComponent, "sneat-new-company-form", never, { "contactRoles": { "alias": "contactRoles"; "required": false; }; "contactRole": { "alias": "contactRole"; "required": false; }; "hideRole": { "alias": "hideRole"; "required": false; }; "parentContact": { "alias": "parentContact"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ContactIdAndDboWithSpaceRef, IEmail, IPhone, NewContactBaseDboAndSpaceRef } from '@sneat/contactus-core';
3
+ import { ContactFormBaseComponent } from '../contact-form-base.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class NewContactFormBaseComponent extends ContactFormBaseComponent {
6
+ readonly $contact: import("@angular/core").InputSignal<NewContactBaseDboAndSpaceRef>;
7
+ protected readonly $contactType: import("@angular/core").Signal<import("@sneat/contactus-core").ContactType>;
8
+ protected readonly $emails: import("@angular/core").Signal<IEmail[]>;
9
+ protected readonly $phones: import("@angular/core").Signal<IPhone[]>;
10
+ readonly contactChange: EventEmitter<NewContactBaseDboAndSpaceRef>;
11
+ readonly creatingChange: EventEmitter<boolean>;
12
+ readonly contactCreated: EventEmitter<ContactIdAndDboWithSpaceRef>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewContactFormBaseComponent, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NewContactFormBaseComponent, never, never, { "$contact": { "alias": "$contact"; "required": true; "isSignal": true; }; }, { "contactChange": "contactChange"; "creatingChange": "creatingChange"; "contactCreated": "contactCreated"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { NewContactBaseDboAndSpaceRef } from '@sneat/contactus-core';
3
+ import { Observable } from 'rxjs';
4
+ import { IContactAddEventArgs } from '../../contact-events';
5
+ import { NewContactFormBaseComponent } from './new-contact-form-base.component';
6
+ import { NewContactFormCommand } from './new-person-form.component';
7
+ import * as i0 from "@angular/core";
8
+ type NewContactFormTab = 'person' | 'pet' | 'company' | 'location';
9
+ export declare class NewContactFormComponent extends NewContactFormBaseComponent implements OnInit {
10
+ protected readonly $tab: import("@angular/core").WritableSignal<NewContactFormTab | undefined>;
11
+ command?: Observable<NewContactFormCommand>;
12
+ selectGroupAndRole$?: Observable<IContactAddEventArgs | undefined>;
13
+ private readonly injector;
14
+ ngOnInit(): void;
15
+ protected onTabChange(event: CustomEvent): void;
16
+ protected onContactChanged(contact: NewContactBaseDboAndSpaceRef): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewContactFormComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewContactFormComponent, "sneat-new-contact-form", never, { "command": { "alias": "command"; "required": false; }; "selectGroupAndRole$": { "alias": "selectGroupAndRole$"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
20
+ export {};
@@ -0,0 +1,51 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IContactRoleWithIdAndBrief, ContactToAssetRelation, IContactGroupDbo, IPersonRequirements, ContactRole, IContactRoleWithIdAndOptionalBrief, NewContactBaseDboAndSpaceRef } from '@sneat/contactus-core';
3
+ import { IContactAddEventArgs } from '../../contact-events';
4
+ import { IIdAndDbo, IIdAndOptionalDbo } from '@sneat/core';
5
+ import { IAssetContext } from '@sneat/mod-assetus-core';
6
+ import { Observable } from 'rxjs';
7
+ import { NewContactFormBaseComponent } from './new-contact-form-base.component';
8
+ import * as i0 from "@angular/core";
9
+ export type OptionalContactRoleIdAndBrief = IContactRoleWithIdAndBrief | undefined;
10
+ export type OptionalContactGroupIdAndBrief = IIdAndOptionalDbo<IContactGroupDbo> | undefined;
11
+ export type NewContactFormCommand = 'create' | 'reset';
12
+ export declare class NewPersonFormComponent extends NewContactFormBaseComponent implements OnInit {
13
+ isInModal: boolean;
14
+ command?: Observable<NewContactFormCommand>;
15
+ selectGroupAndRole$?: Observable<IContactAddEventArgs | undefined>;
16
+ readonly $fixedGroupID: import("@angular/core").InputSignal<string | undefined>;
17
+ readonly $fixedRoleID: import("@angular/core").InputSignal<ContactRole | undefined>;
18
+ readonly $assetID: import("@angular/core").InputSignal<string | undefined>;
19
+ private readonly assetID$;
20
+ readonly $asset: import("@angular/core").WritableSignal<IAssetContext | undefined>;
21
+ protected readonly $selectedContactGroup: import("@angular/core").WritableSignal<OptionalContactGroupIdAndBrief>;
22
+ protected readonly $selectedContactGroupID: import("@angular/core").Signal<string | undefined>;
23
+ protected readonly $selectedContactRole: import("@angular/core").WritableSignal<IContactRoleWithIdAndOptionalBrief | undefined>;
24
+ protected readonly $selectedContactRoleID: import("@angular/core").Signal<ContactRole | undefined>;
25
+ readonly $parentContactID: import("@angular/core").InputSignal<string | undefined>;
26
+ private readonly parentContactID$;
27
+ private readonly $parentContact;
28
+ protected readonly personRequires: IPersonRequirements;
29
+ readonly contactRoleChange: EventEmitter<OptionalContactRoleIdAndBrief>;
30
+ readonly contactGroupChange: EventEmitter<OptionalContactGroupIdAndBrief>;
31
+ protected assetRelation?: ContactToAssetRelation;
32
+ protected readonly $personFormIsReadyToSubmit: import("@angular/core").WritableSignal<boolean>;
33
+ protected readonly $creating: import("@angular/core").WritableSignal<boolean>;
34
+ private readonly assetService;
35
+ private readonly contactGroupService;
36
+ private readonly contactService;
37
+ private readonly contactRoleService;
38
+ constructor();
39
+ ngOnInit(): void;
40
+ private readonly onSelectGroupAndRole;
41
+ private readonly onCommand;
42
+ private setupEffects;
43
+ protected onContactGroupChanged(contactGroup?: IIdAndDbo<IContactGroupDbo>): void;
44
+ protected onContactRoleIDChanged(contactRoleID?: string): void;
45
+ onContactChanged(contact: NewContactBaseDboAndSpaceRef): void;
46
+ onPersonFormIsReadyToSubmit(): void;
47
+ protected submit(): void;
48
+ protected readonly $isContactNotReady: import("@angular/core").Signal<boolean>;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewPersonFormComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewPersonFormComponent, "sneat-new-person-form", never, { "isInModal": { "alias": "isInModal"; "required": false; }; "command": { "alias": "command"; "required": false; }; "selectGroupAndRole$": { "alias": "selectGroupAndRole$"; "required": false; }; "$fixedGroupID": { "alias": "$fixedGroupID"; "required": false; "isSignal": true; }; "$fixedRoleID": { "alias": "$fixedRoleID"; "required": false; "isSignal": true; }; "$assetID": { "alias": "$assetID"; "required": false; "isSignal": true; }; "$parentContactID": { "alias": "$parentContactID"; "required": false; "isSignal": true; }; }, { "contactRoleChange": "contactRoleChange"; "contactGroupChange": "contactGroupChange"; }, never, never, true, never>;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { NewContactBaseDboAndSpaceRef } from '@sneat/contactus-core';
2
+ import { NewContactFormBaseComponent } from './new-contact-form-base.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NewPetFormComponent extends NewContactFormBaseComponent {
5
+ protected onContactChanged(contact: NewContactBaseDboAndSpaceRef): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewPetFormComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewPetFormComponent, "sneat-new-pet-form", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AgeGroupID, SpaceType } from '@sneat/core';
3
+ import { ISelectItem } from '@sneat/ui';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AgeGroupFormComponent {
6
+ spaceType?: SpaceType;
7
+ readonly $ageGroup: import("@angular/core").InputSignal<AgeGroupID | undefined>;
8
+ readonly ageGroupChange: EventEmitter<AgeGroupID | undefined>;
9
+ disabled: boolean;
10
+ readonly hidePetOption: import("@angular/core").InputSignal<boolean | undefined>;
11
+ readonly hideUndisclosedOption: import("@angular/core").InputSignal<boolean | undefined>;
12
+ protected $ageGroupLabel: import("@angular/core").Signal<"Adult or child?" | "Adult/child or pet?">;
13
+ protected readonly $ageGroupOptions: import("@angular/core").Signal<readonly ISelectItem[]>;
14
+ protected onAgeGroupChanged(ageGroup: string): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AgeGroupFormComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AgeGroupFormComponent, "sneat-age-group-form", never, { "spaceType": { "alias": "spaceType"; "required": true; }; "$ageGroup": { "alias": "$ageGroup"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "hidePetOption": { "alias": "hidePetOption"; "required": false; "isSignal": true; }; "hideUndisclosedOption": { "alias": "hideUndisclosedOption"; "required": false; "isSignal": true; }; }, { "ageGroupChange": "ageGroupChange"; }, never, never, true, never>;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './age-group-form.component';
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Gender } from '@sneat/core';
3
+ import { ISelectItem, SneatBaseComponent } from '@sneat/ui';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GenderFormComponent extends SneatBaseComponent {
6
+ protected readonly genderOptions: readonly ISelectItem[];
7
+ lastItemLines?: 'none' | 'inset' | 'full';
8
+ hideSkipButton: boolean;
9
+ disabled: boolean;
10
+ readonly $spaceID: import("@angular/core").InputSignal<string>;
11
+ readonly $contactID: import("@angular/core").InputSignal<string | undefined>;
12
+ readonly $genderID: import("@angular/core").InputSignal<Gender | undefined>;
13
+ protected readonly $updatingToGender: import("@angular/core").WritableSignal<Gender | undefined>;
14
+ readonly genderChange: EventEmitter<Gender>;
15
+ private readonly contactService;
16
+ protected skip(): void;
17
+ protected readonly $isChanging: import("@angular/core").WritableSignal<boolean>;
18
+ private onGenderChanged;
19
+ protected onGenderIDChanged(genderID: string): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenderFormComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenderFormComponent, "sneat-gender-form", never, { "lastItemLines": { "alias": "lastItemLines"; "required": false; }; "hideSkipButton": { "alias": "hideSkipButton"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "$spaceID": { "alias": "$spaceID"; "required": true; "isSignal": true; }; "$contactID": { "alias": "$contactID"; "required": true; "isSignal": true; }; "$genderID": { "alias": "$genderID"; "required": true; "isSignal": true; }; }, { "genderChange": "genderChange"; }, never, never, true, never>;
22
+ }
@@ -0,0 +1 @@
1
+ export * from './gender-form.component';
@@ -0,0 +1 @@
1
+ export * from './names-form.component';
@@ -0,0 +1,63 @@
1
+ import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { AbstractControl, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
3
+ import { IonInput } from '@ionic/angular/standalone';
4
+ import { IPersonNames } from '@sneat/auth-models';
5
+ import { IFormField } from '@sneat/core';
6
+ import * as i0 from "@angular/core";
7
+ export interface INamesFormFields {
8
+ readonly firstName?: IFormField;
9
+ readonly middleName?: IFormField;
10
+ readonly lastName?: IFormField;
11
+ readonly nickName?: IFormField;
12
+ readonly fullName?: IFormField;
13
+ }
14
+ export declare class NamesFormComponent implements OnChanges, AfterViewInit {
15
+ showHeader: boolean;
16
+ name?: IPersonNames;
17
+ isActive: boolean;
18
+ disabled: boolean;
19
+ fields?: INamesFormFields;
20
+ showNextButton: boolean;
21
+ firstNameInput?: IonInput;
22
+ lastNameInput?: IonInput;
23
+ middleNameInput?: IonInput;
24
+ fullNameInput?: IonInput;
25
+ nickNameInput?: IonInput;
26
+ readonly keyupEnter: EventEmitter<Event>;
27
+ readonly namesChanged: EventEmitter<IPersonNames>;
28
+ readonly next: EventEmitter<Event>;
29
+ private initialNameChanged;
30
+ private isFullNameChanged;
31
+ private isViewInitiated;
32
+ private inputToFocus?;
33
+ private readonly errorLogger;
34
+ readonly fullName: FormControl<string | null>;
35
+ readonly firstName: FormControl<string | null>;
36
+ readonly middleName: FormControl<string | null>;
37
+ readonly lastName: FormControl<string | null>;
38
+ readonly nickName: FormControl<string | null>;
39
+ readonly isNamesFormValid: (control: AbstractControl) => ValidationErrors | null;
40
+ readonly namesForm: FormGroup<{
41
+ fullName: FormControl<string | null>;
42
+ firstName: FormControl<string | null>;
43
+ lastName: FormControl<string | null>;
44
+ middleName: FormControl<string | null>;
45
+ nickName: FormControl<string | null>;
46
+ }>;
47
+ private setFocusToInput;
48
+ ngOnChanges(changes: SimpleChanges): void;
49
+ private onInputChangeDisabled;
50
+ private onInputChangeName;
51
+ private onInputChangeFields;
52
+ ngAfterViewInit(): void;
53
+ onNameChanged(_event?: Event): void;
54
+ private setName;
55
+ names(): IPersonNames;
56
+ private generateFullName;
57
+ protected onFullNameChanged(_event?: Event): void;
58
+ protected nameKeyupEnter(event: Event): void;
59
+ protected get canGoNext(): boolean;
60
+ protected onNext(event: Event): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<NamesFormComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamesFormComponent, "sneat-names-form", never, { "showHeader": { "alias": "showHeader"; "required": false; }; "name": { "alias": "name"; "required": true; }; "isActive": { "alias": "isActive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; }, { "keyupEnter": "keyupEnter"; "namesChanged": "namesChanged"; "next": "next"; }, never, never, true, never>;
63
+ }
@@ -0,0 +1 @@
1
+ export * from './person-wizard.component';
@@ -0,0 +1,63 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { IPersonNames } from '@sneat/auth-models';
3
+ import { AgeGroupID, Gender } from '@sneat/core';
4
+ import { IFormField } from '@sneat/core';
5
+ import { IEmail, IPersonRequirements, IPhone } from '@sneat/contactus-core';
6
+ import { IRelatedTo, IRelationshipRoles, ISpaceModuleItemRef } from '@sneat/dto';
7
+ import { UserSpaceBriefProvider } from '../../../providers/user-space-brief.provider';
8
+ import { NewContactFormBaseComponent } from '../new-contact/new-contact-form-base.component';
9
+ import { GenderFormComponent } from '../person-forms/gender-form';
10
+ import { INamesFormFields, NamesFormComponent } from '../person-forms/names-form';
11
+ import * as i0 from "@angular/core";
12
+ export interface PersonWizardState {
13
+ readonly contactType?: boolean;
14
+ readonly ageGroup?: boolean;
15
+ readonly name?: boolean;
16
+ readonly nameNext?: boolean;
17
+ readonly gender?: boolean;
18
+ readonly roles?: boolean;
19
+ readonly relatedAs?: boolean;
20
+ readonly communicationChannels?: boolean;
21
+ readonly submitButton?: boolean;
22
+ }
23
+ export type IPersonFormWizardFields = {
24
+ [id in keyof PersonWizardState]: IFormField;
25
+ };
26
+ export declare class PersonWizardComponent extends NewContactFormBaseComponent implements OnInit, OnChanges {
27
+ private readonly userService;
28
+ requires: IPersonRequirements;
29
+ disabled: boolean;
30
+ hideRelationship: boolean;
31
+ hidePetOption: boolean;
32
+ displayAgeGroupValue: boolean;
33
+ nameFields: INamesFormFields;
34
+ readonly $fields: import("@angular/core").InputSignal<Readonly<IPersonFormWizardFields>>;
35
+ isReadyToSubmit: boolean;
36
+ readonly isReadyToSubmitChange: EventEmitter<boolean>;
37
+ show: PersonWizardState;
38
+ readonly $wizardStep: import("@angular/core").WritableSignal<keyof PersonWizardState>;
39
+ tab?: 'emails' | 'phones';
40
+ namesFormComponent?: NamesFormComponent;
41
+ genderFormComponent?: GenderFormComponent;
42
+ protected readonly $relatedToUser: import("@angular/core").Signal<ISpaceModuleItemRef | undefined>;
43
+ protected readonly $relatedTo: import("@angular/core").Signal<IRelatedTo | undefined>;
44
+ protected readonly userSpaceBrief: UserSpaceBriefProvider;
45
+ ngOnInit(): void;
46
+ private readonly formOrder;
47
+ ngOnChanges(changes: SimpleChanges): void;
48
+ private setContactData;
49
+ protected onNameChanged(name: IPersonNames): void;
50
+ protected onContactChanged(): void;
51
+ protected onGenderChanged(gender?: Gender): void;
52
+ private onContactTypeChanged;
53
+ protected onAgeGroupChanged(ageGroup?: AgeGroupID): void;
54
+ protected onEmailsChanged(emails: readonly IEmail[]): void;
55
+ protected onPhoneChanged(phones: readonly IPhone[]): void;
56
+ protected onRelatedAsChanged(rolesToTarget: IRelationshipRoles): void;
57
+ protected nextFromName(event: Event): void;
58
+ private skipStep;
59
+ protected openNext(currentStepID: keyof PersonWizardState): void;
60
+ private stepHasValue;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersonWizardComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<PersonWizardComponent, "sneat-person-wizard", never, { "requires": { "alias": "requires"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideRelationship": { "alias": "hideRelationship"; "required": false; }; "hidePetOption": { "alias": "hidePetOption"; "required": false; }; "displayAgeGroupValue": { "alias": "displayAgeGroupValue"; "required": false; }; "nameFields": { "alias": "nameFields"; "required": false; }; "$fields": { "alias": "$fields"; "required": true; "isSignal": true; }; }, { "isReadyToSubmitChange": "isReadyToSubmitChange"; }, never, never, true, never>;
63
+ }
@@ -0,0 +1 @@
1
+ export * from './pet-kind-and-breed-form.component';
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ISelectItem } from '@sneat/ui';
3
+ import { EditContactFormBaseComponent } from '../contact-form-base.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PetKindAndBreedFormComponent extends EditContactFormBaseComponent {
6
+ readonly petKindChange: EventEmitter<"dog" | "cat" | "hamster" | "rabbit" | "bird" | "fish" | "turtle" | "snake" | "lizard" | "horse" | "pig" | "cow" | undefined>;
7
+ protected breeds: readonly ISelectItem[];
8
+ protected readonly petKinds: ISelectItem[];
9
+ constructor();
10
+ protected onPetKindChanged(petKind: string): void;
11
+ protected onPetBreedChanged(petBreed: string): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PetKindAndBreedFormComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<PetKindAndBreedFormComponent, "sneat-pet-kind-and-breed-form", never, {}, { "petKindChange": "petKindChange"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1 @@
1
+ export * from './phones-form.component';
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { IPhone } from '@sneat/contactus-core';
3
+ import * as i0 from "@angular/core";
4
+ type PhoneType = 'personal' | 'mobile' | 'work' | 'fax' | 'landline';
5
+ export declare class PhonesFormComponent implements OnChanges {
6
+ disabled: boolean;
7
+ hideHeader: boolean;
8
+ isActiveInWizard: boolean;
9
+ readonly types: {
10
+ id: PhoneType;
11
+ title: string;
12
+ }[];
13
+ phones?: IPhone[];
14
+ readonly phonesChange: EventEmitter<IPhone[]>;
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ typeChanged(event: Event, i: number): void;
17
+ numberChanged(event: Event, i: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<PhonesFormComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhonesFormComponent, "sneat-phones-form", never, { "disabled": { "alias": "disabled"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "isActiveInWizard": { "alias": "isActiveInWizard"; "required": false; }; "phones": { "alias": "phones"; "required": false; }; }, { "phonesChange": "phonesChange"; }, never, never, true, never>;
20
+ }
21
+ export {};
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AgeGroupID } from '@sneat/core';
3
+ import { WithSpaceInput } from '@sneat/space-services';
4
+ import { IRelatedChange } from '@sneat/space-models';
5
+ import { ISelectItem } from '@sneat/ui';
6
+ import { IRelatedTo, ISpaceModuleItemRef, WritableRelationshipRoles } from '@sneat/dto';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ContactRelationshipFormComponent extends WithSpaceInput {
9
+ readonly $contactID: import("@angular/core").InputSignal<string | undefined>;
10
+ protected readonly $itemRef: import("@angular/core").Signal<ISpaceModuleItemRef | undefined>;
11
+ readonly $ageGroup: import("@angular/core").InputSignal<AgeGroupID | undefined>;
12
+ readonly $relatedTo: import("@angular/core").InputSignal<IRelatedTo | undefined>;
13
+ readonly $isProcessing: import("@angular/core").WritableSignal<boolean>;
14
+ readonly $userSpaceContactID: import("@angular/core").InputSignal<string | null | undefined>;
15
+ isActive: boolean;
16
+ disabled: boolean;
17
+ readonly relatedAsChange: EventEmitter<Readonly<WritableRelationshipRoles>>;
18
+ private readonly spaceService;
19
+ constructor();
20
+ protected onRelatedAsChanged(relatedChange: IRelatedChange): void;
21
+ protected $relationshipOptions: import("@angular/core").Signal<ISelectItem[]>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactRelationshipFormComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactRelationshipFormComponent, "sneat-contact-relationship-form", never, { "$contactID": { "alias": "$contactID"; "required": true; "isSignal": true; }; "$ageGroup": { "alias": "$ageGroup"; "required": true; "isSignal": true; }; "$relatedTo": { "alias": "$relatedTo"; "required": true; "isSignal": true; }; "$userSpaceContactID": { "alias": "$userSpaceContactID"; "required": true; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "relatedAsChange": "relatedAsChange"; }, never, never, true, never>;
24
+ }
@@ -0,0 +1 @@
1
+ export * from './relationship-form.component';
@@ -0,0 +1,34 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { IRelatedTo, IRelationshipRole, ISpaceModuleItemRef } from '@sneat/dto';
4
+ import { IRelatedChange } from '@sneat/space-models';
5
+ import { ISelectItem } from '@sneat/ui';
6
+ import { SpaceRelatedFormComponent } from '../space-related-form.component';
7
+ import * as i0 from "@angular/core";
8
+ interface IRelationshipWithID extends IRelationshipRole {
9
+ readonly id: string;
10
+ }
11
+ export declare class RelationshipFormComponent extends SpaceRelatedFormComponent {
12
+ private readonly userService;
13
+ readonly $itemRef: import("@angular/core").InputSignal<ISpaceModuleItemRef | undefined>;
14
+ readonly $relatedTo: import("@angular/core").InputSignal<IRelatedTo | undefined>;
15
+ readonly $relationshipOptions: import("@angular/core").InputSignal<readonly ISelectItem[] | undefined>;
16
+ readonly $isProcessing: import("@angular/core").InputSignal<boolean | undefined>;
17
+ protected readonly $rolesOfItemRelatedToTarget: import("@angular/core").Signal<readonly IRelationshipWithID[] | undefined>;
18
+ protected readonly $relationshipsCount: import("@angular/core").Signal<number>;
19
+ protected readonly $hasRelationships: import("@angular/core").Signal<boolean>;
20
+ protected readonly $useSelect: import("@angular/core").Signal<boolean>;
21
+ readonly relatedAsChange: EventEmitter<IRelatedChange>;
22
+ isActive: boolean;
23
+ disabled: boolean;
24
+ protected readonly relatedAsSingle: FormControl<string | null>;
25
+ private readonly spaceService;
26
+ protected readonly label = "Related to me as";
27
+ protected onRelationshipChanged(value: string): void;
28
+ maxNumberOfRelationships: number;
29
+ protected openAddRelationship(event: Event): void;
30
+ protected removeRelationship(event: Event, id: string): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelationshipFormComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<RelationshipFormComponent, "sneat-relationship-form", never, { "$itemRef": { "alias": "$itemRef"; "required": true; "isSignal": true; }; "$relatedTo": { "alias": "$relatedTo"; "required": true; "isSignal": true; }; "$relationshipOptions": { "alias": "$relationshipOptions"; "required": true; "isSignal": true; }; "$isProcessing": { "alias": "$isProcessing"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxNumberOfRelationships": { "alias": "maxNumberOfRelationships"; "required": false; }; }, { "relatedAsChange": "relatedAsChange"; }, never, never, true, never>;
33
+ }
34
+ export {};
@@ -0,0 +1,33 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { IIdAndDbo } from '@sneat/core';
3
+ import { ContactRole, IContactGroupDbo, IContactRoleWithIdAndBrief } from '@sneat/contactus-core';
4
+ import { SneatBaseComponent } from '@sneat/ui';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContactRoleFormComponent extends SneatBaseComponent {
7
+ $contactGroupID: import("@angular/core").InputSignal<string | undefined>;
8
+ protected $contactGroup: import("@angular/core").Signal<IIdAndDbo<IContactGroupDbo> | undefined>;
9
+ readonly contactGroupIDChange: EventEmitter<string | undefined>;
10
+ readonly contactGroupChange: EventEmitter<IIdAndDbo<IContactGroupDbo> | undefined>;
11
+ readonly $contactRoleID: import("@angular/core").InputSignal<ContactRole | undefined>;
12
+ readonly contactRoleIDChange: EventEmitter<ContactRole | undefined>;
13
+ readonly contactRoleChange: EventEmitter<IContactRoleWithIdAndBrief | undefined>;
14
+ protected readonly $groups: import("@angular/core").WritableSignal<readonly IIdAndDbo<IContactGroupDbo>[] | undefined>;
15
+ protected readonly $groupItems: import("@angular/core").Signal<{
16
+ id: string;
17
+ title: string;
18
+ emoji: string | undefined;
19
+ }[]>;
20
+ protected readonly $roleItems: import("@angular/core").Signal<{
21
+ id: ContactRole;
22
+ title: string;
23
+ emoji: string | undefined;
24
+ }[] | undefined>;
25
+ protected readonly roleBriefID: (o: IContactRoleWithIdAndBrief) => ContactRole;
26
+ protected readonly groupID: (_: number, o: IIdAndDbo<IContactGroupDbo>) => string;
27
+ constructor();
28
+ protected onContactGroupIDChanged(contactGroupID: string): void;
29
+ protected onContactRoleIDChanged(contactRoleID: string): void;
30
+ protected clearContactType(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactRoleFormComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactRoleFormComponent, "sneat-contact-role-form", never, { "$contactGroupID": { "alias": "$contactGroupID"; "required": true; "isSignal": true; }; "$contactRoleID": { "alias": "$contactRoleID"; "required": true; "isSignal": true; }; }, { "contactGroupIDChange": "contactGroupIDChange"; "contactGroupChange": "contactGroupChange"; "contactRoleIDChange": "contactRoleIDChange"; "contactRoleChange": "contactRoleChange"; }, never, never, true, never>;
33
+ }
@@ -0,0 +1 @@
1
+ export * from './contact-role-form.component';
@@ -0,0 +1 @@
1
+ export * from './roles-form.component';
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ISpaceContext } from '@sneat/space-models';
3
+ import { SpaceRelatedFormComponent } from '../space-related-form.component';
4
+ import * as i0 from "@angular/core";
5
+ interface Role {
6
+ checked?: boolean;
7
+ id: string;
8
+ title: string;
9
+ icon: string;
10
+ }
11
+ export declare class RolesFormComponent extends SpaceRelatedFormComponent {
12
+ isActive: boolean;
13
+ disabled: boolean;
14
+ roles?: Role[];
15
+ readonly rolesChange: EventEmitter<string[]>;
16
+ protected onSpaceTypeChanged(space?: ISpaceContext): void;
17
+ roleChecked(event: Event): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RolesFormComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<RolesFormComponent, "sneat-roles-form", never, { "isActive": { "alias": "isActive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "rolesChange": "rolesChange"; }, never, never, true, never>;
20
+ }
21
+ export {};
@@ -0,0 +1,11 @@
1
+ import { OnChanges, SimpleChange, SimpleChanges } from '@angular/core';
2
+ import { WithSpaceInput } from '@sneat/space-services';
3
+ import { ISpaceContext } from '@sneat/space-models';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class SpaceRelatedFormComponent extends WithSpaceInput implements OnChanges {
6
+ ngOnChanges(changes: SimpleChanges): void;
7
+ protected onSpaceChanged(teamChange: SimpleChange): void;
8
+ protected onSpaceTypeChanged(_space?: ISpaceContext): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpaceRelatedFormComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpaceRelatedFormComponent, "ng-component", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ContactRole, ContactType, IContactContext } from '@sneat/contactus-core';
3
+ import { ISpaceContext } from '@sneat/space-models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ContactInputComponent implements OnChanges {
6
+ private readonly errorLogger;
7
+ private readonly contactSelectorService;
8
+ space?: ISpaceContext;
9
+ disabled?: boolean;
10
+ canChangeContact: boolean;
11
+ canReset: boolean;
12
+ readonly: boolean;
13
+ label?: string;
14
+ labelPosition?: 'fixed' | 'stacked' | 'floating';
15
+ contactRole?: ContactRole;
16
+ contactType?: ContactType;
17
+ subLabel: string;
18
+ parentType?: ContactType;
19
+ parentRole?: ContactRole;
20
+ parentContact?: IContactContext;
21
+ deleting: boolean;
22
+ contact?: IContactContext;
23
+ readonly contactChange: EventEmitter<IContactContext | undefined>;
24
+ protected readonly labelText: () => string;
25
+ protected get showFlag(): boolean;
26
+ protected get showParentFlag(): boolean;
27
+ protected parentTitle(): string;
28
+ protected contactTitle(): string;
29
+ private getTitle;
30
+ ngOnChanges(changes: SimpleChanges): void;
31
+ get contactLink(): string;
32
+ reset(event: Event): void;
33
+ openContactSelector(event: Event): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactInputComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactInputComponent, "sneat-contact-input", never, { "space": { "alias": "space"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "canChangeContact": { "alias": "canChangeContact"; "required": false; }; "canReset": { "alias": "canReset"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "contactRole": { "alias": "contactRole"; "required": false; }; "contactType": { "alias": "contactType"; "required": false; }; "subLabel": { "alias": "subLabel"; "required": false; }; "parentType": { "alias": "parentType"; "required": false; }; "parentRole": { "alias": "parentRole"; "required": false; }; "parentContact": { "alias": "parentContact"; "required": false; }; "deleting": { "alias": "deleting"; "required": false; }; "contact": { "alias": "contact"; "required": false; }; }, { "contactChange": "contactChange"; }, never, never, true, never>;
36
+ }
@@ -0,0 +1 @@
1
+ export * from './contact-input.component';
@@ -0,0 +1,14 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { IIdAndBriefAndOptionalDbo } from '@sneat/core';
3
+ import { IContactBrief, IContactDbo, IContactWithCheck } from '@sneat/contactus-core';
4
+ import { ISpaceContext } from '@sneat/space-models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContactLocationsComponent implements OnChanges {
7
+ readonly $space: import("@angular/core").InputSignal<ISpaceContext>;
8
+ contact?: IIdAndBriefAndOptionalDbo<IContactBrief, IContactDbo>;
9
+ protected readonly $contactLocations: import("@angular/core").WritableSignal<readonly IContactWithCheck[]>;
10
+ ngOnChanges(changes: SimpleChanges): void;
11
+ private getContactLocations;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactLocationsComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactLocationsComponent, "sneat-contact-locations", never, { "$space": { "alias": "$space"; "required": true; "isSignal": true; }; "contact": { "alias": "contact"; "required": true; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1 @@
1
+ export * from './contact-locations.component';
@@ -0,0 +1,12 @@
1
+ import { ISneatExtension } from '@sneat/core';
2
+ import { IContactWithBrief } from '@sneat/contactus-core';
3
+ import { WithSpaceInput } from '@sneat/space-services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ContactModulesMenuComponent extends WithSpaceInput {
6
+ contact?: IContactWithBrief;
7
+ readonly extensions: ISneatExtension[];
8
+ protected goExt(ext: ISneatExtension): void;
9
+ protected goNew(event: Event, ext: ISneatExtension): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactModulesMenuComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactModulesMenuComponent, "sneat-contact-modules-menu", never, { "contact": { "alias": "contact"; "required": true; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './contact-modules-menu.component';
@@ -0,0 +1,12 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ContactRoleBadgesComponent implements OnChanges {
4
+ private readonly alwaysHide;
5
+ roles?: readonly string[];
6
+ hideRoles: readonly string[];
7
+ private hiddenRoles;
8
+ protected _roles: readonly string[];
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactRoleBadgesComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactRoleBadgesComponent, "sneat-contact-role-badges", never, { "roles": { "alias": "roles"; "required": true; }; "hideRoles": { "alias": "hideRoles"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,18 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { IContactRole } from '@sneat/app';
3
+ import { ContactRole, IContactWithBrief } from '@sneat/contactus-core';
4
+ import { ISpaceContext } from '@sneat/space-models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContactRolesInputComponent implements OnChanges {
7
+ private readonly errorLogger;
8
+ private readonly contactService;
9
+ private readonly contactRolesByType;
10
+ space?: ISpaceContext;
11
+ contact?: IContactWithBrief;
12
+ protected roles?: IContactRole[];
13
+ protected processingRoleIDs: ContactRole[];
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ private setRoles;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactRolesInputComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactRolesInputComponent, "sneat-contact-roles-input", never, { "space": { "alias": "space"; "required": true; }; "contact": { "alias": "contact"; "required": false; }; }, {}, never, never, true, never>;
18
+ }