@coolon/angular-ui-powerups 12.4.0-alpha.29 → 12.4.0-alpha.3

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 (301) hide show
  1. package/assets/form.scss +2 -5
  2. package/assets/interaction.scss +7 -6
  3. package/assets/styles.scss +0 -3
  4. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +298 -715
  5. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  6. package/bundles/coolon-angular-ui-powerups.umd.js +116 -596
  7. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  8. package/coolon-angular-ui-powerups.metadata.json +1 -1
  9. package/cypress/components/aup-command-face.d.ts +8 -2
  10. package/cypress/components/aup-command.d.ts +1 -2
  11. package/cypress/components/aup-input.d.ts +5 -11
  12. package/cypress/components/aup-more-menu.d.ts +4 -0
  13. package/cypress/components/aup-popup-menu.d.ts +7 -0
  14. package/cypress/components/aup-table.d.ts +18 -5
  15. package/cypress/components/button-mixin.d.ts +19 -0
  16. package/cypress/components/button.d.ts +7 -11
  17. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  18. package/cypress/exports.d.ts +4 -25
  19. package/cypress/page-element.d.ts +12 -12
  20. package/cypress/page.d.ts +33 -5
  21. package/cypress/section.d.ts +51 -0
  22. package/esm2015/cypress/components/aup-command-face.js +22 -11
  23. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  24. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  25. package/esm2015/cypress/components/aup-command.js +6 -12
  26. package/esm2015/cypress/components/aup-command.js.map +1 -1
  27. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  28. package/esm2015/cypress/components/aup-input.js +5 -17
  29. package/esm2015/cypress/components/aup-input.js.map +1 -1
  30. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  31. package/esm2015/cypress/components/aup-more-menu.js +7 -0
  32. package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
  33. package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
  34. package/esm2015/cypress/components/aup-navigation.js +1 -1
  35. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  36. package/esm2015/cypress/components/aup-popup-menu.js +19 -0
  37. package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
  38. package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
  39. package/esm2015/cypress/components/aup-table.js +33 -5
  40. package/esm2015/cypress/components/aup-table.js.map +1 -1
  41. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  42. package/esm2015/cypress/components/button-mixin.js +15 -0
  43. package/esm2015/cypress/components/button-mixin.js.map +1 -0
  44. package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
  45. package/esm2015/cypress/components/button.js +10 -4
  46. package/esm2015/cypress/components/button.js.map +1 -1
  47. package/esm2015/cypress/components/button.metadata.json +1 -1
  48. package/esm2015/cypress/exports.js +4 -25
  49. package/esm2015/cypress/exports.js.map +1 -1
  50. package/esm2015/cypress/exports.metadata.json +1 -1
  51. package/esm2015/cypress/page-element.js +19 -26
  52. package/esm2015/cypress/page-element.js.map +1 -1
  53. package/esm2015/cypress/page-element.metadata.json +1 -1
  54. package/esm2015/cypress/page.js +10 -8
  55. package/esm2015/cypress/page.js.map +1 -1
  56. package/esm2015/cypress/page.metadata.json +1 -1
  57. package/esm2015/cypress/path.js +1 -3
  58. package/esm2015/cypress/path.js.map +1 -1
  59. package/esm2015/cypress/section.js +58 -0
  60. package/esm2015/cypress/section.js.map +1 -0
  61. package/esm2015/cypress/section.metadata.json +1 -0
  62. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  63. package/esm2015/lib/components/{cards/card-container → card-container}/card-container.component.js +22 -11
  64. package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
  65. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
  66. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
  67. package/esm2015/lib/components/{labelled-value/labelled-value.component.scss.shim.ngstyle.js.map → card-container/card-container.component.scss.shim.ngstyle.js.map} +1 -1
  68. package/esm2015/lib/components/components.module.js +24 -32
  69. package/esm2015/lib/components/components.module.js.map +1 -1
  70. package/esm2015/lib/components/components.module.metadata.json +1 -1
  71. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  72. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  73. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  74. package/esm2015/lib/components/exports.js +1 -4
  75. package/esm2015/lib/components/exports.js.map +1 -1
  76. package/esm2015/lib/components/exports.metadata.json +1 -1
  77. package/esm2015/lib/components/forms/abstract-input.component.js +0 -1
  78. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  79. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  80. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  81. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  82. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +0 -1
  83. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  84. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  85. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +11 -17
  86. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  87. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  88. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
  89. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  90. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  91. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +1 -4
  92. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  93. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  94. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +1 -4
  95. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  96. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  97. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +1 -4
  98. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  99. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  100. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +2 -6
  101. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  102. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  103. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +43 -0
  104. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -0
  105. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +1 -0
  106. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -0
  107. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +2 -0
  108. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -0
  109. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +1 -0
  110. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +2 -0
  111. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -0
  112. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +1 -0
  113. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -3
  114. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  115. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  116. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -3
  117. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  118. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  119. package/esm2015/lib/interaction/exports.js +3 -5
  120. package/esm2015/lib/interaction/exports.js.map +1 -1
  121. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  122. package/esm2015/lib/interaction/interaction.module.js +4 -10
  123. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  124. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  125. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  126. package/esm2015/lib/place/place-router.js +8 -3
  127. package/esm2015/lib/place/place-router.js.map +1 -1
  128. package/esm2015/lib/place/place-router.metadata.json +1 -1
  129. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  130. package/esm2015/lib/place/url-snapshot.js +7 -1
  131. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  132. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  133. package/fesm2015/coolon-angular-ui-powerups-cypress.js +219 -532
  134. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  135. package/fesm2015/coolon-angular-ui-powerups.js +91 -489
  136. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  137. package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +10 -9
  138. package/lib/components/exports.d.ts +1 -4
  139. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
  140. package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
  141. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -14
  142. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  143. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -2
  144. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
  145. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
  146. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -1
  147. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +12 -0
  148. package/lib/interaction/components/input-activities/input-activity-data.d.ts +11 -0
  149. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +8 -0
  150. package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -11
  151. package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -2
  152. package/lib/interaction/exports.d.ts +3 -5
  153. package/package.json +1 -1
  154. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  155. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
  156. package/assets/cards.scss +0 -13
  157. package/assets/empty-state.scss +0 -11
  158. package/cypress/component-builder.d.ts +0 -71
  159. package/cypress/components/aup-abstract-activity.d.ts +0 -31
  160. package/cypress/components/aup-abstract-table.d.ts +0 -18
  161. package/cypress/components/aup-activity.d.ts +0 -9
  162. package/cypress/components/aup-alert-dialog.d.ts +0 -27
  163. package/cypress/components/aup-alert.d.ts +0 -9
  164. package/cypress/components/aup-confirm-dialog.d.ts +0 -27
  165. package/cypress/components/aup-confirm.d.ts +0 -11
  166. package/cypress/components/aup-empty-state.d.ts +0 -4
  167. package/cypress/components/aup-modal-activity.d.ts +0 -24
  168. package/cypress/components/aup-modal-mixin.d.ts +0 -23
  169. package/cypress/components/aup-tree-table.d.ts +0 -16
  170. package/cypress/components/form-element-mixin.d.ts +0 -22
  171. package/cypress/components/mat-checkbox.d.ts +0 -31
  172. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
  173. package/cypress/components/popup/aup-more-menu.d.ts +0 -5
  174. package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
  175. package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
  176. package/cypress/components/table/aup-table-cell.d.ts +0 -9
  177. package/cypress/components/table/aup-table-column.d.ts +0 -10
  178. package/cypress/components/table/aup-table-row.d.ts +0 -17
  179. package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
  180. package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
  181. package/cypress/element-locator.d.ts +0 -8
  182. package/cypress/page-builder.d.ts +0 -9
  183. package/esm2015/cypress/component-builder.js +0 -92
  184. package/esm2015/cypress/component-builder.js.map +0 -1
  185. package/esm2015/cypress/component-builder.metadata.json +0 -1
  186. package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
  187. package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
  188. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
  189. package/esm2015/cypress/components/aup-abstract-table.js +0 -50
  190. package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
  191. package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
  192. package/esm2015/cypress/components/aup-activity.js +0 -13
  193. package/esm2015/cypress/components/aup-activity.js.map +0 -1
  194. package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
  195. package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
  196. package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
  197. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
  198. package/esm2015/cypress/components/aup-alert.js +0 -13
  199. package/esm2015/cypress/components/aup-alert.js.map +0 -1
  200. package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
  201. package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
  202. package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
  203. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
  204. package/esm2015/cypress/components/aup-confirm.js +0 -19
  205. package/esm2015/cypress/components/aup-confirm.js.map +0 -1
  206. package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
  207. package/esm2015/cypress/components/aup-empty-state.js +0 -7
  208. package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
  209. package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
  210. package/esm2015/cypress/components/aup-modal-activity.js +0 -5
  211. package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
  212. package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
  213. package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
  214. package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
  215. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
  216. package/esm2015/cypress/components/aup-tree-table.js +0 -34
  217. package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
  218. package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
  219. package/esm2015/cypress/components/form-element-mixin.js +0 -11
  220. package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
  221. package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
  222. package/esm2015/cypress/components/mat-checkbox.js +0 -34
  223. package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
  224. package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
  225. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
  226. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
  227. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
  228. package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
  229. package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
  230. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
  231. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
  232. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
  233. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
  234. package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
  235. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
  236. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
  237. package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
  238. package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
  239. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
  240. package/esm2015/cypress/components/table/aup-table-column.js +0 -19
  241. package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
  242. package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
  243. package/esm2015/cypress/components/table/aup-table-row.js +0 -28
  244. package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
  245. package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
  246. package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
  247. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
  248. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
  249. package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
  250. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
  251. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
  252. package/esm2015/cypress/element-locator.js +0 -16
  253. package/esm2015/cypress/element-locator.js.map +0 -1
  254. package/esm2015/cypress/element-locator.metadata.json +0 -1
  255. package/esm2015/cypress/page-builder.js +0 -16
  256. package/esm2015/cypress/page-builder.js.map +0 -1
  257. package/esm2015/cypress/page-builder.metadata.json +0 -1
  258. package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
  259. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
  260. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
  261. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
  262. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
  263. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
  264. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
  265. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
  266. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -72
  267. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
  268. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
  269. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
  270. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
  271. package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -22
  272. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
  273. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
  274. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
  275. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -75
  276. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
  277. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
  278. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
  279. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
  280. package/esm2015/lib/interaction/components/editors/edit-context.js +0 -2
  281. package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
  282. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
  283. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +0 -28
  284. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
  285. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
  286. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -160
  287. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
  288. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
  289. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
  290. package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -71
  291. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
  292. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
  293. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
  294. package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
  295. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -63
  296. package/lib/components/labelled-value/labelled-value.component.d.ts +0 -7
  297. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -38
  298. package/lib/interaction/components/editors/edit-context.d.ts +0 -3
  299. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +0 -18
  300. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +0 -56
  301. package/lib/interaction/components/input-activities/input-activity.d.ts +0 -33
