@coolon/angular-ui-powerups 12.4.0-alpha.78 → 12.4.0-alpha.8

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 (542) hide show
  1. package/assets/activities.scss +70 -0
  2. package/assets/form.scss +2 -10
  3. package/assets/interaction.scss +7 -10
  4. package/assets/mixins.scss +7 -5
  5. package/assets/styles.scss +15 -11
  6. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +336 -741
  7. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  8. package/bundles/coolon-angular-ui-powerups.umd.js +422 -1387
  9. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  10. package/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/cypress/components/aup-command-face.d.ts +8 -2
  12. package/cypress/components/aup-command.d.ts +1 -2
  13. package/cypress/components/aup-empty-state.d.ts +2 -1
  14. package/cypress/components/aup-input.d.ts +5 -11
  15. package/cypress/components/aup-more-menu.d.ts +4 -0
  16. package/cypress/components/aup-popup-menu.d.ts +7 -0
  17. package/cypress/components/aup-table.d.ts +18 -5
  18. package/cypress/components/button-mixin.d.ts +19 -0
  19. package/cypress/components/button.d.ts +7 -11
  20. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  21. package/cypress/exports.d.ts +4 -24
  22. package/cypress/package.json +1 -1
  23. package/cypress/page-element.d.ts +12 -12
  24. package/cypress/page.d.ts +34 -8
  25. package/cypress/section.d.ts +55 -0
  26. package/esm2015/cypress/components/aup-command-face.js +22 -11
  27. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  28. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  29. package/esm2015/cypress/components/aup-command.js +6 -12
  30. package/esm2015/cypress/components/aup-command.js.map +1 -1
  31. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  32. package/esm2015/cypress/components/aup-empty-state.js +2 -2
  33. package/esm2015/cypress/components/aup-empty-state.js.map +1 -1
  34. package/esm2015/cypress/components/aup-empty-state.metadata.json +1 -1
  35. package/esm2015/cypress/components/aup-input.js +5 -17
  36. package/esm2015/cypress/components/aup-input.js.map +1 -1
  37. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  38. package/esm2015/cypress/components/aup-more-menu.js +7 -0
  39. package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
  40. package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
  41. package/esm2015/cypress/components/aup-navigation.js +1 -1
  42. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  43. package/esm2015/cypress/components/aup-popup-menu.js +19 -0
  44. package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
  45. package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
  46. package/esm2015/cypress/components/aup-table.js +33 -5
  47. package/esm2015/cypress/components/aup-table.js.map +1 -1
  48. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  49. package/esm2015/cypress/components/button-mixin.js +15 -0
  50. package/esm2015/cypress/components/button-mixin.js.map +1 -0
  51. package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
  52. package/esm2015/cypress/components/button.js +10 -4
  53. package/esm2015/cypress/components/button.js.map +1 -1
  54. package/esm2015/cypress/components/button.metadata.json +1 -1
  55. package/esm2015/cypress/exports.js +4 -24
  56. package/esm2015/cypress/exports.js.map +1 -1
  57. package/esm2015/cypress/exports.metadata.json +1 -1
  58. package/esm2015/cypress/page-element.js +19 -26
  59. package/esm2015/cypress/page-element.js.map +1 -1
  60. package/esm2015/cypress/page-element.metadata.json +1 -1
  61. package/esm2015/cypress/page.js +19 -31
  62. package/esm2015/cypress/page.js.map +1 -1
  63. package/esm2015/cypress/page.metadata.json +1 -1
  64. package/esm2015/cypress/section.js +76 -0
  65. package/esm2015/cypress/section.js.map +1 -0
  66. package/esm2015/cypress/section.metadata.json +1 -0
  67. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  68. package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +1 -1
  69. package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
  70. package/esm2015/lib/components/card-container/card-container.component.js +84 -0
  71. package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
  72. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
  73. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
  74. 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
  75. package/esm2015/lib/components/commands/command/command.component.js +1 -1
  76. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  77. package/esm2015/lib/components/commands/command-face/command-face.component.js +1 -5
  78. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
  79. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
  80. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +1 -1
  81. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
  82. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +1 -1
  83. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -1
  84. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
  85. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
  86. package/esm2015/lib/components/components.module.js +25 -43
  87. package/esm2015/lib/components/components.module.js.map +1 -1
  88. package/esm2015/lib/components/components.module.metadata.json +1 -1
  89. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  90. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  91. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  92. package/esm2015/lib/components/exports.js +4 -8
  93. package/esm2015/lib/components/exports.js.map +1 -1
  94. package/esm2015/lib/components/exports.metadata.json +1 -1
  95. package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
  96. package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
  97. package/esm2015/lib/components/forms/abstract-input.component.js +0 -1
  98. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  99. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +1 -1
  100. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
  101. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  102. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  103. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +1 -1
  104. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  105. package/esm2015/lib/components/forms/select-input/select-input.component.js +2 -2
  106. package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
  107. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  108. package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
  109. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  110. package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
  111. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  112. package/esm2015/lib/components/icon/icon.component.js +1 -1
  113. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  114. package/esm2015/lib/components/noop/noop.component.js +1 -1
  115. package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
  116. package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
  117. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
  118. package/esm2015/lib/components/section-header/section-header.component.js +5 -12
  119. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
  120. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
  121. package/esm2015/lib/components/switch-case/switch-case.component.js +1 -1
  122. package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
  123. package/esm2015/lib/components/tables/abstract-table-model.js +20 -34
  124. package/esm2015/lib/components/tables/abstract-table-model.js.map +1 -1
  125. package/esm2015/lib/components/tables/abstract-table-model.metadata.json +1 -1
  126. package/esm2015/lib/components/tables/table/cell-portal-ref.js.map +1 -1
  127. package/esm2015/lib/components/tables/table/cell-renderer.js.map +1 -1
  128. package/esm2015/lib/components/tables/table/column-model.js +10 -35
  129. package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
  130. package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
  131. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  132. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
  133. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +12 -19
  134. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
  135. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
  136. package/esm2015/lib/components/tables/table/edit-session.js.map +1 -0
  137. package/esm2015/lib/components/tables/{edit-session.metadata.json → table/edit-session.metadata.json} +1 -1
  138. package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
  139. package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
  140. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  141. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  142. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  143. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  144. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js +2 -0
  145. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js.map +1 -1
  146. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.metadata.json +1 -1
  147. package/esm2015/lib/components/tables/table/table.component.js +13 -14
  148. package/esm2015/lib/components/tables/table/table.component.js.map +1 -1
  149. package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
  150. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  151. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  152. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  153. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
  154. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
  155. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +13 -21
  156. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +1 -1
  157. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
  158. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js +1 -1
  159. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js.map +1 -1
  160. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.metadata.json +1 -1
  161. package/esm2015/lib/components/tables/tree-table/tree-node.js +2 -0
  162. package/esm2015/lib/components/tables/tree-table/tree-node.js.map +1 -0
  163. package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +1 -0
  164. package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
  165. package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
  166. package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
  167. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +2 -3
  168. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  169. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  170. package/esm2015/lib/components/tables/tree-table/visitable.class.js +26 -0
  171. package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +1 -0
  172. package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +1 -0
  173. package/esm2015/lib/components/track-by.js +0 -12
  174. package/esm2015/lib/components/track-by.js.map +1 -1
  175. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
  176. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
  177. package/esm2015/lib/directives/command.directive.js +1 -1
  178. package/esm2015/lib/directives/command.directive.js.map +1 -1
  179. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  180. package/esm2015/lib/interaction/abstract-interaction-context.js +0 -7
  181. package/esm2015/lib/interaction/abstract-interaction-context.js.map +1 -1
  182. package/esm2015/lib/interaction/abstract-interaction-context.metadata.json +1 -1
  183. package/esm2015/lib/interaction/activity.js +1 -2
  184. package/esm2015/lib/interaction/activity.js.map +1 -1
  185. package/esm2015/lib/interaction/alert.js +1 -17
  186. package/esm2015/lib/interaction/alert.js.map +1 -1
  187. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +11 -17
  188. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  189. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  190. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +3 -3
  191. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  192. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  193. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  194. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  195. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
  196. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  197. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
  198. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  199. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  200. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +2 -5
  201. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  202. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  203. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +2 -5
  204. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  205. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  206. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +2 -5
  207. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  208. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  209. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +1 -1
  210. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  211. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +14 -8
  212. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  213. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  214. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +31 -8
  215. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  216. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  217. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +26 -7
  218. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  219. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  220. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +3 -10
  221. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  222. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  223. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +43 -0
  224. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +1 -0
  225. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +1 -0
  226. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +1 -0
  227. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +2 -0
  228. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +1 -0
  229. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +1 -0
  230. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +2 -0
  231. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +1 -0
  232. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +1 -0
  233. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +3 -5
  234. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  235. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  236. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +4 -6
  237. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  238. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  239. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +1 -2
  240. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
  241. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +1 -1
  242. package/esm2015/lib/interaction/exports.js +4 -8
  243. package/esm2015/lib/interaction/exports.js.map +1 -1
  244. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  245. package/esm2015/lib/interaction/interaction-context.js.map +1 -1
  246. package/esm2015/lib/interaction/interaction.module.js +9 -29
  247. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  248. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  249. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  250. package/esm2015/lib/interaction/result.js +4 -0
  251. package/esm2015/lib/interaction/result.js.map +1 -0
  252. package/esm2015/lib/interaction/result.metadata.json +1 -0
  253. package/esm2015/lib/interaction/services/interaction.service.js +1 -1
  254. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  255. package/esm2015/lib/place/components/abstract-place-navigation.component.js +1 -1
  256. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  257. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  258. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  259. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
  260. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
  261. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  262. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  263. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
  264. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  265. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  266. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  267. package/esm2015/lib/place/guards/consolidated-param-map.js +1 -2
  268. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  269. package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
  270. package/esm2015/lib/place/guards/place.guard.js +1 -2
  271. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  272. package/esm2015/lib/place/place-component.js +4 -31
  273. package/esm2015/lib/place/place-component.js.map +1 -1
  274. package/esm2015/lib/place/place-component.metadata.json +1 -1
  275. package/esm2015/lib/place/place-router.js +14 -11
  276. package/esm2015/lib/place/place-router.js.map +1 -1
  277. package/esm2015/lib/place/place-router.metadata.json +1 -1
  278. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  279. package/esm2015/lib/place/visit.js +1 -5
  280. package/esm2015/lib/place/visit.js.map +1 -1
  281. package/esm2015/lib/place/visit.metadata.json +1 -1
  282. package/esm2015/lib/services/exports.js +0 -2
  283. package/esm2015/lib/services/exports.js.map +1 -1
  284. package/esm2015/lib/services/exports.metadata.json +1 -1
  285. package/fesm2015/coolon-angular-ui-powerups-cypress.js +244 -546
  286. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  287. package/fesm2015/coolon-angular-ui-powerups.js +354 -1177
  288. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  289. package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +9 -30
  290. package/lib/components/commands/command-face/command-face.component.d.ts +0 -1
  291. package/lib/components/exports.d.ts +4 -8
  292. package/lib/components/section-header/section-header.component.d.ts +2 -5
  293. package/lib/components/tables/abstract-table-model.d.ts +7 -10
  294. package/lib/components/tables/table/cell-portal-ref.d.ts +1 -1
  295. package/lib/components/tables/table/cell-renderer.d.ts +0 -2
  296. package/lib/components/tables/table/column-model.d.ts +5 -14
  297. package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +1 -2
  298. package/lib/components/tables/table/edit-row-controls/edit-row-controls.component.d.ts +2 -4
  299. package/lib/components/tables/{edit-session.d.ts → table/edit-session.d.ts} +3 -3
  300. package/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.d.ts +1 -1
  301. package/lib/components/tables/table/table-row-menu/table-row-menu.component.d.ts +3 -2
  302. package/lib/components/tables/table/table.component.d.ts +12 -13
  303. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
  304. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -2
  305. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -2
  306. package/lib/components/tables/tree-table/tree-node.d.ts +3 -0
  307. package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
  308. package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
  309. package/lib/components/tables/tree-table/visitable.class.d.ts +22 -0
  310. package/lib/components/track-by.d.ts +0 -9
  311. package/lib/interaction/abstract-interaction-context.d.ts +0 -1
  312. package/lib/interaction/alert.d.ts +1 -7
  313. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +3 -14
  314. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  315. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -2
  316. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
  317. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
  318. package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +7 -2
  319. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +10 -2
  320. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +9 -2
  321. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -2
  322. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +12 -0
  323. package/lib/interaction/components/input-activities/input-activity-data.d.ts +11 -0
  324. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +8 -0
  325. package/lib/interaction/components/input-activities/select-input-activity.d.ts +3 -11
  326. package/lib/interaction/components/input-activities/string-input-activity.d.ts +2 -6
  327. package/lib/interaction/exports.d.ts +4 -8
  328. package/lib/interaction/interaction-context.d.ts +0 -1
  329. package/lib/interaction/result.d.ts +8 -0
  330. package/lib/place/place-component.d.ts +1 -6
  331. package/lib/place/place-router.d.ts +2 -2
  332. package/lib/services/exports.d.ts +0 -2
  333. package/package.json +16 -17
  334. package/schematics/activity/index.js +1 -1
  335. package/schematics/activity/index.js.map +1 -1
  336. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  337. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
  338. package/schematics/aup-i18n/index.js +1 -1
  339. package/schematics/aup-i18n/index.js.map +1 -1
  340. package/schematics/component/index.js +1 -1
  341. package/schematics/component/index.js.map +1 -1
  342. package/schematics/component/templates/component/__name@dasherize__.component.ts.template +1 -1
  343. package/schematics/place-routes/place-class-scanner.js +1 -3
  344. package/schematics/place-routes/place-class-scanner.js.map +1 -1
  345. package/schematics/utils/build-context.d.ts +3 -6
  346. package/schematics/utils/build-context.js +3 -3
  347. package/schematics/utils/build-context.js.map +1 -1
  348. package/schematics/utils/workspace.d.ts +0 -1
  349. package/schematics/utils/workspace.js +3 -11
  350. package/schematics/utils/workspace.js.map +1 -1
  351. package/assets/activities/activities.scss +0 -77
  352. package/assets/activities/input-activities.scss +0 -36
  353. package/assets/cards.scss +0 -17
  354. package/assets/empty-state.scss +0 -11
  355. package/assets/forms/mixins.scss +0 -6
  356. package/assets/interaction/editor/inline-string-editor.scss +0 -54
  357. package/assets/markdown.scss +0 -10
  358. package/assets/pills.scss +0 -45
  359. package/cypress/component-builder.d.ts +0 -71
  360. package/cypress/components/aup-abstract-activity.d.ts +0 -31
  361. package/cypress/components/aup-abstract-table.d.ts +0 -18
  362. package/cypress/components/aup-activity.d.ts +0 -9
  363. package/cypress/components/aup-alert-dialog.d.ts +0 -27
  364. package/cypress/components/aup-alert.d.ts +0 -9
  365. package/cypress/components/aup-confirm-dialog.d.ts +0 -27
  366. package/cypress/components/aup-confirm.d.ts +0 -11
  367. package/cypress/components/aup-modal-activity.d.ts +0 -24
  368. package/cypress/components/aup-modal-mixin.d.ts +0 -23
  369. package/cypress/components/aup-tree-table.d.ts +0 -16
  370. package/cypress/components/form-element-mixin.d.ts +0 -22
  371. package/cypress/components/mat-checkbox.d.ts +0 -31
  372. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
  373. package/cypress/components/popup/aup-more-menu.d.ts +0 -5
  374. package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
  375. package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
  376. package/cypress/components/table/aup-table-cell.d.ts +0 -9
  377. package/cypress/components/table/aup-table-column.d.ts +0 -10
  378. package/cypress/components/table/aup-table-row.d.ts +0 -17
  379. package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
  380. package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
  381. package/cypress/element-locator.d.ts +0 -8
  382. package/cypress/page-builder.d.ts +0 -9
  383. package/esm2015/cypress/component-builder.js +0 -92
  384. package/esm2015/cypress/component-builder.js.map +0 -1
  385. package/esm2015/cypress/component-builder.metadata.json +0 -1
  386. package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
  387. package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
  388. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
  389. package/esm2015/cypress/components/aup-abstract-table.js +0 -50
  390. package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
  391. package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
  392. package/esm2015/cypress/components/aup-activity.js +0 -13
  393. package/esm2015/cypress/components/aup-activity.js.map +0 -1
  394. package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
  395. package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
  396. package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
  397. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
  398. package/esm2015/cypress/components/aup-alert.js +0 -13
  399. package/esm2015/cypress/components/aup-alert.js.map +0 -1
  400. package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
  401. package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
  402. package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
  403. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
  404. package/esm2015/cypress/components/aup-confirm.js +0 -19
  405. package/esm2015/cypress/components/aup-confirm.js.map +0 -1
  406. package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
  407. package/esm2015/cypress/components/aup-modal-activity.js +0 -5
  408. package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
  409. package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
  410. package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
  411. package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
  412. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
  413. package/esm2015/cypress/components/aup-tree-table.js +0 -34
  414. package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
  415. package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
  416. package/esm2015/cypress/components/form-element-mixin.js +0 -11
  417. package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
  418. package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
  419. package/esm2015/cypress/components/mat-checkbox.js +0 -34
  420. package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
  421. package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
  422. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
  423. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
  424. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
  425. package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
  426. package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
  427. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
  428. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
  429. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
  430. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
  431. package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
  432. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
  433. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
  434. package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
  435. package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
  436. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
  437. package/esm2015/cypress/components/table/aup-table-column.js +0 -19
  438. package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
  439. package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
  440. package/esm2015/cypress/components/table/aup-table-row.js +0 -28
  441. package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
  442. package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
  443. package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
  444. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
  445. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
  446. package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
  447. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
  448. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
  449. package/esm2015/cypress/element-locator.js +0 -16
  450. package/esm2015/cypress/element-locator.js.map +0 -1
  451. package/esm2015/cypress/element-locator.metadata.json +0 -1
  452. package/esm2015/cypress/page-builder.js +0 -16
  453. package/esm2015/cypress/page-builder.js.map +0 -1
  454. package/esm2015/cypress/page-builder.metadata.json +0 -1
  455. package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
  456. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
  457. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
  458. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
  459. package/esm2015/lib/components/cards/card-container/card-container.component.js +0 -123
  460. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
  461. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
  462. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
  463. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
  464. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -78
  465. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
  466. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
  467. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
  468. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
  469. package/esm2015/lib/components/labelled-value/labelled-value.component.js +0 -22
  470. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +0 -1
  471. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +0 -1
  472. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +0 -1
  473. package/esm2015/lib/components/loading-container/loading-container.component.js +0 -45
  474. package/esm2015/lib/components/loading-container/loading-container.component.js.map +0 -1
  475. package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +0 -1
  476. package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +0 -1
  477. package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +0 -1
  478. package/esm2015/lib/components/tables/edit-session.js.map +0 -1
  479. package/esm2015/lib/components/tables/table/text-search-predicate.js +0 -2
  480. package/esm2015/lib/components/tables/table/text-search-predicate.js.map +0 -1
  481. package/esm2015/lib/components/tables/table/text-search-predicate.metadata.json +0 -1
  482. package/esm2015/lib/components/text/markdown/markdown.component.js +0 -53
  483. package/esm2015/lib/components/text/markdown/markdown.component.js.map +0 -1
  484. package/esm2015/lib/components/text/markdown/markdown.component.metadata.json +0 -1
  485. package/esm2015/lib/components/text/markdown/markdown.component.ngfactory.js.map +0 -1
  486. package/esm2015/lib/components/text/markdown/markdown.component.scss.shim.ngstyle.js.map +0 -1
  487. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js +0 -23
  488. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.js.map +0 -1
  489. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.metadata.json +0 -1
  490. package/esm2015/lib/interaction/components/abstract-confirm-dialog.component.ngfactory.js.map +0 -1
  491. package/esm2015/lib/interaction/components/abstract-dialog.component.js +0 -52
  492. package/esm2015/lib/interaction/components/abstract-dialog.component.js.map +0 -1
  493. package/esm2015/lib/interaction/components/abstract-dialog.component.metadata.json +0 -1
  494. package/esm2015/lib/interaction/components/abstract-dialog.component.ngfactory.js.map +0 -1
  495. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -77
  496. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
  497. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
  498. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
  499. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
  500. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js +0 -30
  501. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.js.map +0 -1
  502. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.metadata.json +0 -1
  503. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.ngfactory.js.map +0 -1
  504. package/esm2015/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.scss.shim.ngstyle.js.map +0 -1
  505. package/esm2015/lib/interaction/components/editors/edit-context.js +0 -2
  506. package/esm2015/lib/interaction/components/editors/edit-context.js.map +0 -1
  507. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +0 -1
  508. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +0 -50
  509. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +0 -1
  510. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +0 -1
  511. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +0 -161
  512. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +0 -1
  513. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +0 -1
  514. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +0 -1
  515. package/esm2015/lib/interaction/components/input-activities/input-activity.js +0 -95
  516. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +0 -1
  517. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +0 -1
  518. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +0 -1
  519. package/esm2015/lib/services/markdown/markdown.service.js +0 -26
  520. package/esm2015/lib/services/markdown/markdown.service.js.map +0 -1
  521. package/esm2015/lib/services/markdown/markdown.service.metadata.json +0 -1
  522. package/esm2015/lib/services/markdown/markdown.service.ngfactory.js.map +0 -1
  523. package/esm2015/lib/services/markdown/pill-plugin.js +0 -38
  524. package/esm2015/lib/services/markdown/pill-plugin.js.map +0 -1
  525. package/esm2015/lib/services/markdown/pill-plugin.metadata.json +0 -1
  526. package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
  527. package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -65
  528. package/lib/components/labelled-value/labelled-value.component.d.ts +0 -7
  529. package/lib/components/loading-container/loading-container.component.d.ts +0 -11
  530. package/lib/components/tables/table/text-search-predicate.d.ts +0 -1
  531. package/lib/components/text/markdown/markdown.component.d.ts +0 -14
  532. package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +0 -7
  533. package/lib/interaction/components/abstract-dialog.component.d.ts +0 -17
  534. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -39
  535. package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +0 -12
  536. package/lib/interaction/components/editors/edit-context.d.ts +0 -3
  537. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +0 -24
  538. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +0 -57
  539. package/lib/interaction/components/input-activities/input-activity.d.ts +0 -41
  540. package/lib/services/markdown/markdown.service.d.ts +0 -6
  541. package/lib/services/markdown/pill-plugin.d.ts +0 -15
  542. /package/esm2015/lib/components/tables/{edit-session.js → table/edit-session.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@coolon/typescript-utilities'), require('lodash'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('@angular/router')) :
3
- typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups/cypress', ['exports', '@coolon/typescript-utilities', 'lodash', '@typescript-plus/fast-memoize-decorator/dist/src', '@angular/router'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.coolon = global.coolon || {}, global.coolon["angular-ui-powerups"] = global.coolon["angular-ui-powerups"] || {}, global.coolon["angular-ui-powerups"].cypress = {}), global.typescriptUtilities, global._, global.src, global.ng.router));
5
- })(this, (function (exports, typescriptUtilities, _, src, router) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@coolon/typescript-utilities'), require('lodash'), require('@angular/router')) :
3
+ typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups/cypress', ['exports', '@coolon/typescript-utilities', 'lodash', '@angular/router'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = global.coolon['angular-ui-powerups'] || {}, global.coolon['angular-ui-powerups'].cypress = {}), global.typescriptUtilities, global._, global.ng.router));
5
+ }(this, (function (exports, typescriptUtilities, _, router) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -13,17 +13,66 @@
13
13
  var d = Object.getOwnPropertyDescriptor(e, k);
14
14
  Object.defineProperty(n, k, d.get ? d : {
15
15
  enumerable: true,
16
- get: function () { return e[k]; }
16
+ get: function () {
17
+ return e[k];
18
+ }
17
19
  });
18
20
  }
19
21
  });
