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

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 (488) hide show
  1. package/assets/activities/activities.scss +77 -0
  2. package/assets/activities/input-activities.scss +36 -0
  3. package/assets/cards.scss +17 -0
  4. package/assets/empty-state.scss +11 -0
  5. package/assets/form.scss +10 -2
  6. package/assets/forms/mixins.scss +6 -0
  7. package/assets/interaction/editor/inline-string-editor.scss +54 -0
  8. package/assets/interaction.scss +10 -7
  9. package/assets/mixins.scss +5 -7
  10. package/assets/styles.scss +8 -15
  11. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +748 -331
  12. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  13. package/bundles/coolon-angular-ui-powerups.umd.js +1105 -341
  14. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  15. package/coolon-angular-ui-powerups.metadata.json +1 -1
  16. package/cypress/component-builder.d.ts +71 -0
  17. package/cypress/components/aup-abstract-activity.d.ts +31 -0
  18. package/cypress/components/aup-abstract-table.d.ts +18 -0
  19. package/cypress/components/aup-activity.d.ts +9 -0
  20. package/cypress/components/aup-alert-dialog.d.ts +27 -0
  21. package/cypress/components/aup-alert.d.ts +9 -0
  22. package/cypress/components/aup-command-face.d.ts +2 -8
  23. package/cypress/components/aup-command.d.ts +2 -1
  24. package/cypress/components/aup-confirm-dialog.d.ts +27 -0
  25. package/cypress/components/aup-confirm.d.ts +11 -0
  26. package/cypress/components/aup-empty-state.d.ts +4 -0
  27. package/cypress/components/aup-input.d.ts +11 -5
  28. package/cypress/components/aup-modal-activity.d.ts +24 -0
  29. package/cypress/components/aup-modal-mixin.d.ts +23 -0
  30. package/cypress/components/aup-table.d.ts +5 -18
  31. package/cypress/components/aup-tree-table.d.ts +16 -0
  32. package/cypress/components/button.d.ts +11 -7
  33. package/cypress/components/form-element-mixin.d.ts +22 -0
  34. package/cypress/components/mat-checkbox.d.ts +31 -0
  35. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +15 -0
  36. package/cypress/components/popup/aup-more-menu.d.ts +5 -0
  37. package/cypress/components/popup/aup-popup-menu-panel.d.ts +3 -0
  38. package/cypress/components/popup/aup-popup-menu.d.ts +7 -0
  39. package/cypress/components/table/aup-table-cell.d.ts +9 -0
  40. package/cypress/components/table/aup-table-column.d.ts +10 -0
  41. package/cypress/components/table/aup-table-row.d.ts +17 -0
  42. package/cypress/components/table/aup-table-selection-cell.d.ts +5 -0
  43. package/cypress/components/table/aup-table-selection-column.d.ts +5 -0
  44. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  45. package/cypress/element-locator.d.ts +8 -0
  46. package/cypress/exports.d.ts +25 -4
  47. package/cypress/package.json +1 -1
  48. package/cypress/page-builder.d.ts +9 -0
  49. package/cypress/page-element.d.ts +12 -12
  50. package/cypress/page.d.ts +8 -33
  51. package/esm2015/cypress/component-builder.js +92 -0
  52. package/esm2015/cypress/component-builder.js.map +1 -0
  53. package/esm2015/cypress/component-builder.metadata.json +1 -0
  54. package/esm2015/cypress/components/aup-abstract-activity.js +12 -0
  55. package/esm2015/cypress/components/aup-abstract-activity.js.map +1 -0
  56. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +1 -0
  57. package/esm2015/cypress/components/aup-abstract-table.js +50 -0
  58. package/esm2015/cypress/components/aup-abstract-table.js.map +1 -0
  59. package/esm2015/cypress/components/aup-abstract-table.metadata.json +1 -0
  60. package/esm2015/cypress/components/aup-activity.js +13 -0
  61. package/esm2015/cypress/components/aup-activity.js.map +1 -0
  62. package/esm2015/cypress/components/aup-activity.metadata.json +1 -0
  63. package/esm2015/cypress/components/aup-alert-dialog.js +8 -0
  64. package/esm2015/cypress/components/aup-alert-dialog.js.map +1 -0
  65. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +1 -0
  66. package/esm2015/cypress/components/aup-alert.js +13 -0
  67. package/esm2015/cypress/components/aup-alert.js.map +1 -0
  68. package/esm2015/cypress/components/aup-alert.metadata.json +1 -0
  69. package/esm2015/cypress/components/aup-command-face.js +11 -22
  70. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  71. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  72. package/esm2015/cypress/components/aup-command.js +12 -6
  73. package/esm2015/cypress/components/aup-command.js.map +1 -1
  74. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  75. package/esm2015/cypress/components/aup-confirm-dialog.js +8 -0
  76. package/esm2015/cypress/components/aup-confirm-dialog.js.map +1 -0
  77. package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +1 -0
  78. package/esm2015/cypress/components/aup-confirm.js +19 -0
  79. package/esm2015/cypress/components/aup-confirm.js.map +1 -0
  80. package/esm2015/cypress/components/aup-confirm.metadata.json +1 -0
  81. package/esm2015/cypress/components/aup-empty-state.js +7 -0
  82. package/esm2015/cypress/components/aup-empty-state.js.map +1 -0
  83. package/esm2015/cypress/components/aup-empty-state.metadata.json +1 -0
  84. package/esm2015/cypress/components/aup-input.js +17 -5
  85. package/esm2015/cypress/components/aup-input.js.map +1 -1
  86. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  87. package/esm2015/cypress/components/aup-modal-activity.js +5 -0
  88. package/esm2015/cypress/components/aup-modal-activity.js.map +1 -0
  89. package/esm2015/cypress/components/aup-modal-activity.metadata.json +1 -0
  90. package/esm2015/cypress/components/aup-modal-mixin.js +18 -0
  91. package/esm2015/cypress/components/aup-modal-mixin.js.map +1 -0
  92. package/esm2015/cypress/components/aup-modal-mixin.metadata.json +1 -0
  93. package/esm2015/cypress/components/aup-navigation.js +1 -1
  94. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  95. package/esm2015/cypress/components/aup-table.js +5 -33
  96. package/esm2015/cypress/components/aup-table.js.map +1 -1
  97. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  98. package/esm2015/cypress/components/aup-tree-table.js +34 -0
  99. package/esm2015/cypress/components/aup-tree-table.js.map +1 -0
  100. package/esm2015/cypress/components/aup-tree-table.metadata.json +1 -0
  101. package/esm2015/cypress/components/button.js +4 -10
  102. package/esm2015/cypress/components/button.js.map +1 -1
  103. package/esm2015/cypress/components/button.metadata.json +1 -1
  104. package/esm2015/cypress/components/form-element-mixin.js +11 -0
  105. package/esm2015/cypress/components/form-element-mixin.js.map +1 -0
  106. package/esm2015/cypress/components/form-element-mixin.metadata.json +1 -0
  107. package/esm2015/cypress/components/mat-checkbox.js +34 -0
  108. package/esm2015/cypress/components/mat-checkbox.js.map +1 -0
  109. package/esm2015/cypress/components/mat-checkbox.metadata.json +1 -0
  110. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +33 -0
  111. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +1 -0
  112. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +1 -0
  113. package/esm2015/cypress/components/popup/aup-more-menu.js +8 -0
  114. package/esm2015/cypress/components/popup/aup-more-menu.js.map +1 -0
  115. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +1 -0
  116. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +4 -0
  117. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +1 -0
  118. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +1 -0
  119. package/esm2015/cypress/components/popup/aup-popup-menu.js +12 -0
  120. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +1 -0
  121. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +1 -0
  122. package/esm2015/cypress/components/table/aup-table-cell.js +14 -0
  123. package/esm2015/cypress/components/table/aup-table-cell.js.map +1 -0
  124. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +1 -0
  125. package/esm2015/cypress/components/table/aup-table-column.js +19 -0
  126. package/esm2015/cypress/components/table/aup-table-column.js.map +1 -0
  127. package/esm2015/cypress/components/table/aup-table-column.metadata.json +1 -0
  128. package/esm2015/cypress/components/table/aup-table-row.js +28 -0
  129. package/esm2015/cypress/components/table/aup-table-row.js.map +1 -0
  130. package/esm2015/cypress/components/table/aup-table-row.metadata.json +1 -0
  131. package/esm2015/cypress/components/table/aup-table-selection-cell.js +6 -0
  132. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +1 -0
  133. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +1 -0
  134. package/esm2015/cypress/components/table/aup-table-selection-column.js +6 -0
  135. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +1 -0
  136. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +1 -0
  137. package/esm2015/cypress/element-locator.js +16 -0
  138. package/esm2015/cypress/element-locator.js.map +1 -0
  139. package/esm2015/cypress/element-locator.metadata.json +1 -0
  140. package/esm2015/cypress/exports.js +25 -4
  141. package/esm2015/cypress/exports.js.map +1 -1
  142. package/esm2015/cypress/exports.metadata.json +1 -1
  143. package/esm2015/cypress/page-builder.js +16 -0
  144. package/esm2015/cypress/page-builder.js.map +1 -0
  145. package/esm2015/cypress/page-builder.metadata.json +1 -0
  146. package/esm2015/cypress/page-element.js +26 -19
  147. package/esm2015/cypress/page-element.js.map +1 -1
  148. package/esm2015/cypress/page-element.metadata.json +1 -1
  149. package/esm2015/cypress/page.js +31 -19
  150. package/esm2015/cypress/page.js.map +1 -1
  151. package/esm2015/cypress/page.metadata.json +1 -1
  152. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  153. package/esm2015/lib/components/busy-overlay/busy-overlay.component.js +1 -1
  154. package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
  155. package/esm2015/lib/components/cards/abstract-card-container.component.js +29 -0
  156. package/esm2015/lib/components/cards/abstract-card-container.component.js.map +1 -0
  157. package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +1 -0
  158. package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +1 -0
  159. package/esm2015/lib/components/cards/card-container/card-container.component.js +123 -0
  160. package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -0
  161. package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -0
  162. package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +1 -0
  163. package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
  164. package/esm2015/lib/components/cards/card-stack/card-stack.component.js +78 -0
  165. package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +1 -0
  166. package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -0
  167. package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +1 -0
  168. package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +1 -0
  169. package/esm2015/lib/components/commands/command/command.component.js +1 -1
  170. package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
  171. package/esm2015/lib/components/commands/command-face/command-face.component.js +5 -1
  172. package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
  173. package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
  174. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +1 -1
  175. package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
  176. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js +1 -1
  177. package/esm2015/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.js.map +1 -1
  178. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
  179. package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
  180. package/esm2015/lib/components/components.module.js +37 -24
  181. package/esm2015/lib/components/components.module.js.map +1 -1
  182. package/esm2015/lib/components/components.module.metadata.json +1 -1
  183. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  184. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  185. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  186. package/esm2015/lib/components/exports.js +7 -4
  187. package/esm2015/lib/components/exports.js.map +1 -1
  188. package/esm2015/lib/components/exports.metadata.json +1 -1
  189. package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
  190. package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
  191. package/esm2015/lib/components/forms/abstract-input.component.js +1 -0
  192. package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
  193. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +1 -1
  194. package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
  195. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
  196. package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
  197. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +1 -1
  198. package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
  199. package/esm2015/lib/components/forms/select-input/select-input.component.js +1 -1
  200. package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
  201. package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
  202. package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
  203. package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
  204. package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
  205. package/esm2015/lib/components/icon/icon.component.js +1 -1
  206. package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
  207. package/esm2015/lib/components/labelled-value/labelled-value.component.js +22 -0
  208. package/esm2015/lib/components/labelled-value/labelled-value.component.js.map +1 -0
  209. package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +1 -0
  210. package/esm2015/lib/components/labelled-value/labelled-value.component.ngfactory.js.map +1 -0
  211. package/esm2015/lib/components/{card-container/card-container.component.scss.shim.ngstyle.js.map → labelled-value/labelled-value.component.scss.shim.ngstyle.js.map} +1 -1
  212. package/esm2015/lib/components/loading-container/loading-container.component.js +45 -0
  213. package/esm2015/lib/components/loading-container/loading-container.component.js.map +1 -0
  214. package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +1 -0
  215. package/esm2015/lib/components/loading-container/loading-container.component.ngfactory.js.map +1 -0
  216. package/esm2015/lib/components/loading-container/loading-container.component.scss.shim.ngstyle.js.map +1 -0
  217. package/esm2015/lib/components/noop/noop.component.js +1 -1
  218. package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
  219. package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
  220. package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
  221. package/esm2015/lib/components/section-header/section-header.component.js +12 -5
  222. package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
  223. package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
  224. package/esm2015/lib/components/switch-case/switch-case.component.js +1 -1
  225. package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
  226. package/esm2015/lib/components/tables/abstract-table-model.js +34 -20
  227. package/esm2015/lib/components/tables/abstract-table-model.js.map +1 -1
  228. package/esm2015/lib/components/tables/abstract-table-model.metadata.json +1 -1
  229. package/esm2015/lib/components/tables/edit-session.js.map +1 -0
  230. package/esm2015/lib/components/tables/{table/edit-session.metadata.json → edit-session.metadata.json} +1 -1
  231. package/esm2015/lib/components/tables/table/cell-portal-ref.js.map +1 -1
  232. package/esm2015/lib/components/tables/table/cell-renderer.js.map +1 -1
  233. package/esm2015/lib/components/tables/table/column-model.js +35 -10
  234. package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
  235. package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
  236. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
  237. package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
  238. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +19 -12
  239. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
  240. package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
  241. package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
  242. package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
  243. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js +1 -1
  244. package/esm2015/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
  245. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
  246. package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
  247. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js +0 -2
  248. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.js.map +1 -1
  249. package/esm2015/lib/components/tables/table/table-row-menu/table-row-menu.component.metadata.json +1 -1
  250. package/esm2015/lib/components/tables/table/table.component.js +14 -13
  251. package/esm2015/lib/components/tables/table/table.component.js.map +1 -1
  252. package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
  253. package/esm2015/lib/components/tables/table/text-search-predicate.js +2 -0
  254. package/esm2015/lib/components/tables/table/text-search-predicate.js.map +1 -0
  255. package/esm2015/lib/components/tables/table/text-search-predicate.metadata.json +1 -0
  256. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  257. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  258. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  259. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
  260. package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
  261. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +21 -13
  262. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +1 -1
  263. package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
  264. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js +1 -1
  265. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.js.map +1 -1
  266. package/esm2015/lib/components/tables/tree-table/tree-label-column-model.metadata.json +1 -1
  267. package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
  268. package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
  269. package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
  270. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +3 -2
  271. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  272. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  273. package/esm2015/lib/components/track-by.js +12 -0
  274. package/esm2015/lib/components/track-by.js.map +1 -1
  275. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
  276. package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
  277. package/esm2015/lib/directives/command.directive.js +1 -1
  278. package/esm2015/lib/directives/command.directive.js.map +1 -1
  279. package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
  280. package/esm2015/lib/interaction/activity.js +1 -1
  281. package/esm2015/lib/interaction/activity.js.map +1 -1
  282. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +17 -11
  283. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js.map +1 -1
  284. package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
  285. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +3 -3
  286. package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
  287. package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
  288. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
  289. package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
  290. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
  291. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  292. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +4 -0
  293. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
  294. package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
  295. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +5 -2
  296. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
  297. package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
  298. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +5 -2
  299. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
  300. package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
  301. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +5 -2
  302. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
  303. package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
  304. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +77 -0
  305. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +1 -0
  306. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -0
  307. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +1 -0
  308. package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +1 -0
  309. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +1 -1
  310. package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
  311. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
  312. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  313. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +1 -1
  314. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  315. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +1 -1
  316. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  317. package/esm2015/lib/interaction/components/editors/edit-context.js +2 -0
  318. package/esm2015/lib/interaction/components/editors/edit-context.js.map +1 -0
  319. package/esm2015/lib/interaction/components/editors/edit-context.metadata.json +1 -0
  320. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js +50 -0
  321. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.js.map +1 -0
  322. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-editor-model.metadata.json +1 -0
  323. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js +161 -0
  324. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.js.map +1 -0
  325. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.metadata.json +1 -0
  326. package/esm2015/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.ngfactory.js.map +1 -0
  327. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +7 -3
  328. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
  329. package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
  330. package/esm2015/lib/interaction/components/input-activities/input-activity.js +95 -0
  331. package/esm2015/lib/interaction/components/input-activities/input-activity.js.map +1 -0
  332. package/esm2015/lib/interaction/components/input-activities/input-activity.metadata.json +1 -0
  333. package/esm2015/lib/interaction/components/input-activities/input-activity.ngfactory.js.map +1 -0
  334. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js +5 -3
  335. package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
  336. package/esm2015/lib/interaction/components/input-activities/select-input-activity.metadata.json +1 -1
  337. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js +6 -4
  338. package/esm2015/lib/interaction/components/input-activities/string-input-activity.js.map +1 -1
  339. package/esm2015/lib/interaction/components/input-activities/string-input-activity.metadata.json +1 -1
  340. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +2 -1
  341. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js.map +1 -1
  342. package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +1 -1
  343. package/esm2015/lib/interaction/exports.js +5 -3
  344. package/esm2015/lib/interaction/exports.js.map +1 -1
  345. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  346. package/esm2015/lib/interaction/interaction.module.js +19 -5
  347. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  348. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  349. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  350. package/esm2015/lib/interaction/services/interaction.service.js +1 -1
  351. package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
  352. package/esm2015/lib/place/components/abstract-place-navigation.component.js +1 -1
  353. package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
  354. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
  355. package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
  356. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
  357. package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
  358. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  359. package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
  360. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
  361. package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
  362. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
  363. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
  364. package/esm2015/lib/place/guards/consolidated-param-map.js +2 -1
  365. package/esm2015/lib/place/guards/consolidated-param-map.js.map +1 -1
  366. package/esm2015/lib/place/guards/consolidated-param-map.metadata.json +1 -1
  367. package/esm2015/lib/place/guards/place.guard.js +2 -1
  368. package/esm2015/lib/place/guards/place.guard.js.map +1 -1
  369. package/esm2015/lib/place/place-component.js +31 -4
  370. package/esm2015/lib/place/place-component.js.map +1 -1
  371. package/esm2015/lib/place/place-component.metadata.json +1 -1
  372. package/esm2015/lib/place/place-router.js +11 -14
  373. package/esm2015/lib/place/place-router.js.map +1 -1
  374. package/esm2015/lib/place/place-router.metadata.json +1 -1
  375. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  376. package/esm2015/lib/place/url-snapshot.js +1 -7
  377. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  378. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  379. package/esm2015/lib/place/visit.js +5 -1
  380. package/esm2015/lib/place/visit.js.map +1 -1
  381. package/esm2015/lib/place/visit.metadata.json +1 -1
  382. package/fesm2015/coolon-angular-ui-powerups-cypress.js +550 -239
  383. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  384. package/fesm2015/coolon-angular-ui-powerups.js +908 -268
  385. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  386. package/lib/components/cards/abstract-card-container.component.d.ts +11 -0
  387. package/lib/components/{card-container → cards/card-container}/card-container.component.d.ts +30 -9
  388. package/lib/components/cards/card-stack/card-stack.component.d.ts +65 -0
  389. package/lib/components/commands/command-face/command-face.component.d.ts +1 -0
  390. package/lib/components/exports.d.ts +7 -4
  391. package/lib/components/labelled-value/labelled-value.component.d.ts +7 -0
  392. package/lib/components/loading-container/loading-container.component.d.ts +11 -0
  393. package/lib/components/section-header/section-header.component.d.ts +5 -2
  394. package/lib/components/tables/abstract-table-model.d.ts +10 -7
  395. package/lib/components/tables/{table/edit-session.d.ts → edit-session.d.ts} +3 -3
  396. package/lib/components/tables/table/cell-portal-ref.d.ts +1 -1
  397. package/lib/components/tables/table/cell-renderer.d.ts +2 -0
  398. package/lib/components/tables/table/column-model.d.ts +14 -5
  399. package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +2 -1
  400. package/lib/components/tables/table/edit-row-controls/edit-row-controls.component.d.ts +4 -2
  401. package/lib/components/tables/table/table-cell-renderer/table-cell-renderer.component.d.ts +1 -1
  402. package/lib/components/tables/table/table-row-menu/table-row-menu.component.d.ts +2 -3
  403. package/lib/components/tables/table/table.component.d.ts +13 -12
  404. package/lib/components/tables/table/text-search-predicate.d.ts +1 -0
  405. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +0 -1
  406. package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +2 -3
  407. package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
  408. package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
  409. package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
  410. package/lib/components/track-by.d.ts +9 -0
  411. package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +14 -3
  412. package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
  413. package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +2 -1
  414. package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +2 -1
  415. package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +2 -1
  416. package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +39 -0
  417. package/lib/interaction/components/editors/edit-context.d.ts +3 -0
  418. package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +24 -0
  419. package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +57 -0
  420. package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -0
  421. package/lib/interaction/components/input-activities/input-activity.d.ts +41 -0
  422. package/lib/interaction/components/input-activities/select-input-activity.d.ts +11 -3
  423. package/lib/interaction/components/input-activities/string-input-activity.d.ts +6 -2
  424. package/lib/interaction/exports.d.ts +5 -3
  425. package/lib/place/place-component.d.ts +6 -1
  426. package/lib/place/place-router.d.ts +2 -2
  427. package/package.json +16 -16
  428. package/schematics/activity/index.js +1 -1
  429. package/schematics/activity/index.js.map +1 -1
  430. package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
  431. package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +5 -3
  432. package/schematics/aup-i18n/index.js +1 -1
  433. package/schematics/aup-i18n/index.js.map +1 -1
  434. package/schematics/component/index.js +1 -1
  435. package/schematics/component/index.js.map +1 -1
  436. package/schematics/component/templates/component/__name@dasherize__.component.ts.template +1 -1
  437. package/schematics/place-routes/place-class-scanner.js +3 -1
  438. package/schematics/place-routes/place-class-scanner.js.map +1 -1
  439. package/schematics/utils/build-context.d.ts +6 -3
  440. package/schematics/utils/build-context.js +3 -3
  441. package/schematics/utils/build-context.js.map +1 -1
  442. package/schematics/utils/workspace.d.ts +1 -0
  443. package/schematics/utils/workspace.js +11 -3
  444. package/schematics/utils/workspace.js.map +1 -1
  445. package/assets/activities.scss +0 -70
  446. package/cypress/components/aup-more-menu.d.ts +0 -4
  447. package/cypress/components/aup-popup-menu.d.ts +0 -7
  448. package/cypress/components/button-mixin.d.ts +0 -19
  449. package/cypress/section.d.ts +0 -52
  450. package/esm2015/cypress/components/aup-more-menu.js +0 -7
  451. package/esm2015/cypress/components/aup-more-menu.js.map +0 -1
  452. package/esm2015/cypress/components/aup-more-menu.metadata.json +0 -1
  453. package/esm2015/cypress/components/aup-popup-menu.js +0 -19
  454. package/esm2015/cypress/components/aup-popup-menu.js.map +0 -1
  455. package/esm2015/cypress/components/aup-popup-menu.metadata.json +0 -1
  456. package/esm2015/cypress/components/button-mixin.js +0 -15
  457. package/esm2015/cypress/components/button-mixin.js.map +0 -1
  458. package/esm2015/cypress/components/button-mixin.metadata.json +0 -1
  459. package/esm2015/cypress/section.js +0 -72
  460. package/esm2015/cypress/section.js.map +0 -1
  461. package/esm2015/cypress/section.metadata.json +0 -1
  462. package/esm2015/lib/components/card-container/card-container.component.js +0 -84
  463. package/esm2015/lib/components/card-container/card-container.component.js.map +0 -1
  464. package/esm2015/lib/components/card-container/card-container.component.metadata.json +0 -1
  465. package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
  466. package/esm2015/lib/components/tables/table/edit-session.js.map +0 -1
  467. package/esm2015/lib/components/tables/tree-table/tree-node.js +0 -2
  468. package/esm2015/lib/components/tables/tree-table/tree-node.js.map +0 -1
  469. package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +0 -1
  470. package/esm2015/lib/components/tables/tree-table/visitable.class.js +0 -26
  471. package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +0 -1
  472. package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +0 -1
  473. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js +0 -43
  474. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.js.map +0 -1
  475. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.metadata.json +0 -1
  476. package/esm2015/lib/interaction/components/input-activities/abstract-input-activity.ngfactory.js.map +0 -1
  477. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js +0 -2
  478. package/esm2015/lib/interaction/components/input-activities/input-activity-data.js.map +0 -1
  479. package/esm2015/lib/interaction/components/input-activities/input-activity-data.metadata.json +0 -1
  480. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js +0 -2
  481. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.js.map +0 -1
  482. package/esm2015/lib/interaction/components/input-activities/select-input-activity-data.metadata.json +0 -1
  483. package/lib/components/tables/tree-table/tree-node.d.ts +0 -3
  484. package/lib/components/tables/tree-table/visitable.class.d.ts +0 -22
  485. package/lib/interaction/components/input-activities/abstract-input-activity.d.ts +0 -12
  486. package/lib/interaction/components/input-activities/input-activity-data.d.ts +0 -11
  487. package/lib/interaction/components/input-activities/select-input-activity-data.d.ts +0 -8
  488. /package/esm2015/lib/components/tables/{table/edit-session.js → 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('@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';
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';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -13,66 +13,17 @@
13
13
  var d = Object.getOwnPropertyDescriptor(e, k);
14
14
  Object.defineProperty(n, k, d.get ? d : {
15
15
  enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
16
+ get: function () { return e[k]; }
19
17
  });
20
18
  }
21
19
  });
