@coolon/angular-ui-powerups 2.0.2 → 3.0.1

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 (844) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +2192 -2390
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -16
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  8. package/esm2015/index.js.map +1 -1
  9. package/esm2015/lib/angular-ui-powerups.module.js +27 -29
  10. package/esm2015/lib/angular-ui-powerups.module.js.map +1 -1
  11. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  12. package/esm2015/lib/animations/index.js.map +1 -1
  13. package/esm2015/lib/animations/slide-animations.js.map +1 -1
  14. package/esm2015/lib/components/card-container/card-container.component.js +13 -15
  15. package/esm2015/lib/components/card-container/card-container.component.js.map +1 -1
  16. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  17. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -1
  18. package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -1
  19. package/esm2015/lib/components/commands/command/command.component.js +21 -17
  20. package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
  21. package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +1 -1
  22. package/esm2015/lib/components/commands/command-face/command-face.component.js +19 -34
  23. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
  24. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
  25. package/esm2015/lib/components/commands/command-face/command-face.component.ngfactory.js.map +1 -1
  26. package/esm2015/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +1 -1
  27. package/esm2015/lib/components/commands/command-face.js.map +1 -1
  28. package/esm2015/lib/components/commands/flex.component.js +8 -11
  29. package/esm2015/lib/components/commands/flex.component.js.map +1 -1
  30. package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +1 -1
  31. package/esm2015/lib/components/commands/group/command-group/command-group.component.js +20 -26
  32. package/esm2015/lib/components/commands/group/command-group/command-group.component.js.map +1 -1
  33. package/esm2015/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +1 -1
  34. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +16 -25
  35. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +1 -1
  36. package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +1 -1
  37. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +16 -17
  38. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +1 -1
  39. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.metadata.json +1 -1
  40. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +1 -1
  41. package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +1 -1
  42. package/esm2015/lib/components/commands/group/command-group.js.map +1 -1
  43. package/esm2015/lib/components/commands/group/more-menu.component.js +15 -19
  44. package/esm2015/lib/components/commands/group/more-menu.component.js.map +1 -1
  45. package/esm2015/lib/components/commands/group/more-menu.component.metadata.json +1 -1
  46. package/esm2015/lib/components/commands/group/more-menu.component.ngfactory.js.map +1 -1
  47. package/esm2015/lib/components/commands/group/popup-menu.component.js +19 -32
  48. package/esm2015/lib/components/commands/group/popup-menu.component.js.map +1 -1
  49. package/esm2015/lib/components/commands/group/popup-menu.component.metadata.json +1 -1
  50. package/esm2015/lib/components/commands/group/popup-menu.component.ngfactory.js.map +1 -1
  51. package/esm2015/lib/components/commands/group/registration.js.map +1 -1
  52. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +13 -32
  53. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -1
  54. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
  55. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +1 -1
  56. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +1 -1
  57. package/esm2015/lib/components/commands/group/view-data.js.map +1 -1
  58. package/esm2015/lib/components/commands/separator.component.js +9 -13
  59. package/esm2015/lib/components/commands/separator.component.js.map +1 -1
  60. package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +1 -1
  61. package/esm2015/lib/components/components.module.js +107 -110
  62. package/esm2015/lib/components/components.module.js.map +1 -1
  63. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  64. package/esm2015/lib/components/disposable-component.js +5 -7
  65. package/esm2015/lib/components/disposable-component.js.map +1 -1
  66. package/esm2015/lib/components/focus-container/focus-container.component.js +16 -21
  67. package/esm2015/lib/components/focus-container/focus-container.component.js.map +1 -1
  68. package/esm2015/lib/components/focus-container/focus-container.component.ngfactory.js.map +1 -1
  69. package/esm2015/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +1 -1
  70. package/esm2015/lib/components/focusable.component.js +10 -25
  71. package/esm2015/lib/components/focusable.component.js.map +1 -1
  72. package/esm2015/lib/components/focusable.component.ngfactory.js.map +1 -1
  73. package/esm2015/lib/components/forms/abstract-input.component.js +25 -86
  74. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  75. package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -1
  76. package/esm2015/lib/components/forms/abstract-list-input.component.js +12 -17
  77. package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
  78. package/esm2015/lib/components/forms/abstract-list-input.component.metadata.json +1 -1
  79. package/esm2015/lib/components/forms/abstract-list-input.component.ngfactory.js.map +1 -1
  80. package/esm2015/lib/components/forms/abstract-value-input.component.js +12 -17
  81. package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
  82. package/esm2015/lib/components/forms/abstract-value-input.component.metadata.json +1 -1
  83. package/esm2015/lib/components/forms/abstract-value-input.component.ngfactory.js.map +1 -1
  84. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +19 -28
  85. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +1 -1
  86. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +1 -1
  87. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +1 -1
  88. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +14 -20
  89. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -1
  90. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  91. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -1
  92. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -1
  93. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +18 -24
  94. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
  95. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +1 -1
  96. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +1 -1
  97. package/esm2015/lib/components/forms/number-input/number-input.component.js +14 -20
  98. package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
  99. package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
  100. package/esm2015/lib/components/forms/number-input/number-input.component.ngfactory.js.map +1 -1
  101. package/esm2015/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +1 -1
  102. package/esm2015/lib/components/forms/password-input/password-input.component.js +11 -13
  103. package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
  104. package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
  105. package/esm2015/lib/components/forms/password-input/password-input.component.ngfactory.js.map +1 -1
  106. package/esm2015/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +1 -1
  107. package/esm2015/lib/components/forms/select-input/select-input.component.js +20 -32
  108. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  109. package/esm2015/lib/components/forms/select-input/select-input.component.ngfactory.js.map +1 -1
  110. package/esm2015/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +1 -1
  111. package/esm2015/lib/components/forms/string-input/string-input.component.js +15 -12
  112. package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
  113. package/esm2015/lib/components/forms/string-input/string-input.component.ngfactory.js.map +1 -1
  114. package/esm2015/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +1 -1
  115. package/esm2015/lib/components/forms/text-input/text-input.component.js +14 -20
  116. package/esm2015/lib/components/forms/text-input/text-input.component.js.map +1 -1
  117. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  118. package/esm2015/lib/components/forms/text-input/text-input.component.ngfactory.js.map +1 -1
  119. package/esm2015/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +1 -1
  120. package/esm2015/lib/components/icon/icon.component.js +13 -18
  121. package/esm2015/lib/components/icon/icon.component.js.map +1 -1
  122. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  123. package/esm2015/lib/components/icon/icon.component.ngfactory.js.map +1 -1
  124. package/esm2015/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +1 -1
  125. package/esm2015/lib/components/index.js +5 -0
  126. package/esm2015/lib/components/index.js.map +1 -1
  127. package/esm2015/lib/components/noop/noop.component.js +10 -12
  128. package/esm2015/lib/components/noop/noop.component.js.map +1 -1
  129. package/esm2015/lib/components/noop/noop.component.ngfactory.js.map +1 -1
  130. package/esm2015/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +1 -1
  131. package/esm2015/lib/components/resize-aware.component.js +6 -9
  132. package/esm2015/lib/components/resize-aware.component.js.map +1 -1
  133. package/esm2015/lib/components/scroll-container/scroll-container.component.js +10 -12
  134. package/esm2015/lib/components/scroll-container/scroll-container.component.js.map +1 -1
  135. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
  136. package/esm2015/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +1 -1
  137. package/esm2015/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +1 -1
  138. package/esm2015/lib/components/section-header/section-header.component.js +12 -16
  139. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
  140. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
  141. package/esm2015/lib/components/section-header/section-header.component.ngfactory.js.map +1 -1
  142. package/esm2015/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +1 -1
  143. package/esm2015/lib/components/switch-case/switch-case.component.js +36 -43
  144. package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
  145. package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
  146. package/esm2015/lib/components/switch-case/switch-case.component.ngfactory.js.map +1 -1
  147. package/esm2015/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +1 -1
  148. package/esm2015/lib/components/table/cell-editors.js +1 -0
  149. package/esm2015/lib/components/table/cell-editors.js.map +1 -1
  150. package/esm2015/lib/components/table/cell-portal-ref.js.map +1 -1
  151. package/esm2015/lib/components/table/cell-renderer.js +1 -0
  152. package/esm2015/lib/components/table/cell-renderer.js.map +1 -1
  153. package/esm2015/lib/components/table/column-model.js.map +1 -1
  154. package/esm2015/lib/components/table/column-template/column-template.directive.js +14 -29
  155. package/esm2015/lib/components/table/column-template/column-template.directive.js.map +1 -1
  156. package/esm2015/lib/components/table/column-template/column-template.directive.ngfactory.js.map +1 -1
  157. package/esm2015/lib/components/table/column-text-properties.js +1 -0
  158. package/esm2015/lib/components/table/column-text-properties.js.map +1 -1
  159. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +12 -16
  160. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  161. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +1 -1
  162. package/esm2015/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  163. package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +12 -15
  164. package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +1 -1
  165. package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +1 -1
  166. package/esm2015/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  167. package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js +14 -19
  168. package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
  169. package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +1 -1
  170. package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +1 -1
  171. package/esm2015/lib/components/table/edit-session.js.map +1 -1
  172. package/esm2015/lib/components/table/mutable-cell-renderer.js +1 -0
  173. package/esm2015/lib/components/table/mutable-cell-renderer.js.map +1 -1
  174. package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +12 -15
  175. package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +1 -1
  176. package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +1 -1
  177. package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  178. package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +10 -12
  179. package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +1 -1
  180. package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +1 -1
  181. package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  182. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +18 -39
  183. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  184. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +1 -1
  185. package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  186. package/esm2015/lib/components/table/table-def.js +1 -0
  187. package/esm2015/lib/components/table/table-def.js.map +1 -1
  188. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +13 -19
  189. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +1 -1
  190. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  191. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +1 -1
  192. package/esm2015/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +1 -1
  193. package/esm2015/lib/components/table/table-model.js +1 -4
  194. package/esm2015/lib/components/table/table-model.js.map +1 -1
  195. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js +14 -20
  196. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js.map +1 -1
  197. package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +1 -1
  198. package/esm2015/lib/components/table/table.component.js +12 -11
  199. package/esm2015/lib/components/table/table.component.js.map +1 -1
  200. package/esm2015/lib/components/table/table.component.metadata.json +1 -1
  201. package/esm2015/lib/components/table/table.component.ngfactory.js.map +1 -1
  202. package/esm2015/lib/components/table/table.component.scss.shim.ngstyle.js.map +1 -1
  203. package/esm2015/lib/components/track-by.js.map +1 -1
  204. package/esm2015/lib/components/types/bounds.class.js.map +1 -1
  205. package/esm2015/lib/components/types/dimension.class.js.map +1 -1
  206. package/esm2015/lib/components/types/point.class.js.map +1 -1
  207. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +21 -42
  208. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +1 -1
  209. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +1 -1
  210. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +1 -1
  211. package/esm2015/lib/directives/command.directive.js +14 -29
  212. package/esm2015/lib/directives/command.directive.js.map +1 -1
  213. package/esm2015/lib/directives/command.directive.ngfactory.js.map +1 -1
  214. package/esm2015/lib/directives/directives.module.js +23 -25
  215. package/esm2015/lib/directives/directives.module.js.map +1 -1
  216. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  217. package/esm2015/lib/directives/focus-binding-factory.js +9 -13
  218. package/esm2015/lib/directives/focus-binding-factory.js.map +1 -1
  219. package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +1 -1
  220. package/esm2015/lib/directives/focus-binding.directive.js +15 -34
  221. package/esm2015/lib/directives/focus-binding.directive.js.map +1 -1
  222. package/esm2015/lib/directives/focus-binding.directive.ngfactory.js.map +1 -1
  223. package/esm2015/lib/directives/focus-binding.js +8 -10
  224. package/esm2015/lib/directives/focus-binding.js.map +1 -1
  225. package/esm2015/lib/directives/index.js.map +1 -1
  226. package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
  227. package/esm2015/lib/interaction/activity-ref.js.map +1 -1
  228. package/esm2015/lib/interaction/activity.js +10 -11
  229. package/esm2015/lib/interaction/activity.js.map +1 -1
  230. package/esm2015/lib/interaction/activity.metadata.json +1 -1
  231. package/esm2015/lib/interaction/activity.ngfactory.js.map +1 -0
  232. package/esm2015/lib/interaction/alert.js +1 -0
  233. package/esm2015/lib/interaction/alert.js.map +1 -1
  234. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -33
  235. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  236. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  237. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +1 -1
  238. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +1 -1
  239. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +15 -23
  240. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  241. package/esm2015/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +1 -1
  242. package/esm2015/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +1 -1
  243. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +14 -24
  244. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
  245. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +1 -1
  246. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +1 -1
  247. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +19 -40
  248. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
  249. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  250. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +1 -1
  251. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
  252. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +9 -13
  253. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  254. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  255. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +1 -1
  256. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +1 -1
  257. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +9 -13
  258. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  259. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  260. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +1 -1
  261. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +1 -1
  262. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +9 -13
  263. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  264. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  265. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +1 -1
  266. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +1 -1
  267. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +13 -21
  268. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  269. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +1 -1
  270. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
  271. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +8 -13
  272. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -1
  273. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -1
  274. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +1 -0
  275. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -1
  276. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +1 -0
  277. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -1
  278. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +8 -10
  279. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  280. package/esm2015/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +1 -1
  281. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +8 -10
  282. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  283. package/esm2015/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +1 -1
  284. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +16 -28
  285. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
  286. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +1 -1
  287. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +1 -1
  288. package/esm2015/lib/interaction/confirm.js +1 -0
  289. package/esm2015/lib/interaction/confirm.js.map +1 -1
  290. package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js +17 -45
  291. package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +1 -1
  292. package/esm2015/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +1 -1
  293. package/esm2015/lib/interaction/index.js +7 -0
  294. package/esm2015/lib/interaction/index.js.map +1 -1
  295. package/esm2015/lib/interaction/interaction-context.js +1 -0
  296. package/esm2015/lib/interaction/interaction-context.js.map +1 -1
  297. package/esm2015/lib/interaction/interaction.module.js +59 -59
  298. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  299. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  300. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  301. package/esm2015/lib/interaction/result.js +1 -0
  302. package/esm2015/lib/interaction/result.js.map +1 -1
  303. package/esm2015/lib/interaction/route-synchronisation-adapter.js +1 -0
  304. package/esm2015/lib/interaction/route-synchronisation-adapter.js.map +1 -1
  305. package/esm2015/lib/interaction/services/interaction-service-routing-adapter.js.map +1 -1
  306. package/esm2015/lib/interaction/services/interaction.service.js +14 -18
  307. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  308. package/esm2015/lib/interaction/services/interaction.service.ngfactory.js.map +1 -1
  309. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +8 -15
  310. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +1 -1
  311. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +1 -1
  312. package/esm2015/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +1 -1
  313. package/esm2015/lib/interaction/services/modal-interaction-context.factory.js.map +1 -1
  314. package/esm2015/lib/place/components/abstract-place-navigation.component.js +17 -13
  315. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  316. package/esm2015/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +1 -1
  317. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js +15 -12
  318. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +1 -1
  319. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
  320. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -1
  321. package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -1
  322. package/esm2015/lib/place/components/empty-state/empty-state.component.js +10 -12
  323. package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +1 -1
  324. package/esm2015/lib/place/components/empty-state/empty-state.component.metadata.json +1 -1
  325. package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +1 -1
  326. package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -1
  327. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +9 -12
  328. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js.map +1 -1
  329. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  330. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +1 -1
  331. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +1 -1
  332. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +24 -29
  333. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js.map +1 -1
  334. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  335. package/esm2015/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +1 -1
  336. package/esm2015/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +1 -1
  337. package/esm2015/lib/place/components/place-outlet/route-animations.js.map +1 -1
  338. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +13 -20
  339. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
  340. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  341. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +1 -1
  342. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
  343. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +9 -12
  344. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +1 -1
  345. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +1 -1
  346. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +1 -1
  347. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  348. package/esm2015/lib/place/guards/noop-auth-guard.service.js +9 -10
  349. package/esm2015/lib/place/guards/noop-auth-guard.service.js.map +1 -1
  350. package/esm2015/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +1 -1
  351. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  352. package/esm2015/lib/place/index.js +5 -1
  353. package/esm2015/lib/place/index.js.map +1 -1
  354. package/esm2015/lib/place/index.metadata.json +1 -1
  355. package/esm2015/lib/place/nav-item.js +1 -0
  356. package/esm2015/lib/place/nav-item.js.map +1 -1
  357. package/esm2015/lib/place/navigation/place-component-deactivation-handler.js.map +1 -1
  358. package/esm2015/lib/place/navigation/session/abstract-pop-state-navigation.js.map +1 -1
  359. package/esm2015/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +1 -1
  360. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +1 -1
  361. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js +171 -0
  362. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.js.map +1 -0
  363. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.metadata.json +1 -0
  364. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +1 -1
  365. package/esm2015/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +1 -1
  366. package/esm2015/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +1 -1
  367. package/esm2015/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +1 -1
  368. package/esm2015/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +1 -1
  369. package/esm2015/lib/place/navigation/session/navigating.js +2 -2
  370. package/esm2015/lib/place/navigation/session/navigating.js.map +1 -1
  371. package/esm2015/lib/place/navigation/session/navigation-context.js.map +1 -1
  372. package/esm2015/lib/place/navigation/session/navigation-session.js.map +1 -1
  373. package/esm2015/lib/place/navigation/session/pop-state-navigation.js.map +1 -1
  374. package/esm2015/lib/place/navigation/session/pop-state-navigation.metadata.json +1 -1
  375. package/esm2015/lib/place/place-component.js +7 -9
  376. package/esm2015/lib/place/place-component.js.map +1 -1
  377. package/esm2015/lib/place/place-config.js.map +1 -1
  378. package/esm2015/lib/place/place-definition.js.map +1 -1
  379. package/esm2015/lib/place/place-history.js +9 -12
  380. package/esm2015/lib/place/place-history.js.map +1 -1
  381. package/esm2015/lib/place/place-history.ngfactory.js.map +1 -1
  382. package/esm2015/lib/place/place-router.js +10 -16
  383. package/esm2015/lib/place/place-router.js.map +1 -1
  384. package/esm2015/lib/place/place-router.ngfactory.js.map +1 -1
  385. package/esm2015/lib/place/place.decorator.js.map +1 -1
  386. package/esm2015/lib/place/place.module.js +41 -43
  387. package/esm2015/lib/place/place.module.js.map +1 -1
  388. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  389. package/esm2015/lib/place/route/formatter.js.map +1 -1
  390. package/esm2015/lib/place/route/json-types.js +1 -0
  391. package/esm2015/lib/place/route/json-types.js.map +1 -1
  392. package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
  393. package/esm2015/lib/place/route/parameter-definition.class.js.map +1 -1
  394. package/esm2015/lib/place/route/parameter-sanitiser.js +1 -0
  395. package/esm2015/lib/place/route/parameter-sanitiser.js.map +1 -1
  396. package/esm2015/lib/place/route/parameter-snapshot.js +1 -0
  397. package/esm2015/lib/place/route/parameter-snapshot.js.map +1 -1
  398. package/esm2015/lib/place/route/visit-sanitiser.js.map +1 -1
  399. package/esm2015/lib/place/url-service.js +8 -11
  400. package/esm2015/lib/place/url-service.js.map +1 -1
  401. package/esm2015/lib/place/url-service.ngfactory.js.map +1 -1
  402. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  403. package/esm2015/lib/place/visit.js.map +1 -1
  404. package/esm2015/public_api.js.map +1 -1
  405. package/fesm2015/coolon-angular-ui-powerups.js +1446 -1754
  406. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  407. package/lib/components/forms/abstract-list-input.component.d.ts +3 -3
  408. package/lib/components/forms/abstract-value-input.component.d.ts +3 -3
  409. package/lib/components/table/cell-editors.d.ts +3 -3
  410. package/lib/interaction/activity.d.ts +1 -1
  411. package/lib/place/index.d.ts +1 -1
  412. package/lib/place/navigation/session/event-cleanup/{wait-until-link-triggered-interaction-cancelation-finishes.d.ts → wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts} +8 -24
  413. package/package.json +16 -18
  414. package/schematics/bootstrap-app/index.js +1 -0
  415. package/schematics/bootstrap-app/index.js.map +1 -1
  416. package/schematics/ng-add/index.js +1 -0
  417. package/schematics/ng-add/index.js.map +1 -1
  418. package/schematics/package-util.js +1 -0
  419. package/schematics/package-util.js.map +1 -1
  420. package/schematics/place-add/index.js +1 -0
  421. package/schematics/place-add/index.js.map +1 -1
  422. package/schematics/place-routes/index.js +1 -0
  423. package/schematics/place-routes/index.js.map +1 -1
  424. package/schematics/place-routes/place-builder.js +1 -0
  425. package/schematics/place-routes/place-builder.js.map +1 -1
  426. package/schematics/place-routes/place-class-scanner.js +1 -0
  427. package/schematics/place-routes/place-class-scanner.js.map +1 -1
  428. package/schematics/place-routes/place-def.js +1 -0
  429. package/schematics/place-routes/place-def.js.map +1 -1
  430. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -80
  431. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
  432. package/esm2015/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.metadata.json +0 -1
  433. package/esm5/coolon-angular-ui-powerups.js +0 -84
  434. package/esm5/coolon-angular-ui-powerups.js.map +0 -1
  435. package/esm5/index.js +0 -2
  436. package/esm5/index.js.map +0 -1
  437. package/esm5/lib/angular-ui-powerups.module.js +0 -46
  438. package/esm5/lib/angular-ui-powerups.module.js.map +0 -1
  439. package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +0 -1
  440. package/esm5/lib/animations/index.js +0 -5
  441. package/esm5/lib/animations/index.js.map +0 -1
  442. package/esm5/lib/animations/slide-animations.js +0 -23
  443. package/esm5/lib/animations/slide-animations.js.map +0 -1
  444. package/esm5/lib/components/card-container/card-container.component.js +0 -50
  445. package/esm5/lib/components/card-container/card-container.component.js.map +0 -1
  446. package/esm5/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
  447. package/esm5/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
  448. package/esm5/lib/components/commands/command/command.component.js +0 -64
  449. package/esm5/lib/components/commands/command/command.component.js.map +0 -1
  450. package/esm5/lib/components/commands/command/command.component.ngfactory.js.map +0 -1
  451. package/esm5/lib/components/commands/command-face/command-face.component.js +0 -123
  452. package/esm5/lib/components/commands/command-face/command-face.component.js.map +0 -1
  453. package/esm5/lib/components/commands/command-face/command-face.component.ngfactory.js.map +0 -1
  454. package/esm5/lib/components/commands/command-face/command-face.component.scss.ngstyle.js.map +0 -1
  455. package/esm5/lib/components/commands/command-face.js +0 -145
  456. package/esm5/lib/components/commands/command-face.js.map +0 -1
  457. package/esm5/lib/components/commands/flex.component.js +0 -33
  458. package/esm5/lib/components/commands/flex.component.js.map +0 -1
  459. package/esm5/lib/components/commands/flex.component.ngfactory.js.map +0 -1
  460. package/esm5/lib/components/commands/group/command-group/command-group.component.js +0 -51
  461. package/esm5/lib/components/commands/group/command-group/command-group.component.js.map +0 -1
  462. package/esm5/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +0 -1
  463. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +0 -59
  464. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +0 -1
  465. package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +0 -1
  466. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +0 -42
  467. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +0 -1
  468. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +0 -1
  469. package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +0 -1
  470. package/esm5/lib/components/commands/group/command-group.js +0 -122
  471. package/esm5/lib/components/commands/group/command-group.js.map +0 -1
  472. package/esm5/lib/components/commands/group/more-menu.component.js +0 -58
  473. package/esm5/lib/components/commands/group/more-menu.component.js.map +0 -1
  474. package/esm5/lib/components/commands/group/more-menu.component.ngfactory.js.map +0 -1
  475. package/esm5/lib/components/commands/group/popup-menu.component.js +0 -68
  476. package/esm5/lib/components/commands/group/popup-menu.component.js.map +0 -1
  477. package/esm5/lib/components/commands/group/popup-menu.component.ngfactory.js.map +0 -1
  478. package/esm5/lib/components/commands/group/registration.js +0 -80
  479. package/esm5/lib/components/commands/group/registration.js.map +0 -1
  480. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js +0 -58
  481. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js.map +0 -1
  482. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +0 -1
  483. package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +0 -1
  484. package/esm5/lib/components/commands/group/view-data.js +0 -131
  485. package/esm5/lib/components/commands/group/view-data.js.map +0 -1
  486. package/esm5/lib/components/commands/separator.component.js +0 -37
  487. package/esm5/lib/components/commands/separator.component.js.map +0 -1
  488. package/esm5/lib/components/commands/separator.component.ngfactory.js.map +0 -1
  489. package/esm5/lib/components/components.module.js +0 -180
  490. package/esm5/lib/components/components.module.js.map +0 -1
  491. package/esm5/lib/components/components.module.ngfactory.js.map +0 -1
  492. package/esm5/lib/components/disposable-component.js +0 -18
  493. package/esm5/lib/components/disposable-component.js.map +0 -1
  494. package/esm5/lib/components/focus-container/focus-container.component.js +0 -44
  495. package/esm5/lib/components/focus-container/focus-container.component.js.map +0 -1
  496. package/esm5/lib/components/focus-container/focus-container.component.ngfactory.js.map +0 -1
  497. package/esm5/lib/components/focus-container/focus-container.component.scss.shim.ngstyle.js.map +0 -1
  498. package/esm5/lib/components/focusable.component.js +0 -71
  499. package/esm5/lib/components/focusable.component.js.map +0 -1
  500. package/esm5/lib/components/focusable.component.ngfactory.js.map +0 -1
  501. package/esm5/lib/components/forms/abstract-input.component.js +0 -197
  502. package/esm5/lib/components/forms/abstract-input.component.js.map +0 -1
  503. package/esm5/lib/components/forms/abstract-input.component.ngfactory.js.map +0 -1
  504. package/esm5/lib/components/forms/abstract-list-input.component.js +0 -80
  505. package/esm5/lib/components/forms/abstract-list-input.component.js.map +0 -1
  506. package/esm5/lib/components/forms/abstract-list-input.component.ngfactory.js.map +0 -1
  507. package/esm5/lib/components/forms/abstract-value-input.component.js +0 -80
  508. package/esm5/lib/components/forms/abstract-value-input.component.js.map +0 -1
  509. package/esm5/lib/components/forms/abstract-value-input.component.ngfactory.js.map +0 -1
  510. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js +0 -73
  511. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.js.map +0 -1
  512. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.ngfactory.js.map +0 -1
  513. package/esm5/lib/components/forms/autocomplete-input/autocomplete-input.component.scss.shim.ngstyle.js.map +0 -1
  514. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +0 -35
  515. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +0 -1
  516. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +0 -1
  517. package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +0 -1
  518. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +0 -52
  519. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +0 -1
  520. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.ngfactory.js.map +0 -1
  521. package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.scss.shim.ngstyle.js.map +0 -1
  522. package/esm5/lib/components/forms/number-input/number-input.component.js +0 -35
  523. package/esm5/lib/components/forms/number-input/number-input.component.js.map +0 -1
  524. package/esm5/lib/components/forms/number-input/number-input.component.ngfactory.js.map +0 -1
  525. package/esm5/lib/components/forms/number-input/number-input.component.scss.shim.ngstyle.js.map +0 -1
  526. package/esm5/lib/components/forms/password-input/password-input.component.js +0 -24
  527. package/esm5/lib/components/forms/password-input/password-input.component.js.map +0 -1
  528. package/esm5/lib/components/forms/password-input/password-input.component.ngfactory.js.map +0 -1
  529. package/esm5/lib/components/forms/password-input/password-input.component.scss.shim.ngstyle.js.map +0 -1
  530. package/esm5/lib/components/forms/select-input/select-input.component.js +0 -60
  531. package/esm5/lib/components/forms/select-input/select-input.component.js.map +0 -1
  532. package/esm5/lib/components/forms/select-input/select-input.component.ngfactory.js.map +0 -1
  533. package/esm5/lib/components/forms/select-input/select-input.component.scss.shim.ngstyle.js.map +0 -1
  534. package/esm5/lib/components/forms/string-input/string-input.component.js +0 -37
  535. package/esm5/lib/components/forms/string-input/string-input.component.js.map +0 -1
  536. package/esm5/lib/components/forms/string-input/string-input.component.ngfactory.js.map +0 -1
  537. package/esm5/lib/components/forms/string-input/string-input.component.scss.shim.ngstyle.js.map +0 -1
  538. package/esm5/lib/components/forms/text-input/text-input.component.js +0 -35
  539. package/esm5/lib/components/forms/text-input/text-input.component.js.map +0 -1
  540. package/esm5/lib/components/forms/text-input/text-input.component.ngfactory.js.map +0 -1
  541. package/esm5/lib/components/forms/text-input/text-input.component.scss.shim.ngstyle.js.map +0 -1
  542. package/esm5/lib/components/icon/icon.component.js +0 -57
  543. package/esm5/lib/components/icon/icon.component.js.map +0 -1
  544. package/esm5/lib/components/icon/icon.component.ngfactory.js.map +0 -1
  545. package/esm5/lib/components/icon/icon.component.scss.shim.ngstyle.js.map +0 -1
  546. package/esm5/lib/components/index.js +0 -59
  547. package/esm5/lib/components/index.js.map +0 -1
  548. package/esm5/lib/components/noop/noop.component.js +0 -17
  549. package/esm5/lib/components/noop/noop.component.js.map +0 -1
  550. package/esm5/lib/components/noop/noop.component.ngfactory.js.map +0 -1
  551. package/esm5/lib/components/noop/noop.component.scss.shim.ngstyle.js.map +0 -1
  552. package/esm5/lib/components/resize-aware.component.js +0 -65
  553. package/esm5/lib/components/resize-aware.component.js.map +0 -1
  554. package/esm5/lib/components/scroll-container/scroll-container.component.js +0 -19
  555. package/esm5/lib/components/scroll-container/scroll-container.component.js.map +0 -1
  556. package/esm5/lib/components/scroll-container/scroll-container.component.ngfactory.js.map +0 -1
  557. package/esm5/lib/components/scroll-container/scroll-container.component.scss.shim.ngstyle.js.map +0 -1
  558. package/esm5/lib/components/section-header/section-header.component.js +0 -25
  559. package/esm5/lib/components/section-header/section-header.component.js.map +0 -1
  560. package/esm5/lib/components/section-header/section-header.component.ngfactory.js.map +0 -1
  561. package/esm5/lib/components/section-header/section-header.component.scss.shim.ngstyle.js.map +0 -1
  562. package/esm5/lib/components/switch-case/switch-case.component.js +0 -144
  563. package/esm5/lib/components/switch-case/switch-case.component.js.map +0 -1
  564. package/esm5/lib/components/switch-case/switch-case.component.ngfactory.js.map +0 -1
  565. package/esm5/lib/components/switch-case/switch-case.component.scss.shim.ngstyle.js.map +0 -1
  566. package/esm5/lib/components/table/cell-editors.js +0 -1
  567. package/esm5/lib/components/table/cell-editors.js.map +0 -1
  568. package/esm5/lib/components/table/cell-portal-ref.js +0 -117
  569. package/esm5/lib/components/table/cell-portal-ref.js.map +0 -1
  570. package/esm5/lib/components/table/cell-renderer.js +0 -1
  571. package/esm5/lib/components/table/cell-renderer.js.map +0 -1
  572. package/esm5/lib/components/table/column-model.js +0 -346
  573. package/esm5/lib/components/table/column-model.js.map +0 -1
  574. package/esm5/lib/components/table/column-template/column-template.directive.js +0 -50
  575. package/esm5/lib/components/table/column-template/column-template.directive.js.map +0 -1
  576. package/esm5/lib/components/table/column-template/column-template.directive.ngfactory.js.map +0 -1
  577. package/esm5/lib/components/table/column-text-properties.js +0 -1
  578. package/esm5/lib/components/table/column-text-properties.js.map +0 -1
  579. package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js +0 -32
  580. package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.js.map +0 -1
  581. package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.ngfactory.js.map +0 -1
  582. package/esm5/lib/components/table/default-cell-renderer/default-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  583. package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js +0 -21
  584. package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.js.map +0 -1
  585. package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.ngfactory.js.map +0 -1
  586. package/esm5/lib/components/table/default-header-cell-renderer/default-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  587. package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js +0 -57
  588. package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +0 -1
  589. package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.ngfactory.js.map +0 -1
  590. package/esm5/lib/components/table/edit-row-controls/edit-row-controls.component.scss.shim.ngstyle.js.map +0 -1
  591. package/esm5/lib/components/table/edit-session.js +0 -28
  592. package/esm5/lib/components/table/edit-session.js.map +0 -1
  593. package/esm5/lib/components/table/mutable-cell-renderer.js +0 -1
  594. package/esm5/lib/components/table/mutable-cell-renderer.js.map +0 -1
  595. package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js +0 -32
  596. package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +0 -1
  597. package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.ngfactory.js.map +0 -1
  598. package/esm5/lib/components/table/select-cell-renderer/select-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  599. package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js +0 -33
  600. package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +0 -1
  601. package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.ngfactory.js.map +0 -1
  602. package/esm5/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  603. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js +0 -106
  604. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +0 -1
  605. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.ngfactory.js.map +0 -1
  606. package/esm5/lib/components/table/table-cell-renderer/table-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  607. package/esm5/lib/components/table/table-def.js +0 -1
  608. package/esm5/lib/components/table/table-def.js.map +0 -1
  609. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js +0 -38
  610. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.js.map +0 -1
  611. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.ngfactory.js.map +0 -1
  612. package/esm5/lib/components/table/table-header-cell-renderer/table-header-cell-renderer.component.scss.shim.ngstyle.js.map +0 -1
  613. package/esm5/lib/components/table/table-model.js +0 -243
  614. package/esm5/lib/components/table/table-model.js.map +0 -1
  615. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js +0 -63
  616. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js.map +0 -1
  617. package/esm5/lib/components/table/table-row-menu/table-row-menu.component.ngfactory.js.map +0 -1
  618. package/esm5/lib/components/table/table.component.js +0 -75
  619. package/esm5/lib/components/table/table.component.js.map +0 -1
  620. package/esm5/lib/components/table/table.component.ngfactory.js.map +0 -1
  621. package/esm5/lib/components/table/table.component.scss.shim.ngstyle.js.map +0 -1
  622. package/esm5/lib/components/track-by.js +0 -5
  623. package/esm5/lib/components/track-by.js.map +0 -1
  624. package/esm5/lib/components/types/bounds.class.js +0 -32
  625. package/esm5/lib/components/types/bounds.class.js.map +0 -1
  626. package/esm5/lib/components/types/dimension.class.js +0 -9
  627. package/esm5/lib/components/types/dimension.class.js.map +0 -1
  628. package/esm5/lib/components/types/point.class.js +0 -15
  629. package/esm5/lib/components/types/point.class.js.map +0 -1
  630. package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js +0 -90
  631. package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +0 -1
  632. package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.ngfactory.js.map +0 -1
  633. package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.scss.shim.ngstyle.js.map +0 -1
  634. package/esm5/lib/directives/command.directive.js +0 -116
  635. package/esm5/lib/directives/command.directive.js.map +0 -1
  636. package/esm5/lib/directives/command.directive.ngfactory.js.map +0 -1
  637. package/esm5/lib/directives/directives.module.js +0 -39
  638. package/esm5/lib/directives/directives.module.js.map +0 -1
  639. package/esm5/lib/directives/directives.module.ngfactory.js.map +0 -1
  640. package/esm5/lib/directives/focus-binding-factory.js +0 -32
  641. package/esm5/lib/directives/focus-binding-factory.js.map +0 -1
  642. package/esm5/lib/directives/focus-binding-factory.ngfactory.js.map +0 -1
  643. package/esm5/lib/directives/focus-binding.directive.js +0 -80
  644. package/esm5/lib/directives/focus-binding.directive.js.map +0 -1
  645. package/esm5/lib/directives/focus-binding.directive.ngfactory.js.map +0 -1
  646. package/esm5/lib/directives/focus-binding.js +0 -88
  647. package/esm5/lib/directives/focus-binding.js.map +0 -1
  648. package/esm5/lib/directives/index.js +0 -9
  649. package/esm5/lib/directives/index.js.map +0 -1
  650. package/esm5/lib/interaction/abstract-interaction-context.js +0 -40
  651. package/esm5/lib/interaction/abstract-interaction-context.js.map +0 -1
  652. package/esm5/lib/interaction/activity-ref.js +0 -68
  653. package/esm5/lib/interaction/activity-ref.js.map +0 -1
  654. package/esm5/lib/interaction/activity.js +0 -86
  655. package/esm5/lib/interaction/activity.js.map +0 -1
  656. package/esm5/lib/interaction/alert.js +0 -1
  657. package/esm5/lib/interaction/alert.js.map +0 -1
  658. package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js +0 -83
  659. package/esm5/lib/interaction/components/activity-actions/activity-actions.component.js.map +0 -1
  660. package/esm5/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.js.map +0 -1
  661. package/esm5/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.js.map +0 -1
  662. package/esm5/lib/interaction/components/activity-container/activity-container.component.js +0 -226
  663. package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +0 -1
  664. package/esm5/lib/interaction/components/activity-container/activity-container.component.ngfactory.js.map +0 -1
  665. package/esm5/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.js.map +0 -1
  666. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +0 -80
  667. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +0 -1
  668. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.js.map +0 -1
  669. package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.js.map +0 -1
  670. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +0 -90
  671. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +0 -1
  672. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.ngfactory.js.map +0 -1
  673. package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
  674. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js +0 -28
  675. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +0 -1
  676. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.ngfactory.js.map +0 -1
  677. package/esm5/lib/interaction/components/alert-dialog/alert-dialog.component.scss.shim.ngstyle.js.map +0 -1
  678. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +0 -46
  679. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +0 -1
  680. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.ngfactory.js.map +0 -1
  681. package/esm5/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.scss.shim.ngstyle.js.map +0 -1
  682. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +0 -33
  683. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +0 -1
  684. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.ngfactory.js.map +0 -1
  685. package/esm5/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.scss.shim.ngstyle.js.map +0 -1
  686. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +0 -86
  687. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +0 -1
  688. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.ngfactory.js.map +0 -1
  689. package/esm5/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
  690. package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js +0 -51
  691. package/esm5/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
  692. package/esm5/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
  693. package/esm5/lib/interaction/components/input-activities/input-activity-data.js +0 -1
  694. package/esm5/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
  695. package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js +0 -1
  696. package/esm5/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
  697. package/esm5/lib/interaction/components/input-activities/select-input-activity.js +0 -38
  698. package/esm5/lib/interaction/components/input-activities/select-input-activity.js.map +0 -1
  699. package/esm5/lib/interaction/components/input-activities/select-input-activity.ngfactory.js.map +0 -1
  700. package/esm5/lib/interaction/components/input-activities/string-input-activity.js +0 -18
  701. package/esm5/lib/interaction/components/input-activities/string-input-activity.js.map +0 -1
  702. package/esm5/lib/interaction/components/input-activities/string-input-activity.ngfactory.js.map +0 -1
  703. package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +0 -111
  704. package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +0 -1
  705. package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.ngfactory.js.map +0 -1
  706. package/esm5/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.scss.shim.ngstyle.js.map +0 -1
  707. package/esm5/lib/interaction/confirm.js +0 -1
  708. package/esm5/lib/interaction/confirm.js.map +0 -1
  709. package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js +0 -94
  710. package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.js.map +0 -1
  711. package/esm5/lib/interaction/directives/interaction-context-trigger-for.directive.ngfactory.js.map +0 -1
  712. package/esm5/lib/interaction/index.js +0 -26
  713. package/esm5/lib/interaction/index.js.map +0 -1
  714. package/esm5/lib/interaction/interaction-context.js +0 -1
  715. package/esm5/lib/interaction/interaction-context.js.map +0 -1
  716. package/esm5/lib/interaction/interaction.module.js +0 -88
  717. package/esm5/lib/interaction/interaction.module.js.map +0 -1
  718. package/esm5/lib/interaction/interaction.module.ngfactory.js.map +0 -1
  719. package/esm5/lib/interaction/result.js +0 -3
  720. package/esm5/lib/interaction/result.js.map +0 -1
  721. package/esm5/lib/interaction/route-synchronisation-adapter.js +0 -1
  722. package/esm5/lib/interaction/route-synchronisation-adapter.js.map +0 -1
  723. package/esm5/lib/interaction/services/interaction-service-routing-adapter.js +0 -31
  724. package/esm5/lib/interaction/services/interaction-service-routing-adapter.js.map +0 -1
  725. package/esm5/lib/interaction/services/interaction.service.js +0 -157
  726. package/esm5/lib/interaction/services/interaction.service.js.map +0 -1
  727. package/esm5/lib/interaction/services/interaction.service.ngfactory.js.map +0 -1
  728. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js +0 -44
  729. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.js.map +0 -1
  730. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.ngfactory.js.map +0 -1
  731. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js +0 -64
  732. package/esm5/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.js.map +0 -1
  733. package/esm5/lib/interaction/services/modal-interaction-context.factory.js +0 -7
  734. package/esm5/lib/interaction/services/modal-interaction-context.factory.js.map +0 -1
  735. package/esm5/lib/place/components/abstract-place-navigation.component.js +0 -78
  736. package/esm5/lib/place/components/abstract-place-navigation.component.js.map +0 -1
  737. package/esm5/lib/place/components/abstract-place-navigation.component.ngfactory.js.map +0 -1
  738. package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js +0 -28
  739. package/esm5/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
  740. package/esm5/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
  741. package/esm5/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
  742. package/esm5/lib/place/components/empty-state/empty-state.component.js +0 -19
  743. package/esm5/lib/place/components/empty-state/empty-state.component.js.map +0 -1
  744. package/esm5/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
  745. package/esm5/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
  746. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js +0 -24
  747. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.js.map +0 -1
  748. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.ngfactory.js.map +0 -1
  749. package/esm5/lib/place/components/list-place-nav/list-place-nav.component.scss.shim.ngstyle.js.map +0 -1
  750. package/esm5/lib/place/components/place-outlet/place-outlet.component.js +0 -246
  751. package/esm5/lib/place/components/place-outlet/place-outlet.component.js.map +0 -1
  752. package/esm5/lib/place/components/place-outlet/place-outlet.component.ngfactory.js.map +0 -1
  753. package/esm5/lib/place/components/place-outlet/place-outlet.component.scss.shim.ngstyle.js.map +0 -1
  754. package/esm5/lib/place/components/place-outlet/route-animations.js +0 -45
  755. package/esm5/lib/place/components/place-outlet/route-animations.js.map +0 -1
  756. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +0 -88
  757. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +0 -1
  758. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.ngfactory.js.map +0 -1
  759. package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
  760. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +0 -24
  761. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js.map +0 -1
  762. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.ngfactory.js.map +0 -1
  763. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.scss.shim.ngstyle.js.map +0 -1
  764. package/esm5/lib/place/guards/consolidated-param-map.js +0 -61
  765. package/esm5/lib/place/guards/consolidated-param-map.js.map +0 -1
  766. package/esm5/lib/place/guards/noop-auth-guard.service.js +0 -24
  767. package/esm5/lib/place/guards/noop-auth-guard.service.js.map +0 -1
  768. package/esm5/lib/place/guards/noop-auth-guard.service.ngfactory.js.map +0 -1
  769. package/esm5/lib/place/guards/place.guard.js +0 -157
  770. package/esm5/lib/place/guards/place.guard.js.map +0 -1
  771. package/esm5/lib/place/index.js +0 -43
  772. package/esm5/lib/place/index.js.map +0 -1
  773. package/esm5/lib/place/nav-item.js +0 -1
  774. package/esm5/lib/place/nav-item.js.map +0 -1
  775. package/esm5/lib/place/navigation/place-component-deactivation-handler.js +0 -98
  776. package/esm5/lib/place/navigation/place-component-deactivation-handler.js.map +0 -1
  777. package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js +0 -19
  778. package/esm5/lib/place/navigation/session/abstract-pop-state-navigation.js.map +0 -1
  779. package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js +0 -15
  780. package/esm5/lib/place/navigation/session/event-cleanup/event-clean-up-session.js.map +0 -1
  781. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js +0 -52
  782. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.js.map +0 -1
  783. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js +0 -86
  784. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-interaction-cancelation-finishes.js.map +0 -1
  785. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js +0 -71
  786. package/esm5/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.js.map +0 -1
  787. package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js +0 -43
  788. package/esm5/lib/place/navigation/session/interactions/navigating-during-interaction.js.map +0 -1
  789. package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js +0 -34
  790. package/esm5/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.js.map +0 -1
  791. package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js +0 -58
  792. package/esm5/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.js.map +0 -1
  793. package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js +0 -92
  794. package/esm5/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.js.map +0 -1
  795. package/esm5/lib/place/navigation/session/navigating.js +0 -28
  796. package/esm5/lib/place/navigation/session/navigating.js.map +0 -1
  797. package/esm5/lib/place/navigation/session/navigation-context.js +0 -15
  798. package/esm5/lib/place/navigation/session/navigation-context.js.map +0 -1
  799. package/esm5/lib/place/navigation/session/navigation-session.js +0 -183
  800. package/esm5/lib/place/navigation/session/navigation-session.js.map +0 -1
  801. package/esm5/lib/place/navigation/session/pop-state-navigation.js +0 -22
  802. package/esm5/lib/place/navigation/session/pop-state-navigation.js.map +0 -1
  803. package/esm5/lib/place/place-component.js +0 -125
  804. package/esm5/lib/place/place-component.js.map +0 -1
  805. package/esm5/lib/place/place-config.js +0 -3
  806. package/esm5/lib/place/place-config.js.map +0 -1
  807. package/esm5/lib/place/place-definition.js +0 -148
  808. package/esm5/lib/place/place-definition.js.map +0 -1
  809. package/esm5/lib/place/place-history.js +0 -145
  810. package/esm5/lib/place/place-history.js.map +0 -1
  811. package/esm5/lib/place/place-history.ngfactory.js.map +0 -1
  812. package/esm5/lib/place/place-router.js +0 -330
  813. package/esm5/lib/place/place-router.js.map +0 -1
  814. package/esm5/lib/place/place-router.ngfactory.js.map +0 -1
  815. package/esm5/lib/place/place.decorator.js +0 -15
  816. package/esm5/lib/place/place.decorator.js.map +0 -1
  817. package/esm5/lib/place/place.module.js +0 -66
  818. package/esm5/lib/place/place.module.js.map +0 -1
  819. package/esm5/lib/place/place.module.ngfactory.js.map +0 -1
  820. package/esm5/lib/place/route/formatter.js +0 -42
  821. package/esm5/lib/place/route/formatter.js.map +0 -1
  822. package/esm5/lib/place/route/json-types.js +0 -1
  823. package/esm5/lib/place/route/json-types.js.map +0 -1
  824. package/esm5/lib/place/route/parameter-decorators.js +0 -64
  825. package/esm5/lib/place/route/parameter-decorators.js.map +0 -1
  826. package/esm5/lib/place/route/parameter-definition.class.js +0 -109
  827. package/esm5/lib/place/route/parameter-definition.class.js.map +0 -1
  828. package/esm5/lib/place/route/parameter-sanitiser.js +0 -1
  829. package/esm5/lib/place/route/parameter-sanitiser.js.map +0 -1
  830. package/esm5/lib/place/route/parameter-snapshot.js +0 -1
  831. package/esm5/lib/place/route/parameter-snapshot.js.map +0 -1
  832. package/esm5/lib/place/route/visit-sanitiser.js +0 -62
  833. package/esm5/lib/place/route/visit-sanitiser.js.map +0 -1
  834. package/esm5/lib/place/url-service.js +0 -77
  835. package/esm5/lib/place/url-service.js.map +0 -1
  836. package/esm5/lib/place/url-service.ngfactory.js.map +0 -1
  837. package/esm5/lib/place/url-snapshot.js +0 -98
  838. package/esm5/lib/place/url-snapshot.js.map +0 -1
  839. package/esm5/lib/place/visit.js +0 -72
  840. package/esm5/lib/place/visit.js.map +0 -1
  841. package/esm5/public_api.js +0 -7
  842. package/esm5/public_api.js.map +0 -1
  843. package/fesm5/coolon-angular-ui-powerups.js +0 -8132
  844. package/fesm5/coolon-angular-ui-powerups.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"focus-binding.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/focus-binding.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7E,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,gBAAgB;IAIhD,8FAA8F;IAC9F,YAA6B,kBAA+B,EACf,MAAc,EAC7B,QAAa,EACtB,YAAkC;QACrD,KAAK,EAAE,CAAC;QAJmB,uBAAkB,GAAlB,kBAAkB,CAAa;QACf,WAAM,GAAN,MAAM,CAAQ;QAEtC,iBAAY,GAAZ,YAAY,CAAsB;QAErD,kHAAkH;QAClH,IAAI,CAAC,QAAQ,GAAG,QAAoB,CAAC;QAErC,iEAAiE;QACjE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;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AAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,wEAAwE,CAAC,CAAC;iBACjG;aACF;SACF;IACH,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAED,yCAAyC;IACzC,yBAAyB;QACvB,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC;IACzC,CAAC;IAED,yCAAyC;IACzC,QAAQ;QACN,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,qBAAqB,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,IAAI,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;QAC/D,6CAA6C;QAC7C,OAAO,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;CACF,CAAA;AA7EY,YAAY;IAMV,WAAA,MAAM,CAAC,MAAM,CAAC,CAAA;IACd,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;qCAFoB,WAAW;QACP,MAAM;GANhD,YAAY,CA6ExB;SA7EY,YAAY","sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Inject, NgZone } from '@angular/core';\nimport { Dsl, FocusManager, GarbageCollector, Logger } from '@coolon/pectin';\n\nexport class FocusBinding extends GarbageCollector {\n\n private readonly document: Document;\n\n // TODO: update to support alternate focus mechanisms so we can interoperate with mat-checkbox\n constructor(private readonly focusTargetElement: HTMLElement,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(DOCUMENT) document: any,\n readonly focusContext: FocusManager.Context) {\n super();\n // @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642\n this.document = document as Document;\n\n // TODO: Make this also track the current enabled/disabled state.\n const { when } = Dsl.disposeWith(this);\n when.valueOf(this.focusContext.focused).changes((focused) => {\n if (focused && !this.alreadyHasFocus()) {\n this.tryAndFocus();\n }\n }, { initialValue: 'triggerChangeUnlessNil' });\n }\n\n onFocusIn() {\n this.focusContext.notifyFocusIn();\n }\n\n onFocusOut() {\n this.focusContext.notifyFocusOut();\n }\n\n // Hook method for debugging via tracing.\n alreadyHasFocus() {\n return this.isElementFocused(this.focusTarget);\n }\n\n // Hook method for debugging via tracing.\n isElementFocused(element: Element): boolean {\n return this.document.activeElement === element;\n }\n\n tryAndFocus(retries: number = 5) {\n if (this.modelShouldStillHaveFocus() && this.canFocus()) {\n if (!this.alreadyHasFocus()) {\n this.focusTarget.focus();\n }\n // if we didn't get the focus we try again later.\n if (!this.alreadyHasFocus()) {\n Logger.get(this).log(`focus failed, trying ${retries} more times`);\n if (retries > 0) {\n // try again on the next paint\n // TODO: is there an angular way of doing this without calling a window function.\n requestAnimationFrame(() => {\n this.tryAndFocus(retries - 1);\n });\n } else {\n Logger.get(this).warn(`Tried to focus but gave up as the component wasn't enabled or visible.`);\n }\n }\n }\n }\n\n get focusTarget(): HTMLElement {\n return this.focusTargetElement;\n }\n\n // Hook method for debugging via tracing.\n modelShouldStillHaveFocus() {\n return this.focusContext.focused.value;\n }\n\n // Hook method for debugging via tracing.\n canFocus(): boolean {\n const dimension = this.focusTarget.getBoundingClientRect();\n const hasSize = dimension.height >= 0 && dimension.height >= 0;\n // tslint:disable-next-line:no-string-literal\n return hasSize && !this.focusTarget['disabled'];\n }\n}\n"]}
