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

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 (109) hide show
  1. package/assets/styles.scss +0 -1
  2. package/bundles/coolon-angular-ui-powerups-cypress.umd.js +241 -520
  3. package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.js +7 -2
  5. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/cypress/components/aup-command-face.d.ts +4 -5
  8. package/cypress/components/aup-command.d.ts +1 -1
  9. package/cypress/components/aup-input.d.ts +5 -11
  10. package/cypress/components/aup-popup-menu.d.ts +2 -1
  11. package/cypress/components/aup-table.d.ts +3 -29
  12. package/cypress/components/{form-element-mixin.d.ts → button-mixin.d.ts} +6 -7
  13. package/cypress/components/button.d.ts +6 -8
  14. package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
  15. package/cypress/exports.d.ts +2 -11
  16. package/cypress/page-element.d.ts +9 -8
  17. package/cypress/page.d.ts +33 -5
  18. package/cypress/section.d.ts +51 -0
  19. package/esm2015/cypress/components/aup-command-face.js +6 -6
  20. package/esm2015/cypress/components/aup-command-face.js.map +1 -1
  21. package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
  22. package/esm2015/cypress/components/aup-command.js +4 -12
  23. package/esm2015/cypress/components/aup-command.js.map +1 -1
  24. package/esm2015/cypress/components/aup-command.metadata.json +1 -1
  25. package/esm2015/cypress/components/aup-input.js +5 -17
  26. package/esm2015/cypress/components/aup-input.js.map +1 -1
  27. package/esm2015/cypress/components/aup-input.metadata.json +1 -1
  28. package/esm2015/cypress/components/aup-navigation.js +1 -1
  29. package/esm2015/cypress/components/aup-navigation.js.map +1 -1
  30. package/esm2015/cypress/components/aup-popup-menu.js +3 -3
  31. package/esm2015/cypress/components/aup-popup-menu.js.map +1 -1
  32. package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -1
  33. package/esm2015/cypress/components/aup-table.js +7 -85
  34. package/esm2015/cypress/components/aup-table.js.map +1 -1
  35. package/esm2015/cypress/components/aup-table.metadata.json +1 -1
  36. package/esm2015/cypress/components/button-mixin.js +15 -0
  37. package/esm2015/cypress/components/button-mixin.js.map +1 -0
  38. package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
  39. package/esm2015/cypress/components/button.js +10 -4
  40. package/esm2015/cypress/components/button.js.map +1 -1
  41. package/esm2015/cypress/components/button.metadata.json +1 -1
  42. package/esm2015/cypress/exports.js +2 -11
  43. package/esm2015/cypress/exports.js.map +1 -1
  44. package/esm2015/cypress/exports.metadata.json +1 -1
  45. package/esm2015/cypress/page-element.js +18 -21
  46. package/esm2015/cypress/page-element.js.map +1 -1
  47. package/esm2015/cypress/page-element.metadata.json +1 -1
  48. package/esm2015/cypress/page.js +10 -8
  49. package/esm2015/cypress/page.js.map +1 -1
  50. package/esm2015/cypress/page.metadata.json +1 -1
  51. package/esm2015/cypress/path.js +1 -3
  52. package/esm2015/cypress/path.js.map +1 -1
  53. package/esm2015/cypress/section.js +58 -0
  54. package/esm2015/cypress/section.js.map +1 -0
  55. package/esm2015/cypress/section.metadata.json +1 -0
  56. package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
  57. package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
  58. package/esm2015/lib/place/url-snapshot.js +7 -1
  59. package/esm2015/lib/place/url-snapshot.js.map +1 -1
  60. package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
  61. package/fesm2015/coolon-angular-ui-powerups-cypress.js +168 -414
  62. package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
  63. package/fesm2015/coolon-angular-ui-powerups.js +7 -2
  64. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  65. package/package.json +1 -1
  66. package/assets/empty-state.scss +0 -11
  67. package/cypress/builder.d.ts +0 -39
  68. package/cypress/components/aup-abstract-activity.d.ts +0 -9
  69. package/cypress/components/aup-activity.d.ts +0 -9
  70. package/cypress/components/aup-alert.d.ts +0 -9
  71. package/cypress/components/aup-empty-state.d.ts +0 -4
  72. package/cypress/components/aup-modal-activity.d.ts +0 -4
  73. package/cypress/components/aup-modal-alert.d.ts +0 -7
  74. package/cypress/components/mat-checkbox.d.ts +0 -29
  75. package/cypress/element-locator.d.ts +0 -10
  76. package/cypress/page-builder.d.ts +0 -8
  77. package/esm2015/cypress/builder.js +0 -97
  78. package/esm2015/cypress/builder.js.map +0 -1
  79. package/esm2015/cypress/builder.metadata.json +0 -1
  80. package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
  81. package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
  82. package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
  83. package/esm2015/cypress/components/aup-activity.js +0 -13
  84. package/esm2015/cypress/components/aup-activity.js.map +0 -1
  85. package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
  86. package/esm2015/cypress/components/aup-alert.js +0 -13
  87. package/esm2015/cypress/components/aup-alert.js.map +0 -1
  88. package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
  89. package/esm2015/cypress/components/aup-empty-state.js +0 -7
  90. package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
  91. package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
  92. package/esm2015/cypress/components/aup-modal-activity.js +0 -7
  93. package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
  94. package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
  95. package/esm2015/cypress/components/aup-modal-alert.js +0 -12
  96. package/esm2015/cypress/components/aup-modal-alert.js.map +0 -1
  97. package/esm2015/cypress/components/aup-modal-alert.metadata.json +0 -1
  98. package/esm2015/cypress/components/form-element-mixin.js +0 -11
  99. package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
  100. package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
  101. package/esm2015/cypress/components/mat-checkbox.js +0 -34
  102. package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
  103. package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
  104. package/esm2015/cypress/element-locator.js +0 -22
  105. package/esm2015/cypress/element-locator.js.map +0 -1
  106. package/esm2015/cypress/element-locator.metadata.json +0 -1
  107. package/esm2015/cypress/page-builder.js +0 -15
  108. package/esm2015/cypress/page-builder.js.map +0 -1
  109. package/esm2015/cypress/page-builder.metadata.json +0 -1
