@coolon/angular-ui-powerups 12.4.0-alpha.68 → 12.4.0-alpha.7

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 (474) hide show
  1. package/assets/activities.scss +70 -0
  2. package/assets/form.scss +2 -10
  3. package/assets/interaction.scss +7 -10
  4. package/assets/mixins.scss +7 -5
  5. package/assets/styles.scss +15 -8
  6. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +331 -748
  7. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  8. package/bundles/coolon-angular-ui-powerups.umd.js +305 -1045
  9. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  10. package/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/cypress/components/aup-command-face.d.ts +8 -2
  12. package/cypress/components/aup-command.d.ts +1 -2
  13. package/cypress/components/aup-input.d.ts +5 -11
  14. package/cypress/components/aup-more-menu.d.ts +4 -0
  15. package/cypress/components/aup-popup-menu.d.ts +7 -0
  16. package/cypress/components/aup-table.d.ts +18 -5
  17. package/cypress/components/button-mixin.d.ts +19 -0
  18. package/cypress/components/button.d.ts +7 -11
  19. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  20. package/cypress/exports.d.ts +4 -25
  21. package/cypress/package.json +1 -1
  22. package/cypress/page-element.d.ts +12 -12
  23. package/cypress/page.d.ts +33 -8
  24. package/cypress/section.d.ts +52 -0
  25. package/esm2015/cypress/components/aup-command-face.js +22 -11
  26. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  27. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  28. package/esm2015/cypress/components/aup-command.js +6 -12
  29. package/esm2015/cypress/components/aup-command.js.map +1 -1
  30. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  31. package/esm2015/cypress/components/aup-input.js +5 -17
  32. package/esm2015/cypress/components/aup-input.js.map +1 -1
  33. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  34. package/esm2015/cypress/components/aup-more-menu.js +7 -0
  35. package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
  36. package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
  37. package/esm2015/cypress/components/aup-navigation.js +1 -1
  38. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  39. package/esm2015/cypress/components/aup-popup-menu.js +19 -0
  40. package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
  41. package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
  42. package/esm2015/cypress/components/aup-table.js +33 -5
  43. package/esm2015/cypress/components/aup-table.js.map +1 -1
  44. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  45. package/esm2015/cypress/components/button-mixin.js +15 -0
  46. package/esm2015/cypress/components/button-mixin.js.map +1 -0
  47. package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
  48. package/esm2015/cypress/components/button.js +10 -4
  49. package/esm2015/cypress/components/button.js.map +1 -1
  50. package/esm2015/cypress/components/button.metadata.json +1 -1
  51. package/esm2015/cypress/exports.js +4 -25
  52. package/esm2015/cypress/exports.js.map +1 -1
  53. package/esm2015/cypress/exports.metadata.json +1 -1
  54. package/esm2015/cypress/page-element.js +19 -26
  55. package/esm2015/cypress/page-element.js.map +1 -1
  56. package/esm2015/cypress/page-element.metadata.json +1 -1
  57. package/esm2015/cypress/page.js +19 -31
  58. package/esm2015/cypress/page.js.map +1 -1
  59. package/esm2015/cypress/page.metadata.json +1 -1
  60. package/esm2015/cypress/section.js +72 -0
  61. package/esm2015/cypress/section.js.map +1 -0
  62. package/esm2015/cypress/section.metadata.json +1 -0
  63. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  64. package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +1 -1
  65. package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
  66. package/esm2015/lib/components/card-container/card-container.component.js +84 -0
  67. package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
  68. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
  69. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
  70. package/esm2015/lib/components/{labelled-value/labelled-value.component.scss.shim.ngstyle.js.map → card-container/card-container.component.scss.shim.ngstyle.js.map} +1 -1
  71. package/esm2015/lib/components/commands/command/command.component.js +1 -1
  72. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  73. package/esm2015/lib/components/commands/command-face/command-face.component.js +1 -5
  74. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
  75. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
  76. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +1 -1
  77. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
  78. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +1 -1
  79. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -1
  80. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
  81. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
  82. package/esm2015/lib/components/components.module.js +24 -37
  83. package/esm2015/lib/components/components.module.js.map +1 -1
  84. package/esm2015/lib/components/components.module.metadata.json +1 -1
  85. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  86. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  87. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  88. package/esm2015/lib/components/exports.js +3 -6
  89. package/esm2015/lib/components/exports.js.map +1 -1
  90. package/esm2015/lib/components/exports.metadata.json +1 -1
  91. package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
  92. package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
  93. package/esm2015/lib/components/forms/abstract-input.component.js +0 -1
  94. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  95. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +1 -1
  96. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
  97. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  98. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  99. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +1 -1
  100. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  101. package/esm2015/lib/components/forms/select-input/select-input.component.js +1 -1
  102. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  103. package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
  104. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  105. package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
  106. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  107. package/esm2015/lib/components/icon/icon.component.js +1 -1
  108. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  109. package/esm2015/lib/components/noop/noop.component.js +1 -1
  110. package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
  111. package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
  112. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
  113. package/esm2015/lib/components/section-header/section-header.component.js +5 -12
  114. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
  115. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
  116. package/esm2015/lib/components/switch-case/switch-case.component.js +1 -1
  117. package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
  118. package/esm2015/lib/components/tables/abstract-table-model.js +3 -13
  119. package/esm2015/lib/components/tables/abstract-table-model.js.map +1 -1
  120. package/esm2015/lib/components/tables/abstract-table-model.metadata.json +1 -1
  121. package/esm2015/lib/components/tables/table/cell-renderer.js.map +1 -1
  122. package/esm2015/lib/components/tables/table/column-model.js +9 -34
  123. package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
  124. package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
  125. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  126. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
  127. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +1 -1
  128. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
  129. package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
  130. package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
  131. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  132. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  133. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js +2 -0
  134. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js.map +1 -1
  135. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.metadata.json +1 -1
  136. package/esm2015/lib/components/tables/table/table.component.js +1 -1
  137. package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
  138. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  139. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  140. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  141. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
  142. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
  143. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +13 -21
  144. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +1 -1
  145. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
  146. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js +1 -1
  147. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js.map +1 -1
  148. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.metadata.json +1 -1
  149. package/esm2015/lib/components/tables/tree-table/tree-node.js +2 -0
  150. package/esm2015/lib/components/tables/tree-table/tree-node.js.map +1 -0
  151. package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +1 -0
  152. package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
  153. package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
  154. package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
  155. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +2 -3
  156. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  157. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  158. package/esm2015/lib/components/tables/tree-table/visitable.class.js +26 -0
  159. package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +1 -0
  160. package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +1 -0
  161. package/esm2015/lib/components/track-by.js +0 -12
  162. package/esm2015/lib/components/track-by.js.map +1 -1
  163. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
  164. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
  165. package/esm2015/lib/directives/command.directive.js +1 -1
  166. package/esm2015/lib/directives/command.directive.js.map +1 -1
  167. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  168. package/esm2015/lib/interaction/activity.js +1 -1
  169. package/esm2015/lib/interaction/activity.js.map +1 -1
  170. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +11 -17
  171. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  172. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  173. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +3 -3
  174. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  175. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  176. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  177. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  178. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
  179. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  180. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
  181. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  182. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  183. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +2 -5
  184. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  185. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  186. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +2 -5
  187. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  188. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  189. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +2 -5
  190. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  191. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  192. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +1 -1
  193. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  194. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
  195. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  196. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +1 -1
  197. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  198. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +1 -1
  199. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  200. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +3 -7
  201. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  202. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  203. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +43 -0
  204. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -0
  205. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +1 -0
  206. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -0
  207. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +2 -0
  208. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -0
  209. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +1 -0
  210. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +2 -0
  211. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -0
  212. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +1 -0
  213. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -5
  214. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  215. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  216. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -6
  217. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  218. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  219. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +1 -2
  220. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
  221. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +1 -1
  222. package/esm2015/lib/interaction/exports.js +3 -5
  223. package/esm2015/lib/interaction/exports.js.map +1 -1
  224. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  225. package/esm2015/lib/interaction/interaction.module.js +5 -19
  226. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  227. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  228. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  229. package/esm2015/lib/interaction/services/interaction.service.js +1 -1
  230. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  231. package/esm2015/lib/place/components/abstract-place-navigation.component.js +1 -1
  232. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  233. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  234. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  235. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
  236. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
  237. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  238. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  239. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
  240. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  241. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  242. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  243. package/esm2015/lib/place/guards/consolidated-param-map.js +1 -2
  244. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  245. package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
  246. package/esm2015/lib/place/guards/place.guard.js +1 -2
  247. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  248. package/esm2015/lib/place/place-component.js +4 -31
  249. package/esm2015/lib/place/place-component.js.map +1 -1
  250. package/esm2015/lib/place/place-component.metadata.json +1 -1
  251. package/esm2015/lib/place/place-router.js +14 -11
  252. package/esm2015/lib/place/place-router.js.map +1 -1
  253. package/esm2015/lib/place/place-router.metadata.json +1 -1
  254. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  255. package/esm2015/lib/place/url-snapshot.js +7 -1
  256. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  257. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  258. package/esm2015/lib/place/visit.js +1 -5
  259. package/esm2015/lib/place/visit.js.map +1 -1
  260. package/esm2015/lib/place/visit.metadata.json +1 -1
  261. package/fesm2015/coolon-angular-ui-powerups-cypress.js +239 -550
  262. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  263. package/fesm2015/coolon-angular-ui-powerups.js +230 -858
  264. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  265. package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +9 -30
  266. package/lib/components/commands/command-face/command-face.component.d.ts +0 -1
  267. package/lib/components/exports.d.ts +3 -6
  268. package/lib/components/section-header/section-header.component.d.ts +2 -5
  269. package/lib/components/tables/abstract-table-model.d.ts +3 -6
  270. package/lib/components/tables/table/cell-renderer.d.ts +0 -2
  271. package/lib/components/tables/table/column-model.d.ts +3 -12
  272. package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +1 -2
  273. package/lib/components/tables/table/table-row-menu/table-row-menu.component.d.ts +3 -2
  274. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
  275. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -2
  276. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -2
  277. package/lib/components/tables/tree-table/tree-node.d.ts +3 -0
  278. package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
  279. package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
  280. package/lib/components/tables/tree-table/visitable.class.d.ts +22 -0
  281. package/lib/components/track-by.d.ts +0 -9
  282. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -14
  283. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  284. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -2
  285. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
  286. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
  287. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -1
  288. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +12 -0
  289. package/lib/interaction/components/input-activities/input-activity-data.d.ts +11 -0
  290. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +8 -0
  291. package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -11
  292. package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -6
  293. package/lib/interaction/exports.d.ts +3 -5
  294. package/lib/place/place-component.d.ts +1 -6
  295. package/lib/place/place-router.d.ts +2 -2
  296. package/package.json +16 -16
  297. package/schematics/activity/index.js +1 -1
  298. package/schematics/activity/index.js.map +1 -1
  299. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  300. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
  301. package/schematics/aup-i18n/index.js +1 -1
  302. package/schematics/aup-i18n/index.js.map +1 -1
  303. package/schematics/component/index.js +1 -1
  304. package/schematics/component/index.js.map +1 -1
  305. package/schematics/component/templates/component/__name@dasherize__.component.ts.template +1 -1
  306. package/schematics/place-routes/place-class-scanner.js +1 -3
  307. package/schematics/place-routes/place-class-scanner.js.map +1 -1
  308. package/schematics/utils/build-context.d.ts +3 -6
  309. package/schematics/utils/build-context.js +3 -3
  310. package/schematics/utils/build-context.js.map +1 -1
  311. package/schematics/utils/workspace.d.ts +0 -1
  312. package/schematics/utils/workspace.js +3 -11
  313. package/schematics/utils/workspace.js.map +1 -1
  314. package/assets/activities/activities.scss +0 -77
  315. package/assets/activities/input-activities.scss +0 -36
  316. package/assets/cards.scss +0 -17
  317. package/assets/empty-state.scss +0 -11
  318. package/assets/forms/mixins.scss +0 -6
  319. package/assets/interaction/editor/inline-string-editor.scss +0 -54
  320. package/cypress/component-builder.d.ts +0 -71
  321. package/cypress/components/aup-abstract-activity.d.ts +0 -31
  322. package/cypress/components/aup-abstract-table.d.ts +0 -18
  323. package/cypress/components/aup-activity.d.ts +0 -9
  324. package/cypress/components/aup-alert-dialog.d.ts +0 -27
  325. package/cypress/components/aup-alert.d.ts +0 -9
  326. package/cypress/components/aup-confirm-dialog.d.ts +0 -27
  327. package/cypress/components/aup-confirm.d.ts +0 -11
  328. package/cypress/components/aup-empty-state.d.ts +0 -4
  329. package/cypress/components/aup-modal-activity.d.ts +0 -24
  330. package/cypress/components/aup-modal-mixin.d.ts +0 -23
  331. package/cypress/components/aup-tree-table.d.ts +0 -16
  332. package/cypress/components/form-element-mixin.d.ts +0 -22
  333. package/cypress/components/mat-checkbox.d.ts +0 -31
  334. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
  335. package/cypress/components/popup/aup-more-menu.d.ts +0 -5
  336. package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
  337. package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
  338. package/cypress/components/table/aup-table-cell.d.ts +0 -9
  339. package/cypress/components/table/aup-table-column.d.ts +0 -10
  340. package/cypress/components/table/aup-table-row.d.ts +0 -17
  341. package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
  342. package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
  343. package/cypress/element-locator.d.ts +0 -8
  344. package/cypress/page-builder.d.ts +0 -9
  345. package/esm2015/cypress/component-builder.js +0 -92
  346. package/esm2015/cypress/component-builder.js.map +0 -1
  347. package/esm2015/cypress/component-builder.metadata.json +0 -1
  348. package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
  349. package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
  350. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
  351. package/esm2015/cypress/components/aup-abstract-table.js +0 -50
  352. package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
  353. package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
  354. package/esm2015/cypress/components/aup-activity.js +0 -13
  355. package/esm2015/cypress/components/aup-activity.js.map +0 -1
  356. package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
  357. package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
  358. package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
  359. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
  360. package/esm2015/cypress/components/aup-alert.js +0 -13
  361. package/esm2015/cypress/components/aup-alert.js.map +0 -1
  362. package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
  363. package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
  364. package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
  365. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
  366. package/esm2015/cypress/components/aup-confirm.js +0 -19
  367. package/esm2015/cypress/components/aup-confirm.js.map +0 -1
  368. package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
  369. package/esm2015/cypress/components/aup-empty-state.js +0 -7
  370. package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
  371. package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
  372. package/esm2015/cypress/components/aup-modal-activity.js +0 -5
  373. package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
  374. package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
  375. package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
  376. package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
  377. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
  378. package/esm2015/cypress/components/aup-tree-table.js +0 -34
  379. package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
  380. package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
  381. package/esm2015/cypress/components/form-element-mixin.js +0 -11
  382. package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
  383. package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
  384. package/esm2015/cypress/components/mat-checkbox.js +0 -34
  385. package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
  386. package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
  387. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
  388. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
  389. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
  390. package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
  391. package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
  392. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
  393. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
  394. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
  395. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
  396. package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
  397. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
  398. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
  399. package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
  400. package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
  401. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
  402. package/esm2015/cypress/components/table/aup-table-column.js +0 -19
  403. package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
  404. package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
  405. package/esm2015/cypress/components/table/aup-table-row.js +0 -28
  406. package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
  407. package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
  408. package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
  409. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
  410. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
  411. package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
  412. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
  413. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
  414. package/esm2015/cypress/element-locator.js +0 -16
  415. package/esm2015/cypress/element-locator.js.map +0 -1
  416. package/esm2015/cypress/element-locator.metadata.json +0 -1
  417. package/esm2015/cypress/page-builder.js +0 -16
  418. package/esm2015/cypress/page-builder.js.map +0 -1
  419. package/esm2015/cypress/page-builder.metadata.json +0 -1
  420. package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
  421. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
  422. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
  423. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
  424. package/esm2015/lib/components/cards/card-container/card-container.component.js +0 -123
  425. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
  426. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
  427. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
  428. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
  429. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -78
  430. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
  431. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
  432. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
  433. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
  434. package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -22
  435. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
  436. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
  437. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
  438. package/esm2015/lib/components/loading-container/loading-container.component.js +0 -45
  439. package/esm2015/lib/components/loading-container/loading-container.component.js.map +0 -1
  440. package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +0 -1
  441. package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +0 -1
  442. package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +0 -1
  443. package/esm2015/lib/components/tables/table/text-search-predicate.js +0 -2
  444. package/esm2015/lib/components/tables/table/text-search-predicate.js.map +0 -1
  445. package/esm2015/lib/components/tables/table/text-search-predicate.metadata.json +0 -1
  446. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -77
  447. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
  448. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
  449. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
  450. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
  451. package/esm2015/lib/interaction/components/editors/edit-context.js +0 -2
  452. package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
  453. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
  454. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +0 -50
  455. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
  456. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
  457. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -161
  458. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
  459. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
  460. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
  461. package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -95
  462. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
  463. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
  464. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
  465. package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
  466. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -65
  467. package/lib/components/labelled-value/labelled-value.component.d.ts +0 -7
  468. package/lib/components/loading-container/loading-container.component.d.ts +0 -11
  469. package/lib/components/tables/table/text-search-predicate.d.ts +0 -1
  470. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -39
  471. package/lib/interaction/components/editors/edit-context.d.ts +0 -3
  472. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +0 -24
  473. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +0 -57
  474. package/lib/interaction/components/input-activities/input-activity.d.ts +0 -41
