@coolon/angular-ui-powerups 12.4.0-alpha.4 → 12.4.0-alpha.41

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 (321) hide show
  1. package/assets/cards.scss +17 -0
  2. package/assets/empty-state.scss +11 -0
  3. package/assets/form.scss +5 -2
  4. package/assets/forms/mixins.scss +6 -0
  5. package/assets/interaction/editor/inline-string-editor.scss +88 -0
  6. package/assets/interaction/input-activity.scss +12 -0
  7. package/assets/interaction.scss +11 -7
  8. package/assets/styles.scss +5 -12
  9. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +738 -307
  10. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  11. package/bundles/coolon-angular-ui-powerups.umd.js +745 -127
  12. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  13. package/coolon-angular-ui-powerups.metadata.json +1 -1
  14. package/cypress/component-builder.d.ts +71 -0
  15. package/cypress/components/aup-abstract-activity.d.ts +31 -0
  16. package/cypress/components/aup-abstract-table.d.ts +18 -0
  17. package/cypress/components/aup-activity.d.ts +9 -0
  18. package/cypress/components/aup-alert-dialog.d.ts +27 -0
  19. package/cypress/components/aup-alert.d.ts +9 -0
  20. package/cypress/components/aup-command-face.d.ts +2 -8
  21. package/cypress/components/aup-command.d.ts +2 -1
  22. package/cypress/components/aup-confirm-dialog.d.ts +27 -0
  23. package/cypress/components/aup-confirm.d.ts +11 -0
  24. package/cypress/components/aup-empty-state.d.ts +4 -0
  25. package/cypress/components/aup-input.d.ts +11 -5
  26. package/cypress/components/aup-modal-activity.d.ts +24 -0
  27. package/cypress/components/aup-modal-mixin.d.ts +23 -0
  28. package/cypress/components/aup-table.d.ts +5 -18
  29. package/cypress/components/aup-tree-table.d.ts +16 -0
  30. package/cypress/components/button.d.ts +11 -7
  31. package/cypress/components/form-element-mixin.d.ts +22 -0
  32. package/cypress/components/mat-checkbox.d.ts +31 -0
  33. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +15 -0
  34. package/cypress/components/popup/aup-more-menu.d.ts +5 -0
  35. package/cypress/components/popup/aup-popup-menu-panel.d.ts +3 -0
  36. package/cypress/components/popup/aup-popup-menu.d.ts +7 -0
  37. package/cypress/components/table/aup-table-cell.d.ts +9 -0
  38. package/cypress/components/table/aup-table-column.d.ts +10 -0
  39. package/cypress/components/table/aup-table-row.d.ts +17 -0
  40. package/cypress/components/table/aup-table-selection-cell.d.ts +5 -0
  41. package/cypress/components/table/aup-table-selection-column.d.ts +5 -0
  42. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  43. package/cypress/element-locator.d.ts +8 -0
  44. package/cypress/exports.d.ts +25 -4
  45. package/cypress/package.json +1 -1
  46. package/cypress/page-builder.d.ts +9 -0
  47. package/cypress/page-element.d.ts +12 -12
  48. package/cypress/page.d.ts +8 -33
  49. package/esm2015/cypress/component-builder.js +92 -0
  50. package/esm2015/cypress/component-builder.js.map +1 -0
  51. package/esm2015/cypress/component-builder.metadata.json +1 -0
  52. package/esm2015/cypress/components/aup-abstract-activity.js +12 -0
  53. package/esm2015/cypress/components/aup-abstract-activity.js.map +1 -0
  54. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +1 -0
  55. package/esm2015/cypress/components/aup-abstract-table.js +50 -0
  56. package/esm2015/cypress/components/aup-abstract-table.js.map +1 -0
  57. package/esm2015/cypress/components/aup-abstract-table.metadata.json +1 -0
  58. package/esm2015/cypress/components/aup-activity.js +13 -0
  59. package/esm2015/cypress/components/aup-activity.js.map +1 -0
  60. package/esm2015/cypress/components/aup-activity.metadata.json +1 -0
  61. package/esm2015/cypress/components/aup-alert-dialog.js +8 -0
  62. package/esm2015/cypress/components/aup-alert-dialog.js.map +1 -0
  63. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +1 -0
  64. package/esm2015/cypress/components/aup-alert.js +13 -0
  65. package/esm2015/cypress/components/aup-alert.js.map +1 -0
  66. package/esm2015/cypress/components/aup-alert.metadata.json +1 -0
  67. package/esm2015/cypress/components/aup-command-face.js +11 -22
  68. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  69. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  70. package/esm2015/cypress/components/aup-command.js +12 -6
  71. package/esm2015/cypress/components/aup-command.js.map +1 -1
  72. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  73. package/esm2015/cypress/components/aup-confirm-dialog.js +8 -0
  74. package/esm2015/cypress/components/aup-confirm-dialog.js.map +1 -0
  75. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +1 -0
  76. package/esm2015/cypress/components/aup-confirm.js +19 -0
  77. package/esm2015/cypress/components/aup-confirm.js.map +1 -0
  78. package/esm2015/cypress/components/aup-confirm.metadata.json +1 -0
  79. package/esm2015/cypress/components/aup-empty-state.js +7 -0
  80. package/esm2015/cypress/components/aup-empty-state.js.map +1 -0
  81. package/esm2015/cypress/components/aup-empty-state.metadata.json +1 -0
  82. package/esm2015/cypress/components/aup-input.js +17 -5
  83. package/esm2015/cypress/components/aup-input.js.map +1 -1
  84. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  85. package/esm2015/cypress/components/aup-modal-activity.js +5 -0
  86. package/esm2015/cypress/components/aup-modal-activity.js.map +1 -0
  87. package/esm2015/cypress/components/aup-modal-activity.metadata.json +1 -0
  88. package/esm2015/cypress/components/aup-modal-mixin.js +18 -0
  89. package/esm2015/cypress/components/aup-modal-mixin.js.map +1 -0
  90. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +1 -0
  91. package/esm2015/cypress/components/aup-navigation.js +1 -1
  92. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  93. package/esm2015/cypress/components/aup-table.js +5 -33
  94. package/esm2015/cypress/components/aup-table.js.map +1 -1
  95. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  96. package/esm2015/cypress/components/aup-tree-table.js +34 -0
  97. package/esm2015/cypress/components/aup-tree-table.js.map +1 -0
  98. package/esm2015/cypress/components/aup-tree-table.metadata.json +1 -0
  99. package/esm2015/cypress/components/button.js +4 -10
  100. package/esm2015/cypress/components/button.js.map +1 -1
  101. package/esm2015/cypress/components/button.metadata.json +1 -1
  102. package/esm2015/cypress/components/form-element-mixin.js +11 -0
  103. package/esm2015/cypress/components/form-element-mixin.js.map +1 -0
  104. package/esm2015/cypress/components/form-element-mixin.metadata.json +1 -0
  105. package/esm2015/cypress/components/mat-checkbox.js +34 -0
  106. package/esm2015/cypress/components/mat-checkbox.js.map +1 -0
  107. package/esm2015/cypress/components/mat-checkbox.metadata.json +1 -0
  108. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +33 -0
  109. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +1 -0
  110. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +1 -0
  111. package/esm2015/cypress/components/popup/aup-more-menu.js +8 -0
  112. package/esm2015/cypress/components/popup/aup-more-menu.js.map +1 -0
  113. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +1 -0
  114. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +4 -0
  115. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +1 -0
  116. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +1 -0
  117. package/esm2015/cypress/components/popup/aup-popup-menu.js +12 -0
  118. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +1 -0
  119. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +1 -0
  120. package/esm2015/cypress/components/table/aup-table-cell.js +14 -0
  121. package/esm2015/cypress/components/table/aup-table-cell.js.map +1 -0
  122. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +1 -0
  123. package/esm2015/cypress/components/table/aup-table-column.js +19 -0
  124. package/esm2015/cypress/components/table/aup-table-column.js.map +1 -0
  125. package/esm2015/cypress/components/table/aup-table-column.metadata.json +1 -0
  126. package/esm2015/cypress/components/table/aup-table-row.js +28 -0
  127. package/esm2015/cypress/components/table/aup-table-row.js.map +1 -0
  128. package/esm2015/cypress/components/table/aup-table-row.metadata.json +1 -0
  129. package/esm2015/cypress/components/table/aup-table-selection-cell.js +6 -0
  130. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +1 -0
  131. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +1 -0
  132. package/esm2015/cypress/components/table/aup-table-selection-column.js +6 -0
  133. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +1 -0
  134. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +1 -0
  135. package/esm2015/cypress/element-locator.js +16 -0
  136. package/esm2015/cypress/element-locator.js.map +1 -0
  137. package/esm2015/cypress/element-locator.metadata.json +1 -0
  138. package/esm2015/cypress/exports.js +25 -4
  139. package/esm2015/cypress/exports.js.map +1 -1
  140. package/esm2015/cypress/exports.metadata.json +1 -1
  141. package/esm2015/cypress/page-builder.js +16 -0
  142. package/esm2015/cypress/page-builder.js.map +1 -0
  143. package/esm2015/cypress/page-builder.metadata.json +1 -0
  144. package/esm2015/cypress/page-element.js +26 -19
  145. package/esm2015/cypress/page-element.js.map +1 -1
  146. package/esm2015/cypress/page-element.metadata.json +1 -1
  147. package/esm2015/cypress/page.js +31 -19
  148. package/esm2015/cypress/page.js.map +1 -1
  149. package/esm2015/cypress/page.metadata.json +1 -1
  150. package/esm2015/cypress/path.js +3 -1
  151. package/esm2015/cypress/path.js.map +1 -1
  152. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  153. package/esm2015/lib/components/cards/abstract-card-container.component.js +29 -0
  154. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +1 -0
  155. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +1 -0
  156. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +1 -0
  157. package/esm2015/lib/components/cards/card-container/card-container.component.js +123 -0
  158. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -0
  159. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -0
  160. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +1 -0
  161. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  162. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +78 -0
  163. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +1 -0
  164. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -0
  165. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +1 -0
  166. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +1 -0
  167. package/esm2015/lib/components/components.module.js +32 -24
  168. package/esm2015/lib/components/components.module.js.map +1 -1
  169. package/esm2015/lib/components/components.module.metadata.json +1 -1
  170. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  171. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  172. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  173. package/esm2015/lib/components/exports.js +4 -1
  174. package/esm2015/lib/components/exports.js.map +1 -1
  175. package/esm2015/lib/components/exports.metadata.json +1 -1
  176. package/esm2015/lib/components/forms/abstract-input.component.js +1 -0
  177. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  178. package/esm2015/lib/components/labelled-value/labelled-value.component.js +22 -0
  179. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +1 -0
  180. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +1 -0
  181. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +1 -0
  182. package/esm2015/lib/components/{card-container/card-container.component.scss.shim.ngstyle.js.map → labelled-value/labelled-value.component.scss.shim.ngstyle.js.map} +1 -1
  183. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  184. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  185. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  186. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +1 -0
  187. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  188. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  189. package/esm2015/lib/components/track-by.js +12 -0
  190. package/esm2015/lib/components/track-by.js.map +1 -1
  191. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -11
  192. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  193. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  194. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +4 -0
  195. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  196. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  197. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +4 -1
  198. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  199. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  200. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +4 -1
  201. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  202. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  203. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +4 -1
  204. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  205. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  206. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +77 -0
  207. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +1 -0
  208. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -0
  209. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +1 -0
  210. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +1 -0
  211. package/esm2015/lib/interaction/components/editors/edit-context.js +2 -0
  212. package/esm2015/lib/interaction/components/editors/edit-context.js.map +1 -0
  213. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +1 -0
  214. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +50 -0
  215. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +1 -0
  216. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +1 -0
  217. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +160 -0
  218. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +1 -0
  219. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +1 -0
  220. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +1 -0
  221. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +6 -2
  222. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  223. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  224. package/esm2015/lib/interaction/components/input-activities/input-activity.js +71 -0
  225. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +1 -0
  226. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +1 -0
  227. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +1 -0
  228. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -3
  229. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  230. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  231. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +3 -4
  232. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  233. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  234. package/esm2015/lib/interaction/exports.js +5 -3
  235. package/esm2015/lib/interaction/exports.js.map +1 -1
  236. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  237. package/esm2015/lib/interaction/interaction.module.js +17 -5
  238. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  239. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  240. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  241. package/esm2015/lib/place/guards/consolidated-param-map.js +2 -1
  242. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  243. package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
  244. package/esm2015/lib/place/guards/place.guard.js +2 -1
  245. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  246. package/esm2015/lib/place/place-component.js +31 -4
  247. package/esm2015/lib/place/place-component.js.map +1 -1
  248. package/esm2015/lib/place/place-component.metadata.json +1 -1
  249. package/esm2015/lib/place/place-router.js +3 -8
  250. package/esm2015/lib/place/place-router.js.map +1 -1
  251. package/esm2015/lib/place/place-router.metadata.json +1 -1
  252. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  253. package/esm2015/lib/place/url-snapshot.js +1 -7
  254. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  255. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  256. package/esm2015/lib/place/visit.js +5 -1
  257. package/esm2015/lib/place/visit.js.map +1 -1
  258. package/esm2015/lib/place/visit.metadata.json +1 -1
  259. package/fesm2015/coolon-angular-ui-powerups-cypress.js +555 -228
  260. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  261. package/fesm2015/coolon-angular-ui-powerups.js +618 -96
  262. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  263. package/lib/components/cards/abstract-card-container.component.d.ts +11 -0
  264. package/lib/components/{card-container → cards/card-container}/card-container.component.d.ts +30 -9
  265. package/lib/components/cards/card-stack/card-stack.component.d.ts +65 -0
  266. package/lib/components/exports.d.ts +4 -1
  267. package/lib/components/labelled-value/labelled-value.component.d.ts +7 -0
  268. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +0 -1
  269. package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
  270. package/lib/components/track-by.d.ts +9 -0
  271. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +14 -3
  272. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  273. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +2 -1
  274. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +2 -1
  275. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +2 -1
  276. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +39 -0
  277. package/lib/interaction/components/editors/edit-context.d.ts +3 -0
  278. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +24 -0
  279. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +57 -0
  280. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -0
  281. package/lib/interaction/components/input-activities/input-activity.d.ts +33 -0
  282. package/lib/interaction/components/input-activities/select-input-activity.d.ts +11 -3
  283. package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -2
  284. package/lib/interaction/exports.d.ts +5 -3
  285. package/lib/place/place-component.d.ts +6 -1
  286. package/package.json +1 -1
  287. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  288. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -3
  289. package/cypress/components/aup-more-menu.d.ts +0 -4
  290. package/cypress/components/aup-popup-menu.d.ts +0 -7
  291. package/cypress/components/button-mixin.d.ts +0 -19
  292. package/cypress/section.d.ts +0 -51
  293. package/esm2015/cypress/components/aup-more-menu.js +0 -7
  294. package/esm2015/cypress/components/aup-more-menu.js.map +0 -1
  295. package/esm2015/cypress/components/aup-more-menu.metadata.json +0 -1
  296. package/esm2015/cypress/components/aup-popup-menu.js +0 -19
  297. package/esm2015/cypress/components/aup-popup-menu.js.map +0 -1
  298. package/esm2015/cypress/components/aup-popup-menu.metadata.json +0 -1
  299. package/esm2015/cypress/components/button-mixin.js +0 -15
  300. package/esm2015/cypress/components/button-mixin.js.map +0 -1
  301. package/esm2015/cypress/components/button-mixin.metadata.json +0 -1
  302. package/esm2015/cypress/section.js +0 -58
  303. package/esm2015/cypress/section.js.map +0 -1
  304. package/esm2015/cypress/section.metadata.json +0 -1
  305. package/esm2015/lib/components/card-container/card-container.component.js +0 -84
  306. package/esm2015/lib/components/card-container/card-container.component.js.map +0 -1
  307. package/esm2015/lib/components/card-container/card-container.component.metadata.json +0 -1
  308. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
  309. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +0 -43
  310. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
  311. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +0 -1
  312. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
  313. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +0 -2
  314. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
  315. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +0 -1
  316. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +0 -2
  317. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
  318. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +0 -1
  319. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +0 -12
  320. package/lib/interaction/components/input-activities/input-activity-data.d.ts +0 -11
  321. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +0 -8