@@ -21,7 +21,7 @@ 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, Functions } from '@coolon/pectin';
24
+ import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Trace, Functions } from '@coolon/pectin';
25
25
  import { __decorate, __metadata, __awaiter } from 'tslib';
26
26
  import { DomSanitizer } from '@angular/platform-browser';
27
27
  import * as _ from 'lodash';
@@ -526,30 +526,6 @@ 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
-
553
529
  /**
554
530
  * @example
555
531
  * // basic usage
@@ -567,13 +543,6 @@ __decorate([
567
543
  * <my-card *ngFor="..."></my-card>
568
544
  * </aup-card-container>
569
545
  *
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
- *
577
546
  * // adds an add card component using the specified template. The template
578
547
  * // will fill it's container in the grid.
579
548
  * <aup-card-container>
@@ -611,85 +580,30 @@ __decorate([
611
580
  * --card-background: var(--card-background, #fcfcfb);
612
581
  * }
613
582
  */
614
- class CardContainerComponent extends AbstractCardContainerComponent {
583
+ class CardContainerComponent extends DisposableComponent {
584
+ constructor() {
585
+ super();
586
+ }
587
+ ngOnInit() {
588
+ }
615
589
  }
616
590
  CardContainerComponent.decorators = [
617
591
  { type: Component, args: [{
618
592
  selector: 'aup-card-container',
619
- 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</div>\n",
593
+ template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
620
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}"]
621
595
  },] }
622
596
  ];