@@ -1,7 +1,7 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { DOCUMENT, CommonModule, Location } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Directive, ElementRef, Inject, Host, Optional, Input, HostListener, NgZone, Injectable, Pipe, NgModule, Component, ContentChild, HostBinding, ViewEncapsulation, InjectionToken, ViewChildren, SkipSelf, EventEmitter, ViewChild, Output, Self, TemplateRef, ChangeDetectorRef, ContentChildren, ViewContainerRef, Injector, ComponentFactoryResolver } from '@angular/core';
4
+ import { Directive, ElementRef, Inject, Host, Optional, Input, HostListener, NgZone, Injectable, Pipe, NgModule, Component, ContentChild, ViewEncapsulation, HostBinding, InjectionToken, ViewChildren, SkipSelf, EventEmitter, ViewChild, Output, Self, TemplateRef, ChangeDetectorRef, ContentChildren, ViewContainerRef, Injector, ComponentFactoryResolver } from '@angular/core';
5
5
  import { FormsModule } from '@angular/forms';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import { MatInputModule } from '@angular/material/input';
@@ -16,23 +16,21 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
16
16
  import { MatDividerModule } from '@angular/material/divider';
17
17
  import { MatIconModule } from '@angular/material/icon';
18
18
  import { MatMenuItem, MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
19
- import { MatProgressBarModule } from '@angular/material/progress-bar';
20
19
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
21
20
  import { MatTableModule } from '@angular/material/table';
22
21
  import { MatTooltipModule } from '@angular/material/tooltip';
23
22
  import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
24
23
  import { fas } from '@fortawesome/free-solid-svg-icons';
25
- import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Functions } from '@coolon/pectin';
24
+ import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Trace, Functions } from '@coolon/pectin';
26
25
  import { __decorate, __metadata, __awaiter } from 'tslib';
27
26
  import { DomSanitizer } from '@angular/platform-browser';
28
27
  import * as _ from 'lodash';
29
28
  import ___default from 'lodash';
30
29
  import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
31
30
  import { Enum } from 'typescript-string-enums';
32
- import { lang as lang$1, assert as assert$1, Stringy, Opts, Klass } from '@coolon/typescript-utilities';
31
+ import { assert as assert$1, Stringy, lang as lang$1, Opts, Klass } from '@coolon/typescript-utilities';
33
32
  import ResizeObserver from 'resize-observer-polyfill';
34
33
  import produce from 'immer';
35
- import { A11yModule } from '@angular/cdk/a11y';
36
34
  import { FlexModule, GridModule } from '@angular/flex-layout';
37
35
  import * as i1$1 from '@angular/material/dialog';
38
36
  import { MatDialogModule, MatDialog, MatDialogConfig, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
@@ -49,7 +47,7 @@ class CommandDirective extends GarbageCollector {
49
47
  constructor(elementRef, matButton, matMenuItem) {
50
48
  super();
51
49
  this.elementRef = elementRef;
52
- this._commandEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(false));
50
+ this._commandEnabled = new DelegatingValueModel().withDefault(false);
53
51
  this._commandParameterProvided = false;
54
52
  // Material buttons and menu items don't respond to the disabled binding so we
55
53
  // need to inject them from our host element and handle them manually.
@@ -403,7 +401,7 @@ BusyOverlayComponent.decorators = [
403
401
  { type: Component, args: [{
404
402
  selector: 'aup-busy-overlay',
405
403
  template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
406
- styles: [":host{position:relative}div.busy-overlay-backdrop{z-index:10;z-index:var(--aup-busy-overlay-z-index, 10);position:absolute;background-color:#0003;top:0;left:0;bottom:0;right:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}\n"]
404
+ styles: [":host{position:relative}div.busy-overlay-backdrop{position:absolute;background-color:rgba(0,0,0,.2);top:0;left:0;bottom:0;right:0;display:grid;grid-template-columns:auto;grid-template-rows:auto;place-content:center}"]
407
405
  },] }
408
406
  ];
409
407
  BusyOverlayComponent.ctorParameters = () => [];
@@ -528,30 +526,6 @@ var CommandFace;
528
526
  CommandFace.Adapter = Adapter;
529
527
  })(CommandFace || (CommandFace = {}));
530
528
 
531
- class AbstractCardContainerComponent extends DisposableComponent {
532
- constructor() {
533
- super();
534
- }
535
- ngOnInit() {
536
- }
537
- }
538
- AbstractCardContainerComponent.decorators = [
539
- { type: Component, args: [{
540
- selector: 'aup-abstract-card-container',
541
- template: ''
542
- },] }
543
- ];
544
- AbstractCardContainerComponent.ctorParameters = () => [];
545
- AbstractCardContainerComponent.propDecorators = {
546
- addCardCommand: [{ type: Input }],
547
- addCardFace: [{ type: Input }],
548
- addCardTemplate: [{ type: ContentChild, args: ['addCardTemplate',] }]
549
- };
550
- __decorate([
551
- TrackExternal(),
552
- __metadata("design:type", Command)
553
- ], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
554
-
555
529
  /**
556
530
  * @example
557
531
  * // basic usage
@@ -569,13 +543,6 @@ __decorate([
569
543
  * <my-card *ngFor="..."></my-card>
570
544
  * </aup-card-container>
571
545
  *
572
- * // use the aup-add-card-activity to display as the new card place holder and to run
573
- * // the activity inside teh card
574
- * <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
575
- * <my-card *ngFor="..."></my-card>
576
- * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
577
- * </aup-card-container>
578
- *
579
546
  * // adds an add card component using the specified template. The template
580
547
  * // will fill it's container in the grid.
581
548
  * <aup-card-container>
@@ -608,144 +575,35 @@ __decorate([
608
575
  * aup-card-container {
609
576
  * --card-gap: var(--card-gap, 16px);
610
577
  * --card-width: var(--card-width, 300px);
611
- * --card-max-width: auto;
612
578
  * --card-height: var(--card-height, auto);
613
579
  * --card-min-height: var(--card-min-height, auto);
614
580
  * --card-background: var(--card-background, #fcfcfb);
615
581
  * }
616
582
  */
617
- class CardContainerComponent extends AbstractCardContainerComponent {
618
- constructor(elementRef) {
583
+ class CardContainerComponent extends DisposableComponent {
584
+ constructor() {
619
585
  super();
620
- this.elementRef = elementRef;
621
- /**
622
- * Enable scrolling. If true the container will have height==0 so you must set it's height explicitly
623
- * or place in a layout that will stretch it such as a grid or flex layout.
624
- */
625
- this.enabledScroll = false;
626
- }
627
- set columnCount(count) {
628
- if (!_.isNil(count) && (!_.isInteger(count) || count < 1)) {
629
- lang$1.illegalState('columnCount must be a positive integer or nil');
630
- }
631
- this._columnCount = count;
632
- this.updateColumnCountStyles();
633
- }
634
- get columnCount() {
635
- return this._columnCount;
636
586
  }
637
587
  ngOnInit() {
638
- super.ngOnInit();
639
- this.updateColumnCountStyles();
640
- }
641
- get isAutoColumns() {
642
- return _.isNil(this._columnCount);
643
- }
644
- get isSingleColumn() {
645
- return this._columnCount === 1;
646
- }
647
- updateColumnCountStyles() {
648
- const el = this.elementRef.nativeElement;
649
- if (_.isNil(this._columnCount)) {
650
- el.style.setProperty('--aup-card-container-column-count', '');
651
- }
652
- else {
653
- el.style.setProperty('--aup-card-container-column-count', this._columnCount);
654
- }
655
588
  }
656
589
  }
657
590
  CardContainerComponent.decorators = [
658
591
  { type: Component, args: [{
659
592
  selector: 'aup-card-container',
660
- template: "<div class=\"header-container\">\n <ng-content select=\"[card-container-header]\"></ng-content>\n</div>\n\n<ng-template #content>\n <div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n </div>\n</ng-template>\n\n<div class=\"no-scroll-container\" *ngIf=\"!enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</div>\n\n<aup-scroll-container *ngIf=\"enabledScroll\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aup-scroll-container>\n\n<div class=\"footer-container\">\n <ng-content select=\"[card-container-footer]\"></ng-content>\n</div>\n\n",
661
- styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-width: var(--card-width, 300px);--resolved-card-max-width: var(--card-max-width, auto);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, var(--aup-card-container-default-background-color));flex:1;display:flex;flex-direction:column;align-items:stretch;background:var(--resolved-card-background)}:host.auto-columns .card-container{grid-template-columns:repeat(auto-fit,minmax(var(--resolved-card-width),var(--resolved-card-max-width)));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap))}:host:not(.auto-columns) .card-container{grid-template-columns:repeat(var(--aup-card-container-column-count),1fr)}.card-container{display:grid;box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));max-width:100%;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap)}aup-scroll-container,.no-scroll-container{flex:1}.add-card-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"]
593
+ template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
594
+ styles: [":host{--resolved-card-gap:var(--card-gap,16px);--resolved-card-width:var(--card-width,300px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-background:var(--card-background,#fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
662
595
  },] }
663
596
  ];
664
- CardContainerComponent.ctorParameters = () => [
665
- { type: ElementRef }
666
- ];
597
+ CardContainerComponent.ctorParameters = () => [];
667
598
  CardContainerComponent.propDecorators = {
668
- columnCount: [{ type: Input }],
669
- enabledScroll: [{ type: Input }],
670
- isAutoColumns: [{ type: HostBinding, args: ['class.auto-columns',] }],
671
- isSingleColumn: [{ type: HostBinding, args: ['class.single-column',] }]
599
+ addCardCommand: [{ type: Input }],
600
+ addCardFace: [{ type: Input }],
601
+ addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
672
602
  };
673
-
674
- /**
675
- * @deprecated deprecated, use `aup-card-container [columnCount]="1"` instead.
676
- * @example
677
- * // basic usage
678
- * <aup-card-stack>
679
- * <my-card *ngFor="..."></my-card>
680
- * </aup-card-stack>
681
- *
682
- * // adds an add button with a the '+' icon to the end of the card list.
683
- * <aup-card-stack [addCardCommand]="addCard">
684
- * <my-card *ngFor="..."></my-card>
685
- * </aup-card-stack>
686
- *
687
- * // adds an add button with the specified face
688
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
689
- * <my-card *ngFor="..."></my-card>
690
- * </aup-card-stack>
691
- *
692
- * // use the aup-add-card-activity to display as the new card place holder and to run
693
- * // the activity inside teh card
694
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
695
- * <my-card *ngFor="..."></my-card>
696
- * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
697
- * </aup-card-stack>
698
- *
699
- * // adds an add card component using the specified template. The template
700
- * // will fill it's container in the grid.
701
- * <aup-card-stack>
702
- * <my-card *ngFor="..."></my-card>
703
- * <ng-template #addCardTemplate>
704
- * <div>This is a new card template, it will the the size of the other cards.</div>
705
- * </ng-template>
706
- * </aup-card-stack>
707
- *
708
- * // sing the default new card styles for your template
709
- * @import "../../../../assets/styles";
710
- * .my-new-card {
711
- * @include aup-card-stack-new-card-style();
712
- * // OR
713
- * @include aup-card-stack-new-card-style(
714
- * $color: rgba(0,0,0,0.54),
715
- * $background-color: rgba(255,255,255,0.8),
716
- * $hover-color: $color,
717
- * $background-hover-color: white
718
- * )
719
- * }
720
- * <aup-card-stack>
721
- * <my-card *ngFor="..."></my-card>
722
- * <ng-template #addCardTemplate>
723
- * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
724
- * </ng-template>
725
- * </aup-card-stack>
726
- *
727
- * // CSS Vars
728
- * aup-card-stack {
729
- * --card-gap: var(--card-gap, 16px);
730
- * --card-height: var(--card-height, auto);
731
- * --card-min-height: var(--card-min-height, auto);
732
- * --card-background: var(--card-background, #fcfcfb);
733
- * }
734
- */
735
- class CardStackComponent extends AbstractCardContainerComponent {
736
- constructor() {
737
- super();
738
- console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
739
- }
740
- }
741
- CardStackComponent.decorators = [
742
- { type: Component, args: [{
743
- selector: 'aup-card-stack',
744
- template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n",
745
- styles: [":host{--resolved-card-gap: var(--card-gap, 16px);--resolved-card-height: var(--card-height, auto);--resolved-card-min-height: var(--card-min-height, auto);--resolved-card-background: var(--card-background, #fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{display:flex;flex-direction:column;align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.add-card-container:hover{border-color:transparent;background-color:#fff;color:#0000008a}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}\n"]
746
- },] }
747
- ];
748
- CardStackComponent.ctorParameters = () => [];
603
+ __decorate([
604
+ TrackExternal(),
605
+ __metadata("design:type", Command)
606
+ ], CardContainerComponent.prototype, "addCardCommand", void 0);
749
607
 