1
+ {"version":3,"file":"focus-binding.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/focus-binding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7E,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IAIhD,8FAA8F;IAC9F,YAA6B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,EAAE,EAAE;gBAC3B,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,wBAAwB,OAAO,aAAa,CAAC,CAAC;gBACnE,IAAI,OAAO,GAAG,CAAC,EAAE;oBACf,8BAA8B;oBAC9B,iFAAiF;oBACjF,qBAAqB,CAAC,GAAG,EAAE;wBACzB,IAAI,CAAC,WAAW,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;oBAChC,CAAC,CAAC,CAAC;iBACJ;qBAAM;oBACL,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,wEAAwE,CAAC,CAAC;iBACjG;aACF;SACF;IACH,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAED,yCAAyC;IACzC,yBAAyB;QACvB,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC;IACzC,CAAC;IAED,yCAAyC;IACzC,QAAQ;QACN,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,qBAAqB,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,IAAI,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;QAC/D,6CAA6C;QAC7C,OAAO,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;;;YAvEgD,WAAW;YAR7C,MAAM,uBASR,MAAM,SAAC,MAAM;4CACb,MAAM,SAAC,QAAQ","sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Inject, NgZone } from '@angular/core';\nimport { Dsl, FocusManager, GarbageCollector, Logger } from '@coolon/pectin';\n\nexport class FocusBinding extends GarbageCollector {\n\n private readonly document: Document;\n\n // TODO: update to support alternate focus mechanisms so we can interoperate with mat-checkbox\n constructor(private readonly focusTargetElement: HTMLElement,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(DOCUMENT) document: any,\n readonly focusContext: FocusManager.Context) {\n super();\n // @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642\n this.document = document as Document;\n\n // TODO: Make this also track the current enabled/disabled state.\n const { when } = Dsl.disposeWith(this);\n when.valueOf(this.focusContext.focused).changes((focused) => {\n if (focused && !this.alreadyHasFocus()) {\n this.tryAndFocus();\n }\n }, { initialValue: 'triggerChangeUnlessNil' });\n }\n\n onFocusIn() {\n this.focusContext.notifyFocusIn();\n }\n\n onFocusOut() {\n this.focusContext.notifyFocusOut();\n }\n\n // Hook method for debugging via tracing.\n alreadyHasFocus() {\n return this.isElementFocused(this.focusTarget);\n }\n\n // Hook method for debugging via tracing.\n isElementFocused(element: Element): boolean {\n return this.document.activeElement === element;\n }\n\n tryAndFocus(retries: number = 5) {\n if (this.modelShouldStillHaveFocus() && this.canFocus()) {\n if (!this.alreadyHasFocus()) {\n this.focusTarget.focus();\n }\n // if we didn't get the focus we try again later.\n if (!this.alreadyHasFocus()) {\n Logger.get(this).log(`focus failed, trying ${retries} more times`);\n if (retries > 0) {\n // try again on the next paint\n // TODO: is there an angular way of doing this without calling a window function.\n requestAnimationFrame(() => {\n this.tryAndFocus(retries - 1);\n });\n } else {\n Logger.get(this).warn(`Tried to focus but gave up as the component wasn't enabled or visible.`);\n }\n }\n }\n }\n\n get focusTarget(): HTMLElement {\n return this.focusTargetElement;\n }\n\n // Hook method for debugging via tracing.\n modelShouldStillHaveFocus() {\n return this.focusContext.focused.value;\n }\n\n // Hook method for debugging via tracing.\n canFocus(): boolean {\n const dimension = this.focusTarget.getBoundingClientRect();\n const hasSize = dimension.height >= 0 && dimension.height >= 0;\n // tslint:disable-next-line:no-string-literal\n return hasSize && !this.focusTarget['disabled'];\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./command.directive\";\nexport * from \"./directives.module\";\nexport * from \"./focus-binding-factory\";\nexport * from \"./focus-binding.directive\";\nexport * from \"./focus-binding\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/directives/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./command.directive\";\nexport * from \"./directives.module\";\nexport * from \"./focus-binding-factory\";\nexport * from \"./focus-binding.directive\";\nexport * from \"./focus-binding\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-interaction-context.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/abstract-interaction-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;AAI7G,MAAM,OAAgB,0BAA0B;IAa9C,aAAa,CAAU,YAA8C,EAAE,IAAQ,EAAE,OAAoC;QACnH,OAAO,IAAI,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,CAAC;IAChH,CAAC;IAED,OAAO,CAAC,OAAgB;QACtB,0EAA0E;QAC1E,yEAAyE;QACzE,0CAA0C;QAC1C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,KAAY;QAChB,oCAAoC;QACpC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;IAED,eAAe,CAAC,OAAgB;QAC9B,OAAO,IAAI,CAAC,uBAAuB,CAAC,2BAA2B,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAU,OAAgB,EAAE,YAA8C,EAAE,IAAQ;QAC7F,OAAO,IAAI,CAAC,uBAAuB,CAAiD,0BAA0B,EAAE;YAC9G,OAAO;YACP,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,IAAI;SACX,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;CAEF","sourcesContent":["import { Constructable, Disposable } from '@coolon/pectin';\nimport { Opts } from '@coolon/typescript-utilities';\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\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, options?: InteractionContext.Options): Promise<R> {\n return this.createAndLaunchActivity(activityType, data, Opts.get(options).getOptional('disableClose', 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 /**\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"]}
1
+ {"version":3,"file":"abstract-interaction-context.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/abstract-interaction-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,2BAA2B,EAAE,MAAM,gEAAgE,CAAC;AAI7G,MAAM,OAAgB,0BAA0B;IAa9C,aAAa,CAAU,YAA8C,EAAE,IAAQ,EAAE,OAAoC;QACnH,OAAO,IAAI,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,CAAC;IAChH,CAAC;IAED,OAAO,CAAC,OAAgB;QACtB,0EAA0E;QAC1E,yEAAyE;QACzE,0CAA0C;QAC1C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,KAAY;QAChB,oCAAoC;QACpC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;IAED,eAAe,CAAC,OAAgB;QAC9B,OAAO,IAAI,CAAC,uBAAuB,CAAC,2BAA2B,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAU,OAAgB,EAAE,YAA8C,EAAE,IAAQ;QAC7F,OAAO,IAAI,CAAC,uBAAuB,CAAiD,0BAA0B,EAAE;YAC9G,OAAO;YACP,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,IAAI;SACX,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;CAEF","sourcesContent":["import { Constructable, Disposable } from '@coolon/pectin';\nimport { Opts } from '@coolon/typescript-utilities';\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\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, options?: InteractionContext.Options): Promise<R> {\n return this.createAndLaunchActivity(activityType, data, Opts.get(options).getOptional('disableClose', 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 /**\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"]}
@@ -1 +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,EAAE,iBAAiB,EAAqB,MAAM,gBAAgB,CAAC;AAIvG,MAAM,OAAO,WAAW;IAOtB,YAAqB,aAA+C,EAC/C,YAAe,EACf,UAAuD;QAFvD,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAG;QACf,eAAU,GAAV,UAAU,CAA6C;QAPpE,cAAS,GAAG,KAAK,CAAC;QAElB,mBAAc,GAAG,QAA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AC,IAAI,CAAC,cAAc,CAAC,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;IACrC,CAAC;CAEF","sourcesContent":["import { assert, Constructable, Deferred, MutableValueModel, Trace, ValueModel } 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 private readonly focusedModel = new MutableValueModel<boolean>();\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 setFocused(focused: boolean) {\n this.focusedModel.value = focused;\n }\n\n get focused() {\n return this.focusedModel.value\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 focused: this.focusedModel.readonly\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"]}
1
+ {"version":3,"file":"activity-ref.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/activity-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAE,iBAAiB,EAAqB,MAAM,gBAAgB,CAAC;AAIvG,MAAM,OAAO,WAAW;IAOtB,YAAqB,aAA+C,EAC/C,YAAe,EACf,UAAuD;QAFvD,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAG;QACf,eAAU,GAAV,UAAU,CAA6C;QAPpE,cAAS,GAAG,KAAK,CAAC;QAElB,mBAAc,GAAG,QAAQ,CAAC,KAAK,EAAK,CAAC;QAC5B,iBAAY,GAAG,IAAI,iBAAiB,EAAW,CAAC;IAKjE,CAAC;IAED,kBAAkB;QAChB,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,QAAQ;QACV,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAC3C,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,UAAU,CAAC,OAAgB;QACzB,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,OAAO,CAAC;IACpC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,CAAA;IAChC,CAAC;IAED,qBAAqB,CAAC,QAA2B,EAAE,wBAA4C;QAC7F,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,wBAAwB,EAAE;YAClD,MAAM,CAAC,MAAS;gBACd,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YAC5D,CAAC;YACD,QAAQ,CAAC,KAAQ;gBACf,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ;SACpC,CAAC,CAAC;IACL,CAAC;IAES,cAAc,CAAC,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,MAAM;QACJ,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;IACrC,CAAC;CAEF","sourcesContent":["import { assert, Constructable, Deferred, MutableValueModel, Trace, ValueModel } 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 private readonly focusedModel = new MutableValueModel<boolean>();\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 setFocused(focused: boolean) {\n this.focusedModel.value = focused;\n }\n\n get focused() {\n return this.focusedModel.value\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 focused: this.focusedModel.readonly\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"]}
@@ -1,5 +1,4 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { HostBinding, InjectionToken } from '@angular/core';
1
+ import { Component, HostBinding, InjectionToken } from '@angular/core';
3
2
  import { DelegatingValueModel, Dsl } from '@coolon/pectin';
4
3
  import { assert } from '@coolon/typescript-utilities';
5
4
  import { DisposableComponent } from '../components/disposable-component';
@@ -53,13 +52,13 @@ export class Activity extends DisposableComponent {
53
52
  return !!this._activityContext;
54
53
  }
55
54
  }