@@ -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.have', 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,124 +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 {
345
- findIn: function (parent) { return parent.dom().find(selector); },
346
- shouldNotExist: function (p) { return p.dom().find(selector).should('not.exist'); }
347
- };
348
- }
349
- ElementLocator.findByCssSelector = findByCssSelector;
350
- function findByTextContent(selector, text) {
351
- return {
352
- findIn: function (parent) {
353
- return parent.dom().contains(selector, text);
354
- },
355
- shouldNotExist: function (parent) {
356
- return parent.dom().should('not.contain', text);
357
- }
358
- };
359
- }
360
- ElementLocator.findByTextContent = findByTextContent;
361
- })(exports.ElementLocator || (exports.ElementLocator = {}));
362
-
363
- var PageElement = /** @class */ (function () {
364
- function PageElement(parent, selectorOrLocator) {
365
- this.parent = parent;
366
- this.elementAccessStrategy = ___namespace.isString(selectorOrLocator) ?
367
- exports.ElementLocator.findByCssSelector(selectorOrLocator) :
368
- selectorOrLocator;
388
+ var urlSerialiser = new router.DefaultUrlSerializer();
389
+ exports.Path = /** @class */ (function () {
390
+ function Path(segments) {
391
+ this.segments = segments;
369
392
  }
370
- PageElement.prototype.dom = function () {
371
- return this.elementAccessStrategy.findIn(this.parent);
372
- };
373
- PageElement.prototype.find = function (selector) {
374
- return new PageElement(this, selector);
375
- };
376
- PageElement.prototype.click = function (text) {
377
- text ? this.dom().contains(text).click() : this.dom().click();
378
- };
379
- Object.defineProperty(PageElement.prototype, "should", {
380
- get: function () {
381
- return this.getShoulder(this.getShouldElement());
382
- },
383
- enumerable: false,
384
- configurable: true
385
- });
386
- PageElement.prototype.getShoulder = function (element) {
387
- return element.should.bind(element);
388
- };
389
- PageElement.prototype.getShouldElement = function () {
390
- return this.dom();
391
- };
392
- PageElement.prototype.shouldBeVisible = function () {
393
- this.should('be.visible');
394
- };
395
- PageElement.prototype.shouldNotBeVisible = function () {
396
- this.should('not.be.visible');
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;
397
400
  };
398
- PageElement.prototype.shouldExist = function () {
399
- this.dom().should('exist');
401
+ Path.prototype.toUrl = function (matrixParams) {
402
+ return this.segments.map(function (s) { return s.toUrlPart(matrixParams); }).join('/');
400
403
  };
401
- PageElement.prototype.shouldNotExist = function () {
402
- if (!this.elementAccessStrategy.shouldNotExist) {
403
- this.dom().should("not.exist");
404
+ return Path;
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 : [];
404
418
  }
405
- else {
406
- this.elementAccessStrategy.shouldNotExist(this.parent);
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 = [];
407
438
  }
408
- };
409
- return PageElement;
410
- }());
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 = {}));
411
451
 
412
- var FaceElementLocator = /** @class */ (function () {
413
- function FaceElementLocator(face) {
452
+ var FaceAccessor = /** @class */ (function () {
453
+ function FaceAccessor(face) {
414
454
  this.face = face;
415
455
  }
416
- FaceElementLocator.prototype.findIn = function (parent) {
456
+ FaceAccessor.prototype.findIn = function (parent) {
417
457
  return this.face.text ?
418
- parent.dom().contains("aup-command-face", this.face.text()) :
458
+ parent.contains("aup-command-face", this.face.text()) :
419
459
  this.face.icon ?
420
- parent.dom().find("aup-icon[ng-reflect-icon=" + this.face.icon() + "]").closest('aup-command-face') :
460
+ parent.find("aup-icon[ng-reflect-icon=" + this.face.icon() + "]").closest('aup-command-face') :
421
461
  undefined;
422
462
  };
423
- FaceElementLocator.prototype.shouldNotExist = function (parent) {
463
+ FaceAccessor.prototype.shouldNotExist = function (parent) {
424
464
  return this.face.text ?
425
465
  parent.should('not.contain', "aup-command-face", this.face.text()) :
426
466
  this.face.icon ?
427
467
  parent.should('not.contain', "aup-icon[ng-reflect-icon=" + this.face.icon() + "]") :
428
468
  undefined;
429
469
  };
430
- return FaceElementLocator;
470
+ return FaceAccessor;
431
471
  }());
432
472
  var AupCommandFace = /** @class */ (function (_super) {
433
473
  __extends(AupCommandFace, _super);
434
474
  function AupCommandFace(parentElement, face) {
435
- return _super.call(this, parentElement, AupCommandFace.createElementLocator(face)) || this;
475
+ return _super.call(this, function () { return parentElement.element(); }, AupCommandFace.createAccessor(face)) || this;
436
476
  }
437
- AupCommandFace.createElementLocator = function (face) {
438
- return new FaceElementLocator(face);
477
+ AupCommandFace.createAccessor = function (face) {
478
+ return new FaceAccessor(face);
439
479
  };
440
480
  return AupCommandFace;
441
481
  }(PageElement));
442
482
 
443
483
  var AupCommand = /** @class */ (function (_super) {
444
484
  __extends(AupCommand, _super);
445
- function AupCommand(parent, faceOrSelector) {
446
- return _super.call(this, parent, {
485
+ function AupCommand(parent, face) {
486
+ var _this = this;
487
+ var faceAccessor = AupCommandFace.createAccessor(face);
488
+ _this = _super.call(this, parent, {
447
489
  findIn: function (parentElement) {
448
- if (___namespace.isString(faceOrSelector)) {
449
- return parentElement.dom().find(faceOrSelector);
450
- }
451
- else {
452
- return AupCommandFace.createElementLocator(faceOrSelector).findIn(parentElement).closest('aup-command');
453
- }
454
- },
455
- shouldNotExist: function (parentElement) {
456
- this.findIn(parentElement).should("not.exist");
490
+ return faceAccessor.findIn(parentElement).closest('aup-command');
457
491
  }
458
492
  }) || this;
493
+ return _this;
459
494
  }
460
495
  AupCommand.prototype.click = function () {
461
496
  this.getButton().click();
@@ -467,35 +502,24 @@
467
502
  this.getButton().should('be.disabled');
468
503
  };
469
504
  AupCommand.prototype.getButton = function () {
470
- return this.dom().find('button');
505
+ return this.element().find('button');
471
506
  };
472
507
  return AupCommand;
473
508
  }(PageElement));
474
509
 
475
- var AupEmptyState = /** @class */ (function (_super) {
476
- __extends(AupEmptyState, _super);
477
- function AupEmptyState() {
478
- return _super !== null && _super.apply(this, arguments) || this;
479
- }
480
- AupEmptyState.prototype.shouldContainText = function (text) {
481
- this.dom().should("contain.text", text);
482
- };
483
- return AupEmptyState;
484
- }(PageElement));
485
-
486
510
  exports.AupInput = /** @class */ (function (_super) {
487
511
  __extends(AupInput, _super);
488
512
  function AupInput() {
489
513
  return _super !== null && _super.apply(this, arguments) || this;
490
514
  }
491
515
  AupInput.prototype.label = function () {
492
- return this.dom().find('label');
516
+ return this.element().find('label');
493
517
  };
494
518
  AupInput.prototype.hint = function () {
495
- return this.dom().find('mat-hint');
519
+ return this.element().find('mat-hint');
496
520
  };
497
521
  AupInput.prototype.error = function () {
498
- return this.dom().find('mat-error');
522
+ return this.element().find('mat-error');
499
523
  };
500
524
  Object.defineProperty(AupInput.prototype, "labelShould", {
501
525
  get: function () {
@@ -527,18 +551,6 @@
527
551
  AupInput.prototype.errorShouldBe = function (text) {
528
552
  return this.errorShould("have.text", text);
529
553
  };
530
- AupInput.prototype.shouldBeFocused = function () {
531
- this.input().should("have.focus");
532
- };
533
- AupInput.prototype.shouldNotBeFocused = function () {
534
- this.input().should("not.have.focus");
535
- };
536
- AupInput.prototype.type = function (characters) {
537
- this.input().type(characters);
538
- };
539
- AupInput.prototype.hitEnter = function () {
540
- this.type("{enter}");
541
- };
542
554
  return AupInput;
543
555
  }(PageElement));
544
556
  (function (AupInput) {
@@ -548,7 +560,7 @@
548
560
  return _super !== null && _super.apply(this, arguments) || this;
549
561
  }
550
562
  HtmlInput.prototype.input = function () {
551
- return this.dom().find('input');
563
+ return this.element().find('input');
552
564
  };
553
565
  HtmlInput.prototype.clear = function () {
554
566
  this.input().clear();
@@ -574,7 +586,7 @@
574
586
  return this.input();
575
587
  };
576
588
  TextAreaInput.prototype.input = function () {
577
- return this.dom().find('textarea');
589
+ return this.element().find('textarea');
578
590
  };
579
591
  TextAreaInput.prototype.clear = function () {
580
592
  this.input().clear();
@@ -605,148 +617,61 @@
605
617
  this.face(label).shouldBeVisible();
606
618
  };
607
619
  AupNavigation.prototype.shouldNotHaveLink = function (label) {
608
- this.face(label).shouldNotExist();
620
+ this.face(label).shouldNotBeVisible();
609
621
  };
610
622
  return AupNavigation;
611
623
  }(PageElement));
612
624
 
613
625
  exports.AupTable = /** @class */ (function (_super) {
614
626
  __extends(AupTable, _super);
615
- function AupTable() {
616
- return _super !== null && _super.apply(this, arguments) || this;
627
+ function AupTable(parentElementAccessor, selector) {
628
+ return _super.call(this, parentElementAccessor, selector) || this;
617
629
  }
618
630
  AupTable.prototype.row = function (rowId) {
619
- return new AupTable.Row(this, AupTable.cssSelectorForTableRowById(rowId));
620
- };
621
- AupTable.prototype.rowNumber = function (rowNumber) {
622
- return new AupTable.Row(this, AupTable.cssSelectorForNthTableRow(rowNumber));
631
+ var _this = this;
632
+ return new AupTable.Row(function () { return _this.element(); }, "tr[aup-table-id=" + rowId + "]");
623
633
  };
624
634
  AupTable.prototype.column = function (columnId) {
625
635
  return new AupTable.Column(this, columnId);
626
636
  };
627
- AupTable.prototype.selectionColumn = function () {
628
- return new AupTable.SelectionColumn(this, 'selection-column');
629
- };
630
637
  return AupTable;
631
638
  }(PageElement));
632
639
  (function (AupTable) {
633
- function cssSelectorForTableRowById(rowId) {
634
- return "tbody tr[aup-row-id=" + rowId + "]";
635
- }
636
- AupTable.cssSelectorForTableRowById = cssSelectorForTableRowById;
637
- function cssSelectorForNthTableRow(rowNumber) {
638
- return "tbody tr:nth-child(" + rowNumber + ")";
639
- }
640
- AupTable.cssSelectorForNthTableRow = cssSelectorForNthTableRow;
641
- function cssSelectorForColumnCellRendererById(columnId) {
642
- return "aup-table-cell-renderer[column-id=" + columnId + "]";
643
- }
644
- AupTable.cssSelectorForColumnCellRendererById = cssSelectorForColumnCellRendererById;
645
- function cssSelectorForCell(rowId, columnId) {
646
- return cssSelectorForTableRowById(rowId) + " " + cssSelectorForColumnCellRendererById(columnId);
647
- }
648
- AupTable.cssSelectorForCell = cssSelectorForCell;
649
640
  var Row = /** @class */ (function (_super) {
650
641
  __extends(Row, _super);
651
- function Row(table, selectorOrLocator) {
652
- var _this =
653
- // @ts-ignore
654
- _super.call(this, table, selectorOrLocator) || this;
655
- _this.table = table;
656
- return _this;
642
+ function Row() {
643
+ return _super !== null && _super.apply(this, arguments) || this;
657
644
  }
658
- Row.prototype.rowId = function () {
659
- return this.dom()
660
- .invoke('attr', 'aup-row-id');
661
- };
662
- Row.prototype.shouldHaveRowId = function (rowId) {
663
- this.rowId().should("eq", rowId);
664
- };
665
- Row.prototype.cell = function (columnOrId) {
666
- var self = this;
667
- var columnId = ___namespace.isString(columnOrId) ? columnOrId : columnOrId.columnId;
668
- return new Cell(this.table, {
669
- findIn: function (parent) {
670
- return self.rowId()
671
- .then(function (rowId) { return AupTable.cssSelectorForCell(rowId, columnId); })
672
- .then(function (selector) { return parent.dom().find(selector); });
673
- }
674
- });
675
- };
676
- Row.prototype.shouldBeSelected = function () {
677
- this.dom().should('have.class', 'aup-row-selected');
678
- };
679
- Row.prototype.shouldNotBeSelected = function () {
680
- this.dom().should('not.have.class', 'aup-row-selected');
681
- };
682
645
  return Row;
683
646
  }(PageElement));
684
647
  AupTable.Row = Row;
685
- var Column = /** @class */ (function (_super) {
686
- __extends(Column, _super);
648
+ var Column = /** @class */ (function () {
687
649
  function Column(table, columnId) {
688
- var _this = _super.call(this, table, "aup-table-header-cell-renderer[column-id=\"" + columnId + "\"]") || this;
689
- _this.table = table;
690
- _this.columnId = columnId;
691
- return _this;
650
+ this.table = table;
651
+ this.columnId = columnId;
692
652
  }
693
- Column.prototype.cellContaining = function (content) {
653
+ Column.prototype.cell = function (content) {
694
654
  var self = this;
695
655
  return new Cell(this.table, {
696
656
  findIn: function (parent) {
697
- return parent.dom().contains(cssSelectorForColumnCellRendererById(self.columnId), content);
657
+ return parent.contains("aup-table-cell-renderer[column-id=" + self.columnId + "]", content);
698
658
  }
699
659
  });
700
660
  };
701
- Column.prototype.rowContaining = function (content) {
702
- return this.cellContaining(content).row();
703
- };
704
661
  return Column;
705
- }(PageElement));
662
+ }());
706
663
  AupTable.Column = Column;
707
- var SelectionColumn = /** @class */ (function (_super) {
708
- __extends(SelectionColumn, _super);
709
- function SelectionColumn() {
710
- return _super !== null && _super.apply(this, arguments) || this;
711
- }
712
- SelectionColumn.prototype.selectAll = function () {
713
- };
714
- return SelectionColumn;
715
- }(Column));
716
- AupTable.SelectionColumn = SelectionColumn;
717
664
  var Cell = /** @class */ (function (_super) {
718
665
  __extends(Cell, _super);
719
- function Cell(table, elementLocator) {
720
- var _this = _super.call(this, table, elementLocator) || this;
721
- _this.table = table;
722
- return _this;
666
+ function Cell() {
667
+ return _super !== null && _super.apply(this, arguments) || this;
723
668
  }
724
- Cell.prototype.rowId = function () {
725
- return this.dom().closest('tr').invoke('attr', 'aup-row-id');
726
- };
727
- Cell.prototype.row = function () {
728
- var self = this;
729
- return new Row(this.table, {
730
- findIn: function (parent) {
731
- return self.rowId()
732
- .then(function (rowId) { return parent.dom().find(AupTable.cssSelectorForTableRowById(rowId)); });
733
- }
734
- });
735
- };
736
669
  return Cell;
737
670
  }(PageElement));
738
671
  AupTable.Cell = Cell;
739
- var SelectionColumnCell = /** @class */ (function (_super) {
740
- __extends(SelectionColumnCell, _super);
741
- function SelectionColumnCell() {
742
- return _super !== null && _super.apply(this, arguments) || this;
743
- }
744
- return SelectionColumnCell;
745
- }(Cell));
746
- AupTable.SelectionColumnCell = SelectionColumnCell;
747
672
  })(exports.AupTable || (exports.AupTable = {}));
748
673
 
749
- function FormElementMixin(Base) {
674
+ function ButtonMixin(Base) {
750
675
  return /** @class */ (function (_super) {
751
676
  __extends(class_1, _super);
752
677
  function class_1() {
@@ -756,8 +681,12 @@
756
681
  }
757
682
  return _super.apply(this, __spreadArray([], __read(args))) || this;
758
683
  }
684
+ class_1.prototype.click = function () {
685
+ return this.element().click();
686
+ };
759
687
  class_1.prototype.shouldBeDisabled = function () {
760
688
  this.should("be.disabled");
689
+ // this.should("have.css", "color", "rgba(0,0,0,0.26)")
761
690
  };
762
691
  return class_1;
763
692
  }(Base));
@@ -766,294 +695,88 @@
766
695
  var Button = /** @class */ (function (_super) {
767
696
  __extends(Button, _super);
768
697
  function Button(parentElementAccessor, buttonText) {
769
- return _super.call(this, parentElementAccessor, exports.ElementLocator.findByTextContent('button', buttonText)) || this;
770
- }
771
- return Button;
772
- }(FormElementMixin(PageElement)));
773
-
774
- var MatCheckbox = /** @class */ (function (_super) {
775
- __extends(MatCheckbox, _super);
776
- function MatCheckbox(parentElementAccessor, text) {
777
- return _super.call(this, parentElementAccessor, exports.ElementLocator.findByTextContent('mat-checkbox', text)) || this;
778
- }
779
- MatCheckbox.prototype.shouldBeChecked = function () {
780
- this.hiddenCheckBoxElement().should('be.checked');
781
- };
782
- MatCheckbox.prototype.shouldNotBeChecked = function () {
783
- this.hiddenCheckBoxElement().should('not.be.checked');
784
- };
785
- MatCheckbox.prototype.hiddenCheckBoxElement = function () {
786
- return this.dom().find('input[type=checkbox]');
787
- };
788
- MatCheckbox.prototype.check = function () {
789
- var _this = this;
790
- this.hiddenCheckBoxElement().then(function (el) {
791
- if (!el.prop('checked')) {
792
- _this.click();
793
- _this.shouldBeChecked();
794
- }
795
- });
796
- };
797
- MatCheckbox.prototype.uncheck = function () {
798
- var _this = this;
799
- this.hiddenCheckBoxElement().then(function (el) {
800
- if (el.prop('checked')) {
801
- _this.click();
802
- _this.shouldNotBeChecked();
803
- }
804
- });
805
- };
806
- return MatCheckbox;
807
- }(FormElementMixin(PageElement)));
808
-
809
- var Builder = /** @class */ (function () {
810
- function Builder(parentPageElement) {
811
- this.parentPageElement = parentPageElement;
812
- }
813
- Builder.prototype.find = function (selector) {
814
- return new PageElement(this.parentPageElement, selector);
815
- };
816
- Builder.prototype.section = function (selector, builder) {
817
- return this.createContainerElement(PageElement, selector, builder);
818
- };
819
- Builder.prototype.contains = function (text) {
820
- return new PageElement(this.parentPageElement, {
698
+ return _super.call(this, parentElementAccessor, {
821
699
  findIn: function (parent) {
822
- return parent.dom().contains(text);
700
+ return parent.contains('button', buttonText);
823
701
  },
824
702
  shouldNotExist: function (parent) {
825
- return parent.dom().should('not.contain', text);
703
+ return parent.should('not.contain', buttonText);
826
704
  }
827
- });
828
- };
829
- Builder.prototype.button = function (text) {
830
- return new Button(this.parentPageElement, text);
831
- };
832
- Builder.prototype.matCheckbox = function (text) {
833
- return new MatCheckbox(this.parentPageElement, text);
834
- };
835
- Builder.prototype.aupStringInput = function (selector) {
836
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-string-input');
837
- };
838
- Builder.prototype.aupTextInput = function (selector) {
839
- return new exports.AupInput.TextAreaInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-text-input');
840
- };
841
- Builder.prototype.aupPasswordInput = function (selector) {
842
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-password-input');
843
- };
844
- Builder.prototype.aupNumberInput = function (selector) {
845
- return new exports.AupInput.HtmlInput(this.parentPageElement, selector !== null && selector !== void 0 ? selector : 'aup-number-input');
846
- };
847
- Builder.prototype.aupCommand = function (faceOrSelector) {
848
- return new AupCommand(this.parentPageElement, faceOrSelector);
849
- };
850
- Builder.prototype.aupTabbedNavigation = function () {
851
- return new AupNavigation(this.parentPageElement, 'aup-tabbed-place-navigation');
852
- };
853
- Builder.prototype.aupSideNavigation = function () {
854
- return new AupNavigation(this.parentPageElement, 'aup-list-place-nav');
855
- };
856
- Builder.prototype.aupTable = function (selectorOrBuilder, optionalBuilder) {
857
- return this.createContainerElement(exports.AupTable, selectorOrBuilder, optionalBuilder, 'aup-table');
858
- };
859
- Builder.prototype.aupEmptyState = function (selectorOrBuilder, optionalBuilder) {
860
- return this.createContainerElement(AupEmptyState, selectorOrBuilder, optionalBuilder, 'aup-empty-state');
861
- };
862
- // TODO: use this in all the element factory methods to allow customisation
863
- Builder.prototype.createElement = function (klass, selectorOrBuilder, optionalBuilder, defaultSelector) {
864
- var selector = ___namespace.isString(selectorOrBuilder) ? selectorOrBuilder : defaultSelector;
865
- var builder = ___namespace.isFunction(selectorOrBuilder) ? selectorOrBuilder : optionalBuilder;
866
- if (!selector) {
867
- typescriptUtilities.lang.illegalState('This element requires a selector but none was provided');
868
- }
869
- var element = new klass(this.parentPageElement, selector);
870
- if (builder) {
871
- return typescriptUtilities.Mixin.createProxy(element, builder(element));
872
- }
873
- else {
874
- return element;
875
- }
876
- };
877
- Builder.prototype.createContainerElement = function (klass, selectorOrBuilder, optionalBuilder, defaultSelector) {
878
- var selector = ___namespace.isString(selectorOrBuilder) ? selectorOrBuilder : defaultSelector;
879
- var builder = ___namespace.isFunction(selectorOrBuilder) ? selectorOrBuilder : optionalBuilder;
880
- if (!selector) {
881
- typescriptUtilities.lang.illegalState('This element requires a selector but none was provided');
882
- }
883
- var element = new klass(this.parentPageElement, selector);
884
- if (builder) {
885
- // create the B&E type that the builder has access to
886
- var decoratedElement = typescriptUtilities.Mixin.createProxy(element, new Builder(element));
887
- // create final type that has the E & T type
888
- return typescriptUtilities.Mixin.createProxy(decoratedElement, builder(decoratedElement));
889
- }
890
- else {
891
- return element;
892
- }
893
- };
894
- return Builder;
895
- }());
896
-
897
- var AupAbstractActivity = /** @class */ (function (_super) {
898
- __extends(AupAbstractActivity, _super);
899
- function AupAbstractActivity(parent, selector) {
900
- var _this =
901
- // @ts-ignore
902
- _super.call(this, parent, selector) || this;
903
- _this.title = _this.find('aup-activity-title');
904
- _this._confirmCommand = new Builder(_this).aupCommand('[data-cy=confirm-command]');
905
- _this._cancelCommand = new Builder(_this).aupCommand('[data-cy=cancel-command]');
906
- return _this;
907
- }
908
- return AupAbstractActivity;
909
- }(PageElement));
910
-
911
- var AupActivity = /** @class */ (function (_super) {
912
- __extends(AupActivity, _super);
913
- function AupActivity(parent, selector) {
914
- return _super.call(this, parent, selector) || this;
915
- }
916
- Object.defineProperty(AupActivity.prototype, "confirmCommand", {
917
- get: function () {
918
- return this._confirmCommand;
919
- },
920
- enumerable: false,
921
- configurable: true
922
- });
923
- Object.defineProperty(AupActivity.prototype, "cancelCommand", {
924
- get: function () {
925
- return this._cancelCommand;
926
- },
927
- enumerable: false,
928
- configurable: true
929
- });
930
- return AupActivity;
931
- }(AupAbstractActivity));
932
-
933
- var AupModalActivity = /** @class */ (function (_super) {
934
- __extends(AupModalActivity, _super);
935
- function AupModalActivity() {
936
- return _super !== null && _super.apply(this, arguments) || this;
937
- }
938
- AupModalActivity.prototype.clickBackdrop = function () {
939
- this.dom().closest(".cdk-overlay-backdrop").click(-50, -50, { force: true });
940
- };
941
- return AupModalActivity;
942
- }(AupActivity));
943
-
944
- var AupAlert = /** @class */ (function (_super) {
945
- __extends(AupAlert, _super);
946
- function AupAlert(parent, selector) {
947
- return _super.call(this, parent, selector) || this;
948
- }
949
- Object.defineProperty(AupAlert.prototype, "closeCommand", {
950
- get: function () {
951
- return this._confirmCommand;
952
- },
953
- enumerable: false,
954
- configurable: true
955
- });
956
- AupAlert.prototype.clickClose = function () {
957
- this.closeCommand.click();
958
- };
959
- return AupAlert;
960
- }(AupAbstractActivity));
961
-
962
- var AupModalAlert = /** @class */ (function (_super) {
963
- __extends(AupModalAlert, _super);
964
- function AupModalAlert(parent, selector) {
965
- return _super.call(this, parent, selector) || this;
966
- }
967
- AupModalAlert.prototype.clickBackdrop = function () {
968
- this.dom()
969
- .closest(".cdk-overlay-container")
970
- .find(".cdk-overlay-backdrop").click(-50, -50, { force: true });
971
- };
972
- return AupModalAlert;
973
- }(AupAlert));
974
-
975
- var PageBuilder = /** @class */ (function (_super) {
976
- __extends(PageBuilder, _super);
977
- function PageBuilder() {
978
- return _super !== null && _super.apply(this, arguments) || this;
979
- }
980
- PageBuilder.prototype.aupModalActivity = function (selector, builder) {
981
- return this.createContainerElement(AupModalActivity, ".dialog-interaction-context " + selector, builder);
982
- };
983
- PageBuilder.prototype.aupModalAlert = function (builder) {
984
- return this.createContainerElement(AupModalAlert, ".dialog-interaction-context aup-alert-dialog", builder);
985
- };
986
- PageBuilder.prototype.aupModelConfirm = function (builder) {
987
- return this.aupModalActivity("aup-confirm-dialog", builder);
988
- };
989
- return PageBuilder;
990
- }(Builder));
991
-
992
- var urlSerialiser = new router.DefaultUrlSerializer();
993
- exports.Path = /** @class */ (function () {
994
- function Path(segments) {
995
- this.segments = segments;
996
- }
997
- Path.extractVisitParameters = function (url) {
998
- var _a, _b;
999
- var result = {};
1000
- var urlTree = urlSerialiser.parse(url);
1001
- var urlSegments = (_b = (_a = urlTree.root.children.primary) === null || _a === void 0 ? void 0 : _a.segments) !== null && _b !== void 0 ? _b : [];
1002
- urlSegments === null || urlSegments === void 0 ? void 0 : urlSegments.forEach(function (s) {
1003
- result = Object.assign(Object.assign({}, result), s.parameters);
1004
- });
1005
- return result;
1006
- };
1007
- Path.prototype.toUrl = function (matrixParams) {
1008
- return this.segments.map(function (s) { return s.toUrlPart(matrixParams); }).join('/');
1009
- };
1010
- return Path;
1011
- }());
1012
- (function (Path) {
1013
- function setUrlSerialiser(serialiser) {
1014
- urlSerialiser = serialiser;
705
+ }) || this;
1015
706
  }
1016
- Path.setUrlSerialiser = setUrlSerialiser;
1017
- var Segment = /** @class */ (function () {
1018
- function Segment(path, params) {
1019
- if (params === void 0) { params = {}; }
1020
- var _a;
1021
- this.path = path;
1022
- this.routeId = params === null || params === void 0 ? void 0 : params.routeId;
1023
- this.visitParams = (_a = params === null || params === void 0 ? void 0 : params.visitParams) !== null && _a !== void 0 ? _a : [];
1024
- }
1025
- Segment.prototype.toUrlPart = function (params) {
1026
- var path = this.path;
1027
- this.visitParams.forEach(function (p) {
1028
- var value = params[p];
1029
- if (value) {
1030
- path = path + ";" + p + "=" + value;
1031
- }
1032
- });
1033
- if (this.routeId && params[this.routeId]) {
1034
- path = path + '/' + params[this.routeId];
707
+ return Button;
708
+ }(ButtonMixin(PageElement)));
709
+
710
+ exports.Section = void 0;
711
+ (function (Section) {
712
+ function Mixin(Base) {
713
+ return /** @class */ (function (_super) {
714
+ __extends(class_1, _super);
715
+ function class_1() {
716
+ return _super !== null && _super.apply(this, arguments) || this;
1035
717
  }
1036
- return path;
1037
- };
1038
- return Segment;
1039
- }());
1040
- Path.Segment = Segment;
1041
- var Builder = /** @class */ (function () {
1042
- function Builder() {
1043
- this.segments = [];
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
+ };
768
+ return class_1;
769
+ }(Base));
770
+ }
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;
1044
776
  }
1045
- Builder.prototype.segment = function (name, params) {
1046
- var builder = new Segment(name, params);
1047
- this.segments.push(builder);
1048
- return this;
1049
- };
1050
- Builder.prototype.getPath = function () {
1051
- return new Path(this.segments);
1052
- };
1053
- return Builder;
1054
- }());
1055
- Path.Builder = Builder;
1056
- })(exports.Path || (exports.Path = {}));
777
+ return Impl;
778
+ }(Mixin(PageElement)));
779
+ })(exports.Section || (exports.Section = {}));
1057
780
 
1058
781
  exports.Page = /** @class */ (function (_super) {
1059
782
  __extends(Page, _super);
@@ -1063,7 +786,7 @@
1063
786
  _this.rootElementSelector = 'body';
1064
787
  return _this;
1065
788
  }
1066
- Page.prototype.dom = function () {
789
+ Page.prototype.element = function () {
1067
790
  return cy.get(this.rootElementSelector);
1068
791
  };
1069
792
  Page.prototype.visit = function (visitParams, queryParams) {
@@ -1090,7 +813,7 @@
1090
813
  };
1091
814
  Page.prototype.shouldBeActive = function (withParameters) {
1092
815
  // Note: cy.window() doesn't return a promise... it's a chainable.
1093
- cy['waitUntil'](function () {
816
+ cy["waitUntil"](function () {
1094
817
  return cy.window().then(function (window) {
1095
818
  return window['aup.PlaceRouter'] && !window['aup.PlaceRouter'].isNavigating();
1096
819
  });
@@ -1109,19 +832,26 @@
1109
832
  return Page;
1110
833
  }(PageElement));
1111
834
  (function (Page) {
1112
- function create(pathOrPathBuilder, builder) {
835
+ function create(pathOrPathBuilder, page) {
1113
836
  var pathBuilder = new exports.Path.Builder();
1114
837
  if (___namespace.isString(pathOrPathBuilder)) {
1115
- 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); });
1116
839
  }
1117
840
  else {
1118
841
  pathOrPathBuilder(pathBuilder);
1119
842
  }
1120
- var instance = new Page(pathBuilder.getPath());
1121
- var content = builder.call(instance, new PageBuilder(instance));
1122
- return typescriptUtilities.Mixin.createProxy(content, instance);
843
+ var builder = new PageBuilder(pathBuilder.getPath());
844
+ return typescriptUtilities.Mixin.createProxy(page(builder), builder);
1123
845
  }
1124
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;
1125
855
  })(exports.Page || (exports.Page = {}));
1126
856
 
1127
857
  var AupCommandGroup = /** @class */ (function (_super) {
@@ -1147,13 +877,13 @@
1147
877
  __extends(AupPopupMenu, _super);
1148
878
  function AupPopupMenu(parentElementAccessor, face) {
1149
879
  var _this = this;
1150
- var locator = AupCommandFace.createElementLocator(face);
880
+ var accessor = AupCommandFace.createAccessor(face);
1151
881
  _this = _super.call(this, parentElementAccessor, {
1152
882
  findIn: function (parent) {
1153
- return locator.findIn(parent).closest('button');
883
+ return accessor.findIn(parent).closest('button');
1154
884
  },
1155
885
  shouldNotExist: function (parent) {
1156
- locator.shouldNotExist(parent);
886
+ accessor.shouldNotExist(parent);
1157
887
  }
1158
888
  }) || this;
1159
889
  return _this;
@@ -1184,25 +914,16 @@
1184
914
  * Generated bundle index. Do not edit.
1185
915
  */
1186
916
 
1187
- exports.AupAbstractActivity = AupAbstractActivity;
1188
- exports.AupActivity = AupActivity;
1189
- exports.AupAlert = AupAlert;
1190
917
  exports.AupCommand = AupCommand;
1191
918
  exports.AupCommandFace = AupCommandFace;
1192
919
  exports.AupCommandGroup = AupCommandGroup;
1193
- exports.AupEmptyState = AupEmptyState;
1194
- exports.AupModalActivity = AupModalActivity;
1195
- exports.AupModalAlert = AupModalAlert;
1196
920
  exports.AupMoreMenu = AupMoreMenu;
1197
921
  exports.AupNavigation = AupNavigation;
1198
922
  exports.AupPopupMenu = AupPopupMenu;
1199
923
  exports.AupToolBar = AupToolBar;
1200
- exports.Builder = Builder;
1201
924
  exports.Button = Button;
1202
- exports.FaceElementLocator = FaceElementLocator;
1203
- exports.FormElementMixin = FormElementMixin;
1204
- exports.MatCheckbox = MatCheckbox;
1205
- exports.PageBuilder = PageBuilder;
925
+ exports.ButtonMixin = ButtonMixin;
926
+ exports.FaceAccessor = FaceAccessor;
1206
927
  exports.PageElement = PageElement;
1207
928
 
1208
929
  Object.defineProperty(exports, '__esModule', { value: true });