623
-
624
- /**
625
- * @example
626
- * // basic usage
627
- * <aup-card-stack>
628
- * <my-card *ngFor="..."></my-card>
629
- * </aup-card-stack>
630
- *
631
- * // adds an add button with a the '+' icon to the end of the card list.
632
- * <aup-card-stack [addCardCommand]="addCard">
633
- * <my-card *ngFor="..."></my-card>
634
- * </aup-card-stack>
635
- *
636
- * // adds an add button with the specified face
637
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
638
- * <my-card *ngFor="..."></my-card>
639
- * </aup-card-stack>
640
- *
641
- * // use the aup-add-card-activity to display as the new card place holder and to run
642
- * // the activity inside teh card
643
- * <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
644
- * <my-card *ngFor="..."></my-card>
645
- * <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
646
- * </aup-card-stack>
647
- *
648
- * // adds an add card component using the specified template. The template
649
- * // will fill it's container in the grid.
650
- * <aup-card-stack>
651
- * <my-card *ngFor="..."></my-card>
652
- * <ng-template #addCardTemplate>
653
- * <div>This is a new card template, it will the the size of the other cards.</div>
654
- * </ng-template>
655
- * </aup-card-stack>
656
- *
657
- * // sing the default new card styles for your template
658
- * @import "../../../../assets/styles";
659
- * .my-new-card {
660
- * @include aup-card-stack-new-card-style();
661
- * // OR
662
- * @include aup-card-stack-new-card-style(
663
- * $color: rgba(0,0,0,0.54),
664
- * $background-color: rgba(255,255,255,0.8),
665
- * $hover-color: $color,
666
- * $background-hover-color: white
667
- * )
668
- * }
669
- * <aup-card-stack>
670
- * <my-card *ngFor="..."></my-card>
671
- * <ng-template #addCardTemplate>
672
- * <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
673
- * </ng-template>
674
- * </aup-card-stack>
675
- *
676
- * // CSS Vars
677
- * aup-card-stack {
678
- * --card-gap: var(--card-gap, 16px);
679
- * --card-height: var(--card-height, auto);
680
- * --card-min-height: var(--card-min-height, auto);
681
- * --card-background: var(--card-background, #fcfcfb);
682
- * }
683
- */
684
- class CardStackComponent extends AbstractCardContainerComponent {
685
- }
686
- CardStackComponent.decorators = [
687
- { type: Component, args: [{
688
- selector: 'aup-card-stack',
689
- 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",
690
- 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}"]
691
- },] }
692
- ];
597
+ CardContainerComponent.ctorParameters = () => [];
598
+ CardContainerComponent.propDecorators = {
599
+ addCardCommand: [{ type: Input }],
600
+ addCardFace: [{ type: Input }],
601
+ addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
602
+ };
603
+ __decorate([
604
+ TrackExternal(),
605
+ __metadata("design:type", Command)
606
+ ], CardContainerComponent.prototype, "addCardCommand", void 0);
693
607
 