56
- __decorate([
57
- HostBinding('class'),
58
- __metadata("design:type", Object)
59
- ], Activity.prototype, "class", void 0);
60
- __decorate([
61
- HostBinding('attr.focused'),
62
- __metadata("design:type", Object),
63
- __metadata("design:paramtypes", [])
64
- ], Activity.prototype, "isFocused", null);
55
+ Activity.decorators = [
56
+ { type: Component, args: [{
57
+ template: ''
58
+ },] }
59
+ ];
60
+ Activity.propDecorators = {
61
+ class: [{ type: HostBinding, args: ['class',] }],
62
+ isFocused: [{ type: HostBinding, args: ['attr.focused',] }]
63
+ };
65
64
  //# sourceMappingURL=activity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/activity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,e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AAI,CAAC,MAAU;QACb,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,KAAS;QACd,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,WAAW;IACX,eAAe;IACf,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;IAClC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;IACrC,CAAC;IAED,SAAS,CAAC,SAA8B;QACtC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,aAAa;QACX,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;CACF;AAtDuB;IAArB,WAAW,CAAC,OAAO,CAAC;;uCAAwB;AAG7C;IADC,WAAW,CAAC,cAAc,CAAC;;;yCAG3B","sourcesContent":["import { HostBinding, InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, Dsl, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { DisposableComponent } from '../components/disposable-component';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\nexport abstract class Activity<D, R, E = any> extends DisposableComponent {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _focusedModel = this.registerDisposable(new DelegatingValueModel<boolean>());\n private _activityContext: Activity.Context<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n @HostBinding('class') class = 'aup-activity';\n\n @HostBinding('attr.focused')\n get isFocused() {\n return this._focusedModel.value;\n }\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Context<R, E>): void {\n const { chain, when } = Dsl.disposeWith(this);\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n this._focusedModel.setDelegate(activityContext.focused);\n when(this._focusedModel).becomesTruthy(() => {\n this.onActivityReady();\n });\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 get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n get focused(): ValueModel<boolean> {\n return this._focusedModel.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 Context<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n focused: ValueModel<boolean>\n }\n}\n"]}
