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

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 +739 -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 +117 -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 +612 -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 +25 -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,138 @@ 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
+ set columnCount(count) {
621
+ if (!_.isNil(count) && (!_.isInteger(count) || count < 1)) {
622
+ lang$1.illegalState('columnCount must be a positive integer or nil');
623
+ }
624
+ this._columnCount = count;
625
+ this.updateColumnCountStyles();
626
+ }
627
+ get columnCount() {
628
+ return this._columnCount;
586
629
  }
587
630
  ngOnInit() {
631
+ super.ngOnInit();
632
+ this.updateColumnCountStyles();
633
+ }
634
+ get isAutoColumns() {
635
+ return _.isNil(this._columnCount);
636
+ }
637
+ get isSingleColumn() {
638
+ return this._columnCount === 1;
639
+ }
640
+ updateColumnCountStyles() {
641
+ const el = this.elementRef.nativeElement;
642
+ if (_.isNil(this._columnCount)) {
643
+ el.style.setProperty('--aup-card-container-column-count', '');
644
+ }
645
+ else {
646
+ el.style.setProperty('--aup-card-container-column-count', this._columnCount);
647
+ }
588
648
  }
589
649
  }
590
650
  CardContainerComponent.decorators = [
591
651
  { type: Component, args: [{
592
652
  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}"]
653
+ template: "<div class=\"header-container\">\n <ng-content select=\"[card-container-header]\"></ng-content>\n</div>\n<aup-scroll-container>\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</aup-scroll-container>\n<div class=\"footer-container\">\n <ng-content select=\"[card-container-footer]\"></ng-content>\n</div>\n\n",
654
+ 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)}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
655
  },] }
596
656
  ];
597
- CardContainerComponent.ctorParameters = () => [];
657
+ CardContainerComponent.ctorParameters = () => [
658
+ { type: ElementRef }
659
+ ];
598
660
  CardContainerComponent.propDecorators = {
599
- addCardCommand: [{ type: Input }],
600
- addCardFace: [{ type: Input }],
601
- addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
661
+ columnCount: [{ type: Input }],
662
+ isAutoColumns: [{ type: HostBinding, args: ['class.auto-columns',] }],
663
+ isSingleColumn: [{ type: HostBinding, args: ['class.single-column',] }]
602
664
  };
603
- __decorate([
604
- TrackExternal(),
605
- __metadata("design:type", Command)
606
- ], CardContainerComponent.prototype, "addCardCommand", void 0);
665
+
666
+ /**
667
+ * @deprecated deprecated, use `aup-card-container [columnCount]="1"` instead.
668
+ * @example
669
+ * // basic usage
670
+ * <aup-card-stack>
671
+ * <my-card *ngFor="..."></my-card>
672
+ * </aup-card-stack>
673
+ *
674
+ * // adds an add button with a the '+' icon to the end of the card list.
675
+ * <aup-card-stack [addCardCommand]="addCard">
676
+ * <my-card *ngFor="..."></my-card>
677
+ * </aup-card-stack>
678
+ *
679
+ * // adds an add button with the specified face
680
+ * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
681
+ * <my-card *ngFor="..."></my-card>
682
+ * </aup-card-stack>
683
+ *
684
+ * // use the aup-add-card-activity to display as the new card place holder and to run
685
+ * // the activity inside teh card
686
+ * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
687
+ * <my-card *ngFor="..."></my-card>
688
+ * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
689
+ * </aup-card-stack>
690
+ *
691
+ * // adds an add card component using the specified template. The template
692
+ * // will fill it's container in the grid.
693
+ * <aup-card-stack>
694
+ * <my-card *ngFor="..."></my-card>
695
+ * <ng-template #addCardTemplate>
696
+ * <div>This is a new card template, it will the the size of the other cards.</div>
697
+ * </ng-template>
698
+ * </aup-card-stack>
699
+ *
700
+ * // sing the default new card styles for your template
701
+ * @import "../../../../assets/styles";
702
+ * .my-new-card {
703
+ * @include aup-card-stack-new-card-style();
704
+ * // OR
705
+ * @include aup-card-stack-new-card-style(
706
+ * $color: rgba(0,0,0,0.54),
707
+ * $background-color: rgba(255,255,255,0.8),
708
+ * $hover-color: $color,
709
+ * $background-hover-color: white
710
+ * )
711
+ * }
712
+ * <aup-card-stack>
713
+ * <my-card *ngFor="..."></my-card>
714
+ * <ng-template #addCardTemplate>
715
+ * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
716
+ * </ng-template>
717
+ * </aup-card-stack>
718
+ *
719
+ * // CSS Vars
720
+ * aup-card-stack {
721
+ * --card-gap: var(--card-gap, 16px);
722
+ * --card-height: var(--card-height, auto);
723
+ * --card-min-height: var(--card-min-height, auto);
724
+ * --card-background: var(--card-background, #fcfcfb);
725
+ * }
726
+ */
727
+ class CardStackComponent extends AbstractCardContainerComponent {
728
+ constructor() {
729
+ super();
730
+ console.warn('<aup-card-stack></aup-card-stack> is deprecated. Use <aup-card-container [columnCount]="1"> instead.');
731
+ }
732
+ }
733
+ CardStackComponent.decorators = [
734
+ { type: Component, args: [{
735
+ selector: 'aup-card-stack',
736
+ 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",
737
+ 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}"]
738
+ },] }
739
+ ];
740
+ CardStackComponent.ctorParameters = () => [];
607
741
 
