@coreui/angular 5.5.21 → 5.5.22

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.
@@ -5876,18 +5876,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
5876
5876
  }] });
5877
5877
 
5878
5878
  class PageLinkDirective {
5879
+ static ngAcceptInputType_disabled;
5880
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
5881
+ hostClasses = computed(() => {
5882
+ return {
5883
+ 'page-link': true,
5884
+ disabled: this.disabled()
5885
+ };
5886
+ }, ...(ngDevMode ? [{ debugName: "hostClasses" }] : []));
5879
5887
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: PageLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5880
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: PageLinkDirective, isStandalone: true, selector: "[cPageLink]", host: { classAttribute: "page-link" }, ngImport: i0 });
5888
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: PageLinkDirective, isStandalone: true, selector: "[cPageLink]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" }, classAttribute: "page-link" }, ngImport: i0 });
5881
5889
  }
5882
5890
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: PageLinkDirective, decorators: [{
5883
5891
  type: Directive,
5884
5892
  args: [{
5885
5893
  selector: '[cPageLink]',
5886
- host: { class: 'page-link' }
5894
+ host: { class: 'page-link', '[class]': 'hostClasses()' }
5887
5895
  }]
5888
- }] });
5896
+ }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
5889
5897
 
5890
5898
  class PageItemDirective {
5899
+ static ngAcceptInputType_disabled;
5891
5900
  #renderer = inject(Renderer2);
5892
5901
  /**
5893
5902
  * Toggle the active state for the component.
@@ -5898,7 +5907,7 @@ class PageItemDirective {
5898
5907
  * Toggle the disabled state for the component.
5899
5908
  * @return boolean
5900
5909
  */
5901
- disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : []));
5910
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
5902
5911
  ariaCurrent = computed(() => {
5903
5912
  return this.active() ? 'page' : null;
5904
5913
  }, ...(ngDevMode ? [{ debugName: "ariaCurrent" }] : []));