1
+ {"version":3,"file":"activity.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,GAAG,EAAc,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAGzE,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,cAAc,CAAM,yBAAyB,CAAC,CAAC;AAKhF,MAAM,OAAO,QAAwB,SAAQ,mBAAmB;IAHhE;;QAKmB,eAAU,GAAG,IAAI,oBAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC7E,kBAAa,GAAG,IAAI,CAAC,kBAAkB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AU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,aAAa;QACX,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;;;YAjEF,SAAS,SAAC;gBACT,QAAQ,EAAC,EAAE;aACZ;;;oBAUE,WAAW,SAAC,OAAO;wBAEnB,WAAW,SAAC,cAAc","sourcesContent":["import { Component, HostBinding, InjectionToken } from '@angular/core';\nimport { DelegatingValueModel, Dsl, ValueModel } from '@coolon/pectin';\nimport { assert } from '@coolon/typescript-utilities';\nimport { DisposableComponent } from '../components/disposable-component';\nimport { InteractionContext } from './interaction-context';\n\nexport const ACTIVITY_DATA = new InjectionToken<any>('InteractionActivityData');\n\n@Component({\n template:''\n})\nexport class Activity<D, R, E = any> extends DisposableComponent {\n\n private readonly _busyModel = new DelegatingValueModel<boolean>().withDefault(false);\n private _focusedModel = this.registerDisposable(new DelegatingValueModel<boolean>());\n private _activityContext: Activity.Context<R, E>;\n\n // @Trace()\n private _interactionContext: InteractionContext;\n\n @HostBinding('class') class = 'aup-activity';\n\n @HostBinding('attr.focused')\n get isFocused() {\n return this._focusedModel.value;\n }\n\n initialise(nestedInteractionContext: InteractionContext, activityContext: Activity.Context<R, E>): void {\n const { chain, when } = Dsl.disposeWith(this);\n assert.isNil(this._activityContext);\n this._activityContext = activityContext;\n this._interactionContext = nestedInteractionContext;\n this._focusedModel.setDelegate(activityContext.focused);\n when(this._focusedModel).becomesTruthy(() => {\n this.onActivityReady();\n });\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 get busy(): ValueModel<boolean> {\n return this._busyModel.readonly;\n }\n\n get focused(): ValueModel<boolean> {\n return this._focusedModel.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 Context<R, E> {\n onDone: (result: R) => void,\n onCancel: (error: E) => void,\n focused: ValueModel<boolean>\n }\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ACTIVITY_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":33},"arguments":["InteractionActivityData"]},"Activity":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../components/disposable-component","name":"DisposableComponent","line":8,"character":54},"arity":3,"members":{"class":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":17,"character":3},"arguments":["class"]}]}],"isFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":19,"character":3},"arguments":["attr.focused"]}]}],"initialise":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}],"onActivityReady":[{"__symbolic":"method"}],"busyWhile":[{"__symbolic":"method"}],"isBusy":[{"__symbolic":"method"}],"isInitialised":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ACTIVITY_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":33},"arguments":["InteractionActivityData"]},"Activity":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../components/disposable-component","name":"DisposableComponent","line":11,"character":45},"arity":3,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"template":""}]}],"members":{"class":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":20,"character":3},"arguments":["class"]}]}],"isFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":22,"character":3},"arguments":["attr.focused"]}]}],"initialise":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}],"onActivityReady":[{"__symbolic":"method"}],"busyWhile":[{"__symbolic":"method"}],"isBusy":[{"__symbolic":"method"}],"isInitialised":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activity.ngfactory.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/activity.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=alert.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/alert.ts"],"names":[],"mappings":"","sourcesContent":["export interface Alert {\n title?(): string;\n\n content(): string[];\n\n ok(): string;\n}\n"]}
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/src/lib/interaction/alert.ts"],"names":[],"mappings":"","sourcesContent":["export interface Alert {\n title?(): string;\n\n content(): string[];\n\n ok(): string;\n}\n"]}
@@ -3,7 +3,7 @@ import { Component, HostBinding, Input } from '@angular/core';
3
3
  import { Command, DelegatingCommand, TrackExternal } from '@coolon/pectin';
