@coolon/angular-ui-powerups 0.0.126 → 0.0.129

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 (350) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +3745 -3019
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  5. package/coolon-angular-ui-powerups.d.ts +17 -18
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/coolon-angular-ui-powerups.js +16 -17
  8. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  9. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  10. package/esm2015/index.js +1 -1
  11. package/esm2015/index.js.map +1 -1
  12. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  13. package/esm2015/lib/interaction/abstract-interaction-context.js +104 -0
  14. package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -0
  15. package/esm2015/lib/interaction/abstract-interaction-context.metadata.json +1 -0
  16. package/esm2015/lib/interaction/activity-ref.js +123 -0
  17. package/esm2015/lib/interaction/activity-ref.js.map +1 -0
  18. package/esm2015/lib/interaction/activity-ref.metadata.json +1 -0
  19. package/esm2015/lib/interaction/activity.js +21 -1
  20. package/esm2015/lib/interaction/activity.js.map +1 -1
  21. package/esm2015/lib/interaction/activity.metadata.json +1 -1
  22. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +199 -230
  23. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  24. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  25. package/esm2015/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.js +24 -31
  26. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -0
  27. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -0
  28. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -0
  29. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -0
  30. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +2 -3
  31. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  32. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  33. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +4 -11
  34. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  35. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  36. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +2 -3
  37. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  38. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  39. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +113 -0
  40. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -0
  41. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -0
  42. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -0
  43. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -0
  44. package/esm2015/lib/interaction/index.js +7 -6
  45. package/esm2015/lib/interaction/index.js.map +1 -1
  46. package/esm2015/lib/interaction/index.metadata.json +1 -1
  47. package/esm2015/lib/interaction/interaction-context.js +12 -67
  48. package/esm2015/lib/interaction/interaction-context.js.map +1 -1
  49. package/esm2015/lib/interaction/interaction-context.metadata.json +1 -1
  50. package/esm2015/lib/interaction/interaction.module.js +4 -4
  51. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  52. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  53. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  54. package/esm2015/lib/interaction/route-synchronisation-adapter.js +17 -0
  55. package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -0
  56. package/esm2015/lib/interaction/route-synchronisation-adapter.metadata.json +1 -0
  57. package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js +72 -0
  58. package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -0
  59. package/esm2015/lib/interaction/services/interaction-service-routing-adapter.metadata.json +1 -0
  60. package/esm2015/lib/interaction/services/interaction.service.js +174 -104
  61. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  62. package/esm2015/lib/interaction/services/interaction.service.metadata.json +1 -1
  63. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +4 -2
  64. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
  65. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.metadata.json +1 -1
  66. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +79 -87
  67. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
  68. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.metadata.json +1 -1
  69. package/esm2015/lib/interaction/services/modal-interaction-context.factory.js +3 -1
  70. package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
  71. package/esm2015/lib/place/components/abstract-place-navigation.component.js +27 -6
  72. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  73. package/esm2015/lib/place/components/abstract-place-navigation.component.metadata.json +1 -1
  74. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +9 -3
  75. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  76. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  77. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +98 -110
  78. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  79. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  80. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +9 -3
  81. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  82. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  83. package/esm2015/lib/place/guards/place.guard.js +14 -13
  84. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  85. package/esm2015/lib/place/guards/place.guard.metadata.json +1 -1
  86. package/esm2015/lib/place/index.js +15 -2
  87. package/esm2015/lib/place/index.js.map +1 -1
  88. package/esm2015/lib/place/index.metadata.json +1 -1
  89. package/esm2015/lib/place/{guards → navigation}/place-component-deactivation-handler.js +28 -22
  90. package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -0
  91. package/esm2015/lib/place/navigation/place-component-deactivation-handler.metadata.json +1 -0
  92. package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js +37 -0
  93. package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -0
  94. package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.metadata.json +1 -0
  95. package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +19 -0
  96. package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -0
  97. package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.metadata.json +1 -0
  98. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +95 -0
  99. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -0
  100. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.metadata.json +1 -0
  101. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +132 -0
  102. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -0
  103. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.metadata.json +1 -0
  104. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +123 -0
  105. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -0
  106. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.metadata.json +1 -0
  107. package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js +62 -0
  108. package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -0
  109. package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.metadata.json +1 -0
  110. package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +48 -0
  111. package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -0
  112. package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.metadata.json +1 -0
  113. package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +104 -0
  114. package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -0
  115. package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.metadata.json +1 -0
  116. package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +141 -0
  117. package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -0
  118. package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.metadata.json +1 -0
  119. package/esm2015/lib/place/navigation/session/navigating.js +54 -0
  120. package/esm2015/lib/place/navigation/session/navigating.js.map +1 -0
  121. package/esm2015/lib/place/navigation/session/navigating.metadata.json +1 -0
  122. package/esm2015/lib/place/navigation/session/navigation-context.js +38 -0
  123. package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -0
  124. package/esm2015/lib/place/navigation/session/navigation-context.metadata.json +1 -0
  125. package/esm2015/lib/place/navigation/session/navigation-session.js +326 -0
  126. package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -0
  127. package/esm2015/lib/place/navigation/session/navigation-session.metadata.json +1 -0
  128. package/esm2015/lib/place/navigation/session/pop-state-navigation.js +31 -0
  129. package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -0
  130. package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +1 -0
  131. package/esm2015/lib/place/place-component.js +46 -15
  132. package/esm2015/lib/place/place-component.js.map +1 -1
  133. package/esm2015/lib/place/place-component.metadata.json +1 -1
  134. package/esm2015/lib/place/place-router.js +307 -309
  135. package/esm2015/lib/place/place-router.js.map +1 -1
  136. package/esm2015/lib/place/place-router.metadata.json +1 -1
  137. package/esm2015/lib/place/place.module.js.map +1 -1
  138. package/esm2015/lib/place/place.module.metadata.json +1 -1
  139. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  140. package/esm2015/lib/place/route/parameter-decorators.js +1 -0
  141. package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
  142. package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
  143. package/esm2015/lib/place/url-service.js +126 -0
  144. package/esm2015/lib/place/url-service.js.map +1 -0
  145. package/esm2015/lib/place/url-service.metadata.json +1 -0
  146. package/esm2015/lib/place/url-service.ngfactory.js.map +1 -0
  147. package/esm2015/lib/place/url-snapshot.js +15 -1
  148. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  149. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  150. package/esm2015/lib/place/visit.js +10 -0
  151. package/esm2015/lib/place/visit.js.map +1 -1
  152. package/esm2015/lib/place/visit.metadata.json +1 -1
  153. package/esm2015/public_api.js +2 -2
  154. package/esm2015/public_api.js.map +1 -1
  155. package/esm5/coolon-angular-ui-powerups.js +16 -17
  156. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  157. package/esm5/index.js +1 -1
  158. package/esm5/index.js.map +1 -1
  159. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  160. package/esm5/lib/interaction/abstract-interaction-context.js +146 -0
  161. package/esm5/lib/interaction/abstract-interaction-context.js.map +1 -0
  162. package/esm5/lib/interaction/activity-ref.js +153 -0
  163. package/esm5/lib/interaction/activity-ref.js.map +1 -0
  164. package/esm5/lib/interaction/activity.js +29 -1
  165. package/esm5/lib/interaction/activity.js.map +1 -1
  166. package/esm5/lib/interaction/components/activity-container/activity-container.component.js +273 -265
  167. package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  168. package/esm5/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.js +25 -32
  169. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -0
  170. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -0
  171. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -0
  172. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +2 -3
  173. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  174. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +4 -10
  175. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  176. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +2 -3
  177. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  178. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +158 -0
  179. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -0
  180. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -0
  181. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -0
  182. package/esm5/lib/interaction/index.js +7 -6
  183. package/esm5/lib/interaction/index.js.map +1 -1
  184. package/esm5/lib/interaction/interaction-context.js +12 -106
  185. package/esm5/lib/interaction/interaction-context.js.map +1 -1
  186. package/esm5/lib/interaction/interaction.module.js +4 -4
  187. package/esm5/lib/interaction/interaction.module.js.map +1 -1
  188. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  189. package/esm5/lib/interaction/route-synchronisation-adapter.js +17 -0
  190. package/esm5/lib/interaction/route-synchronisation-adapter.js.map +1 -0
  191. package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +98 -0
  192. package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -0
  193. package/esm5/lib/interaction/services/interaction.service.js +243 -117
  194. package/esm5/lib/interaction/services/interaction.service.js.map +1 -1
  195. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +6 -2
  196. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
  197. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +96 -107
  198. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
  199. package/esm5/lib/interaction/services/modal-interaction-context.factory.js +3 -1
  200. package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
  201. package/esm5/lib/place/components/abstract-place-navigation.component.js +24 -6
  202. package/esm5/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  203. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +6 -3
  204. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  205. package/esm5/lib/place/components/place-outlet/place-outlet.component.js +130 -129
  206. package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  207. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +6 -3
  208. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  209. package/esm5/lib/place/guards/place.guard.js +17 -13
  210. package/esm5/lib/place/guards/place.guard.js.map +1 -1
  211. package/esm5/lib/place/index.js +15 -2
  212. package/esm5/lib/place/index.js.map +1 -1
  213. package/esm5/lib/place/{guards → navigation}/place-component-deactivation-handler.js +45 -21
  214. package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +1 -0
  215. package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +49 -0
  216. package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -0
  217. package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +36 -0
  218. package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -0
  219. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +151 -0
  220. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -0
  221. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +221 -0
  222. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +1 -0
  223. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +186 -0
  224. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -0
  225. package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +107 -0
  226. package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -0
  227. package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +77 -0
  228. package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -0
  229. package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +167 -0
  230. package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -0
  231. package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +185 -0
  232. package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -0
  233. package/esm5/lib/place/navigation/session/navigating.js +75 -0
  234. package/esm5/lib/place/navigation/session/navigating.js.map +1 -0
  235. package/esm5/lib/place/navigation/session/navigation-context.js +32 -0
  236. package/esm5/lib/place/navigation/session/navigation-context.js.map +1 -0
  237. package/esm5/lib/place/navigation/session/navigation-session.js +450 -0
  238. package/esm5/lib/place/navigation/session/navigation-session.js.map +1 -0
  239. package/esm5/lib/place/navigation/session/pop-state-navigation.js +50 -0
  240. package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +1 -0
  241. package/esm5/lib/place/place-component.js +61 -17
  242. package/esm5/lib/place/place-component.js.map +1 -1
  243. package/esm5/lib/place/place-router.js +407 -401
  244. package/esm5/lib/place/place-router.js.map +1 -1
  245. package/esm5/lib/place/place.module.js.map +1 -1
  246. package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
  247. package/esm5/lib/place/route/parameter-decorators.js +1 -0
  248. package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
  249. package/esm5/lib/place/url-service.js +176 -0
  250. package/esm5/lib/place/url-service.js.map +1 -0
  251. package/esm5/lib/place/url-service.ngfactory.js.map +1 -0
  252. package/esm5/lib/place/url-snapshot.js +22 -1
  253. package/esm5/lib/place/url-snapshot.js.map +1 -1
  254. package/esm5/lib/place/visit.js +14 -0
  255. package/esm5/lib/place/visit.js.map +1 -1
  256. package/esm5/public_api.js +2 -2
  257. package/esm5/public_api.js.map +1 -1
  258. package/fesm2015/coolon-angular-ui-powerups.js +2637 -2266
  259. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  260. package/fesm5/coolon-angular-ui-powerups.js +3694 -2980
  261. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  262. package/lib/interaction/abstract-interaction-context.d.ts +24 -0
  263. package/lib/interaction/activity-ref.d.ts +19 -0
  264. package/lib/interaction/activity.d.ts +5 -1
  265. package/lib/interaction/components/activity-container/activity-container.component.d.ts +42 -43
  266. package/lib/interaction/components/{activity-outlet → activity-container/activity-outlet}/activity-outlet.component.d.ts +7 -10
  267. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +2 -2
  268. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -5
  269. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +2 -2
  270. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +24 -0
  271. package/lib/interaction/index.d.ts +6 -5
  272. package/lib/interaction/interaction-context.d.ts +8 -29
  273. package/lib/interaction/route-synchronisation-adapter.d.ts +5 -0
  274. package/lib/interaction/services/interaction-service-routing-adapter.d.ts +15 -0
  275. package/lib/interaction/services/interaction.service.d.ts +52 -24
  276. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -1
  277. package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +15 -12
  278. package/lib/interaction/services/modal-interaction-context.factory.d.ts +2 -1
  279. package/lib/place/components/abstract-place-navigation.component.d.ts +5 -3
  280. package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +2 -1
  281. package/lib/place/components/place-outlet/place-outlet.component.d.ts +9 -10
  282. package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +2 -1
  283. package/lib/place/guards/place.guard.d.ts +4 -3
  284. package/lib/place/index.d.ts +15 -2
  285. package/lib/place/navigation/place-component-deactivation-handler.d.ts +22 -0
  286. package/lib/place/navigation/session/abstract-pop-state-navigation.d.ts +9 -0
  287. package/lib/place/navigation/session/event-cleanup/event-clean-up-session.d.ts +4 -0
  288. package/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.d.ts +27 -0
  289. package/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.d.ts +43 -0
  290. package/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.d.ts +33 -0
  291. package/lib/place/navigation/session/interactions/navigating-during-interaction.d.ts +15 -0
  292. package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts +17 -0
  293. package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +24 -0
  294. package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +15 -0
  295. package/lib/place/navigation/session/navigating.d.ts +11 -0
  296. package/lib/place/navigation/session/navigation-context.d.ts +28 -0
  297. package/lib/place/navigation/session/navigation-session.d.ts +51 -0
  298. package/lib/place/navigation/session/pop-state-navigation.d.ts +7 -0
  299. package/lib/place/place-component.d.ts +6 -3
  300. package/lib/place/place-router.d.ts +39 -35
  301. package/lib/place/url-service.d.ts +30 -0
  302. package/lib/place/url-snapshot.d.ts +3 -1
  303. package/lib/place/visit.d.ts +1 -0
  304. package/package.json +1 -1
  305. package/schematics/place-routes/templates/place-routes.ts.template +4 -3
  306. package/esm2015/lib/interaction/abstract-activity.js +0 -13
  307. package/esm2015/lib/interaction/abstract-activity.js.map +0 -1
  308. package/esm2015/lib/interaction/abstract-activity.metadata.json +0 -1
  309. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.js +0 -21
  310. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.js.map +0 -1
  311. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet-context.metadata.json +0 -1
  312. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.js.map +0 -1
  313. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.metadata.json +0 -1
  314. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
  315. package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
  316. package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js +0 -102
  317. package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js.map +0 -1
  318. package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.metadata.json +0 -1
  319. package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.ngfactory.js.map +0 -1
  320. package/esm2015/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
  321. package/esm2015/lib/interaction/interaction-context-base.js +0 -171
  322. package/esm2015/lib/interaction/interaction-context-base.js.map +0 -1
  323. package/esm2015/lib/interaction/interaction-context-base.metadata.json +0 -1
  324. package/esm2015/lib/place/guards/navigation-state.js +0 -1118
  325. package/esm2015/lib/place/guards/navigation-state.js.map +0 -1
  326. package/esm2015/lib/place/guards/navigation-state.metadata.json +0 -1
  327. package/esm2015/lib/place/guards/place-component-deactivation-handler.js.map +0 -1
  328. package/esm2015/lib/place/guards/place-component-deactivation-handler.metadata.json +0 -1
  329. package/esm5/lib/interaction/abstract-activity.js +0 -30
  330. package/esm5/lib/interaction/abstract-activity.js.map +0 -1
  331. package/esm5/lib/interaction/components/activity-outlet/activity-outlet-context.js +0 -21
  332. package/esm5/lib/interaction/components/activity-outlet/activity-outlet-context.js.map +0 -1
  333. package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.js.map +0 -1
  334. package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
  335. package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
  336. package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js +0 -119
  337. package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.js.map +0 -1
  338. package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.ngfactory.js.map +0 -1
  339. package/esm5/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
  340. package/esm5/lib/interaction/interaction-context-base.js +0 -228
  341. package/esm5/lib/interaction/interaction-context-base.js.map +0 -1
  342. package/esm5/lib/place/guards/navigation-state.js +0 -1491
  343. package/esm5/lib/place/guards/navigation-state.js.map +0 -1
  344. package/esm5/lib/place/guards/place-component-deactivation-handler.js.map +0 -1
  345. package/lib/interaction/abstract-activity.d.ts +0 -6
  346. package/lib/interaction/components/activity-outlet/activity-outlet-context.d.ts +0 -7
  347. package/lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component.d.ts +0 -17
  348. package/lib/interaction/interaction-context-base.d.ts +0 -29
  349. package/lib/place/guards/navigation-state.d.ts +0 -228
  350. package/lib/place/guards/place-component-deactivation-handler.d.ts +0 -15
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
- export { AngularUiPowerupsModule, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, Bounds, Dimension, Point, CommandDirective, DirectivesModule, FocusBindingDirective, AbstractActivity, ACTIVITY_DATA, Activity, InteractionContextBase, InteractionContext, InteractionModule, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, ConfirmThenDialogComponent, ConfirmationDialogComponent, InplaceInteractionContextComponent, InteractionService, ModalInteractionContextFactory, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContextFactory, DialogInteractionContext, DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY, PlaceComponent, AUP_PLACE_CONFIG, PlaceDefinition, PlaceHistory, PlaceRouter, Place, PlaceModule, UrlSnapshot, Visit, AbstractPlaceNavigationComponent, BusyOverlayComponent, EmptyStateComponent, ListPlaceNavComponent, PlaceOutletComponent, leftRightPlaceAnimation, LEFT_RIGHT_PLACE_ANIMATION, TabbedPlaceNavigationComponent, ConsolidatedParameterMap, NavigationState, NoopAuthGuard, PlaceComponentDeactivationHandler, PlaceGuard, Formatter, RouteId, VisitParameter, VisitParameterList, ParameterDefinition, VisitSanitiser } from './index';
8
+ export { AngularUiPowerupsModule, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, Bounds, Dimension, Point, CommandDirective, DirectivesModule, FocusBindingDirective, AbstractInteractionContext, ActivityRef, ACTIVITY_DATA, Activity, InteractionModule, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, ConfirmThenDialogComponent, ConfirmationDialogComponent, InPlaceInteractionContextComponent, InteractionServiceRoutingAdapter, InteractionService, ModalInteractionContextFactory, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContextFactory, DialogInteractionContext, DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY, PlaceComponent, AUP_PLACE_CONFIG, PlaceDefinition, PlaceHistory, PlaceRouter, Place, PlaceModule, UrlService, UrlSnapshot, Visit, AbstractPlaceNavigationComponent, BusyOverlayComponent, EmptyStateComponent, ListPlaceNavComponent, PlaceOutletComponent, leftRightPlaceAnimation, LEFT_RIGHT_PLACE_ANIMATION, TabbedPlaceNavigationComponent, ConsolidatedParameterMap, NoopAuthGuard, PlaceGuard, PlaceComponentDeactivationHandler, AbstractPopStateNavigation, Navigating, NavigationContext, NavigationSession, PopStateNavigation, EventCleanUpSession, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, NavigatingDuringInteraction, PopStateDuringInteractionNavigation, RemoveLastInteractionFromUrlNavigationSession, SynchroniseInteractionContextIdsWithRoute, Formatter, RouteId, VisitParameter, VisitParameterList, ParameterDefinition, VisitSanitiser } from './index';
9
9
  export { ComponentsModule as ɵe } from './lib/components/components.module';