@@ -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, ViewEncapsulation, HostBinding, 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, HostBinding, ViewEncapsulation, 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';
@@ -21,14 +21,14 @@ import { MatTableModule } from '@angular/material/table';
21
21
  import { MatTooltipModule } from '@angular/material/tooltip';
22
22
  import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
23
23
  import { fas } from '@fortawesome/free-solid-svg-icons';
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';
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, Functions } from '@coolon/pectin';
25
25
  import { __decorate, __metadata, __awaiter } from 'tslib';
26
26
  import { DomSanitizer } from '@angular/platform-browser';
27
27
  import * as _ from 'lodash';
28
28
  import ___default from 'lodash';
29
29
  import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
30
30
  import { Enum } from 'typescript-string-enums';
31
- import { assert as assert$1, Stringy, lang as lang$1, Opts, Klass } from '@coolon/typescript-utilities';
31
+ import { lang as lang$1, assert as assert$1, Stringy, Opts, Klass } from '@coolon/typescript-utilities';
32
32
  import ResizeObserver from 'resize-observer-polyfill';
33
33
  import produce from 'immer';
34
34
  import { FlexModule, GridModule } from '@angular/flex-layout';
@@ -526,6 +526,30 @@ var CommandFace;
526
526
  CommandFace.Adapter = Adapter;
