@coolon/angular-ui-powerups 12.4.0-alpha.2 → 12.4.0-alpha.21

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 (166) hide show
  1. package/assets/empty-state.scss +11 -0
  2. package/assets/styles.scss +1 -0
  3. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +643 -306
  4. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.js +7 -11
  6. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/cypress/builder.d.ts +44 -0
  9. package/cypress/components/aup-abstract-activity.d.ts +9 -0
  10. package/cypress/components/aup-abstract-table.d.ts +18 -0
  11. package/cypress/components/aup-activity.d.ts +9 -0
  12. package/cypress/components/aup-alert-dialog.d.ts +7 -0
  13. package/cypress/components/aup-alert.d.ts +9 -0
  14. package/cypress/components/aup-command-face.d.ts +2 -8
  15. package/cypress/components/aup-command.d.ts +1 -1
  16. package/cypress/components/aup-empty-state.d.ts +4 -0
  17. package/cypress/components/aup-input.d.ts +11 -5
  18. package/cypress/components/aup-modal-activity.d.ts +4 -0
  19. package/cypress/components/aup-table.d.ts +5 -18
  20. package/cypress/components/aup-tree-table.d.ts +16 -0
  21. package/cypress/components/button.d.ts +10 -7
  22. package/cypress/components/form-element-mixin.d.ts +21 -0
  23. package/cypress/components/mat-checkbox.d.ts +30 -0
  24. package/cypress/components/popup/aup-abstract-popup-menu.d.ts +15 -0
  25. package/cypress/components/popup/aup-more-menu.d.ts +5 -0
  26. package/cypress/components/popup/aup-popup-menu-panel.d.ts +3 -0
  27. package/cypress/components/popup/aup-popup-menu.d.ts +7 -0
  28. package/cypress/components/table/aup-table-cell.d.ts +9 -0
  29. package/cypress/components/table/aup-table-column.d.ts +10 -0
  30. package/cypress/components/table/aup-table-row.d.ts +17 -0
  31. package/cypress/components/table/aup-table-selection-cell.d.ts +5 -0
  32. package/cypress/components/table/aup-table-selection-column.d.ts +5 -0
  33. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  34. package/cypress/element-locator.d.ts +8 -0
  35. package/cypress/exports.d.ts +22 -4
  36. package/cypress/page-builder.d.ts +8 -0
  37. package/cypress/page-element.d.ts +10 -12
  38. package/cypress/page.d.ts +5 -33
  39. package/esm2015/cypress/builder.js +81 -0
  40. package/esm2015/cypress/builder.js.map +1 -0
  41. package/esm2015/cypress/builder.metadata.json +1 -0
  42. package/esm2015/cypress/components/aup-abstract-activity.js +12 -0
  43. package/esm2015/cypress/components/aup-abstract-activity.js.map +1 -0
  44. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +1 -0
  45. package/esm2015/cypress/components/aup-abstract-table.js +50 -0
  46. package/esm2015/cypress/components/aup-abstract-table.js.map +1 -0
  47. package/esm2015/cypress/components/aup-abstract-table.metadata.json +1 -0
  48. package/esm2015/cypress/components/aup-activity.js +13 -0
  49. package/esm2015/cypress/components/aup-activity.js.map +1 -0
  50. package/esm2015/cypress/components/aup-activity.metadata.json +1 -0
  51. package/esm2015/cypress/components/aup-alert-dialog.js +12 -0
  52. package/esm2015/cypress/components/aup-alert-dialog.js.map +1 -0
  53. package/esm2015/cypress/components/aup-alert-dialog.metadata.json +1 -0
  54. package/esm2015/cypress/components/aup-alert.js +13 -0
  55. package/esm2015/cypress/components/aup-alert.js.map +1 -0
  56. package/esm2015/cypress/components/aup-alert.metadata.json +1 -0
  57. package/esm2015/cypress/components/aup-command-face.js +11 -22
  58. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  59. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  60. package/esm2015/cypress/components/aup-command.js +9 -6
  61. package/esm2015/cypress/components/aup-command.js.map +1 -1
  62. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  63. package/esm2015/cypress/components/aup-empty-state.js +7 -0
  64. package/esm2015/cypress/components/aup-empty-state.js.map +1 -0
  65. package/esm2015/cypress/components/aup-empty-state.metadata.json +1 -0
  66. package/esm2015/cypress/components/aup-input.js +17 -5
  67. package/esm2015/cypress/components/aup-input.js.map +1 -1
  68. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  69. package/esm2015/cypress/components/aup-modal-activity.js +7 -0
  70. package/esm2015/cypress/components/aup-modal-activity.js.map +1 -0
  71. package/esm2015/cypress/components/aup-modal-activity.metadata.json +1 -0
  72. package/esm2015/cypress/components/aup-navigation.js +1 -1
  73. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  74. package/esm2015/cypress/components/aup-table.js +5 -33
  75. package/esm2015/cypress/components/aup-table.js.map +1 -1
  76. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  77. package/esm2015/cypress/components/aup-tree-table.js +34 -0
  78. package/esm2015/cypress/components/aup-tree-table.js.map +1 -0
  79. package/esm2015/cypress/components/aup-tree-table.metadata.json +1 -0
  80. package/esm2015/cypress/components/button.js +4 -10
  81. package/esm2015/cypress/components/button.js.map +1 -1
  82. package/esm2015/cypress/components/button.metadata.json +1 -1
  83. package/esm2015/cypress/components/form-element-mixin.js +11 -0
  84. package/esm2015/cypress/components/form-element-mixin.js.map +1 -0
  85. package/esm2015/cypress/components/form-element-mixin.metadata.json +1 -0
  86. package/esm2015/cypress/components/mat-checkbox.js +34 -0
  87. package/esm2015/cypress/components/mat-checkbox.js.map +1 -0
  88. package/esm2015/cypress/components/mat-checkbox.metadata.json +1 -0
  89. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +33 -0
  90. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +1 -0
  91. package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +1 -0
  92. package/esm2015/cypress/components/popup/aup-more-menu.js +8 -0
  93. package/esm2015/cypress/components/popup/aup-more-menu.js.map +1 -0
  94. package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +1 -0
  95. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +4 -0
  96. package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +1 -0
  97. package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +1 -0
  98. package/esm2015/cypress/components/popup/aup-popup-menu.js +12 -0
  99. package/esm2015/cypress/components/popup/aup-popup-menu.js.map +1 -0
  100. package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +1 -0
  101. package/esm2015/cypress/components/table/aup-table-cell.js +14 -0
  102. package/esm2015/cypress/components/table/aup-table-cell.js.map +1 -0
  103. package/esm2015/cypress/components/table/aup-table-cell.metadata.json +1 -0
  104. package/esm2015/cypress/components/table/aup-table-column.js +19 -0
  105. package/esm2015/cypress/components/table/aup-table-column.js.map +1 -0
  106. package/esm2015/cypress/components/table/aup-table-column.metadata.json +1 -0
  107. package/esm2015/cypress/components/table/aup-table-row.js +28 -0
  108. package/esm2015/cypress/components/table/aup-table-row.js.map +1 -0
  109. package/esm2015/cypress/components/table/aup-table-row.metadata.json +1 -0
  110. package/esm2015/cypress/components/table/aup-table-selection-cell.js +6 -0
  111. package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +1 -0
  112. package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +1 -0
  113. package/esm2015/cypress/components/table/aup-table-selection-column.js +6 -0
  114. package/esm2015/cypress/components/table/aup-table-selection-column.js.map +1 -0
  115. package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +1 -0
  116. package/esm2015/cypress/element-locator.js +16 -0
  117. package/esm2015/cypress/element-locator.js.map +1 -0
  118. package/esm2015/cypress/element-locator.metadata.json +1 -0
  119. package/esm2015/cypress/exports.js +22 -4
  120. package/esm2015/cypress/exports.js.map +1 -1
  121. package/esm2015/cypress/exports.metadata.json +1 -1
  122. package/esm2015/cypress/page-builder.js +15 -0
  123. package/esm2015/cypress/page-builder.js.map +1 -0
  124. package/esm2015/cypress/page-builder.metadata.json +1 -0
  125. package/esm2015/cypress/page-element.js +22 -19
  126. package/esm2015/cypress/page-element.js.map +1 -1
  127. package/esm2015/cypress/page-element.metadata.json +1 -1
  128. package/esm2015/cypress/page.js +8 -10
  129. package/esm2015/cypress/page.js.map +1 -1
  130. package/esm2015/cypress/page.metadata.json +1 -1
  131. package/esm2015/cypress/path.js +3 -1
  132. package/esm2015/cypress/path.js.map +1 -1
  133. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  134. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  135. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
  136. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
  137. package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
  138. package/esm2015/lib/components/tables/tree-table/tree-table-model.js +1 -0
  139. package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
  140. package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
  141. package/esm2015/lib/place/url-snapshot.js +1 -7
  142. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  143. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  144. package/fesm2015/coolon-angular-ui-powerups-cypress.js +482 -221
  145. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  146. package/fesm2015/coolon-angular-ui-powerups.js +7 -11
  147. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  148. package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +0 -1
  149. package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
  150. package/package.json +1 -1
  151. package/cypress/components/aup-more-menu.d.ts +0 -4
  152. package/cypress/components/aup-popup-menu.d.ts +0 -7
  153. package/cypress/components/button-mixin.d.ts +0 -19
  154. package/cypress/section.d.ts +0 -51
  155. package/esm2015/cypress/components/aup-more-menu.js +0 -7
  156. package/esm2015/cypress/components/aup-more-menu.js.map +0 -1
  157. package/esm2015/cypress/components/aup-more-menu.metadata.json +0 -1
  158. package/esm2015/cypress/components/aup-popup-menu.js +0 -19
  159. package/esm2015/cypress/components/aup-popup-menu.js.map +0 -1
  160. package/esm2015/cypress/components/aup-popup-menu.metadata.json +0 -1
  161. package/esm2015/cypress/components/button-mixin.js +0 -15
  162. package/esm2015/cypress/components/button-mixin.js.map +0 -1
  163. package/esm2015/cypress/components/button-mixin.metadata.json +0 -1
  164. package/esm2015/cypress/section.js +0 -58
  165. package/esm2015/cypress/section.js.map +0 -1
  166. package/esm2015/cypress/section.metadata.json +0 -1