10
10
  export { DisposableComponent as ɵd } from './lib/components/disposable-component';
11
11
  export { AbstractInputComponent as ɵg } from './lib/components/forms/abstract-input.component';
@@ -17,28 +17,27 @@ export { NoopComponent as ɵk } from './lib/components/noop/noop.component';
17
17
  export { CommandDirective as ɵb } from './lib/directives/command.directive';
18
18
  export { DirectivesModule as ɵa } from './lib/directives/directives.module';
19
19
  export { FocusBindingDirective as ɵc } from './lib/directives/focus-binding.directive';
20
- export { AbstractActivity as ɵbg } from './lib/interaction/abstract-activity';
21
- export { ACTIVITY_DATA as ɵbh, Activity as ɵbi } from './lib/interaction/activity';
22
- export { ActivityContainerComponent as ɵbb } from './lib/interaction/components/activity-container/activity-container.component';
23
- export { ActivityOutletComponent as ɵbe } from './lib/interaction/components/activity-outlet/activity-outlet.component';
24
- export { AlertDialogComponent as ɵbl } from './lib/interaction/components/alert-dialog/alert-dialog.component';
25
- export { ConfirmThenDialogComponent as ɵbk } from './lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component';
20
+ export { AbstractInteractionContext as ɵbd } from './lib/interaction/abstract-interaction-context';
21
+ export { ACTIVITY_DATA as ɵbg, Activity as ɵbh } from './lib/interaction/activity';
22
+ export { ActivityContainerComponent as ɵbc } from './lib/interaction/components/activity-container/activity-container.component';
23
+ export { ActivityOutletComponent as ɵbe } from './lib/interaction/components/activity-container/activity-outlet/activity-outlet.component';
24
+ export { AlertDialogComponent as ɵbk } from './lib/interaction/components/alert-dialog/alert-dialog.component';
25
+ export { ConfirmThenDialogComponent as ɵbj } from './lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component';
26
26
  export { ConfirmationDialogComponent as ɵbf } from './lib/interaction/components/confirmation-dialog/confirmation-dialog.component';
