@smartsoft001/angular 2.170.0 → 2.172.0

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.
@@ -10297,11 +10297,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
10297
10297
 
10298
10298
  class DropdownStandardComponent extends DropdownBaseComponent {
10299
10299
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: DropdownStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
10300
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: DropdownStandardComponent, isStandalone: true, selector: "smart-dropdown-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n <ng-content>{{ triggerLabel() }}</ng-content>\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10300
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: DropdownStandardComponent, isStandalone: true, selector: "smart-dropdown-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n @if (triggerLabel()) {\n {{ triggerLabel() }}\n } @else {\n <ng-content />\n }\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10301
10301
  }
10302
10302
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: DropdownStandardComponent, decorators: [{
10303
10303
  type: Component,
10304
- args: [{ selector: 'smart-dropdown-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n <ng-content>{{ triggerLabel() }}</ng-content>\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n" }]
10304
+ args: [{ selector: 'smart-dropdown-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n @if (triggerLabel()) {\n {{ triggerLabel() }}\n } @else {\n <ng-content />\n }\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n" }]
10305
10305
  }] });
10306
10306
 
10307
10307
  const TRIGGER_BASE = [