4
4
  import _ from 'lodash';
5
5
  import { DisposableComponent } from '../../../components/disposable-component';
6
- let ActivityActionsComponent = class ActivityActionsComponent extends DisposableComponent {
6
+ export class ActivityActionsComponent extends DisposableComponent {
7
7
  constructor() {
8
8
  super(...arguments);
9
9
  this.align = 'start';
@@ -28,45 +28,29 @@ let ActivityActionsComponent = class ActivityActionsComponent extends Disposable
28
28
  hasCancelCommand() {
29
29
  return DelegatingCommand.hasDelegate(this.cancelCommand);
30
30
  }
31
+ }
32
+ ActivityActionsComponent.decorators = [
33
+ { type: Component, args: [{
34
+ selector: 'aup-activity-actions',
35
+ template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
36
+ styles: [":host{-ms-grid-columns:auto auto 1fr;-ms-grid-rows:auto;align-items:center;display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;justify-content:end}:host.align-end{-ms-grid-columns:1fr auto auto;grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{-ms-grid-columns:auto 1fr auto;grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{-ms-grid-column:1;-ms-grid-row:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-column:2;-ms-grid-row:1}:host.align-stretch>.cancel{-ms-grid-column:1;-ms-grid-row:1}.confirm{-ms-grid-column:2;-ms-grid-row:1;grid-area:confirm}.column,:host.align-end>.confirm,:host.align-stretch>.confirm{-ms-grid-column:3;-ms-grid-row:1}.column{grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-column:1;-ms-grid-row:1}:host.align-stretch>.column{-ms-grid-column:2;-ms-grid-row:1}"]
37
+ },] }
38
+ ];
39
+ ActivityActionsComponent.propDecorators = {
40
+ confirmCommand: [{ type: Input }],
41
+ confirmText: [{ type: Input }],
42
+ cancelCommand: [{ type: Input }],
43
+ cancelText: [{ type: Input }],
44
+ align: [{ type: Input }],
45
+ alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
46
+ alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
31
47
  };
32
48
  __decorate([
33
- Input(),
34
49
  TrackExternal(),
35
50
  __metadata("design:type", Command)
36
51
  ], ActivityActionsComponent.prototype, "confirmCommand", void 0);
37
52
  __decorate([
38
- Input(),
39
- __metadata("design:type", String)
40
- ], ActivityActionsComponent.prototype, "confirmText", void 0);
41
- __decorate([
42
- Input(),
43
53
  TrackExternal(),
44
54
  __metadata("design:type", Command)
45
55
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
46
- __decorate([
47
- Input(),
48
- __metadata("design:type", String)
49
- ], ActivityActionsComponent.prototype, "cancelText", void 0);
50
- __decorate([
51
- Input(),
52
- __metadata("design:type", String)
53
- ], ActivityActionsComponent.prototype, "align", void 0);
54
- __decorate([
55
- HostBinding('class.align-end'),
56
- __metadata("design:type", Boolean),
57
- __metadata("design:paramtypes", [])
58
- ], ActivityActionsComponent.prototype, "alignEnd", null);
59
- __decorate([
60
- HostBinding('class.align-stretch'),
61
- __metadata("design:type", Boolean),
62
- __metadata("design:paramtypes", [])
63
- ], ActivityActionsComponent.prototype, "alignStretch", null);
64
- ActivityActionsComponent = __decorate([
65
- Component({
66
- selector: 'aup-activity-actions',
67
- template: "<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n",
68
- styles: [":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.column{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-row:1;-ms-grid-column:1}:host.align-stretch>.column{-ms-grid-row:1;-ms-grid-column:2}"]
69
- })
70
- ], ActivityActionsComponent);
71
- export { ActivityActionsComponent };
72
56
  //# sourceMappingURL=activity-actions.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity-actions.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-actions/activity-actions.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,i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AwB,CAiDpC;SAjDY,wBAAwB","sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { Command, DelegatingCommand, TrackExternal } from '@coolon/pectin';\nimport _ from 'lodash';\nimport { DisposableComponent } from '../../../components/disposable-component';\n\n@Component({\n selector: 'aup-activity-actions',\n templateUrl: './activity-actions.component.html',\n styleUrls: ['./activity-actions.component.scss']\n})\nexport class ActivityActionsComponent extends DisposableComponent implements OnInit {\n\n @Input()\n @TrackExternal()\n confirmCommand: Command<any>;\n\n @Input()\n confirmText: string;\n\n @Input()\n @TrackExternal()\n cancelCommand: Command<any>;\n\n @Input()\n cancelText: string;\n\n\n @Input()\n align: 'start' | 'end' | 'stretch' = 'start';\n\n @HostBinding('class.align-end')\n get alignEnd():boolean {\n return this.align === 'end'\n }\n\n @HostBinding('class.align-stretch')\n get alignStretch():boolean {\n return this.align === 'stretch'\n }\n\n ngOnInit() {\n }\n\n hasConfirmText() {\n return !_.isEmpty(this.confirmText);\n }\n\n hasCancelText() {\n return !_.isEmpty(this.cancelText)\n }\n\n hasConfirmCommand() {\n return DelegatingCommand.hasDelegate(this.confirmCommand)\n }\n\n hasCancelCommand() {\n return DelegatingCommand.hasDelegate(this.cancelCommand)\n }\n\n}\n"]}
1
+ {"version":3,"file":"activity-actions.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-actions/activity-actions.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAO/E,MAAM,OAAO,wBAAyB,SAAQ,mBAAmB;IALjE;;QAuBE,UAAK,GAAgC,OAAO,CAAC;IA+B/C,CAAC;IA7BC,IACI,QAAQ;QACV,OAAO,IAAI,CAAC,KAAK,KAAK,KAAK,CAAA;IAC7B,CAAC;IAED,IACI,YAAY;QACd,OAAO,IAAI,CAAC,KAAK,KAAK,SAAS,CAAA;IACjC,CAAC;IAED,QAAQ;IACR,CAAC;IAED,cAAc;QACZ,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAED,aAAa;QACX,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IACpC,CAAC;IAED,iBAAiB;QACf,OAAO,iBAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IAC3D,CAAC;IAED,gBAAgB;QACd,OAAO,iBAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IAC1D,CAAC;;;YApDF,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,6wBAAgD;;aAEjD;;;6BAGE,KAAK;0BAIL,KAAK;4BAGL,KAAK;yBAIL,KAAK;oBAIL,KAAK;uBAGL,WAAW,SAAC,iBAAiB;2BAK7B,WAAW,SAAC,qBAAqB;;AArBlC;IADC,aAAa,EAAE;8BACA,OAAO;gEAAM;AAO7B;IADC,aAAa,EAAE;8BACD,OAAO;+DAAM","sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { Command, DelegatingCommand, TrackExternal } from '@coolon/pectin';\nimport _ from 'lodash';\nimport { DisposableComponent } from '../../../components/disposable-component';\n\n@Component({\n selector: 'aup-activity-actions',\n templateUrl: './activity-actions.component.html',\n styleUrls: ['./activity-actions.component.scss']\n})\nexport class ActivityActionsComponent extends DisposableComponent implements OnInit {\n\n @Input()\n @TrackExternal()\n confirmCommand: Command<any>;\n\n @Input()\n confirmText: string;\n\n @Input()\n @TrackExternal()\n cancelCommand: Command<any>;\n\n @Input()\n cancelText: string;\n\n\n @Input()\n align: 'start' | 'end' | 'stretch' = 'start';\n\n @HostBinding('class.align-end')\n get alignEnd():boolean {\n return this.align === 'end'\n }\n\n @HostBinding('class.align-stretch')\n get alignStretch():boolean {\n return this.align === 'stretch'\n }\n\n ngOnInit() {\n }\n\n hasConfirmText() {\n return !_.isEmpty(this.confirmText);\n }\n\n hasCancelText() {\n return !_.isEmpty(this.cancelText)\n }\n\n hasConfirmCommand() {\n return DelegatingCommand.hasDelegate(this.confirmCommand)\n }\n\n hasCancelCommand() {\n return DelegatingCommand.hasDelegate(this.cancelCommand)\n }\n\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ActivityActionsComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../../components/disposable-component","name":"DisposableComponent","line":10,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"aup-activity-actions","template":"<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n","styles":[":host{display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";-ms-grid-columns:auto auto 1fr;grid-template-columns:auto auto 1fr;-ms-grid-rows:auto;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";-ms-grid-columns:1fr auto auto;grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";-ms-grid-columns:auto 1fr auto;grid-template-columns:auto 1fr auto}.cancel{-ms-grid-row:1;-ms-grid-column:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-row:1;-ms-grid-column:2}:host.align-stretch>.cancel{-ms-grid-row:1;-ms-grid-column:1}.confirm{-ms-grid-row:1;-ms-grid-column:2;grid-area:confirm}:host.align-end>.confirm{-ms-grid-row:1;-ms-grid-column:3}:host.align-stretch>.confirm{-ms-grid-row:1;-ms-grid-column:3}.column{-ms-grid-row:1;-ms-grid-column:3;grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-row:1;-ms-grid-column:1}:host.align-stretch>.column{-ms-grid-row:1;-ms-grid-column:2}"]}]}],"members":{"confirmCommand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":13,"character":3}}]}],"confirmText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"cancelCommand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":20,"character":3}}]}],"cancelText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"align":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"alignEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":30,"character":3},"arguments":["class.align-end"]}]}],"alignStretch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":35,"character":3},"arguments":["class.align-stretch"]}]}],"ngOnInit":[{"__symbolic":"method"}],"hasConfirmText":[{"__symbolic":"method"}],"hasCancelText":[{"__symbolic":"method"}],"hasConfirmCommand":[{"__symbolic":"method"}],"hasCancelCommand":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ActivityActionsComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../../components/disposable-component","name":"DisposableComponent","line":10,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"aup-activity-actions","template":"<ng-container *ngIf=\"hasCancelCommand()\">\n <button class=\"cancel\" *ngIf=\"!hasCancelText()\" mat-icon-button [pectinCommand]=\"cancelCommand\">\n <aup-icon icon=\"mat:clear\"></aup-icon>\n </button>\n <button class=\"cancel\" *ngIf=\"hasCancelText()\" mat-button [pectinCommand]=\"cancelCommand\">{{cancelText}}</button>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmCommand()\">\n <button class=\"confirm\" *ngIf=\"!hasConfirmText()\" mat-icon-button [pectinCommand]=\"confirmCommand\">\n <aup-icon icon=\"mat:done\"></aup-icon>\n </button>\n <button class=\"confirm\" *ngIf=\"hasConfirmText()\" mat-button [pectinCommand]=\"confirmCommand\">{{confirmText}}</button>\n</ng-container>\n<div class=\"content\">\n <ng-content></ng-content>\n</div>\n","styles":[":host{-ms-grid-columns:auto auto 1fr;-ms-grid-rows:auto;align-items:center;display:-ms-grid;display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;justify-content:end}:host.align-end{-ms-grid-columns:1fr auto auto;grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{-ms-grid-columns:auto 1fr auto;grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{-ms-grid-column:1;-ms-grid-row:1;grid-area:cancel}:host.align-end>.cancel{-ms-grid-column:2;-ms-grid-row:1}:host.align-stretch>.cancel{-ms-grid-column:1;-ms-grid-row:1}.confirm{-ms-grid-column:2;-ms-grid-row:1;grid-area:confirm}.column,:host.align-end>.confirm,:host.align-stretch>.confirm{-ms-grid-column:3;-ms-grid-row:1}.column{grid-area:content;text-align:left}:host.align-end>.column{-ms-grid-column:1;-ms-grid-row:1}:host.align-stretch>.column{-ms-grid-column:2;-ms-grid-row:1}"]}]}],"members":{"confirmCommand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":13,"character":3}}]}],"confirmText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"cancelCommand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@coolon/pectin","name":"TrackExternal","line":20,"character":3}}]}],"cancelText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"align":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"alignEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":30,"character":3},"arguments":["class.align-end"]}]}],"alignStretch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":35,"character":3},"arguments":["class.align-stretch"]}]}],"ngOnInit":[{"__symbolic":"method"}],"hasConfirmText":[{"__symbolic":"method"}],"hasCancelText":[{"__symbolic":"method"}],"hasConfirmCommand":[{"__symbolic":"method"}],"hasCancelCommand":[{"__symbolic":"method"}]}}}}]
@@ -1 +1 @@
1
- {"version":3,"file":"activity-actions.component.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-actions/activity-actions.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-actions.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-actions/activity-actions.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-actions.component.scss.shim.ngstyle.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-actions.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-actions/activity-actions.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,4 +1,4 @@
1
- import { __awaiter, __decorate, __metadata } from "tslib";
1
+ import { __awaiter } from "tslib";
2
2
  import { Component, Input, QueryList, ViewChild, ViewChildren } from '@angular/core';
3
3
  import { MatTabGroup } from '@angular/material/tabs';
4
4
  import { assert, Dsl, GarbageCollector, MutableValueModel } from '@coolon/pectin';
@@ -7,7 +7,7 @@ import _ from 'lodash';
7
7
  import { AbstractInteractionContext } from '../../abstract-interaction-context';
8
8
  import { ActivityRef } from '../../activity-ref';
9
9
  import { ActivityOutletComponent } from './activity-outlet/activity-outlet.component';
10
- let ActivityContainerComponent = class ActivityContainerComponent extends AbstractInteractionContext {
10
+ export class ActivityContainerComponent extends AbstractInteractionContext {
11
11
  constructor() {
12
12
  super();
13
13
  this.dynamicHeight = false;
@@ -183,26 +183,18 @@ let ActivityContainerComponent = class ActivityContainerComponent extends Abstra
183
183
  this.synchroniseSelectedTabIndex();
184
184
  }, 75);
185
185
  }
186
+ }
187
+ ActivityContainerComponent.decorators = [
188
+ { type: Component, args: [{
189
+ selector: 'aup-activity-container',
190
+ template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
191
+ styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
192
+ },] }
193
+ ];
194
+ ActivityContainerComponent.ctorParameters = () => [];
195
+ ActivityContainerComponent.propDecorators = {
196
+ dynamicHeight: [{ type: Input }],
197
+ tabs: [{ type: ViewChild, args: ['tabs', { static: true },] }],
198
+ activityOutlets: [{ type: ViewChildren, args: [ActivityOutletComponent,] }]
186
199
  };