27
- export { InplaceInteractionContextComponent as ɵbn } from './lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component';
28
- export { InteractionContext as ɵbd } from './lib/interaction/interaction-context';
29
- export { InteractionContextBase as ɵbc } from './lib/interaction/interaction-context-base';
30
- export { InteractionModule as ɵba } from './lib/interaction/interaction.module';
31
- export { InteractionService as ɵv } from './lib/interaction/services/interaction.service';
32
- export { ModalInteractionContextFactory as ɵw } from './lib/interaction/services/modal-interaction-context.factory';
33
- export { AbstractPlaceNavigationComponent as ɵy } from './lib/place/components/abstract-place-navigation.component';
27
+ export { InPlaceInteractionContextComponent as ɵbm } from './lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component';
28
+ export { InteractionModule as ɵbb } from './lib/interaction/interaction.module';
29
+ export { InteractionService as ɵu } from './lib/interaction/services/interaction.service';
30
+ export { ModalInteractionContextFactory as ɵv } from './lib/interaction/services/modal-interaction-context.factory';
31
+ export { AbstractPlaceNavigationComponent as ɵz } from './lib/place/components/abstract-place-navigation.component';
34
32
  export { BusyOverlayComponent as ɵn } from './lib/place/components/busy-overlay/busy-overlay.component';
35
33
  export { EmptyStateComponent as ɵm } from './lib/place/components/empty-state/empty-state.component';
36
- export { ListPlaceNavComponent as ɵz } from './lib/place/components/list-place-nav/list-place-nav.component';
34
+ export { ListPlaceNavComponent as ɵba } from './lib/place/components/list-place-nav/list-place-nav.component';
37
35
  export { PlaceOutletComponent as ɵo } from './lib/place/components/place-outlet/place-outlet.component';
38
36
  export { LEFT_RIGHT_PLACE_ANIMATION as ɵq, leftRightPlaceAnimation as ɵp } from './lib/place/components/place-outlet/route-animations';
39
- export { TabbedPlaceNavigationComponent as ɵx } from './lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component';
37
+ export { TabbedPlaceNavigationComponent as ɵy } from './lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component';
40
38
  export { AUP_PLACE_CONFIG as ɵr } from './lib/place/place-config';
41
- export { PlaceHistory as ɵu } from './lib/place/place-history';
39
+ export { PlaceHistory as ɵx } from './lib/place/place-history';
42
40
  export { PlaceRouter as ɵt } from './lib/place/place-router';
43
41
  export { PlaceModule as ɵl } from './lib/place/place.module';
