@alauda/ui 6.2.1-beta.3 → 6.2.1-beta.4
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.
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +8 -0
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/button/button.component.d.ts +1 -0
- package/esm2015/button/button.component.js +6 -2
- package/esm2015/button/button.component.ngfactory.js +1 -1
- package/esm2015/button/button.component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +3 -3
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +9 -9
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +3 -3
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +5 -5
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
- package/esm2015/input/number-input/number-input.component.ngfactory.js +5 -5
- package/esm2015/paginator/paginator.component.ngfactory.js +13 -13
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +4 -4
- package/fesm2015/alauda-ui.js +4 -0
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +1 -1
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -1502,6 +1502,13 @@
|
|
|
1502
1502
|
this.renderer.addClass(this.el.nativeElement, prefix + this.size);
|
|
1503
1503
|
this.focusMonitor.monitor(this.el.nativeElement, false);
|
|
1504
1504
|
}
|
|
1505
|
+
Object.defineProperty(ButtonComponent.prototype, "testId", {
|
|
1506
|
+
get: function () {
|
|
1507
|
+
return this.el.nativeElement.textContent;
|
|
1508
|
+
},
|
|
1509
|
+
enumerable: false,
|
|
1510
|
+
configurable: true
|
|
1511
|
+
});
|
|
1505
1512
|
Object.defineProperty(ButtonComponent.prototype, "type", {
|
|
1506
1513
|
get: function () {
|
|
1507
1514
|
return this._type;
|
|
@@ -1622,6 +1629,7 @@
|
|
|
1622
1629
|
{ type: a11y.FocusMonitor }
|
|
1623
1630
|
]; };
|
|
1624
1631
|
ButtonComponent.propDecorators = {
|
|
1632
|
+
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
1625
1633
|
type: [{ type: i0.Input, args: ['aui-button',] }],
|
|
1626
1634
|
size: [{ type: i0.Input }],
|
|
1627
1635
|
plain: [{ type: i0.Input }],
|