694
608
  /**
695
609
  * Custom CSS:
@@ -1224,7 +1138,7 @@ EmptyStateComponent.decorators = [
1224
1138
  <ng-content></ng-content>
1225
1139
  </div>
1226
1140
  `,
1227
- 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}"]
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}"]
1228
1142
  },] }
1229
1143
  ];
1230
1144
  EmptyStateComponent.ctorParameters = () => [];
@@ -1308,7 +1222,6 @@ class AbstractInputComponent extends DisposableComponent {
1308
1222
  constructor() {
1309
1223
  super();
1310
1224
  this.onValueEditedListeners = new EventListenerList();
1311
- this.userFloatLabel = 'always'; // TODO: make this an injectable default
1312
1225
  this.dense = false;
1313
1226
  // TODO: fix this.
1314
1227
  // tslint:disable-next-line:no-output-native
@@ -3601,15 +3514,15 @@ class TreeExpansionModel {
3601
3514
 
3602
3515
  class FlattenedTreeListModel extends ComputedListModel {
3603
3516
  constructor(source, childRef, expansionModel) {
3604
- super(source, {
3605
- initialValue: [],
3606
- identifiedWith: row => source.identityOf(row)
3607
- });
3517
+ super(source);
3608
3518
  this.source = source;
3609
3519
  this.childRef = childRef;
3610
3520
  this.expansionModel = expansionModel;
3611
3521
  this.trackSource(expansionModel.isExpandedPredicate);
3612
3522
  }
3523
+ getIdentityOf(item) {
3524
+ return this.source.identityOf(item);
3525
+ }
3613
3526
  compute(values) {
3614
3527
  const result = [];
3615
3528
  values.forEach(rootNode => {
@@ -3680,7 +3593,6 @@ class TreeTableModel extends AbstractTableModel {
3680
3593
  const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
3681
3594
  this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
3682
3595
  this.setDataSource(this.flattenedDataSource);
3683
- this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
3684
3596
  }
3685
3597
  treeControlColumn(builder) {
3686
3598
  const columnId = 'tree-label';
@@ -4006,26 +3918,6 @@ __decorate([
4006
3918
  __metadata("design:type", PageController)
4007
3919
  ], PaginatorComponent.prototype, "pageController", void 0);
4008
3920
 
4009
- class LabelledValueComponent extends DisposableComponent {
4010
- constructor() {
4011
- super();
4012
- // const {chain} = Dsl.disposeWith(this);
4013
- }
4014
- ngOnInit() {
4015
- }
4016
- }
4017
- LabelledValueComponent.decorators = [
4018
- { type: Component, args: [{
4019
- selector: 'aup-labelled-value',
4020
- template: "<label>{{label}}</label>\n<ng-content></ng-content>\n",
4021
- 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}"]
4022
- },] }
4023
- ];
4024
- LabelledValueComponent.ctorParameters = () => [];
4025
- LabelledValueComponent.propDecorators = {
4026
- label: [{ type: Input }]
4027
- };
4028
-
4029
3921
  class ComponentsModule {
4030
3922
  constructor(faIconLibrary) {
4031
3923
  faIconLibrary.addIconPacks(fas);
@@ -4033,28 +3925,6 @@ class ComponentsModule {
4033
3925
  }
4034
3926
  ComponentsModule.decorators = [
4035
3927
  { type: NgModule, args: [{
4036
- imports: [
4037
- CommonModule,
4038
- BrowserAnimationsModule,
4039
- FormsModule,
4040
- MatInputModule,
4041
- MatFormFieldModule,
4042
- MatSelectModule,
4043
- MatTabsModule,
4044
- DirectivesModule,
4045
- MatIconModule,
4046
- MatButtonModule,
4047
- MatCheckboxModule,
4048
- MatTableModule,
4049
- PortalModule,
4050
- CdkScrollableModule,
4051
- FontAwesomeModule,
4052
- MatTooltipModule,
4053
- MatAutocompleteModule,
4054
- MatMenuModule,
4055
- MatDividerModule,
4056
- MatProgressSpinnerModule
4057
- ],
4058
3928
  declarations: [
4059
3929
  AbstractInputComponent,
4060
3930
  AbstractValueInputComponent,
@@ -4103,10 +3973,29 @@ ComponentsModule.decorators = [
4103
3973
  BusyOverlayComponent,
4104
3974
  EmptyStateComponent,
4105
3975
  PaginatorComponent,
4106
- AbstractTableComponent,
4107
- AbstractCardContainerComponent,
4108
- CardStackComponent,
4109
- LabelledValueComponent
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
4110
3999
  ],
4111
4000
  exports: [
4112
4001
  NumberInputComponent,
@@ -4143,8 +4032,6 @@ ComponentsModule.decorators = [
4143
4032
  BusyOverlayComponent,
4144
4033
  EmptyStateComponent,
4145
4034
  PaginatorComponent,
4146
- CardStackComponent,
4147
- LabelledValueComponent,
4148
4035
  ],
4149
4036
  providers: [
4150
4037
  FocusBindingFactory
@@ -4180,8 +4067,7 @@ class ActivityActionsComponent extends DisposableComponent {
4180
4067
  constructor(cdr) {
4181
4068
  super();
4182
4069
  this.cdr = cdr;
4183
- this.layout = ActivityActionsComponent.Layout.BLOCK;
4184
- this.align = ActivityActionsComponent.Align.STRETCH;
4070
+ this.align = 'stretch';
4185
4071
  }
4186
4072
  set faces(faces) {
4187
4073
  this.confirmFace = faces.confirm;
@@ -4193,6 +4079,12 @@ class ActivityActionsComponent extends DisposableComponent {
4193
4079
  set style(style) {
4194
4080
  this.faces = style;
4195
4081
  }
4082
+ get alignEnd() {
4083
+ return this.align === 'end';
4084
+ }
4085
+ get alignStretch() {
4086
+ return this.align === 'stretch';
4087
+ }
4196
4088
  ngOnInit() {
4197
4089
  }
4198
4090
  hasConfirmFace() {
@@ -4211,7 +4103,7 @@ ActivityActionsComponent.decorators = [
4211
4103
  { type: Component, args: [{
4212
4104
  selector: 'aup-activity-actions',
4213
4105
  template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n",
4214
- 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}"]
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}"]
4215
4107
  },] }
4216
4108
  ];
4217
4109
  ActivityActionsComponent.ctorParameters = () => [
@@ -4224,8 +4116,9 @@ ActivityActionsComponent.propDecorators = {
4224
4116
  confirmFace: [{ type: Input }],
4225
4117
  cancelFace: [{ type: Input }],
4226
4118
  style: [{ type: Input }],
4227
- layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }],
4228
- align: [{ type: Input }, { type: HostBinding, args: ['attr.align',] }]
4119
+ align: [{ type: Input }],
4120
+ alignEnd: [{ type: HostBinding, args: ['class.align-end',] }],
4121
+ alignStretch: [{ type: HostBinding, args: ['class.align-stretch',] }]
4229
4122
  };
4230
4123
  __decorate([
4231
4124
  TrackExternal(),
@@ -4235,17 +4128,6 @@ __decorate([
4235
4128
  TrackExternal(),
4236
4129
  __metadata("design:type", Command)
4237
4130
  ], ActivityActionsComponent.prototype, "cancelCommand", void 0);
4238
- (function (ActivityActionsComponent) {
4239
- ActivityActionsComponent.Layout = Enum({
4240
- INLINE: 'inline',
4241
- BLOCK: 'block'
4242
- });
4243
- ActivityActionsComponent.Align = Enum({
4244
- START: 'start',
4245
- END: 'end',
4246
- STRETCH: 'stretch'
4247
- });
4248
- })(ActivityActionsComponent || (ActivityActionsComponent = {}));
4249
4131
 
4250
4132
  const ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
4251
4133
  class Activity extends DisposableComponent {
@@ -4843,9 +4725,6 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
4843
4725
  });
4844
4726
  });
4845
4727
  }
4846
- get interactionContext() {
4847
- return lang$1.abstractMethod(this.constructor);
4848
- }
4849
4728
  ngOnInit() {
4850
4729
  }
4851
4730
  get isActive() {
@@ -5067,10 +4946,7 @@ InteractionService.ctorParameters = () => [
5067
4946
  class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
5068
4947
  constructor(interactionService) {
5069
4948
  super();
5070
- this._interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5071
- }
5072
- get interactionContext() {
5073
- return this._interactionContext;
4949
+ this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
5074
4950
  }
5075
4951
  }
5076
4952
  ModalActivityTriggerComponent.decorators = [
@@ -5110,9 +4986,6 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
5110
4986
  var _a;
5111
4987
  return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
5112
4988
  }
5113
- get active() {
5114
- return this.isActive();
5115
- }
5116
4989
  ngAfterViewInit() {
5117
4990
  this.interactionService.registerInplaceInteractionContext(this);
5118
4991
  }
@@ -5157,78 +5030,8 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
5157
5030
  ];
5158
5031
  InPlaceInteractionContextComponent.propDecorators = {
5159
5032
  activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
5160
- animateFirstActivity: [{ type: Input }],
5161
- active: [{ type: HostBinding, args: ["class.active",] }]
5162
- };
5163
-
5164
- /**
5165
- *
5166
- */
5167
- class AddCardActivityComponent extends AbstractActivityTriggerComponent {
5168
- constructor(interactionService) {
5169
- super();
5170
- this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
5171
- this.renderAs = AddCardActivityComponent.RenderAs.CARD;
5172
- const { chain } = Dsl.disposeWith(this);
5173
- this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
5174
- this.faceList = chain(this.faceModel).mapToList(face => [face]);
5175
- }
5176
- get renderAsClass() {
5177
- return `render-as-${this.renderAs}`;
5178
- }
5179
- get activityTypeClass() {
5180
- return `${this.interactionStyle}-activity`;
5181
- }
5182
- isRenderAsCard() {
5183
- return this.renderAs === 'card';
5184
- }
5185
- isRenderAsButton() {
5186
- return this.renderAs === 'button';
5187
- }
5188
- ngOnInit() {
5189
- }
5190
- get interactionContext() {
5191
- switch (this.interactionStyle) {
5192
- case 'inline':
5193
- return this.inlineInteractionContext;
5194
- default:
5195
- return this.modalInteractionContext;
5196
- }
5197
- }
5198
- isModal() {
5199
- return this.interactionStyle === 'modal';
5200
- }
5201
- isInline() {
5202
- return this.interactionStyle === 'inline';
5203
- }
5204
- }
5205
- AddCardActivityComponent.decorators = [
5206
- { type: Component, args: [{
5207
- selector: 'aup-add-card-activity',
5208
- 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",
5209
- 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)}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}"]
5210
- },] }
5211
- ];
5212
- AddCardActivityComponent.ctorParameters = () => [
5213
- { type: InteractionService }
5214
- ];
5215
- AddCardActivityComponent.propDecorators = {
5216
- inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
5217
- interactionStyle: [{ type: Input }],
5218
- renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
5219
- renderAsClass: [{ type: HostBinding, args: ['class',] }],
5220
- activityTypeClass: [{ type: HostBinding, args: ['class',] }]
5033
+ animateFirstActivity: [{ type: Input }]
5221
5034
  };