42
+ export { UrlService as ɵw } from './lib/place/url-service';
44
43
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"coolon-angular-ui-powerups.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["coolon-angular-ui-powerups.ts"],"names":[],"mappings":";;;;;;;AAIA,u1CAAc,SAAS,CAAC;AAExB,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,aAAa,IAAI,EAAE,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,qBAAqB,IAAI,EAAE,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,gBAAgB,IAAI,GAAG,EAAC,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAC,aAAa,IAAI,GAAG,EAAC,QAAQ,IAAI,GAAG,EAAC,MAAM,4BAA4B,CAAC;AAEhF,OAAO,EAAC,0BAA0B,IAAI,GAAG,EAAC,MAAM,8EAA8E,CAAC;AAC/H,OAAO,EAAC,uBAAuB,IAAI,GAAG,EAAC,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAC,oBAAoB,IAAI,GAAG,EAAC,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAC,0BAA0B,IAAI,GAAG,EAAC,MAAM,gFAAgF,CAAC;AACjI,OAAO,EAAC,2BAA2B,IAAI,GAAG,EAAC,MAAM,gFAAgF,CAAC;AAClI,OAAO,EAAC,kCAAkC,IAAI,GAAG,EAAC,MAAM,gGAAgG,CAAC;AAEzJ,OAAO,EAAC,kBAAkB,IAAI,GAAG,EAAC,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAC,sBAAsB,IAAI,GAAG,EAAC,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAC,iBAAiB,IAAI,GAAG,EAAC,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAC,kBAAkB,IAAI,EAAE,EAAC,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAC,8BAA8B,IAAI,EAAE,EAAC,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAC,gCAAgC,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AAClH,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAC,qBAAqB,IAAI,EAAE,EAAC,MAAM,gEAAgE,CAAC;AAC3G,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,0BAA0B,IAAI,EAAE,EAAC,uBAAuB,IAAI,EAAE,EAAC,MAAM,sDAAsD,CAAC;AACpI,OAAO,EAAC,8BAA8B,IAAI,EAAE,EAAC,MAAM,kFAAkF,CAAC;AACtI,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAmB,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAC,YAAY,IAAI,EAAE,EAAC,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAC,WAAW,IAAI,EAAE,EAAC,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAC,WAAW,IAAI,EAAE,EAAC,MAAM,0BAA0B,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {ComponentsModule as ɵe} from './lib/components/components.module';\nexport {DisposableComponent as ɵd} from './lib/components/disposable-component';\nexport {AbstractInputComponent as ɵg} from './lib/components/forms/abstract-input.component';\nexport {NumberInputComponent as ɵf} from './lib/components/forms/number-input/number-input.component';\nexport {PasswordInputComponent as ɵi} from './lib/components/forms/password-input/password-input.component';\nexport {SelectInputComponent as ɵj} from './lib/components/forms/select-input/select-input.component';\nexport {StringInputComponent as ɵh} from './lib/components/forms/string-input/string-input.component';\nexport {NoopComponent as ɵk} from './lib/components/noop/noop.component';\nexport {CommandDirective as ɵb} from './lib/directives/command.directive';\nexport {DirectivesModule as ɵa} from './lib/directives/directives.module';\nexport {FocusBindingDirective as ɵc} from './lib/directives/focus-binding.directive';\nexport {AbstractActivity as ɵbg} from './lib/interaction/abstract-activity';\nexport {ACTIVITY_DATA as ɵbh,Activity as ɵbi} from './lib/interaction/activity';\nexport {Alert as ɵbm} from './lib/interaction/alert';\nexport {ActivityContainerComponent as ɵbb} from './lib/interaction/components/activity-container/activity-container.component';\nexport {ActivityOutletComponent as ɵbe} from './lib/interaction/components/activity-outlet/activity-outlet.component';\nexport {AlertDialogComponent as ɵbl} from './lib/interaction/components/alert-dialog/alert-dialog.component';\nexport {ConfirmThenDialogComponent as ɵbk} from './lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component';\nexport {ConfirmationDialogComponent as ɵbf} from './lib/interaction/components/confirmation-dialog/confirmation-dialog.component';\nexport {InplaceInteractionContextComponent as ɵbn} from './lib/interaction/components/inplace-interaction-context/inplace-interaction-context.component';\nexport {Confirm as ɵbj} from './lib/interaction/confirm';\nexport {InteractionContext as ɵbd} from './lib/interaction/interaction-context';\nexport {InteractionContextBase as ɵbc} from './lib/interaction/interaction-context-base';\nexport {InteractionModule as ɵba} from './lib/interaction/interaction.module';\nexport {InteractionService as ɵv} from './lib/interaction/services/interaction.service';\nexport {ModalInteractionContextFactory as ɵw} from './lib/interaction/services/modal-interaction-context.factory';\nexport {AbstractPlaceNavigationComponent as ɵy} from './lib/place/components/abstract-place-navigation.component';\nexport {BusyOverlayComponent as ɵn} from './lib/place/components/busy-overlay/busy-overlay.component';\nexport {EmptyStateComponent as ɵm} from './lib/place/components/empty-state/empty-state.component';\nexport {ListPlaceNavComponent as ɵz} from './lib/place/components/list-place-nav/list-place-nav.component';\nexport {PlaceOutletComponent as ɵo} from './lib/place/components/place-outlet/place-outlet.component';\nexport {LEFT_RIGHT_PLACE_ANIMATION as ɵq,leftRightPlaceAnimation as ɵp} from './lib/place/components/place-outlet/route-animations';\nexport {TabbedPlaceNavigationComponent as ɵx} from './lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component';\nexport {AUP_PLACE_CONFIG as ɵr,PlaceConfig as ɵs} from './lib/place/place-config';\nexport {PlaceHistory as ɵu} from './lib/place/place-history';\nexport {PlaceRouter as ɵt} from './lib/place/place-router';\nexport {PlaceModule as ɵl} from './lib/place/place.module';"]}
1
+ {"version":3,"file":"coolon-angular-ui-powerups.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["coolon-angular-ui-powerups.ts"],"names":[],"mappings":";;;;;;;AAIA,gyDAAc,SAAS,CAAC;AAExB,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,sBAAsB,IAAI,EAAE,EAAC,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,aAAa,IAAI,EAAE,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAC,qBAAqB,IAAI,EAAE,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,0BAA0B,IAAI,GAAG,EAAC,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAC,aAAa,IAAI,GAAG,EAAC,QAAQ,IAAI,GAAG,EAAC,MAAM,4BAA4B,CAAC;AAEhF,OAAO,EAAC,0BAA0B,IAAI,GAAG,EAAC,MAAM,8EAA8E,CAAC;AAC/H,OAAO,EAAC,uBAAuB,IAAI,GAAG,EAAC,MAAM,2FAA2F,CAAC;AACzI,OAAO,EAAC,oBAAoB,IAAI,GAAG,EAAC,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAC,0BAA0B,IAAI,GAAG,EAAC,MAAM,gFAAgF,CAAC;AACjI,OAAO,EAAC,2BAA2B,IAAI,GAAG,EAAC,MAAM,gFAAgF,CAAC;AAClI,OAAO,EAAC,kCAAkC,IAAI,GAAG,EAAC,MAAM,iGAAiG,CAAC;AAE1J,OAAO,EAAC,iBAAiB,IAAI,GAAG,EAAC,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAC,kBAAkB,IAAI,EAAE,EAAC,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAC,8BAA8B,IAAI,EAAE,EAAC,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAC,gCAAgC,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AAClH,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,mBAAmB,IAAI,EAAE,EAAC,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAC,qBAAqB,IAAI,GAAG,EAAC,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAC,0BAA0B,IAAI,EAAE,EAAC,uBAAuB,IAAI,EAAE,EAAC,MAAM,sDAAsD,CAAC;AACpI,OAAO,EAAC,8BAA8B,IAAI,EAAE,EAAC,MAAM,kFAAkF,CAAC;AACtI,OAAO,EAAC,gBAAgB,IAAI,EAAE,EAAmB,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAC,YAAY,IAAI,EAAE,EAAC,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAC,WAAW,IAAI,EAAE,EAAC,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAC,WAAW,IAAI,EAAE,EAAC,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAC,UAAU,IAAI,EAAE,EAAC,MAAM,yBAAyB,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {ComponentsModule as ɵe} from './lib/components/components.module';\nexport {DisposableComponent as ɵd} from './lib/components/disposable-component';\nexport {AbstractInputComponent as ɵg} from './lib/components/forms/abstract-input.component';\nexport {NumberInputComponent as ɵf} from './lib/components/forms/number-input/number-input.component';\nexport {PasswordInputComponent as ɵi} from './lib/components/forms/password-input/password-input.component';\nexport {SelectInputComponent as ɵj} from './lib/components/forms/select-input/select-input.component';\nexport {StringInputComponent as ɵh} from './lib/components/forms/string-input/string-input.component';\nexport {NoopComponent as ɵk} from './lib/components/noop/noop.component';\nexport {CommandDirective as ɵb} from './lib/directives/command.directive';\nexport {DirectivesModule as ɵa} from './lib/directives/directives.module';\nexport {FocusBindingDirective as ɵc} from './lib/directives/focus-binding.directive';\nexport {AbstractInteractionContext as ɵbd} from './lib/interaction/abstract-interaction-context';\nexport {ACTIVITY_DATA as ɵbg,Activity as ɵbh} from './lib/interaction/activity';\nexport {Alert as ɵbl} from './lib/interaction/alert';\nexport {ActivityContainerComponent as ɵbc} from './lib/interaction/components/activity-container/activity-container.component';\nexport {ActivityOutletComponent as ɵbe} from './lib/interaction/components/activity-container/activity-outlet/activity-outlet.component';\nexport {AlertDialogComponent as ɵbk} from './lib/interaction/components/alert-dialog/alert-dialog.component';\nexport {ConfirmThenDialogComponent as ɵbj} from './lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component';\nexport {ConfirmationDialogComponent as ɵbf} from './lib/interaction/components/confirmation-dialog/confirmation-dialog.component';\nexport {InPlaceInteractionContextComponent as ɵbm} from './lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component';\nexport {Confirm as ɵbi} from './lib/interaction/confirm';\nexport {InteractionModule as ɵbb} from './lib/interaction/interaction.module';\nexport {InteractionService as ɵu} from './lib/interaction/services/interaction.service';\nexport {ModalInteractionContextFactory as ɵv} from './lib/interaction/services/modal-interaction-context.factory';\nexport {AbstractPlaceNavigationComponent as ɵz} from './lib/place/components/abstract-place-navigation.component';\nexport {BusyOverlayComponent as ɵn} from './lib/place/components/busy-overlay/busy-overlay.component';\nexport {EmptyStateComponent as ɵm} from './lib/place/components/empty-state/empty-state.component';\nexport {ListPlaceNavComponent as ɵba} from './lib/place/components/list-place-nav/list-place-nav.component';\nexport {PlaceOutletComponent as ɵo} from './lib/place/components/place-outlet/place-outlet.component';\nexport {LEFT_RIGHT_PLACE_ANIMATION as ɵq,leftRightPlaceAnimation as ɵp} from './lib/place/components/place-outlet/route-animations';\nexport {TabbedPlaceNavigationComponent as ɵy} from './lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component';\nexport {AUP_PLACE_CONFIG as ɵr,PlaceConfig as ɵs} from './lib/place/place-config';\nexport {PlaceHistory as ɵx} from './lib/place/place-history';\nexport {PlaceRouter as ɵt} from './lib/place/place-router';\nexport {PlaceModule as ɵl} from './lib/place/place.module';\nexport {UrlService as ɵw} from './lib/place/url-service';"]}
package/esm5/index.js CHANGED
@@ -2,5 +2,5 @@
2
2
  * @fileoverview added by tsickle
3
3
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
4
  */
5
- export { AngularUiPowerupsModule, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, Bounds, Dimension, Point, CommandDirective, DirectivesModule, FocusBindingDirective, AbstractActivity, ACTIVITY_DATA, Activity, InteractionContextBase, InteractionContext, InteractionModule, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, ConfirmThenDialogComponent, ConfirmationDialogComponent, InplaceInteractionContextComponent, InteractionService, ModalInteractionContextFactory, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContextFactory, DialogInteractionContext, DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY, PlaceComponent, AUP_PLACE_CONFIG, PlaceDefinition, PlaceHistory, PlaceRouter, Place, PlaceModule, UrlSnapshot, Visit, AbstractPlaceNavigationComponent, BusyOverlayComponent, EmptyStateComponent, ListPlaceNavComponent, PlaceOutletComponent, leftRightPlaceAnimation, LEFT_RIGHT_PLACE_ANIMATION, TabbedPlaceNavigationComponent, ConsolidatedParameterMap, NavigationState, NoopAuthGuard, PlaceComponentDeactivationHandler, PlaceGuard, Formatter, RouteId, VisitParameter, VisitParameterList, ParameterDefinition, VisitSanitiser } from './public_api';
5
+ export { AngularUiPowerupsModule, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ComponentsModule, DisposableComponent, ResizeAwareComponent, AbstractInputComponent, NumberInputComponent, PasswordInputComponent, SelectInputComponent, StringInputComponent, NoopComponent, Bounds, Dimension, Point, CommandDirective, DirectivesModule, FocusBindingDirective, AbstractInteractionContext, ActivityRef, ACTIVITY_DATA, Activity, InteractionModule, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, ConfirmThenDialogComponent, ConfirmationDialogComponent, InPlaceInteractionContextComponent, InteractionServiceRoutingAdapter, InteractionService, ModalInteractionContextFactory, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContextFactory, DialogInteractionContext, DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY, PlaceComponent, AUP_PLACE_CONFIG, PlaceDefinition, PlaceHistory, PlaceRouter, Place, PlaceModule, UrlService, UrlSnapshot, Visit, AbstractPlaceNavigationComponent, BusyOverlayComponent, EmptyStateComponent, ListPlaceNavComponent, PlaceOutletComponent, leftRightPlaceAnimation, LEFT_RIGHT_PLACE_ANIMATION, TabbedPlaceNavigationComponent, ConsolidatedParameterMap, NoopAuthGuard, PlaceGuard, PlaceComponentDeactivationHandler, AbstractPopStateNavigation, Navigating, NavigationContext, NavigationSession, PopStateNavigation, EventCleanUpSession, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, NavigatingDuringInteraction, PopStateDuringInteractionNavigation, RemoveLastInteractionFromUrlNavigationSession, SynchroniseInteractionContextIdsWithRoute, Formatter, RouteId, VisitParameter, VisitParameterList, ParameterDefinition, VisitSanitiser } from './public_api';
6
6
  //# sourceMappingURL=index.js.map
package/esm5/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["index.ts"],"names":[],"mappings":";;;;AAAA,u1CAAc,cAAc,CAAC","sourcesContent":["export * from './public_api';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["index.ts"],"names":[],"mappings":";;;;AAAA,gyDAAc,cAAc,CAAC","sourcesContent":["export * from './public_api';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"angular-ui-powerups.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/angular-ui-powerups.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './angular-ui-powerups.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/forms';\nimport * as i4 from '@angular/cdk/text-field';\nimport * as i5 from '@angular/material/form-field';\nimport * as i6 from '@angular/material/input';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/cdk/bidi';\nimport * as i9 from '@angular/material/select';\nimport * as i10 from '@angular/material/tabs';\nimport * as i11 from './directives/command.directive';\nimport * as i12 from './directives/focus-binding.directive';\nimport * as i13 from './components/forms/number-input/number-input.component';\nimport * as i14 from './components/forms/string-input/string-input.component';\nimport * as i15 from './components/forms/password-input/password-input.component';\nimport * as i16 from './components/forms/select-input/select-input.component';\nimport * as i17 from './components/noop/noop.component';\nimport * as i18 from './place/components/busy-overlay/busy-overlay.component';\nimport * as i19 from './place/components/place-outlet/place-outlet.component';\nimport * as i20 from './place/components/empty-state/empty-state.component';\nimport * as i21 from './place/components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i22 from './place/components/list-place-nav/list-place-nav.component';\nimport * as i23 from './place/components/abstract-place-navigation.component';\nimport * as i24 from './interaction/components/activity-container/activity-container.component';\nimport * as i25 from './interaction/components/activity-outlet/activity-outlet.component';\nimport * as i26 from './interaction/components/inplace-interaction-context/inplace-interaction-context.component';\nimport * as i27 from '@angular/platform-browser/animations';\nimport * as i28 from './directives/directives.module';\nimport * as i29 from './components/components.module';\nimport * as i30 from './place/place.module';\nimport * as i31 from './interaction/interaction.module';\nexport const AngularUiPowerupsModuleNgFactory:i0.NgModuleFactory<i1.AngularUiPowerupsModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.ɵangular_packages_forms_forms_z = (<any>(null as any));\nvar _decl0_12:i3.NgSelectOption = (<any>(null as any));\nvar _decl0_13:i3.ɵangular_packages_forms_forms_y = (<any>(null as any));\nvar _decl0_14:i3.DefaultValueAccessor = (<any>(null as any));\nvar _decl0_15:i3.NumberValueAccessor = (<any>(null as any));\nvar _decl0_16:i3.RangeValueAccessor = (<any>(null as any));\nvar _decl0_17:i3.CheckboxControlValueAccessor = (<any>(null as any));\nvar _decl0_18:i3.SelectControlValueAccessor = (<any>(null as any));\nvar _decl0_19:i3.SelectMultipleControlValueAccessor = (<any>(null as any));\nvar _decl0_20:i3.RadioControlValueAccessor = (<any>(null as any));\nvar _decl0_21:i3.NgControlStatus = (<any>(null as any));\nvar _decl0_22:i3.NgControlStatusGroup = (<any>(null as any));\nvar _decl0_23:i3.RequiredValidator = (<any>(null as any));\nvar _decl0_24:i3.MinLengthValidator = (<any>(null as any));\nvar _decl0_25:i3.MaxLengthValidator = (<any>(null as any));\nvar _decl0_26:i3.PatternValidator = (<any>(null as any));\nvar _decl0_27:i3.CheckboxRequiredValidator = (<any>(null as any));\nvar _decl0_28:i3.EmailValidator = (<any>(null as any));\nvar _decl0_29:i3.NgModel = (<any>(null as any));\nvar _decl0_30:i3.NgModelGroup = (<any>(null as any));\nvar _decl0_31:i3.NgForm = (<any>(null as any));\nvar _decl0_32:i3.NgFormSelectorWarning = (<any>(null as any));\nvar _decl0_33:i4.CdkAutofill = (<any>(null as any));\nvar _decl0_34:i4.CdkTextareaAutosize = (<any>(null as any));\nvar _decl0_35:i5.MatError = (<any>(null as any));\nvar _decl0_36:i5.MatFormField = (<any>(null as any));\nvar _decl0_37:i5.MatHint = (<any>(null as any));\nvar _decl0_38:i5.MatLabel = (<any>(null as any));\nvar _decl0_39:i5.MatPlaceholder = (<any>(null as any));\nvar _decl0_40:i5.MatPrefix = (<any>(null as any));\nvar _decl0_41:i5.MatSuffix = (<any>(null as any));\nvar _decl0_42:i6.MatInput = (<any>(null as any));\nvar _decl0_43:i6.MatTextareaAutosize = (<any>(null as any));\nvar _decl0_44:i7.MatOption = (<any>(null as any));\nvar _decl0_45:i7.MatOptgroup = (<any>(null as any));\nvar _decl0_46:i8.Dir = (<any>(null as any));\nvar _decl0_47:i9.MatSelect = (<any>(null as any));\nvar _decl0_48:i9.MatSelectTrigger = (<any>(null as any));\nvar _decl0_49:i10.MatTabGroup = (<any>(null as any));\nvar _decl0_50:i10.MatTabLabel = (<any>(null as any));\nvar _decl0_51:i10.MatTab = (<any>(null as any));\nvar _decl0_52:i10.MatTabNav = (<any>(null as any));\nvar _decl0_53:i10.MatTabLink = (<any>(null as any));\nvar _decl0_54:i10.MatTabContent = (<any>(null as any));\nvar _decl0_55:i11.CommandDirective<any> = (<any>(null as any));\nvar _decl0_56:i12.FocusBindingDirective = (<any>(null as any));\nvar _decl0_57:i13.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i14.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i15.PasswordInputComponent = (<any>(null as any));\nvar _decl0_60:i16.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_61:i17.NoopComponent = (<any>(null as any));\nvar _decl0_62:i18.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_63:i19.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_64:i20.EmptyStateComponent = (<any>(null as any));\nvar _decl0_65:i21.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_66:i22.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_67:i23.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_68:i24.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_69:i25.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_70:i26.InplaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_71:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_72:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_73:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_74:i2.JsonPipe = (<any>(null as any));\nvar _decl0_75:i2.SlicePipe = (<any>(null as any));\nvar _decl0_76:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_77:i2.PercentPipe = (<any>(null as any));\nvar _decl0_78:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_79:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_80:i2.DatePipe = (<any>(null as any));\nvar _decl0_81:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_82:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_83:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_84:i2.CommonModule = (<any>(null as any));\nvar _decl0_85:i27.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_86:i3.FormsModule = (<any>(null as any));\nvar _decl0_87:i6.MatInputModule = (<any>(null as any));\nvar _decl0_88:i5.MatFormFieldModule = (<any>(null as any));\nvar _decl0_89:i9.MatSelectModule = (<any>(null as any));\nvar _decl0_90:i10.MatTabsModule = (<any>(null as any));\nvar _decl0_97:i28.DirectivesModule = (<any>(null as any));\nvar _decl0_98:i29.ComponentsModule = (<any>(null as any));\nvar _decl0_96:i30.PlaceModule = (<any>(null as any));\nvar _decl0_95:i31.InteractionModule = (<any>(null as any));\nvar _decl0_99:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_100:i0.ElementRef<any> = (<any>(null as any));\n"]}
1
+ {"version":3,"file":"angular-ui-powerups.module.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/angular-ui-powerups.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './angular-ui-powerups.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from '@angular/forms';\nimport * as i4 from '@angular/cdk/text-field';\nimport * as i5 from '@angular/material/form-field';\nimport * as i6 from '@angular/material/input';\nimport * as i7 from '@angular/material/core';\nimport * as i8 from '@angular/cdk/bidi';\nimport * as i9 from '@angular/material/select';\nimport * as i10 from '@angular/material/tabs';\nimport * as i11 from './directives/command.directive';\nimport * as i12 from './directives/focus-binding.directive';\nimport * as i13 from './components/forms/number-input/number-input.component';\nimport * as i14 from './components/forms/string-input/string-input.component';\nimport * as i15 from './components/forms/password-input/password-input.component';\nimport * as i16 from './components/forms/select-input/select-input.component';\nimport * as i17 from './components/noop/noop.component';\nimport * as i18 from './place/components/busy-overlay/busy-overlay.component';\nimport * as i19 from './place/components/place-outlet/place-outlet.component';\nimport * as i20 from './place/components/empty-state/empty-state.component';\nimport * as i21 from './place/components/tabbed-place-navigation/tabbed-place-navigation.component';\nimport * as i22 from './place/components/list-place-nav/list-place-nav.component';\nimport * as i23 from './place/components/abstract-place-navigation.component';\nimport * as i24 from './interaction/components/activity-container/activity-container.component';\nimport * as i25 from './interaction/components/activity-container/activity-outlet/activity-outlet.component';\nimport * as i26 from './interaction/components/inplace-interaction-context/in-place-interaction-context.component';\nimport * as i27 from '@angular/platform-browser/animations';\nimport * as i28 from './directives/directives.module';\nimport * as i29 from './components/components.module';\nimport * as i30 from './place/place.module';\nimport * as i31 from './interaction/interaction.module';\nexport const AngularUiPowerupsModuleNgFactory:i0.NgModuleFactory<i1.AngularUiPowerupsModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.ɵangular_packages_forms_forms_z = (<any>(null as any));\nvar _decl0_12:i3.NgSelectOption = (<any>(null as any));\nvar _decl0_13:i3.ɵangular_packages_forms_forms_y = (<any>(null as any));\nvar _decl0_14:i3.DefaultValueAccessor = (<any>(null as any));\nvar _decl0_15:i3.NumberValueAccessor = (<any>(null as any));\nvar _decl0_16:i3.RangeValueAccessor = (<any>(null as any));\nvar _decl0_17:i3.CheckboxControlValueAccessor = (<any>(null as any));\nvar _decl0_18:i3.SelectControlValueAccessor = (<any>(null as any));\nvar _decl0_19:i3.SelectMultipleControlValueAccessor = (<any>(null as any));\nvar _decl0_20:i3.RadioControlValueAccessor = (<any>(null as any));\nvar _decl0_21:i3.NgControlStatus = (<any>(null as any));\nvar _decl0_22:i3.NgControlStatusGroup = (<any>(null as any));\nvar _decl0_23:i3.RequiredValidator = (<any>(null as any));\nvar _decl0_24:i3.MinLengthValidator = (<any>(null as any));\nvar _decl0_25:i3.MaxLengthValidator = (<any>(null as any));\nvar _decl0_26:i3.PatternValidator = (<any>(null as any));\nvar _decl0_27:i3.CheckboxRequiredValidator = (<any>(null as any));\nvar _decl0_28:i3.EmailValidator = (<any>(null as any));\nvar _decl0_29:i3.NgModel = (<any>(null as any));\nvar _decl0_30:i3.NgModelGroup = (<any>(null as any));\nvar _decl0_31:i3.NgForm = (<any>(null as any));\nvar _decl0_32:i3.NgFormSelectorWarning = (<any>(null as any));\nvar _decl0_33:i4.CdkAutofill = (<any>(null as any));\nvar _decl0_34:i4.CdkTextareaAutosize = (<any>(null as any));\nvar _decl0_35:i5.MatError = (<any>(null as any));\nvar _decl0_36:i5.MatFormField = (<any>(null as any));\nvar _decl0_37:i5.MatHint = (<any>(null as any));\nvar _decl0_38:i5.MatLabel = (<any>(null as any));\nvar _decl0_39:i5.MatPlaceholder = (<any>(null as any));\nvar _decl0_40:i5.MatPrefix = (<any>(null as any));\nvar _decl0_41:i5.MatSuffix = (<any>(null as any));\nvar _decl0_42:i6.MatInput = (<any>(null as any));\nvar _decl0_43:i6.MatTextareaAutosize = (<any>(null as any));\nvar _decl0_44:i7.MatOption = (<any>(null as any));\nvar _decl0_45:i7.MatOptgroup = (<any>(null as any));\nvar _decl0_46:i8.Dir = (<any>(null as any));\nvar _decl0_47:i9.MatSelect = (<any>(null as any));\nvar _decl0_48:i9.MatSelectTrigger = (<any>(null as any));\nvar _decl0_49:i10.MatTabGroup = (<any>(null as any));\nvar _decl0_50:i10.MatTabLabel = (<any>(null as any));\nvar _decl0_51:i10.MatTab = (<any>(null as any));\nvar _decl0_52:i10.MatTabNav = (<any>(null as any));\nvar _decl0_53:i10.MatTabLink = (<any>(null as any));\nvar _decl0_54:i10.MatTabContent = (<any>(null as any));\nvar _decl0_55:i11.CommandDirective<any> = (<any>(null as any));\nvar _decl0_56:i12.FocusBindingDirective = (<any>(null as any));\nvar _decl0_57:i13.NumberInputComponent = (<any>(null as any));\nvar _decl0_58:i14.StringInputComponent = (<any>(null as any));\nvar _decl0_59:i15.PasswordInputComponent = (<any>(null as any));\nvar _decl0_60:i16.SelectInputComponent<any> = (<any>(null as any));\nvar _decl0_61:i17.NoopComponent = (<any>(null as any));\nvar _decl0_62:i18.BusyOverlayComponent = (<any>(null as any));\nvar _decl0_63:i19.PlaceOutletComponent = (<any>(null as any));\nvar _decl0_64:i20.EmptyStateComponent = (<any>(null as any));\nvar _decl0_65:i21.TabbedPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_66:i22.ListPlaceNavComponent = (<any>(null as any));\nvar _decl0_67:i23.AbstractPlaceNavigationComponent = (<any>(null as any));\nvar _decl0_68:i24.ActivityContainerComponent<any,any,any> = (<any>(null as any));\nvar _decl0_69:i25.ActivityOutletComponent<any,any,any> = (<any>(null as any));\nvar _decl0_70:i26.InPlaceInteractionContextComponent<any,any,any> = (<any>(null as any));\nvar _decl0_71:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_72:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_73:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_74:i2.JsonPipe = (<any>(null as any));\nvar _decl0_75:i2.SlicePipe = (<any>(null as any));\nvar _decl0_76:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_77:i2.PercentPipe = (<any>(null as any));\nvar _decl0_78:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_79:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_80:i2.DatePipe = (<any>(null as any));\nvar _decl0_81:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_82:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_83:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_84:i2.CommonModule = (<any>(null as any));\nvar _decl0_85:i27.BrowserAnimationsModule = (<any>(null as any));\nvar _decl0_86:i3.FormsModule = (<any>(null as any));\nvar _decl0_87:i6.MatInputModule = (<any>(null as any));\nvar _decl0_88:i5.MatFormFieldModule = (<any>(null as any));\nvar _decl0_89:i9.MatSelectModule = (<any>(null as any));\nvar _decl0_90:i10.MatTabsModule = (<any>(null as any));\nvar _decl0_97:i28.DirectivesModule = (<any>(null as any));\nvar _decl0_98:i29.ComponentsModule = (<any>(null as any));\nvar _decl0_96:i30.PlaceModule = (<any>(null as any));\nvar _decl0_95:i31.InteractionModule = (<any>(null as any));\nvar _decl0_99:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_100:i0.ElementRef<any> = (<any>(null as any));\n"]}
@@ -0,0 +1,146 @@
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { AlertDialogComponent } from './components/alert-dialog/alert-dialog.component';
6
+ import { ConfirmThenDialogComponent } from './components/confirm-then-dialog/confirm-then-dialog.component';
7
+ import { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';
8
+ /**
9
+ * @abstract
10
+ */
11
+ var /**
12
+ * @abstract
13
+ */
14
+ AbstractInteractionContext = /** @class */ (function () {
15
+ function AbstractInteractionContext() {
16
+ }
17
+ /**
18
+ * @template D, R, E
19
+ * @param {?} activityType
20
+ * @param {?=} data
21
+ * @return {?}
22
+ */
23
+ AbstractInteractionContext.prototype.startActivity = /**
24
+ * @template D, R, E
25
+ * @param {?} activityType
26
+ * @param {?=} data
27
+ * @return {?}
28
+ */
29
+ function (activityType, data) {
30
+ return this.createAndLaunchActivity(activityType, data, false);
31
+ };
32
+ /**
33
+ * @param {?} confirm
34
+ * @return {?}
35
+ */
36
+ AbstractInteractionContext.prototype.confirm = /**
37
+ * @param {?} confirm
38
+ * @return {?}
39
+ */
40
+ function (confirm) {
41
+ // Important: we have to implement confirmOrReject as the main entry point
42
+ // as the canDeactivation guards need to be able to cancel an interaction
43
+ // without caring about returning a value.
44
+ return this.confirmOrReject(confirm).then((/**
45
+ * @return {?}
46
+ */
47
+ function () { return true; })).catch((/**
48
+ * @return {?}
49
+ */
50
+ function () { return false; }));
51
+ };
52
+ /**
53
+ * @param {?} alert
54
+ * @return {?}
55
+ */
56
+ AbstractInteractionContext.prototype.alert = /**
57
+ * @param {?} alert
58
+ * @return {?}
59
+ */
60
+ function (alert) {
61
+ // TODO: Test disableClose === false
62
+ return this.createAndLaunchActivity(AlertDialogComponent, alert, false);
63
+ };
64
+ /**
65
+ * @param {?} confirm
66
+ * @return {?}
67
+ */
68
+ AbstractInteractionContext.prototype.confirmOrReject = /**
69
+ * @param {?} confirm
70
+ * @return {?}
71
+ */
72
+ function (confirm) {
73
+ return this.createAndLaunchActivity(ConfirmationDialogComponent, confirm, true);
74
+ };
75
+ /**
76
+ * Presents the confirmation to the user and runs the activity only if the user confirms.
77
+ * @param confirm:Confirm the confirmation to display.
78
+ * @param activityType the activity to run if confirmed.
79
+ * @param data the activity data.
80
+ */
81
+ /**
82
+ * Presents the confirmation to the user and runs the activity only if the user confirms.
83
+ * @template D, R, E
84
+ * @param {?} confirm
85
+ * @param {?} activityType the activity to run if confirmed.
86
+ * @param {?=} data the activity data.
87
+ * @return {?}
88
+ */
89
+ AbstractInteractionContext.prototype.confirmThen = /**
90
+ * Presents the confirmation to the user and runs the activity only if the user confirms.
91
+ * @template D, R, E
92
+ * @param {?} confirm
93
+ * @param {?} activityType the activity to run if confirmed.
94
+ * @param {?=} data the activity data.
95
+ * @return {?}
96
+ */
97
+ function (confirm, activityType, data) {
98
+ return this.createAndLaunchActivity(ConfirmThenDialogComponent, {
99
+ confirm: confirm,
100
+ activityType: activityType,
101
+ data: data
102
+ }, true);
103
+ };
104
+ return AbstractInteractionContext;
105
+ }());
106
+ /**
107
+ * @abstract
108
+ */
109
+ export { AbstractInteractionContext };
110
+ if (false) {
111
+ /** @type {?} */
112
+ AbstractInteractionContext.prototype.identifier;
113
+ /**
114
+ * @abstract
115
+ * @return {?}
116
+ */
117
+ AbstractInteractionContext.prototype.cancelActiveActivity = function () { };
118
+ /**
119
+ * @abstract
120
+ * @return {?}
121
+ */
122
+ AbstractInteractionContext.prototype.dispose = function () { };
123
+ /**
124
+ * @abstract
125
+ * @template T
126
+ * @param {?} disposable
127
+ * @return {?}
128
+ */
129
+ AbstractInteractionContext.prototype.registerDisposable = function (disposable) { };
130
+ /**
131
+ * @abstract
132
+ * @return {?}
133
+ */
134
+ AbstractInteractionContext.prototype.isActive = function () { };
135
+ /**
136
+ * @abstract
137
+ * @protected
138
+ * @template D, R, E
139
+ * @param {?} activityType
140
+ * @param {?} data
141
+ * @param {?} disableClose
142
+ * @return {?}
143
+ */
144
+ AbstractInteractionContext.prototype.createAndLaunchActivity = function (activityType, data, disableClose) { };
145
+ }
146
+ //# sourceMappingURL=abstract-interaction-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abstract-interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/abstract-interaction-context.ts"],"names":[],"mappings":";;;;AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;;;;AAI7G;;;;IAAA;IA6CA,CAAC;;;;;;;IAjCC,kDAAa;;;;;;IAAb,UAAuB,YAA8C,EAAE,IAAQ;QAC7E,OAAO,IAAI,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACjE,CAAC;;;;;IAED,4CAAO;;;;IAAP,UAAQ,OAAgB;QACtB,0EAA0E;QAC1E,yEAAyE;QACzE,0CAA0C;QAC1C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI;;;QAAC,cAAM,OAAA,IAAI,EAAJ,CAAI,EAAC,CAAC,KAAK;;;QAAC,cAAM,OAAA,KAAK,EAAL,CAAK,EAAC,CAAC;IAC3E,CAAC;;;;;IAED,0CAAK;;;;IAAL,UAAM,KAAY;QAChB,oCAAoC;QACpC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;;;;;IAED,oDAAe;;;;IAAf,UAAgB,OAAgB;QAC9B,OAAO,IAAI,CAAC,uBAAuB,CAAC,2BAA2B,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IACD;;;;;OAKG;;;;;;;;;IACH,gDAAW;;;;;;;;IAAX,UAAqB,OAAgB,EAAE,YAA8C,EAAE,IAAQ;QAC7F,OAAO,IAAI,CAAC,uBAAuB,CAAiD,0BAA0B,EAAE;YAC9G,OAAO,SAAA;YACP,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,IAAI;SACX,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;IAEH,iCAAC;AAAD,CAAC,AA7CD,IA6CC;;;;;;;IA5CC,gDAAqC;;;;;IAErC,4EAAkD;;;;;IAElD,+DAAyB;;;;;;;IAEzB,oFAAoE;;;;;IACpE,gEAA6B;;;;;;;;;;IAE7B,+GAAgJ","sourcesContent":["import { Constructable, Disposable, ValueModel } from '@coolon/pectin';\nimport { Activity } from './activity';\nimport { Alert } from './alert';\nimport { AlertDialogComponent } from './components/alert-dialog/alert-dialog.component';\nimport { ConfirmThenDialogComponent } from './components/confirm-then-dialog/confirm-then-dialog.component';\nimport { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';\nimport { Confirm } from './confirm';\nimport { InteractionContext } from './interaction-context';\n\nexport abstract class AbstractInteractionContext implements InteractionContext {\n abstract readonly identifier: string;\n\n abstract cancelActiveActivity(): Promise<boolean>;\n\n abstract dispose(): void;\n\n abstract registerDisposable<T extends Disposable>(disposable: T): T;\n abstract isActive(): boolean;\n\n protected abstract createAndLaunchActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data: D, disableClose: boolean): Promise<R>;\n\n startActivity<D, R, E>(activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R> {\n return this.createAndLaunchActivity(activityType, data, false);\n }\n\n confirm(confirm: Confirm): Promise<boolean> {\n // Important: we have to implement confirmOrReject as the main entry point\n // as the canDeactivation guards need to be able to cancel an interaction\n // without caring about returning a value.\n return this.confirmOrReject(confirm).then(() => true).catch(() => false);\n }\n\n alert(alert: Alert): Promise<void> {\n // TODO: Test disableClose === false\n return this.createAndLaunchActivity(AlertDialogComponent, alert, false);\n }\n\n confirmOrReject(confirm: Confirm): Promise<void> {\n return this.createAndLaunchActivity(ConfirmationDialogComponent, confirm, true);\n }\n /**\n * Presents the confirmation to the user and runs the activity only if the user confirms.\n * @param confirm:Confirm the confirmation to display.\n * @param activityType the activity to run if confirmed.\n * @param data the activity data.\n */\n confirmThen<D, R, E>(confirm: Confirm, activityType: Constructable<Activity<D, R, E>>, data?: D): Promise<R> {\n return this.createAndLaunchActivity<ConfirmThenDialogComponent.Data<D, R, E>, R, E>(ConfirmThenDialogComponent, {\n confirm,\n activityType: activityType,\n data: data\n }, true);\n }\n\n}\n"]}
@@ -0,0 +1,153 @@
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { assert, Deferred } from '@coolon/pectin';
6
+ /**
7
+ * @template D, R, E
8
+ */
9
+ var /**
10
+ * @template D, R, E
11
+ */
12
+ ActivityRef = /** @class */ (function () {
13
+ function ActivityRef(activityClass, activityData, onComplete) {
14
+ this.activityClass = activityClass;
15
+ this.activityData = activityData;
16
+ this.onComplete = onComplete;
17
+ this._complete = false;
18
+ this.deferredResult = Deferred.defer();
19
+ }
20
+ /**
21
+ * @return {?}
22
+ */
23
+ ActivityRef.prototype.isActivityRealised = /**
24
+ * @return {?}
25
+ */
26
+ function () {
27
+ return !!this._activity;
28
+ };
29
+ /**
30
+ * @return {?}
31
+ */
32
+ ActivityRef.prototype.isComplete = /**
33
+ * @return {?}
34
+ */
35
+ function () {
36
+ return this._complete;
37
+ };
38
+ Object.defineProperty(ActivityRef.prototype, "activity", {
39
+ get: /**
40
+ * @return {?}
41
+ */
42
+ function () {
43
+ assert.isTruthy(this.isActivityRealised());
44
+ return this._activity;
45
+ },
46
+ enumerable: true,
47
+ configurable: true
48
+ });
49
+ /**
50
+ * @param {?} activity
51
+ * @param {?} nestedInteractionContext
52
+ * @return {?}
53
+ */
54
+ ActivityRef.prototype.notifyActivityCreated = /**
55
+ * @param {?} activity
56
+ * @param {?} nestedInteractionContext
57
+ * @return {?}
58
+ */
59
+ function (activity, nestedInteractionContext) {
60
+ assert.isNil(this._activity);
61
+ this._activity = activity;
62
+ /** @type {?} */
63
+ var self = this;
64
+ this._activity.initialise(nestedInteractionContext, {
65
+ onDone: /**
66
+ * @param {?} result
67
+ * @return {?}
68
+ */
69
+ function (result) {
70
+ self.finishActivity((/**
71
+ * @param {?} deferred
72
+ * @return {?}
73
+ */
74
+ function (deferred) { return deferred.resolve(result); }));
75
+ },
76
+ onCancel: /**
77
+ * @param {?} error
78
+ * @return {?}
79
+ */
80
+ function (error) {
81
+ self.finishActivity((/**
82
+ * @param {?} deferred
83
+ * @return {?}
84
+ */
85
+ function (deferred) { return deferred.reject(error); }));
86
+ }
87
+ });
88
+ };
89
+ /**
90
+ * @protected
91
+ * @param {?} resolveOrReject
92
+ * @return {?}
93
+ */
94
+ ActivityRef.prototype.finishActivity = /**
95
+ * @protected
96
+ * @param {?} resolveOrReject
97
+ * @return {?}
98
+ */
99
+ function (resolveOrReject) {
100
+ assert.isFalsey(this.isComplete());
101
+ resolveOrReject(this.deferredResult);
102
+ this._complete = true;
103
+ this.onComplete(this);
104
+ };
105
+ /**
106
+ * @return {?}
107
+ */
108
+ ActivityRef.prototype.cancel = /**
109
+ * @return {?}
110
+ */
111
+ function () {
112
+ this.activity.cancel();
113
+ };
114
+ Object.defineProperty(ActivityRef.prototype, "activityResult", {
115
+ get: /**
116
+ * @return {?}
117
+ */
118
+ function () {
119
+ return this.deferredResult.promise;
120
+ },
121
+ enumerable: true,
122
+ configurable: true
123
+ });
124
+ return ActivityRef;
125
+ }());
126
+ /**
127
+ * @template D, R, E
128
+ */
129
+ export { ActivityRef };
130
+ if (false) {
131
+ /**
132
+ * @type {?}
133
+ * @private
134
+ */
135
+ ActivityRef.prototype._complete;
136
+ /**
137
+ * @type {?}
138
+ * @private
139
+ */
140
+ ActivityRef.prototype._activity;
141
+ /**
142
+ * @type {?}
143
+ * @private
144
+ */
145
+ ActivityRef.prototype.deferredResult;
146
+ /** @type {?} */
147
+ ActivityRef.prototype.activityClass;
148
+ /** @type {?} */
149
+ ActivityRef.prototype.activityData;
150
+ /** @type {?} */
151
+ ActivityRef.prototype.onComplete;
152
+ }
153
+ //# sourceMappingURL=activity-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activity-ref.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity-ref.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAS,MAAM,gBAAgB,CAAC;;;;AAIxE;;;;IAME,qBAAqB,aAA+C,EAC/C,YAAe,EACf,UAAuD;QAFvD,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAG;QACf,eAAU,GAAV,UAAU,CAA6C;QANpE,cAAS,GAAG,KAAK,CAAC;QAElB,mBAAc,GAAG,QAAQ,CAAC,KAAK,EAAK,CAAC;IAK7C,CAAC;;;;IAED,wCAAkB;;;IAAlB;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;;;;IAED,gCAAU;;;IAAV;QACE,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,sBAAI,iCAAQ;;;;QAAZ;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;YAC3C,OAAO,IAAI,CAAC,SAAS,CAAC;QACxB,CAAC;;;OAAA;;;;;;IAED,2CAAqB;;;;;IAArB,UAAsB,QAA2B,EAAE,wBAA4C;QAC7F,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;;YACpB,IAAI,GAAG,IAAI;QACjB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,wBAAwB,EAAE;YAClD,MAAM;;;;YAAN,UAAO,MAAS;gBACd,IAAI,CAAC,cAAc;;;;gBAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,EAAxB,CAAwB,EAAC,CAAC;YAC5D,CAAC;YACD,QAAQ;;;;YAAR,UAAS,KAAQ;gBACf,IAAI,CAAC,cAAc;;;;gBAAC,UAAA,QAAQ,IAAI,OAAA,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAtB,CAAsB,EAAC,CAAC;YAC1D,CAAC;SACF,CAAC,CAAC;IACL,CAAC;;;;;;IAES,oCAAc;;;;;IAAxB,UAAyB,eAAgD;QAEvE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QACnC,eAAe,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;;;;IAED,4BAAM;;;IAAN;QACE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,sBAAI,uCAAc;;;;QAAlB;YACE,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;QACrC,CAAC;;;OAAA;IAEH,kBAAC;AAAD,CAAC,AAtDD,IAsDC;;;;;;;;;;IApDC,gCAA0B;;;;;IAC1B,gCAAqC;;;;;IACrC,qCAA6C;;IAEjC,oCAAwD;;IACxD,mCAAwB;;IACxB,iCAAgE","sourcesContent":["import { assert, Constructable, Deferred, Trace } from '@coolon/pectin';\nimport { Activity } from './activity';\nimport { InteractionContext } from './interaction-context';\n\nexport class ActivityRef<D, R, E> {\n\n private _complete = false;\n private _activity: Activity<D, R, E>;\n private deferredResult = Deferred.defer<R>();\n\n constructor(readonly activityClass: Constructable<Activity<D, R, E>>,\n readonly activityData: D,\n readonly onComplete: (activityRef: ActivityRef<D, R, E>) => void) {\n }\n\n isActivityRealised(): boolean {\n return !!this._activity;\n }\n\n isComplete() {\n return this._complete;\n }\n\n get activity(): Activity<D, R, E> {\n assert.isTruthy(this.isActivityRealised());\n return this._activity;\n }\n\n notifyActivityCreated(activity: Activity<D, R, E>, nestedInteractionContext: InteractionContext) {\n assert.isNil(this._activity);\n this._activity = activity;\n const self = this;\n this._activity.initialise(nestedInteractionContext, {\n onDone(result: R) {\n self.finishActivity(deferred => deferred.resolve(result));\n },\n onCancel(error: E) {\n self.finishActivity(deferred => deferred.reject(error));\n }\n });\n }\n\n protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void) {\n\n assert.isFalsey(this.isComplete());\n resolveOrReject(this.deferredResult);\n this._complete = true;\n this.onComplete(this);\n }\n\n cancel() {\n this.activity.cancel();\n }\n\n get activityResult(): Promise<R> {\n return this.deferredResult.promise;\n }\n\n}\n"]}
@@ -24,17 +24,31 @@ Activity = /** @class */ (function (_super) {
24
24
  return _this;
25
25
  }
26
26
  /**
27
+ * @param {?} nestedInteractionContext
27
28
  * @param {?} activityContext
28
29
  * @return {?}
29
30
  */
30
31
  Activity.prototype.initialise = /**
32
+ * @param {?} nestedInteractionContext
31
33
  * @param {?} activityContext
32
34
  * @return {?}
33
35
  */
34
- function (activityContext) {
36
+ function (nestedInteractionContext, activityContext) {
35
37
  assert.isNil(this._activityContext);
36
38
  this._activityContext = activityContext;
39
+ this._interactionContext = nestedInteractionContext;
37
40
  };
41
+ Object.defineProperty(Activity.prototype, "interactionContext", {
42
+ get: /**
43
+ * @return {?}
44
+ */
45
+ function () {
46
+ assert.isTruthy(this.isInitialised());
47
+ return this._interactionContext;
48
+ },
49
+ enumerable: true,
50
+ configurable: true
51
+ });
38
52
  /**
39
53
  * @param {?=} result
40
54
  * @return {?}
@@ -99,6 +113,15 @@ Activity = /** @class */ (function (_super) {
99
113
  function () {
100
114
  return this._busyModel.value;
101
115
  };
116
+ /**
117
+ * @return {?}
118
+ */
119
+ Activity.prototype.isInitialised = /**
120
+ * @return {?}
121
+ */
122
+ function () {
123
+ return !!this._activityContext;
124
+ };
102
125
  return Activity;
103
126
  }(GarbageCollector));
104
127
  /**
@@ -117,6 +140,11 @@ if (false) {
117
140
  * @private
118
141
  */
119
142
  Activity.prototype._activityContext;
143
+ /**
144
+ * @type {?}
145
+ * @private
146
+ */
147
+ Activity.prototype._interactionContext;
120
148
  }
121
149
  (function (Activity) {
122
150
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAc,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;;AAEtD,MAAM,KAAO,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC;;;;;AAE/E;;;;;IAAsD,oCAAgB;IAAtE;QAAA,qEAmCC;QAjCkB,gBAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;IAiCvF,CAAC;;;;;IA9BC,6BAAU;;;;IAAV,UAAW,eAAyC;QAClD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1C,CAAC;;;;;IAED,uBAAI;;;;IAAJ,UAAK,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;;;;;IAED,yBAAM;;;;IAAN,UAAO,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;;;;;IACX,kCAAe;;;;;IAAf;IACA,CAAC;IAGD,sBAAI,0BAAI;;;;QAAR;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAClC,CAAC;;;OAAA;;;;;IAED,4BAAS;;;;IAAT,UAAU,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;;;;IAED,yBAAM;;;IAAN;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAEH,eAAC;AAAD,CAAC,AAnCD,CAAsD,gBAAgB,GAmCrE;;;;;;;;;;;IAjCC,8BAAqF;;;;;IACrF,oCAAmD;;AAkCrD,WAAiB,QAAQ;;;;;IAEvB,wBAGC;;;;QAFC,2BAA4B;;QAC5B,6BAA6B;;AAEjC,CAAC,EANgB,QAAQ,KAAR,QAAQ,QAMxB","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, GarbageCollector, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends GarbageCollector {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _activityContext: Activity.Callbacks<R, E>;\n\n initialise(activityContext: Activity.Callbacks<R, E>): void {\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n }\n\n done(result?: R): void {\n return this._activityContext.onDone(result);\n }\n\n cancel(error?: E): void {\n this._activityContext.onCancel(error);\n }\n\n // @Trace()\n onActivityReady() {\n }\n\n\n get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n busyWhile(busyModel: ValueModel<boolean>) {\n this._busyModel.setDelegate(busyModel);\n }\n\n isBusy() {\n return this._busyModel.value;\n }\n\n}\n\nexport namespace Activity {\n\n export interface Callbacks<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n }\n}\n"]}
1
+ {"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAqB,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;;AAGtD,MAAM,KAAO,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC;;;;;AAE/E;;;;;IAAsD,oCAAgB;IAAtE;QAAA,qEA+CC;QA7CkB,gBAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;;IA6CvF,CAAC;;;;;;IAvCC,6BAAU;;;;;IAAV,UAAW,wBAA4C,EAAE,eAAyC;QAChG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,wBAAwB,CAAC;IACtD,CAAC;IAED,sBAAI,wCAAkB;;;;QAAtB;YACE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;YACtC,OAAO,IAAI,CAAC,mBAAmB,CAAC;QAClC,CAAC;;;OAAA;;;;;IAED,uBAAI;;;;IAAJ,UAAK,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;;;;;IAED,yBAAM;;;;IAAN,UAAO,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;;;;;IACX,kCAAe;;;;;IAAf;IACA,CAAC;IAGD,sBAAI,0BAAI;;;;QAAR;YACE,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAClC,CAAC;;;OAAA;;;;;IAED,4BAAS;;;;IAAT,UAAU,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;;;;IAED,yBAAM;;;IAAN;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;;;;IAED,gCAAa;;;IAAb;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACH,eAAC;AAAD,CAAC,AA/CD,CAAsD,gBAAgB,GA+CrE;;;;;;;;;;;IA7CC,8BAAqF;;;;;IACrF,oCAAmD;;;;;IAGnD,uCAAgD;;AA2ClD,WAAiB,QAAQ;;;;;IAEvB,wBAGC;;;;QAFC,2BAA4B;;QAC5B,6BAA6B;;AAEjC,CAAC,EANgB,QAAQ,KAAR,QAAQ,QAMxB","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, GarbageCollector, Trace, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends GarbageCollector {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _activityContext: Activity.Callbacks<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Callbacks<R, E>): void {\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n }\n\n get interactionContext() {\n assert.isTruthy(this.isInitialised());\n return this._interactionContext;\n }\n\n done(result?: R): void {\n return this._activityContext.onDone(result);\n }\n\n cancel(error?: E): void {\n this._activityContext.onCancel(error);\n }\n\n // @Trace()\n onActivityReady() {\n }\n\n\n get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n busyWhile(busyModel: ValueModel<boolean>) {\n this._busyModel.setDelegate(busyModel);\n }\n\n isBusy() {\n return this._busyModel.value;\n }\n\n isInitialised() {\n return !!this._activityContext;\n }\n}\n\nexport namespace Activity {\n\n export interface Callbacks<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n }\n}\n"]}