750
608
  /**
751
609
  * Custom CSS:
@@ -770,9 +628,6 @@ class CommandFaceComponent extends DisposableComponent {
770
628
  this.activeIcon = activeFace.pluck("icon");
771
629
  this.activeColor = activeFace.pluck("color");
772
630
  }
773
- set face(face) {
774
- this.facesModel.value = [face];
775
- }
776
631
  get requiresMissingIconInLayout() {
777
632
  return this.includeMissingIconInLayout && !this.activeIcon.value;
778
633
  }
@@ -796,13 +651,12 @@ CommandFaceComponent.decorators = [
796
651
  selector: 'aup-command-face',
797
652
  template: "<div class=\"face-container\" *ngFor=\"let face of faceAdapters.value\">\n <aup-icon *ngIf=\"hasIconStart(face)\" [icon]=\"face.icon\"></aup-icon>\n <span *ngIf=\"face.text\">{{face.text}}</span>\n <aup-icon *ngIf=\"hasIconEnd(face)\" [icon]=\"face.icon\"></aup-icon>\n</div>\n",
798
653
  encapsulation: ViewEncapsulation.None,
799
- styles: ["aup-command-face{--icon-gap: var(--aup-command-face-icon-gap);display:inline-grid}aup-command-face>.face-container{grid-column:1;grid-row:1;display:inline-flex;flex-direction:row;align-items:center}aup-command-face>.face-container:not(:first-child){visibility:hidden}aup-command-face>.face-container *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}aup-command-face.centered{justify-items:center}aup-command-face.start{justify-items:self-start}aup-command-face.end{justify-items:self-end}\n"]
654
+ styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);display:inline-grid}aup-command-face>.face-container{grid-column:1;grid-row:1;display:inline-flex;flex-direction:row;align-items:center}aup-command-face>.face-container:not(:first-child){visibility:hidden}aup-command-face>.face-container *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}aup-command-face.centered{justify-items:center}aup-command-face.start{justify-items:self-start}aup-command-face.end{justify-items:self-end}"]
800
655
  },] }
801
656
  ];
802
657
  CommandFaceComponent.ctorParameters = () => [];
803
658
  CommandFaceComponent.propDecorators = {
804
659
  _rawFaces: [{ type: Input, args: ['faces',] }],
805
- face: [{ type: Input }],
806
660
  ignoreIcon: [{ type: Input }],
807
661
  ignoreText: [{ type: Input }],
808
662
  includeMissingIconInLayout: [{ type: Input }],
@@ -886,7 +740,7 @@ CommandComponent.decorators = [
886
740
  { type: Component, args: [{
887
741
  selector: 'aup-command',
888
742
  template: "<ng-container *ngIf=\"iconOnly.value\">\n <button mat-icon-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n</ng-container>\n<ng-container *ngIf=\"!iconOnly.value\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <ng-container *ngSwitchCase=\"CommandFace.Style.STROKED\">\n <button mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFace.Style.RAISED\">\n <button mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\" [class.busy]=\"command.busy.value\"\n [matTooltip]=\"tooltipModel.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n</ng-container>\n",
889
- styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}\n"]
743
+ styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}button{flex:1}"]
890
744
  },] }
891
745
  ];
892
746
  CommandComponent.ctorParameters = () => [
@@ -947,7 +801,7 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
947
801
  constructor(element, parent) {
948
802
  super(element, parent);
949
803
  this._unorderedChildren = new MutableListModel();
950
- this.faceModelDelegate = this.registerDisposable(new DelegatingValueModel());
804
+ this.faceModelDelegate = new DelegatingValueModel();
951
805
  this.xPosition = 'after';
952
806
  this.yPosition = 'below';
953
807
  const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
@@ -1058,22 +912,10 @@ __decorate([
1058
912
  var TrackBy;
1059
913
  (function (TrackBy) {
1060
914
  TrackBy.byIndex = (index, item) => index;
1061
- /**
1062
- * @deprecated use #track(MyType).by("property") instead.
1063
- * @param property
1064
- */
1065
915
  function trackByProperty(property) {
1066
916
  return (index, item) => item[property];
1067
917
  }
1068
918
  TrackBy.trackByProperty = trackByProperty;
1069
- function track(type) {
1070
- return {
1071
- by(property) {
1072
- return (index, item) => item[property];
1073
- }
1074
- };
1075
- }
1076
- TrackBy.track = track;
1077
919
  })(TrackBy || (TrackBy = {}));
1078
920
 
1079
921
  class CommandContainer extends GarbageCollector {
@@ -1121,7 +963,7 @@ ToolBarComponent.decorators = [
1121
963
  selector: 'aup-tool-bar',
1122
964
  template: '<div class="toolbar-content"><ng-content></ng-content></div>',
1123
965
  encapsulation: ViewEncapsulation.None,
1124
- styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}\n"]
966
+ styles: [":host{display:inline-block}.toolbar-content{display:inline-flex;flex-direction:row;align-items:center}.toolbar-content>aup-separator{align-self:stretch;margin:4px 0 4px 8px}.toolbar-content>aup-flex{flex:1}.toolbar-content>*+*{margin-left:8px}"]
1125
967
  },] }
1126
968
  ];
1127
969
  ToolBarComponent.ctorParameters = () => [];