527
527
  })(CommandFace || (CommandFace = {}));
528
528
 
529
+ class AbstractCardContainerComponent extends DisposableComponent {
530
+ constructor() {
531
+ super();
532
+ }
533
+ ngOnInit() {
534
+ }
535
+ }
536
+ AbstractCardContainerComponent.decorators = [
537
+ { type: Component, args: [{
538
+ selector: 'aup-abstract-card-container',
539
+ template: ''
540
+ },] }
541
+ ];
542
+ AbstractCardContainerComponent.ctorParameters = () => [];
543
+ AbstractCardContainerComponent.propDecorators = {
544
+ addCardCommand: [{ type: Input }],
545
+ addCardFace: [{ type: Input }],
546
+ addCardTemplate: [{ type: ContentChild, args: ['addCardTemplate',] }]
547
+ };
548
+ __decorate([
549
+ TrackExternal(),
550
+ __metadata("design:type", Command)
551
+ ], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
552
+
529
553
  /**
530
554
  * @example
531
555
  * // basic usage
@@ -543,6 +567,13 @@ var CommandFace;
543
567
  * <my-card *ngFor="..."></my-card>
544
568
  * </aup-card-container>
545
569
  *
570
+ * // use the aup-add-card-activity to display as the new card place holder and to run
571
+ * // the activity inside teh card
572
+ * <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
573
+ * <my-card *ngFor="..."></my-card>
574
+ * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
575
+ * </aup-card-container>
576
+ *
546
577
  * // adds an add card component using the specified template. The template
547
578
  * // will fill it's container in the grid.
548
579
  * <aup-card-container>
@@ -575,35 +606,144 @@ var CommandFace;
575
606
  * aup-card-container {
576
607
  * --card-gap: var(--card-gap, 16px);
577
608
  * --card-width: var(--card-width, 300px);
609
+ * --card-width-max: auto;
578
610
  * --card-height: var(--card-height, auto);
579
611
  * --card-min-height: var(--card-min-height, auto);
580
612
  * --card-background: var(--card-background, #fcfcfb);
581
613
  * }
582
614
  */
583
- class CardContainerComponent extends DisposableComponent {
584
- constructor() {
615
+ class CardContainerComponent extends AbstractCardContainerComponent {
616
+ constructor(elementRef) {
585
617
  super();
618
+ this.elementRef = elementRef;
619
+ /**
620
+ * Enable scrolling. If true the container will have height==0 so you must set it's height explicitly
621
+ * or place in a layout that will stretch it such as a grid or flex layout.
622
+ */
623
+ this.enabledScroll = false;
624
+ }
625
+ set columnCount(count) {
626
+ if (!_.isNil(count) && (!_.isInteger(count) || count < 1)) {
627
+ lang$1.illegalState('columnCount must be a positive integer or nil');
628
+ }
629
+ this._columnCount = count;
630
+ this.updateColumnCountStyles();
631
+ }
632
+ get columnCount() {
633
+ return this._columnCount;
586
634
  }
587
635
  ngOnInit() {
636
+ super.ngOnInit();
637
+ this.updateColumnCountStyles();
638
+ }
639
+ get isAutoColumns() {
640
+ return _.isNil(this._columnCount);
641
+ }
642
+ get isSingleColumn() {
643
+ return this._columnCount === 1;
644
+ }
645
+ updateColumnCountStyles() {
646
+ const el = this.elementRef.nativeElement;
647
+ if (_.isNil(this._columnCount)) {
648
+ el.style.setProperty('--aup-card-container-column-count', '');
649
+ }
650
+ else {
651
+ el.style.setProperty('--aup-card-container-column-count', this._columnCount);
652
+ }
588
653
  }
589
654
  }
590
655
  CardContainerComponent.decorators = [
591
656
  { type: Component, args: [{
592
657
  selector: 'aup-card-container',
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}"]
658
+ 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",
659
+ styles: [":host{--resolved-card-gap:var(--card-gap,16px);--resolved-card-width:var(--card-width,300px);--resolved-card-width-max:var(--card-width-max,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),auto));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)}.no-scroll-container,aup-scroll-container{flex:1}.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}"]
595
660
  },] }
596
661
  ];
597
- CardContainerComponent.ctorParameters = () => [];
662
+ CardContainerComponent.ctorParameters = () => [
663
+ { type: ElementRef }
664
+ ];
598
665
  CardContainerComponent.propDecorators = {
599
- addCardCommand: [{ type: Input }],
600
- addCardFace: [{ type: Input }],
601
- addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
666
+ columnCount: [{ type: Input }],
667
+ enabledScroll: [{ type: Input }],
668
+ isAutoColumns: [{ type: HostBinding, args: ['class.auto-columns',] }],
669
+ isSingleColumn: [{ type: HostBinding, args: ['class.single-column',] }]
602
670
  };
603
- __decorate([
604
- TrackExternal(),
605
- __metadata("design:type", Command)
606
- ], CardContainerComponent.prototype, "addCardCommand", void 0);
671
+
672
+ /**
673
+ * @deprecated deprecated, use `aup-card-container [columnCount]="1"` instead.
674
+ * @example
675
+ * // basic usage
676
+ * <aup-card-stack>
677
+ * <my-card *ngFor="..."></my-card>
678
+ * </aup-card-stack>
679
+ *
680
+ * // adds an add button with a the '+' icon to the end of the card list.
681
+ * <aup-card-stack [addCardCommand]="addCard">
682
+ * <my-card *ngFor="..."></my-card>
683
+ * </aup-card-stack>
684
+ *
685
+ * // adds an add button with the specified face
686
+ * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
687
+ * <my-card *ngFor="..."></my-card>
688
+ * </aup-card-stack>
689
+ *
690
+ * // use the aup-add-card-activity to display as the new card place holder and to run
691
+ * // the activity inside teh card
692
+ * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
693
+ * <my-card *ngFor="..."></my-card>
694
+ * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
695
+ * </aup-card-stack>
696
+ *
697
+ * // adds an add card component using the specified template. The template
698
+ * // will fill it's container in the grid.
699
+ * <aup-card-stack>
700
+ * <my-card *ngFor="..."></my-card>
701
+ * <ng-template #addCardTemplate>
702
+ * <div>This is a new card template, it will the the size of the other cards.</div>
703
+ * </ng-template>
704
+ * </aup-card-stack>
705
+ *
706
+ * // sing the default new card styles for your template
707
+ * @import "../../../../assets/styles";
708
+ * .my-new-card {
709
+ * @include aup-card-stack-new-card-style();
710
+ * // OR
711
+ * @include aup-card-stack-new-card-style(
712
+ * $color: rgba(0,0,0,0.54),
713
+ * $background-color: rgba(255,255,255,0.8),
714
+ * $hover-color: $color,
715
+ * $background-hover-color: white
716
+ * )
717
+ * }
718
+ * <aup-card-stack>
719
+ * <my-card *ngFor="..."></my-card>
720
+ * <ng-template #addCardTemplate>
721
+ * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
722
+ * </ng-template>
723
+ * </aup-card-stack>
724
+ *
725
+ * // CSS Vars
726
+ * aup-card-stack {
727
+ * --card-gap: var(--card-gap, 16px);
728
+ * --card-height: var(--card-height, auto);
729
+ * --card-min-height: var(--card-min-height, auto);
730
+ * --card-background: var(--card-background, #fcfcfb);
731
+ * }
732
+ */
733
+ class CardStackComponent extends AbstractCardContainerComponent {
734
+ constructor() {
735
+ super();
736
+ console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
737
+ }
738
+ }
739
+ CardStackComponent.decorators = [
740
+ { type: Component, args: [{
741
+ selector: 'aup-card-stack',
742
+ 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",
743
+ 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{align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container,.footer{display:flex;flex-direction:column}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);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}"]
744
+ },] }
745
+ ];
746
+ CardStackComponent.ctorParameters = () => [];
607
747
 
608
748
  /**
609
749
  * Custom CSS:
@@ -912,10 +1052,22 @@ __decorate([
912
1052
  var TrackBy;
913
1053
  (function (TrackBy) {
914
1054
  TrackBy.byIndex = (index, item) => index;
1055
+ /**
1056
+ * @deprecated use #track(MyType).by("property") instead.
1057
+ * @param property
1058
+ */
915
1059
  function trackByProperty(property) {
916
1060
  return (index, item) => item[property];
917
1061
  }
918
1062
  TrackBy.trackByProperty = trackByProperty;
1063
+ function track(type) {
1064
+ return {
1065
+ by(property) {
1066
+ return (index, item) => item[property];
1067
+ }
1068
+ };
1069
+ }
1070
+ TrackBy.track = track;
919
1071
  })(TrackBy || (TrackBy = {}));