5222
- (function (AddCardActivityComponent) {
5223
- AddCardActivityComponent.InteractionType = Enum({
5224
- MODAL: 'modal',
5225
- INLINE: 'inline'
5226
- });
5227
- AddCardActivityComponent.RenderAs = Enum({
5228
- CARD: 'card',
5229
- BUTTON: 'button'
5230
- });
5231
- })(AddCardActivityComponent || (AddCardActivityComponent = {}));
5232
5035
 
5233
5036
  /**
5234
5037
  * Css Vars.
@@ -5291,9 +5094,6 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
5291
5094
  constructor() {
5292
5095
  super();
5293
5096
  }
5294
- get interactionContext() {
5295
- return this._interactionContext;
5296
- }
5297
5097
  }
5298
5098
  InlineActivityTriggerComponent.decorators = [
5299
5099
  { type: Component, args: [{
@@ -5304,7 +5104,7 @@ InlineActivityTriggerComponent.decorators = [
5304
5104
  ];
5305
5105
  InlineActivityTriggerComponent.ctorParameters = () => [];
5306
5106
  InlineActivityTriggerComponent.propDecorators = {
5307
- _interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5107
+ interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
5308
5108
  };
5309
5109
 
5310
5110
  /**
@@ -5465,7 +5265,7 @@ InteractionContextTriggerFor.propDecorators = {
5465
5265
  // @see https://github.com/ng-packagr/ng-packagr/issues/641 and https://github.com/angular/angular/issues/21123
5466
5266
  // we're getting a metadata error for D for no reason that I can find and only during the build (ng serve works fine)
5467
5267
  // @dynamic
5468
- class InputActivity extends Activity {
5268
+ class AbstractInputActivity extends Activity {
5469
5269
  constructor(data) {
5470
5270
  super();
5471
5271
  this.data = data;
@@ -5473,62 +5273,36 @@ class InputActivity extends Activity {
5473
5273
  const form = new DirtyTrackingForm();
5474
5274
  this.valueModel = form.valueModel(this.data.initialValue);
5475
5275
  this.valueModel.validateUsing(data.validators || []);
5476
- this.confirmCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5276
+ this.confirmCommand = Command.create(() => {
5477
5277
  if (this.valueModel.validate()) {
5478
5278
  if (data.save) {
5479
- const self = this;
5480
- try {
5481
- let allGood = true;
5482
- const result = yield data.save(this.valueModel.value, {
5483
- injectError(error) {
5484
- allGood = false;
5485
- self.valueModel.injectErrors([error]);
5486
- }
5487
- });
5488
- if (allGood) {
5489
- this.done(this.valueModel.value);
5490
- }
5491
- }
5492
- catch (e) {
5493
- // don't care, just hide error messages
5494
- }
5279
+ return Promise.resolve(data.save(this.valueModel, this.interactionContext))
5280
+ .then(() => this.done());
5495
5281
  }
5496
5282
  else {
5497
5283
  this.done(this.valueModel.value);
5498
5284
  }
5499
5285
  }
5500
- }));
5286
+ });
5501
5287
  this.cancelCommand = Command.create(() => {
5502
5288
  this.cancel();
5503
5289
  });
5504
- this.busyWhile(this.confirmCommand.busy);
5505
- }
5506
- get layout() {
5507
- var _a, _b;
5508
- return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.layout) !== null && _b !== void 0 ? _b : InputActivity.Layout.BLOCK;
5509
5290
  }
5510
5291
  onActivityReady() {
5511
5292
  this.valueModel.focusContext.requestFocus();
5512
5293
  }
5513
5294
  }
5514
- InputActivity.decorators = [
5295
+ AbstractInputActivity.decorators = [
5515
5296
  { type: Component, args: [{ template: `` },] }
5516
5297
  ];
5517
- InputActivity.ctorParameters = () => [
5298
+ AbstractInputActivity.ctorParameters = () => [
5518
5299
  { type: undefined, decorators: [{ type: Inject, args: [ACTIVITY_DATA,] }] }
5519
5300
  ];
5520
- InputActivity.propDecorators = {
5521
- class: [{ type: HostBinding, args: ['class',] }],
5522
- layout: [{ type: Input }, { type: HostBinding, args: ['attr.layout',] }]
5301
+ AbstractInputActivity.propDecorators = {
5302
+ class: [{ type: HostBinding, args: ['class',] }]
5523
5303
  };
5524
- (function (InputActivity) {
5525
- InputActivity.Layout = Enum({
5526
- INLINE: 'inline',
5527
- BLOCK: 'block'
5528
- });
5529
- })(InputActivity || (InputActivity = {}));
5530
5304
 
5531
- class StringInputActivity extends InputActivity {
5305
+ class StringInputActivity extends AbstractInputActivity {
5532
5306
  }
5533
5307
  StringInputActivity.decorators = [
5534
5308
  { type: Component, args: [{
@@ -5539,12 +5313,13 @@ StringInputActivity.decorators = [
5539
5313
  [placeholder]="data.placeholder"
5540
5314
  [command.enter]="confirmCommand"
5541
5315
  [command.escape]="cancelCommand"></aup-string-input>
5542
- <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"></aup-activity-actions>
5316
+ <aup-activity-actions align="end"
5317
+ [faces]="data.buttonStyle"></aup-activity-actions>
5543
5318
  `
5544
5319
  },] }
5545
5320
  ];
5546
5321
 
5547
- class SelectInputActivity extends InputActivity {
5322
+ class SelectInputActivity extends AbstractInputActivity {
5548
5323
  constructor() {
5549
5324
  super(...arguments);
5550
5325
  this.defaultOptionLabelFormat = (option) => {
@@ -5572,7 +5347,7 @@ SelectInputActivity.decorators = [
5572
5347
  [options]="options"
5573
5348
  [optionLabelFormat]="optionLabelFormat"
5574
5349
  ></aup-select-input>
5575
- <aup-activity-actions [layout]="layout" align="end" [faces]="data.buttonStyle"
5350
+ <aup-activity-actions align="end" [faces]="data.buttonStyle"
5576
5351
  ></aup-activity-actions>
5577
5352
  `
5578
5353
  },] }
@@ -5714,9 +5489,6 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
5714
5489
  this.anchorX = 'start';
5715
5490
  this.anchorY = 'bottom';
5716
5491
  }
5717
- get interactionContext() {
5718
- return this._interactionContext;
5719
- }
5720
5492
  }
5721
5493
  PopupActivityTriggerComponent.decorators = [
5722
5494
  { type: Component, args: [{
@@ -5729,184 +5501,8 @@ PopupActivityTriggerComponent.ctorParameters = () => [];
5729
5501
  PopupActivityTriggerComponent.propDecorators = {
5730
5502
  anchorX: [{ type: Input }],
5731
5503
  anchorY: [{ type: Input }],
5732
- _interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5733
- };
5734
-
5735
- class InlineEditorModel {
5736
- constructor(valueModel, saveCallback) {
5737
- this.valueModel = valueModel;
5738
- this.saveCallback = saveCallback;
5739
- this.editing = new MutableValueModel(false);
5740
- this._validators = new MutableListModel();
5741
- }
5742
- get validators() {
5743
- return this._validators.readonly;
5744
- }
5745
- validateUsing(validator) {
5746
- this._validators.push(validator);
5747
- return this;
5748
- }
5749
- ;
5750
- isEditing() {
5751
- return this.editing.value;
5752
- }
5753
- }
5754
- (function (InlineEditorModel) {
5755
- function create(valueModel, options) {
5756
- return new InlineEditorModel(valueModel, options.save);
5757
- }
5758
- InlineEditorModel.create = create;
5759
- })(InlineEditorModel || (InlineEditorModel = {}));
5760
- TrackExternal.oneTimeBinding(InlineEditorModel);
5761
-
5762
- /**
5763
- * @example
5764
- * const source: ValueModel<string> = ...;
5765
- * const model = InlineEditorModel.create(source, {
5766
- * save(updated:string, context: InlineEditorModel.SaveContext) => {
5767
- * try {
5768
- * try and save the thing...
5769
- * } catch(error) {
5770
- * context.injectError(error)
5771
- * }
5772
- * }).validateUsing(Validator.present("We'll need a value");
5773
- *
5774
- * # in the view
5775
- * <aup-inline-string-editor
5776
- * label="My field"
5777
- * placeHolder="I'm ready for a string..."
5778
- * [editorModel]="model"></aup-inline-string-editor>
5779
- */
5780
- class InlineStringEditorComponent extends DisposableComponent {
5781
- constructor(interactionService) {
5782
- super();
5783
- const { chain, when, valueOf } = Dsl.disposeWith(this);
5784
- const modalIC = interactionService.createModalInteractionContextDisposedWith(this);
5785
- const resolvedFacesModel = chain(this.facesModel).map(userFaces => {
5786
- return Object.assign(Object.assign({}, InlineStringEditorComponent.DEFAULT_FACES), userFaces);
5787
- }, { allowNil: true });
5788
- this.editFaceModel = resolvedFacesModel.pluck('edit');
5789
- this.saveFace = resolvedFacesModel.pluck('save');
5790
- this.cancelFace = resolvedFacesModel.pluck('cancel');
5791
- const self = this;
5792
- this.editCommand = Command.create(() => __awaiter(this, void 0, void 0, function* () {
5793
- this.editorModel.editing.value = true;
5794
- try {
5795
- yield this.interactionContext.startActivity(StringInputActivity, this.createInputActivityData());
5796
- }
5797
- catch (e) {
5798
- // don't care, just hiding the console errors
5799
- }
5800
- finally {
5801
- this.editorModel.editing.value = false;
5802
- }
5803
- }));
5804
- this.onDispose(() => this.cancelEdit());
5805
- // const txo = new TransactionObserver({ verbose: true }).onEvent(e => console.log(e.name, e.payload));
5806
- // txo.observe('this.editFace', this.editFaceModel);
5807
- }
5808
- ngOnInit() {
5809
- // our editor model is a one time binding without delegates so we can only
5810
- // use it once we've been initialised
5811
- const { chain, when, valueOf } = Dsl.disposeWith(this);
5812
- if (!this.editorModel) {
5813
- lang$1.illegalState("editorModel is required");
5814
- }
5815
- when(this.editorModel.editing).becomesTruthy(() => {
5816
- this.editCommand.execute();
5817
- }, { asLongAs: this.editCommand.enabled });
5818
- when(this.editorModel.editing).becomesFalsey(() => this.cancelEdit());
5819
- this.empty = valueOf.any(chain.stringValue(this.editorModel.valueModel).isBlank()
5820
- // deviceDescription.isNil()
5821
- ).areTruthy();
5822
- this.displayValue = chain(this.editorModel.valueModel).map(v => {
5823
- return _.isEmpty(v) ? this.placeHolderModel.value : v;
5824
- }, { dependsOn: this.placeHolderModel, allowNil: true });
5825
- }
5826
- createInputActivityData() {
5827
- const self = this;
5828
- return {
5829
- initialValue: self.editorModel.valueModel.value,
5830
- buttonStyle: { confirm: self.saveFace.value, cancel: self.cancelFace.value },
5831
- placeholder: self.placeHolderModel.value,
5832
- label: self.label,
5833
- layout: InputActivity.Layout.INLINE,
5834
- validators: self.editorModel.validators.value,
5835
- save(value, inputContext) {
5836
- return __awaiter(this, void 0, void 0, function* () {
5837
- yield self.editorModel.saveCallback(value, inputContext);
5838
- });
5839
- }
5840
- };
5841
- }
5842
- cancelEdit() {
5843
- if (this.isEditing()) {
5844
- this.interactionContext.cancelActiveActivity();
5845
- }
5846
- }
5847
- startEdit() {
5848
- if (!this.isEditing() && this.editCommand.enabled.value) {
5849
- this.editCommand.execute();
5850
- }
5851
- }
5852
- isEditing() {
5853
- return this.interactionContext.isActive();
5854
- }
5855
- isEmpty() {
5856
- return this.empty.value;
5857
- }
5858
- }
5859
- InlineStringEditorComponent.decorators = [
5860
- { type: Component, args: [{
5861
- selector: 'aup-inline-string-editor',
5862
- template: "<ng-container *ngIf=\"!editorModel.isEditing()\">\n <div class=\"content\" [class.editable]=\"editCommand.enabled.value\">\n <label>{{label}}</label>\n <p [class.place-holder]=\"empty.value\" (click)=\"editCommand.execute()\">{{displayValue.value}}</p>\n <aup-command *ngIf=\"editCommand.enabled.value\" [command]=\"editCommand\" [faceModel]=\"editFaceModel\"></aup-command>\n </div>\n</ng-container>\n<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n\n"
5863
- },] }
5864
- ];
5865
- InlineStringEditorComponent.ctorParameters = () => [
5866
- { type: InteractionService }
5867
- ];
5868
- InlineStringEditorComponent.propDecorators = {
5869
- editorModel: [{ type: Input }],
5870
- facesModel: [{ type: Input }],
5871
- faces: [{ type: Input }],
5872
- interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent,] }],
5873
- label: [{ type: Input }],
5874
- placeHolder: [{ type: Input }],
5875
- placeHolderModel: [{ type: Input }]
5504
+ interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
5876
5505
  };
