@alauda/ui 6.2.1-beta.8 → 6.2.1-beta.9

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.
@@ -5116,6 +5116,14 @@
5116
5116
  _this.trigger = exports.TooltipTrigger.Click;
5117
5117
  return _this;
5118
5118
  }
5119
+ Object.defineProperty(DropdownDirective.prototype, "testId", {
5120
+ get: function () {
5121
+ return ('AUI-DROPDOWN/' +
5122
+ simplifyStringToTestId(this.elRef.nativeElement.textContent));
5123
+ },
5124
+ enumerable: false,
5125
+ configurable: true
5126
+ });
5119
5127
  Object.defineProperty(DropdownDirective.prototype, "menu", {
5120
5128
  get: function () {
5121
5129
  return this._menu;
@@ -5173,6 +5181,7 @@
5173
5181
  { type: i0.NgZone }
5174
5182
  ]; };
5175
5183
  DropdownDirective.propDecorators = {
5184
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
5176
5185
  menu: [{ type: i0.Input, args: ['auiDropdown',] }],
5177
5186
  lazyContentContext: [{ type: i0.Input, args: ['auiDropdownContext',] }],
5178
5187
  hideOnClick: [{ type: i0.Input, args: ['auiDropdownHideOnClick',] }],