920
1072
 
921
1073
  class CommandContainer extends GarbageCollector {
@@ -1138,7 +1290,7 @@ EmptyStateComponent.decorators = [
1138
1290
  <ng-content></ng-content>
1139
1291
  </div>
1140
1292
  `,
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}"]
1293
+ 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}"]
1142
1294
  },] }
1143
1295
  ];
1144
1296
  EmptyStateComponent.ctorParameters = () => [];
@@ -1222,6 +1374,7 @@ class AbstractInputComponent extends DisposableComponent {
1222
1374
  constructor() {
1223
1375
  super();
1224
1376
  this.onValueEditedListeners = new EventListenerList();
1377
+ this.userFloatLabel = 'always'; // TODO: make this an injectable default
1225
1378
  this.dense = false;
1226
1379
  // TODO: fix this.
1227
1380
  // tslint:disable-next-line:no-output-native
@@ -3514,15 +3667,15 @@ class TreeExpansionModel {
3514
3667
 
3515
3668
  class FlattenedTreeListModel extends ComputedListModel {
3516
3669
  constructor(source, childRef, expansionModel) {
3517
- super(source);
3670
+ super(source, {
3671
+ initialValue: [],
3672
+ identifiedWith: row => source.identityOf(row)
3673
+ });
3518
3674
  this.source = source;
3519
3675
  this.childRef = childRef;
3520
3676
  this.expansionModel = expansionModel;
3521
3677
  this.trackSource(expansionModel.isExpandedPredicate);
3522
3678
  }
3523
- getIdentityOf(item) {
3524
- return this.source.identityOf(item);
3525
- }
3526
3679
  compute(values) {
3527
3680
  const result = [];
3528
3681
  values.forEach(rootNode => {
@@ -3593,6 +3746,7 @@ class TreeTableModel extends AbstractTableModel {
3593
3746
  const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
3594
3747
  this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
3595
3748
  this.setDataSource(this.flattenedDataSource);
3749
+ this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
3596
3750
  }
3597
3751
  treeControlColumn(builder) {
3598
3752
  const columnId = 'tree-label';
@@ -3918,6 +4072,26 @@ __decorate([
3918
4072
  __metadata("design:type", PageController)
3919
4073
  ], PaginatorComponent.prototype, "pageController", void 0);
3920
4074
 
4075
+ class LabelledValueComponent extends DisposableComponent {
4076
+ constructor() {
4077
+ super();
4078
+ // const {chain} = Dsl.disposeWith(this);
4079
+ }
4080
+ ngOnInit() {
4081
+ }
4082
+ }
4083
+ LabelledValueComponent.decorators = [
4084
+ { type: Component, args: [{
4085
+ selector: 'aup-labelled-value',
4086
+ template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
4087
+ styles: [":host{display:inline-flex;flex-direction:column;align-items:flex-start}label{font-weight:400;font-size:12px;color:rgba(0,0,0,.57);margin-bottom:6px;white-space:nowrap}"]
4088
+ },] }
4089
+ ];
4090
+ LabelledValueComponent.ctorParameters = () => [];
4091
+ LabelledValueComponent.propDecorators = {
4092
+ label: [{ type: Input }]
4093
+ };
4094
+
3921
4095
  class ComponentsModule {
3922
4096
  constructor(faIconLibrary) {
3923
4097
  faIconLibrary.addIconPacks(fas);
@@ -3925,6 +4099,28 @@ class ComponentsModule {
3925
4099
  }
3926
4100
  ComponentsModule.decorators = [
3927
4101
  { type: NgModule, args: [{
4102
+ imports: [
4103
+ CommonModule,
4104
+ BrowserAnimationsModule,
4105
+ FormsModule,
4106
+ MatInputModule,
4107
+ MatFormFieldModule,
4108
+ MatSelectModule,
4109
+ MatTabsModule,
4110
+ DirectivesModule,
4111
+ MatIconModule,
4112
+ MatButtonModule,
4113
+ MatCheckboxModule,
4114
+ MatTableModule,
4115
+ PortalModule,
4116
+ CdkScrollableModule,
4117
+ FontAwesomeModule,
4118
+ MatTooltipModule,
4119
+ MatAutocompleteModule,
4120
+ MatMenuModule,
4121
+ MatDividerModule,
4122
+ MatProgressSpinnerModule
4123
+ ],
3928
4124
  declarations: [
3929
4125
  AbstractInputComponent,
3930
4126
  AbstractValueInputComponent,
@@ -3973,29 +4169,10 @@ ComponentsModule.decorators = [
3973
4169
  BusyOverlayComponent,
3974
4170
  EmptyStateComponent,
3975
4171
  PaginatorComponent,
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
4172
+ AbstractTableComponent,
4173
+ AbstractCardContainerComponent,
4174
+ CardStackComponent,
4175
+ LabelledValueComponent
3999
4176
  ],
4000
4177
  exports: [
4001
4178
  NumberInputComponent,
@@ -4032,6 +4209,8 @@ ComponentsModule.decorators = [
4032
4209
  BusyOverlayComponent,
4033
4210
  EmptyStateComponent,
4034
4211
  PaginatorComponent,
4212
+ CardStackComponent,
4213
+ LabelledValueComponent,
4035
4214
  ],
4036
4215
  providers: [
4037
4216
  FocusBindingFactory
@@ -4067,7 +4246,8 @@ class ActivityActionsComponent extends DisposableComponent {
4067
4246
  constructor(cdr) {
4068
4247
  super();
4069
4248
  this.cdr = cdr;
4070
- this.align = 'stretch';
4249
+ this.layout = ActivityActionsComponent.Layout.BLOCK;
4250
+ this.align = ActivityActionsComponent.Align.STRETCH;
4071
4251
  }
4072
4252
  set faces(faces) {
4073
4253
  this.confirmFace = faces.confirm;
@@ -4079,12 +4259,6 @@ class ActivityActionsComponent extends DisposableComponent {
4079
4259
  set style(style) {
4080
4260
  this.faces = style;
4081
4261
  }
4082
- get alignEnd() {
4083
- return this.align === 'end';
4084
- }
4085
- get alignStretch() {
4086
- return this.align === 'stretch';
4087
- }
4088
4262
  ngOnInit() {
4089
4263
  }
4090
4264
  hasConfirmFace() {
@@ -4103,7 +4277,7 @@ ActivityActionsComponent.decorators = [
4103
4277
  { type: Component, args: [{
4104
4278
  selector: 'aup-activity-actions',
4105
4279
  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",
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}"]
4280
+ styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}: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;padding:0}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}"]
4107
4281
  },] }
4108
4282
  ];
4109
4283
  ActivityActionsComponent.ctorParameters = () => [
@@ -4116,9 +4290,8 @@ ActivityActionsComponent.propDecorators = {
4116
4290
  confirmFace: [{ type: Input }],
4117
4291
  cancelFace: [{ type: Input }],
4118
4292
  style: [{ type: Input }],
4119
- align: [{ type: Input }],
4120
- alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
4121
- alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
4293
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
4294
+ align: [{ type: Input }, { type: HostBinding, args: ['attr.align',] }]
4122
4295
  };
4123
4296
  __decorate([
4124
4297
  TrackExternal(),
@@ -4128,6 +4301,17 @@ __decorate([
4128
4301
  TrackExternal(),
4129
4302
  __metadata("design:type", Command)
4130
4303
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
4304
+ (function (ActivityActionsComponent) {
4305
+ ActivityActionsComponent.Layout = Enum({
4306
+ INLINE: 'inline',
4307
+ BLOCK: 'block'
4308
+ });
4309
+ ActivityActionsComponent.Align = Enum({
4310
+ START: 'start',
4311
+ END: 'end',
4312
+ STRETCH: 'stretch'
4313
+ });
4314
+ })(ActivityActionsComponent || (ActivityActionsComponent = {}));
4131
4315
 
4132
4316
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
4133
4317
  class Activity extends DisposableComponent {
@@ -4725,6 +4909,9 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
4725
4909
  });
4726
4910
  });
4727
4911
  }
4912
+ get interactionContext() {
4913
+ return lang$1.abstractMethod(this.constructor);
4914
+ }
4728
4915
  ngOnInit() {
4729
4916
  }
4730
4917
  get isActive() {
@@ -4946,7 +5133,10 @@ InteractionService.ctorParameters = () => [
4946
5133
  class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
4947
5134
  constructor(interactionService) {
4948
5135
  super();
4949
- this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5136
+ this._interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5137
+ }
5138
+ get interactionContext() {
5139
+ return this._interactionContext;
4950
5140
  }
4951
5141
  }
4952
5142
  ModalActivityTriggerComponent.decorators = [
@@ -4986,6 +5176,9 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
4986
5176
  var _a;
4987
5177
  return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
4988
5178
  }
5179
+ get active() {
5180
+ return this.isActive();
5181
+ }
4989
5182
  ngAfterViewInit() {
4990
5183
  this.interactionService.registerInplaceInteractionContext(this);
4991
5184
  }
@@ -5030,8 +5223,80 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
5030
5223
  ];
5031
5224
  InPlaceInteractionContextComponent.propDecorators = {
5032
5225
  activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
5033
- animateFirstActivity: [{ type: Input }]
5226
+ animateFirstActivity: [{ type: Input }],
5227
+ active: [{ type: HostBinding, args: ["class.active",] }]
5228
+ };
5229
+
5230
+ /**
5231
+ *
5232
+ */
5233
+ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
5234
+ constructor(interactionService) {
5235
+ super();
5236
+ this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
5237
+ this.renderAs = AddCardActivityComponent.RenderAs.CARD;
5238
+ this.notCard = true;
5239
+ const { chain } = Dsl.disposeWith(this);
5240
+ this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
5241
+ this.faceList = chain(this.faceModel).mapToList(face => [face]);
5242
+ }
5243
+ get renderAsClass() {
5244
+ return `render-as-${this.renderAs}`;
5245
+ }
5246
+ get activityTypeClass() {
5247
+ return `${this.interactionStyle}-activity`;
5248
+ }
5249
+ isRenderAsCard() {
5250
+ return this.renderAs === 'card';
5251
+ }
5252
+ isRenderAsButton() {
5253
+ return this.renderAs === 'button';
5254
+ }
5255
+ ngOnInit() {
5256
+ }
5257
+ get interactionContext() {
5258
+ switch (this.interactionStyle) {
5259
+ case 'inline':
5260
+ return this.inlineInteractionContext;
5261
+ default:
5262
+ return this.modalInteractionContext;
5263
+ }
5264
+ }
5265
+ isModal() {
5266
+ return this.interactionStyle === 'modal';
5267
+ }
5268
+ isInline() {
5269
+ return this.interactionStyle === 'inline';
5270
+ }
5271
+ }
5272
+ AddCardActivityComponent.decorators = [
5273
+ { type: Component, args: [{
5274
+ selector: 'aup-add-card-activity',
5275
+ 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",
5276
+ styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){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)}:host[interactionStyle=inline][renderas=card]:not(.active):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)}:host[interactionStyle=inline][renderas=card]:not(.active):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)}:host[interactionStyle=modal][renderas=card]{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)}:host[interactionStyle=modal][renderas=card]: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)}:host[interactionStyle=modal][renderas=card]: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)}: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}"]
5277
+ },] }
5278
+ ];
5279
+ AddCardActivityComponent.ctorParameters = () => [
5280
+ { type: InteractionService }
5281
+ ];
5282
+ AddCardActivityComponent.propDecorators = {
5283
+ inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
5284
+ interactionStyle: [{ type: Input }],
5285
+ renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
5286
+ notCard: [{ type: HostBinding, args: ['class.not-card',] }],
5287
+ renderAsClass: [{ type: HostBinding, args: ['class',] }],
5288
+ activityTypeClass: [{ type: HostBinding, args: ['class',] }]
5034
5289
  };
5290
+ (function (AddCardActivityComponent) {
5291
+ AddCardActivityComponent.InteractionType = Enum({
5292
+ MODAL: 'modal',
5293
+ INLINE: 'inline'
5294
+ });
5295
+ AddCardActivityComponent.RenderAs = Enum({
5296
+ CARD: 'card',
5297
+ BUTTON: 'button'
5298
+ });
5299
+ })(AddCardActivityComponent || (AddCardActivityComponent = {}));
5035
5300
 
5036
5301
  /**
5037
5302
  * Css Vars.
@@ -5094,6 +5359,9 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
5094
5359
  constructor() {
5095
5360
  super();
5096
5361
  }
5362
+ get interactionContext() {
5363
+ return this._interactionContext;
5364
+ }
5097
5365
  }
5098
5366
  InlineActivityTriggerComponent.decorators = [
5099
5367
  { type: Component, args: [{
@@ -5104,7 +5372,7 @@ InlineActivityTriggerComponent.decorators = [
5104
5372
  ];
5105
5373
  InlineActivityTriggerComponent.ctorParameters = () => [];
5106
5374
  InlineActivityTriggerComponent.propDecorators = {
5107
- interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5375
+ _interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5108
5376
  };
5109
5377
 
5110
5378
  /**
@@ -5265,7 +5533,7 @@ InteractionContextTriggerFor.propDecorators = {
5265
5533
  // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
5266
5534
  // we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
5267
5535
  // @dynamic
5268
- class AbstractInputActivity extends Activity {
5536
+ class InputActivity extends Activity {
5269
5537
  constructor(data) {
5270
5538
  super();
5271
5539
  this.data = data;
@@ -5273,36 +5541,62 @@ class AbstractInputActivity extends Activity {
5273
5541
  const form = new DirtyTrackingForm();
5274
5542
  this.valueModel = form.valueModel(this.data.initialValue);
5275
5543
  this.valueModel.validateUsing(data.validators || []);
5276
- this.confirmCommand = Command.create(() => {
5544
+ this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5277
5545
  if (this.valueModel.validate()) {
5278
5546
  if (data.save) {
5279
- return Promise.resolve(data.save(this.valueModel, this.interactionContext))
5280
- .then(() => this.done());
5547
+ const self = this;
5548
+ try {
5549
+ let allGood = true;
5550
+ const result = yield data.save(this.valueModel.value, {
5551
+ injectError(error) {
5552
+ allGood = false;
5553
+ self.valueModel.injectErrors([error]);
5554
+ }
5555
+ });
5556
+ if (allGood) {
5557
+ this.done(this.valueModel.value);
5558
+ }
5559
+ }
5560
+ catch (e) {
5561
+ console.error(e);
5562
+ }
5281
5563
  }
5282
5564
  else {
5283
5565
  this.done(this.valueModel.value);
5284
5566
  }
5285
5567
  }
5286
- });
5568
+ }));
5287
5569
  this.cancelCommand = Command.create(() => {
5288
5570
  this.cancel();
5289
5571
  });
5572
+ this.busyWhile(this.confirmCommand.busy);
5573
+ }
5574
+ get layout() {
5575
+ var _a, _b;
5576
+ return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
5290
5577
  }
5291
5578
  onActivityReady() {
5292
5579
  this.valueModel.focusContext.requestFocus();
5293
5580
  }
5294
5581
  }
5295
- AbstractInputActivity.decorators = [
5582
+ InputActivity.decorators = [
5296
5583
  { type: Component, args: [{ template: `` },] }
5297
5584
  ];
5298
- AbstractInputActivity.ctorParameters = () => [
5585
+ InputActivity.ctorParameters = () => [
5299
5586
  { type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
5300
5587
  ];
5301
- AbstractInputActivity.propDecorators = {
5302
- class: [{ type: HostBinding, args: ['class',] }]
5588
+ InputActivity.propDecorators = {
5589
+ class: [{ type: HostBinding, args: ['class',] }],
5590
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }]
5303
5591
  };
5592
+ (function (InputActivity) {
5593
+ InputActivity.Layout = Enum({
5594
+ INLINE: 'inline',
5595
+ BLOCK: 'block'
5596
+ });
5597
+ })(InputActivity || (InputActivity = {}));
5304
5598
 
5305
- class StringInputActivity extends AbstractInputActivity {
5599
+ class StringInputActivity extends InputActivity {
5306
5600
  }
5307
5601
  StringInputActivity.decorators = [
5308
5602
  { type: Component, args: [{
@@ -5313,13 +5607,12 @@ StringInputActivity.decorators = [
5313
5607
  [placeholder]="data.placeholder"
5314
5608
  [command.enter]="confirmCommand"
5315
5609
  [command.escape]="cancelCommand"></aup-string-input>
5316
- <aup-activity-actions align="end"
5317
- [faces]="data.buttonStyle"></aup-activity-actions>
5610
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"></aup-activity-actions>
5318
5611
  `
5319
5612
  },] }