5877
- __decorate([
5878
- TrackExternal(),
5879
- __metadata("design:type", InlineEditorModel)
5880
- ], InlineStringEditorComponent.prototype, "editorModel", void 0);
5881
- __decorate([
5882
- TrackExternal(),
5883
- __metadata("design:type", ValueModel)
5884
- ], InlineStringEditorComponent.prototype, "facesModel", void 0);
5885
- __decorate([
5886
- StoreInValueModel('facesModel'),
5887
- __metadata("design:type", Object)
5888
- ], InlineStringEditorComponent.prototype, "faces", void 0);
5889
- __decorate([
5890
- StoreInValueModel('placeHolderModel'),
5891
- __metadata("design:type", String)
5892
- ], InlineStringEditorComponent.prototype, "placeHolder", void 0);
5893
- __decorate([
5894
- TrackExternal(),
5895
- __metadata("design:type", ValueModel)
5896
- ], InlineStringEditorComponent.prototype, "placeHolderModel", void 0);
5897
- (function (InlineStringEditorComponent) {
5898
- InlineStringEditorComponent.DEFAULT_FACES = {
5899
- edit: {
5900
- icon: () => 'mat:edit'
5901
- },
5902
- save: {
5903
- icon: () => 'mat:check'
5904
- },
5905
- cancel: {
5906
- icon: () => 'mat:clear'
5907
- }
5908
- };
5909
- })(InlineStringEditorComponent || (InlineStringEditorComponent = {}));
5910
5506
 