20
22
  }
21
- n["default"] = e;
23
+ n['default'] = e;
22
24
  return Object.freeze(n);
23
25
  }
24
26
 
25
27
  var ___namespace = /*#__PURE__*/_interopNamespace(_);
26
28
 
29
+ var PageElement = /** @class */ (function () {
30
+ function PageElement(parent, selector) {
31
+ this.parentElementAccessor = parent instanceof PageElement ? function () { return parent.element(); } : parent;
32
+ this.elementAccessStrategy = ___namespace.isString(selector) ? {
33
+ findIn: function (p) { return p.find(selector); },
34
+ shouldNotExist: function (p) { return p.find(selector).should('not.exist'); }
35
+ } : selector;
36
+ }
37
+ PageElement.prototype.element = function () {
38
+ var parent = this.getParentElement();
39
+ return parent ? this.elementAccessStrategy.findIn(parent) : undefined;
40
+ };
41
+ PageElement.prototype.getParentElement = function () {
42
+ return this.parentElementAccessor ? this.parentElementAccessor() : undefined;
43
+ };
44
+ PageElement.prototype.find = function (selector) {
45
+ var _this = this;
46
+ return new PageElement(function () { return _this.element(); }, selector);
47
+ };
48
+ PageElement.prototype.click = function (text) {
49
+ text ? this.element().contains(text).click() : this.element().click();
50
+ };
51
+ Object.defineProperty(PageElement.prototype, "should", {
52
+ get: function () {
53
+ return this.getShoulder(this.getShouldElement());
54
+ },
55
+ enumerable: false,
56
+ configurable: true
57
+ });
58
+ PageElement.prototype.getShoulder = function (element) {
59
+ return element.should.bind(element);
60
+ };
61
+ PageElement.prototype.getShouldElement = function () {
62
+ return this.element();
63
+ };
64
+ PageElement.prototype.shouldBeVisible = function () {
65
+ this.should('be.visible');
66
+ };
67
+ PageElement.prototype.shouldNotBeVisible = function () {
68
+ if (!this.elementAccessStrategy.shouldNotExist) {
69
+ typescriptUtilities.lang.abstractMethod(this.constructor);
70
+ }
71
+ this.elementAccessStrategy.shouldNotExist(this.getParentElement());
72
+ };
73
+ return PageElement;
74
+ }());
75
+
27
76
  /*! *****************************************************************************
28
77
  Copyright (c) Microsoft Corporation.
29
78
 
@@ -250,16 +299,10 @@
250
299
  r[k] = a[j];
251
300
  return r;
252
301
  }
253
- function __spreadArray(to, from, pack) {
254
- if (pack || arguments.length === 2)
255
- for (var i = 0, l = from.length, ar; i < l; i++) {
256
- if (ar || !(i in from)) {
257
- if (!ar)
258
- ar = Array.prototype.slice.call(from, 0, i);
259
- ar[i] = from[i];
260
- }
261
- }
262
- return to.concat(ar || Array.prototype.slice.call(from));
302
+ function __spreadArray(to, from) {
303
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
304
+ to[j] = from[i];
305
+ return to;
263
306
  }
264
307
  function __await(v) {
265
308
  return this instanceof __await ? (this.v = v, this) : new __await(v);
@@ -342,104 +385,114 @@
342
385
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
343
386
  }
344
387
 
345
- exports.ElementLocator = void 0;
346
- (function (ElementLocator) {
347
- function findByCssSelector(selector) {
348
- return function (parent) { return parent.dom().find(selector); };
349
- }
350
- ElementLocator.findByCssSelector = findByCssSelector;
351
- function findByTextContent(text) {
352
- return function (parent) { return parent.dom().contains(text); };
353
- }
354
- ElementLocator.findByTextContent = findByTextContent;
355
- function findBySelectorAndTextContent(selector, text) {
356
- return function (parent) { return parent.dom().contains(selector, text); };
357
- }
358
- ElementLocator.findBySelectorAndTextContent = findBySelectorAndTextContent;
359
- })(exports.ElementLocator || (exports.ElementLocator = {}));
360
-
361
- var PageElement = /** @class */ (function () {
362
- function PageElement(parent, selectorOrLocator) {
363
- this.parent = parent;
364
- this.domElementLocator = ___namespace.isNil(selectorOrLocator) ?
365
- this.getDefaultElementLocator() :
366
- ___namespace.isString(selectorOrLocator) ?
367
- exports.ElementLocator.findByCssSelector(selectorOrLocator) :
368
- selectorOrLocator;
388
+ var urlSerialiser = new router.DefaultUrlSerializer();
389
+ exports.Path = /** @class */ (function () {
390
+ function Path(segments) {
391
+ this.segments = segments;
369
392
  }
370
- PageElement.prototype.getDefaultElementLocator = function () {
371
- return exports.ElementLocator.findByCssSelector(this.getDefaultElementSelector());
372
- };
373
- PageElement.prototype.getDefaultElementSelector = function () {
374
- return typescriptUtilities.Stringy.from(this.constructor.name).dasherize().toString();
375
- };
376
- PageElement.prototype.dom = function () {
377
- return this.domElementLocator(this.parent);
378
- };
379
- PageElement.prototype.find = function (selector) {
380
- return new PageElement(this, selector);
381
- };
382
- PageElement.prototype.click = function (text) {
383
- text ? this.dom().contains(text).click() : this.dom().click();
384
- };
385
- Object.defineProperty(PageElement.prototype, "should", {
386
- get: function () {
387
- return this.getShoulder(this.getShouldElement());
388
- },
389
- enumerable: false,
390
- configurable: true
391
- });
392
- PageElement.prototype.getShoulder = function (element) {
393
- return element.should.bind(element);
394
- };
395
- PageElement.prototype.getShouldElement = function () {
396
- return this.dom();
397
- };
398
- PageElement.prototype.shouldBeVisible = function () {
399
- this.should('be.visible');
400
- };
401
- PageElement.prototype.shouldNotBeVisible = function () {
402
- this.should('not.be.visible');
403
- };
404
- PageElement.prototype.shouldExist = function () {
405
- this.dom().should('exist');
393
+ Path.extractVisitParameters = function (url) {
394
+ var _a, _b;
395
+ var result = {};
396
+ var urlTree = urlSerialiser.parse(url);
397
+ var urlSegments = (_b = (_a = urlTree.root.children.primary) === null || _a === void 0 ? void 0 : _a.segments) !== null && _b !== void 0 ? _b : [];
398
+ urlSegments === null || urlSegments === void 0 ? void 0 : urlSegments.forEach(function (s) {
399
+ result = Object.assign(Object.assign({}, result), s.parameters);
400
+ });
401
+ return result;
406
402
  };
407
- PageElement.prototype.shouldNotExist = function () {
408
- this.dom().should('not.exist');
403
+ Path.prototype.toUrl = function (matrixParams) {
404
+ return this.segments.map(function (s) { return s.toUrlPart(matrixParams); }).join('/');
409
405
  };
410
- return PageElement;
406
+ return Path;
411
407
  }());
408
+ (function (Path) {
409
+ function setUrlSerialiser(serialiser) {
410
+ urlSerialiser = serialiser;
411
+ }
412
+ Path.setUrlSerialiser = setUrlSerialiser;
413
+ var Segment = /** @class */ (function () {
414
+ function Segment(path, params) {
415
+ if (params === void 0) { params = {}; }
416
+ var _a;
417
+ this.path = path;
418
+ this.routeId = params === null || params === void 0 ? void 0 : params.routeId;
419
+ this.visitParams = (_a = params === null || params === void 0 ? void 0 : params.visitParams) !== null && _a !== void 0 ? _a : [];
420
+ }
421
+ Segment.prototype.toUrlPart = function (params) {
422
+ var path = this.path;
423
+ this.visitParams.forEach(function (p) {
424
+ var value = params[p];
425
+ if (value) {
426
+ path = path + ";" + p + "=" + value;
427
+ }
428
+ });
429
+ if (this.routeId && params[this.routeId]) {
430
+ path = path + '/' + params[this.routeId];
431
+ }
432
+ return path;
433
+ };
434
+ return Segment;
435
+ }());
436
+ Path.Segment = Segment;
437
+ var Builder = /** @class */ (function () {
438
+ function Builder() {
439
+ this.segments = [];
440
+ }
441
+ Builder.prototype.segment = function (name, params) {
442
+ var builder = new Segment(name, params);
443
+ this.segments.push(builder);
444
+ return this;
445
+ };
446
+ Builder.prototype.getPath = function () {
447
+ return new Path(this.segments);
448
+ };
449
+ return Builder;
450
+ }());
451
+ Path.Builder = Builder;
452
+ })(exports.Path || (exports.Path = {}));
412
453
 
454
+ var FaceAccessor = /** @class */ (function () {
455
+ function FaceAccessor(face) {
456
+ this.face = face;
457
+ }
458
+ FaceAccessor.prototype.findIn = function (parent) {
459
+ return this.face.text ?
460
+ parent.contains("aup-command-face", this.face.text()) :
461
+ this.face.icon ?
462
+ parent.find("aup-icon[ng-reflect-icon=" + this.face.icon() + "]").closest('aup-command-face') :
463
+ undefined;
464
+ };
465
+ FaceAccessor.prototype.shouldNotExist = function (parent) {
466
+ return this.face.text ?
467
+ parent.should('not.contain', "aup-command-face", this.face.text()) :
468
+ this.face.icon ?
469
+ parent.should('not.contain', "aup-icon[ng-reflect-icon=" + this.face.icon() + "]") :
470
+ undefined;
471
+ };
472
+ return FaceAccessor;
473
+ }());
413
474
  var AupCommandFace = /** @class */ (function (_super) {
414
475
  __extends(AupCommandFace, _super);
415
476
  function AupCommandFace(parentElement, face) {
416
- return _super.call(this, parentElement, AupCommandFace.createElementLocator(face)) || this;
477
+ return _super.call(this, function () { return parentElement.element(); }, AupCommandFace.createAccessor(face)) || this;
417
478
  }
418
- AupCommandFace.createElementLocator = function (face) {
419
- var locator = function (parent) {
420
- return face.text ?
421
- parent.dom().contains("aup-command-face", face.text()) :
422
- face.icon ?
423
- parent.dom().find("aup-icon[ng-reflect-icon=" + face.icon() + "]").closest('aup-command-face') :
424
- undefined;
425
- };
426
- // aot compiler doesn't like lambas
427
- return locator;
479
+ AupCommandFace.createAccessor = function (face) {
480
+ return new FaceAccessor(face);
428
481
  };
429
482
  return AupCommandFace;
430
483
  }(PageElement));
431
484
 
432
485
  var AupCommand = /** @class */ (function (_super) {
433
486
  __extends(AupCommand, _super);
434
- function AupCommand(parent, faceOrSelector) {
435
- return _super.call(this, parent, function (parentElement) {
436
- if (___namespace.isString(faceOrSelector)) {
437
- return parentElement.dom().find(faceOrSelector);
438
- }
439
- else {
440
- return AupCommandFace.createElementLocator(faceOrSelector)(parentElement).closest('aup-command');
487
+ function AupCommand(parent, face) {
488
+ var _this = this;
489
+ var faceAccessor = AupCommandFace.createAccessor(face);
490
+ _this = _super.call(this, parent, {
491
+ findIn: function (parentElement) {
492
+ return faceAccessor.findIn(parentElement).closest('aup-command');
441
493
  }
442
494
  }) || this;
495
+ return _this;
443
496
  }
444
497
  AupCommand.prototype.click = function () {
445
498
  this.getButton().click();
@@ -450,23 +503,17 @@
450
503
  AupCommand.prototype.shouldBeDisabled = function () {
451
504
  this.getButton().should('be.disabled');
452
505
  };
453
- AupCommand.prototype.shouldBeEnabled = function () {
454
- this.getButton().should('not.be.disabled');
455
- };
456
506
  AupCommand.prototype.getButton = function () {
457
- return this.dom().find('button');
507
+ return this.element().find('button');
458
508
  };
459
509
  return AupCommand;
460
510
  }(PageElement));
461
511
 
462
512
  var AupEmptyState = /** @class */ (function (_super) {
463
513
  __extends(AupEmptyState, _super);
464
- function AupEmptyState() {
465
- return _super !== null && _super.apply(this, arguments) || this;
514
+ function AupEmptyState(parent, selector) {
515
+ return _super.call(this, parent, selector !== null && selector !== void 0 ? selector : 'aup-empty-state') || this;
466
516
  }
467
- AupEmptyState.prototype.shouldContainText = function (text) {
468
- this.dom().should("contain.text", text);
469
- };
470
517
  return AupEmptyState;
471
518
  }(PageElement));
472
519
 
@@ -476,13 +523,13 @@
476
523
  return _super !== null && _super.apply(this, arguments) || this;
477
524
  }
478
525
  AupInput.prototype.label = function () {
479
- return this.dom().find('label');
526
+ return this.element().find('label');
480
527
  };
481
528
  AupInput.prototype.hint = function () {
482
- return this.dom().find('mat-hint');
529
+ return this.element().find('mat-hint');
483
530
  };
484
531
  AupInput.prototype.error = function () {
485
- return this.dom().find('mat-error');
532
+ return this.element().find('mat-error');
486
533
  };
487
534
  Object.defineProperty(AupInput.prototype, "labelShould", {
488
535
  get: function () {
@@ -514,18 +561,6 @@
514
561
  AupInput.prototype.errorShouldBe = function (text) {
515
562
  return this.errorShould("have.text", text);
516
563
  };
517
- AupInput.prototype.shouldBeFocused = function () {
518
- this.input().should("have.focus");
519
- };
520
- AupInput.prototype.shouldNotBeFocused = function () {
521
- this.input().should("not.have.focus");
522
- };
523
- AupInput.prototype.type = function (characters) {
524
- this.input().type(characters);
525
- };
526
- AupInput.prototype.hitEnter = function () {
527
- this.type("{enter}");
528
- };
529
564
  return AupInput;
530
565
  }(PageElement));
531
566
  (function (AupInput) {
@@ -535,7 +570,7 @@
535
570
  return _super !== null && _super.apply(this, arguments) || this;
536
571
  }
537
572
  HtmlInput.prototype.input = function () {
538
- return this.dom().find('input');
573
+ return this.element().find('input');
539
574
  };
540
575
  HtmlInput.prototype.clear = function () {
541
576
  this.input().clear();
@@ -561,7 +596,7 @@
561
596
  return this.input();
562
597
  };
563
598
  TextAreaInput.prototype.input = function () {
564
- return this.dom().find('textarea');
599
+ return this.element().find('textarea');
565
600
  };
566
601
  TextAreaInput.prototype.clear = function () {
567
602
  this.input().clear();
@@ -577,59 +612,6 @@
577
612
  AupInput.TextAreaInput = TextAreaInput;
578
613
  })(exports.AupInput || (exports.AupInput = {}));
579
614
 
580
- var AupPopupMenuPanel = /** @class */ (function (_super) {
581
- __extends(AupPopupMenuPanel, _super);
582
- function AupPopupMenuPanel() {
583
- return _super !== null && _super.apply(this, arguments) || this;
584
- }
585
- return AupPopupMenuPanel;
586
- }(PageElement));
587
-
588
- var AupAbstractPopupMenu = /** @class */ (function (_super) {
589
- __extends(AupAbstractPopupMenu, _super);
590
- function AupAbstractPopupMenu(parent, locator) {
591
- var _this = _super.call(this, parent, locator) || this;
592
- _this.popup = new AupPopupMenuPanel(_this, function (p) { return _this.findPopupIn(p); });
593
- return _this;
594
- }
595
- AupAbstractPopupMenu.prototype.findPopupIn = function (p) {
596
- return this.getOverlay().find('.mat-menu-panel');
597
- };
598
- AupAbstractPopupMenu.prototype.getOverlay = function () {
599
- return this.dom().closest('body').find('.cdk-overlay-container');
600
- };
601
- AupAbstractPopupMenu.prototype.getBackdrop = function () {
602
- return this.getOverlay().find('.cdk-overlay-backdrop');
603
- };
604
- AupAbstractPopupMenu.prototype.openPopup = function () {
605
- this.shouldNotBeOpen();
606
- this.click();
607
- return this.popup;
608
- };
609
- AupAbstractPopupMenu.prototype.closePopup = function () {
610
- this.shouldBeOpen();
611
- this.getBackdrop().click();
612
- };
613
- AupAbstractPopupMenu.prototype.shouldBeOpen = function () {
614
- this.popup.shouldBeVisible();
615
- };
616
- AupAbstractPopupMenu.prototype.shouldNotBeOpen = function () {
617
- this.dom().closest('body').find('.mat-menu-panel').should("not.exist");
618
- };
619
- return AupAbstractPopupMenu;
620
- }(PageElement));
621
-
622
- var AupMoreMenu = /** @class */ (function (_super) {
623
- __extends(AupMoreMenu, _super);
624
- function AupMoreMenu() {
625
- return _super !== null && _super.apply(this, arguments) || this;
626
- }
627
- AupMoreMenu.create = function (parent, selector) {
628
- return new AupMoreMenu(parent, exports.ElementLocator.findByCssSelector(selector !== null && selector !== void 0 ? selector : 'aup-more-menu'));
629
- };
630
- return AupMoreMenu;
631
- }(AupAbstractPopupMenu));
632
-
633
615
  var AupNavigation = /** @class */ (function (_super) {
634
616
  __extends(AupNavigation, _super);
635
617
  function AupNavigation() {
@@ -645,197 +627,61 @@
645
627
  this.face(label).shouldBeVisible();
646
628
  };
647
629
  AupNavigation.prototype.shouldNotHaveLink = function (label) {
648
- this.face(label).shouldNotExist();
630
+ this.face(label).shouldNotBeVisible();
649
631
  };
650
632
  return AupNavigation;
651
633
  }(PageElement));
652
634
 
653
- var AupTableCell = /** @class */ (function (_super) {
654
- __extends(AupTableCell, _super);
655
- function AupTableCell() {
656
- return _super !== null && _super.apply(this, arguments) || this;
657
- }
658
- AupTableCell.prototype.rowId = function () {
659
- return this.dom().closest('tr').invoke('attr', 'aup-row-id');
660
- };
661
- AupTableCell.prototype.row = function () {
662
- var self = this;
663
- return this.parent.createRow(function (parent) {
664
- return self.rowId().then(function (rowId) { return parent.dom().find(exports.AupAbstractTable.cssSelectorForTableRowById(rowId)); });
665
- });
666
- };
667
- return AupTableCell;
668
- }(PageElement));
669
-
670
- var AupTableColumn = /** @class */ (function (_super) {
671
- __extends(AupTableColumn, _super);
672
- function AupTableColumn(table, columnId) {
673
- var _this = _super.call(this, table, exports.AupAbstractTable.cssSelectorForColumnCellRendererById(columnId)) || this;
674
- _this.columnId = columnId;
675
- return _this;
676
- }
677
- AupTableColumn.prototype.cellContaining = function (content) {
678
- var self = this;
679
- return new AupTableCell(this.parent, function (parent) {
680
- return parent.dom().contains(exports.AupAbstractTable.cssSelectorForColumnCellRendererById(self.columnId), content);
681
- });
682
- };
683
- AupTableColumn.prototype.rowContaining = function (content) {
684
- return this.cellContaining(content).row();
685
- };
686
- return AupTableColumn;
687
- }(PageElement));
688
-
689
- var AupTableSelectionColumn = /** @class */ (function (_super) {
690
- __extends(AupTableSelectionColumn, _super);
691
- function AupTableSelectionColumn() {
692
- return _super !== null && _super.apply(this, arguments) || this;
693
- }
694
- AupTableSelectionColumn.prototype.selectAll = function () {
695
- };
696
- return AupTableSelectionColumn;
697
- }(AupTableColumn));
698
-
699
- exports.AupAbstractTable = /** @class */ (function (_super) {
700
- __extends(AupAbstractTable, _super);
701
- function AupAbstractTable() {
702
- return _super !== null && _super.apply(this, arguments) || this;
703
- }
704
- AupAbstractTable.prototype.row = function (rowId) {
705
- return this.createRow(function (parent) {
706
- return parent.dom().find(AupAbstractTable.cssSelectorForTableRowById(rowId));
707
- });
708
- };
709
- AupAbstractTable.prototype.rowNumber = function (rowNumber) {
710
- return this.createRow(function (parent) {
711
- return parent.dom().find(AupAbstractTable.cssSelectorForNthTableRow(rowNumber));
712
- });
713
- };
714
- AupAbstractTable.prototype.column = function (columnId) {
715
- return new AupTableColumn(this, columnId);
716
- };
717
- Object.defineProperty(AupAbstractTable.prototype, "selectionColumn", {
718
- get: function () {
719
- return new AupTableSelectionColumn(this, 'selection-column');
720
- },
721
- enumerable: false,
722
- configurable: true
723
- });
724
- return AupAbstractTable;
725
- }(PageElement));
726
- __decorate([
727
- src.Memoize(),
728
- __metadata("design:type", AupTableSelectionColumn),
729
- __metadata("design:paramtypes", [])
730
- ], exports.AupAbstractTable.prototype, "selectionColumn", null);
731
- (function (AupAbstractTable) {
732
- function cssSelectorForTableRowById(rowId) {
733
- return "tbody tr[aup-row-id=" + rowId + "]";
734
- }
735
- AupAbstractTable.cssSelectorForTableRowById = cssSelectorForTableRowById;
736
- function cssSelectorForNthTableRow(rowNumber) {
737
- return "tbody tr:nth-child(" + rowNumber + ")";
738
- }
739
- AupAbstractTable.cssSelectorForNthTableRow = cssSelectorForNthTableRow;
740
- function cssSelectorForColumnCellRendererById(columnOrId) {
741
- var columnId = ___namespace.isString(columnOrId) ? columnOrId : columnOrId.columnId;
742
- return "aup-table-cell-renderer[column-id=" + columnId + "]";
743
- }
744
- AupAbstractTable.cssSelectorForColumnCellRendererById = cssSelectorForColumnCellRendererById;
745
- function cssSelectorForCell(rowId, columnOrId) {
746
- return cssSelectorForTableRowById(rowId) + " " + cssSelectorForColumnCellRendererById(columnOrId);
747
- }
748
- AupAbstractTable.cssSelectorForCell = cssSelectorForCell;
749
- })(exports.AupAbstractTable || (exports.AupAbstractTable = {}));
750
-
751
- var AupTableRow = /** @class */ (function (_super) {
752
- __extends(AupTableRow, _super);
753
- function AupTableRow() {
754
- return _super !== null && _super.apply(this, arguments) || this;
755
- }
756
- AupTableRow.prototype.rowId = function () {
757
- return this.dom()
758
- .invoke('attr', 'aup-row-id');
759
- };
760
- AupTableRow.prototype.shouldHaveRowId = function (rowId) {
761
- this.rowId().should('eq', rowId);
762
- };
763
- AupTableRow.prototype.cell = function (columnOrId) {
764
- var self = this;
765
- return new AupTableCell(this.parent, function (parent) {
766
- return self.rowId()
767
- .then(function (rowId) { return exports.AupAbstractTable.cssSelectorForCell(rowId, columnOrId); })
768
- .then(function (selector) { return parent.dom().find(selector); });
769
- });
770
- };
771
- AupTableRow.prototype.shouldBeSelected = function () {
772
- this.dom().should('have.class', 'aup-row-selected');
773
- };
774
- AupTableRow.prototype.shouldNotBeSelected = function () {
775
- this.dom().should('not.have.class', 'aup-row-selected');
776
- };
777
- return AupTableRow;
778
- }(PageElement));
779
-
780
- var AupTable = /** @class */ (function (_super) {
635
+ exports.AupTable = /** @class */ (function (_super) {
781
636
  __extends(AupTable, _super);
782
- function AupTable() {
783
- return _super !== null && _super.apply(this, arguments) || this;
637
+ function AupTable(parentElementAccessor, selector) {
638
+ return _super.call(this, parentElementAccessor, selector) || this;
784
639
  }
785
- AupTable.prototype.createRow = function (locator) {
786
- return new AupTableRow(this, locator);
640
+ AupTable.prototype.row = function (rowId) {
641
+ var _this = this;
642
+ return new AupTable.Row(function () { return _this.element(); }, "tr[aup-table-id=" + rowId + "]");
787
643
  };
788
- return AupTable;
789
- }(exports.AupAbstractTable));
790
-
791
- exports.AupTreeTable = /** @class */ (function (_super) {
792
- __extends(AupTreeTable, _super);
793
- function AupTreeTable() {
794
- return _super !== null && _super.apply(this, arguments) || this;
795
- }
796
- Object.defineProperty(AupTreeTable.prototype, "treeControlColumn", {
797
- get: function () {
798
- return new AupTreeTable.TreeControlColumn(this, 'tree-label');
799
- },
800
- enumerable: false,
801
- configurable: true
802
- });
803
- AupTreeTable.prototype.createRow = function (locator) {
804
- return new AupTreeTable.Row(this, locator);
644
+ AupTable.prototype.column = function (columnId) {
645
+ return new AupTable.Column(this, columnId);
805
646
  };
806
- return AupTreeTable;
807
- }(exports.AupAbstractTable));
808
- __decorate([
809
- src.Memoize(),
810
- __metadata("design:type", exports.AupTreeTable.TreeControlColumn),
811
- __metadata("design:paramtypes", [])
812
- ], exports.AupTreeTable.prototype, "treeControlColumn", null);
813
- (function (AupTreeTable) {
647
+ return AupTable;
648
+ }(PageElement));
649
+ (function (AupTable) {
814
650
  var Row = /** @class */ (function (_super) {
815
651
  __extends(Row, _super);
816
652
  function Row() {
817
653
  return _super !== null && _super.apply(this, arguments) || this;
818
654
  }
819
- Row.prototype.shouldBeExpanded = function () {
820
- this.dom().should("not.have.class", "aup-node-collapsed");
821
- };
822
- Row.prototype.shouldBeCollapsed = function () {
823
- this.dom().should("have.class", "aup-node-collapsed");
824
- };
825
655
  return Row;
826
- }(AupTableRow));
827
- AupTreeTable.Row = Row;
828
- var TreeControlColumn = /** @class */ (function (_super) {
829
- __extends(TreeControlColumn, _super);
830
- function TreeControlColumn() {
656
+ }(PageElement));
657
+ AupTable.Row = Row;
658
+ var Column = /** @class */ (function () {
659
+ function Column(table, columnId) {
660
+ this.table = table;
661
+ this.columnId = columnId;
662
+ }
663
+ Column.prototype.cell = function (content) {
664
+ var self = this;
665
+ return new Cell(this.table, {
666
+ findIn: function (parent) {
667
+ return parent.contains("aup-table-cell-renderer[column-id=" + self.columnId + "]", content);
668
+ }
669
+ });
670
+ };
671
+ return Column;
672
+ }());
673
+ AupTable.Column = Column;
674
+ var Cell = /** @class */ (function (_super) {
675
+ __extends(Cell, _super);
676
+ function Cell() {
831
677
  return _super !== null && _super.apply(this, arguments) || this;
832
678
  }
833
- return TreeControlColumn;
834
- }(AupTableColumn));
835
- AupTreeTable.TreeControlColumn = TreeControlColumn;
836
- })(exports.AupTreeTable || (exports.AupTreeTable = {}));
679
+ return Cell;
680
+ }(PageElement));
681
+ AupTable.Cell = Cell;
682
+ })(exports.AupTable || (exports.AupTable = {}));
837
683
 
838
- function FormElementMixin(Base) {
684
+ function ButtonMixin(Base) {
839
685
  return /** @class */ (function (_super) {
840
686
  __extends(class_1, _super);
841
687
  function class_1() {
@@ -845,8 +691,12 @@
845
691
  }
846
692
  return _super.apply(this, __spreadArray([], __read(args))) || this;
847
693
  }
694
+ class_1.prototype.click = function () {
695
+ return this.element().click();
696
+ };
848
697
  class_1.prototype.shouldBeDisabled = function () {
849
698
  this.should("be.disabled");
699
+ // this.should("have.css", "color", "rgba(0,0,0,0.26)")
850
700
  };
851
701
  return class_1;
852
702
  }(Base));
@@ -855,346 +705,107 @@
855
705
  var Button = /** @class */ (function (_super) {
856
706
  __extends(Button, _super);
857
707
  function Button(parentElementAccessor, buttonText) {
858
- return _super.call(this, parentElementAccessor, exports.ElementLocator.findBySelectorAndTextContent('button', buttonText)) || this;
708
+ return _super.call(this, parentElementAccessor, {
709
+ findIn: function (parent) {
710
+ return parent.contains('button', buttonText);
711
+ },
712
+ shouldNotExist: function (parent) {
713
+ return parent.should('not.contain', buttonText);
714
+ }
715
+ }) || this;
859
716
  }
860
717
  return Button;
861
- }(FormElementMixin(PageElement)));
862
-
863
- var MatCheckbox = /** @class */ (function (_super) {
864
- __extends(MatCheckbox, _super);
865
- function MatCheckbox(parentElementAccessor, text) {
866
- return _super.call(this, parentElementAccessor, exports.ElementLocator.findBySelectorAndTextContent('mat-checkbox', text)) || this;
867
- }
868
- MatCheckbox.prototype.shouldBeChecked = function () {
869
- this.hiddenCheckBoxElement().should('be.checked');
870
- };
871
- MatCheckbox.prototype.shouldNotBeChecked = function () {
872
- this.hiddenCheckBoxElement().should('not.be.checked');
873
- };
874
- MatCheckbox.prototype.hiddenCheckBoxElement = function () {
875
- return this.dom().find('input[type=checkbox]');
876
- };
877
- MatCheckbox.prototype.check = function () {
878
- var _this = this;
879
- this.hiddenCheckBoxElement().then(function (el) {
880
- if (!el.prop('checked')) {
881
- _this.click();
882
- _this.shouldBeChecked();
883
- }
884
- });
885
- };
886
- MatCheckbox.prototype.uncheck = function () {
887
- var _this = this;
888
- this.hiddenCheckBoxElement().then(function (el) {
889
- if (el.prop('checked')) {
890
- _this.click();
891
- _this.shouldNotBeChecked();
892
- }
893
- });
894
- };
895
- return MatCheckbox;
896
- }(FormElementMixin(PageElement)));
718
+ }(ButtonMixin(PageElement)));
897
719
 
898
- exports.ComponentBuilder = /** @class */ (function () {
899
- function ComponentBuilder(parentPageElement) {
900
- this.parentPageElement = parentPageElement;
720
+ exports.Section = void 0;
721
+ (function (Section) {
722
+ function create(builder) {
723
+ var impl = new StandAloneSection();
724
+ return typescriptUtilities.Mixin.createProxy(builder(impl), impl);
901
725
  }
902
- ComponentBuilder.prototype.find = function (selector) {
903
- return new PageElement(this.parentPageElement, selector);
904
- };
905
- ComponentBuilder.prototype.section = function (selector, builder) {
906
- return this.component(PageElement, selector, builder);
907
- };
908
- ComponentBuilder.prototype.contains = function (text) {
909
- return new PageElement(this.parentPageElement, exports.ElementLocator.findByTextContent(text));
910
- };
911
- ComponentBuilder.prototype.button = function (text) {
912
- return new Button(this.parentPageElement, text);
913
- };
914
- ComponentBuilder.prototype.matCheckbox = function (text) {
915
- return new MatCheckbox(this.parentPageElement, text);
916
- };
917
- ComponentBuilder.prototype.aupStringInput = function (selector) {
918
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-string-input');
919
- };
920
- ComponentBuilder.prototype.aupTextInput = function (selector) {
921
- return new exports.AupInput.TextAreaInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-text-input');
922
- };
923
- ComponentBuilder.prototype.aupPasswordInput = function (selector) {
924
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-password-input');
925
- };
926
- ComponentBuilder.prototype.aupNumberInput = function (selector) {
927
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-number-input');
928
- };
929
- ComponentBuilder.prototype.aupCommand = function (faceOrSelector) {
930
- return new AupCommand(this.parentPageElement, faceOrSelector);
931
- };
932
- ComponentBuilder.prototype.aupTabbedNavigation = function () {
933
- return new AupNavigation(this.parentPageElement, 'aup-tabbed-place-navigation');
934
- };
935
- ComponentBuilder.prototype.aupSideNavigation = function () {
936
- return new AupNavigation(this.parentPageElement, 'aup-list-place-nav');
937
- };
938
- ComponentBuilder.prototype.aupMoreMenu = function (selector) {
939
- return AupMoreMenu.create(this.parentPageElement, selector);
940
- };
941
- ComponentBuilder.prototype.aupTable = function (selectorOrBuilder, optionalBuilder) {
942
- return this.component(AupTable, selectorOrBuilder, optionalBuilder);
943
- };
944
- ComponentBuilder.prototype.aupTreeTable = function (selectorOrBuilder, optionalBuilder) {
945
- return this.component(exports.AupTreeTable, selectorOrBuilder, optionalBuilder);
946
- };
947
- ComponentBuilder.prototype.aupEmptyState = function (selectorOrBuilder, optionalBuilder) {
948
- return this.component(AupEmptyState, selectorOrBuilder, optionalBuilder);
949
- };
950
- ComponentBuilder.prototype.component = function (klass, selectorOrBuilder, optionalBuilder) {
951
- var selector = ___namespace.isString(selectorOrBuilder) ? selectorOrBuilder : undefined;
952
- var builder = ___namespace.isFunction(selectorOrBuilder) ? selectorOrBuilder : optionalBuilder;
953
- var element = new klass(this.parentPageElement, selector);
954
- if (builder) {
955
- // create the B&E type that the builder has access to
956
- var decoratedElement = typescriptUtilities.Mixin.createProxy(element, new ComponentBuilder(element));
957
- // create final type that has the E & T type
958
- return typescriptUtilities.Mixin.createProxy(decoratedElement, builder(decoratedElement));
959
- }
960
- else {
961
- return element;
962
- }
963
- };
964
- return ComponentBuilder;
965
- }());
966
- (function (ComponentBuilder) {
726
+ Section.create = create;
967
727
  function Mixin(Base) {
968
728
  return /** @class */ (function (_super) {
969
729
  __extends(class_1, _super);
970
730
  function class_1() {
971
- var args = [];
972
- for (var _i = 0; _i < arguments.length; _i++) {
973
- args[_i] = arguments[_i];
974
- }
975
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
976
- _this.builder = new ComponentBuilder(_this);
977
- return _this;
731
+ return _super !== null && _super.apply(this, arguments) || this;
978
732
  }
733
+ class_1.prototype.section = function (selector, section) {
734
+ var impl = new NestedSection(this, selector);
735
+ return typescriptUtilities.Mixin.createProxy(section(impl), impl);
736
+ };
737
+ class_1.prototype.find = function (selector) {
738
+ var _this = this;
739
+ return new PageElement(function () { return _this.element(); }, selector);
740
+ };
741
+ class_1.prototype.contains = function (text) {
742
+ var _this = this;
743
+ return new PageElement(function () { return _this.element(); }, {
744
+ findIn: function (parent) { return parent.contains(text); },
745
+ shouldNotExist: function (parent) { return parent.should('not.contain', text); }
746
+ });
747
+ };
748
+ class_1.prototype.button = function (text) {
749
+ var _this = this;
750
+ return new Button(function () { return _this.element(); }, text);
751
+ };
752
+ class_1.prototype.aupStringInput = function (selector) {
753
+ var _this = this;
754
+ return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-string-input');
755
+ };
756
+ class_1.prototype.aupTextInput = function (selector) {
757
+ var _this = this;
758
+ return new exports.AupInput.TextAreaInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-text-input');
759
+ };
760
+ class_1.prototype.aupPasswordInput = function (selector) {
761
+ var _this = this;
762
+ return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-password-input');
763
+ };
764
+ class_1.prototype.aupNumberInput = function (selector) {
765
+ var _this = this;
766
+ return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-number-input');
767
+ };
768
+ class_1.prototype.aupCommand = function (face) {
769
+ return new AupCommand(this, face);
770
+ };
771
+ class_1.prototype.aupTabbedNavigation = function () {
772
+ return new AupNavigation(this, 'aup-tabbed-place-navigation');
773
+ };
774
+ class_1.prototype.aupSideNavigation = function () {
775
+ var _this = this;
776
+ return new AupNavigation(function () { return _this.element(); }, 'aup-list-place-nav');
777
+ };
778
+ class_1.prototype.aupTable = function (selector) {
779
+ var _this = this;
780
+ return new exports.AupTable(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-table');
781
+ };
782
+ class_1.prototype.aupEmptyState = function (selector) {
783
+ return new AupEmptyState(this, selector);
784
+ };
979
785
  return class_1;
980
786
  }(Base));
981
787
  }
982
- ComponentBuilder.Mixin = Mixin;
983
- })(exports.ComponentBuilder || (exports.ComponentBuilder = {}));
984
-
985
- var AupAbstractActivity = /** @class */ (function (_super) {
986
- __extends(AupAbstractActivity, _super);
987
- function AupAbstractActivity(parent, selector) {
988
- var _this =
989
- // @ts-ignore
990
- _super.call(this, parent, selector) || this;
991
- _this.title = _this.find('aup-activity-title');
992
- _this._confirmCommand = _this.builder.aupCommand('[data-cy=confirm-command]');
993
- _this._cancelCommand = _this.builder.aupCommand('[data-cy=cancel-command]');
994
- return _this;
995
- }
996
- return AupAbstractActivity;
997
- }(exports.ComponentBuilder.Mixin(PageElement)));
998
-
999
- var AupAlert = /** @class */ (function (_super) {
1000
- __extends(AupAlert, _super);
1001
- function AupAlert(parent, selector) {
1002
- return _super.call(this, parent, selector) || this;
1003
- }
1004
- Object.defineProperty(AupAlert.prototype, "closeCommand", {
1005
- get: function () {
1006
- return this._confirmCommand;
1007
- },
1008
- enumerable: false,
1009
- configurable: true
1010
- });
1011
- AupAlert.prototype.clickClose = function () {
1012
- this.closeCommand.click();
1013
- };
1014
- return AupAlert;
1015
- }(AupAbstractActivity));
1016
-
1017
- function AupModalMixin(Base) {
1018
- return /** @class */ (function (_super) {
1019
- __extends(class_1, _super);
1020
- function class_1() {
1021
- var args = [];
1022
- for (var _i = 0; _i < arguments.length; _i++) {
1023
- args[_i] = arguments[_i];
1024
- }
1025
- return _super.apply(this, __spreadArray([], __read(args))) || this;
1026
- }
1027
- class_1.prototype.getDefaultElementLocator = function () {
1028
- var _this = this;
1029
- return function (parent) {
1030
- return parent.dom().closest('body').find(_this.getDefaultElementSelector());
1031
- };
1032
- };
1033
- class_1.prototype.clickBackdrop = function () {
1034
- this.dom()
1035
- .closest(".cdk-overlay-container")
1036
- .find(".cdk-overlay-backdrop").click(-50, -50, { force: true });
1037
- };
1038
- return class_1;
1039
- }(Base));
1040
- }
1041
-
1042
- var AupAlertDialog = /** @class */ (function (_super) {
1043
- __extends(AupAlertDialog, _super);
1044
- function AupAlertDialog(parent, selector) {
1045
- return _super.call(this, parent, selector) || this;
1046
- }
1047
- return AupAlertDialog;
1048
- }(AupModalMixin(AupAlert)));
1049
-
1050
- var AupConfirm = /** @class */ (function (_super) {
1051
- __extends(AupConfirm, _super);
1052
- function AupConfirm(parent, selector) {
1053
- return _super.call(this, parent, selector) || this;
1054
- }
1055
- Object.defineProperty(AupConfirm.prototype, "confirmCommand", {
1056
- get: function () {
1057
- return this._confirmCommand;
1058
- },
1059
- enumerable: false,
1060
- configurable: true
1061
- });
1062
- AupConfirm.prototype.clickConfirm = function () {
1063
- this.confirmCommand.click();
1064
- };
1065
- Object.defineProperty(AupConfirm.prototype, "cancelCommand", {
1066
- get: function () {
1067
- return this._cancelCommand;
1068
- },
1069
- enumerable: false,
1070
- configurable: true
1071
- });
1072
- AupConfirm.prototype.clickCancel = function () {
1073
- this.cancelCommand.click();
1074
- };
1075
- return AupConfirm;
1076
- }(AupAbstractActivity));
1077
-
1078
- var AupConfirmDialog = /** @class */ (function (_super) {
1079
- __extends(AupConfirmDialog, _super);
1080
- function AupConfirmDialog(parent, selector) {
1081
- return _super.call(this, parent, selector) || this;
1082
- }
1083
- return AupConfirmDialog;
1084
- }(AupModalMixin(AupConfirm)));
1085
-
1086
- var AupActivity = /** @class */ (function (_super) {
1087
- __extends(AupActivity, _super);
1088
- function AupActivity(parent, selector) {
1089
- return _super.call(this, parent, selector) || this;
1090
- }
1091
- Object.defineProperty(AupActivity.prototype, "confirmCommand", {
1092
- get: function () {
1093
- return this._confirmCommand;
1094
- },
1095
- enumerable: false,
1096
- configurable: true
1097
- });
1098
- Object.defineProperty(AupActivity.prototype, "cancelCommand", {
1099
- get: function () {
1100
- return this._cancelCommand;
1101
- },
1102
- enumerable: false,
1103
- configurable: true
1104
- });
1105
- return AupActivity;
1106
- }(AupAbstractActivity));
1107
-
1108
- var AupModalActivity = /** @class */ (function (_super) {
1109
- __extends(AupModalActivity, _super);
1110
- function AupModalActivity() {
1111
- return _super !== null && _super.apply(this, arguments) || this;
1112
- }
1113
- return AupModalActivity;
1114
- }(AupModalMixin(AupActivity)));
1115
-
1116
- var PageBuilder = /** @class */ (function (_super) {
1117
- __extends(PageBuilder, _super);
1118
- function PageBuilder() {
1119
- return _super !== null && _super.apply(this, arguments) || this;
1120
- }
1121
- PageBuilder.prototype.aupModalActivity = function (selector, builder) {
1122
- return this.component(AupModalActivity, selector, builder);
1123
- };
1124
- PageBuilder.prototype.aupModalAlert = function (builder) {
1125
- return this.component(AupAlertDialog, builder);
1126
- };
1127
- PageBuilder.prototype.aupModelConfirm = function (builder) {
1128
- return this.component(AupConfirmDialog, builder);
1129
- };
1130
- return PageBuilder;
1131
- }(exports.ComponentBuilder));
1132
-
1133
- var urlSerialiser = new router.DefaultUrlSerializer();
1134
- exports.Path = /** @class */ (function () {
1135
- function Path(segments) {
1136
- this.segments = segments;
1137
- }
1138
- Path.extractVisitParameters = function (url) {
1139
- var _a, _b;
1140
- var result = {};
1141
- var urlTree = urlSerialiser.parse(url);
1142
- var urlSegments = (_b = (_a = urlTree.root.children.primary) === null || _a === void 0 ? void 0 : _a.segments) !== null && _b !== void 0 ? _b : [];
1143
- urlSegments === null || urlSegments === void 0 ? void 0 : urlSegments.forEach(function (s) {
1144
- result = Object.assign(Object.assign({}, result), s.parameters);
1145
- });
1146
- return result;
1147
- };
1148
- Path.prototype.toUrl = function (matrixParams) {
1149
- return this.segments.map(function (s) { return s.toUrlPart(matrixParams); }).join('/');
1150
- };
1151
- return Path;
1152
- }());
1153
- (function (Path) {
1154
- function setUrlSerialiser(serialiser) {
1155
- urlSerialiser = serialiser;
1156
- }
1157
- Path.setUrlSerialiser = setUrlSerialiser;
1158
- var Segment = /** @class */ (function () {
1159
- function Segment(path, params) {
1160
- if (params === void 0) { params = {}; }
1161
- var _a;
1162
- this.path = path;
1163
- this.routeId = params === null || params === void 0 ? void 0 : params.routeId;
1164
- this.visitParams = (_a = params === null || params === void 0 ? void 0 : params.visitParams) !== null && _a !== void 0 ? _a : [];
788
+ Section.Mixin = Mixin;
789
+ var NestedSection = /** @class */ (function (_super) {
790
+ __extends(NestedSection, _super);
791
+ function NestedSection() {
792
+ return _super !== null && _super.apply(this, arguments) || this;
1165
793
  }
1166
- Segment.prototype.toUrlPart = function (params) {
1167
- var path = this.path;
1168
- this.visitParams.forEach(function (p) {
1169
- var value = params[p];
1170
- if (value) {
1171
- path = path + ";" + p + "=" + value;
1172
- }
1173
- });
1174
- if (this.routeId && params[this.routeId]) {
1175
- path = path + '/' + params[this.routeId];
1176
- }
1177
- return path;
1178
- };
1179
- return Segment;
1180
- }());
1181
- Path.Segment = Segment;
1182
- var Builder = /** @class */ (function () {
1183
- function Builder() {
1184
- this.segments = [];
794
+ return NestedSection;
795
+ }(Mixin(PageElement)));
796
+ var StandAloneSection = /** @class */ (function (_super) {
797
+ __extends(StandAloneSection, _super);
798
+ function StandAloneSection() {
799
+ var _this = _super.call(this, undefined, undefined) || this;
800
+ _this.rootElementSelector = 'body';
801
+ return _this;
1185
802
  }
1186
- Builder.prototype.segment = function (name, params) {
1187
- var builder = new Segment(name, params);
1188
- this.segments.push(builder);
1189
- return this;
1190
- };
1191
- Builder.prototype.getPath = function () {
1192
- return new Path(this.segments);
803
+ StandAloneSection.prototype.element = function () {
804
+ return cy.get(this.rootElementSelector);
1193
805
  };
1194
- return Builder;
1195
- }());
1196
- Path.Builder = Builder;
1197
- })(exports.Path || (exports.Path = {}));
806
+ return StandAloneSection;
807
+ }(Mixin(PageElement)));
808
+ })(exports.Section || (exports.Section = {}));
1198
809
 
1199
810
  exports.Page = /** @class */ (function (_super) {
1200
811
  __extends(Page, _super);
@@ -1204,7 +815,7 @@
1204
815
  _this.rootElementSelector = 'body';
1205
816
  return _this;
1206
817
  }
1207
- Page.prototype.dom = function () {
818
+ Page.prototype.element = function () {
1208
819
  return cy.get(this.rootElementSelector);
1209
820
  };
1210
821
  Page.prototype.visit = function (visitParams, queryParams) {
@@ -1214,9 +825,7 @@
1214
825
  Page.prototype.tryAndVisit = function (params, queryParams) {
1215
826
  var path = this.path.toUrl(params !== null && params !== void 0 ? params : {});
1216
827
  var queryString = queryParams ? "?" + new URLSearchParams(queryParams).toString() : '';
1217
- var fullPath = "/" + path + queryString;
1218
- cy.log("Visiting -> " + fullPath);
1219
- cy.visit(fullPath);
828
+ cy.visit("/" + path + queryString);
1220
829
  };
1221
830
  Page.prototype.shouldHaveActivityIds = function () {
1222
831
  var ids = [];
@@ -1233,50 +842,45 @@
1233
842
  };
1234
843
  Page.prototype.shouldBeActive = function (withParameters) {
1235
844
  // Note: cy.window() doesn't return a promise... it's a chainable.
1236
- cy['waitUntil'](function () {
845
+ cy["waitUntil"](function () {
1237
846
  return cy.window().then(function (window) {
1238
847
  return window['aup.PlaceRouter'] && !window['aup.PlaceRouter'].isNavigating();
1239
848
  });
1240
849
  });
1241
850
  if (withParameters) {
1242
- this.shouldIncludeParameters(withParameters);
1243
- }
1244
- };
1245
- Page.prototype.shouldIncludeParameters = function (parameters) {
1246
- cy.location('pathname').then(function (path) {
1247
- var urlParams = exports.Path.extractVisitParameters(path);
1248
- Object.keys(parameters).forEach(function (param) {
1249
- var expected = parameters[param];
1250
- var actual = urlParams[param];
1251
- // cy.log(`${actual} - ${expected}`);
1252
- expect(urlParams[param]).to.equal(expected);
851
+ cy.location('pathname').then(function (path) {
852
+ var urlParams = exports.Path.extractVisitParameters(path);
853
+ Object.keys(withParameters).forEach(function (param) {
854
+ var expected = withParameters[param];
855
+ // @ts-ignore
856
+ expect(urlParams[param]).to.equal(expected);
857
+ });
1253
858
  });
1254
- });
1255
- };
1256
- Page.prototype.shouldNotHaveParameter = function (name) {
1257
- this.getUrlParameters().then(function (params) {
1258
- expect(params[name]).to.be.undefined;
1259
- });
1260
- };
1261
- Page.prototype.getUrlParameters = function () {
1262
- return cy.location('pathname').then(function (path) { return exports.Path.extractVisitParameters(path); });
859
+ }
1263
860
  };
1264
861
  return Page;
1265
862
  }(PageElement));
1266
863
  (function (Page) {
1267
- function create(pathOrPathBuilder, builder) {
864
+ function create(pathOrPathBuilder, page) {
1268
865
  var pathBuilder = new exports.Path.Builder();
1269
866
  if (___namespace.isString(pathOrPathBuilder)) {
1270
- pathOrPathBuilder.split('/').filter(function (p) { return !___namespace.isEmpty(p); }).forEach(function (p) { return pathBuilder.segment(p); });
867
+ pathOrPathBuilder.split("/").filter(function (p) { return !___namespace.isEmpty(p); }).forEach(function (p) { return pathBuilder.segment(p); });
1271
868
  }
1272
869
  else {
1273
870
  pathOrPathBuilder(pathBuilder);
1274
871
  }
1275
- var instance = new Page(pathBuilder.getPath());
1276
- var content = builder.call(instance, new PageBuilder(instance));
1277
- return typescriptUtilities.Mixin.createProxy(content, instance);
872
+ var builder = new PageBuilder(pathBuilder.getPath());
873
+ return typescriptUtilities.Mixin.createProxy(page(builder), builder);
1278
874
  }
1279
875
  Page.create = create;
876
+ var PageBuilder = /** @class */ (function (_super) {
877
+ __extends(PageBuilder, _super);
878
+ function PageBuilder() {
879
+ return _super !== null && _super.apply(this, arguments) || this;
880
+ }
881
+ return PageBuilder;
882
+ }(exports.Section.Mixin(Page)));
883
+ Page.PageBuilder = PageBuilder;
1280
884
  })(exports.Page || (exports.Page = {}));
1281
885
 
1282
886
  var AupCommandGroup = /** @class */ (function (_super) {
@@ -1287,41 +891,49 @@
1287
891
  return AupCommandGroup;
1288
892
  }(PageElement));
1289
893
 
1290
- var AupToolBar = /** @class */ (function (_super) {
1291
- __extends(AupToolBar, _super);
1292
- function AupToolBar() {
894
+ var AupMoreMenu = /** @class */ (function (_super) {
895
+ __extends(AupMoreMenu, _super);
896
+ function AupMoreMenu() {
1293
897
  return _super !== null && _super.apply(this, arguments) || this;
1294
898
  }
1295
- AupToolBar.create = function (parent, face) {
1296
- // const findFace = AupCommandFace.createFinder(() => parent.element(), face)
1297
- // return new AupCommandGroup(() => findFace().closest('button'));
899
+ AupMoreMenu.create = function (parent) {
900
+ return new AupMoreMenu(parent, 'aup-more-menu');
1298
901
  };
1299
- return AupToolBar;
902
+ return AupMoreMenu;
1300
903
  }(PageElement));
1301
904
 
1302
905
  var AupPopupMenu = /** @class */ (function (_super) {
1303
906
  __extends(AupPopupMenu, _super);
1304
907
  function AupPopupMenu(parentElementAccessor, face) {
1305
908
  var _this = this;
1306
- var locator = AupCommandFace.createElementLocator(face);
1307
- _this = _super.call(this, parentElementAccessor, function (parent) { return locator(parent).closest('button'); }) || this;
909
+ var accessor = AupCommandFace.createAccessor(face);
910
+ _this = _super.call(this, parentElementAccessor, {
911
+ findIn: function (parent) {
912
+ return accessor.findIn(parent).closest('button');
913
+ },
914
+ shouldNotExist: function (parent) {
915
+ accessor.shouldNotExist(parent);
916
+ }
917
+ }) || this;
1308
918
  return _this;
1309
919
  }
1310
920
  AupPopupMenu.create = function (parent, face) {
1311
921
  return new AupPopupMenu(parent, face);
1312
922
  };
1313
923
  return AupPopupMenu;
1314
- }(AupAbstractPopupMenu));
924
+ }(PageElement));
1315
925
 
1316
- var AupTableSelectionCell = /** @class */ (function (_super) {
1317
- __extends(AupTableSelectionCell, _super);
1318
- function AupTableSelectionCell() {
926
+ var AupToolBar = /** @class */ (function (_super) {
927
+ __extends(AupToolBar, _super);
928
+ function AupToolBar() {
1319
929
  return _super !== null && _super.apply(this, arguments) || this;
1320
930
  }
1321
- AupTableSelectionCell.prototype.selectAll = function () {
931
+ AupToolBar.create = function (parent, face) {
932
+ // const findFace = AupCommandFace.createFinder(() => parent.element(), face)
933
+ // return new AupCommandGroup(() => findFace().closest('button'));
1322
934
  };
1323
- return AupTableSelectionCell;
1324
- }(AupTableCell));
935
+ return AupToolBar;
936
+ }(PageElement));
1325
937
 
1326
938
  /**
1327
939
  * @file Automatically generated by barrelsby.
@@ -1331,37 +943,20 @@
1331
943
  * Generated bundle index. Do not edit.
1332
944
  */
1333
945
 
1334
- exports.AupAbstractActivity = AupAbstractActivity;
1335
- exports.AupAbstractPopupMenu = AupAbstractPopupMenu;
1336
- exports.AupActivity = AupActivity;
1337
- exports.AupAlert = AupAlert;
1338
- exports.AupAlertDialog = AupAlertDialog;
1339
946
  exports.AupCommand = AupCommand;
1340
947
  exports.AupCommandFace = AupCommandFace;
1341
948
  exports.AupCommandGroup = AupCommandGroup;
1342
- exports.AupConfirm = AupConfirm;
1343
- exports.AupConfirmDialog = AupConfirmDialog;
1344
949
  exports.AupEmptyState = AupEmptyState;
1345
- exports.AupModalActivity = AupModalActivity;
1346
- exports.AupModalMixin = AupModalMixin;
1347
950
  exports.AupMoreMenu = AupMoreMenu;
1348
951
  exports.AupNavigation = AupNavigation;
1349
952
  exports.AupPopupMenu = AupPopupMenu;
1350
- exports.AupPopupMenuPanel = AupPopupMenuPanel;
1351
- exports.AupTable = AupTable;
1352
- exports.AupTableCell = AupTableCell;
1353
- exports.AupTableColumn = AupTableColumn;
1354
- exports.AupTableRow = AupTableRow;
1355
- exports.AupTableSelectionCell = AupTableSelectionCell;
1356
- exports.AupTableSelectionColumn = AupTableSelectionColumn;
1357
953
  exports.AupToolBar = AupToolBar;
1358
954
  exports.Button = Button;
1359
- exports.FormElementMixin = FormElementMixin;
1360
- exports.MatCheckbox = MatCheckbox;
1361
- exports.PageBuilder = PageBuilder;
955
+ exports.ButtonMixin = ButtonMixin;
956
+ exports.FaceAccessor = FaceAccessor;
1362
957
  exports.PageElement = PageElement;
1363
958
 
1364
959
  Object.defineProperty(exports, '__esModule', { value: true });
1365
960
 
1366
- }));
961
+ })));
1367
962
  //# sourceMappingURL=coolon-angular-ui-powerups-cypress.umd.js.map