5320
5613
  ];
5321
5614
 
5322
- class SelectInputActivity extends AbstractInputActivity {
5615
+ class SelectInputActivity extends InputActivity {
5323
5616
  constructor() {
5324
5617
  super(...arguments);
5325
5618
  this.defaultOptionLabelFormat = (option) => {
@@ -5347,7 +5640,7 @@ SelectInputActivity.decorators = [
5347
5640
  [options]="options"
5348
5641
  [optionLabelFormat]="optionLabelFormat"
5349
5642
  ></aup-select-input>
5350
- <aup-activity-actions align="end" [faces]="data.buttonStyle"
5643
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"
5351
5644
  ></aup-activity-actions>
5352
5645
  `
5353
5646
  },] }
@@ -5489,6 +5782,9 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
5489
5782
  this.anchorX = 'start';
5490
5783
  this.anchorY = 'bottom';
5491
5784
  }
5785
+ get interactionContext() {
5786
+ return this._interactionContext;
5787
+ }
5492
5788
  }
5493
5789
  PopupActivityTriggerComponent.decorators = [
5494
5790
  { type: Component, args: [{
@@ -5501,9 +5797,207 @@ PopupActivityTriggerComponent.ctorParameters = () => [];
5501
5797
  PopupActivityTriggerComponent.propDecorators = {
5502
5798
  anchorX: [{ type: Input }],
5503
5799
  anchorY: [{ type: Input }],
5504
- interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5800
+ _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5505
5801
  };
5506
5802
 
5803
+ class InlineEditorModel extends GarbageCollector {
5804
+ constructor(valueModel, saveCallback) {
5805
+ super();
5806
+ this.valueModel = valueModel;
5807
+ this.saveCallback = saveCallback;
5808
+ this.editing = new MutableValueModel(false);
5809
+ this._validators = new MutableListModel();
5810
+ this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
5811
+ const { when } = Dsl.disposeWith(this);
5812
+ when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
5813
+ }
5814
+ get editingEnabled() {
5815
+ return this._editingEnabled.readonly;
5816
+ }
5817
+ disableWhile(condition) {
5818
+ const { chain } = Dsl.disposeWith(this);
5819
+ this.enableWhile(chain(condition).isFalsey());
5820
+ return this;
5821
+ }
5822
+ enableWhile(condition) {
5823
+ this._editingEnabled.setDelegate(condition);
5824
+ return this;
5825
+ }
5826
+ get validators() {
5827
+ return this._validators.readonly;
5828
+ }
5829
+ validateUsing(validator) {
5830
+ this._validators.push(validator);
5831
+ return this;
5832
+ }
5833
+ ;
5834
+ isEditing() {
5835
+ return this.editing.value;
5836
+ }
5837
+ cancelEdit() {
5838
+ this.editing.value = false;
5839
+ }
5840
+ startEditing() {
5841
+ this.editing.value = true;
5842
+ }
5843
+ }
5844
+ (function (InlineEditorModel) {
5845
+ function create(valueModel, options) {
5846
+ return new InlineEditorModel(valueModel, options.save);
5847
+ }
5848
+ InlineEditorModel.create = create;
5849
+ })(InlineEditorModel || (InlineEditorModel = {}));
5850
+ TrackExternal.oneTimeBinding(InlineEditorModel);
5851
+
5852
+ /**
5853
+ * @example
5854
+ * const source: ValueModel<string> = ...;
5855
+ * const model = InlineEditorModel.create(source, {
5856
+ * save(updated:string, context: EditContext) => {
5857
+ * try {
5858
+ * try and save the thing...
5859
+ * } catch(error) {
5860
+ * context.injectError(error)
5861
+ * }
5862
+ * }).validateUsing(Validator.present("We'll need a value");
5863
+ *
5864
+ * # in the view
5865
+ * <aup-inline-string-editor
5866
+ * label="My field"
5867
+ * placeHolder="I'm ready for a string..."
5868
+ * [editorModel]="model"></aup-inline-string-editor>
5869
+ */
5870
+ class InlineStringEditorComponent extends DisposableComponent {
5871
+ constructor(interactionService) {
5872
+ super();
5873
+ this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
5874
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5875
+ const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5876
+ const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
5877
+ return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
5878
+ }, { allowNil: true });
5879
+ this.editFaceModel = resolvedFacesModel.pluck('edit');
5880
+ this.saveFace = resolvedFacesModel.pluck('save');
5881
+ this.cancelFace = resolvedFacesModel.pluck('cancel');
5882
+ const self = this;
5883
+ this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5884
+ this.editorModel.editing.value = true;
5885
+ try {
5886
+ yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
5887
+ }
5888
+ catch (e) {
5889
+ // don't care if they cancelled, just hiding the console errors
5890
+ }
5891
+ finally {
5892
+ this.editorModel.editing.value = false;
5893
+ }
5894
+ })).enableWhile(this.editingEnabled);
5895
+ this.onDispose(() => this.cancelEdit());
5896
+ }
5897
+ ngOnInit() {
5898
+ // our editor model is a one time binding without delegates so we can only
5899
+ // use it once we've been initialised
5900
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5901
+ if (!this.editorModel) {
5902
+ lang$1.illegalState('editorModel is required');
5903
+ }
5904
+ this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
5905
+ when(this.editorModel.editing).becomesTruthy(() => {
5906
+ this.editCommand.execute();
5907
+ }, { asLongAs: this.editCommand.enabled });
5908
+ when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
5909
+ this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
5910
+ // deviceDescription.isNil()
5911
+ ).areTruthy();
5912
+ this.displayValue = chain(this.editorModel.valueModel).map(v => {
5913
+ return _.isEmpty(v) ? this.placeHolderModel.value : v;
5914
+ }, { dependsOn: this.placeHolderModel, allowNil: true });
5915
+ }
5916
+ createInputActivityData() {
5917
+ const self = this;
5918
+ return {
5919
+ initialValue: self.editorModel.valueModel.value,
5920
+ buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },
5921
+ placeholder: self.placeHolderModel.value,
5922
+ label: self.label,
5923
+ layout: InputActivity.Layout.INLINE,
5924
+ validators: self.editorModel.validators.value,
5925
+ save(value, inputContext) {
5926
+ return __awaiter(this, void 0, void 0, function* () {
5927
+ yield self.editorModel.saveCallback(value, inputContext);
5928
+ });
5929
+ }
5930
+ };
5931
+ }
5932
+ cancelEdit() {
5933
+ if (this.isEditing()) {
5934
+ this.interactionContext.cancelActiveActivity();
5935
+ }
5936
+ }
5937
+ startEdit() {
5938
+ if (!this.isEditing() && this.editCommand.enabled.value) {
5939
+ this.editCommand.execute();
5940
+ }
5941
+ }
5942
+ isEditing() {
5943
+ return this.interactionContext.isActive();
5944
+ }
5945
+ isEmpty() {
5946
+ return this.empty.value;
5947
+ }
5948
+ }
5949
+ InlineStringEditorComponent.decorators = [
5950
+ { type: Component, args: [{
5951
+ selector: 'aup-inline-string-editor',
5952
+ 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"
5953
+ },] }
5954
+ ];
5955
+ InlineStringEditorComponent.ctorParameters = () => [
5956
+ { type: InteractionService }
5957
+ ];
5958
+ InlineStringEditorComponent.propDecorators = {
5959
+ editorModel: [{ type: Input }],
5960
+ facesModel: [{ type: Input }],
5961
+ faces: [{ type: Input }],
5962
+ interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
5963
+ label: [{ type: Input }],
5964
+ placeHolder: [{ type: Input }],
5965
+ placeHolderModel: [{ type: Input }]
5966
+ };
5967
+ __decorate([
5968
+ TrackExternal(),
5969
+ __metadata("design:type", InlineEditorModel)
5970
+ ], InlineStringEditorComponent.prototype, "editorModel", void 0);
5971
+ __decorate([
5972
+ TrackExternal(),
5973
+ __metadata("design:type", ValueModel)
5974
+ ], InlineStringEditorComponent.prototype, "facesModel", void 0);
5975
+ __decorate([
5976
+ StoreInValueModel('facesModel'),
5977
+ __metadata("design:type", Object)
5978
+ ], InlineStringEditorComponent.prototype, "faces", void 0);
5979
+ __decorate([
5980
+ StoreInValueModel('placeHolderModel'),
5981
+ __metadata("design:type", String)
5982
+ ], InlineStringEditorComponent.prototype, "placeHolder", void 0);
5983
+ __decorate([
5984
+ TrackExternal(),
5985
+ __metadata("design:type", ValueModel)
5986
+ ], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
5987
+ (function (InlineStringEditorComponent) {
5988
+ InlineStringEditorComponent.DEFAULT_FACES = {
5989
+ edit: {
5990
+ icon: () => 'mat:edit'
5991
+ },
5992
+ save: {
5993
+ icon: () => 'mat:check'
5994
+ },
5995
+ cancel: {
5996
+ icon: () => 'mat:clear'
5997
+ }
5998
+ };
5999
+ })(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
6000
+
5507
6001
  class InteractionModule {
5508
6002
  }
5509
6003
  InteractionModule.decorators = [
@@ -5519,7 +6013,10 @@ InteractionModule.decorators = [
5519
6013
  DirectivesModule,
5520
6014
  FlexModule,
5521
6015
  GridModule,
5522
- ComponentsModule
6016
+ ComponentsModule,
6017
+ FormsModule,
6018
+ MatInputModule,
6019
+ MatFormFieldModule,
5523
6020
  ],
5524
6021
  declarations: [
5525
6022
  ActivityContainerComponent,
@@ -5533,7 +6030,7 @@ InteractionModule.decorators = [
5533
6030
  PopupInteractionContextComponent,
5534
6031
  StringInputActivity,
5535
6032
  SelectInputActivity,
5536
- AbstractInputActivity,
6033
+ InputActivity,
5537
6034
  InteractionContextTriggerFor,
5538
6035
  Activity,
5539
6036
  ActivityTitleComponent,
@@ -5542,7 +6039,9 @@ InteractionModule.decorators = [
5542
6039
  AbstractActivityTriggerComponent,
5543
6040
  PopupActivityTriggerComponent,
5544
6041
  InlineActivityTriggerComponent,
5545
- ModalActivityTriggerComponent
6042
+ ModalActivityTriggerComponent,
6043
+ AddCardActivityComponent,
6044
+ InlineStringEditorComponent,
5546
6045
  ],
5547
6046
  exports: [
5548
6047
  ActivityContainerComponent,
@@ -5558,7 +6057,9 @@ InteractionModule.decorators = [
5558
6057
  ActivityBodyComponent,
5559
6058
  PopupActivityTriggerComponent,
5560
6059
  InlineActivityTriggerComponent,
5561
- ModalActivityTriggerComponent
6060
+ ModalActivityTriggerComponent,
6061
+ AddCardActivityComponent,
6062
+ InlineStringEditorComponent,
5562
6063
  ],
5563
6064
  entryComponents: [
5564
6065
  ActivityContainerComponent,
@@ -5839,16 +6340,27 @@ class PlaceComponent extends DisposableComponent {
5839
6340
  when(this._active).becomesTruthy(() => this._notifyPlaceReady());
5840
6341
  this.childPlaces = this.placeDefinition.children.map(d => d.component);
5841
6342
  }
5842
- // @Trace()
5843
6343
  initialiseVisit(visit, notifyVisitChanged) {
5844
6344
  assert.isNil(this.visitModel.value);
5845
6345
  const { when } = Dsl.disposeWith(this);
5846
6346
  this.visitModel.value = visit;
5847
6347
  DebugContext.getOrCreate(this.visitModel).tag(`${this.placeDefinition.component.name}.visitModel`);
5848
- this.placeDefinition.getVisitParameterDefs().forEach(parameterDef => this.installBinding(parameterDef));
6348
+ // we track if the any of the bindings updated the route. If so we remember it and update the
6349
+ // route in one go at the end.
6350
+ this.placeDefinition
6351
+ .getVisitParameterDefs()
6352
+ .forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));
5849
6353
  when(this.visitModel).changes((current, previous) => {
5850
6354
  notifyVisitChanged(current, previous);
5851
6355
  }, { unless: this._inVisitUpdate });
6356
+ // TODO: this needs to do a replace url option so that the new url isn't put in the history.... for
6357
+ // now we're not doing it as it's a fair bit of effort and will only affect people if they're
6358
+ // cutting and pasting urls to each other.
6359
+ // // the binding process can update the visit (e.g. if a selection model has already selected during
6360
+ // // component construction) and there was no value specified in the route
6361
+ // if (visit.hasRoutingChangedFrom(this.visitModel.value)) {
6362
+ // notifyVisitChanged(this.visitModel.value, visit)
6363
+ // }
5852
6364
  }
5853
6365
  updateVisit(visit) {
5854
6366
  assert.isTruthy(this.isInitialised());
@@ -5861,7 +6373,12 @@ class PlaceComponent extends DisposableComponent {
5861
6373
  return !!this.visitModel.value;
5862
6374
  }
5863
6375
  // @Trace()
5864
- installBinding(parameterDef) {
6376
+ /**
6377
+ * Initialised the component bindings. If any binding has an initial model value (e.g. a selection model
6378
+ * initialised during the constructor) and the route has nothing, then the visit will be udpated and this
6379
+ * method will return ture to nofiy the the visit has changed.
6380
+ */
6381
+ installAndInitialiseBinding(initialVisit, parameterDef) {
5865
6382
  const model = this[parameterDef.propertyName];
5866
6383
  DebugContext.tag(model, `${this.placeDefinition.component.name}.${parameterDef.propertyName}`);
5867
6384
  const binding = this.registerDisposable(new Binding(this.visitModel, model, {
@@ -5875,7 +6392,17 @@ class PlaceComponent extends DisposableComponent {
5875
6392
  return currentVisit.replace(parameterDef, value);
5876
6393
  }
5877
6394
  }));
5878
- binding.writeRight();
6395
+ // Now we need to initialise the binding direction. If we have a value in the Url then we should always push
6396
+ // 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
6397
+ // component constructor) then we should push that to the route.
6398
+ const isInVisit = !_.isNil(initialVisit.getParameterValue(parameterDef));
6399
+ const isInModel = !_.isNil(model.value);
6400
+ if (!isInVisit && isInModel) {
6401
+ binding.writeLeft(); // push it to the route
6402
+ }
6403
+ else {
6404
+ binding.writeRight(); // push it to the model
6405
+ }
5879
6406
  }
5880
6407
  get placeDefinition() {
5881
6408
  const definition = PlaceComponent.getDefinition(this.constructor);
@@ -6918,7 +7445,7 @@ class ConsolidatedParameterMap {
6918
7445
  return !!this.paramMaps.find(m => m.has(name));
6919
7446
  }
6920
7447
  get keys() {
6921
- return this.paramMaps.reduce((result, params) => result.concat(params.keys), []);
7448
+ return _.uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
6922
7449
  }
6923
7450
  }
6924
7451
  __decorate([
@@ -6995,9 +7522,13 @@ class Visit {
6995
7522
  });
6996
7523
  return new Visit(this.placeDefinition, params);
6997
7524
  }
7525
+ // @Trace()
6998
7526
  hasRoutingChangedFrom(other) {
6999
7527
  const samePlace = other.placeDefinition === this.placeDefinition;
7000
- const sameRouteParameters = _.isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
7528
+ const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
7529
+ const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
7530
+ // console.log({currentParams, otherParams});
7531
+ const sameRouteParameters = _.isEqual(currentParams, otherParams);
7001
7532
  return !samePlace || !sameRouteParameters;
7002
7533
  }
7003
7534
  hasChangedFrom(other) {
@@ -7019,6 +7550,7 @@ class UrlSnapshot {
7019
7550
  this.url = url;
7020
7551
  this.urlTree = urlSerializer.parse(url);
7021
7552
  }
7553
+ // @Trace()
7022
7554
  updateVisitSegments(visit) {
7023
7555
  const newUrlTree = this.urlSerializer.parse(this.url);
7024
7556
  // Ugly, but it works for now.
@@ -7095,12 +7627,6 @@ class UrlSnapshot {
7095
7627
  return `UrlSnapshot(${this.url})`;
7096
7628
  }
7097
7629
  }
7098
- __decorate([
7099
- Trace(),
7100
- __metadata("design:type", Function),
7101
- __metadata("design:paramtypes", [Visit]),
7102
- __metadata("design:returntype", UrlSnapshot)
7103
- ], UrlSnapshot.prototype, "updateVisitSegments", null);
7104
7630
  __decorate([
7105
7631
  Memoize(),
7106
7632
  __metadata("design:type", Function),
@@ -7442,6 +7968,7 @@ class PlaceRouter extends GarbageCollector {
7442
7968
  * to be able to capture the back button on the first page. If we don't then the back click will exit
7443
7969
  * the app directly and we don't get to ask.
7444
7970
  */
7971
+ // @Trace()
7445
7972
  syncInteractionContextIdsWithRouter() {
7446
7973
  if (this.navigationSession) {
7447
7974
  // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
@@ -7483,12 +8010,6 @@ PlaceRouter.ctorParameters = () => [
7483
8010
  { type: UrlService },
7484
8011
  { type: PlaceHistory }
7485
8012
  ];
7486
- __decorate([
7487
- Trace(),
7488
- __metadata("design:type", Function),
7489
- __metadata("design:paramtypes", []),
7490
- __metadata("design:returntype", Promise)
7491
- ], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
7492
8013
  (function (PlaceRouter) {
7493
8014
  class State {
7494
8015
  constructor(activeVisits) {
@@ -8250,10 +8771,11 @@ class PlaceGuard {
8250
8771
  }
8251
8772
  }
8252
8773
  const result = yield this.cleanInteractionState(activatedRoute, state, () => __awaiter(this, void 0, void 0, function* () {
8774
+ const navigationSession = this.placeRouter.navigationSession;
8253
8775
  // Parse our route params.
8254
8776
  const params = new ConsolidatedParameterMap(activatedRoute.url, activatedRoute.paramMap);
8777
+ // console.log("RouteParams", params)
8255
8778
  const parsedParams = placeDefinition.parseRouteParams(params);
8256
- const navigationSession = this.placeRouter.navigationSession;
8257
8779
  const initialVisit = navigationSession.getVisitFor(placeDefinition) || new Visit(placeDefinition, parsedParams);
8258
8780
  const sanitiser = new VisitSanitiser(navigationSession, activatedRoute, this.router, this.placeHistory, this.injector);
8259
8781
  const sanitisedVisit = yield sanitiser.sanitise(initialVisit.mergeRouteParameters(parsedParams));
@@ -8505,5 +9027,5 @@ VisibilityService.ctorParameters = () => [
8505
9027
  * Generated bundle index. Do not edit.
8506
9028
  */
8507
9029
 
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 };
9030
+ 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, 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 };
8509
9031
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map