5911
5507
  class InteractionModule {
5912
5508
  }
@@ -5937,7 +5533,7 @@ InteractionModule.decorators = [
5937
5533
  PopupInteractionContextComponent,
5938
5534
  StringInputActivity,
5939
5535
  SelectInputActivity,
5940
- InputActivity,
5536
+ AbstractInputActivity,
5941
5537
  InteractionContextTriggerFor,
5942
5538
  Activity,
5943
5539
  ActivityTitleComponent,
@@ -5946,9 +5542,7 @@ InteractionModule.decorators = [
5946
5542
  AbstractActivityTriggerComponent,
5947
5543
  PopupActivityTriggerComponent,
5948
5544
  InlineActivityTriggerComponent,
5949
- ModalActivityTriggerComponent,
5950
- AddCardActivityComponent,
5951
- InlineStringEditorComponent,
5545
+ ModalActivityTriggerComponent
5952
5546
  ],
5953
5547
  exports: [
5954
5548
  ActivityContainerComponent,
@@ -5964,9 +5558,7 @@ InteractionModule.decorators = [
5964
5558
  ActivityBodyComponent,
5965
5559
  PopupActivityTriggerComponent,
5966
5560
  InlineActivityTriggerComponent,
5967
- ModalActivityTriggerComponent,
5968
- AddCardActivityComponent,
5969
- InlineStringEditorComponent,
5561
+ ModalActivityTriggerComponent
5970
5562
  ],
5971
5563
  entryComponents: [
5972
5564
  ActivityContainerComponent,
@@ -7427,7 +7019,6 @@ class UrlSnapshot {
7427
7019
  this.url = url;
7428
7020
  this.urlTree = urlSerializer.parse(url);
7429
7021
  }
7430
- // @Trace()
7431
7022
  updateVisitSegments(visit) {
7432
7023
  const newUrlTree = this.urlSerializer.parse(this.url);
7433
7024
  // Ugly, but it works for now.
@@ -7504,6 +7095,12 @@ class UrlSnapshot {
7504
7095
  return `UrlSnapshot(${this.url})`;
7505
7096
  }
7506
7097
  }
7098
+ __decorate([
7099
+ Trace(),
7100
+ __metadata("design:type", Function),
7101
+ __metadata("design:paramtypes", [Visit]),
7102
+ __metadata("design:returntype", UrlSnapshot)
7103
+ ], UrlSnapshot.prototype, "updateVisitSegments", null);
7507
7104
  __decorate([
7508
7105
  Memoize(),
7509
7106
  __metadata("design:type", Function),
@@ -7845,7 +7442,6 @@ class PlaceRouter extends GarbageCollector {
7845
7442
  * to be able to capture the back button on the first page. If we don't then the back click will exit
7846
7443
  * the app directly and we don't get to ask.
7847
7444
  */
7848
- // @Trace()
7849
7445
  syncInteractionContextIdsWithRouter() {
7850
7446
  if (this.navigationSession) {
7851
7447
  // console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
@@ -7887,6 +7483,12 @@ PlaceRouter.ctorParameters = () => [
7887
7483
  { type: UrlService },
7888
7484
  { type: PlaceHistory }
7889
7485
  ];
7486
+ __decorate([
7487
+ Trace(),
7488
+ __metadata("design:type", Function),
7489
+ __metadata("design:paramtypes", []),
7490
+ __metadata("design:returntype", Promise)
7491
+ ], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
7890
7492
  (function (PlaceRouter) {
7891
7493
  class State {
7892
7494
  constructor(activeVisits) {
@@ -8903,5 +8505,5 @@ VisibilityService.ctorParameters = () => [
8903
8505
  * Generated bundle index. Do not edit.
8904
8506
  */
8905
8507
 
8906
- 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 };
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 };
8907
8509
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map