22
20
  }
23
- n['default'] = e;
21
+ n["default"] = e;
24
22
  return Object.freeze(n);
25
23
  }
26
24
 
27
25
  var ___namespace = /*#__PURE__*/_interopNamespace(_);
28
26
 
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
-
76
27
  /*! *****************************************************************************
77
28
  Copyright (c) Microsoft Corporation.
78
29
 
@@ -299,10 +250,16 @@
299
250
  r[k] = a[j];
300
251
  return r;
301
252
  }
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;
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));
306
263
  }
307
264
  function __await(v) {
308
265
  return this instanceof __await ? (this.v = v, this) : new __await(v);
@@ -385,114 +342,104 @@
385
342
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
386
343
  }
387
344
 
388
- var urlSerialiser = new router.DefaultUrlSerializer();
389
- exports.Path = /** @class */ (function () {
390
- function Path(segments) {
391
- this.segments = segments;
345
+ exports.ElementLocator = void 0;
346
+ (function (ElementLocator) {
347
+ function findByCssSelector(selector) {
348
+ return function (parent) { return parent.dom().find(selector); };
392
349
  }
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;
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;
369
+ }
370
+ PageElement.prototype.getDefaultElementLocator = function () {
371
+ return exports.ElementLocator.findByCssSelector(this.getDefaultElementSelector());
402
372
  };
403
- Path.prototype.toUrl = function (matrixParams) {
404
- return this.segments.map(function (s) { return s.toUrlPart(matrixParams); }).join('/');
373
+ PageElement.prototype.getDefaultElementSelector = function () {
374
+ return typescriptUtilities.Stringy.from(this.constructor.name).dasherize().toString();
405
375
  };
406
- return Path;
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');
406
+ };
407
+ PageElement.prototype.shouldNotExist = function () {
408
+ this.dom().should('not.exist');
409
+ };
410
+ return PageElement;
407
411
  }());
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 = {}));
453
412
 
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
- }());
474
413
  var AupCommandFace = /** @class */ (function (_super) {
475
414
  __extends(AupCommandFace, _super);
476
415
  function AupCommandFace(parentElement, face) {
477
- return _super.call(this, function () { return parentElement.element(); }, AupCommandFace.createAccessor(face)) || this;
416
+ return _super.call(this, parentElement, AupCommandFace.createElementLocator(face)) || this;
478
417
  }
479
- AupCommandFace.createAccessor = function (face) {
480
- return new FaceAccessor(face);
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;
481
428
  };
482
429
  return AupCommandFace;
483
430
  }(PageElement));