@@ -1,36 +1,8 @@
1
- import { PageElement } from '../page-element';
2
- export class AupTable extends PageElement {
3
- constructor(parentElementAccessor, selector) {
4
- super(parentElementAccessor, selector);
5
- }
6
- row(rowId) {
7
- return new AupTable.Row(() => this.element(), `tr[aup-table-id=${rowId}]`);
8
- }
9
- column(columnId) {
10
- return new AupTable.Column(this, columnId);
1
+ import { AupAbstractTable } from './aup-abstract-table';
2
+ import { AupTableRow } from './table/aup-table-row';
3
+ export class AupTable extends AupAbstractTable {
4
+ createRow(locator) {
5
+ return new AupTableRow(this, locator);
11
6
  }
12
7
  }
13
- (function (AupTable) {
14
- class Row extends PageElement {
15
- }
16
- AupTable.Row = Row;
17
- class Column {
18
- constructor(table, columnId) {
19
- this.table = table;
20
- this.columnId = columnId;
21
- }
22
- cell(content) {
23
- const self = this;
24
- return new Cell(this.table, {
25
- findIn(parent) {
26
- return parent.contains(`aup-table-cell-renderer[column-id=${self.columnId}]`, content);
27
- }
28
- });
29
- }
30
- }
31
- AupTable.Column = Column;
32
- class Cell extends PageElement {
33
- }
34
- AupTable.Cell = Cell;
35
- })(AupTable || (AupTable = {}));
36
8
  //# sourceMappingURL=aup-table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aup-table.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/aup-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,OAAO,QAAS,SAAQ,WAAW;IAEvC,YAAY,qBAAsD,EAAE,QAAuC;QACzG,KAAK,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC;IACzC,CAAC;IAED,GAAG,CAAC,KAAU;QACZ,OAAO,IAAI,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,mBAAmB,KAAK,GAAG,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,CAAC,QAAgB;QACrB,OAAO,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC7C,CAAC;CAEF;AAED,WAAiB,QAAQ;IACvB,MAAa,GAAI,SAAQ,WAAW;KAEnC;IAFY,YAAG,MAEf,CAAA;IAED,MAAa,MAAM;QACjB,YAAqB,KAAe,EAAW,QAAgB;YAA1C,UAAK,GAAL,KAAK,CAAU;YAAW,aAAQ,GAAR,QAAQ,CAAQ;QAC/D,CAAC;QAED,IAAI,CAAC,OAAe;YAClB,MAAM,IAAI,GAAG,IAAI,CAAC;YAClB,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;gBAC1B,MAAM,CAAC,MAAiC;oBACtC,OAAO,MAAM,CAAC,QAAQ,CAAC,qCAAqC,IAAI,CAAC,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC;gBACzF,CAAC;aACF,CAAC,CAAC;QACL,CAAC;KACF;IAZY,eAAM,SAYlB,CAAA;IAED,MAAa,IAAK,SAAQ,WAAW;KACpC;IADY,aAAI,OAChB,CAAA;AACH,CAAC,EArBgB,QAAQ,KAAR,QAAQ,QAqBxB","sourcesContent":["import { PageElement } from '../page-element';\nimport { Section } from '../section';\n\nexport class AupTable extends PageElement {\n\n constructor(parentElementAccessor: () => Cypress.Chainable<JQuery>, selector: string | PageElement.Accessor) {\n super(parentElementAccessor, selector);\n }\n\n row(rowId: any): AupTable.Row {\n return new AupTable.Row(() => this.element(), `tr[aup-table-id=${rowId}]`);\n }\n\n column(columnId: string): AupTable.Column {\n return new AupTable.Column(this, columnId);\n }\n\n}\n\nexport namespace AupTable {\n export class Row extends PageElement {\n\n }\n\n export class Column {\n constructor(readonly table: AupTable, readonly columnId: string) {\n }\n\n cell(content: string): Cell {\n const self = this;\n return new Cell(this.table, {\n findIn(parent: Cypress.Chainable<JQuery>): Cypress.Chainable<JQuery> {\n return parent.contains(`aup-table-cell-renderer[column-id=${self.columnId}]`, content);\n }\n });\n }\n }\n\n export class Cell extends PageElement {\n }\n}\n"]}
1
+ {"version":3,"file":"aup-table.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/aup-table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,OAAO,QAAS,SAAQ,gBAA6B;IACzD,SAAS,CAAC,OAAuB;QAC/B,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;CACF","sourcesContent":["/* tslint:disable:unified-signatures */\nimport { ElementLocator } from '../element-locator';\nimport { AupAbstractTable } from './aup-abstract-table';\nimport { AupTableRow } from './table/aup-table-row';\n\nexport class AupTable extends AupAbstractTable<AupTableRow> {\n createRow(locator: ElementLocator): AupTableRow {\n return new AupTableRow(this, locator);\n }\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"AupTable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../page-element","name":"PageElement","line":3,"character":30},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":5,"character":37},{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../page-element","name":"PageElement","line":5,"character":89},"member":"Accessor"}]}],"row":[{"__symbolic":"method"}],"column":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-abstract-table","name":"AupAbstractTable","line":5,"character":30},"members":{"createRow":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,34 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ /* tslint:disable:unified-signatures */
3
+ import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
4
+ import { AupAbstractTable } from './aup-abstract-table';
5
+ import { AupTableColumn } from './table/aup-table-column';
6
+ import { AupTableRow } from './table/aup-table-row';
7
+ export class AupTreeTable extends AupAbstractTable {
8
+ get treeControlColumn() {
9
+ return new AupTreeTable.TreeControlColumn(this, 'tree-label');
10
+ }
11
+ createRow(locator) {
12
+ return new AupTreeTable.Row(this, locator);
13
+ }
14
+ }
15
+ __decorate([
16
+ Memoize(),
17
+ __metadata("design:type", AupTreeTable.TreeControlColumn),
18
+ __metadata("design:paramtypes", [])
19
+ ], AupTreeTable.prototype, "treeControlColumn", null);
20
+ (function (AupTreeTable) {
21
+ class Row extends AupTableRow {
22
+ shouldBeExpanded() {
23
+ this.dom().should("not.have.class", "aup-node-collapsed");
24
+ }
25
+ shouldBeCollapsed() {
26
+ this.dom().should("have.class", "aup-node-collapsed");
27
+ }
28
+ }
29
+ AupTreeTable.Row = Row;
30
+ class TreeControlColumn extends AupTableColumn {
31
+ }
32
+ AupTreeTable.TreeControlColumn = TreeControlColumn;
33
+ })(AupTreeTable || (AupTreeTable = {}));
34
+ //# sourceMappingURL=aup-tree-table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-tree-table.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/aup-tree-table.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,OAAO,YAAa,SAAQ,gBAAkC;IAGlE,IAAI,iBAAiB;QACnB,OAAO,IAAI,YAAY,CAAC,iBAAiB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IAChE,CAAC;IAED,SAAS,CAAC,OAAuB;QAC/B,OAAO,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;CAEF;AARC;IADC,OAAO,EAAE;8BACe,YAAY,CAAC,iBAAiB;;qDAEtD;AAQH,WAAiB,YAAY;IAE3B,MAAa,GAAI,SAAQ,WAAW;QAClC,gBAAgB;YACd,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,CAAA;QAC3D,CAAC;QACD,iBAAiB;YACf,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,oBAAoB,CAAC,CAAA;QACvD,CAAC;KACF;IAPY,gBAAG,MAOf,CAAA;IAED,MAAa,iBAAkB,SAAQ,cAAmB;KACzD;IADY,8BAAiB,oBAC7B,CAAA;AAEH,CAAC,EAdgB,YAAY,KAAZ,YAAY,QAc5B","sourcesContent":["/* tslint:disable:unified-signatures */\nimport { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';\nimport { ElementLocator } from '../element-locator';\nimport { AupAbstractTable } from './aup-abstract-table';\nimport { AupTableColumn } from './table/aup-table-column';\nimport { AupTableRow } from './table/aup-table-row';\n\nexport class AupTreeTable extends AupAbstractTable<AupTreeTable.Row> {\n\n @Memoize()\n get treeControlColumn(): AupTreeTable.TreeControlColumn {\n return new AupTreeTable.TreeControlColumn(this, 'tree-label');\n }\n\n createRow(locator: ElementLocator): AupTreeTable.Row {\n return new AupTreeTable.Row(this, locator);\n }\n\n}\n\nexport namespace AupTreeTable {\n\n export class Row extends AupTableRow {\n shouldBeExpanded() {\n this.dom().should(\"not.have.class\", \"aup-node-collapsed\")\n }\n shouldBeCollapsed() {\n this.dom().should(\"have.class\", \"aup-node-collapsed\")\n }\n }\n\n export class TreeControlColumn extends AupTableColumn<Row> {\n }\n\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTreeTable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-abstract-table","name":"AupAbstractTable","line":7,"character":34},"members":{"treeControlColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@typescript-plus/fast-memoize-decorator/dist/src","name":"Memoize","line":9,"character":3}}]}],"createRow":[{"__symbolic":"method"}]}}}}]
@@ -1,15 +1,9 @@
1
+ import { ElementLocator } from '../element-locator';
1
2
  import { PageElement } from '../page-element';
2
- import { ButtonMixin } from './button-mixin';
3
- export class Button extends ButtonMixin(PageElement) {
3
+ import { FormElementMixin } from './form-element-mixin';
4
+ export class Button extends FormElementMixin(PageElement) {
4
5
  constructor(parentElementAccessor, buttonText) {
5
- super(parentElementAccessor, {
6
- findIn(parent) {
7
- return parent.contains('button', buttonText);
8
- },
9
- shouldNotExist(parent) {
10
- return parent.should('not.contain', buttonText);
11
- }
12
- });
6
+ super(parentElementAccessor, ElementLocator.findBySelectorAndTextContent('button', buttonText));
13
7
  }
14
8
  }
15
9
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,WAAW,CAAC,WAAW,CAAC;IAElD,YAAY,qBAAsD,EAAE,UAAkB;QACpF,KAAK,CAAC,qBAAqB,EAAE;YAC3B,MAAM,CAAC,MAAiC;gBACtC,OAAO,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YAC/C,CAAC;YACD,cAAc,CAAC,MAAiC;gBAC9C,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;YAClD,CAAC;SACF,CAAC,CAAC;IACL,CAAC;CAEF","sourcesContent":["import { PageElement } from '../page-element';\nimport { ButtonMixin } from './button-mixin';\n\nexport class Button extends ButtonMixin(PageElement) {\n\n constructor(parentElementAccessor: () => Cypress.Chainable<JQuery>, buttonText: string) {\n super(parentElementAccessor, {\n findIn(parent: Cypress.Chainable<JQuery>): Cypress.Chainable<JQuery> {\n return parent.contains('button', buttonText);\n },\n shouldNotExist(parent: Cypress.Chainable<JQuery>) {\n return parent.should('not.contain', buttonText);\n }\n });\n }\n\n}\n\n"]}
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,OAAO,MAAO,SAAQ,gBAAgB,CAAC,WAAW,CAAC;IAEvD,YAAY,qBAAkC,EAAE,UAAkB;QAChE,KAAK,CAAC,qBAAqB,EAAE,cAAc,CAAC,4BAA4B,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC;IAClG,CAAC;CAEF","sourcesContent":["import { ElementLocator } from '../element-locator';\nimport { PageElement } from '../page-element';\nimport { FormElementMixin } from './form-element-mixin';\n\nexport class Button extends FormElementMixin(PageElement) {\n\n constructor(parentElementAccessor: PageElement, buttonText: string) {\n super(parentElementAccessor, ElementLocator.findBySelectorAndTextContent('button', buttonText));\n }\n\n}\n\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"Button":{"__symbolic":"class","extends":{"__symbolic":"error","message":"Symbol reference expected","line":3,"character":28},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":5,"character":37},{"__symbolic":"reference","name":"string"}]}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"Button":{"__symbolic":"class","extends":{"__symbolic":"error","message":"Symbol reference expected","line":4,"character":28},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../page-element","name":"PageElement","line":6,"character":37},{"__symbolic":"reference","name":"string"}]}]}}}}]
@@ -0,0 +1,11 @@
1
+ export function FormElementMixin(Base) {
2
+ return class extends Base {
3
+ constructor(...args) {
4
+ super(...args);
5
+ }
6
+ shouldBeDisabled() {
7
+ this.should("be.disabled");
8
+ }
9
+ };
10
+ }
11
+ //# sourceMappingURL=form-element-mixin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-element-mixin.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/form-element-mixin.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,gBAAgB,CAA2C,IAAQ;IACjF,OAAO,KAAM,SAAQ,IAAI;QACvB,YAAY,GAAG,IAAW;YACxB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QACjB,CAAC;QAED,gBAAgB;YACd,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC7B,CAAC;KAEF,CAAC;AACJ,CAAC","sourcesContent":["import { Constructable } from '@coolon/typescript-utilities';\nimport { PageElement } from '../page-element';\n\nexport function FormElementMixin<T, BC extends Constructable<PageElement>>(Base: BC) {\n return class extends Base {\n constructor(...args: any[]) {\n super(...args);\n }\n\n shouldBeDisabled() {\n this.should(\"be.disabled\");\n }\n\n };\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"FormElementMixin":{"__symbolic":"function","parameters":["Base"],"value":{"__symbolic":"class"}}}}]
@@ -0,0 +1,34 @@
1
+ import { ElementLocator } from '../element-locator';
2
+ import { PageElement } from '../page-element';
3
+ import { FormElementMixin } from './form-element-mixin';
4
+ export class MatCheckbox extends FormElementMixin(PageElement) {
5
+ constructor(parentElementAccessor, text) {
6
+ super(parentElementAccessor, ElementLocator.findBySelectorAndTextContent('mat-checkbox', text));
7
+ }
8
+ shouldBeChecked() {
9
+ this.hiddenCheckBoxElement().should('be.checked');
10
+ }
11
+ shouldNotBeChecked() {
12
+ this.hiddenCheckBoxElement().should('not.be.checked');
13
+ }
14
+ hiddenCheckBoxElement() {
15
+ return this.dom().find('input[type=checkbox]');
16
+ }
17
+ check() {
18
+ this.hiddenCheckBoxElement().then(el => {
19
+ if (!el.prop('checked')) {
20
+ this.click();
21
+ this.shouldBeChecked();
22
+ }
23
+ });
24
+ }
25
+ uncheck() {
26
+ this.hiddenCheckBoxElement().then(el => {
27
+ if (el.prop('checked')) {
28
+ this.click();
29
+ this.shouldNotBeChecked();
30
+ }
31
+ });
32
+ }
33
+ }
34
+ //# sourceMappingURL=mat-checkbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mat-checkbox.js","sourceRoot":"","sources":["../../../../../../libs/angular-ui-powerups/cypress/src/components/mat-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,OAAO,WAAY,SAAQ,gBAAgB,CAAC,WAAW,CAAC;IAE5D,YAAY,qBAAkC,EAAE,IAAY;QAC1D,KAAK,CAAC,qBAAqB,EAAE,cAAc,CAAC,4BAA4B,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC;IAClG,CAAC;IAED,eAAe;QACb,IAAI,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IACpD,CAAC;IAED,kBAAkB;QAChB,IAAI,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACxD,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IACjD,CAAC;IAED,KAAK;QACH,IAAI,CAAC,qBAAqB,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACrC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACvB,IAAI,CAAC,KAAK,EAAE,CAAC;gBACb,IAAI,CAAC,eAAe,EAAE,CAAC;aACxB;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,IAAI,CAAC,qBAAqB,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACrC,IAAI,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;gBACtB,IAAI,CAAC,KAAK,EAAE,CAAC;gBACb,IAAI,CAAC,kBAAkB,EAAE,CAAC;aAC3B;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CAEF","sourcesContent":["import { ElementLocator } from '../element-locator';\nimport { PageElement } from '../page-element';\nimport { FormElementMixin } from './form-element-mixin';\n\nexport class MatCheckbox extends FormElementMixin(PageElement) {\n\n constructor(parentElementAccessor: PageElement, text: string) {\n super(parentElementAccessor, ElementLocator.findBySelectorAndTextContent('mat-checkbox', text));\n }\n\n shouldBeChecked() {\n this.hiddenCheckBoxElement().should('be.checked');\n }\n\n shouldNotBeChecked() {\n this.hiddenCheckBoxElement().should('not.be.checked');\n }\n\n hiddenCheckBoxElement() {\n return this.dom().find('input[type=checkbox]');\n }\n\n check() {\n this.hiddenCheckBoxElement().then(el => {\n if (!el.prop('checked')) {\n this.click();\n this.shouldBeChecked();\n }\n });\n }\n\n uncheck() {\n this.hiddenCheckBoxElement().then(el => {\n if (el.prop('checked')) {\n this.click();\n this.shouldNotBeChecked();\n }\n })\n }\n\n}\n\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"MatCheckbox":{"__symbolic":"class","extends":{"__symbolic":"error","message":"Symbol reference expected","line":4,"character":33},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../page-element","name":"PageElement","line":6,"character":37},{"__symbolic":"reference","name":"string"}]}],"shouldBeChecked":[{"__symbolic":"method"}],"shouldNotBeChecked":[{"__symbolic":"method"}],"hiddenCheckBoxElement":[{"__symbolic":"method"}],"check":[{"__symbolic":"method"}],"uncheck":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,33 @@
1
+ import { PageElement } from '../../page-element';
2
+ import { AupPopupMenuPanel } from './aup-popup-menu-panel';
3
+ export class AupAbstractPopupMenu extends PageElement {
4
+ constructor(parent, locator) {
5
+ super(parent, locator);
6
+ this.popup = new AupPopupMenuPanel(this, p => this.findPopupIn(p));
7
+ }
8
+ findPopupIn(p) {
9
+ return this.getOverlay().find('.mat-menu-panel');
10
+ }
11
+ getOverlay() {
12
+ return this.dom().closest('body').find('.cdk-overlay-container');
13
+ }
14
+ getBackdrop() {
15
+ return this.getOverlay().find('.cdk-overlay-backdrop');
16
+ }
17
+ openPopup() {
18
+ this.shouldNotBeOpen();
19
+ this.click();
20
+ return this.popup;
21
+ }
22
+ closePopup() {
23
+ this.shouldBeOpen();
24
+ this.getBackdrop().click();
25
+ }
26
+ shouldBeOpen() {
27
+ this.popup.shouldBeVisible();
28
+ }
29
+ shouldNotBeOpen() {
30
+ this.dom().closest('body').find('.mat-menu-panel').should("not.exist");
31
+ }
32
+ }
33
+ //# sourceMappingURL=aup-abstract-popup-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-abstract-popup-menu.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/popup/aup-abstract-popup-menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IAInD,YAAY,MAAmB,EAAE,OAAuB;QACtD,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,IAAI,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAES,WAAW,CAAC,CAAc;QAClC,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnD,CAAC;IAES,UAAU;QAClB,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IACnE,CAAC;IAES,WAAW;QACnB,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzD,CAAC;IAED,SAAS;QACP,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,UAAU;QACR,IAAI,CAAC,YAAY,EAAE,CAAC;QACpB,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,CAAC;IAC7B,CAAC;IAED,YAAY;QACV,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;IAC/B,CAAC;IAED,eAAe;QACb,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACzE,CAAC;CAGF","sourcesContent":["import { ElementLocator } from '../../element-locator';\nimport { PageElement } from '../../page-element';\nimport { AupPopupMenuPanel } from './aup-popup-menu-panel';\n\nexport class AupAbstractPopupMenu extends PageElement {\n\n private popup: AupPopupMenuPanel;\n\n constructor(parent: PageElement, locator: ElementLocator) {\n super(parent, locator);\n this.popup = new AupPopupMenuPanel(this, p => this.findPopupIn(p));\n }\n\n protected findPopupIn(p: PageElement) {\n return this.getOverlay().find('.mat-menu-panel');\n }\n\n protected getOverlay() {\n return this.dom().closest('body').find('.cdk-overlay-container');\n }\n\n protected getBackdrop() {\n return this.getOverlay().find('.cdk-overlay-backdrop');\n }\n\n openPopup(): AupPopupMenuPanel {\n this.shouldNotBeOpen();\n this.click();\n return this.popup;\n }\n\n closePopup() {\n this.shouldBeOpen();\n this.getBackdrop().click();\n }\n\n shouldBeOpen() {\n this.popup.shouldBeVisible();\n }\n\n shouldNotBeOpen() {\n this.dom().closest('body').find('.mat-menu-panel').should(\"not.exist\");\n }\n\n\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupAbstractPopupMenu":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":4,"character":42},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":8,"character":22},{"__symbolic":"reference","module":"../../element-locator","name":"ElementLocator","line":8,"character":44}]}],"findPopupIn":[{"__symbolic":"method"}],"getOverlay":[{"__symbolic":"method"}],"getBackdrop":[{"__symbolic":"method"}],"openPopup":[{"__symbolic":"method"}],"closePopup":[{"__symbolic":"method"}],"shouldBeOpen":[{"__symbolic":"method"}],"shouldNotBeOpen":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,8 @@
1
+ import { ElementLocator } from '../../element-locator';
2
+ import { AupAbstractPopupMenu } from './aup-abstract-popup-menu';
3
+ export class AupMoreMenu extends AupAbstractPopupMenu {
4
+ static create(parent, selector) {
5
+ return new AupMoreMenu(parent, ElementLocator.findByCssSelector(selector !== null && selector !== void 0 ? selector : 'aup-more-menu'));
6
+ }
7
+ }
8
+ //# sourceMappingURL=aup-more-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-more-menu.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/popup/aup-more-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,OAAO,WAAY,SAAQ,oBAAoB;IAEnD,MAAM,CAAC,MAAM,CAAC,MAAmB,EAAE,QAAiB;QAClD,OAAO,IAAI,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,iBAAiB,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,eAAe,CAAC,CAAC,CAAC;IAChG,CAAC;CACF","sourcesContent":["import { ElementLocator } from '../../element-locator';\nimport { PageElement } from '../../page-element';\nimport { AupAbstractPopupMenu } from './aup-abstract-popup-menu';\n\nexport class AupMoreMenu extends AupAbstractPopupMenu {\n\n static create(parent: PageElement, selector?: string) {\n return new AupMoreMenu(parent, ElementLocator.findByCssSelector(selector ?? 'aup-more-menu'));\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupMoreMenu":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-abstract-popup-menu","name":"AupAbstractPopupMenu","line":4,"character":33},"statics":{"create":{"__symbolic":"function","parameters":["parent","selector"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AupMoreMenu"},"arguments":[{"__symbolic":"reference","name":"parent"},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../../element-locator","name":"ElementLocator","line":7,"character":35},"member":"findByCssSelector"},"arguments":[{"__symbolic":"binop","operator":"??","left":{"__symbolic":"reference","name":"selector"},"right":"aup-more-menu"}]}]}}}}}}]
@@ -0,0 +1,4 @@
1
+ import { PageElement } from '../../page-element';
2
+ export class AupPopupMenuPanel extends PageElement {
3
+ }
4
+ //# sourceMappingURL=aup-popup-menu-panel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-popup-menu-panel.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/popup/aup-popup-menu-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,OAAO,iBAAkB,SAAQ,WAAW;CAEjD","sourcesContent":["import { PageElement } from '../../page-element';\n\nexport class AupPopupMenuPanel extends PageElement {\n\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupPopupMenuPanel":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":2,"character":39}}}}]
@@ -0,0 +1,12 @@
1
+ import { AupCommandFace } from '../aup-command-face';
2
+ import { AupAbstractPopupMenu } from './aup-abstract-popup-menu';
3
+ export class AupPopupMenu extends AupAbstractPopupMenu {
4
+ constructor(parentElementAccessor, face) {
5
+ const locator = AupCommandFace.createElementLocator(face);
6
+ super(parentElementAccessor, parent => locator(parent).closest('button'));
7
+ }
8
+ static create(parent, face) {
9
+ return new AupPopupMenu(parent, face);
10
+ }
11
+ }
12
+ //# sourceMappingURL=aup-popup-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-popup-menu.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/popup/aup-popup-menu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,OAAO,YAAa,SAAQ,oBAAoB;IAEpD,YAAY,qBAAkC,EAAE,IAAuB;QACrE,MAAM,OAAO,GAAG,cAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAA;QACzD,KAAK,CAAC,qBAAqB,EAAE,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,MAAmB,EAAE,IAAuB;QACxD,OAAO,IAAI,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;CACF","sourcesContent":["import { lang } from '@coolon/typescript-utilities';\nimport { PageElement } from '../../page-element';\nimport { AupCommandFace } from '../aup-command-face';\nimport { Types } from '../types';\nimport { AupAbstractPopupMenu } from './aup-abstract-popup-menu';\n\nexport class AupPopupMenu extends AupAbstractPopupMenu {\n\n constructor(parentElementAccessor: PageElement, face: Types.CommandFace) {\n const locator = AupCommandFace.createElementLocator(face)\n super(parentElementAccessor, parent => locator(parent).closest('button'));\n }\n\n static create(parent: PageElement, face: Types.CommandFace) {\n return new AupPopupMenu(parent, face);\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupPopupMenu":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-abstract-popup-menu","name":"AupAbstractPopupMenu","line":6,"character":34},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":8,"character":37},{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../types","name":"Types","line":8,"character":56},"member":"CommandFace"}]}]},"statics":{"create":{"__symbolic":"function","parameters":["parent","face"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AupPopupMenu"},"arguments":[{"__symbolic":"reference","name":"parent"},{"__symbolic":"reference","name":"face"}]}}}}}}]
@@ -0,0 +1,14 @@
1
+ import { PageElement } from '../../page-element';
2
+ import { AupAbstractTable } from '../aup-abstract-table';
3
+ export class AupTableCell extends PageElement {
4
+ rowId() {
5
+ return this.dom().closest('tr').invoke('attr', 'aup-row-id');
6
+ }
7
+ row() {
8
+ const self = this;
9
+ return this.parent.createRow(parent => {
10
+ return self.rowId().then(rowId => parent.dom().find(AupAbstractTable.cssSelectorForTableRowById(rowId)));
11
+ });
12
+ }
13
+ }
14
+ //# sourceMappingURL=aup-table-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-table-cell.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/table/aup-table-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,MAAM,OAAO,YAAqC,SAAQ,WAAiC;IAEzF,KAAK;QACH,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC/D,CAAC;IAED,GAAG;QACD,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE;YACpC,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3G,CAAC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { PageElement } from '../../page-element';\nimport { AupAbstractTable } from '../aup-abstract-table';\nimport { AupTableRow } from './aup-table-row';\nimport Chainable = Cypress.Chainable;\n\nexport class AupTableCell<TR extends AupTableRow> extends PageElement<AupAbstractTable<TR>> {\n\n rowId(): Chainable<string> {\n return this.dom().closest('tr').invoke('attr', 'aup-row-id');\n }\n\n row(): TR {\n const self = this;\n return this.parent.createRow(parent => {\n return self.rowId().then(rowId => parent.dom().find(AupAbstractTable.cssSelectorForTableRowById(rowId)));\n });\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTableCell":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":5,"character":58},"arity":1,"members":{"rowId":[{"__symbolic":"method"}],"row":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,19 @@
1
+ import { PageElement } from '../../page-element';
2
+ import { AupAbstractTable } from '../aup-abstract-table';
3
+ import { AupTableCell } from './aup-table-cell';
4
+ export class AupTableColumn extends PageElement {
5
+ constructor(table, columnId) {
6
+ super(table, AupAbstractTable.cssSelectorForColumnCellRendererById(columnId));
7
+ this.columnId = columnId;
8
+ }
9
+ cellContaining(content) {
10
+ const self = this;
11
+ return new AupTableCell(this.parent, parent => {
12
+ return parent.dom().contains(AupAbstractTable.cssSelectorForColumnCellRendererById(self.columnId), content);
13
+ });
14
+ }
15
+ rowContaining(content) {
16
+ return this.cellContaining(content).row();
17
+ }
18
+ }
19
+ //# sourceMappingURL=aup-table-column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-table-column.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/table/aup-table-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,OAAO,cAAuC,SAAQ,WAAiC;IAE3F,YAAY,KAA4B,EAAW,QAAgB;QACjE,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,oCAAoC,CAAC,QAAQ,CAAC,CAAC,CAAC;QAD7B,aAAQ,GAAR,QAAQ,CAAQ;IAEnE,CAAC;IAED,cAAc,CAAC,OAAe;QAC5B,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,EAAC,MAAM,CAAC,EAAE;YAC3C,OAAO,MAAM,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,oCAAoC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;QAC9G,CAAC,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,OAAe;QAC3B,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC;IAC5C,CAAC;CACF","sourcesContent":["import { PageElement } from '../../page-element';\nimport { AupAbstractTable } from '../aup-abstract-table';\nimport { AupTableCell } from './aup-table-cell';\nimport { AupTableRow } from './aup-table-row';\n\nexport class AupTableColumn<TR extends AupTableRow> extends PageElement<AupAbstractTable<TR>> {\n\n constructor(table: AupAbstractTable<any>, readonly columnId: string) {\n super(table, AupAbstractTable.cssSelectorForColumnCellRendererById(columnId));\n }\n\n cellContaining(content: string): AupTableCell<TR> {\n const self = this;\n return new AupTableCell(this.parent,parent => {\n return parent.dom().contains(AupAbstractTable.cssSelectorForColumnCellRendererById(self.columnId), content);\n });\n }\n\n rowContaining(content: string): TR {\n return this.cellContaining(content).row();\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTableColumn":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":5,"character":60},"arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../aup-abstract-table","name":"AupAbstractTable","line":7,"character":21,"arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"string"}]}],"cellContaining":[{"__symbolic":"method"}],"rowContaining":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,28 @@
1
+ /* tslint:disable:unified-signatures */
2
+ import { PageElement } from '../../page-element';
3
+ import { AupAbstractTable } from '../aup-abstract-table';
4
+ import { AupTableCell } from './aup-table-cell';
5
+ export class AupTableRow extends PageElement {
6
+ rowId() {
7
+ return this.dom()
8
+ .invoke('attr', 'aup-row-id');
9
+ }
10
+ shouldHaveRowId(rowId) {
11
+ this.rowId().should('eq', rowId);
12
+ }
13
+ cell(columnOrId) {
14
+ const self = this;
15
+ return new AupTableCell(this.parent, parent => {
16
+ return self.rowId()
17
+ .then(rowId => AupAbstractTable.cssSelectorForCell(rowId, columnOrId))
18
+ .then(selector => parent.dom().find(selector));
19
+ });
20
+ }
21
+ shouldBeSelected() {
22
+ this.dom().should('have.class', 'aup-row-selected');
23
+ }
24
+ shouldNotBeSelected() {
25
+ this.dom().should('not.have.class', 'aup-row-selected');
26
+ }
27
+ }
28
+ //# sourceMappingURL=aup-table-row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-table-row.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/table/aup-table-row.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMhD,MAAM,OAAO,WAAY,SAAQ,WAAkC;IAEjE,KAAK;QACH,OAAO,IAAI,CAAC,GAAG,EAAE;aACd,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAClC,CAAC;IAED,eAAe,CAAC,KAAa;QAC3B,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IAKD,IAAI,CAAC,UAAyC;QAC5C,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;YAC5C,OAAO,IAAI,CAAC,KAAK,EAAE;iBAChB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;iBACrE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;QACnD,CAAC,CAAC,CAAC;IACL,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;IACtD,CAAC;IAED,mBAAmB;QACjB,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;IAC1D,CAAC;CAEF","sourcesContent":["/* tslint:disable:unified-signatures */\nimport { PageElement } from '../../page-element';\nimport { AupAbstractTable } from '../aup-abstract-table';\nimport { AupTableCell } from './aup-table-cell';\nimport { AupTableColumn } from './aup-table-column';\nimport { AupTableSelectionCell } from './aup-table-selection-cell';\nimport { AupTableSelectionColumn } from './aup-table-selection-column';\nimport Chainable = Cypress.Chainable;\n\nexport class AupTableRow extends PageElement<AupAbstractTable<any>> {\n\n rowId(): Chainable<string> {\n return this.dom()\n .invoke('attr', 'aup-row-id');\n }\n\n shouldHaveRowId(rowId: string) {\n this.rowId().should('eq', rowId);\n }\n\n cell(columnId: string): AupTableCell<this>\n cell(column: AupTableColumn<this>): AupTableCell<this>\n cell(column: AupTableSelectionColumn<this>): AupTableSelectionCell<this>\n cell(columnOrId: string | AupTableColumn<this>): AupTableCell<this> {\n const self = this;\n return new AupTableCell(this.parent, parent => {\n return self.rowId()\n .then(rowId => AupAbstractTable.cssSelectorForCell(rowId, columnOrId))\n .then(selector => parent.dom().find(selector));\n });\n }\n\n shouldBeSelected() {\n this.dom().should('have.class', 'aup-row-selected');\n }\n\n shouldNotBeSelected() {\n this.dom().should('not.have.class', 'aup-row-selected');\n }\n\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTableRow":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../page-element","name":"PageElement","line":9,"character":33},"members":{"rowId":[{"__symbolic":"method"}],"shouldHaveRowId":[{"__symbolic":"method"}],"cell":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"shouldBeSelected":[{"__symbolic":"method"}],"shouldNotBeSelected":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,6 @@
1
+ import { AupTableCell } from './aup-table-cell';
2
+ export class AupTableSelectionCell extends AupTableCell {
3
+ selectAll() {
4
+ }
5
+ }
6
+ //# sourceMappingURL=aup-table-selection-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-table-selection-cell.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/table/aup-table-selection-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,OAAO,qBAA8C,SAAQ,YAAgB;IACjF,SAAS;IACT,CAAC;CACF","sourcesContent":["import { AupTableCell } from './aup-table-cell';\nimport { AupTableRow } from './aup-table-row';\n\nexport class AupTableSelectionCell<TR extends AupTableRow> extends AupTableCell<TR> {\n selectAll() {\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTableSelectionCell":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-table-cell","name":"AupTableCell","line":3,"character":67},"arity":1,"members":{"selectAll":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,6 @@
1
+ import { AupTableColumn } from './aup-table-column';
2
+ export class AupTableSelectionColumn extends AupTableColumn {
3
+ selectAll() {
4
+ }
5
+ }
6
+ //# sourceMappingURL=aup-table-selection-column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aup-table-selection-column.js","sourceRoot":"","sources":["../../../../../../../libs/angular-ui-powerups/cypress/src/components/table/aup-table-selection-column.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,MAAM,OAAO,uBAAgD,SAAQ,cAAkB;IACrF,SAAS;IACT,CAAC;CACF","sourcesContent":["import { AupTableColumn } from './aup-table-column';\nimport { AupTableRow } from './aup-table-row';\n\nexport class AupTableSelectionColumn<TR extends AupTableRow> extends AupTableColumn<TR> {\n selectAll() {\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"AupTableSelectionColumn":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./aup-table-column","name":"AupTableColumn","line":3,"character":69},"arity":1,"members":{"selectAll":[{"__symbolic":"method"}]}}}}]
@@ -0,0 +1,16 @@
1
+ export var ElementLocator;
2
+ (function (ElementLocator) {
3
+ function findByCssSelector(selector) {
4
+ return parent => parent.dom().find(selector);
5
+ }
6
+ ElementLocator.findByCssSelector = findByCssSelector;
7
+ function findByTextContent(text) {
8
+ return parent => parent.dom().contains(text);
9
+ }
10
+ ElementLocator.findByTextContent = findByTextContent;
11
+ function findBySelectorAndTextContent(selector, text) {
12
+ return parent => parent.dom().contains(selector, text);
13
+ }
14
+ ElementLocator.findBySelectorAndTextContent = findBySelectorAndTextContent;
15
+ })(ElementLocator || (ElementLocator = {}));
16
+ //# sourceMappingURL=element-locator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-locator.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/cypress/src/element-locator.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,cAAc,CAc9B;AAdD,WAAiB,cAAc;IAE7B,SAAgB,iBAAiB,CAAC,QAAgB;QAChD,OAAO,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC9C,CAAC;IAFe,gCAAiB,oBAEhC,CAAA;IAED,SAAgB,iBAAiB,CAAC,IAAY;QAC5C,OAAO,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IAFe,gCAAiB,oBAEhC,CAAA;IAED,SAAgB,4BAA4B,CAAC,QAAgB,EAAE,IAAY;QACzE,OAAO,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAFe,2CAA4B,+BAE3C,CAAA;AAEH,CAAC,EAdgB,cAAc,KAAd,cAAc,QAc9B","sourcesContent":["import { PageElement } from './page-element';\n\nexport type ElementLocator = (parent: PageElement) => Cypress.Chainable<JQuery>;\n\nexport namespace ElementLocator {\n\n export function findByCssSelector(selector: string): ElementLocator {\n return parent => parent.dom().find(selector)\n }\n\n export function findByTextContent(text: string): ElementLocator {\n return parent => parent.dom().contains(text);\n }\n\n export function findBySelectorAndTextContent(selector: string, text: string): ElementLocator {\n return parent => parent.dom().contains(selector, text);\n }\n\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"ElementLocator":{"__symbolic":"interface"}}}]
@@ -1,20 +1,38 @@
1
1
  /**
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
+ export * from "./builder";
5
+ export * from "./element-locator";
6
+ export * from "./page-builder";
4
7
  export * from "./page-element";
5
8
  export * from "./page";
6
9
  export * from "./path";
7
- export * from "./section";
10
+ export * from "./components/aup-abstract-activity";
11
+ export * from "./components/aup-abstract-table";
12
+ export * from "./components/aup-activity";
13
+ export * from "./components/aup-alert-dialog";
14
+ export * from "./components/aup-alert";
8
15
  export * from "./components/aup-command-face";
9
16
  export * from "./components/aup-command-group";
10
17
  export * from "./components/aup-command";
18
+ export * from "./components/aup-empty-state";
11
19
  export * from "./components/aup-input";
12
- export * from "./components/aup-more-menu";
20
+ export * from "./components/aup-modal-activity";
13
21
  export * from "./components/aup-navigation";
14
- export * from "./components/aup-popup-menu";
15
22
  export * from "./components/aup-table";
16
23
  export * from "./components/aup-tool-bar";
17
- export * from "./components/button-mixin";
24
+ export * from "./components/aup-tree-table";
18
25
  export * from "./components/button";
26
+ export * from "./components/form-element-mixin";
27
+ export * from "./components/mat-checkbox";
19
28
  export * from "./components/types";
29
+ export * from "./components/popup/aup-abstract-popup-menu";
30
+ export * from "./components/popup/aup-more-menu";
31
+ export * from "./components/popup/aup-popup-menu-panel";
32
+ export * from "./components/popup/aup-popup-menu";
33
+ export * from "./components/table/aup-table-cell";
34
+ export * from "./components/table/aup-table-column";
35
+ export * from "./components/table/aup-table-row";
36
+ export * from "./components/table/aup-table-selection-cell";
37
+ export * from "./components/table/aup-table-selection-column";
20
38
  //# sourceMappingURL=exports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/cypress/src/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./page-element\";\nexport * from \"./page\";\nexport * from \"./path\";\nexport * from \"./section\";\nexport * from \"./components/aup-command-face\";\nexport * from \"./components/aup-command-group\";\nexport * from \"./components/aup-command\";\nexport * from \"./components/aup-input\";\nexport * from \"./components/aup-more-menu\";\nexport * from \"./components/aup-navigation\";\nexport * from \"./components/aup-popup-menu\";\nexport * from \"./components/aup-table\";\nexport * from \"./components/aup-tool-bar\";\nexport * from \"./components/button-mixin\";\nexport * from \"./components/button\";\nexport * from \"./components/types\";\n"]}
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/cypress/src/exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./builder\";\nexport * from \"./element-locator\";\nexport * from \"./page-builder\";\nexport * from \"./page-element\";\nexport * from \"./page\";\nexport * from \"./path\";\nexport * from \"./components/aup-abstract-activity\";\nexport * from \"./components/aup-abstract-table\";\nexport * from \"./components/aup-activity\";\nexport * from \"./components/aup-alert-dialog\";\nexport * from \"./components/aup-alert\";\nexport * from \"./components/aup-command-face\";\nexport * from \"./components/aup-command-group\";\nexport * from \"./components/aup-command\";\nexport * from \"./components/aup-empty-state\";\nexport * from \"./components/aup-input\";\nexport * from \"./components/aup-modal-activity\";\nexport * from \"./components/aup-navigation\";\nexport * from \"./components/aup-table\";\nexport * from \"./components/aup-tool-bar\";\nexport * from \"./components/aup-tree-table\";\nexport * from \"./components/button\";\nexport * from \"./components/form-element-mixin\";\nexport * from \"./components/mat-checkbox\";\nexport * from \"./components/types\";\nexport * from \"./components/popup/aup-abstract-popup-menu\";\nexport * from \"./components/popup/aup-more-menu\";\nexport * from \"./components/popup/aup-popup-menu-panel\";\nexport * from \"./components/popup/aup-popup-menu\";\nexport * from \"./components/table/aup-table-cell\";\nexport * from \"./components/table/aup-table-column\";\nexport * from \"./components/table/aup-table-row\";\nexport * from \"./components/table/aup-table-selection-cell\";\nexport * from \"./components/table/aup-table-selection-column\";\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./page-element"},{"from":"./page"},{"from":"./path"},{"from":"./section"},{"from":"./components/aup-command-face"},{"from":"./components/aup-command-group"},{"from":"./components/aup-command"},{"from":"./components/aup-input"},{"from":"./components/aup-more-menu"},{"from":"./components/aup-navigation"},{"from":"./components/aup-popup-menu"},{"from":"./components/aup-table"},{"from":"./components/aup-tool-bar"},{"from":"./components/button-mixin"},{"from":"./components/button"},{"from":"./components/types"}]}]
1
+ [{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./builder"},{"from":"./element-locator"},{"from":"./page-builder"},{"from":"./page-element"},{"from":"./page"},{"from":"./path"},{"from":"./components/aup-abstract-activity"},{"from":"./components/aup-abstract-table"},{"from":"./components/aup-activity"},{"from":"./components/aup-alert-dialog"},{"from":"./components/aup-alert"},{"from":"./components/aup-command-face"},{"from":"./components/aup-command-group"},{"from":"./components/aup-command"},{"from":"./components/aup-empty-state"},{"from":"./components/aup-input"},{"from":"./components/aup-modal-activity"},{"from":"./components/aup-navigation"},{"from":"./components/aup-table"},{"from":"./components/aup-tool-bar"},{"from":"./components/aup-tree-table"},{"from":"./components/button"},{"from":"./components/form-element-mixin"},{"from":"./components/mat-checkbox"},{"from":"./components/types"},{"from":"./components/popup/aup-abstract-popup-menu"},{"from":"./components/popup/aup-more-menu"},{"from":"./components/popup/aup-popup-menu-panel"},{"from":"./components/popup/aup-popup-menu"},{"from":"./components/table/aup-table-cell"},{"from":"./components/table/aup-table-column"},{"from":"./components/table/aup-table-row"},{"from":"./components/table/aup-table-selection-cell"},{"from":"./components/table/aup-table-selection-column"}]}]
@@ -0,0 +1,15 @@
1
+ import { Builder } from './builder';
2
+ import { AupAlertDialog } from './components/aup-alert-dialog';
3
+ import { AupModalActivity } from './components/aup-modal-activity';
4
+ export class PageBuilder extends Builder {
5
+ aupModalActivity(selector, builder) {
6
+ return this.component(AupModalActivity, `.dialog-interaction-context ${selector}`, builder);
7
+ }
8
+ aupModalAlert(builder) {
9
+ return this.component(AupAlertDialog, `.dialog-interaction-context aup-alert-dialog`, builder);
10
+ }
11
+ aupModelConfirm(builder) {
12
+ return this.aupModalActivity(`aup-confirm-dialog`, builder);
13
+ }
14
+ }
15
+ //# sourceMappingURL=page-builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-builder.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/cypress/src/page-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,OAAO,WAAY,SAAQ,OAAO;IAGtC,gBAAgB,CAAmB,QAAgB,EAAE,OAAuD;QAC1G,OAAO,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,+BAA+B,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;IAED,aAAa,CAAmB,OAAsD;QACpF,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,8CAA8C,EAAE,OAAO,CAAC,CAAC;IACjG,CAAC;IAED,eAAe,CAAmB,OAAwD;QACxF,OAAO,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { Builder } from './builder';\nimport { AupAlertDialog } from './components/aup-alert-dialog';\nimport { AupModalActivity } from './components/aup-modal-activity';\n\nexport class PageBuilder extends Builder {\n\n\n aupModalActivity<T extends object>(selector: string, builder: Builder.ContainerCallback<T, AupModalActivity>): T & AupModalActivity {\n return this.component(AupModalActivity, `.dialog-interaction-context ${selector}`, builder);\n }\n\n aupModalAlert<T extends object>(builder?: Builder.ContainerCallback<T, AupAlertDialog>): T & AupAlertDialog {\n return this.component(AupAlertDialog, `.dialog-interaction-context aup-alert-dialog`, builder);\n }\n\n aupModelConfirm<T extends object>(builder?: Builder.ContainerCallback<T, AupModalActivity>): T & AupModalActivity {\n return this.aupModalActivity(`aup-confirm-dialog`, builder);\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"PageBuilder":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./builder","name":"Builder","line":4,"character":33},"members":{"aupModalActivity":[{"__symbolic":"method"}],"aupModalAlert":[{"__symbolic":"method"}],"aupModelConfirm":[{"__symbolic":"method"}]}}}}]