@@ -1202,7 +1044,7 @@ __decorate([
1202
1044
  class PopupMenuRendererComponent extends DisposableComponent {
1203
1045
  constructor() {
1204
1046
  super();
1205
- this._childList = this.registerDisposable(new DelegatingListModel());
1047
+ this._childList = new DelegatingListModel();
1206
1048
  this.commandFired = new EventEmitter();
1207
1049
  this.TrackBy = TrackBy;
1208
1050
  const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
@@ -1296,7 +1138,7 @@ EmptyStateComponent.decorators = [
1296
1138
  <ng-content></ng-content>
1297
1139
  </div>
1298
1140
  `,
1299
- styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{display:flex;flex-direction:column;align-items:stretch;padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}\n"]
1141
+ styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}"]
1300
1142
  },] }
1301
1143
  ];
1302
1144
  EmptyStateComponent.ctorParameters = () => [];
@@ -1324,7 +1166,7 @@ FocusContainerComponent.decorators = [
1324
1166
  providers: [
1325
1167
  { provide: FocusManager }
1326
1168
  ],
1327
- styles: [":host{display:block}\n"]
1169
+ styles: [":host{display:block}"]
1328
1170
  },] }
1329
1171
  ];
1330
1172
  FocusContainerComponent.ctorParameters = () => [
@@ -1380,7 +1222,6 @@ class AbstractInputComponent extends DisposableComponent {
1380
1222
  constructor() {
1381
1223
  super();
1382
1224
  this.onValueEditedListeners = new EventListenerList();
1383
- this.userFloatLabel = 'always'; // TODO: make this an injectable default
1384
1225
  this.dense = false;
1385
1226
  // TODO: fix this.
1386
1227
  // tslint:disable-next-line:no-output-native
@@ -1641,7 +1482,7 @@ AutocompleteInputComponent.decorators = [
1641
1482
  { type: Component, args: [{
1642
1483
  selector: 'aup-autocomplete-input',
1643
1484
  template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input type=\"string\"\n matInput\n [matAutocomplete]=\"autocomplete\"\n placeholder=\"{{placeholder}}\"\n [ngModel]=\"componentValueModel.value\"\n (ngModelChange)=\"updateFilter($event)\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-autocomplete #autocomplete [displayWith]=\"optionLabelFormat\" [autoActiveFirstOption]=\"true\" (optionSelected)=\"onSelect($event)\">\n <mat-option *ngFor=\"let option of filteredOptions.value; let i = index\"\n [value]=\"option\"\n >{{formatOption(option)}}</mat-option>\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n </mat-autocomplete>\n\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1644
- styles: [":host{display:inline-block}mat-form-field{width:100%}\n"]
1485
+ styles: [":host{display:inline-block}mat-form-field{width:100%}"]
1645
1486
  },] }
1646
1487
  ];
1647
1488
  AutocompleteInputComponent.ctorParameters = () => [];
@@ -1677,7 +1518,7 @@ CheckboxInputComponent.decorators = [
1677
1518
  { type: Component, args: [{
1678
1519
  selector: 'aup-checkbox-input',
1679
1520
  template: "<!-- TODO: add focus binding -->\n<mat-checkbox\n [(ngModel)]=\"componentValueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
1680
- styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-hint,mat-error{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}\n"]
1521
+ styles: [":host{display:inline-flex;flex-direction:column;padding:24px 0 16px}:host.dense{padding:6px 0 2px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
1681
1522
  },] }
1682
1523
  ];
1683
1524
  CheckboxInputComponent.ctorParameters = () => [];
@@ -1705,7 +1546,7 @@ MultipleSelectInputComponent.decorators = [
1705
1546
  { type: Component, args: [{
1706
1547
  selector: 'aup-multiple-select-input',
1707
1548
  template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"componentListModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1708
- styles: [":host{display:inline-block}mat-form-field{width:100%}\n"]
1549
+ styles: [":host{display:inline-block}mat-form-field{width:100%}"]
1709
1550
  },] }
1710
1551
  ];
1711
1552
  MultipleSelectInputComponent.ctorParameters = () => [];
@@ -1787,7 +1628,7 @@ SelectInputComponent.decorators = [
1787
1628
  { type: Component, args: [{
1788
1629
  selector: 'aup-select-input',
1789
1630
  template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
1790
- styles: [":host{display:inline-block}mat-form-field{width:100%}\n"]
1631
+ styles: [":host{display:inline-block}mat-form-field{width:100%}"]
1791
1632
  },] }
1792
1633
  ];
1793
1634
  SelectInputComponent.ctorParameters = () => [];
@@ -1825,7 +1666,7 @@ StringInputComponent.decorators = [
1825
1666
  { type: Component, args: [{
1826
1667
  selector: 'aup-string-input',
1827
1668
  template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <button mat-button mat-icon-button matSuffix *ngIf=\"enableClear\" [pectinCommand]=\"clearCommand\">\n <aup-icon icon=\"mat:close\"></aup-icon>\n </button>\n</mat-form-field>\n\n",
1828
- styles: ["button[disabled]{visibility:hidden}\n"]
1669
+ styles: ["button[disabled]{visibility:hidden}"]
1829
1670
  },] }
1830
1671
  ];
1831
1672
  StringInputComponent.ctorParameters = () => [];
@@ -1859,7 +1700,7 @@ TextInputComponent.decorators = [
1859
1700
  { type: Component, args: [{
1860
1701
  selector: 'aup-text-input',
1861
1702
  template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <textarea matInput\n placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"componentValueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n >\n </textarea>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n\n",
1862
- styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}\n"]
1703
+ styles: ["button[disabled]{visibility:hidden}textarea{overflow:auto}"]
1863
1704
  },] }
1864
1705
  ];
1865
1706
  TextInputComponent.ctorParameters = () => [];
@@ -1898,7 +1739,7 @@ IconComponent.decorators = [
1898
1739
  { type: Component, args: [{
1899
1740
  selector: 'aup-icon',
1900
1741
  template: "<ng-container [ngSwitch]=\"prefix\">\n\n <mat-icon *ngSwitchCase=\"iconPrefix.SVG\"\n [svgIcon]=\"suffix\"\n class=\"svgIcon\">\n </mat-icon>\n\n <mat-icon *ngSwitchCase=\"iconPrefix.MATERIAL\">\n {{suffix}}\n </mat-icon>\n\n <div *ngSwitchCase=\"iconPrefix.FONT_AWESOME\"\n class=\"faIconWrapper\">\n <fa-icon [icon]=\"suffix\">\n </fa-icon>\n </div>\n\n <mat-icon *ngSwitchDefault\n [matTooltip]=\"errorMessage\">\n bug_report\n </mat-icon>\n\n</ng-container>\n\n",
1901
- styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center;width:24px;height:24px}.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}\n"]
1742
+ styles: [":host{display:inline-flex;width:24px}fa-icon{vertical-align:middle}.faIconWrapper{text-align:center}.faIconWrapper,.svgIcon{width:24px;height:24px}:host(.mat-chip-remove) mat-icon{font-size:18px}mat-icon{width:inherit;height:inherit}"]
1902
1743
  },] }
1903
1744
  ];
1904
1745
  IconComponent.propDecorators = {
@@ -1912,48 +1753,6 @@ IconComponent.propDecorators = {
1912
1753
  });
1913
1754
  })(IconComponent || (IconComponent = {}));
1914
1755
 
1915
- class LoadingContainerComponent extends GarbageCollector {
1916
- constructor() {
1917
- super();
1918
- }
1919
- get state() {
1920
- return this.loadingModel.value ? "loaded" : "loading";
1921
- }
1922
- ngOnInit() {
1923
- }
1924
- }
1925
- LoadingContainerComponent.decorators = [
1926
- { type: Component, args: [{
1927
- selector: 'aup-loading-container',
1928
- template: "<ng-content *ngIf=\"!loadingModel.value\"></ng-content>\n<section *ngIf=\"loadingModel.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{messageModel.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n",
1929
- styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"]
1930
- },] }
1931
- ];
1932
- LoadingContainerComponent.ctorParameters = () => [];
1933
- LoadingContainerComponent.propDecorators = {
1934
- loadingModel: [{ type: Input }],
1935
- loading: [{ type: Input }],
1936
- messageModel: [{ type: Input }],
1937
- message: [{ type: Input }],
1938
- state: [{ type: HostBinding, args: ["class",] }]
1939
- };
1940
- __decorate([
1941
- TrackExternal(),
1942
- __metadata("design:type", ValueModel)
1943
- ], LoadingContainerComponent.prototype, "loadingModel", void 0);
1944
- __decorate([
1945
- StoreInValueModel("loadingModel"),
1946
- __metadata("design:type", Boolean)
1947
- ], LoadingContainerComponent.prototype, "loading", void 0);
1948
- __decorate([
1949
- TrackExternal(),
1950
- __metadata("design:type", ValueModel)
1951
- ], LoadingContainerComponent.prototype, "messageModel", void 0);
1952
- __decorate([
1953
- StoreInValueModel("messageModel"),
1954
- __metadata("design:type", String)
1955
- ], LoadingContainerComponent.prototype, "message", void 0);
1956
-
1957
1756
  class NoopComponent {
1958
1757
  constructor() {
1959
1758
  }
@@ -1962,7 +1761,7 @@ NoopComponent.decorators = [
1962
1761
  { type: Component, args: [{
1963
1762
  selector: 'aup-noop',
1964
1763
  template: "",
1965
- styles: [":host{display:block}\n"]
1764
+ styles: [":host{display:block}"]
1966
1765
  },] }
1967
1766
  ];
1968
1767
  NoopComponent.ctorParameters = () => [];
@@ -1976,18 +1775,14 @@ ScrollContainerComponent.decorators = [
1976
1775
  { type: Component, args: [{
1977
1776
  selector: 'aup-scroll-container',
1978
1777
  template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n",
1979
- styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}\n"]
1778
+ styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}"]
1980
1779
  },] }
1981
1780
  ];
1982
1781
  ScrollContainerComponent.ctorParameters = () => [];
1983
1782
 
1984
- class SectionHeaderComponent extends DisposableComponent {
1783
+ class SectionHeaderComponent {
1985
1784
  constructor() {
1986
- super();
1987
- // readonly i18n = I18nMarsUi.components.layout.header;
1988
- this.size = 'medium';
1989
- this.borderTop = false;
1990
- this.borderBottom = false;
1785
+ this.underline = false;
1991
1786
  }
1992
1787
  ngOnInit() {
1993
1788
  }
@@ -1995,15 +1790,13 @@ class SectionHeaderComponent extends DisposableComponent {
1995
1790
  SectionHeaderComponent.decorators = [
1996
1791
  { type: Component, args: [{
1997
1792
  selector: 'aup-section-header',
1998
- template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n",
1999
- styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding: var(--padding, var(--default-padding));--resolved-padding-right: var(--padding-right, calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:#000000ab}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:#000000ab}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:#000000ab}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:#000000ab}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}\n"]
1793
+ template: "<ng-content></ng-content>\n",
1794
+ styles: [":host{--def-border-bottom-color:var(--border-bottom-color,rgba(0,0,0,0.07));display:block;padding:8px 16px;font-size:12px;line-height:12px;color:rgba(0,0,0,.5)}:host.underline{border-bottom:1px solid var(--def-border-bottom-color)}"]
2000
1795
  },] }
2001
1796
  ];
2002
1797
  SectionHeaderComponent.ctorParameters = () => [];
2003
1798
  SectionHeaderComponent.propDecorators = {
2004
- size: [{ type: Input }, { type: HostBinding, args: ['class',] }],
2005
- borderTop: [{ type: Input }, { type: HostBinding, args: ['class.border-top',] }],
2006
- borderBottom: [{ type: Input }, { type: HostBinding, args: ['class.border-bottom',] }]
1799
+ underline: [{ type: Input }, { type: HostBinding, args: ['class.underline',] }]
2007
1800
  };
2008
1801
 
2009
1802
  class SwitchCaseOption {
@@ -2108,7 +1901,7 @@ SwitchCaseComponent.decorators = [
2108
1901
  { type: Component, args: [{
2109
1902
  selector: 'aup-switch-case',
2110
1903
  template: "<mat-tab-group class=\"content-wrapper\" no-tab-header full-height-tabs [selectedIndex]=\"selectedIndex\">\n <mat-tab *ngFor=\"let option of switchCaseOptions\">\n <ng-template [ngTemplateOutlet]=\"option.templateRef\"></ng-template>\n </mat-tab>\n</mat-tab-group>\n\n\n",
2111
- styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}\n"]
1904
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch}mat-tab-group{flex:1}"]
2112
1905
  },] }
2113
1906
  ];
2114
1907
  SwitchCaseComponent.ctorParameters = () => [
@@ -2390,7 +2183,7 @@ EditRowControls.decorators = [
2390
2183
  { type: Component, args: [{
2391
2184
  selector: 'aup-row-editor-controls',
2392
2185
  template: "<button *ngIf=\"!editSession\" mat-icon-button [pectinCommand]=\"editRowCommand\" class=\"edit-button\"><aup-icon icon=\"mat:edit\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"saveCommand\"><aup-icon icon=\"mat:done\"></aup-icon></button>\n<button *ngIf=\"editSession\" mat-icon-button [pectinCommand]=\"cancelCommand\"><aup-icon icon=\"mat:clear\"></aup-icon></button>\n",
2393
- styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}\n"]
2186
+ styles: [":host{display:block;width:80px}.edit-button{visibility:hidden}:host-context(tr:hover) .edit-button{visibility:visible}"]
2394
2187
  },] }
2395
2188
  ];
2396
2189
  EditRowControls.ctorParameters = () => [];
@@ -2461,19 +2254,14 @@ const noop = () => {
2461
2254
  };
2462
2255
  const ɵ0 = noop;
2463
2256
  const CELL_RENDERER_COMPONENT_ROW_CACHE = Symbol('aup-cell-renderer:row-data-cache');
2464
- const DEFAULT_TEXT_SEARCH_PREDICATE = (row, text) => false;
2465
- const ɵ1 = DEFAULT_TEXT_SEARCH_PREDICATE;
2466
- class ColumnModel extends GarbageCollector {
2257
+ class ColumnModel {
2467
2258
  constructor(columnId, textPropertiesProvider) {
2468
- super();
2469
2259
  this.columnId = columnId;
2470
2260
  this.textPropertiesProvider = textPropertiesProvider;
2471
2261
  this._enableRowSelection = true;
2472
2262
  this._flex = false;
2473
- this._defaultVisibility = this.registerDisposable(new DelegatingValueModel().withDefault(true));
2474
- this._visible = this.registerDisposable(new DelegatingValueModel().withDefault(this._defaultVisibility));
2475
- this._columnModelTextSearchPredicate = undefined;
2476
- this._cellRendererTextSearchPredicate = undefined;
2263
+ this._defaultVisibility = new DelegatingValueModel().withDefault(true);
2264
+ this._visible = new DelegatingValueModel().withDefault(this._defaultVisibility);
2477
2265
  this.installHeaderRenderer();
2478
2266
  this.dasherisedColumnId = Stringy.from(columnId).dasherize().toString();
2479
2267
  }
@@ -2502,17 +2290,6 @@ class ColumnModel extends GarbageCollector {
2502
2290
  getDefaultHeaderText() {
2503
2291
  return this.columnId;
2504
2292
  }
2505
- get isTextMatch() {
2506
- return this._columnModelTextSearchPredicate || this._cellRendererTextSearchPredicate || DEFAULT_TEXT_SEARCH_PREDICATE;
2507
- }
2508
- /**
2509
- * Sets the predicate to use when checking if the specified row is a text match for this column.
2510
- * @param predicate
2511
- */
2512
- useTextSearchPredicate(predicate) {
2513
- this._columnModelTextSearchPredicate = predicate;
2514
- return this;
2515
- }
2516
2293
  getColumnTextProperties() {
2517
2294
  return this._columnTextProperties || this.textPropertiesProvider();
2518
2295
  }
@@ -2563,12 +2340,6 @@ class ColumnModel extends GarbageCollector {
2563
2340
  }
2564
2341
  onRendererAttached(host, component) {
2565
2342
  this._cellRendererPortalRef.onPortalAttached(host, component);
2566
- if (___default.isFunction(component.matches)) {
2567
- this._cellRendererTextSearchPredicate = (row, text) => component.matches(row, text);
2568
- }
2569
- else {
2570
- this._cellRendererTextSearchPredicate = undefined;
2571
- }
2572
2343
  }
2573
2344
  // @Trace()
2574
2345
  onEditorAttached(host, component) {
@@ -2601,11 +2372,8 @@ class PropertyColumnModel extends ColumnModel {
2601
2372
  constructor(id, property, defaults) {
2602
2373
  super(id, defaults);
2603
2374
  this.property = property;
2604
- this._format = (value) => value === null || value === void 0 ? void 0 : value.toString();
2375
+ this._format = (value) => value;
2605
2376
  this.cellRenderer(DefaultCellRendererComponent);
2606
- this.useTextSearchPredicate((row, regex) => {
2607
- return regex.test(this._format(row[this.property]));
2608
- });
2609
2377
  }
2610
2378
  cellRenderer(componentType, onComponentInitOrOptions) {
2611
2379
  this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData, firstTime) => {
@@ -2620,6 +2388,9 @@ class PropertyColumnModel extends ColumnModel {
2620
2388
  }
2621
2389
  }
2622
2390
  component.value = this._format(rowData.row[this.property]);
2391
+ if (!___default.isFunction(onComponentInitOrOptions) && ___default.isFunction(onComponentInitOrOptions === null || onComponentInitOrOptions === void 0 ? void 0 : onComponentInitOrOptions.onRowUpdate)) {
2392
+ onComponentInitOrOptions.onRowUpdate(component, rowData.row);
2393
+ }
2623
2394
  }));
2624
2395
  return this;
2625
2396
  }
@@ -2689,9 +2460,6 @@ class ListPropertyColumnModel extends ColumnModel {
2689
2460
  this.property = property;
2690
2461
  this._format = (value) => value.map(v => v === null || v === void 0 ? void 0 : v.toString()).join(', ');
2691
2462
  this.cellRenderer(DefaultCellRendererComponent);
2692
- this.useTextSearchPredicate((row, regex) => {
2693
- return regex.test(this._format(row[this.property]));
2694
- });
2695
2463
  }
2696
2464
  cellRenderer(componentType) {
2697
2465
  this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData) => {
@@ -3051,7 +2819,7 @@ class RowClass {
3051
2819
  class AbstractTableModel extends GarbageCollector {
3052
2820
  constructor() {
3053
2821
  super();
3054
- this._dataSource = this.registerDisposable(new DelegatingListModel());
2822
+ this._dataSource = new DelegatingListModel();
3055
2823
  this._columnList = this.registerDisposable(new ColumnListModel());
3056
2824
  this._editorSessions = new MutableListModel();
3057
2825
  this.rowClassNamePredicates = [];
@@ -3072,12 +2840,6 @@ class AbstractTableModel extends GarbageCollector {
3072
2840
  this.lastVisibleColumn = chain(this._columnList).last();
3073
2841
  this.rowSelectionDisabledOnAllColumns = chain(this._columnList).select(column => column.isRowSelectionEnabled()).count().equals(0);
3074
2842
  }
3075
- findMatchingColumns(row, regex) {
3076
- return this.columns.value.filter(c => c.isTextMatch(row, regex));
3077
- }
3078
- hasMatchingColumn(row, regex) {
3079
- return !!this.columns.value.find(c => c.isTextMatch(row, regex));
3080
- }
3081
2843
  setDataSource(sourceOfTruth) {
3082
2844
  this._dataSource.setDelegate(sourceOfTruth);
3083
2845
  }
@@ -3187,16 +2949,12 @@ class AbstractTableModel extends GarbageCollector {
3187
2949
  return this.isRowSelectionEnabled() && column.isRowSelectionEnabled();
3188
2950
  }
3189
2951
  isRowSelectionEnabled() {
3190
- return this.hasUserSelectionModel() && !this.rowSelectionDisabledOnAllColumns.value;
2952
+ return this.hasSelectionModel() && !this.rowSelectionDisabledOnAllColumns.value;
3191
2953
  }
3192
- hasUserSelectionModel() {
2954
+ hasSelectionModel() {
3193
2955
  var _a;
3194
2956
  return !!((_a = this.selectionColumnModel) === null || _a === void 0 ? void 0 : _a.selectionModel.getDelegate());
3195
2957
  }
3196
- getSelectionModel() {
3197
- var _a;
3198
- return (_a = this.selectionColumnModel) === null || _a === void 0 ? void 0 : _a.selectionModel;
3199
- }
3200
2958
  isHoverEnabled() {
3201
2959
  return this.isRowSelectionEnabled() || this.rowClickListeners.listenerCount > 0;
3202
2960
  }
@@ -3312,7 +3070,7 @@ TableHeaderCellRendererComponent.decorators = [
3312
3070
  { type: Component, args: [{
3313
3071
  selector: 'aup-table-header-cell-renderer',
3314
3072
  template: "<ng-container [cdkPortalOutlet]=\"getPortal()\" (attached)=\"initialiseHeader($event.instance)\"></ng-container>\n",
3315
- styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"]
3073
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}"]
3316
3074
  },] }
3317
3075
  ];
3318
3076
  TableHeaderCellRendererComponent.ctorParameters = () => [];
@@ -3342,6 +3100,8 @@ class TableRowMenuComponent extends DisposableComponent {
3342
3100
  registerMoreAction(commandFactory, properties) {
3343
3101
  this.moreActions.push(new MenuItemData(commandFactory, properties));
3344
3102
  }
3103
+ ngOnInit() {
3104
+ }
3345
3105
  createMoreMenuCommand(item, value) {
3346
3106
  const { when } = Dsl.disposeWith(this);
3347
3107
  const command = item.factory.create(value);
@@ -3456,7 +3216,7 @@ TableComponent.decorators = [
3456
3216
  providers: [
3457
3217
  { provide: AbstractTableComponent, useExisting: TableComponent }
3458
3218
  ],
3459
- styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"]
3219
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}"]
3460
3220
  },] }
3461
3221
  ];
3462
3222
  TableComponent.ctorParameters = () => [
@@ -3500,7 +3260,7 @@ TreeInheritanceIconComponent.decorators = [
3500
3260
  { type: Component, args: [{
3501
3261
  selector: 'aup-tree-inheritance-icon',
3502
3262
  template: "<svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"pixelWidth\" [attr.height]=\"pixelHeight\" [attr.viewBox]=\"viewBox\">\n <g fill=\"none\" fill-rule=\"evenodd\">\n <rect *ngIf=\"hasHead()\" width=\"1\" height=\"32.5\" x=\"11.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTail()\" width=\"1\" height=\"32.5\" x=\"11.5\" y=\"31.5\" fill=\"currentColor\"/>\n\n <rect *ngIf=\"hasLeadIn()\" width=\"12\" height=\"1\" y=\"31.5\" fill=\"currentColor\"/>\n <rect *ngIf=\"hasTerminal()\" width=\"12\" height=\"1\" x=\"12\" y=\"31.5\" fill=\"currentColor\"/>\n </g>\n</svg>\n",
3503
- styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}\n"]
3263
+ styles: [":host{position:relative;color:inherit}svg{color:var(--line-color);display:block}"]
3504
3264
  },] }
3505
3265
  ];
3506
3266
  TreeInheritanceIconComponent.ctorParameters = () => [];
@@ -3705,33 +3465,6 @@ var DecoratedTreeNode;
3705
3465
  DecoratedTreeNode.Decorator = Decorator;
3706
3466
  })(DecoratedTreeNode || (DecoratedTreeNode = {}));
3707
3467
 
3708
- class FlattenedTreeListModel extends ComputedListModel {
3709
- constructor(source, childRef, expansionModel) {
3710
- super(source, {
3711
- initialValue: [],
3712
- identifiedWith: row => source.identityOf(row)
3713
- });
3714
- this.source = source;
3715
- this.childRef = childRef;
3716
- this.expansionModel = expansionModel;
3717
- this.trackSource(expansionModel.isExpandedPredicate);
3718
- }
3719
- compute(values) {
3720
- const result = [];
3721
- values.forEach(rootNode => {
3722
- return this.addNodeAndVisibleChildren(DecoratedTreeNode.decorateRoot(rootNode, this.childRef), result);
3723
- });
3724
- return result;
3725
- }
3726
- addNodeAndVisibleChildren(node, result) {
3727
- result.push(node);
3728
- const decorator = node[treeNodeDecorator];
3729
- if (decorator.hasChildren() && !this.expansionModel.isCollapsed(node)) {
3730
- decorator.children.forEach(child => this.addNodeAndVisibleChildren(child, result));
3731
- }
3732
- }
3733
- }
3734
-
3735
3468
  class TreeExpansionModel {
3736
3469
  constructor(identityOf) {
3737
3470
  this.identityOf = identityOf;
@@ -3779,6 +3512,33 @@ class TreeExpansionModel {
3779
3512
  }
3780
3513
  }
3781
3514
 
3515
+ class FlattenedTreeListModel extends ComputedListModel {
3516
+ constructor(source, childRef, expansionModel) {
3517
+ super(source);
3518
+ this.source = source;
3519
+ this.childRef = childRef;
3520
+ this.expansionModel = expansionModel;
3521
+ this.trackSource(expansionModel.isExpandedPredicate);
3522
+ }
3523
+ getIdentityOf(item) {
3524
+ return this.source.identityOf(item);
3525
+ }
3526
+ compute(values) {
3527
+ const result = [];
3528
+ values.forEach(rootNode => {
3529
+ return this.addNodeAndVisibleChildren(DecoratedTreeNode.decorateRoot(rootNode, this.childRef), result);
3530
+ });
3531
+ return result;
3532
+ }
3533
+ addNodeAndVisibleChildren(node, result) {
3534
+ result.push(node);
3535
+ const decorator = node[treeNodeDecorator];
3536
+ if (decorator.hasChildren() && !this.expansionModel.isCollapsed(node)) {
3537
+ decorator.children.forEach(child => this.addNodeAndVisibleChildren(child, result));
3538
+ }
3539
+ }
3540
+ }
3541
+
3782
3542
  class TreeLabelColumnModel extends ColumnModel {
3783
3543
  constructor(columnId, textPropertiesProvider, expansionModel) {
3784
3544
  super(columnId, textPropertiesProvider);
@@ -3801,7 +3561,7 @@ class TreeLabelColumnModel extends ColumnModel {
3801
3561
  cellRenderer(componentType) {
3802
3562
  this.configureCellRenderer(new ComponentCellRendererPortalRef(componentType, (component, rowData, firstTime) => {
3803
3563
  if (firstTime) {
3804
- component.treeTableModel = this.expansionModel;
3564
+ component.expansionModel = this.expansionModel;
3805
3565
  }
3806
3566
  component.value = rowData.row;
3807
3567
  component.label = ___default.isNil(this.labelProperty) ? undefined : rowData.row[this.labelProperty];
@@ -3833,11 +3593,10 @@ class TreeTableModel extends AbstractTableModel {
3833
3593
  const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
3834
3594
  this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
3835
3595
  this.setDataSource(this.flattenedDataSource);
3836
- this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
3837
3596
  }
3838
3597
  treeControlColumn(builder) {
3839
3598
  const columnId = 'tree-label';
3840
- const column = new TreeLabelColumnModel(columnId, () => this.getColumnTextProperties(columnId), this);
3599
+ const column = new TreeLabelColumnModel(columnId, () => this.getColumnTextProperties(columnId), this.treeExpansionModel);
3841
3600
  builder(column);
3842
3601
  this.addColumn(column);
3843
3602
  }
@@ -3845,7 +3604,7 @@ class TreeTableModel extends AbstractTableModel {
3845
3604
  this.treeExpansionModel.expand(node);
3846
3605
  }
3847
3606
  collapse(node) {
3848
- this.treeExpansionModel.collapse(node);
3607
+ this.treeExpansionModel.expand(node);
3849
3608
  }
3850
3609
  isCollapsed(node) {
3851
3610
  return this.treeExpansionModel.isCollapsed(node);
@@ -3922,17 +3681,17 @@ class TreeLabelCellRendererComponent extends DisposableComponent {
3922
3681
  ngOnInit() {
3923
3682
  const { chain } = Dsl.disposeWith(this);
3924
3683
  this.canExpand = chain(this.nodeModel).map(node => {
3925
- return DecoratedTreeNode.getDecorator(node).hasChildren() && this.treeTableModel.isCollapsed(node);
3926
- }, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
3684
+ return DecoratedTreeNode.getDecorator(node).hasChildren() && this.expansionModel.isCollapsed(node);
3685
+ }, { dependsOn: this.expansionModel.isExpandedPredicate });
3927
3686
  this.canCollapse = chain(this.nodeModel).map(node => {
3928
- return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.treeTableModel.isCollapsed(node);
3929
- }, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
3687
+ return DecoratedTreeNode.getDecorator(node).hasChildren() && !this.expansionModel.isCollapsed(node);
3688
+ }, { dependsOn: this.expansionModel.isExpandedPredicate });
3930
3689
  this.iconModel = chain(this.nodeModel).map(node => {
3931
3690
  var _a;
3932
- const expanded = this.treeTableModel.treeExpansionModel.isExpanded(this.node);
3691
+ const expanded = this.expansionModel.isExpanded(this.node);
3933
3692
  const iconFactory = (_a = this.iconFactory) !== null && _a !== void 0 ? _a : TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY;
3934
3693
  return iconFactory(node, expanded, TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY(node, expanded, undefined));
3935
- }, { dependsOn: this.treeTableModel.treeExpansionModel.isExpandedPredicate });
3694
+ }, { dependsOn: this.expansionModel.isExpandedPredicate });
3936
3695
  }
3937
3696
  get isRoot() {
3938
3697
  return DecoratedTreeNode.getDecorator(this.node).isRoot();
@@ -3944,17 +3703,15 @@ class TreeLabelCellRendererComponent extends DisposableComponent {
3944
3703
  return this.nodeModel.value;
3945
3704
  }
3946
3705
  // @Trace()
3947
- expandOrCollapse($event, node) {
3948
- $event.preventDefault();
3949
- $event.stopPropagation();
3950
- this.treeTableModel.isCollapsed(node) ? this.treeTableModel.expand(node) : this.treeTableModel.collapse(node);
3706
+ expandOrCollapse(node) {
3707
+ this.expansionModel.isCollapsed(node) ? this.expansionModel.expand(node) : this.expansionModel.collapse(node);
3951
3708
  }
3952
3709
  }
3953
3710
  TreeLabelCellRendererComponent.decorators = [
3954
3711
  { type: Component, args: [{
3955
3712
  selector: 'aup-tree-label-cell-renderer',
3956
- template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let iconClass of iconList.value\" [type]=\"iconClass\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse($event, node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n",
3957
- styles: [":host{--line-color: #ddd;--node-color: #999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-tree-inheritance-icon,:host div.tree-icons aup-icon{margin-left:4px}\n"]
3713
+ template: "<div class=\"tree-icons\">\n <aup-tree-inheritance-icon *ngFor=\"let iconClass of iconList.value\" [type]=\"iconClass\"></aup-tree-inheritance-icon>\n <aup-icon *ngIf=\"iconModel.value\"\n [icon]=\"iconModel.value\"\n [class.clickable]=\"canExpand.value || canCollapse.value\"\n (click)=\"expandOrCollapse(node)\" ></aup-icon>\n</div>\n<div class=\"label\">{{label}}</div>\n",
3714
+ styles: [":host{--line-color:#ddd;--node-color:#999;display:inline-flex;flex-direction:row;align-items:stretch}:host div.label{display:flex;flex-direction:row;align-items:center;white-space:nowrap;padding-left:6px}:host div.tree-icons{display:grid;grid-auto-flow:column;grid-auto-columns:auto;grid-template-rows:1fr;align-items:stretch;justify-content:stretch}:host div.tree-icons aup-icon{align-self:center;color:var(--node-color)}:host div.tree-icons aup-icon.clickable{cursor:pointer}:host div.tree-icons aup-icon,:host div.tree-icons aup-tree-inheritance-icon{margin-left:4px}"]
3958
3715
  },] }
3959
3716
  ];
3960
3717
  TreeLabelCellRendererComponent.ctorParameters = () => [];
@@ -3962,7 +3719,7 @@ TreeLabelCellRendererComponent.propDecorators = {
3962
3719
  value: [{ type: Input }],
3963
3720
  label: [{ type: Input }],
3964
3721
  iconFactory: [{ type: Input }],
3965
- treeTableModel: [{ type: Input }],
3722
+ expansionModel: [{ type: Input }],
3966
3723
  isRoot: [{ type: HostBinding, args: ['class.root',] }],
3967
3724
  isLeaf: [{ type: HostBinding, args: ['class.leaf',] }]
3968
3725
  };
@@ -3971,14 +3728,7 @@ __decorate([
3971
3728
  __metadata("design:type", Object)
3972
3729
  ], TreeLabelCellRendererComponent.prototype, "value", void 0);
3973
3730
  (function (TreeLabelCellRendererComponent) {
3974
- TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => {
3975
- const isLeaf = DecoratedTreeNode.getDecorator(node).isLeaf();
3976
- return isLeaf ?
3977
- undefined :
3978
- expanded ?
3979
- 'mat:expand_more' :
3980
- 'mat:chevron_right';
3981
- };
3731
+ TreeLabelCellRendererComponent.DEFAULT_ICON_FACTORY = (node, expanded, defaultIcon) => expanded ? 'mat:expand_more' : 'mat:chevron_right';
3982
3732
  })(TreeLabelCellRendererComponent || (TreeLabelCellRendererComponent = {}));
3983
3733
 
3984
3734
  /**
@@ -4056,7 +3806,7 @@ TreeTableComponent.decorators = [
4056
3806
  providers: [
4057
3807
  { provide: AbstractTableComponent, useExisting: TreeTableComponent }
4058
3808
  ],
4059
- styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n", "td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label,td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}\n"]
3809
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host.enable-scrolling{min-height:0}:host.enable-scrolling .scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}", "td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}"]
4060
3810
  },] }
4061
3811
  ];
4062
3812
  TreeTableComponent.ctorParameters = () => [
@@ -4110,7 +3860,7 @@ VerticalFocusContainerComponent.decorators = [
4110
3860
  providers: [
4111
3861
  { provide: FocusManager }
4112
3862
  ],
4113
- styles: [":host{display:block}\n"]
3863
+ styles: [":host{display:block}"]
4114
3864
  },] }
4115
3865
  ];
4116
3866
  VerticalFocusContainerComponent.ctorParameters = () => [
@@ -4156,7 +3906,7 @@ PaginatorComponent.decorators = [
4156
3906
  { type: Component, args: [{
4157
3907
  selector: 'aup-paginator',
4158
3908
  template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n",
4159
- styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color:#0009}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{padding:0;margin:0;width:30px;height:30px}\n"]
3909
+ styles: [":host{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-size:12px;padding:0 8px;color:rgba(0,0,0,.6)}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{padding:0;margin:0;width:30px;height:30px}"]
4160
3910
  },] }
4161
3911
  ];
4162
3912
  PaginatorComponent.ctorParameters = () => [];
@@ -4168,26 +3918,6 @@ __decorate([
4168
3918
  __metadata("design:type", PageController)
4169
3919
  ], PaginatorComponent.prototype, "pageController", void 0);
4170
3920
 
4171
- class LabelledValueComponent extends DisposableComponent {
4172
- constructor() {
4173
- super();
4174
- // const {chain} = Dsl.disposeWith(this);
4175
- }
4176
- ngOnInit() {
4177
- }
4178
- }
4179
- LabelledValueComponent.decorators = [
4180
- { type: Component, args: [{
4181
- selector: 'aup-labelled-value',
4182
- template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
4183
- styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:#00000091;margin-bottom:6px;white-space:nowrap}\n"]
4184
- },] }
4185
- ];
4186
- LabelledValueComponent.ctorParameters = () => [];
4187
- LabelledValueComponent.propDecorators = {
4188
- label: [{ type: Input }]
4189
- };
4190
-
4191
3921
  class ComponentsModule {
4192
3922
  constructor(faIconLibrary) {
4193
3923
  faIconLibrary.addIconPacks(fas);
@@ -4195,29 +3925,6 @@ class ComponentsModule {
4195
3925
  }
4196
3926
  ComponentsModule.decorators = [
4197
3927
  { type: NgModule, args: [{
4198
- imports: [
4199
- CommonModule,
4200
- BrowserAnimationsModule,
4201
- FormsModule,
4202
- MatInputModule,
4203
- MatFormFieldModule,
4204
- MatSelectModule,
4205
- MatTabsModule,
4206
- DirectivesModule,
4207
- MatIconModule,
4208
- MatButtonModule,
4209
- MatCheckboxModule,
4210
- MatTableModule,
4211
- PortalModule,
4212
- CdkScrollableModule,
4213
- FontAwesomeModule,
4214
- MatTooltipModule,
4215
- MatAutocompleteModule,
4216
- MatMenuModule,
4217
- MatDividerModule,
4218
- MatProgressSpinnerModule,
4219
- MatProgressBarModule
4220
- ],
4221
3928
  declarations: [
4222
3929
  AbstractInputComponent,
4223
3930
  AbstractValueInputComponent,
@@ -4266,11 +3973,29 @@ ComponentsModule.decorators = [
4266
3973
  BusyOverlayComponent,
4267
3974
  EmptyStateComponent,
4268
3975
  PaginatorComponent,
4269
- AbstractTableComponent,
4270
- AbstractCardContainerComponent,
4271
- CardStackComponent,
4272
- LabelledValueComponent,
4273
- LoadingContainerComponent
3976
+ AbstractTableComponent
3977
+ ],
3978
+ imports: [
3979
+ CommonModule,
3980
+ BrowserAnimationsModule,
3981
+ FormsModule,
3982
+ MatInputModule,
3983
+ MatFormFieldModule,
3984
+ MatSelectModule,
3985
+ MatTabsModule,
3986
+ DirectivesModule,
3987
+ MatIconModule,
3988
+ MatButtonModule,
3989
+ MatCheckboxModule,
3990
+ MatTableModule,
3991
+ PortalModule,
3992
+ CdkScrollableModule,
3993
+ FontAwesomeModule,
3994
+ MatTooltipModule,
3995
+ MatAutocompleteModule,
3996
+ MatMenuModule,
3997
+ MatDividerModule,
3998
+ MatProgressSpinnerModule
4274
3999
  ],
4275
4000
  exports: [
4276
4001
  NumberInputComponent,
@@ -4307,9 +4032,6 @@ ComponentsModule.decorators = [
4307
4032
  BusyOverlayComponent,
4308
4033
  EmptyStateComponent,
4309
4034
  PaginatorComponent,
4310
- CardStackComponent,
4311
- LabelledValueComponent,
4312
- LoadingContainerComponent,
4313
4035
  ],
4314
4036
  providers: [
4315
4037
  FocusBindingFactory
@@ -4345,8 +4067,7 @@ class ActivityActionsComponent extends DisposableComponent {
4345
4067
  constructor(cdr) {
4346
4068
  super();
4347
4069
  this.cdr = cdr;
4348
- this.layout = ActivityActionsComponent.Layout.BLOCK;
4349
- this.align = ActivityActionsComponent.Align.STRETCH;
4070
+ this.align = 'stretch';
4350
4071
  }
4351
4072
  set faces(faces) {
4352
4073
  this.confirmFace = faces.confirm;
@@ -4358,6 +4079,12 @@ class ActivityActionsComponent extends DisposableComponent {
4358
4079
  set style(style) {
4359
4080
  this.faces = style;
4360
4081
  }
4082
+ get alignEnd() {
4083
+ return this.align === 'end';
4084
+ }
4085
+ get alignStretch() {
4086
+ return this.align === 'stretch';
4087
+ }
4361
4088
  ngOnInit() {
4362
4089
  }
4363
4090
  hasConfirmFace() {
@@ -4376,7 +4103,7 @@ ActivityActionsComponent.decorators = [
4376
4103
  { type: Component, args: [{
4377
4104
  selector: 'aup-activity-actions',
4378
4105
  template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
4379
- styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}\n"]
4106
+ styles: [":host{display:grid;grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr;grid-template-rows:auto;align-items:center;justify-content:end}:host.align-end{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host.align-stretch{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
4380
4107
  },] }
4381
4108
  ];
4382
4109
  ActivityActionsComponent.ctorParameters = () => [
@@ -4389,8 +4116,9 @@ ActivityActionsComponent.propDecorators = {
4389
4116
  confirmFace: [{ type: Input }],
4390
4117
  cancelFace: [{ type: Input }],
4391
4118
  style: [{ type: Input }],
4392
- layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
4393
- align: [{ type: Input }, { type: HostBinding, args: ['attr.align',] }]
4119
+ align: [{ type: Input }],
4120
+ alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
4121
+ alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
4394
4122
  };
4395
4123
  __decorate([
4396
4124
  TrackExternal(),
@@ -4400,23 +4128,12 @@ __decorate([
4400
4128
  TrackExternal(),
4401
4129
  __metadata("design:type", Command)
4402
4130
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
4403
- (function (ActivityActionsComponent) {
4404
- ActivityActionsComponent.Layout = Enum({
4405
- INLINE: 'inline',
4406
- BLOCK: 'block'
4407
- });
4408
- ActivityActionsComponent.Align = Enum({
4409
- START: 'start',
4410
- END: 'end',
4411
- STRETCH: 'stretch'
4412
- });
4413
- })(ActivityActionsComponent || (ActivityActionsComponent = {}));
4414
4131
 
4415
4132
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
4416
4133
  class Activity extends DisposableComponent {
4417
4134
  constructor() {
4418
4135
  super();
4419
- this._busyModel = this.registerDisposable(new DelegatingValueModel().withDefault(false));
4136
+ this._busyModel = new DelegatingValueModel().withDefault(false);
4420
4137
  this._focusedModel = this.registerDisposable(new DelegatingValueModel());
4421
4138
  this.class = 'aup-activity';
4422
4139
  }
@@ -4506,7 +4223,7 @@ AlertDialogComponent.decorators = [
4506
4223
  { type: Component, args: [{
4507
4224
  selector: 'aup-alert-dialog',
4508
4225
  template: "<aup-activity-title *ngIf=\"alert.title\">{{alert.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n",
4509
- styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"]
4226
+ styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
4510
4227
  },] }
4511
4228
  ];
4512
4229
  AlertDialogComponent.ctorParameters = () => [
@@ -4551,7 +4268,7 @@ ConfirmThenDialogComponent.decorators = [
4551
4268
  { type: Component, args: [{
4552
4269
  selector: 'aup-confirmation-dialog',
4553
4270
  template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n",
4554
- styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"]
4271
+ styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
4555
4272
  },] }
4556
4273
  ];
4557
4274
  ConfirmThenDialogComponent.ctorParameters = () => [
@@ -4591,7 +4308,7 @@ ConfirmationDialogComponent.decorators = [
4591
4308
  { type: Component, args: [{
4592
4309
  selector: 'aup-confirmation-dialog',
4593
4310
  template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n",
4594
- styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"]
4311
+ styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}"]
4595
4312
  },] }
4596
4313
  ];
4597
4314
  ConfirmationDialogComponent.ctorParameters = () => [
@@ -4733,7 +4450,7 @@ ActivityOutletComponent.decorators = [
4733
4450
  { type: Component, args: [{
4734
4451
  selector: 'aup-activity-outlet',
4735
4452
  template: '',
4736
- styles: [":host{display:block}\n"]
4453
+ styles: [":host{display:block}"]
4737
4454
  },] }
4738
4455
  ];
4739
4456
  ActivityOutletComponent.ctorParameters = () => [
@@ -4753,7 +4470,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
4753
4470
  this.activityRefs = [];
4754
4471
  this.garbage = new GarbageCollector();
4755
4472
  this.inAnimation = new MutableValueModel(false);
4756
- this.busy = this.registerDisposable(new DelegatingValueModel().withDefault(false));
4473
+ this.busy = new DelegatingValueModel().withDefault(false);
4757
4474
  this.registerDisposable(this.busy);
4758
4475
  }
4759
4476
  ngOnInit() {
@@ -4929,8 +4646,8 @@ class ActivityContainerComponent extends AbstractInteractionContext {
4929
4646
  ActivityContainerComponent.decorators = [
4930
4647
  { type: Component, args: [{
4931
4648
  selector: 'aup-activity-container',
4932
- 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 <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\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 </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n",
4933
- styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}\n"]
4649
+ 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 <aup-busy-overlay [busyModel]=\"busy\">\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 </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n",
4650
+ styles: [":host{display:flex;flex-direction:column}aup-busy-overlay,mat-tab-group{flex:1}"]
4934
4651
  },] }
4935
4652
  ];
4936
4653
  ActivityContainerComponent.ctorParameters = () => [];
@@ -4983,7 +4700,7 @@ ActivityTitleComponent.decorators = [
4983
4700
  { type: Component, args: [{
4984
4701
  selector: 'aup-activity-title',
4985
4702
  template: "<ng-content></ng-content>\n",
4986
- styles: [":host{display:block}\n"]
4703
+ styles: [":host{display:block}"]
4987
4704
  },] }
4988
4705
  ];
4989
4706
  ActivityTitleComponent.propDecorators = {
@@ -5008,9 +4725,6 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
5008
4725
  });
5009
4726
  });
5010
4727
  }
5011
- get interactionContext() {
5012
- return lang$1.abstractMethod(this.constructor);
5013
- }
5014
4728
  ngOnInit() {
5015
4729
  }
5016
4730
  get isActive() {
@@ -5176,7 +4890,7 @@ InteractionService.ctorParameters = () => [
5176
4890
  constructor() {
5177
4891
  super();
5178
4892
  this._interactions = new MutableListModel();
5179
- this._disabledDelegate = this.registerDisposable(new DelegatingValueModel().withDefault(false));
4893
+ this._disabledDelegate = new DelegatingValueModel().withDefault(false);
5180
4894
  const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
5181
4895
  this.active = chain(this._interactions).isNotEmpty();
5182
4896
  this.interactionContextIds = chain(this._interactions).pluck("identifier");
@@ -5232,17 +4946,14 @@ InteractionService.ctorParameters = () => [
5232
4946
  class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
5233
4947
  constructor(interactionService) {
5234
4948
  super();
5235
- this._interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5236
- }
5237
- get interactionContext() {
5238
- return this._interactionContext;
4949
+ this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5239
4950
  }
5240
4951
  }
5241
4952
  ModalActivityTriggerComponent.decorators = [
5242
4953
  { type: Component, args: [{
5243
4954
  selector: 'aup-modal-activity-trigger',
5244
4955
  template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n",
5245
- styles: [":host{display:inline-block}\n"]
4956
+ styles: [":host{display:inline-block}"]
5246
4957
  },] }
5247
4958
  ];
5248
4959
  ModalActivityTriggerComponent.ctorParameters = () => [
@@ -5275,9 +4986,6 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
5275
4986
  var _a;
5276
4987
  return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
5277
4988
  }
5278
- get active() {
5279
- return this.isActive();
5280
- }
5281
4989
  ngAfterViewInit() {
5282
4990
  this.interactionService.registerInplaceInteractionContext(this);
5283
4991
  }
@@ -5313,7 +5021,7 @@ InPlaceInteractionContextComponent.decorators = [
5313
5021
  { type: Component, args: [{
5314
5022
  selector: 'aup-in-place-interaction-context',
5315
5023
  template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\" [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n",
5316
- styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}\n"]
5024
+ styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
5317
5025
  },] }
5318
5026
  ];
5319
5027
  InPlaceInteractionContextComponent.ctorParameters = () => [
@@ -5322,81 +5030,9 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
5322
5030
  ];
5323
5031
  InPlaceInteractionContextComponent.propDecorators = {
5324
5032
  activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
5325
- animateFirstActivity: [{ type: Input }],
5326
- active: [{ type: HostBinding, args: ["class.active",] }]
5033
+ animateFirstActivity: [{ type: Input }]
5327
5034
  };
5328
5035
 
5329
- /**
5330
- *
5331
- */
5332
- class AddCardActivityComponent extends AbstractActivityTriggerComponent {
5333
- constructor(interactionService) {
5334
- super();
5335
- this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
5336
- this.renderAs = AddCardActivityComponent.RenderAs.CARD;
5337
- this.notCard = true;
5338
- const { chain } = Dsl.disposeWith(this);
5339
- this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
5340
- this.faceList = chain(this.faceModel).mapToList(face => [face]);
5341
- }
5342
- get renderAsClass() {
5343
- return `render-as-${this.renderAs}`;
5344
- }
5345
- get activityTypeClass() {
5346
- return `${this.interactionStyle}-activity`;
5347
- }
5348
- isRenderAsCard() {
5349
- return this.renderAs === 'card';
5350
- }
5351
- isRenderAsButton() {
5352
- return this.renderAs === 'button';
5353
- }
5354
- ngOnInit() {
5355
- }
5356
- get interactionContext() {
5357
- switch (this.interactionStyle) {
5358
- case 'inline':
5359
- return this.inlineInteractionContext;
5360
- default:
5361
- return this.modalInteractionContext;
5362
- }
5363
- }
5364
- isModal() {
5365
- return this.interactionStyle === 'modal';
5366
- }
5367
- isInline() {
5368
- return this.interactionStyle === 'inline';
5369
- }
5370
- }
5371
- AddCardActivityComponent.decorators = [
5372
- { type: Component, args: [{
5373
- selector: 'aup-add-card-activity',
5374
- template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n",
5375
- styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"]
5376
- },] }
5377
- ];
5378
- AddCardActivityComponent.ctorParameters = () => [
5379
- { type: InteractionService }
5380
- ];
5381
- AddCardActivityComponent.propDecorators = {
5382
- inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
5383
- interactionStyle: [{ type: Input }],
5384
- renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
5385
- notCard: [{ type: HostBinding, args: ['class.not-card',] }],
5386
- renderAsClass: [{ type: HostBinding, args: ['class',] }],
5387
- activityTypeClass: [{ type: HostBinding, args: ['class',] }]
5388
- };
5389
- (function (AddCardActivityComponent) {
5390
- AddCardActivityComponent.InteractionType = Enum({
5391
- MODAL: 'modal',
5392
- INLINE: 'inline'
5393
- });
5394
- AddCardActivityComponent.RenderAs = Enum({
5395
- CARD: 'card',
5396
- BUTTON: 'button'
5397
- });
5398
- })(AddCardActivityComponent || (AddCardActivityComponent = {}));
5399
-
5400
5036
  /**
5401
5037
  * Css Vars.
5402
5038
  * --link-color
@@ -5435,7 +5071,7 @@ AddItemInteractionContextComponent.decorators = [
5435
5071
  { type: Component, args: [{
5436
5072
  selector: 'aup-add-item-interaction-context',
5437
5073
  template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
5438
- styles: [":host{--def-link-color: var(--link-color, currentColor);--def-link-color-hover: var(--link-color-hover, currentColor);--def-link-background: var(--link-background, transparent);--def-link-background-hover: var(--link-background-hover, rgba(0, 0, 0, .05));--def-link-border-radius: var(--link-border-radius, 4px);--def-link-padding: var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}\n"]
5074
+ styles: [":host{--def-link-color:var(--link-color,currentColor);--def-link-color-hover:var(--link-color-hover,currentColor);--def-link-background:var(--link-background,transparent);--def-link-background-hover:var(--link-background-hover,rgba(0,0,0,0.05));--def-link-border-radius:var(--link-border-radius,4px);--def-link-padding:var(--link-padding,calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}a.link,aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
5439
5075
  },] }
5440
5076
  ];
5441
5077
  AddItemInteractionContextComponent.ctorParameters = () => [];
@@ -5458,20 +5094,17 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
5458
5094
  constructor() {
5459
5095
  super();
5460
5096
  }
5461
- get interactionContext() {
5462
- return this._interactionContext;
5463
- }
5464
5097
  }
5465
5098
  InlineActivityTriggerComponent.decorators = [
5466
5099
  { type: Component, args: [{
5467
5100
  selector: 'aup-inline-activity-trigger',
5468
5101
  template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n",
5469
- styles: [":host{display:inline-block}\n"]
5102
+ styles: [":host{display:inline-block}"]
5470
5103
  },] }
5471
5104
  ];
5472
5105
  InlineActivityTriggerComponent.ctorParameters = () => [];
5473
5106
  InlineActivityTriggerComponent.propDecorators = {
5474
- _interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5107
+ interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5475
5108
  };
5476
5109
 
5477
5110
  /**
@@ -5502,7 +5135,6 @@ class PopupInteractionContextComponent extends DisposableComponent {
5502
5135
  const self = this;
5503
5136
  const overlayRef = this._overlay.create({
5504
5137
  hasBackdrop: false,
5505
- disposeOnNavigation: true,
5506
5138
  panelClass: 'aup-popup-interaction-panel',
5507
5139
  positionStrategy: this._overlay.position()
5508
5140
  .flexibleConnectedTo(this._element)
@@ -5557,7 +5189,7 @@ PopupInteractionContextComponent.decorators = [
5557
5189
  { type: Component, args: [{
5558
5190
  selector: 'aup-popup-interaction-context',
5559
5191
  template: "<ng-content></ng-content>\n",
5560
- styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}\n"]
5192
+ styles: [":host{display:inline-block}:host.interaction-active{background:rgba(0,0,0,.05)}"]
5561
5193
  },] }
5562
5194
  ];
5563
5195
  PopupInteractionContextComponent.ctorParameters = () => [
@@ -5633,93 +5265,44 @@ InteractionContextTriggerFor.propDecorators = {
5633
5265
  // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
5634
5266
  // we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
5635
5267
  // @dynamic
5636
- class InputActivity extends Activity {
5268
+ class AbstractInputActivity extends Activity {
5637
5269
  constructor(data) {
5638
- var _a, _b;
5639
5270
  super();
5640
5271
  this.data = data;
5641
5272
  this.class = 'aup-input-activity';
5642
5273
  const form = new DirtyTrackingForm();
5643
5274
  this.valueModel = form.valueModel(this.data.initialValue);
5644
5275
  this.valueModel.validateUsing(data.validators || []);
5645
- // TODO: move to global configuration
5646
- this.confirmFace = (_a = data.confirmFace) !== null && _a !== void 0 ? _a : {
5647
- icon: () => 'mat:check'
5648
- };
5649
- this.cancelFace = (_b = data.cancelFace) !== null && _b !== void 0 ? _b : {
5650
- icon: () => 'mat:clear'
5651
- };
5652
- this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5276
+ this.confirmCommand = Command.create(() => {
5653
5277
  if (this.valueModel.validate()) {
5654
5278
  if (data.save) {
5655
- const self = this;
5656
- try {
5657
- let allGood = true;
5658
- const result = yield data.save(this.valueModel.value, {
5659
- injectError(error) {
5660
- allGood = false;
5661
- self.valueModel.injectErrors([error]);
5662
- }
5663
- });
5664
- if (allGood) {
5665
- this.done(this.valueModel.value);
5666
- }
5667
- }
5668
- catch (e) {
5669
- console.error(e);
5670
- }
5279
+ return Promise.resolve(data.save(this.valueModel, this.interactionContext))
5280
+ .then(() => this.done());
5671
5281
  }
5672
5282
  else {
5673
5283
  this.done(this.valueModel.value);
5674
5284
  }
5675
5285
  }
5676
- }));
5286
+ });
5677
5287
  this.cancelCommand = Command.create(() => {
5678
5288
  this.cancel();
5679
5289
  });
5680
- this.busyWhile(this.confirmCommand.busy);
5681
- }
5682
- get layout() {
5683
- var _a, _b;
5684
- return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
5685
5290
  }
5686
5291
  onActivityReady() {
5687
5292
  this.valueModel.focusContext.requestFocus();
5688
5293
  }
5689
- get additionalCssClassName() {
5690
- var _a;
5691
- return (_a = this.data.cssClassName) !== null && _a !== void 0 ? _a : '';
5692
- }
5693
- onEscape() {
5694
- if (this.shouldCancelOnEscape() && this.cancelCommand.enabled.value) {
5695
- this.cancelCommand.execute();
5696
- }
5697
- }
5698
- shouldCancelOnEscape() {
5699
- return _.isNil(this.data.cancelOnEscape) // we default to true..
5700
- || this.data.cancelOnEscape;
5701
- }
5702
5294
  }
5703
- InputActivity.decorators = [
5295
+ AbstractInputActivity.decorators = [
5704
5296
  { type: Component, args: [{ template: `` },] }
5705
5297
  ];
5706
- InputActivity.ctorParameters = () => [
5298
+ AbstractInputActivity.ctorParameters = () => [
5707
5299
  { type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
5708
5300
  ];
5709
- InputActivity.propDecorators = {
5710
- class: [{ type: HostBinding, args: ['class',] }],
5711
- layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
5712
- additionalCssClassName: [{ type: HostBinding, args: ["class",] }],
5713
- onEscape: [{ type: HostListener, args: ['keydown.escape',] }]
5301
+ AbstractInputActivity.propDecorators = {
5302
+ class: [{ type: HostBinding, args: ['class',] }]
5714
5303
  };
5715
- (function (InputActivity) {
5716
- InputActivity.Layout = Enum({
5717
- INLINE: 'inline',
5718
- BLOCK: 'block'
5719
- });
5720
- })(InputActivity || (InputActivity = {}));
5721
5304
 
5722
- class StringInputActivity extends InputActivity {
5305
+ class StringInputActivity extends AbstractInputActivity {
5723
5306
  }
5724
5307
  StringInputActivity.decorators = [
5725
5308
  { type: Component, args: [{
@@ -5730,15 +5313,13 @@ StringInputActivity.decorators = [
5730
5313
  [placeholder]="data.placeholder"
5731
5314
  [command.enter]="confirmCommand"
5732
5315
  [command.escape]="cancelCommand"></aup-string-input>
5733
- <aup-activity-actions [layout]="layout" align="end"
5734
- [confirmFace]="confirmFace"
5735
- [cancelFace]="cancelFace"
5736
- ></aup-activity-actions>
5316
+ <aup-activity-actions align="end"
5317
+ [faces]="data.buttonStyle"></aup-activity-actions>
5737
5318
  `
5738
5319
  },] }
5739
5320
  ];
5740
5321
 
5741
- class SelectInputActivity extends InputActivity {
5322
+ class SelectInputActivity extends AbstractInputActivity {
5742
5323
  constructor() {
5743
5324
  super(...arguments);
5744
5325
  this.defaultOptionLabelFormat = (option) => {
@@ -5766,9 +5347,7 @@ SelectInputActivity.decorators = [
5766
5347
  [options]="options"
5767
5348
  [optionLabelFormat]="optionLabelFormat"
5768
5349
  ></aup-select-input>
5769
- <aup-activity-actions [layout]="layout" align="end"
5770
- [confirmFace]="confirmFace"
5771
- [cancelFace]="cancelFace"
5350
+ <aup-activity-actions align="end" [faces]="data.buttonStyle"
5772
5351
  ></aup-activity-actions>
5773
5352
  `
5774
5353
  },] }
@@ -5874,6 +5453,32 @@ class TableModel extends AbstractTableModel {
5874
5453
  }
5875
5454
  }
5876
5455
 
5456
+ class SelfAndDescendantsVisitor {
5457
+ constructor() {
5458
+ }
5459
+ visit(it) {
5460
+ this.onVisit(it);
5461
+ if (this.shouldVisitChildrenOf(it)) {
5462
+ it.visitChildren(this);
5463
+ }
5464
+ }
5465
+ shouldVisitChildrenOf(it) {
5466
+ return true;
5467
+ }
5468
+ }
5469
+ (function (SelfAndDescendantsVisitor) {
5470
+ class Each extends SelfAndDescendantsVisitor {
5471
+ constructor(callback) {
5472
+ super();
5473
+ this.callback = callback;
5474
+ }
5475
+ onVisit(it) {
5476
+ this.callback(it);
5477
+ }
5478
+ }
5479
+ SelfAndDescendantsVisitor.Each = Each;
5480
+ })(SelfAndDescendantsVisitor || (SelfAndDescendantsVisitor = {}));
5481
+
5877
5482
  /**
5878
5483
  * @file Automatically generated by barrelsby.
5879
5484
  */
@@ -5884,222 +5489,20 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
5884
5489
  this.anchorX = 'start';
5885
5490
  this.anchorY = 'bottom';
5886
5491
  }
5887
- get interactionContext() {
5888
- return this._interactionContext;
5889
- }
5890
5492
  }
5891
5493
  PopupActivityTriggerComponent.decorators = [
5892
5494
  { type: Component, args: [{
5893
5495
  selector: 'aup-popup-activity-trigger',
5894
5496
  template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n",
5895
- styles: [":host{display:inline-block}\n"]
5497
+ styles: [":host{display:inline-block}"]
5896
5498
  },] }
5897
5499
  ];
5898
5500
  PopupActivityTriggerComponent.ctorParameters = () => [];
5899
5501
  PopupActivityTriggerComponent.propDecorators = {
5900
5502
  anchorX: [{ type: Input }],
5901
5503
  anchorY: [{ type: Input }],
5902
- _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5903
- };
5904
-
5905
- class InlineEditorModel extends GarbageCollector {
5906
- constructor(valueModel, saveCallback) {
5907
- super();
5908
- this.valueModel = valueModel;
5909
- this.saveCallback = saveCallback;
5910
- this.editing = new MutableValueModel(false);
5911
- this._validators = new MutableListModel();
5912
- this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
5913
- assert.notNil(valueModel);
5914
- const { when } = Dsl.disposeWith(this);
5915
- when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
5916
- }
5917
- get editingEnabled() {
5918
- return this._editingEnabled.readonly;
5919
- }
5920
- disableWhile(condition) {
5921
- const { chain } = Dsl.disposeWith(this);
5922
- this.enableWhile(chain(condition).isFalsey());
5923
- return this;
5924
- }
5925
- enableWhile(condition) {
5926
- this._editingEnabled.setDelegate(condition);
5927
- return this;
5928
- }
5929
- get validators() {
5930
- return this._validators.readonly;
5931
- }
5932
- validateUsing(validator) {
5933
- this._validators.push(validator);
5934
- return this;
5935
- }
5936
- isEditing() {
5937
- return this.editing.value;
5938
- }
5939
- cancelEdit() {
5940
- this.editing.value = false;
5941
- }
5942
- startEditing() {
5943
- this.editing.value = true;
5944
- }
5945
- }
5946
- (function (InlineEditorModel) {
5947
- function create(valueModel, options) {
5948
- return new InlineEditorModel(valueModel, options.save);
5949
- }
5950
- InlineEditorModel.create = create;
5951
- })(InlineEditorModel || (InlineEditorModel = {}));
5952
- TrackExternal.oneTimeBinding(InlineEditorModel);
5953
-
5954
- /**
5955
- * @example
5956
- * const source: ValueModel<string> = ...;
5957
- * const model = InlineEditorModel.create(source, {
5958
- * save(updated:string, context: EditContext) => {
5959
- * try {
5960
- * try and save the thing...
5961
- * } catch(error) {
5962
- * context.injectError(error)
5963
- * }
5964
- * }).validateUsing(Validator.present("We'll need a value");
5965
- *
5966
- * # in the view
5967
- * <aup-inline-string-editor
5968
- * label="My field"
5969
- * placeHolder="I'm ready for a string..."
5970
- * [editorModel]="model"></aup-inline-string-editor>
5971
- */
5972
- class InlineStringEditorComponent extends DisposableComponent {
5973
- constructor(interactionService) {
5974
- super();
5975
- this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
5976
- const { chain, when, valueOf } = Dsl.disposeWith(this);
5977
- const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5978
- const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
5979
- return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
5980
- }, { allowNil: true });
5981
- this.editFaceModel = resolvedFacesModel.pluck('edit');
5982
- this.saveFace = resolvedFacesModel.pluck('save');
5983
- this.cancelFace = resolvedFacesModel.pluck('cancel');
5984
- const self = this;
5985
- this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5986
- this.editorModel.editing.value = true;
5987
- try {
5988
- yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
5989
- }
5990
- catch (e) {
5991
- // don't care if they cancelled, just hiding the console errors
5992
- }
5993
- finally {
5994
- this.editorModel.editing.value = false;
5995
- }
5996
- })).enableWhile(this.editingEnabled);
5997
- this.onDispose(() => this.cancelEdit());
5998
- }
5999
- ngOnInit() {
6000
- // our editor model is a one time binding without delegates so we can only
6001
- // use it once we've been initialised
6002
- const { chain, when, valueOf } = Dsl.disposeWith(this);
6003
- if (!this.editorModel) {
6004
- lang$1.illegalState('editorModel is required');
6005
- }
6006
- this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
6007
- when(this.editorModel.editing).becomesTruthy(() => {
6008
- this.editCommand.execute();
6009
- }, { asLongAs: this.editCommand.enabled });
6010
- when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
6011
- this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
6012
- // deviceDescription.isNil()
6013
- ).areTruthy();
6014
- this.displayValue = chain(this.editorModel.valueModel).map(v => {
6015
- return _.isEmpty(v) ? this.placeHolderModel.value : v;
6016
- }, { dependsOn: this.placeHolderModel, allowNil: true });
6017
- }
6018
- createInputActivityData() {
6019
- const self = this;
6020
- return {
6021
- initialValue: self.editorModel.valueModel.value,
6022
- confirmFace: self.saveFace.value,
6023
- cancelFace: self.cancelFace.value,
6024
- placeholder: self.placeHolderModel.value,
6025
- label: self.label,
6026
- layout: InputActivity.Layout.INLINE,
6027
- validators: self.editorModel.validators.value,
6028
- save(value, inputContext) {
6029
- return __awaiter(this, void 0, void 0, function* () {
6030
- yield self.editorModel.saveCallback(value, inputContext);
6031
- });
6032
- }
6033
- };
6034
- }
6035
- cancelEdit() {
6036
- if (this.isEditing()) {
6037
- this.interactionContext.cancelActiveActivity();
6038
- }
6039
- }
6040
- startEdit() {
6041
- if (!this.isEditing() && this.editCommand.enabled.value) {
6042
- this.editCommand.execute();
6043
- }
6044
- }
6045
- isEditing() {
6046
- return this.interactionContext.isActive();
6047
- }
6048
- isEmpty() {
6049
- return this.empty.value;
6050
- }
6051
- }
6052
- InlineStringEditorComponent.decorators = [
6053
- { type: Component, args: [{
6054
- selector: 'aup-inline-string-editor',
6055
- template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field appearance=\"standard\" floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n"
6056
- },] }
6057
- ];
6058
- InlineStringEditorComponent.ctorParameters = () => [
6059
- { type: InteractionService }
6060
- ];
6061
- InlineStringEditorComponent.propDecorators = {
6062
- editorModel: [{ type: Input }],
6063
- facesModel: [{ type: Input }],
6064
- faces: [{ type: Input }],
6065
- interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
6066
- label: [{ type: Input }],
6067
- placeHolder: [{ type: Input }],
6068
- placeHolderModel: [{ type: Input }]
5504
+ interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
6069
5505
  };
6070
- __decorate([
6071
- TrackExternal(),
6072
- __metadata("design:type", InlineEditorModel)
6073
- ], InlineStringEditorComponent.prototype, "editorModel", void 0);
6074
- __decorate([
6075
- TrackExternal(),
6076
- __metadata("design:type", ValueModel)
6077
- ], InlineStringEditorComponent.prototype, "facesModel", void 0);
6078
- __decorate([
6079
- StoreInValueModel('facesModel'),
6080
- __metadata("design:type", Object)
6081
- ], InlineStringEditorComponent.prototype, "faces", void 0);
6082
- __decorate([
6083
- StoreInValueModel('placeHolderModel'),
6084
- __metadata("design:type", String)
6085
- ], InlineStringEditorComponent.prototype, "placeHolder", void 0);
6086
- __decorate([
6087
- TrackExternal(),
6088
- __metadata("design:type", ValueModel)
6089
- ], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
6090
- (function (InlineStringEditorComponent) {
6091
- InlineStringEditorComponent.DEFAULT_FACES = {
6092
- edit: {
6093
- icon: () => 'mat:edit'
6094
- },
6095
- save: {
6096
- icon: () => 'mat:check'
6097
- },
6098
- cancel: {
6099
- icon: () => 'mat:clear'
6100
- }
6101
- };
6102
- })(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
6103
5506
 
6104
5507
  class InteractionModule {
6105
5508
  }
@@ -6116,11 +5519,7 @@ InteractionModule.decorators = [
6116
5519
  DirectivesModule,
6117
5520
  FlexModule,
6118
5521
  GridModule,
6119
- ComponentsModule,
6120
- FormsModule,
6121
- MatInputModule,
6122
- MatFormFieldModule,
6123
- A11yModule
5522
+ ComponentsModule
6124
5523
  ],
6125
5524
  declarations: [
6126
5525
  ActivityContainerComponent,
@@ -6134,7 +5533,7 @@ InteractionModule.decorators = [
6134
5533
  PopupInteractionContextComponent,
6135
5534
  StringInputActivity,
6136
5535
  SelectInputActivity,
6137
- InputActivity,
5536
+ AbstractInputActivity,
6138
5537
  InteractionContextTriggerFor,
6139
5538
  Activity,
6140
5539
  ActivityTitleComponent,
@@ -6143,9 +5542,7 @@ InteractionModule.decorators = [
6143
5542
  AbstractActivityTriggerComponent,
6144
5543
  PopupActivityTriggerComponent,
6145
5544
  InlineActivityTriggerComponent,
6146
- ModalActivityTriggerComponent,
6147
- AddCardActivityComponent,
6148
- InlineStringEditorComponent,
5545
+ ModalActivityTriggerComponent
6149
5546
  ],
6150
5547
  exports: [
6151
5548
  ActivityContainerComponent,
@@ -6161,9 +5558,7 @@ InteractionModule.decorators = [
6161
5558
  ActivityBodyComponent,
6162
5559
  PopupActivityTriggerComponent,
6163
5560
  InlineActivityTriggerComponent,
6164
- ModalActivityTriggerComponent,
6165
- AddCardActivityComponent,
6166
- InlineStringEditorComponent,
5561
+ ModalActivityTriggerComponent
6167
5562
  ],
6168
5563
  entryComponents: [
6169
5564
  ActivityContainerComponent,
@@ -6444,27 +5839,16 @@ class PlaceComponent extends DisposableComponent {
6444
5839
  when(this._active).becomesTruthy(() => this._notifyPlaceReady());
6445
5840
  this.childPlaces = this.placeDefinition.children.map(d => d.component);
6446
5841
  }
5842
+ // @Trace()
6447
5843
  initialiseVisit(visit, notifyVisitChanged) {
6448
5844
  assert.isNil(this.visitModel.value);
6449
5845
  const { when } = Dsl.disposeWith(this);
6450
5846
  this.visitModel.value = visit;
6451
5847
  DebugContext.getOrCreate(this.visitModel).tag(`${this.placeDefinition.component.name}.visitModel`);
6452
- // we track if the any of the bindings updated the route. If so we remember it and update the
6453
- // route in one go at the end.
6454
- this.placeDefinition
6455
- .getVisitParameterDefs()
6456
- .forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));
5848
+ this.placeDefinition.getVisitParameterDefs().forEach(parameterDef => this.installBinding(parameterDef));
6457
5849
  when(this.visitModel).changes((current, previous) => {
6458
5850
  notifyVisitChanged(current, previous);
6459
5851
  }, { unless: this._inVisitUpdate });
6460
- // TODO: this needs to do a replace url option so that the new url isn't put in the history.... for
6461
- // now we're not doing it as it's a fair bit of effort and will only affect people if they're
6462
- // cutting and pasting urls to each other.
6463
- // // the binding process can update the visit (e.g. if a selection model has already selected during
6464
- // // component construction) and there was no value specified in the route
6465
- // if (visit.hasRoutingChangedFrom(this.visitModel.value)) {
6466
- // notifyVisitChanged(this.visitModel.value, visit)
6467
- // }
6468
5852
  }
6469
5853
  updateVisit(visit) {
6470
5854
  assert.isTruthy(this.isInitialised());
@@ -6477,12 +5861,7 @@ class PlaceComponent extends DisposableComponent {
6477
5861
  return !!this.visitModel.value;
6478
5862
  }
6479
5863
  // @Trace()
6480
- /**
6481
- * Initialised the component bindings. If any binding has an initial model value (e.g. a selection model
6482
- * initialised during the constructor) and the route has nothing, then the visit will be udpated and this
6483
- * method will return ture to nofiy the the visit has changed.
6484
- */
6485
- installAndInitialiseBinding(initialVisit, parameterDef) {
5864
+ installBinding(parameterDef) {
6486
5865
  const model = this[parameterDef.propertyName];
6487
5866
  DebugContext.tag(model, `${this.placeDefinition.component.name}.${parameterDef.propertyName}`);
6488
5867
  const binding = this.registerDisposable(new Binding(this.visitModel, model, {
@@ -6496,17 +5875,7 @@ class PlaceComponent extends DisposableComponent {
6496
5875
  return currentVisit.replace(parameterDef, value);
6497
5876
  }
6498
5877
  }));
6499
- // Now we need to initialise the binding direction. If we have a value in the Url then we should always push
6500
- // that to the view. If we don't and the view already has a value (e.g. a selection model has already initialised in the
6501
- // component constructor) then we should push that to the route.
6502
- const isInVisit = !_.isNil(initialVisit.getParameterValue(parameterDef));
6503
- const isInModel = !_.isNil(model.value);
6504
- if (!isInVisit && isInModel) {
6505
- binding.writeLeft(); // push it to the route
6506
- }
6507
- else {
6508
- binding.writeRight(); // push it to the model
6509
- }
5878
+ binding.writeRight();
6510
5879
  }
6511
5880
  get placeDefinition() {
6512
5881
  const definition = PlaceComponent.getDefinition(this.constructor);
@@ -7549,7 +6918,7 @@ class ConsolidatedParameterMap {
7549
6918
  return !!this.paramMaps.find(m => m.has(name));
7550
6919
  }
7551
6920
  get keys() {
7552
- return _.uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
6921
+ return this.paramMaps.reduce((result, params) => result.concat(params.keys), []);
7553
6922
  }
7554
6923
  }
7555
6924
  __decorate([
@@ -7626,13 +6995,9 @@ class Visit {
7626
6995
  });
7627
6996
  return new Visit(this.placeDefinition, params);
7628
6997
  }
7629
- // @Trace()
7630
6998
  hasRoutingChangedFrom(other) {
7631
6999
  const samePlace = other.placeDefinition === this.placeDefinition;
7632
- const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
7633
- const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
7634
- // console.log({currentParams, otherParams});
7635
- const sameRouteParameters = _.isEqual(currentParams, otherParams);
7000
+ const sameRouteParameters = _.isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
7636
7001
  return !samePlace || !sameRouteParameters;
7637
7002
  }
7638
7003
  hasChangedFrom(other) {
@@ -7654,7 +7019,6 @@ class UrlSnapshot {
7654
7019
  this.url = url;
7655
7020
  this.urlTree = urlSerializer.parse(url);
7656
7021
  }
7657
- // @Trace()
7658
7022
  updateVisitSegments(visit) {
7659
7023
  const newUrlTree = this.urlSerializer.parse(this.url);
7660
7024
  // Ugly, but it works for now.
@@ -7731,6 +7095,12 @@ class UrlSnapshot {
7731
7095
  return `UrlSnapshot(${this.url})`;
7732
7096
  }
7733
7097
  }
7098
+ __decorate([
7099
+ Trace(),
7100
+ __metadata("design:type", Function),
7101
+ __metadata("design:paramtypes", [Visit]),
7102
+ __metadata("design:returntype", UrlSnapshot)
7103
+ ], UrlSnapshot.prototype, "updateVisitSegments", null);
7734
7104
  __decorate([
7735
7105
  Memoize(),
7736
7106
  __metadata("design:type", Function),
@@ -7811,9 +7181,6 @@ UrlService.ctorParameters = () => [
7811
7181
  { type: UrlSerializer }
7812
7182
  ];
7813
7183
 
7814
- function asArray(item) {
7815
- return Array.isArray(item) ? item : [item];
7816
- }
7817
7184
  class PlaceRouter extends GarbageCollector {
7818
7185
  constructor(angularRouter, angularLocation, interactionService, urlService, placeHistory) {
7819
7186
  super();
@@ -7829,7 +7196,7 @@ class PlaceRouter extends GarbageCollector {
7829
7196
  * An observable model containing the authoriser function. This allows places to react to changes
7830
7197
  * in permissions when any underlying auth logic changes, e.g. a role being removed from a user.
7831
7198
  */
7832
- this._accessGuard = this.registerDisposable(new DelegatingValueModel().withDefault(new PlaceAccessGuard.NoAuth()));
7199
+ this._accessGuard = new DelegatingValueModel().withDefault(new PlaceAccessGuard.NoAuth());
7833
7200
  if (window['Cypress']) {
7834
7201
  window['aup.PlaceRouter'] = this;
7835
7202
  }
@@ -7977,10 +7344,11 @@ class PlaceRouter extends GarbageCollector {
7977
7344
  this.currentSession.onRouterEnd(event);
7978
7345
  }
7979
7346
  navigate(visit, options) {
7980
- const commands = asArray(visit).reduce((result, v) => {
7981
- return [...result, v.placeDefinition.path, ...this.createRouteParameters(v)];
7982
- }, []);
7983
7347
  return this.doNavigation(visit, (router) => __awaiter(this, void 0, void 0, function* () {
7348
+ const commands = [
7349
+ visit.placeDefinition.path,
7350
+ ...this.createRouteParameters(visit)
7351
+ ];
7984
7352
  yield this.angularRouter.navigate(commands, {
7985
7353
  relativeTo: options ? options.relativeTo : null
7986
7354
  });
@@ -7993,7 +7361,7 @@ class PlaceRouter extends GarbageCollector {
7993
7361
  lang.illegalState('Navigation already in progress');
7994
7362
  }
7995
7363
  const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());
7996
- asArray(visit).forEach(v => navigation.storeVisit(v));
7364
+ navigation.storeVisit(visit);
7997
7365
  this.transitionTo(navigation);
7998
7366
  try {
7999
7367
  yield runNavigationCommands(this.angularRouter);
@@ -8074,7 +7442,6 @@ class PlaceRouter extends GarbageCollector {
8074
7442
  * to be able to capture the back button on the first page. If we don't then the back click will exit
8075
7443
  * the app directly and we don't get to ask.
8076
7444
  */
8077
- // @Trace()
8078
7445
  syncInteractionContextIdsWithRouter() {
8079
7446
  if (this.navigationSession) {
8080
7447
  // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
@@ -8116,6 +7483,12 @@ PlaceRouter.ctorParameters = () => [
8116
7483
  { type: UrlService },
8117
7484
  { type: PlaceHistory }
8118
7485
  ];
7486
+ __decorate([
7487
+ Trace(),
7488
+ __metadata("design:type", Function),
7489
+ __metadata("design:paramtypes", []),
7490
+ __metadata("design:returntype", Promise)
7491
+ ], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
8119
7492
  (function (PlaceRouter) {
8120
7493
  class State {
8121
7494
  constructor(activeVisits) {
@@ -8141,7 +7514,7 @@ NotAuthorisedNoticeComponent.decorators = [
8141
7514
  { type: Component, args: [{
8142
7515
  selector: 'aup-not-authorised-notice',
8143
7516
  template: "<p>You are not authorised to access this page</p>\n",
8144
- styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"]
7517
+ styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}"]
8145
7518
  },] }
8146
7519
  ];
8147
7520
  NotAuthorisedNoticeComponent.ctorParameters = () => [];
@@ -8367,7 +7740,7 @@ PlaceOutletComponent.decorators = [
8367
7740
  selector: 'aup-place-outlet',
8368
7741
  template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n",
8369
7742
  animations: [LEFT_RIGHT_PLACE_ANIMATION],
8370
- styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"]
7743
+ styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}"]
8371
7744
  },] }
8372
7745
  ];
8373
7746
  PlaceOutletComponent.ctorParameters = () => [
@@ -8408,7 +7781,7 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
8408
7781
  constructor(placeRouter) {
8409
7782
  super();
8410
7783
  this.placeRouter = placeRouter;
8411
- this._activePlaceComponent = this.registerDisposable(new DelegatingValueModel());
7784
+ this._activePlaceComponent = new DelegatingValueModel();
8412
7785
  this.trackByPlaceDef = (data) => data.place;
8413
7786
  const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
8414
7787
  this.placeDefinitions = chain(this.placesModel)
@@ -8497,7 +7870,7 @@ ListPlaceNavComponent.decorators = [
8497
7870
  { type: Component, args: [{
8498
7871
  selector: 'aup-list-place-nav',
8499
7872
  template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n",
8500
- styles: [":host{display:flex;flex-direction:column;--selected-border-color: #838383;--selected-color: inherit;--selected-background: #f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}\n"]
7873
+ styles: [":host{display:flex;flex-direction:column;--selected-border-color:#838383;--selected-color:inherit;--selected-background:#f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}"]
8501
7874
  },] }
8502
7875
  ];
8503
7876
  ListPlaceNavComponent.ctorParameters = () => [
@@ -8565,7 +7938,7 @@ SidePlaceNavigationComponent.decorators = [
8565
7938
  { type: Component, args: [{
8566
7939
  selector: 'aup-side-place-navigation',
8567
7940
  template: "<mat-nav-list>\n <a mat-list-item (click)=\"toggleMenu()\" class=\"home\">\n <aup-icon class=\"collapsed-only\" icon=\"mat:menu\"></aup-icon>\n <aup-icon class=\"expanded-only\" icon=\"mat:arrow_back\"></aup-icon>\n <span class=\"expanded-only\">Menu</span>\n </a>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-icon *ngIf=\"getNavigationFace(item.place).icon()\" [icon]=\"getNavigationFace(item.place).icon()\"></aup-icon>\n <span class=\"expanded-only\">{{getNavigationFace(item.place).text()}}</span>\n </a>\n <span [style.flex]=\"1\"></span>\n <ng-container *ngIf=\"navEndTemplate\" [ngTemplateOutlet]=\"navEndTemplate\"></ng-container>\n</mat-nav-list>\n",
8568
- styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width: var(--nav-width, 56px);--resolved-nav-item-height: var(--nav-item-height, var(--resolved-nav-item-width));--resolved-expanded-width: var(--nav-expanded-width, 235px);--resolved-color: var(--nav-color, rgba(255, 255, 255, .9));--resolved-background-color: var(--nav-background-color, #555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}\n"]
7941
+ styles: [":host{display:flex;flex-direction:column;--resolved-nav-item-width:var(--nav-width,56px);--resolved-nav-item-height:var(--nav-item-height,var(--resolved-nav-item-width));--resolved-expanded-width:var(--nav-expanded-width,235px);--resolved-color:var(--nav-color,hsla(0,0%,100%,0.9));--resolved-background-color:var(--nav-background-color,#555);width:var(--resolved-nav-item-width);transition:width 125ms linear;background-color:var(--resolved-background-color);color:var(--resolved-color)}:host.expanded{width:var(--resolved-expanded-width);max-width:var(--resolved-expanded-width)}:host-context(.expanded) .expanded-only{max-width:100%}:host-context(.expanded) .collapsed-only{max-width:0}:host-context(.expanded) .mat-list-item aup-icon:not(.collapsed-only){margin-right:12px}:host-context(.expanded) .mat-list-item span{text-wrap:none;white-space:nowrap}.expanded-only{max-width:0;overflow:hidden}.collapsed-only{max-width:100%;overflow:hidden}mat-nav-list{flex:1;display:flex;flex-direction:column}.mat-list-item{width:var(--resolved-nav-item-width);height:var(--resolved-nav-item-height);color:inherit}.mat-list-item.active{background-color:#444}.mat-list-item.home{text-align:left}mat-icon{color:inherit}mat-icon.flip-horizontal{transform:scaleX(-1)}"]
8569
7942
  },] }
8570
7943
  ];
8571
7944
  SidePlaceNavigationComponent.ctorParameters = () => [
@@ -8585,7 +7958,7 @@ TabbedPlaceNavigationComponent.decorators = [
8585
7958
  { type: Component, args: [{
8586
7959
  selector: 'aup-tabbed-place-navigation',
8587
7960
  template: "<nav mat-tab-nav-bar>\n <ng-content select=\"[nav-start]\"></ng-content>\n <a mat-tab-link *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n [pectinCommand]=\"commandFactory.create(item.place)\"\n [active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\">\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n <ng-content select=\"[nav-end]\"></ng-content>\n</nav>\n",
8588
- styles: [":host{display:block}div.place-holder{border:1px solid green}\n"]
7961
+ styles: [":host{display:block}div.place-holder{border:1px solid green}"]
8589
7962
  },] }
8590
7963
  ];
8591
7964
  TabbedPlaceNavigationComponent.ctorParameters = () => [
@@ -8877,11 +8250,10 @@ class PlaceGuard {
8877
8250
  }
8878
8251
  }
8879
8252
  const result = yield this.cleanInteractionState(activatedRoute, state, () => __awaiter(this, void 0, void 0, function* () {
8880
- const navigationSession = this.placeRouter.navigationSession;
8881
8253
  // Parse our route params.
8882
8254
  const params = new ConsolidatedParameterMap(activatedRoute.url, activatedRoute.paramMap);
8883
- // console.log("RouteParams", params)
8884
8255
  const parsedParams = placeDefinition.parseRouteParams(params);
8256
+ const navigationSession = this.placeRouter.navigationSession;
8885
8257
  const initialVisit = navigationSession.getVisitFor(placeDefinition) || new Visit(placeDefinition, parsedParams);
8886
8258
  const sanitiser = new VisitSanitiser(navigationSession, activatedRoute, this.router, this.placeHistory, this.injector);
8887
8259
  const sanitisedVisit = yield sanitiser.sanitise(initialVisit.mergeRouteParameters(parsedParams));
@@ -9133,5 +8505,5 @@ VisibilityService.ctorParameters = () => [
9133
8505
  * Generated bundle index. Do not edit.
9134
8506
  */
9135
8507
 
9136
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CardStackComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadingContainerComponent, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0, ɵ1 };
8508
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0 };
9137
8509
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map