484
431
 
485
432
  var AupCommand = /** @class */ (function (_super) {
486
433
  __extends(AupCommand, _super);
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');
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');
493
441
  }
494
442
  }) || this;
495
- return _this;
496
443
  }
497
444
  AupCommand.prototype.click = function () {
498
445
  this.getButton().click();
@@ -503,25 +450,39 @@
503
450
  AupCommand.prototype.shouldBeDisabled = function () {
504
451
  this.getButton().should('be.disabled');
505
452
  };
453
+ AupCommand.prototype.shouldBeEnabled = function () {
454
+ this.getButton().should('not.be.disabled');
455
+ };
506
456
  AupCommand.prototype.getButton = function () {
507
- return this.element().find('button');
457
+ return this.dom().find('button');
508
458
  };
509
459
  return AupCommand;
510
460
  }(PageElement));
511
461
 
462
+ var AupEmptyState = /** @class */ (function (_super) {
463
+ __extends(AupEmptyState, _super);
464
+ function AupEmptyState() {
465
+ return _super !== null && _super.apply(this, arguments) || this;
466
+ }
467
+ AupEmptyState.prototype.shouldContainText = function (text) {
468
+ this.dom().should("contain.text", text);
469
+ };
470
+ return AupEmptyState;
471
+ }(PageElement));
472
+
512
473
  exports.AupInput = /** @class */ (function (_super) {
513
474
  __extends(AupInput, _super);
514
475
  function AupInput() {
515
476
  return _super !== null && _super.apply(this, arguments) || this;
516
477
  }
517
478
  AupInput.prototype.label = function () {
518
- return this.element().find('label');
479
+ return this.dom().find('label');
519
480
  };
520
481
  AupInput.prototype.hint = function () {
521
- return this.element().find('mat-hint');
482
+ return this.dom().find('mat-hint');
522
483
  };
523
484
  AupInput.prototype.error = function () {
524
- return this.element().find('mat-error');
485
+ return this.dom().find('mat-error');
525
486
  };
526
487
  Object.defineProperty(AupInput.prototype, "labelShould", {
527
488
  get: function () {
@@ -553,6 +514,18 @@
553
514
  AupInput.prototype.errorShouldBe = function (text) {
554
515
  return this.errorShould("have.text", text);
555
516
  };
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
+ };
556
529
  return AupInput;
557
530
  }(PageElement));
558
531
  (function (AupInput) {
@@ -562,7 +535,7 @@
562
535
  return _super !== null && _super.apply(this, arguments) || this;
563
536
  }
564
537
  HtmlInput.prototype.input = function () {
565
- return this.element().find('input');
538
+ return this.dom().find('input');
566
539
  };
567
540
  HtmlInput.prototype.clear = function () {
568
541
  this.input().clear();
@@ -588,7 +561,7 @@
588
561
  return this.input();
589
562
  };
590
563
  TextAreaInput.prototype.input = function () {
591
- return this.element().find('textarea');
564
+ return this.dom().find('textarea');
592
565
  };
593
566
  TextAreaInput.prototype.clear = function () {
594
567
  this.input().clear();
@@ -604,6 +577,59 @@
604
577
  AupInput.TextAreaInput = TextAreaInput;
605
578
  })(exports.AupInput || (exports.AupInput = {}));
606
579
 
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
+
607
633
  var AupNavigation = /** @class */ (function (_super) {
608
634
  __extends(AupNavigation, _super);
609
635
  function AupNavigation() {
@@ -619,61 +645,197 @@
619
645
  this.face(label).shouldBeVisible();
620
646
  };
621
647
  AupNavigation.prototype.shouldNotHaveLink = function (label) {
622
- this.face(label).shouldNotBeVisible();
648
+ this.face(label).shouldNotExist();
623
649
  };
624
650
  return AupNavigation;
625
651
  }(PageElement));
626
652
 
627
- exports.AupTable = /** @class */ (function (_super) {
628
- __extends(AupTable, _super);
629
- function AupTable(parentElementAccessor, selector) {
630
- return _super.call(this, parentElementAccessor, selector) || this;
653
+ var AupTableCell = /** @class */ (function (_super) {
654
+ __extends(AupTableCell, _super);
655
+ function AupTableCell() {
656
+ return _super !== null && _super.apply(this, arguments) || this;
631
657
  }
632
- AupTable.prototype.row = function (rowId) {
633
- var _this = this;
634
- return new AupTable.Row(function () { return _this.element(); }, "tr[aup-table-id=" + rowId + "]");
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
+ });
635
666
  };
636
- AupTable.prototype.column = function (columnId) {
637
- return new AupTable.Column(this, columnId);
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
+ });
638
682
  };
639
- return AupTable;
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;
640
725
  }(PageElement));
641
- (function (AupTable) {
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) {
781
+ __extends(AupTable, _super);
782
+ function AupTable() {
783
+ return _super !== null && _super.apply(this, arguments) || this;
784
+ }
785
+ AupTable.prototype.createRow = function (locator) {
786
+ return new AupTableRow(this, locator);
787
+ };
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);
805
+ };
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) {
642
814
  var Row = /** @class */ (function (_super) {
643
815
  __extends(Row, _super);
644
816
  function Row() {
645
817
  return _super !== null && _super.apply(this, arguments) || this;
646
818
  }
647
- return Row;
648
- }(PageElement));
649
- AupTable.Row = Row;
650
- var Column = /** @class */ (function () {
651
- function Column(table, columnId) {
652
- this.table = table;
653
- this.columnId = columnId;
654
- }
655
- Column.prototype.cell = function (content) {
656
- var self = this;
657
- return new Cell(this.table, {
658
- findIn: function (parent) {
659
- return parent.contains("aup-table-cell-renderer[column-id=" + self.columnId + "]", content);
660
- }
661
- });
819
+ Row.prototype.shouldBeExpanded = function () {
820
+ this.dom().should("not.have.class", "aup-node-collapsed");
662
821
  };
663
- return Column;
664
- }());
665
- AupTable.Column = Column;
666
- var Cell = /** @class */ (function (_super) {
667
- __extends(Cell, _super);
668
- function Cell() {
822
+ Row.prototype.shouldBeCollapsed = function () {
823
+ this.dom().should("have.class", "aup-node-collapsed");
824
+ };
825
+ return Row;
826
+ }(AupTableRow));
827
+ AupTreeTable.Row = Row;
828
+ var TreeControlColumn = /** @class */ (function (_super) {
829
+ __extends(TreeControlColumn, _super);
830
+ function TreeControlColumn() {
669
831
  return _super !== null && _super.apply(this, arguments) || this;
670
832
  }
671
- return Cell;
672
- }(PageElement));
673
- AupTable.Cell = Cell;
674
- })(exports.AupTable || (exports.AupTable = {}));
833
+ return TreeControlColumn;
834
+ }(AupTableColumn));
835
+ AupTreeTable.TreeControlColumn = TreeControlColumn;
836
+ })(exports.AupTreeTable || (exports.AupTreeTable = {}));
675
837
 