608
742
  /**
609
743
  * Custom CSS:
@@ -912,10 +1046,22 @@ __decorate([
912
1046
  var TrackBy;
913
1047
  (function (TrackBy) {
914
1048
  TrackBy.byIndex = (index, item) => index;
1049
+ /**
1050
+ * @deprecated use #track(MyType).by("property") instead.
1051
+ * @param property
1052
+ */
915
1053
  function trackByProperty(property) {
916
1054
  return (index, item) => item[property];
917
1055
  }
918
1056
  TrackBy.trackByProperty = trackByProperty;
1057
+ function track(type) {
1058
+ return {
1059
+ by(property) {
1060
+ return (index, item) => item[property];
1061
+ }
1062
+ };
1063
+ }
1064
+ TrackBy.track = track;
919
1065
  })(TrackBy || (TrackBy = {}));
920
1066
 
921
1067
  class CommandContainer extends GarbageCollector {
@@ -1138,7 +1284,7 @@ EmptyStateComponent.decorators = [
1138
1284
  <ng-content></ng-content>
1139
1285
  </div>
1140
1286
  `,
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}"]
1287
+ 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
1288
  },] }
1143
1289
  ];
1144
1290
  EmptyStateComponent.ctorParameters = () => [];
@@ -1222,6 +1368,7 @@ class AbstractInputComponent extends DisposableComponent {
1222
1368
  constructor() {
1223
1369
  super();
1224
1370
  this.onValueEditedListeners = new EventListenerList();
1371
+ this.userFloatLabel = 'always'; // TODO: make this an injectable default
1225
1372
  this.dense = false;
1226
1373
  // TODO: fix this.
1227
1374
  // tslint:disable-next-line:no-output-native
@@ -3514,15 +3661,15 @@ class TreeExpansionModel {
3514
3661
 
3515
3662
  class FlattenedTreeListModel extends ComputedListModel {
3516
3663
  constructor(source, childRef, expansionModel) {
3517
- super(source);
3664
+ super(source, {
3665
+ initialValue: [],
3666
+ identifiedWith: row => source.identityOf(row)
3667
+ });
3518
3668
  this.source = source;
3519
3669
  this.childRef = childRef;
3520
3670
  this.expansionModel = expansionModel;
3521
3671
  this.trackSource(expansionModel.isExpandedPredicate);
3522
3672
  }
3523
- getIdentityOf(item) {
3524
- return this.source.identityOf(item);
3525
- }
3526
3673
  compute(values) {
3527
3674
  const result = [];
3528
3675
  values.forEach(rootNode => {
@@ -3593,6 +3740,7 @@ class TreeTableModel extends AbstractTableModel {
3593
3740
  const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
3594
3741
  this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
3595
3742
  this.setDataSource(this.flattenedDataSource);
3743
+ this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
3596
3744
  }
3597
3745
  treeControlColumn(builder) {
3598
3746
  const columnId = 'tree-label';
@@ -3918,6 +4066,26 @@ __decorate([
3918
4066
  __metadata("design:type", PageController)
3919
4067
  ], PaginatorComponent.prototype, "pageController", void 0);
3920
4068
 
4069
+ class LabelledValueComponent extends DisposableComponent {
4070
+ constructor() {
4071
+ super();
4072
+ // const {chain} = Dsl.disposeWith(this);
4073
+ }
4074
+ ngOnInit() {
4075
+ }
4076
+ }
4077
+ LabelledValueComponent.decorators = [
4078
+ { type: Component, args: [{
4079
+ selector: 'aup-labelled-value',
4080
+ template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
4081
+ 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}"]
4082
+ },] }
4083
+ ];
4084
+ LabelledValueComponent.ctorParameters = () => [];
4085
+ LabelledValueComponent.propDecorators = {
4086
+ label: [{ type: Input }]
4087
+ };
4088
+
3921
4089
  class ComponentsModule {
3922
4090
  constructor(faIconLibrary) {
3923
4091
  faIconLibrary.addIconPacks(fas);
@@ -3925,6 +4093,28 @@ class ComponentsModule {
3925
4093
  }
3926
4094
  ComponentsModule.decorators = [
3927
4095
  { type: NgModule, args: [{
4096
+ imports: [
4097
+ CommonModule,
4098
+ BrowserAnimationsModule,
4099
+ FormsModule,
4100
+ MatInputModule,
4101
+ MatFormFieldModule,
4102
+ MatSelectModule,
4103
+ MatTabsModule,
4104
+ DirectivesModule,
4105
+ MatIconModule,
4106
+ MatButtonModule,
4107
+ MatCheckboxModule,
4108
+ MatTableModule,
4109
+ PortalModule,
4110
+ CdkScrollableModule,
4111
+ FontAwesomeModule,
4112
+ MatTooltipModule,
4113
+ MatAutocompleteModule,
4114
+ MatMenuModule,
4115
+ MatDividerModule,
4116
+ MatProgressSpinnerModule
4117
+ ],
3928
4118
  declarations: [
3929
4119
  AbstractInputComponent,
3930
4120
  AbstractValueInputComponent,
@@ -3973,29 +4163,10 @@ ComponentsModule.decorators = [
3973
4163
  BusyOverlayComponent,
3974
4164
  EmptyStateComponent,
3975
4165
  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
4166
+ AbstractTableComponent,
4167
+ AbstractCardContainerComponent,
4168
+ CardStackComponent,
4169
+ LabelledValueComponent
3999
4170
  ],
4000
4171
  exports: [
4001
4172
  NumberInputComponent,
@@ -4032,6 +4203,8 @@ ComponentsModule.decorators = [
4032
4203
  BusyOverlayComponent,
4033
4204
  EmptyStateComponent,
4034
4205
  PaginatorComponent,
4206
+ CardStackComponent,
4207
+ LabelledValueComponent,
4035
4208
  ],
4036
4209
  providers: [
4037
4210
  FocusBindingFactory
@@ -4067,7 +4240,8 @@ class ActivityActionsComponent extends DisposableComponent {
4067
4240
  constructor(cdr) {
4068
4241
  super();
4069
4242
  this.cdr = cdr;
4070
- this.align = 'stretch';
4243
+ this.layout = ActivityActionsComponent.Layout.BLOCK;
4244
+ this.align = ActivityActionsComponent.Align.STRETCH;
4071
4245
  }
4072
4246
  set faces(faces) {
4073
4247
  this.confirmFace = faces.confirm;
@@ -4079,12 +4253,6 @@ class ActivityActionsComponent extends DisposableComponent {
4079
4253
  set style(style) {
4080
4254
  this.faces = style;
4081
4255
  }
4082
- get alignEnd() {
4083
- return this.align === 'end';
4084
- }
4085
- get alignStretch() {
4086
- return this.align === 'stretch';
4087
- }
4088
4256
  ngOnInit() {
4089
4257
  }
4090
4258
  hasConfirmFace() {
@@ -4103,7 +4271,7 @@ ActivityActionsComponent.decorators = [
4103
4271
  { type: Component, args: [{
4104
4272
  selector: 'aup-activity-actions',
4105
4273
  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}"]
4274
+ 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
4275
  },] }
4108
4276
  ];
4109
4277
  ActivityActionsComponent.ctorParameters = () => [
@@ -4116,9 +4284,8 @@ ActivityActionsComponent.propDecorators = {
4116
4284
  confirmFace: [{ type: Input }],
4117
4285
  cancelFace: [{ type: Input }],
4118
4286
  style: [{ type: Input }],
4119
- align: [{ type: Input }],
4120
- alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
4121
- alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
4287
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
4288
+ align: [{ type: Input }, { type: HostBinding, args: ['attr.align',] }]
4122
4289
  };
4123
4290
  __decorate([
4124
4291
  TrackExternal(),
@@ -4128,6 +4295,17 @@ __decorate([
4128
4295
  TrackExternal(),
4129
4296
  __metadata("design:type", Command)
4130
4297
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
4298
+ (function (ActivityActionsComponent) {
4299
+ ActivityActionsComponent.Layout = Enum({
4300
+ INLINE: 'inline',
4301
+ BLOCK: 'block'
4302
+ });
4303
+ ActivityActionsComponent.Align = Enum({
4304
+ START: 'start',
4305
+ END: 'end',
4306
+ STRETCH: 'stretch'
4307
+ });
4308
+ })(ActivityActionsComponent || (ActivityActionsComponent = {}));
4131
4309
 
4132
4310
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
4133
4311
  class Activity extends DisposableComponent {
@@ -4725,6 +4903,9 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
4725
4903
  });
4726
4904
  });
4727
4905
  }
4906
+ get interactionContext() {
4907
+ return lang$1.abstractMethod(this.constructor);
4908
+ }
4728
4909
  ngOnInit() {
4729
4910
  }
4730
4911
  get isActive() {
@@ -4946,7 +5127,10 @@ InteractionService.ctorParameters = () => [
4946
5127
  class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
4947
5128
  constructor(interactionService) {
4948
5129
  super();
4949
- this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5130
+ this._interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5131
+ }
5132
+ get interactionContext() {
5133
+ return this._interactionContext;
4950
5134
  }
4951
5135
  }
4952
5136
  ModalActivityTriggerComponent.decorators = [
@@ -4986,6 +5170,9 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
4986
5170
  var _a;
4987
5171
  return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
4988
5172
  }
5173
+ get active() {
5174
+ return this.isActive();
5175
+ }
4989
5176
  ngAfterViewInit() {
4990
5177
  this.interactionService.registerInplaceInteractionContext(this);
4991
5178
  }
@@ -5030,9 +5217,81 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
5030
5217
  ];
5031
5218
  InPlaceInteractionContextComponent.propDecorators = {
5032
5219
  activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
5033
- animateFirstActivity: [{ type: Input }]
5220
+ animateFirstActivity: [{ type: Input }],
5221
+ active: [{ type: HostBinding, args: ["class.active",] }]
5034
5222
  };
5035
5223
 
5224
+ /**
5225
+ *
5226
+ */
5227
+ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
5228
+ constructor(interactionService) {
5229
+ super();
5230
+ this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
5231
+ this.renderAs = AddCardActivityComponent.RenderAs.CARD;
5232
+ this.notCard = true;
5233
+ const { chain } = Dsl.disposeWith(this);
5234
+ this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
5235
+ this.faceList = chain(this.faceModel).mapToList(face => [face]);
5236
+ }
5237
+ get renderAsClass() {
5238
+ return `render-as-${this.renderAs}`;
5239
+ }
5240
+ get activityTypeClass() {
5241
+ return `${this.interactionStyle}-activity`;
5242
+ }
5243
+ isRenderAsCard() {
5244
+ return this.renderAs === 'card';
5245
+ }
5246
+ isRenderAsButton() {
5247
+ return this.renderAs === 'button';
5248
+ }
5249
+ ngOnInit() {
5250
+ }
5251
+ get interactionContext() {
5252
+ switch (this.interactionStyle) {
5253
+ case 'inline':
5254
+ return this.inlineInteractionContext;
5255
+ default:
5256
+ return this.modalInteractionContext;
5257
+ }
5258
+ }
5259
+ isModal() {
5260
+ return this.interactionStyle === 'modal';
5261
+ }
5262
+ isInline() {
5263
+ return this.interactionStyle === 'inline';
5264
+ }
5265
+ }
5266
+ AddCardActivityComponent.decorators = [
5267
+ { type: Component, args: [{
5268
+ selector: 'aup-add-card-activity',
5269
+ 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",
5270
+ 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}"]
5271
+ },] }
5272
+ ];
5273
+ AddCardActivityComponent.ctorParameters = () => [
5274
+ { type: InteractionService }
5275
+ ];
5276
+ AddCardActivityComponent.propDecorators = {
5277
+ inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
5278
+ interactionStyle: [{ type: Input }],
5279
+ renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
5280
+ notCard: [{ type: HostBinding, args: ['class.not-card',] }],
5281
+ renderAsClass: [{ type: HostBinding, args: ['class',] }],
5282
+ activityTypeClass: [{ type: HostBinding, args: ['class',] }]
5283
+ };
5284
+ (function (AddCardActivityComponent) {
5285
+ AddCardActivityComponent.InteractionType = Enum({
5286
+ MODAL: 'modal',
5287
+ INLINE: 'inline'
5288
+ });
5289
+ AddCardActivityComponent.RenderAs = Enum({
5290
+ CARD: 'card',
5291
+ BUTTON: 'button'
5292
+ });
5293
+ })(AddCardActivityComponent || (AddCardActivityComponent = {}));
5294
+
5036
5295
  /**
5037
5296
  * Css Vars.
5038
5297
  * --link-color
@@ -5094,6 +5353,9 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
5094
5353
  constructor() {
5095
5354
  super();
5096
5355
  }
5356
+ get interactionContext() {
5357
+ return this._interactionContext;
5358
+ }
5097
5359
  }
5098
5360
  InlineActivityTriggerComponent.decorators = [
5099
5361
  { type: Component, args: [{
@@ -5104,7 +5366,7 @@ InlineActivityTriggerComponent.decorators = [
5104
5366
  ];
5105
5367
  InlineActivityTriggerComponent.ctorParameters = () => [];
5106
5368
  InlineActivityTriggerComponent.propDecorators = {
5107
- interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5369
+ _interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5108
5370
  };
5109
5371
 
5110
5372
  /**
@@ -5265,7 +5527,7 @@ InteractionContextTriggerFor.propDecorators = {
5265
5527
  // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
5266
5528
  // 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
5529
  // @dynamic
5268
- class AbstractInputActivity extends Activity {
5530
+ class InputActivity extends Activity {
5269
5531
  constructor(data) {
5270
5532
  super();
5271
5533
  this.data = data;
@@ -5273,36 +5535,62 @@ class AbstractInputActivity extends Activity {
5273
5535
  const form = new DirtyTrackingForm();
5274
5536
  this.valueModel = form.valueModel(this.data.initialValue);
5275
5537
  this.valueModel.validateUsing(data.validators || []);
5276
- this.confirmCommand = Command.create(() => {
5538
+ this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5277
5539
  if (this.valueModel.validate()) {
5278
5540
  if (data.save) {
5279
- return Promise.resolve(data.save(this.valueModel, this.interactionContext))
5280
- .then(() => this.done());
5541
+ const self = this;
5542
+ try {
5543
+ let allGood = true;
5544
+ const result = yield data.save(this.valueModel.value, {
5545
+ injectError(error) {
5546
+ allGood = false;
5547
+ self.valueModel.injectErrors([error]);
5548
+ }
5549
+ });
5550
+ if (allGood) {
5551
+ this.done(this.valueModel.value);
5552
+ }
5553
+ }
5554
+ catch (e) {
5555
+ console.error(e);
5556
+ }
5281
5557
  }
5282
5558
  else {
5283
5559
  this.done(this.valueModel.value);
5284
5560
  }
5285
5561
  }
5286
- });
5562
+ }));
5287
5563
  this.cancelCommand = Command.create(() => {
5288
5564
  this.cancel();
5289
5565
  });
5566
+ this.busyWhile(this.confirmCommand.busy);
5567
+ }
5568
+ get layout() {
5569
+ var _a, _b;
5570
+ return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
5290
5571
  }
5291
5572
  onActivityReady() {
5292
5573
  this.valueModel.focusContext.requestFocus();
5293
5574
  }
5294
5575
  }
5295
- AbstractInputActivity.decorators = [
5576
+ InputActivity.decorators = [
5296
5577
  { type: Component, args: [{ template: `` },] }
5297
5578
  ];
5298
- AbstractInputActivity.ctorParameters = () => [
5579
+ InputActivity.ctorParameters = () => [
5299
5580
  { type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
5300
5581
  ];
5301
- AbstractInputActivity.propDecorators = {
5302
- class: [{ type: HostBinding, args: ['class',] }]
5582
+ InputActivity.propDecorators = {
5583
+ class: [{ type: HostBinding, args: ['class',] }],
5584
+ layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }]
5303
5585
  };
5586
+ (function (InputActivity) {
5587
+ InputActivity.Layout = Enum({
5588
+ INLINE: 'inline',
5589
+ BLOCK: 'block'
5590
+ });
5591
+ })(InputActivity || (InputActivity = {}));
5304
5592
 
5305
- class StringInputActivity extends AbstractInputActivity {
5593
+ class StringInputActivity extends InputActivity {
5306
5594
  }
5307
5595
  StringInputActivity.decorators = [
5308
5596
  { type: Component, args: [{
@@ -5313,13 +5601,12 @@ StringInputActivity.decorators = [
5313
5601
  [placeholder]="data.placeholder"
5314
5602
  [command.enter]="confirmCommand"
5315
5603
  [command.escape]="cancelCommand"></aup-string-input>
5316
- <aup-activity-actions align="end"
5317
- [faces]="data.buttonStyle"></aup-activity-actions>
5604
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"></aup-activity-actions>
5318
5605
  `
5319
5606
  },] }
