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

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