676
- function ButtonMixin(Base) {
838
+ function FormElementMixin(Base) {
677
839
  return /** @class */ (function (_super) {
678
840
  __extends(class_1, _super);
679
841
  function class_1() {
@@ -683,12 +845,8 @@
683
845
  }
684
846
  return _super.apply(this, __spreadArray([], __read(args))) || this;
685
847
  }
686
- class_1.prototype.click = function () {
687
- return this.element().click();
688
- };
689
848
  class_1.prototype.shouldBeDisabled = function () {
690
849
  this.should("be.disabled");
691
- // this.should("have.css", "color", "rgba(0,0,0,0.26)")
692
850
  };
693
851
  return class_1;
694
852
  }(Base));
@@ -697,104 +855,346 @@
697
855
  var Button = /** @class */ (function (_super) {
698
856
  __extends(Button, _super);
699
857
  function Button(parentElementAccessor, buttonText) {
700
- return _super.call(this, parentElementAccessor, {
701
- findIn: function (parent) {
702
- return parent.contains('button', buttonText);
703
- },
704
- shouldNotExist: function (parent) {
705
- return parent.should('not.contain', buttonText);
706
- }
707
- }) || this;
858
+ return _super.call(this, parentElementAccessor, exports.ElementLocator.findBySelectorAndTextContent('button', buttonText)) || this;
708
859
  }
709
860
  return Button;
710
- }(ButtonMixin(PageElement)));
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)));
711
897
 