5320
5607
  ];
5321
5608
 
5322
- class SelectInputActivity extends AbstractInputActivity {
5609
+ class SelectInputActivity extends InputActivity {
5323
5610
  constructor() {
5324
5611
  super(...arguments);
5325
5612
  this.defaultOptionLabelFormat = (option) => {
@@ -5347,7 +5634,7 @@ SelectInputActivity.decorators = [
5347
5634
  [options]="options"
5348
5635
  [optionLabelFormat]="optionLabelFormat"
5349
5636
  ></aup-select-input>
5350
- <aup-activity-actions align="end" [faces]="data.buttonStyle"
5637
+ <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"
5351
5638
  ></aup-activity-actions>
5352
5639
  `
5353
5640
  },] }
@@ -5489,6 +5776,9 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
5489
5776
  this.anchorX = 'start';
5490
5777
  this.anchorY = 'bottom';
5491
5778
  }
5779
+ get interactionContext() {
5780
+ return this._interactionContext;
5781
+ }
5492
5782
  }
5493
5783
  PopupActivityTriggerComponent.decorators = [
5494
5784
  { type: Component, args: [{
@@ -5501,8 +5791,206 @@ PopupActivityTriggerComponent.ctorParameters = () => [];
5501
5791
  PopupActivityTriggerComponent.propDecorators = {
5502
5792
  anchorX: [{ type: Input }],
5503
5793
  anchorY: [{ type: Input }],
5504
- interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5794
+ _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5795
+ };
5796
+
5797
+ class InlineEditorModel extends GarbageCollector {
5798
+ constructor(valueModel, saveCallback) {
5799
+ super();
5800
+ this.valueModel = valueModel;
5801
+ this.saveCallback = saveCallback;
5802
+ this.editing = new MutableValueModel(false);
5803
+ this._validators = new MutableListModel();
5804
+ this._editingEnabled = this.registerDisposable(new DelegatingValueModel().withDefault(true));
5805
+ const { when } = Dsl.disposeWith(this);
5806
+ when(this.editingEnabled).becomesFalsey(() => this.cancelEdit());
5807
+ }
5808
+ get editingEnabled() {
5809
+ return this._editingEnabled.readonly;
5810
+ }
5811
+ disableWhile(condition) {
5812
+ const { chain } = Dsl.disposeWith(this);
5813
+ this.enableWhile(chain(condition).isFalsey());
5814
+ return this;
5815
+ }
5816
+ enableWhile(condition) {
5817
+ this._editingEnabled.setDelegate(condition);
5818
+ return this;
5819
+ }
5820
+ get validators() {
5821
+ return this._validators.readonly;
5822
+ }
5823
+ validateUsing(validator) {
5824
+ this._validators.push(validator);
5825
+ return this;
5826
+ }
5827
+ ;
5828
+ isEditing() {
5829
+ return this.editing.value;
5830
+ }
5831
+ cancelEdit() {
5832
+ this.editing.value = false;
5833
+ }
5834
+ startEditing() {
5835
+ this.editing.value = true;
5836
+ }
5837
+ }
5838
+ (function (InlineEditorModel) {
5839
+ function create(valueModel, options) {
5840
+ return new InlineEditorModel(valueModel, options.save);
5841
+ }
5842
+ InlineEditorModel.create = create;
5843
+ })(InlineEditorModel || (InlineEditorModel = {}));
5844
+ TrackExternal.oneTimeBinding(InlineEditorModel);
5845
+
5846
+ /**
5847
+ * @example
5848
+ * const source: ValueModel<string> = ...;
5849
+ * const model = InlineEditorModel.create(source, {
5850
+ * save(updated:string, context: EditContext) => {
5851
+ * try {
5852
+ * try and save the thing...
5853
+ * } catch(error) {
5854
+ * context.injectError(error)
5855
+ * }
5856
+ * }).validateUsing(Validator.present("We'll need a value");
5857
+ *
5858
+ * # in the view
5859
+ * <aup-inline-string-editor
5860
+ * label="My field"
5861
+ * placeHolder="I'm ready for a string..."
5862
+ * [editorModel]="model"></aup-inline-string-editor>
5863
+ */
5864
+ class InlineStringEditorComponent extends DisposableComponent {
5865
+ constructor(interactionService) {
5866
+ super();
5867
+ this.editingEnabled = this.registerDisposable(new DelegatingValueModel());
5868
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5869
+ const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5870
+ const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
5871
+ return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
5872
+ }, { allowNil: true });
5873
+ this.editFaceModel = resolvedFacesModel.pluck('edit');
5874
+ this.saveFace = resolvedFacesModel.pluck('save');
5875
+ this.cancelFace = resolvedFacesModel.pluck('cancel');
5876
+ const self = this;
5877
+ this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5878
+ this.editorModel.editing.value = true;
5879
+ try {
5880
+ yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
5881
+ }
5882
+ catch (e) {
5883
+ // don't care if they cancelled, just hiding the console errors
5884
+ }
5885
+ finally {
5886
+ this.editorModel.editing.value = false;
5887
+ }
5888
+ })).enableWhile(this.editingEnabled);
5889
+ this.onDispose(() => this.cancelEdit());
5890
+ }
5891
+ ngOnInit() {
5892
+ // our editor model is a one time binding without delegates so we can only
5893
+ // use it once we've been initialised
5894
+ const { chain, when, valueOf } = Dsl.disposeWith(this);
5895
+ if (!this.editorModel) {
5896
+ lang$1.illegalState('editorModel is required');
5897
+ }
5898
+ this.editingEnabled.setDelegate(this.editorModel.editingEnabled);
5899
+ when(this.editorModel.editing).becomesTruthy(() => {
5900
+ this.editCommand.execute();
5901
+ }, { asLongAs: this.editCommand.enabled });
5902
+ when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
5903
+ this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
5904
+ // deviceDescription.isNil()
5905
+ ).areTruthy();
5906
+ this.displayValue = chain(this.editorModel.valueModel).map(v => {
5907
+ return _.isEmpty(v) ? this.placeHolderModel.value : v;
5908
+ }, { dependsOn: this.placeHolderModel, allowNil: true });
5909
+ }
5910
+ createInputActivityData() {
5911
+ const self = this;
5912
+ return {
5913
+ initialValue: self.editorModel.valueModel.value,
5914
+ buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },
5915
+ placeholder: self.placeHolderModel.value,
5916
+ label: self.label,
5917
+ layout: InputActivity.Layout.INLINE,
5918
+ validators: self.editorModel.validators.value,
5919
+ save(value, inputContext) {
5920
+ return __awaiter(this, void 0, void 0, function* () {
5921
+ yield self.editorModel.saveCallback(value, inputContext);
5922
+ });
5923
+ }
5924
+ };
5925
+ }
5926
+ cancelEdit() {
5927
+ if (this.isEditing()) {
5928
+ this.interactionContext.cancelActiveActivity();
5929
+ }
5930
+ }
5931
+ startEdit() {
5932
+ if (!this.isEditing() && this.editCommand.enabled.value) {
5933
+ this.editCommand.execute();
5934
+ }
5935
+ }
5936
+ isEditing() {
5937
+ return this.interactionContext.isActive();
5938
+ }
5939
+ isEmpty() {
5940
+ return this.empty.value;
5941
+ }
5942
+ }
5943
+ InlineStringEditorComponent.decorators = [
5944
+ { type: Component, args: [{
5945
+ selector: 'aup-inline-string-editor',
5946
+ 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"
5947
+ },] }
5948
+ ];
5949
+ InlineStringEditorComponent.ctorParameters = () => [
5950
+ { type: InteractionService }
5951
+ ];
5952
+ InlineStringEditorComponent.propDecorators = {
5953
+ editorModel: [{ type: Input }],
5954
+ facesModel: [{ type: Input }],
5955
+ faces: [{ type: Input }],
5956
+ interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
5957
+ label: [{ type: Input }],
5958
+ placeHolder: [{ type: Input }],
5959
+ placeHolderModel: [{ type: Input }]
5505
5960
  };
5961
+ __decorate([
5962
+ TrackExternal(),
5963
+ __metadata("design:type", InlineEditorModel)
5964
+ ], InlineStringEditorComponent.prototype, "editorModel", void 0);
5965
+ __decorate([
5966
+ TrackExternal(),
5967
+ __metadata("design:type", ValueModel)
5968
+ ], InlineStringEditorComponent.prototype, "facesModel", void 0);
5969
+ __decorate([
5970
+ StoreInValueModel('facesModel'),
5971
+ __metadata("design:type", Object)
5972
+ ], InlineStringEditorComponent.prototype, "faces", void 0);
5973
+ __decorate([
5974
+ StoreInValueModel('placeHolderModel'),
5975
+ __metadata("design:type", String)
5976
+ ], InlineStringEditorComponent.prototype, "placeHolder", void 0);
5977
+ __decorate([
5978
+ TrackExternal(),
5979
+ __metadata("design:type", ValueModel)
5980
+ ], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
5981
+ (function (InlineStringEditorComponent) {
5982
+ InlineStringEditorComponent.DEFAULT_FACES = {
5983
+ edit: {
5984
+ icon: () => 'mat:edit'
5985
+ },
5986
+ save: {
5987
+ icon: () => 'mat:check'
5988
+ },
5989
+ cancel: {
5990
+ icon: () => 'mat:clear'
5991
+ }
5992
+ };
5993
+ })(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
5506
5994
 
5507
5995
  class InteractionModule {
5508
5996
  }
@@ -5519,7 +6007,10 @@ InteractionModule.decorators = [
5519
6007
  DirectivesModule,
5520
6008
  FlexModule,
5521
6009
  GridModule,
5522
- ComponentsModule
6010
+ ComponentsModule,
6011
+ FormsModule,
6012
+ MatInputModule,
6013
+ MatFormFieldModule,
5523
6014
  ],
5524
6015
  declarations: [
5525
6016
  ActivityContainerComponent,
@@ -5533,7 +6024,7 @@ InteractionModule.decorators = [
5533
6024
  PopupInteractionContextComponent,
5534
6025
  StringInputActivity,
5535
6026
  SelectInputActivity,
5536
- AbstractInputActivity,
6027
+ InputActivity,
5537
6028
  InteractionContextTriggerFor,
5538
6029
  Activity,
5539
6030
  ActivityTitleComponent,
@@ -5542,7 +6033,9 @@ InteractionModule.decorators = [
5542
6033
  AbstractActivityTriggerComponent,
5543
6034
  PopupActivityTriggerComponent,
5544
6035
  InlineActivityTriggerComponent,
5545
- ModalActivityTriggerComponent
6036
+ ModalActivityTriggerComponent,
6037
+ AddCardActivityComponent,
6038
+ InlineStringEditorComponent,
5546
6039
  ],
5547
6040
  exports: [
5548
6041
  ActivityContainerComponent,
@@ -5558,7 +6051,9 @@ InteractionModule.decorators = [
5558
6051
  ActivityBodyComponent,
5559
6052
  PopupActivityTriggerComponent,
5560
6053
  InlineActivityTriggerComponent,
5561
- ModalActivityTriggerComponent
6054
+ ModalActivityTriggerComponent,
6055
+ AddCardActivityComponent,
6056
+ InlineStringEditorComponent,
5562
6057
  ],
5563
6058
  entryComponents: [
5564
6059
  ActivityContainerComponent,
@@ -5839,16 +6334,27 @@ class PlaceComponent extends DisposableComponent {
5839
6334
  when(this._active).becomesTruthy(() => this._notifyPlaceReady());
5840
6335
  this.childPlaces = this.placeDefinition.children.map(d => d.component);
5841
6336
  }
5842
- // @Trace()
5843
6337
  initialiseVisit(visit, notifyVisitChanged) {
5844
6338
  assert.isNil(this.visitModel.value);
5845
6339
  const { when } = Dsl.disposeWith(this);
5846
6340
  this.visitModel.value = visit;
5847
6341
  DebugContext.getOrCreate(this.visitModel).tag(`${this.placeDefinition.component.name}.visitModel`);
5848
- this.placeDefinition.getVisitParameterDefs().forEach(parameterDef => this.installBinding(parameterDef));
6342
+ // we track if the any of the bindings updated the route. If so we remember it and update the
6343
+ // route in one go at the end.
6344
+ this.placeDefinition
6345
+ .getVisitParameterDefs()
6346
+ .forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));
5849
6347
  when(this.visitModel).changes((current, previous) => {
5850
6348
  notifyVisitChanged(current, previous);
5851
6349
  }, { unless: this._inVisitUpdate });
6350
+ // TODO: this needs to do a replace url option so that the new url isn't put in the history.... for
6351
+ // now we're not doing it as it's a fair bit of effort and will only affect people if they're
6352
+ // cutting and pasting urls to each other.
6353
+ // // the binding process can update the visit (e.g. if a selection model has already selected during
6354
+ // // component construction) and there was no value specified in the route
6355
+ // if (visit.hasRoutingChangedFrom(this.visitModel.value)) {
6356
+ // notifyVisitChanged(this.visitModel.value, visit)
6357
+ // }
5852
6358
  }
5853
6359
  updateVisit(visit) {
5854
6360
  assert.isTruthy(this.isInitialised());
@@ -5861,7 +6367,12 @@ class PlaceComponent extends DisposableComponent {
5861
6367
  return !!this.visitModel.value;
5862
6368
  }
5863
6369
  // @Trace()
5864
- installBinding(parameterDef) {
6370
+ /**
6371
+ * Initialised the component bindings. If any binding has an initial model value (e.g. a selection model
6372
+ * initialised during the constructor) and the route has nothing, then the visit will be udpated and this
6373
+ * method will return ture to nofiy the the visit has changed.
6374
+ */
6375
+ installAndInitialiseBinding(initialVisit, parameterDef) {
5865
6376
  const model = this[parameterDef.propertyName];
5866
6377
  DebugContext.tag(model, `${this.placeDefinition.component.name}.${parameterDef.propertyName}`);
5867
6378
  const binding = this.registerDisposable(new Binding(this.visitModel, model, {
@@ -5875,7 +6386,17 @@ class PlaceComponent extends DisposableComponent {
5875
6386
  return currentVisit.replace(parameterDef, value);
5876
6387
  }
5877
6388
  }));
5878
- binding.writeRight();
6389
+ // Now we need to initialise the binding direction. If we have a value in the Url then we should always push
6390
+ // 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
6391
+ // component constructor) then we should push that to the route.
6392
+ const isInVisit = !_.isNil(initialVisit.getParameterValue(parameterDef));
6393
+ const isInModel = !_.isNil(model.value);
6394
+ if (!isInVisit && isInModel) {
6395
+ binding.writeLeft(); // push it to the route
6396
+ }
6397
+ else {
6398
+ binding.writeRight(); // push it to the model
6399
+ }
5879
6400
  }
5880
6401
  get placeDefinition() {
5881
6402
  const definition = PlaceComponent.getDefinition(this.constructor);
@@ -6918,7 +7439,7 @@ class ConsolidatedParameterMap {
6918
7439
  return !!this.paramMaps.find(m => m.has(name));
6919
7440
  }
6920
7441
  get keys() {
6921
- return this.paramMaps.reduce((result, params) => result.concat(params.keys), []);
7442
+ return _.uniq(this.paramMaps.reduce((result, params) => result.concat(params.keys), []));
6922
7443
  }
6923
7444
  }
6924
7445
  __decorate([
@@ -6995,9 +7516,13 @@ class Visit {
6995
7516
  });
6996
7517
  return new Visit(this.placeDefinition, params);
6997
7518
  }
7519
+ // @Trace()
6998
7520
  hasRoutingChangedFrom(other) {
6999
7521
  const samePlace = other.placeDefinition === this.placeDefinition;
7000
- const sameRouteParameters = _.isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
7522
+ const currentParams = this.placeDefinition.getFormattedRouteParameters(this, true);
7523
+ const otherParams = this.placeDefinition.getFormattedRouteParameters(other, true);
7524
+ // console.log({currentParams, otherParams});
7525
+ const sameRouteParameters = _.isEqual(currentParams, otherParams);
7001
7526
  return !samePlace || !sameRouteParameters;
7002
7527
  }
7003
7528
  hasChangedFrom(other) {
@@ -7019,6 +7544,7 @@ class UrlSnapshot {
7019
7544
  this.url = url;
7020
7545
  this.urlTree = urlSerializer.parse(url);
7021
7546
  }
7547
+ // @Trace()
7022
7548
  updateVisitSegments(visit) {
7023
7549
  const newUrlTree = this.urlSerializer.parse(this.url);
7024
7550
  // Ugly, but it works for now.
@@ -7095,12 +7621,6 @@ class UrlSnapshot {
7095
7621
  return `UrlSnapshot(${this.url})`;
7096
7622
  }
7097
7623
  }
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
7624
  __decorate([
7105
7625
  Memoize(),
7106
7626
  __metadata("design:type", Function),
@@ -7442,6 +7962,7 @@ class PlaceRouter extends GarbageCollector {
7442
7962
  * to be able to capture the back button on the first page. If we don't then the back click will exit
7443
7963
  * the app directly and we don't get to ask.
7444
7964
  */
7965
+ // @Trace()
7445
7966
  syncInteractionContextIdsWithRouter() {
7446
7967
  if (this.navigationSession) {
7447
7968
  // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
@@ -7483,12 +8004,6 @@ PlaceRouter.ctorParameters = () => [
7483
8004
  { type: UrlService },
7484
8005
  { type: PlaceHistory }
7485
8006
  ];
7486
- __decorate([
7487
- Trace(),
7488
- __metadata("design:type", Function),
7489
- __metadata("design:paramtypes", []),
7490
- __metadata("design:returntype", Promise)
7491
- ], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
7492
8007
  (function (PlaceRouter) {
7493
8008
  class State {
7494
8009
  constructor(activeVisits) {
@@ -8250,10 +8765,11 @@ class PlaceGuard {
8250
8765
  }
8251
8766
  }
8252
8767
  const result = yield this.cleanInteractionState(activatedRoute, state, () => __awaiter(this, void 0, void 0, function* () {
8768
+ const navigationSession = this.placeRouter.navigationSession;
8253
8769
  // Parse our route params.
8254
8770
  const params = new ConsolidatedParameterMap(activatedRoute.url, activatedRoute.paramMap);
8771
+ // console.log("RouteParams", params)
8255
8772
  const parsedParams = placeDefinition.parseRouteParams(params);
8256
- const navigationSession = this.placeRouter.navigationSession;
8257
8773
  const initialVisit = navigationSession.getVisitFor(placeDefinition) || new Visit(placeDefinition, parsedParams);
8258
8774
  const sanitiser = new VisitSanitiser(navigationSession, activatedRoute, this.router, this.placeHistory, this.injector);
8259
8775
  const sanitisedVisit = yield sanitiser.sanitise(initialVisit.mergeRouteParameters(parsedParams));
@@ -8505,5 +9021,5 @@ VisibilityService.ctorParameters = () => [
8505
9021
  * Generated bundle index. Do not edit.
8506
9022
  */
8507
9023
 
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 };
9024
+ 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
9025
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map