187
- __decorate([
188
- Input(),
189
- __metadata("design:type", Object)
190
- ], ActivityContainerComponent.prototype, "dynamicHeight", void 0);
191
- __decorate([
192
- ViewChild('tabs', { static: true }),
193
- __metadata("design:type", MatTabGroup)
194
- ], ActivityContainerComponent.prototype, "tabs", void 0);
195
- __decorate([
196
- ViewChildren(ActivityOutletComponent),
197
- __metadata("design:type", QueryList)
198
- ], ActivityContainerComponent.prototype, "activityOutlets", void 0);
199
- ActivityContainerComponent = __decorate([
200
- Component({
201
- selector: 'aup-activity-container',
202
- template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </mat-tab>\n</mat-tab-group>\n",
203
- styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
204
- }),
205
- __metadata("design:paramtypes", [])
206
- ], ActivityContainerComponent);
207
- export { ActivityContainerComponent };
208
200
  //# sourceMappingURL=activity-container.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity-container.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-container.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAU,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,MAAM,EAA6B,GAAG,EAAE,gBAAgB,EAAE,iBAAiB,EAAS,MAAM,gBAAgB,CAAC;AACpH,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAOtF,IAAa,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a,CAAC,CAAC;IACjE,CAAC;IAED,WAAW;IACX,mBAAmB;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;IACjC,CAAC;IAED,WAAW;IACH,yBAAyB;QAC/B,IAAI,IAAI,CAAC,sBAAsB,EAAE;YAC/B,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;SAC3C;QACD,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YACnC,IAAI,CAAC,2BAA2B,EAAE,CAAC;QACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;CACF,CAAA;AA/MC;IADC,KAAK,EAAE;;iEACc;AAGtB;IADC,SAAS,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;8BAC9B,WAAW;wDAAC;AAGlB;IADC,YAAY,CAAC,uBAAuB,CAAC;8BACrB,SAAS;mEAAyC;AATxD,0BAA0B;IALtC,SAAS,CAAC;QACT,QAAQ,EAAE,wBAAwB;QAClC,gyBAAkD;;KAEnD,CAAC;;GACW,0BAA0B,CAkNtC;SAlNY,0BAA0B","sourcesContent":["import { AfterViewInit, Component, Input, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\nimport { MatTabGroup } from '@angular/material/tabs';\nimport { assert, Constructable, Disposable, Dsl, GarbageCollector, MutableValueModel, Trace } from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport _ from 'lodash';\nimport { slideDownOnEnterAnimation } from '../../../animations/slide-animations';\nimport { AbstractInteractionContext } from '../../abstract-interaction-context';\nimport { Activity } from '../../activity';\nimport { ActivityRef } from '../../activity-ref';\nimport { InteractionService } from '../../services/interaction.service';\nimport { ActivityOutletComponent } from './activity-outlet/activity-outlet.component';\n\n@Component({\n selector: 'aup-activity-container',\n templateUrl: './activity-container.component.html',\n styleUrls: ['./activity-container.component.scss']\n})\nexport class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext implements OnInit, AfterViewInit {\n\n @Input()\n dynamicHeight = false;\n\n @ViewChild('tabs', { static: true })\n tabs: MatTabGroup;\n\n @ViewChildren(ActivityOutletComponent)\n activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;\n\n activityRefs: ActivityRef<any, any, any>[] = [];\n\n private _identifier: string;\n private _deferredCleanUp: Promise<any>;\n\n private interactionServiceApi: InteractionService.Api;\n\n private garbage = new GarbageCollector();\n private syncSelectedTabTimeout: any;\n private onAnimationFinishedJob: () => void;\n\n readonly inAnimation = new MutableValueModel<boolean>(false);\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n ngAfterViewInit(): void {\n const { chain, observe } = Dsl.disposeWith(this);\n // using the component directly rather than (animationDone)=.. allows us\n // to keep our callback private.\n observe.valuesFrom(this.tabs.animationDone).subscribe(() => this.onAnimationFinished());\n }\n\n initialise(identifier: string, api: InteractionService.Api) {\n assert.isFalsey(this.isInitialised());\n assert.notNil(identifier);\n assert.notNil(api);\n this._identifier = identifier;\n this.interactionServiceApi = api;\n }\n\n get identifier() {\n return this._identifier;\n }\n\n isInitialised() {\n return !!this.identifier;\n }\n\n /**\n * Returns true if an activity is currently running.\n */\n isActive(): boolean {\n return this.getActiveActivityCount() > 0;\n }\n\n registerDisposable<T extends Disposable>(disposable: T): T {\n return this.garbage.registerDisposable(disposable);\n }\n\n // @Trace()\n dispose(): void {\n // TODO: think about auto cancelling any outstanding activity on dispose.\n // See NavigationState.Navigating for a use-case.\n assert.isFalsey(this.isActive());\n this.garbage.dispose();\n }\n\n getActiveActivityRef(): ActivityRef<any, any, any> {\n if (!this.isActive()) {\n lang.illegalState('no activity in progress');\n }\n return _.findLast(this.activityRefs, tab => !tab.isComplete());\n }\n\n /**\n * Cancels the current activity and returns true the context is no longer active, false if\n * there is still another activity running.\n */\n // @Trace()\n async cancelActiveActivity(): Promise<boolean> {\n const activity = this.getActiveActivityRef();\n activity.cancel();\n if (this.isCleaningUp()) {\n return this.waitForInteractionContextCleanupToFinish();\n } else {\n return !this.isActive();\n }\n }\n\n // TODO: this handling of multiple nested activities is only used by the activity component and is not a general case.\n // @Trace()\n protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, disableClose: boolean): Promise<R1> {\n assert.isTruthy(this.isInitialised()); // make sure we've been initialised\n const activityRef = new ActivityRef<D1, R1, E1>(activityType, data, () => {\n const activeActivityCount = this.getActiveActivityCount() > 0;\n if (activeActivityCount) {\n this.triggerTabSynchronisation();\n } else {\n this.finishAndStartCleanup();\n }\n });\n this.launchActivity(activityRef);\n // if this is the first activity let the interaction service know.\n if (this.activityRefs.length === 1) {\n // console.log('Now active!!!');\n this.interactionServiceApi.notifyActive(this);\n }\n return activityRef.activityResult;\n }\n\n private getActiveActivityCount(): number {\n return this.activityRefs.filter(ref => !ref.isComplete()).length;\n }\n\n /**\n * Checks if this interaction context has finished an is in the process of waiting\n * for all the infrastructure (including route updates) to be completed.\n */\n isCleaningUp(): boolean {\n return !!this._deferredCleanUp;\n }\n\n async waitForInteractionContextCleanupToFinish(): Promise<any> {\n return this._deferredCleanUp ?\n this._deferredCleanUp :\n true;\n }\n\n // @Trace()\n private finishAndStartCleanup(): void {\n if (!this._deferredCleanUp) {\n // Important:\n // Clear our tabs so the next activity triggers a tab change.\n // Without this our animation done wasn't called when a single\n // new activity followed a single tab activity (since we're tracking\n // by activity index)\n this.activityRefs = [];\n const promise = this.interactionServiceApi.notifyFinished(this);\n this._deferredCleanUp = promise\n .finally(() => {\n this._deferredCleanUp = null;\n });\n }\n }\n\n// @Trace()\n launchActivity<D1, R1, E1>(activityRef: ActivityRef<D1, R1, E1>) {\n const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());\n this.activityRefs = cleanedTabs.concat(activityRef);\n this.synchroniseSelectedTabIndex();\n }\n\n activityIndex(index: number, activityRef: ActivityRef<any, any, any>) {\n return index;\n };\n\n // @Trace()\n private onAnimationFinished() {\n if (this.onAnimationFinishedJob) {\n this.onAnimationFinishedJob();\n this.onAnimationFinishedJob = undefined;\n }\n }\n\n /**\n * Synchronises the selected tab index.\n */\n // @Trace()\n private synchroniseSelectedTabIndex(): void {\n const previousIndex = this.tabs.selectedIndex;\n const newIndex = this.getActiveActivityCount() - 1;\n if (previousIndex !== newIndex) {\n this.inAnimation.value = true;\n this.activityRefs[newIndex].setFocused(false);\n this.tabs.selectedIndex = newIndex;\n this.onAnimationFinishedJob = () => {\n this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());\n this.inAnimation.value = false;\n this.activityRefs.forEach((ref, index) => {\n ref.setFocused(index === newIndex)\n })\n };\n }\n }\n\n private getSelectedOutlet() {\n return this.activityOutlets.toArray()[this.tabs.selectedIndex];\n }\n\n // @Trace()\n getSelectedTabIndex() {\n return this.tabs.selectedIndex;\n }\n\n // @Trace()\n private triggerTabSynchronisation() {\n if (this.syncSelectedTabTimeout) {\n clearTimeout(this.syncSelectedTabTimeout);\n }\n this.syncSelectedTabTimeout = setTimeout(() => {\n this.syncSelectedTabTimeout = null;\n this.synchroniseSelectedTabIndex();\n }, 75);\n }\n}\n"]}