712
- exports.Section = void 0;
713
- (function (Section) {
714
- function create(builder) {
715
- var impl = new StandAloneSection();
716
- return typescriptUtilities.Mixin.createProxy(builder(impl), impl);
898
+ exports.ComponentBuilder = /** @class */ (function () {
899
+ function ComponentBuilder(parentPageElement) {
900
+ this.parentPageElement = parentPageElement;
717
901
  }
718
- Section.create = create;
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) {
719
967
  function Mixin(Base) {
720
968
  return /** @class */ (function (_super) {
721
969
  __extends(class_1, _super);
722
970
  function class_1() {
723
- return _super !== null && _super.apply(this, arguments) || this;
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;
724
978
  }
725
- class_1.prototype.section = function (selector, section) {
726
- var impl = new NestedSection(this, selector);
727
- return typescriptUtilities.Mixin.createProxy(section(impl), impl);
728
- };
729
- class_1.prototype.find = function (selector) {
730
- var _this = this;
731
- return new PageElement(function () { return _this.element(); }, selector);
732
- };
733
- class_1.prototype.contains = function (text) {
734
- var _this = this;
735
- return new PageElement(function () { return _this.element(); }, {
736
- findIn: function (parent) { return parent.contains(text); },
737
- shouldNotExist: function (parent) { return parent.should('not.contain', text); }
738
- });
739
- };
740
- class_1.prototype.button = function (text) {
741
- var _this = this;
742
- return new Button(function () { return _this.element(); }, text);
743
- };
744
- class_1.prototype.aupStringInput = function (selector) {
745
- var _this = this;
746
- return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-string-input');
747
- };
748
- class_1.prototype.aupTextInput = function (selector) {
749
- var _this = this;
750
- return new exports.AupInput.TextAreaInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-text-input');
751
- };
752
- class_1.prototype.aupPasswordInput = function (selector) {
753
- var _this = this;
754
- return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-password-input');
755
- };
756
- class_1.prototype.aupNumberInput = function (selector) {
757
- var _this = this;
758
- return new exports.AupInput.HtmlInput(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-number-input');
759
- };
760
- class_1.prototype.aupCommand = function (face) {
761
- return new AupCommand(this, face);
762
- };
763
- class_1.prototype.aupTabbedNavigation = function () {
764
- return new AupNavigation(this, 'aup-tabbed-place-navigation');
765
- };
766
- class_1.prototype.aupSideNavigation = function () {
767
- var _this = this;
768
- return new AupNavigation(function () { return _this.element(); }, 'aup-list-place-nav');
769
- };
770
- class_1.prototype.aupTable = function (selector) {
771
- var _this = this;
772
- return new exports.AupTable(function () { return _this.element(); }, selector !== null && selector !== void 0 ? selector : 'aup-table');
773
- };
774
979
  return class_1;
775
980
  }(Base));
776
981
  }
777
- Section.Mixin = Mixin;
778
- var NestedSection = /** @class */ (function (_super) {
779
- __extends(NestedSection, _super);
780
- function NestedSection() {
781
- return _super !== null && _super.apply(this, arguments) || this;
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 : [];
782
1165
  }
783
- return NestedSection;
784
- }(Mixin(PageElement)));
785
- var StandAloneSection = /** @class */ (function (_super) {
786
- __extends(StandAloneSection, _super);
787
- function StandAloneSection() {
788
- var _this = _super.call(this, undefined, undefined) || this;
789
- _this.rootElementSelector = 'body';
790
- return _this;
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 = [];
791
1185
  }
792
- StandAloneSection.prototype.element = function () {
793
- return cy.get(this.rootElementSelector);
1186
+ Builder.prototype.segment = function (name, params) {
1187
+ var builder = new Segment(name, params);
1188
+ this.segments.push(builder);
1189
+ return this;
794
1190
  };
795
- return StandAloneSection;
796
- }(Mixin(PageElement)));
797
- })(exports.Section || (exports.Section = {}));
1191
+ Builder.prototype.getPath = function () {
1192
+ return new Path(this.segments);
1193
+ };
1194
+ return Builder;
1195
+ }());
1196
+ Path.Builder = Builder;
1197
+ })(exports.Path || (exports.Path = {}));
798
1198
 
799
1199
  exports.Page = /** @class */ (function (_super) {
800
1200
  __extends(Page, _super);
@@ -804,7 +1204,7 @@
804
1204
  _this.rootElementSelector = 'body';
805
1205
  return _this;
806
1206
  }
807
- Page.prototype.element = function () {
1207
+ Page.prototype.dom = function () {
808
1208
  return cy.get(this.rootElementSelector);
809
1209
  };
810
1210
  Page.prototype.visit = function (visitParams, queryParams) {
@@ -814,7 +1214,9 @@
814
1214
  Page.prototype.tryAndVisit = function (params, queryParams) {
815
1215
  var path = this.path.toUrl(params !== null && params !== void 0 ? params : {});
816
1216
  var queryString = queryParams ? "?" + new URLSearchParams(queryParams).toString() : '';
817
- cy.visit("/" + path + queryString);
1217
+ var fullPath = "/" + path + queryString;
1218
+ cy.log("Visiting -> " + fullPath);
1219
+ cy.visit(fullPath);
818
1220
  };
819
1221
  Page.prototype.shouldHaveActivityIds = function () {
820
1222
  var ids = [];
@@ -831,45 +1233,50 @@
831
1233
  };
832
1234
  Page.prototype.shouldBeActive = function (withParameters) {
833
1235
  // Note: cy.window() doesn't return a promise... it's a chainable.
834
- cy["waitUntil"](function () {
1236
+ cy['waitUntil'](function () {
835
1237
  return cy.window().then(function (window) {
836
1238
  return window['aup.PlaceRouter'] && !window['aup.PlaceRouter'].isNavigating();
837
1239
  });
838
1240
  });
839
1241
  if (withParameters) {
840
- cy.location('pathname').then(function (path) {
841
- var urlParams = exports.Path.extractVisitParameters(path);
842
- Object.keys(withParameters).forEach(function (param) {
843
- var expected = withParameters[param];
844
- // @ts-ignore
845
- expect(urlParams[param]).to.equal(expected);
846
- });
847
- });
1242
+ this.shouldIncludeParameters(withParameters);
848
1243
  }
849
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);
1253
+ });
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); });
1263
+ };
850
1264
  return Page;
851
1265
  }(PageElement));
852
1266
  (function (Page) {
853
- function create(pathOrPathBuilder, page) {
1267
+ function create(pathOrPathBuilder, builder) {
854
1268
  var pathBuilder = new exports.Path.Builder();
855
1269
  if (___namespace.isString(pathOrPathBuilder)) {
856
- pathOrPathBuilder.split("/").filter(function (p) { return !___namespace.isEmpty(p); }).forEach(function (p) { return pathBuilder.segment(p); });
1270
+ pathOrPathBuilder.split('/').filter(function (p) { return !___namespace.isEmpty(p); }).forEach(function (p) { return pathBuilder.segment(p); });
857
1271
  }
858
1272
  else {
859
1273
  pathOrPathBuilder(pathBuilder);
860
1274
  }
861
- var builder = new PageBuilder(pathBuilder.getPath());
862
- return typescriptUtilities.Mixin.createProxy(page(builder), builder);
1275
+ var instance = new Page(pathBuilder.getPath());
1276
+ var content = builder.call(instance, new PageBuilder(instance));
1277
+ return typescriptUtilities.Mixin.createProxy(content, instance);
863
1278
  }
864
1279
  Page.create = create;
865
- var PageBuilder = /** @class */ (function (_super) {
866
- __extends(PageBuilder, _super);
867
- function PageBuilder() {
868
- return _super !== null && _super.apply(this, arguments) || this;
869
- }
870
- return PageBuilder;
871
- }(exports.Section.Mixin(Page)));
872
- Page.PageBuilder = PageBuilder;
873
1280
  })(exports.Page || (exports.Page = {}));
874
1281
 
875
1282
  var AupCommandGroup = /** @class */ (function (_super) {
@@ -880,49 +1287,41 @@
880
1287
  return AupCommandGroup;
881
1288
  }(PageElement));
882
1289
 
883
- var AupMoreMenu = /** @class */ (function (_super) {
884
- __extends(AupMoreMenu, _super);
885
- function AupMoreMenu() {
1290
+ var AupToolBar = /** @class */ (function (_super) {
1291
+ __extends(AupToolBar, _super);
1292
+ function AupToolBar() {
886
1293
  return _super !== null && _super.apply(this, arguments) || this;
887
1294
  }
888
- AupMoreMenu.create = function (parent) {
889
- return new AupMoreMenu(parent, 'aup-more-menu');
1295
+ AupToolBar.create = function (parent, face) {
1296
+ // const findFace = AupCommandFace.createFinder(() => parent.element(), face)
1297
+ // return new AupCommandGroup(() => findFace().closest('button'));
890
1298
  };
891
- return AupMoreMenu;
1299
+ return AupToolBar;
892
1300
  }(PageElement));
893
1301
 
894
1302
  var AupPopupMenu = /** @class */ (function (_super) {
895
1303
  __extends(AupPopupMenu, _super);
896
1304
  function AupPopupMenu(parentElementAccessor, face) {
897
1305
  var _this = this;
898
- var accessor = AupCommandFace.createAccessor(face);
899
- _this = _super.call(this, parentElementAccessor, {
900
- findIn: function (parent) {
901
- return accessor.findIn(parent).closest('button');
902
- },
903
- shouldNotExist: function (parent) {
904
- accessor.shouldNotExist(parent);
905
- }
906
- }) || this;
1306
+ var locator = AupCommandFace.createElementLocator(face);
1307
+ _this = _super.call(this, parentElementAccessor, function (parent) { return locator(parent).closest('button'); }) || this;
907
1308
  return _this;
908
1309
  }
909
1310
  AupPopupMenu.create = function (parent, face) {
910
1311
  return new AupPopupMenu(parent, face);
911
1312
  };
912
1313
  return AupPopupMenu;
913
- }(PageElement));
1314
+ }(AupAbstractPopupMenu));
914
1315
 
915
- var AupToolBar = /** @class */ (function (_super) {
916
- __extends(AupToolBar, _super);
917
- function AupToolBar() {
1316
+ var AupTableSelectionCell = /** @class */ (function (_super) {
1317
+ __extends(AupTableSelectionCell, _super);
1318
+ function AupTableSelectionCell() {
918
1319
  return _super !== null && _super.apply(this, arguments) || this;
919
1320
  }
920
- AupToolBar.create = function (parent, face) {
921
- // const findFace = AupCommandFace.createFinder(() => parent.element(), face)
922
- // return new AupCommandGroup(() => findFace().closest('button'));
1321
+ AupTableSelectionCell.prototype.selectAll = function () {
923
1322
  };
924
- return AupToolBar;
925
- }(PageElement));
1323
+ return AupTableSelectionCell;
1324
+ }(AupTableCell));
926
1325
 
927
1326
  /**
928
1327
  * @file Automatically generated by barrelsby.
@@ -932,19 +1331,37 @@
932
1331
  * Generated bundle index. Do not edit.
933
1332
  */
934
1333
 
1334
+ exports.AupAbstractActivity = AupAbstractActivity;
1335
+ exports.AupAbstractPopupMenu = AupAbstractPopupMenu;
1336
+ exports.AupActivity = AupActivity;
1337
+ exports.AupAlert = AupAlert;
1338
+ exports.AupAlertDialog = AupAlertDialog;
935
1339
  exports.AupCommand = AupCommand;
936
1340
  exports.AupCommandFace = AupCommandFace;
937
1341
  exports.AupCommandGroup = AupCommandGroup;
1342
+ exports.AupConfirm = AupConfirm;
1343
+ exports.AupConfirmDialog = AupConfirmDialog;
1344
+ exports.AupEmptyState = AupEmptyState;
1345
+ exports.AupModalActivity = AupModalActivity;
1346
+ exports.AupModalMixin = AupModalMixin;
938
1347
  exports.AupMoreMenu = AupMoreMenu;
939
1348
  exports.AupNavigation = AupNavigation;
940
1349
  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;
941
1357
  exports.AupToolBar = AupToolBar;
942
1358
  exports.Button = Button;
943
- exports.ButtonMixin = ButtonMixin;
944
- exports.FaceAccessor = FaceAccessor;
1359
+ exports.FormElementMixin = FormElementMixin;
1360
+ exports.MatCheckbox = MatCheckbox;
1361
+ exports.PageBuilder = PageBuilder;
945
1362
  exports.PageElement = PageElement;
946
1363
 
947
1364
  Object.defineProperty(exports, '__esModule', { value: true });
948
1365
 
949
- })));
1366
+ }));
950
1367
  //# sourceMappingURL=coolon-angular-ui-powerups-cypress.umd.js.map