1
+ {"version":3,"file":"activity-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-container.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAU,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,MAAM,EAA6B,GAAG,EAAE,gBAAgB,EAAE,iBAAiB,EAAS,MAAM,gBAAgB,CAAC;AACpH,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EA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AAiB;QACvB,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACjE,CAAC;IAED,WAAW;IACX,mBAAmB;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;IACjC,CAAC;IAED,WAAW;IACH,yBAAyB;QAC/B,IAAI,IAAI,CAAC,sBAAsB,EAAE;YAC/B,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;SAC3C;QACD,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,GAAG,EAAE;YAC5C,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YACnC,IAAI,CAAC,2BAA2B,EAAE,CAAC;QACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;;;YAtNF,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,gyBAAkD;;aAEnD;;;;4BAGE,KAAK;mBAGL,SAAS,SAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;8BAGlC,YAAY,SAAC,uBAAuB","sourcesContent":["import { AfterViewInit, Component, Input, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\nimport { MatTabGroup } from '@angular/material/tabs';\nimport { assert, Constructable, Disposable, Dsl, GarbageCollector, MutableValueModel, Trace } from '@coolon/pectin';\nimport { lang } from '@coolon/typescript-utilities';\nimport _ from 'lodash';\nimport { slideDownOnEnterAnimation } from '../../../animations/slide-animations';\nimport { AbstractInteractionContext } from '../../abstract-interaction-context';\nimport { Activity } from '../../activity';\nimport { ActivityRef } from '../../activity-ref';\nimport { InteractionService } from '../../services/interaction.service';\nimport { ActivityOutletComponent } from './activity-outlet/activity-outlet.component';\n\n@Component({\n selector: 'aup-activity-container',\n templateUrl: './activity-container.component.html',\n styleUrls: ['./activity-container.component.scss']\n})\nexport class ActivityContainerComponent<D, R, E> extends AbstractInteractionContext implements OnInit, AfterViewInit {\n\n @Input()\n dynamicHeight = false;\n\n @ViewChild('tabs', { static: true })\n tabs: MatTabGroup;\n\n @ViewChildren(ActivityOutletComponent)\n activityOutlets: QueryList<ActivityOutletComponent<any, any, any>>;\n\n activityRefs: ActivityRef<any, any, any>[] = [];\n\n private _identifier: string;\n private _deferredCleanUp: Promise<any>;\n\n private interactionServiceApi: InteractionService.Api;\n\n private garbage = new GarbageCollector();\n private syncSelectedTabTimeout: any;\n private onAnimationFinishedJob: () => void;\n\n readonly inAnimation = new MutableValueModel<boolean>(false);\n\n constructor() {\n super();\n }\n\n ngOnInit() {\n }\n\n ngAfterViewInit(): void {\n const { chain, observe } = Dsl.disposeWith(this);\n // using the component directly rather than (animationDone)=.. allows us\n // to keep our callback private.\n observe.valuesFrom(this.tabs.animationDone).subscribe(() => this.onAnimationFinished());\n }\n\n initialise(identifier: string, api: InteractionService.Api) {\n assert.isFalsey(this.isInitialised());\n assert.notNil(identifier);\n assert.notNil(api);\n this._identifier = identifier;\n this.interactionServiceApi = api;\n }\n\n get identifier() {\n return this._identifier;\n }\n\n isInitialised() {\n return !!this.identifier;\n }\n\n /**\n * Returns true if an activity is currently running.\n */\n isActive(): boolean {\n return this.getActiveActivityCount() > 0;\n }\n\n registerDisposable<T extends Disposable>(disposable: T): T {\n return this.garbage.registerDisposable(disposable);\n }\n\n // @Trace()\n dispose(): void {\n // TODO: think about auto cancelling any outstanding activity on dispose.\n // See NavigationState.Navigating for a use-case.\n assert.isFalsey(this.isActive());\n this.garbage.dispose();\n }\n\n getActiveActivityRef(): ActivityRef<any, any, any> {\n if (!this.isActive()) {\n lang.illegalState('no activity in progress');\n }\n return _.findLast(this.activityRefs, tab => !tab.isComplete());\n }\n\n /**\n * Cancels the current activity and returns true the context is no longer active, false if\n * there is still another activity running.\n */\n // @Trace()\n async cancelActiveActivity(): Promise<boolean> {\n const activity = this.getActiveActivityRef();\n activity.cancel();\n if (this.isCleaningUp()) {\n return this.waitForInteractionContextCleanupToFinish();\n } else {\n return !this.isActive();\n }\n }\n\n // TODO: this handling of multiple nested activities is only used by the activity component and is not a general case.\n // @Trace()\n protected createAndLaunchActivity<D1, R1, E1>(activityType: Constructable<Activity<D1, R1, E1>>, data: D1, disableClose: boolean): Promise<R1> {\n assert.isTruthy(this.isInitialised()); // make sure we've been initialised\n const activityRef = new ActivityRef<D1, R1, E1>(activityType, data, () => {\n const activeActivityCount = this.getActiveActivityCount() > 0;\n if (activeActivityCount) {\n this.triggerTabSynchronisation();\n } else {\n this.finishAndStartCleanup();\n }\n });\n this.launchActivity(activityRef);\n // if this is the first activity let the interaction service know.\n if (this.activityRefs.length === 1) {\n // console.log('Now active!!!');\n this.interactionServiceApi.notifyActive(this);\n }\n return activityRef.activityResult;\n }\n\n private getActiveActivityCount(): number {\n return this.activityRefs.filter(ref => !ref.isComplete()).length;\n }\n\n /**\n * Checks if this interaction context has finished an is in the process of waiting\n * for all the infrastructure (including route updates) to be completed.\n */\n isCleaningUp(): boolean {\n return !!this._deferredCleanUp;\n }\n\n async waitForInteractionContextCleanupToFinish(): Promise<any> {\n return this._deferredCleanUp ?\n this._deferredCleanUp :\n true;\n }\n\n // @Trace()\n private finishAndStartCleanup(): void {\n if (!this._deferredCleanUp) {\n // Important:\n // Clear our tabs so the next activity triggers a tab change.\n // Without this our animation done wasn't called when a single\n // new activity followed a single tab activity (since we're tracking\n // by activity index)\n this.activityRefs = [];\n const promise = this.interactionServiceApi.notifyFinished(this);\n this._deferredCleanUp = promise\n .finally(() => {\n this._deferredCleanUp = null;\n });\n }\n }\n\n// @Trace()\n launchActivity<D1, R1, E1>(activityRef: ActivityRef<D1, R1, E1>) {\n const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());\n this.activityRefs = cleanedTabs.concat(activityRef);\n this.synchroniseSelectedTabIndex();\n }\n\n activityIndex(index: number, activityRef: ActivityRef<any, any, any>) {\n return index;\n };\n\n // @Trace()\n private onAnimationFinished() {\n if (this.onAnimationFinishedJob) {\n this.onAnimationFinishedJob();\n this.onAnimationFinishedJob = undefined;\n }\n }\n\n /**\n * Synchronises the selected tab index.\n */\n // @Trace()\n private synchroniseSelectedTabIndex(): void {\n const previousIndex = this.tabs.selectedIndex;\n const newIndex = this.getActiveActivityCount() - 1;\n if (previousIndex !== newIndex) {\n this.inAnimation.value = true;\n this.activityRefs[newIndex].setFocused(false);\n this.tabs.selectedIndex = newIndex;\n this.onAnimationFinishedJob = () => {\n this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());\n this.inAnimation.value = false;\n this.activityRefs.forEach((ref, index) => {\n ref.setFocused(index === newIndex)\n })\n };\n }\n }\n\n private getSelectedOutlet() {\n return this.activityOutlets.toArray()[this.tabs.selectedIndex];\n }\n\n // @Trace()\n getSelectedTabIndex() {\n return this.tabs.selectedIndex;\n }\n\n // @Trace()\n private triggerTabSynchronisation() {\n if (this.syncSelectedTabTimeout) {\n clearTimeout(this.syncSelectedTabTimeout);\n }\n this.syncSelectedTabTimeout = setTimeout(() => {\n this.syncSelectedTabTimeout = null;\n this.synchroniseSelectedTabIndex();\n }, 75);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-container.component.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-container.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-container.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-container.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-container.component.scss.shim.ngstyle.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-container.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-container.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,5 +1,4 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ComponentFactoryResolver, ComponentRef, Injector, Input, OnInit, ViewContainerRef } from '@angular/core';
1
+ import { Component, ComponentFactoryResolver, Injector, Input, ViewContainerRef } from '@angular/core';
3
2
  import { lang } from '@coolon/typescript-utilities';
4
3
  import { ACTIVITY_DATA } from '../../../activity';
5
4
  import { ActivityRef } from '../../../activity-ref';
@@ -7,7 +6,7 @@ import { ActivityRef } from '../../../activity-ref';
7
6
  * ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
8
7
  * external service.
9
8
  */
10
- let ActivityOutletComponent = class ActivityOutletComponent {
9
+ export class ActivityOutletComponent {
11
10
  constructor(componentFactoryResolver, viewContainerRef, injector) {
12
11
  this.componentFactoryResolver = componentFactoryResolver;
13
12
  this.viewContainerRef = viewContainerRef;
@@ -42,30 +41,21 @@ let ActivityOutletComponent = class ActivityOutletComponent {
42
41
  get component() {
43
42
  return this.activityComponentRef.instance;
44
43
  }
45
- };
44
+ }
45
+ ActivityOutletComponent.decorators = [
46
+ { type: Component, args: [{
47
+ selector: 'aup-activity-outlet',
48
+ template: '',
49
+ styles: [":host{display:block}"]
50
+ },] }
51
+ ];
46
52
  ActivityOutletComponent.ctorParameters = () => [
47
53
  { type: ComponentFactoryResolver },
48
54
  { type: ViewContainerRef },
49
55
  { type: Injector }
50
56
  ];
51
- __decorate([
52
- Input(),
53
- __metadata("design:type", Object)
54
- ], ActivityOutletComponent.prototype, "nestedInteractionContext", void 0);
55
- __decorate([
56
- Input(),
57
- __metadata("design:type", ActivityRef),
58
- __metadata("design:paramtypes", [ActivityRef])
59
- ], ActivityOutletComponent.prototype, "activityRef", null);
60
- ActivityOutletComponent = __decorate([
61
- Component({
62
- selector: 'aup-activity-outlet',
63
- template: '',
64
- styles: [":host{display:block}"]
65
- }),
66
- __metadata("design:paramtypes", [ComponentFactoryResolver,
67
- ViewContainerRef,
68
- Injector])
69
- ], ActivityOutletComponent);
70
- export { ActivityOutletComponent };
57
+ ActivityOutletComponent.propDecorators = {
58
+ nestedInteractionContext: [{ type: Input }],
59
+ activityRef: [{ type: Input }]
60
+ };
71
61
  //# sourceMappingURL=activity-outlet.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity-outlet.component.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,wBAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD;;;GAGG;AAMH,IAAa,uBAAuB,GAApC,MAAa,uBAAuB;IAsBlC,YACU,wBAAkD,EAClD,gBAAkC,EAClC,QAAkB;QAFlB,6BAAwB,GAAxB,wBAAwB,CAA0B;QAClD,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,aAAQ,GAAR,QAAQ,CAAU;IAE5B,CAAC;IAjBD,IAAI,WAAW,CAAC,WAAiC;QAC/C,IAAI,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,EAAE;YACtD,IAAI,CAAC,YAAY,CAAC,qDAAqD,CAAC,CAAC;SAC1E;QACD,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC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\n OnInit,\n ViewContainerRef\n} from '@angular/core';\nimport { lang } from '@coolon/typescript-utilities';\nimport { Activity, ACTIVITY_DATA } from '../../../activity';\nimport { ActivityRef } from '../../../activity-ref';\nimport { InteractionContext } from '../../../interaction-context';\n\n/**\n * ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an\n * external service.\n */\n@Component({\n selector: 'aup-activity-outlet',\n template: '',\n styleUrls: ['./activity-outlet.component.scss']\n})\nexport class ActivityOutletComponent<D, R, E> implements OnInit {\n\n private activityComponentRef: ComponentRef<Activity<D, R, E>>;\n\n @Input()\n nestedInteractionContext: InteractionContext;\n\n private _activityRef: ActivityRef<D, R, E>;\n\n @Input()\n set activityRef(activityRef: ActivityRef<D, R, E>) {\n if (this.activityRef && !this.activityRef.isComplete()) {\n lang.illegalState('changing activity before previous one has completed');\n }\n this._activityRef = activityRef;\n this.loadActivity(activityRef);\n };\n\n get activityRef(): ActivityRef<D, R, E> {\n return this._activityRef;\n }\n\n constructor(\n private componentFactoryResolver: ComponentFactoryResolver,\n private viewContainerRef: ViewContainerRef,\n private injector: Injector\n ) {\n }\n\n ngOnInit() {\n }\n\n loadActivity(activityRef: ActivityRef<D, R, E>) {\n const injector = Injector.create({\n providers: [\n { provide: ACTIVITY_DATA, useValue: activityRef.activityData }\n ],\n parent: this.injector\n });\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(activityRef.activityClass);\n this.viewContainerRef.clear();\n // console.log(`creating component -> ${activityRef.activityClass.name}`);\n this.activityComponentRef = this.viewContainerRef.createComponent(componentFactory, 0, injector);\n this.activityRef.notifyActivityCreated(this.activityComponentRef.instance, this.nestedInteractionContext);\n }\n\n get component(): Activity<D, R, E> {\n return this.activityComponentRef.instance;\n }\n\n}\n"]}
1
+ {"version":3,"file":"activity-outlet.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SA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C,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,gBAAgB,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;QACjG,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,QAAQ,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAC5G,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC;IAC5C,CAAC;;;YArDF,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,QAAQ,EAAE,EAAE;;aAEb;;;YApBC,wBAAwB;YAKxB,gBAAgB;YAHhB,QAAQ;;;uCAuBP,KAAK;0BAKL,KAAK","sourcesContent":["import {\n Component,\n ComponentFactoryResolver,\n ComponentRef,\n Injector,\n Input,\n OnInit,\n ViewContainerRef\n} from '@angular/core';\nimport { lang } from '@coolon/typescript-utilities';\nimport { Activity, ACTIVITY_DATA } from '../../../activity';\nimport { ActivityRef } from '../../../activity-ref';\nimport { InteractionContext } from '../../../interaction-context';\n\n/**\n * ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an\n * external service.\n */\n@Component({\n selector: 'aup-activity-outlet',\n template: '',\n styleUrls: ['./activity-outlet.component.scss']\n})\nexport class ActivityOutletComponent<D, R, E> implements OnInit {\n\n private activityComponentRef: ComponentRef<Activity<D, R, E>>;\n\n @Input()\n nestedInteractionContext: InteractionContext;\n\n private _activityRef: ActivityRef<D, R, E>;\n\n @Input()\n set activityRef(activityRef: ActivityRef<D, R, E>) {\n if (this.activityRef && !this.activityRef.isComplete()) {\n lang.illegalState('changing activity before previous one has completed');\n }\n this._activityRef = activityRef;\n this.loadActivity(activityRef);\n };\n\n get activityRef(): ActivityRef<D, R, E> {\n return this._activityRef;\n }\n\n constructor(\n private componentFactoryResolver: ComponentFactoryResolver,\n private viewContainerRef: ViewContainerRef,\n private injector: Injector\n ) {\n }\n\n ngOnInit() {\n }\n\n loadActivity(activityRef: ActivityRef<D, R, E>) {\n const injector = Injector.create({\n providers: [\n { provide: ACTIVITY_DATA, useValue: activityRef.activityData }\n ],\n parent: this.injector\n });\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(activityRef.activityClass);\n this.viewContainerRef.clear();\n // console.log(`creating component -> ${activityRef.activityClass.name}`);\n this.activityComponentRef = this.viewContainerRef.createComponent(componentFactory, 0, injector);\n this.activityRef.notifyActivityCreated(this.activityComponentRef.instance, this.nestedInteractionContext);\n }\n\n get component(): Activity<D, R, E> {\n return this.activityComponentRef.instance;\n }\n\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-outlet.component.ngfactory.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-outlet.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activity-outlet.component.scss.shim.ngstyle.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
1
+ {"version":3,"file":"activity-outlet.component.scss.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.scss.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}